/* Shared navigation hierarchy. Mobile header rules live here so page-level styles do not compete. */
.v2-site-nav a {
  font-weight: 400;
}

.v2-site-nav a[aria-current='page'],
.v2-site-nav a.is-current {
  font-weight: 700;
}

@media (max-width: 720px) {
  .v2-header {
    display: block !important;
    top: 0 !important;
    height: calc(84px + env(safe-area-inset-top)) !important;
    min-height: calc(84px + env(safe-area-inset-top)) !important;
    padding: 0 !important;
    background: #fff;
  }

  .v2-header .v2-brand {
    position: absolute !important;
    top: calc(12px + env(safe-area-inset-top)) !important;
    right: auto !important;
    left: max(16px, env(safe-area-inset-left)) !important;
    display: block;
    width: max-content;
    min-height: 0;
    margin: 0;
    transform: none !important;
    line-height: 1.06;
    text-align: left;
  }

  .v2-header .v2-site-nav {
    position: absolute !important;
    top: calc(30px + env(safe-area-inset-top)) !important;
    right: 0 !important;
    left: max(16px, env(safe-area-inset-left)) !important;
    display: flex;
    width: auto !important;
    max-width: none !important;
    margin: 0;
    padding: 0 max(16px, env(safe-area-inset-right)) 0 0 !important;
    flex-wrap: nowrap !important;
    align-items: center;
    justify-content: flex-start !important;
    gap: clamp(1rem, 4.4vw, 1.35rem) !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    overscroll-behavior-x: contain;
    scroll-padding-inline: 16px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    transform: none !important;
    white-space: nowrap !important;
    text-align: left !important;
  }

  .v2-header .v2-site-nav::-webkit-scrollbar {
    display: none;
  }

  .v2-header .v2-site-nav__group {
    display: inline-flex;
    flex: 0 0 auto;
    gap: clamp(0.42rem, 1.8vw, 0.56rem) !important;
    align-items: center;
    white-space: nowrap;
  }

  .v2-header .v2-site-nav a {
    display: inline-flex;
    min-height: 40px !important;
    padding: 0 0.08rem;
    flex: 0 0 auto;
    align-items: center;
  }
}
