/* One public-site header across every GrowTricity sitemap page. */
.gt-site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  isolation: isolate;
  border-bottom: 1px solid rgba(14, 16, 20, .16);
  background: #faf1e4;
  box-shadow: none;
  color: #0e1014;
  font-family: Inter, system-ui, sans-serif;
}

.gt-nav-shell {
  display: flex;
  width: min(calc(100% - 2rem), 1180px);
  min-height: 80px;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  margin-inline: auto;
}

.gt-nav-logo {
  display: inline-flex;
  min-width: 0;
  min-height: 48px;
  flex: none;
  align-items: center;
  padding-block: 4px;
  text-decoration: none;
}

.gt-nav-logo img {
  display: block;
  width: 154px;
  height: auto;
  max-width: 100%;
  object-fit: contain;
}

.gt-desktop-nav {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  font-size: .9rem;
  font-weight: 650;
}

.gt-desktop-nav a,
.gt-mobile-syllabus,
.gt-mobile-menu a,
.gt-menu-toggle {
  color: #0e1014;
  font: inherit;
}

.gt-desktop-nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: .6rem .2rem;
  text-decoration: none;
}

.gt-desktop-nav a:not(.gt-nav-book):hover,
.gt-desktop-nav a:not(.gt-nav-book)[aria-current="page"],
.gt-mobile-syllabus:hover,
.gt-mobile-syllabus[aria-current="page"],
.gt-mobile-menu a:hover,
.gt-mobile-menu a[aria-current="page"] {
  color: #9f4e00;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.gt-nav-book {
  justify-content: center;
  padding: .62rem 1rem !important;
  border: 1px solid #0e1014;
  border-radius: 7px;
  background: #e78b2f;
  font-weight: 750;
  text-align: center;
  white-space: nowrap;
}

.gt-nav-book:hover,
.gt-nav-book[aria-current="page"] {
  background: #d98324;
  text-decoration: none;
}

.gt-mobile-syllabus,
.gt-menu-toggle,
.gt-mobile-panel {
  display: none;
}

.gt-menu-toggle {
  min-width: 64px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: .55rem .65rem;
  border: 1px solid #0e1014;
  border-radius: 7px;
  background: #fffaf2;
  cursor: pointer;
  font-size: .78rem;
  font-weight: 750;
}

.gt-menu-toggle[aria-expanded="true"] {
  background: #e78b2f;
}

.gt-mobile-panel {
  border-top: 1px solid rgba(14, 16, 20, .16);
  background: #fffaf2;
}

.gt-mobile-menu {
  display: grid;
  width: min(calc(100% - 1.2rem), 1180px);
  margin-inline: auto;
  padding-block: .35rem .65rem;
}

.gt-mobile-menu a {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  padding: .7rem .25rem;
  border-bottom: 1px solid rgba(14, 16, 20, .13);
  font-size: .95rem;
  font-weight: 650;
  text-decoration: none;
}

.gt-mobile-menu a:last-child {
  border-bottom: 0;
}

.gt-mobile-menu .gt-mobile-book {
  min-height: 48px;
  justify-content: center;
  margin-top: .5rem;
  padding-inline: 1rem;
  border: 1px solid #0e1014;
  border-radius: 7px;
  background: #e78b2f;
  font-weight: 750;
}

@media (max-width: 760px) {
  .gt-nav-shell {
    width: min(calc(100% - 1.2rem), 1180px);
    min-height: 72px;
    gap: .55rem;
  }

  .gt-nav-logo {
    min-height: 44px;
    margin-right: auto;
  }

  .gt-nav-logo img {
    width: 126px;
  }

  .gt-desktop-nav {
    display: none;
  }

  .gt-mobile-syllabus {
    display: inline-flex;
    min-width: 66px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: .55rem .45rem;
    font-size: .8rem;
    font-weight: 700;
    text-decoration: none;
  }

  .gt-menu-toggle {
    display: inline-flex;
    flex: none;
  }

  .gt-mobile-panel:not([hidden]) {
    display: block;
  }
}

@media (max-width: 350px) {
  .gt-nav-shell {
    gap: .3rem;
  }

  .gt-nav-logo img {
    width: 104px;
  }

  .gt-mobile-syllabus {
    min-width: 60px;
    padding-inline: .3rem;
    font-size: .75rem;
  }

  .gt-menu-toggle {
    min-width: 58px;
    padding-inline: .5rem;
    font-size: .75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gt-site-header *,
  .gt-site-header *::before,
  .gt-site-header *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
