
/* v33: real breakpoint fix for the white navigation block.
   The previous mobile breakpoint was 1120px, while the header still had enough room
   to display the nav horizontally at tablet / small laptop widths. That made the
   mobile white panel appear around Home -> ORION. From 761px upward, force the
   nav to be a transparent inline desktop nav. Only <=760px keeps the mobile panel. */

@media (min-width: 761px) {
  .site-header .site-nav,
  .site-header .site-nav-v20,
  .site-header .site-nav-v24 {
    position: static !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: clamp(16px, 1.35vw, 28px) !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    inset: auto !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .site-header .site-nav > a,
  .site-header .site-nav-v20 > a,
  .site-header .site-nav-v24 > a {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 0 !important;
    height: auto !important;
    width: auto !important;
    padding: 8px 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    color: #061427 !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    transition: color .18s ease !important;
  }

  html[data-theme="dark"] .site-header .site-nav > a,
  html[data-theme="dark"] .site-header .site-nav-v20 > a,
  html[data-theme="dark"] .site-header .site-nav-v24 > a {
    color: #f8fbff !important;
  }

  .site-header .site-nav > a:not(.nav-cta)::after,
  .site-header .site-nav-v20 > a:not(.nav-cta)::after,
  .site-header .site-nav-v24 > a:not(.nav-cta)::after {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 1px !important;
    height: 2px !important;
    border-radius: 999px !important;
    background: linear-gradient(90deg, #125fe8, #45d7ff) !important;
    transform: scaleX(0) !important;
    transform-origin: left center !important;
    transition: transform .20s ease !important;
    opacity: 1 !important;
  }

  .site-header .site-nav > a:not(.nav-cta):hover,
  .site-header .site-nav-v20 > a:not(.nav-cta):hover,
  .site-header .site-nav-v24 > a:not(.nav-cta):hover,
  .site-header .site-nav > a:not(.nav-cta):focus-visible,
  .site-header .site-nav-v20 > a:not(.nav-cta):focus-visible,
  .site-header .site-nav-v24 > a:not(.nav-cta):focus-visible {
    color: #125fe8 !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
  }

  html[data-theme="dark"] .site-header .site-nav > a:not(.nav-cta):hover,
  html[data-theme="dark"] .site-header .site-nav-v20 > a:not(.nav-cta):hover,
  html[data-theme="dark"] .site-header .site-nav-v24 > a:not(.nav-cta):hover,
  html[data-theme="dark"] .site-header .site-nav > a:not(.nav-cta):focus-visible,
  html[data-theme="dark"] .site-header .site-nav-v20 > a:not(.nav-cta):focus-visible,
  html[data-theme="dark"] .site-header .site-nav-v24 > a:not(.nav-cta):focus-visible {
    color: #67ddff !important;
  }

  .site-header .site-nav > a:not(.nav-cta):hover::after,
  .site-header .site-nav-v20 > a:not(.nav-cta):hover::after,
  .site-header .site-nav-v24 > a:not(.nav-cta):hover::after,
  .site-header .site-nav > a:not(.nav-cta):focus-visible::after,
  .site-header .site-nav-v20 > a:not(.nav-cta):focus-visible::after,
  .site-header .site-nav-v24 > a:not(.nav-cta):focus-visible::after {
    transform: scaleX(1) !important;
  }

  .site-header .site-nav .nav-cta,
  .site-header .site-nav-v20 .nav-cta,
  .site-header .site-nav-v24 .nav-cta {
    padding: 9px 14px !important;
    border-radius: 10px !important;
    color: #ffffff !important;
    background: linear-gradient(135deg, #2563eb, #7c3aed) !important;
    box-shadow: none !important;
    border: 0 !important;
  }

  .site-header .site-nav .mobile-nav-controls-v28,
  .site-header .site-nav-v24 .mobile-nav-controls-v28,
  .site-header .menu-button-v24,
  .site-header .menu-button-v23,
  .site-header .menu-button-v20 {
    display: none !important;
  }
}

/* True mobile only. */
@media (max-width: 760px) {
  .site-header .site-nav-v24 {
    display: grid !important;
    position: fixed !important;
    left: 12px !important;
    right: 12px !important;
    top: 76px !important;
    width: auto !important;
    padding: 12px !important;
    border-radius: 18px !important;
  }
}
