/* Shared header layout. One consistent centered header across all site pages. */
@media (min-width: 981px) {
  body:not(.is-home) > header.site-header,
  html:has(body.is-home):has(main > section.hero-section#top) body.is-home > header.site-header {
    position: fixed !important;
    z-index: 1500 !important;
    top: 14px !important;
    left: 50% !important;
    right: auto !important;
    bottom: auto !important;
    transform: translate3d(-50%, 0, 0) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: clamp(8px, .85vw, 12px) !important;
    width: min(calc(100vw - 48px), 1180px) !important;
    min-width: 0 !important;
    max-width: calc(100vw - 32px) !important;
    height: 64px !important;
    min-height: 64px !important;
    margin: 0 !important;
    padding: 8px 18px !important;
    box-sizing: border-box !important;
  }
  body:not(.is-home) > header.site-header .brand,
  html:has(body.is-home):has(main > section.hero-section#top) body.is-home > header.site-header .brand {
    flex: 0 0 auto !important;
    min-width: max-content !important;
  }
  body:not(.is-home) > header.site-header .nav,
  html:has(body.is-home):has(main > section.hero-section#top) body.is-home > header.site-header .nav {
    position: static !important;
    display: flex !important;
    flex: 0 1 auto !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: clamp(2px, .35vw, 6px) !important;
    min-width: 0 !important;
    margin: 0 auto 0 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }
  body:not(.is-home) > header.site-header .nav a,
  html:has(body.is-home):has(main > section.hero-section#top) body.is-home > header.site-header .nav a {
    display: inline-flex !important;
    flex: 0 1 auto !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 0 !important;
    min-height: 38px !important;
    padding: 0 clamp(6px, .65vw, 10px) !important;
    white-space: nowrap !important;
    font-size: 10px !important;
  }
  body:not(.is-home) > header.site-header .nav-actions,
  html:has(body.is-home):has(main > section.hero-section#top) body.is-home > header.site-header .nav-actions {
    display: flex !important;
    flex: 0 0 auto !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 8px !important;
    min-width: max-content !important;
    margin-left: auto !important;
  }
  body:not(.is-home) > header.site-header .mobile-menu,
  html:has(body.is-home):has(main > section.hero-section#top) body.is-home > header.site-header .mobile-menu {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
  body:not(.is-home) > header.site-header .mobile-menu[hidden],
  body:not(.is-home) > header.site-header .header-overflow[hidden],
  html:has(body.is-home):has(main > section.hero-section#top) body.is-home > header.site-header .mobile-menu[hidden],
  html:has(body.is-home):has(main > section.hero-section#top) body.is-home > header.site-header .header-overflow[hidden] {
    display: none !important;
  }
}
@media (max-width: 980px) {
  body:not(.is-home) > header.site-header .mobile-menu,
  html:has(body.is-home):has(main > section.hero-section#top) body.is-home > header.site-header .mobile-menu {
    visibility: visible !important;
    pointer-events: auto !important;
  }
}
