/* ==========================================
   KIMIA NATURIS
   GLOBAL.CSS
========================================== */


/* ==========================================
   BASE
========================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;

  font-family: var(--font-latin);
  font-size: 17px;
  line-height: 1.7;

  color: var(--color-text);
  background: var(--color-bg);

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}


/* ==========================================
   LANGUAGE FONTS
========================================== */

html[lang="en"] body,
html[lang="en-US"] body,
html[lang="en-GB"] body,
html[lang="da"] body,
html[lang="da-DK"] body {
  font-family: var(--font-latin);
}

html[lang="fa"] body,
html[lang="fa-IR"] body,
html[lang="ar"] body,
html[lang="ar-SA"] body {
  font-family: var(--font-fa);
}


/* ==========================================
   LINKS
========================================== */

a {
  color: var(--color-primary);
  text-decoration: none;

  transition: color 0.25s ease;
}

a:hover {
  color: var(--color-secondary);
}


/* ==========================================
   IMAGES
========================================== */

img {
  display: block;

  max-width: 100%;
  height: auto;
}


/* ==========================================
   SITE HEADER
========================================== */

#site-header.site-header {
  width: 100%;
  max-width: none;

  margin: 0;

  display: flex;
  align-items: center;
  justify-content: flex-start;

  gap: clamp(36px, 2.6vw, 54px);

  padding:
    10px
    clamp(40px, 3vw, 64px);
}

/* ==========================================
   SITE LOGO
========================================== */

#site-header .site-branding {
  flex: 0 0 auto;

  margin: 0;
}

#site-header .custom-logo-link {
  display: flex;
  align-items: center;
}

#site-header .custom-logo {
  display: block;

  width: 195px;
  max-width: none;
  height: auto;

  object-fit: contain;
}

/* ==========================================
   MAIN NAVIGATION
========================================== */

#site-header .site-navigation {
  flex: 0 0 auto;

  margin: 0;
}

#site-header .site-navigation ul.menu {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;

  gap: 6px;

  margin: 0;
  padding: 0;
}

#site-header .site-navigation ul.menu > li {
  flex: 0 0 auto;
}

#site-header .site-navigation ul.menu > li > a {
  display: flex;
  align-items: center;

  padding: 12px 14px;

  font-size: clamp(17px, 1.1vw, 20px);
  line-height: 1.35;
  font-weight: 500;

  white-space: nowrap;
}


/* ==========================================
   DROPDOWN INDICATOR
========================================== */

#site-header .site-navigation ul.menu li.menu-item-has-children::after {
  content: none;
  display: none;
}

#site-header .site-navigation .menu-item-has-children > a {
  display: inline-flex;
  align-items: center;

  gap: 9px;
}

#site-header .site-navigation .menu-item-has-children > a::after {
  content: "";

  width: 7px;
  height: 7px;

  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;

  transform: rotate(45deg) translateY(-2px);

  flex: 0 0 auto;
}


/* ==========================================
   MAIN SITE
========================================== */

.site-main {
  width: 100%;
  max-width: none;

  margin: 0;
}


/* ==========================================
   HOME
========================================== */

.home h1.wp-block-post-title,
.home .entry-title,
.home .page-title {
  display: none;
}


/* ==========================================
   TABLET
========================================== */

@media (max-width: 1024px) {

  #site-header.site-header {
    gap: 24px;

    padding:
      18px
      28px;
  }

  #site-header .custom-logo {
    width: 126px;
  }

  #site-header .site-navigation ul.menu {
    gap: 2px;
  }

  #site-header .site-navigation ul.menu > li > a {
    padding: 10px 8px;

    font-size: 15px;
  }

}


/* ==========================================
   MOBILE
========================================== */

@media (max-width: 767px) {

  #site-header.site-header {
    gap: 14px;

    padding:
      14px
      20px;
  }

  #site-header .custom-logo {
    width: 96px;
  }

}