/* Main navigation: retain the v06.1 green/navy header and its existing controls. */
.site-header .brand-text {
  justify-content: center;
  gap: 0;
  text-align: center;
}

.site-header .brand-text .brand-copy {
  display: block;
}

.site-header .brand-text small {
  display: block;
  font-size: 8px;
  line-height: 1.4;
  letter-spacing: .11em;
}

.site-header .brand-text strong {
  font-size: 18px;
  line-height: 1.35;
  margin-top: 4px;
  white-space: nowrap;
}

@media (max-width: 650px) {
  .site-header .brand-text small { font-size: 6.5px; }
  .site-header .brand-text strong { font-size: 15px; }
}

@media (max-width: 359px) {
  .site-header .brand-text small { font-size: 6px; }
  .site-header .brand-text strong { font-size: 13.5px; }
}

.site-header .header-inner {
  gap: 16px;
}

.site-header .desktop-nav {
  flex: 1 1 auto;
  min-width: 0;
  gap: clamp(8px, .9vw, 14px);
  margin-left: 0;
}

.site-header .desktop-nav a {
  flex: 0 0 auto;
  min-height: 48px;
  font-size: 13px;
  line-height: 1.3;
  white-space: nowrap;
}

.site-header .header-actions {
  flex: 0 0 auto;
  gap: 4px;
  margin-left: 0;
}

.site-header .header-cta {
  min-height: 44px;
  margin-left: 3px;
  padding: 10px 12px;
  font-size: 12px;
}

.site-header .mobile-nav[hidden] {
  display: none !important;
}

.site-header .mobile-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 48px;
  padding: 13px 8px;
  border-bottom: 1px solid var(--line, #d6e3e3);
  font-size: 15px;
  line-height: 1.4;
}

.site-header .mobile-nav a:last-child {
  border-bottom: 0;
}

.site-header .mobile-nav a svg {
  flex: 0 0 auto;
}

.site-header .mobile-nav a:hover,
.site-header .mobile-nav a[aria-current="page"] {
  color: var(--brand, #136c74);
  background: #edf5f1;
}

.site-header .mobile-nav a[aria-current="page"] {
  font-weight: 700;
  border-radius: 8px;
}

.site-header .desktop-nav a:focus-visible,
.site-header .mobile-nav a:focus-visible,
.site-footer .footer-links a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
  border-radius: 3px;
}

.site-footer .footer-links a {
  overflow-wrap: normal;
  word-break: normal;
}

/* Keep all eight labels on one row; narrower screens use the full mobile menu. */
@media (min-width: 1280px) {
  .site-header .desktop-nav {
    display: flex;
  }

  .site-header .menu-button,
  .site-header .mobile-nav:not([hidden]) {
    display: none;
  }
}

@media (max-width: 1279px) {
  .site-header .header-inner {
    min-height: 79px;
    justify-content: space-between;
    gap: 14px;
  }

  .site-header .desktop-nav {
    display: none;
  }

  .site-header .header-actions {
    margin-left: auto;
    gap: 6px;
  }

  .site-header .menu-button {
    display: inline-flex;
  }

  .site-header .mobile-nav:not([hidden]) {
    display: block;
    width: min(1280px, calc(100% - 48px));
    max-height: calc(100dvh - 112px);
    margin-inline: auto;
    padding: 4px 0 16px;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
}

@media (max-width: 650px) {
  .site-header .header-inner {
    min-height: 76px;
    gap: 8px;
  }

  .site-header .header-actions {
    gap: 0;
  }

  .site-header .header-actions .header-cta {
    display: none;
  }

  .site-header .mobile-nav:not([hidden]) {
    width: calc(100% - 36px);
    max-height: calc(100dvh - 108px);
  }
}

@media (max-width: 359px) {
  .site-header .brand {
    gap: 5px;
  }

  .site-header .header-actions .icon-button {
    width: 33px;
  }
}
