/* PASS 9 — canonical always-horizontal navigation.
   Loaded after all earlier fidelity styles so legacy tablet/mobile dropdown
   rules cannot position the menu over page content. */

.site-header {
  position: relative;
  top: auto;
  z-index: 40;
  background: #fff;
  border-bottom: 1px solid #ececf3;
}

.site-header .header-row,
body.page-home .site-header .header-row,
body.page-fidelity5 .site-header .header-row {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  width: 100%;
  height: 72px;
  min-height: 72px;
  gap: 28px;
  padding-top: 0;
  padding-bottom: 0;
}

.site-header .brand,
body.page-home .site-header .brand,
body.page-fidelity5 .site-header .brand {
  order: 0;
  flex: 0 0 auto;
}

.site-header .brand img,
body.page-home .site-header .brand img,
body.page-fidelity5 .site-header .brand img {
  width: 92px;
  height: auto;
}

/* The hamburger is intentionally retired. Five concise links fit at all
   supported widths and remain directly visible and keyboard accessible. */
.site-header .menu-toggle,
body.page-home .site-header .menu-toggle,
body.page-fidelity5 .site-header .menu-toggle {
  display: none !important;
}

.site-header .main-nav,
body.page-home .site-header .main-nav,
body.page-fidelity5 .site-header .main-nav,
.site-header .main-nav.open,
.site-header .main-nav.is-open {
  order: 1;
  display: flex !important;
  position: static !important;
  inset: auto !important;
  z-index: auto !important;
  flex: 0 1 auto;
  width: auto !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start;
  gap: 30px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.site-header .main-nav a,
body.page-home .site-header .main-nav a,
body.page-fidelity5 .site-header .main-nav a,
body.page-home .main-nav a:nth-last-child(-n+2) {
  position: relative;
  display: inline-flex !important;
  align-items: center;
  flex: 0 0 auto;
  width: auto !important;
  height: auto !important;
  min-height: 44px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #151558;
  font-size: .82rem !important;
  font-weight: 750;
  line-height: 1 !important;
  white-space: nowrap;
}

.site-header .main-nav a[aria-current="page"]::after,
body.page-home .site-header .main-nav a[aria-current="page"]::after,
body.page-fidelity5 .site-header .main-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  display: block !important;
  height: 2px;
  border-radius: 999px;
  background: #5142d3;
}

.site-header .header-actions,
body.page-home .site-header .header-actions,
body.page-fidelity5 .site-header .header-actions {
  order: 2;
  flex: 0 0 auto;
  margin-left: auto;
}

@media (max-width: 980px) {
  .site-header .header-row,
  body.page-home .site-header .header-row,
  body.page-fidelity5 .site-header .header-row {
    height: 64px;
    min-height: 64px;
    gap: 13px;
  }

  .site-header .brand img,
  body.page-home .site-header .brand img,
  body.page-fidelity5 .site-header .brand img {
    width: 70px;
  }

  .site-header .main-nav,
  body.page-home .site-header .main-nav,
  body.page-fidelity5 .site-header .main-nav {
    gap: clamp(11px, 1.65vw, 20px) !important;
  }

  .site-header .main-nav a,
  body.page-home .site-header .main-nav a,
  body.page-fidelity5 .site-header .main-nav a {
    font-size: clamp(.69rem, 1.35vw, .80rem) !important;
  }

  .site-header .header-actions {
    gap: 4px;
  }

  .site-header .header-actions .icon-btn {
    width: 35px;
    height: 35px;
  }

  .site-header .header-actions .icon-btn svg {
    width: 18px;
    height: 18px;
  }
}

/* Phones use a two-row header. The navigation remains horizontal in normal
   document flow, so it can neither cover nor displace the page unpredictably. */
@media (max-width: 720px) {
  .site-header .header-row,
  body.page-home .site-header .header-row,
  body.page-fidelity5 .site-header .header-row {
    display: flex;
    height: auto !important;
    min-height: 0 !important;
    flex-wrap: wrap !important;
    gap: 0 !important;
    padding-top: 7px;
    padding-bottom: 0;
  }

  .site-header .brand,
  body.page-home .site-header .brand,
  body.page-fidelity5 .site-header .brand {
    order: 0;
    min-height: 48px;
    display: flex;
    align-items: center;
  }

  .site-header .brand img,
  body.page-home .site-header .brand img,
  body.page-fidelity5 .site-header .brand img {
    width: 64px;
  }

  .site-header .header-actions,
  body.page-home .site-header .header-actions,
  body.page-fidelity5 .site-header .header-actions {
    order: 1;
    min-height: 48px;
    display: flex;
    align-items: center;
    margin-left: auto;
    gap: 3px;
  }

  .site-header .header-actions .icon-btn {
    width: 34px;
    height: 34px;
  }

  .site-header .main-nav,
  body.page-home .site-header .main-nav,
  body.page-fidelity5 .site-header .main-nav,
  .site-header .main-nav.open,
  .site-header .main-nav.is-open {
    order: 2;
    flex: 0 0 100%;
    width: 100% !important;
    min-width: 0;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 6px !important;
    margin: 0 !important;
    padding: 0 0 5px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    border-top: 1px solid #efedf6 !important;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

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

  .site-header .main-nav a,
  body.page-home .site-header .main-nav a,
  body.page-fidelity5 .site-header .main-nav a,
  body.page-home .main-nav a:nth-last-child(-n+2) {
    display: inline-flex !important;
    min-height: 38px !important;
    padding: 2px 3px 0 !important;
    font-size: .70rem !important;
    border: 0 !important;
  }

  .site-header .main-nav a[aria-current="page"]::after,
  body.page-home .site-header .main-nav a[aria-current="page"]::after,
  body.page-fidelity5 .site-header .main-nav a[aria-current="page"]::after {
    bottom: 0;
  }
}

@media (max-width: 390px) {
  .site-header .main-nav,
  body.page-home .site-header .main-nav,
  body.page-fidelity5 .site-header .main-nav {
    justify-content: flex-start !important;
    gap: 14px !important;
  }

  .site-header .main-nav a,
  body.page-home .site-header .main-nav a,
  body.page-fidelity5 .site-header .main-nav a {
    font-size: .69rem !important;
  }
}
