html,
body {
  overflow-x: clip;
}
:root {
  --compact-navy: #001e55;
  --compact-footer: #001a4b;
  --compact-accent: #336cff;
  --compact-white: #fff;
  --compact-muted: rgba(255, 255, 255, 0.78);
  --compact-contact: rgba(255, 255, 255, 0.72);
  --compact-divider: rgba(255, 255, 255, 0.1);
  --compact-sub-border: rgba(255, 255, 255, 0.14);
  --compact-secondary-border: rgba(255, 255, 255, 0.3);
  --compact-chevron: rgba(255, 255, 255, 0.08);
  --compact-label: #8fb0ff;
  --compact-dim: rgba(26, 72, 190, 0.42);
  --compact-shadow: -16px 0 48px rgba(0, 12, 40, 0.35);
}
.compact-menu,
.compact-trigger {
  display: none;
}

.nav_fixed {
  transition:
    opacity 250ms ease,
    translate 250ms ease,
    visibility 0s;
}
.nav_fixed.is-bottom-hidden {
  opacity: 0;
  translate: 0 -8px;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 250ms ease,
    translate 250ms ease,
    visibility 0s 250ms;
}
@media (prefers-reduced-motion: reduce) {
  .nav_fixed,
  .nav_fixed.is-bottom-hidden {
    transition: none;
  }
  .nav_fixed.is-bottom-hidden {
    translate: none;
  }
}

.nav_fixed img[data-navigation-icon],
.nav_fixed a:hover img[data-navigation-icon],
.compact-menu img[data-navigation-icon] {
  filter: none !important;
}
@media (max-width: 1279px) {
  .nav_fixed .navbar_menu,
  .nav_fixed .navbar_menu.is-native-open,
  .nav_fixed .navbar_menu-button,
  .nav_fixed .navbar_button-desktop,
  .nav_fixed .navbar_button-mobile,
  .nav_fixed .nav-overlay,
  .nav_fixed .w-nav-overlay {
    display: none !important;
  }
  .nav_fixed .navbar_component {
    height: 64px !important;
    min-height: 64px !important;
    background: var(--compact-navy) !important;
    padding: 0 20px !important;
  }
  .nav_fixed .navbar_component > .div-block {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center !important;
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
  }
  .nav_fixed .navbar-brand {
    min-width: 0;
  }
  .nav_fixed .navbar_button-wrapper {
    margin: 0 !important;
    padding: 0 !important;
  }
  .nav_fixed .navbar_logo-link {
    padding: 0 !important;
    width: fit-content;
    max-width: 100%;
  }
  .nav_fixed .rwa-logo-light {
    display: block !important;
    opacity: 1 !important;
  }
  .nav_fixed .rwa-logo-dark {
    display: none !important;
  }
  .compact-trigger,
  .compact-menu button,
  .compact-menu a {
    -webkit-tap-highlight-color: transparent;
  }
  .compact-trigger,
  .compact-close {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--compact-white);
    cursor: pointer;
  }
  .compact-trigger span,
  .compact-close span {
    width: 18px;
    height: 1.5px;
    background: currentColor;
    display: block;
  }
  .compact-close {
    position: relative;
  }
  .compact-close span {
    position: absolute;
    transform: rotate(45deg);
  }
  .compact-close span + span {
    transform: rotate(-45deg);
  }
  .compact-menu {
    display: block;
    position: fixed;
    inset: var(--compact-strip-height, 43.2px) 0 0;
    z-index: 2147483000;
    overflow: clip;
    visibility: hidden;
    pointer-events: none;
    transition: visibility 0s 250ms;
  }
  .compact-menu.is-open {
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
  }
  .compact-backdrop {
    position: absolute;
    inset: 0;
    opacity: 0;
    background: var(--compact-dim);
    backdrop-filter: blur(4px);
    transition: opacity 250ms;
  }
  .compact-sheet {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    min-height: 0;
    background: var(--compact-navy);
    color: var(--compact-white);
    transform: translateX(100%);
    transition: transform 250ms ease;
  }
  .compact-menu.is-open .compact-sheet {
    transform: translateX(0);
  }
  .compact-menu.is-open .compact-backdrop {
    opacity: 1;
  }
  .compact-menu,
  .compact-trigger {
    font-family: "RWA Sans", sans-serif;
    font-weight: 400;
    letter-spacing: 0;
  }
  .compact-menu * {
    box-sizing: border-box;
  }
  .compact-menu [hidden] {
    display: none !important;
  }
  .compact-header {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 64px;
    flex: 0 0 64px;
    padding: 0 20px;
    border-bottom: 1px solid var(--compact-divider);
  }
  .compact-list {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 8px 20px 16px;
  }
  .compact-item {
    border-bottom: 1px solid var(--compact-divider);
  }
  .compact-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-height: 60px;
    padding: 8px 0;
    border: 0;
    border-bottom: 1px solid var(--compact-divider);
    border-radius: 0;
    background: transparent;
    color: var(--compact-white);
    font:
      400 20px/28px "RWA Sans",
      sans-serif;
    letter-spacing: 0;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
  }
  .compact-item > .compact-row {
    border-bottom: 0;
  }
  .compact-chevron {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    border-radius: 50%;
    background: var(--compact-chevron);
    transition:
      background 200ms,
      transform 200ms;
  }
  .compact-chevron svg {
    width: 16px;
    height: 16px;
  }
  .compact-row[aria-expanded="true"] .compact-chevron {
    background: var(--compact-accent);
    transform: rotate(180deg);
  }
  .compact-links {
    padding: 0 0 18px;
  }
  .compact-links a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 9px 0 9px 14px;
    border-left: 1px solid var(--compact-sub-border);
    color: var(--compact-muted);
    font:
      400 16px/24px "RWA Sans",
      sans-serif;
    letter-spacing: 0;
    text-decoration: none;
  }
  .compact-links a:hover,
  .compact-links a:focus-visible {
    color: var(--compact-white);
    border-left-color: var(--compact-accent);
  }
  .compact-group-label {
    margin: 16px 0 8px;
    color: var(--compact-label);
    font:
      500 11px/16px "RWA Sans",
      sans-serif;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }
  .compact-group-label:first-child {
    margin-top: 0;
  }
  .compact-footer {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px 20px max(22px, env(safe-area-inset-bottom));
    background: var(--compact-footer);
    border-top: 1px solid var(--compact-divider);
  }
  .compact-cta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: 100%;
    min-height: 50px;
    padding: 10px 16px;
    border: 1px solid var(--compact-accent);
    border-radius: 999px;
    background: var(--compact-accent);
    color: var(--compact-white);
    font:
      500 15px/22px "RWA Sans",
      sans-serif;
    letter-spacing: 0;
    text-decoration: none;
  }
  .compact-cta:has(.compact-user-icon) {
    gap: 10px;
  }
  .compact-user-icon,
  .compact-lock-icon {
    display: block;
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    object-fit: contain;
  }
  .compact-cta-secondary {
    background: transparent;
    border-color: var(--compact-secondary-border);
  }
  .compact-menu svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .compact-cta svg {
    width: 16px;
    height: 16px;
  }
  .compact-contacts {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0 10px;
  }
  .compact-contacts a {
    display: flex;
    align-items: center;
    gap: 5px;
    min-height: 44px;
    color: var(--compact-contact);
    font:
      400 13px/18px "RWA Sans",
      sans-serif;
    letter-spacing: 0;
    text-decoration: none;
  }
  .compact-contacts svg {
    width: 13px;
    height: 13px;
    flex: 0 0 13px;
  }
  .compact-trigger:focus-visible,
  .compact-menu a:focus-visible,
  .compact-menu button:focus-visible {
    outline: 2px solid var(--compact-label);
    outline-offset: 2px;
  }
  @media (min-width: 768px) {
    .nav_fixed .navbar_component {
      height: 72px !important;
      min-height: 72px !important;
      padding-inline: 32px !important;
    }
    .compact-sheet {
      left: auto;
      width: 440px;
      box-shadow: var(--compact-shadow);
    }
    .compact-header {
      padding-inline: 32px;
    }
    .compact-list,
    .compact-footer {
      padding-inline: 32px;
    }
  }
}
@media (prefers-reduced-motion: reduce) {
  .compact-menu,
  .compact-sheet,
  .compact-backdrop,
  .compact-chevron {
    transition: none !important;
  }
}

@media (min-width: 1280px) {
  .nav_fixed .navbar_menu .navbar_link,
  .nav_fixed .navbar_menu .dropdown-toggle {
    color: rgba(255, 255, 255, 0.65);
  }

  .nav_fixed:has(.dropdown-toggle.w--open)
    .navbar_menu
    .navbar_link:not(:hover):not(:focus-visible):not(.is-nav-current-parent),
  .nav_fixed:has(.dropdown-toggle.w--open)
    .navbar_menu
    .dropdown-toggle:not(:hover):not(:focus-visible):not(.is-nav-current-parent) {
    color: rgba(255, 255, 255, 0.65) !important;
  }
  .nav_fixed .navbar_menu .navbar_link:is(:hover, :focus-visible),
  .nav_fixed .navbar_menu .dropdown-toggle:is(:hover, :focus-visible),
  .nav_fixed .dropdown-list a:is(:hover, :focus-visible),
  .nav_fixed .dropdown-list a:is(:hover, :focus-visible) .dropdown-list-wrapper-link,
  .nav_fixed .dropdown-list .sitemap-category:is(:hover, :focus-visible) {
    color: #fff !important;
    opacity: 1;
  }

  .nav_fixed
    .dropdown-list
    .dropdown-list-wrapper-link
    a.dropdown-list-wrapper-link:not(.is-nav-current) {
    color: rgba(255, 255, 255, 0.65) !important;
  }
  .nav_fixed
    .dropdown-list
    .dropdown-list-wrapper-link
    a.dropdown-list-wrapper-link:not(.is-nav-current):is(:hover, :focus-visible) {
    color: #fff !important;
    opacity: 1;
  }

  .nav_fixed .dropdown-list a.card-nav:not(.is-nav-current) .dropdown-list-wrapper-link {
    color: rgba(255, 255, 255, 0.65) !important;
  }
  .nav_fixed
    .dropdown-list
    a.card-nav:not(.is-nav-current):is(:hover, :focus-visible)
    .dropdown-list-wrapper-link {
    color: #fff !important;
  }
  .nav_fixed .navbar_menu .w-dropdown .is-nav-current-parent,
  .nav_fixed .navbar_menu .is-nav-current-parent:is(:hover, :focus-visible) {
    color: #336cff !important;
  }

  .nav_fixed .navbar_component .navbar_button-wrapper a {
    color: var(--dropdown-foreground) !important;
    opacity: 1 !important;
  }
  .nav_fixed .navbar_button-wrapper a:is(:hover, :focus-visible, .is-nav-current) .nav-action-icon {
    filter: brightness(0) saturate(100%) invert(31%) sepia(98%) saturate(2500%) hue-rotate(221deg)
      brightness(101%) contrast(102%) !important;
  }
}

.nav_fixed .dropdown-list div.sitemap-category {
  cursor: default;
}
.nav_fixed .dropdown-list div.sitemap-category:is(:hover, :focus-visible) {
  color: var(--dropdown-muted, rgba(255, 255, 255, 0.6)) !important;
}

.nav_fixed .dropdown-list div.dropdown-list-wrapper-link:hover {
  opacity: 1;
}

.nav_fixed .navbar_menu a.is-nav-current,
.nav_fixed .navbar_menu a.is-nav-current .dropdown-list-wrapper-link,
.compact-menu a.is-nav-current {
  color: #336cff !important;
  opacity: 1;
}

.nav_fixed .navbar_menu .dropdown-list a.is-nav-current,
.nav_fixed .navbar_menu .dropdown-list a.is-nav-current .dropdown-list-wrapper-link,
.nav_fixed .navbar_menu .dropdown-list a.is-nav-current:is(:hover, :focus-visible) {
  color: #fff !important;
  opacity: 1;
}
.is-nav-current :is(svg, img) {
  color: #336cff;
  stroke: #336cff;
}

.nav_fixed .navbar_menu .dropdown-list a[data-nav-available],
.nav_fixed .navbar_menu .dropdown-list a.card-nav[data-nav-available] .dropdown-list-wrapper-link,
.compact-menu a[data-nav-available] {
  color: var(--dropdown-foreground) !important;
  opacity: 1;
}

@media (hover: hover) and (pointer: fine) and (min-width: 480px) {
  .banner_component-black .banner_text-wrapper {
    overflow: hidden;
    white-space: nowrap;
    max-width: 22rem;
    transition:
      max-width 0.45s ease,
      opacity 0.3s ease,
      margin-right 0.45s ease;
  }
  .banner_component-black:hover .banner_text-wrapper {
    max-width: 0;
    opacity: 0;
    margin-right: 0;
  }
  .banner_component-black .button-banner.is-text-banner {
    transition: color 0.3s ease;
  }
  .banner_component-black:hover .button-banner.is-text-banner {
    color: #fff !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  .banner_component-black .banner_text-wrapper,
  .banner_component-black .button-banner.is-text-banner {
    transition: none;
  }
}

/* Stable navy surface from the first paint. */
.nav_fixed .navbar_component {
  background-color: var(--compact-navy);
}

/* Desktop mega-menu tint: dims the page below the nav while a dropdown is open.
   Sits below the open panel (z-index 901, set by the hover controller) so panel
   links stay clickable; clicking the tint closes the menu. */
@media (min-width: 1280px) {
  .nav_fixed .nav-overlay {
    display: block;
    position: fixed;
    inset: var(--desktop-nav-bottom, 134px) 0 0;
    z-index: 899;
    background: var(--desktop-dropdown-tint, rgba(0, 30, 85, 0.35));
    opacity: 0;
    pointer-events: none;
    transition: opacity 200ms ease;
  }
  .nav_fixed:has(.dropdown-toggle.w--open) .nav-overlay {
    opacity: 1;
    pointer-events: auto;
  }
}
@media (min-width: 1280px) and (prefers-reduced-motion: reduce) {
  .nav_fixed .nav-overlay {
    transition: none;
  }
}
