/* Two-level navigation; keep the existing 1281px desktop breakpoint. */
.navigation--header .navigation--item { position: relative; }
.navigation--item-row { display: flex; align-items: center; }
.navigation--submenu-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  flex: 0 0 2.75rem; width: 2.75rem; height: 2.75rem;
  margin: 0; padding: 0; border: 0; border-radius: 0.25rem;
  background: transparent; color: #fff; cursor: pointer;
}
.navigation--submenu-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.navigation--submenu-toggle:hover { background: #1326BE; }
.navigation--submenu-toggle:focus-visible,
.navigation--submenu-link:focus-visible,
.navigation--item-row > a:focus-visible {
  outline: 2px solid #00B596; outline-offset: 3px;
}
.navigation--header ul.navigation--submenu {
  display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start;
  min-width: 16rem; margin: 0; padding: 0.5rem;
  list-style: none; border: 1px solid #2641D9; border-radius: 0.5rem;
  background: #000055; box-shadow: 0 1rem 2rem rgba(0, 0, 40, 0.25);
}
.navigation--header ul.navigation--submenu[hidden] { display: none; }
.navigation--submenu-link {
  display: block; padding: 0.875rem 1rem; border-radius: 0.25rem;
  color: #fff; font-size: 1rem; line-height: 1.5; text-decoration: none;
  overflow-wrap: anywhere;
}
.navigation--submenu-link:hover,
.navigation--submenu-link.active { background: #1326BE; color: #00B596; }
@media (min-width: 80.0625em) {
  .navigation--header ul.navigation--submenu {
    position: absolute; z-index: 60; top: 100%; left: 2rem;
    width: max-content; max-width: min(24rem, calc(100vw - 4rem));
  }
  .navigation--item-has-submenu:nth-last-child(-n+2) > .navigation--submenu {
    left: auto; right: 0;
  }
}
@media (max-width: 80.0525em) {
  .header--navigation.navigation--mobile-wrapper {
    max-height: calc(100dvh - 7rem); overflow-y: auto;
  }
  .navigation--header .navigation--main-list { margin: 0; padding: 0; }
  .navigation--item-row { width: 100%; }
  .navigation--item-has-submenu .navigation--item-row > .navigation--header-link {
    flex: 1; min-width: 0; width: auto; text-align: left;
    padding-left: 1.5rem; white-space: normal;
  }
  .navigation--submenu-toggle { margin-right: 0.75rem; }
  .navigation--header ul.navigation--submenu {
    position: static; min-width: 0; width: auto; margin: 0 1rem 1rem;
    box-shadow: none;
  }
}

/* A parent without a destination is one full-label disclosure button. */
.navigation--header .navigation--parent-toggle {
  flex: 0 1 auto; width: auto; height: auto; min-height: 2.75rem;
  gap: 0.75rem; margin-left: 2rem; margin-right: 0;
  padding: 0.4rem 0 0.3rem; border: 0; border-radius: 0;
  background: transparent; font: inherit; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase; text-align: left;
}
.navigation--parent-toggle svg { flex-shrink: 0; }
.navigation--parent-toggle.active { color: #00B596; }
@media (max-width: 80.0525em) {
  .navigation--header .navigation--parent-toggle {
    flex: 1; justify-content: space-between; min-width: 0; width: 100%;
    margin: 0; padding: 1.75rem 1.5rem 1.5rem;
    border-top: 1px solid #1326BE; white-space: normal;
  }
}
