/* Global FMG navigation: shared desktop, mega-menu and mobile system. */
.site-header .gf-navbar {
  --gf-nav-ink: #0b1f3a;
  --gf-nav-muted: rgba(11, 31, 58, .72);
  --gf-nav-line: rgba(11, 31, 58, .14);
  --gf-nav-hover: rgba(11, 31, 58, .055);
  --gf-nav-panel: #fff;
  --gf-nav-panel-ink: #0b1f3a;
  --gf-nav-panel-muted: rgba(11, 31, 58, .74);
  --gf-nav-gold: #d4a843;
  --gf-nav-utilities-width: clamp(204px, 17vw, 260px);
  color: var(--gf-nav-ink);
  background: #fff;
  border-bottom: 1px solid rgba(11, 31, 58, .09);
  box-shadow: 0 3px 14px rgba(11, 31, 58, .07);
  backdrop-filter: none;
}

/* The ribbon, opaque header and hero stay in document order on the homepage. */
body.path-frontpage .site-header {
  position: sticky;
  top: var(--gf-header-toolbar-offset, 0);
  height: auto;
  background: #fff;
}

body.path-frontpage .site-header .gf-navbar {
  position: relative;
  top: 0;
}

/* (0,3,0) covers non-overlay pages; (0,4,0) variant covers overlay homepage —
   both beat style.css rules at the same specificity because navigation.css
   is listed second in libraries.yml and therefore resolves later. */
.site-header .gf-navbar.scrolled,
.site-header.site-header--overlay .gf-navbar.scrolled {
  --gf-nav-ink: #0b1f3a;
  --gf-nav-muted: rgba(11, 31, 58, .72);
  --gf-nav-line: rgba(11, 31, 58, .14);
  --gf-nav-hover: rgba(11, 31, 58, .055);
  --gf-nav-panel: #fff;
  --gf-nav-panel-ink: #0b1f3a;
  --gf-nav-panel-muted: rgba(11, 31, 58, .74);
  background: #fff;
  border-bottom-color: rgba(11, 31, 58, .09);
  box-shadow: 0 5px 18px rgba(11, 31, 58, .09);
  backdrop-filter: none;
}

.site-header .gf-navbar>.container-xl {
  position: relative;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: clamp(.75rem, 1.7vw, 1.75rem);
  min-height: 76px;
  padding-block: .55rem;
}

.site-header .gf-navbar__brand {
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
}

.site-header .gf-navbar__brand img {
  display: block;
  width: auto;
  height: clamp(46px, 4vw, 58px);
  max-width: clamp(116px, 10vw, 154px);
  object-fit: contain;
}

.site-header .gf-navbar .gf-navbar__collapse {
  position: static;
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--gf-nav-utilities-width);
  align-items: center;
  gap: clamp(.55rem, 1.2vw, 1.2rem);
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  margin: 0;
}

.site-header .gf-navbar__menu {
  position: static;
  min-width: 0;
  flex: 1 1 auto;
}

.site-header .gf-navbar__menu nav {
  position: static;
  min-width: 0;
}

.site-header .gf-navbar__menu .navbar-nav {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  justify-content: center;
  gap: clamp(.05rem, .35vw, .35rem);
  width: 100%;
}

.site-header .gf-navbar__menu .navbar-nav>.nav-item {
  flex: 0 1 auto;
  min-width: 0;
}

.site-header .gf-nav-control {
  display: flex;
  align-items: center;
  min-width: 0;
}

.site-header .gf-navbar .gf-navbar__menu .navbar-nav .nav-link,
.site-header .gf-nav-control__label {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  margin: 0;
  padding: .55rem clamp(.38rem, .65vw, .72rem);
  border: 0;
  color: var(--gf-nav-ink);
  font-size: clamp(.7rem, .65vw, .79rem);
  font-weight: 700;
  letter-spacing: .045em;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Override style.css scrolled rule with higher specificity (0,6,0 beats 0,5,0) */
.site-header .gf-navbar.scrolled .gf-navbar__menu .navbar-nav .nav-item .nav-link,
.site-header .gf-navbar.scrolled .gf-nav-control__label {
  color: var(--gf-nav-ink);
}

.site-header .gf-navbar .gf-navbar__menu .navbar-nav .nav-link::after {
  left: .45rem;
  right: .45rem;
  bottom: .28rem;
}

.site-header .gf-navbar .gf-navbar__menu .navbar-nav .nav-link:hover,
.site-header .gf-navbar .gf-navbar__menu .navbar-nav .nav-link:focus-visible,
.site-header .gf-navbar .gf-navbar__menu .navbar-nav .nav-link.active,
.site-header .gf-navbar__menu .navbar-nav .active-trail>.gf-nav-control .nav-link {
  color: var(--gf-nav-gold);
  background: var(--gf-nav-hover);
  text-decoration: none;
}

/* A route may appear in more than one branch. Once JavaScript has resolved a
   single technical section, neutralize only the top-level Drupal trail and
   apply gold to the route/origin class. Descendant trails and aria-current
   remain untouched and truthful. */
.site-header .gf-navbar__menu .navbar-nav.has-gf-section-visual-state>.nav-item>.gf-nav-control .nav-link.active,
.site-header .gf-navbar__menu .navbar-nav.has-gf-section-visual-state>.nav-item.active-trail>.gf-nav-control .nav-link {
  color: var(--gf-nav-ink);
  background: transparent;
}

.site-header .gf-navbar__menu .navbar-nav.has-gf-section-visual-state>.nav-item>.gf-nav-control .nav-link.active::after,
.site-header .gf-navbar__menu .navbar-nav.has-gf-section-visual-state>.nav-item.active-trail>.gf-nav-control .nav-link::after {
  transform: scaleX(0);
}

.site-header .gf-navbar__menu .navbar-nav.has-gf-section-visual-state>.nav-item.is-route-section>.gf-nav-control .nav-link,
.site-header .gf-navbar__menu .navbar-nav.has-gf-section-visual-state>.nav-item.is-context-section>.gf-nav-control .nav-link {
  color: var(--gf-nav-gold);
  background: var(--gf-nav-hover);
  text-decoration: none;
}

.site-header .gf-navbar__menu .navbar-nav.has-gf-section-visual-state>.nav-item.is-route-section>.gf-nav-control .nav-link::after,
.site-header .gf-navbar__menu .navbar-nav.has-gf-section-visual-state>.nav-item.is-context-section>.gf-nav-control .nav-link::after {
  transform: scaleX(1);
}

.site-header .gf-navbar .gf-navbar__menu .navbar-nav .nav-link:focus-visible,
.site-header .gf-submenu-toggle:focus-visible,
.site-header .gf-account-menu__toggle:focus-visible,
.site-header .gf-search-form__toggle:focus-visible,
.site-header .gf-search-form__submit:focus-visible,
.site-header .gf-search-toggle:focus-visible,
.site-header .gf-navbar__toggler:focus-visible {
  outline: 2px solid var(--gf-nav-gold);
  outline-offset: 3px;
  box-shadow: none;
}

.site-header .gf-submenu-toggle {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 38px;
  min-width: 38px;
  height: 42px;
  margin-left: -.32rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--gf-nav-muted);
}

.site-header .gf-submenu-toggle:hover,
.site-header .is-open>.gf-nav-control .gf-submenu-toggle,
.site-header .gf-mega-menu__group.is-open>.gf-mega-menu__group-control .gf-submenu-toggle {
  color: var(--gf-nav-gold);
}

.site-header .gf-submenu-toggle__icon {
  display: block;
  width: .48rem;
  height: .48rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-.12rem) rotate(45deg);
  transition: transform .2s ease;
}

.site-header .is-open>.gf-nav-control .gf-submenu-toggle__icon,
.site-header .gf-mega-menu__group.is-open>.gf-mega-menu__group-control .gf-submenu-toggle__icon {
  transform: translateY(.12rem) rotate(225deg);
}

.site-header .gf-nav-link--external {
  gap: .35rem;
}

.site-header .gf-nav-link__external-icon {
  display: inline-flex;
  flex: 0 0 auto;
  color: currentColor;
  opacity: .72;
}

.site-header .gf-navbar .gf-navbar__utilities {
  --gf-search-field-width: clamp(114px, calc(17vw - 90px), 170px);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .3rem;
  flex: 0 0 auto;
  min-width: max-content;
  width: var(--gf-nav-utilities-width);
  margin: 0;
}

/* Override style.css scrolled-state navy color on utility icons (specificity 0,4,0 beats 0,3,0) */
.site-header .gf-navbar.scrolled .gf-account-menu__toggle,
.site-header .gf-navbar.scrolled .gf-search-form__toggle,
.site-header .gf-navbar.scrolled .gf-search-toggle {
  color: var(--gf-nav-ink);
  background: transparent;
  border: 0;
}

.site-header .gf-account-menu__toggle,
.site-header .gf-search-form__toggle,
.site-header .gf-search-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  min-width: 42px;
  height: 42px;
  min-height: 42px;
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--gf-nav-ink);
  box-shadow: none;
  transition: color .18s ease, background-color .18s ease;
}

.site-header .gf-account-menu__toggle:hover,
.site-header .gf-account-menu.is-open .gf-account-menu__toggle,
.site-header .gf-search-form__toggle:hover,
.site-header .gf-search-form.is-open .gf-search-form__toggle,
.site-header .gf-search-toggle:hover {
  border: 0;
  color: var(--gf-nav-gold);
  background: var(--gf-nav-hover);
  box-shadow: none;
  transform: none;
}

.site-header .gf-search-form.is-empty .gf-search-form__field {
  border-color: var(--gf-nav-gold);
  box-shadow: 0 0 0 2px rgba(212, 168, 67, .18);
}

.site-header .gf-account-menu__state {
  position: absolute;
  right: 5px;
  bottom: 5px;
  width: 6px;
  height: 6px;
  border: 1px solid var(--gf-nav-panel);
  border-radius: 50%;
  background: var(--gf-nav-gold);
}

.site-header .gf-search-form {
  position: relative;
  display: flex;
  align-items: center;
  width: 42px;
  min-width: 42px;
  overflow: visible;
}

.site-header .gf-account-menu {
  flex: 0 0 auto;
}

/* Search expands via the absolutely-positioned field only;
   the form container never changes width, so navigation is undisturbed. */
.site-header .gf-search-form.is-open {
  width: 42px;
}

/* Upgraded to (0,3,0) to beat style.css field position: relative at same spec */
.site-header .gf-navbar .gf-search-form__field {
  position: absolute;
  right: calc(100% + .3rem);
  top: 50%;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  width: 0;
  min-width: 0;
  height: 38px;
  overflow: hidden;
  border: 0 solid transparent;
  border-radius: .3rem;
  background: transparent;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%) translateX(.25rem);
  transition: width .3s ease, opacity .22s ease, transform .3s ease,
    border-color .22s ease, background-color .22s ease;
  z-index: 1;
}

/* (0,4,0) beats style.css field rule (0,3,0).
   Width capped so the field stays in the right-side utility zone,
   never reaching the navigation labels. */
.site-header .gf-navbar .gf-search-form.is-open .gf-search-form__field {
  width: var(--gf-search-field-width);
  border-width: 1px;
  border-color: rgba(255, 255, 255, .68);
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 10px 26px rgba(3, 12, 24, .14);
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-50%) translateX(0);
}

.site-header .gf-navbar.scrolled .gf-search-form.is-open .gf-search-form__field {
  border-color: rgba(11, 31, 58, .18);
  background: #fff;
  box-shadow: 0 9px 24px rgba(11, 31, 58, .11);
}

.site-header .gf-navbar .gf-search-form__field input[name="keys"] {
  width: 100%;
  min-width: 0;
  height: 38px;
  padding: .3rem .65rem;
  border: 0;
  outline: 0;
  background: transparent;
  color: #0b1f3a;
  caret-color: #0b1f3a;
  font-size: .84rem;
}

.site-header .gf-navbar .gf-search-form__field input[name="keys"]::placeholder {
  color: rgba(11, 31, 58, .62);
}

.site-header .gf-navbar .gf-search-form__field input[name="keys"]:focus-visible {
  background: transparent;
}

.site-header .gf-search-form__submit {
  display: none;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--gf-nav-gold);
}

/* Both mega menus and the account panel use the same restrained surface. */
.site-header .gf-navbar .gf-navbar__menu .gf-mega-menu-parent>[data-gf-mega-menu] {
  --gf-menu-level-1-font-size: .73rem;
  --gf-menu-level-2-font-size: .72rem;
  --gf-menu-level-2-indent: .8rem;
  --gf-menu-level-3-indent: .9rem;
  --gf-menu-nested-line-color: rgba(212, 168, 67, .42);
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 1050;
  display: block !important;
  width: min(1180px, calc(100vw - 2rem));
  min-width: 0;
  max-height: calc(100svh - var(--gf-header-toolbar-offset, 0px) - 7rem);
  margin: 0;
  padding: clamp(1rem, 2vw, 1.45rem);
  overflow: auto;
  border: 1px solid var(--gf-nav-line);
  border-top: 2px solid var(--gf-nav-gold);
  border-radius: .25rem;
  background: var(--gf-nav-panel);
  box-shadow: 0 22px 52px rgba(3, 12, 24, .2);
  color: var(--gf-nav-panel-ink);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transform: translate(-50%, .55rem);
  backdrop-filter: blur(10px);
  transition: opacity .18s ease, transform .2s ease, visibility .2s ease,
    background-color .28s ease, border-color .28s ease, box-shadow .28s ease;
}

.site-header .gf-navbar__menu .gf-mega-menu-parent.is-open>[data-gf-mega-menu] {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transform: translate(-50%, 0);
}

/* Remove native list/disclosure markers scoped to FMG global navigation */
.site-header .gf-navbar .navbar-nav,
.site-header .gf-mega-menu__grid,
.site-header .gf-mega-menu__links {
  list-style: none;
}

/* LI-level suppression: overrides Bootstrap5 menu.css .menu-item--expanded { list-style-type: circle } (0,1,0) */
.site-header .gf-navbar .nav-item,
.site-header .gf-navbar .gf-mega-menu__group,
.site-header .gf-navbar .gf-mega-menu__item {
  list-style: none;
}

.site-header .gf-navbar li::marker,
.site-header .gf-navbar summary::marker {
  content: none;
}

.site-header .gf-navbar summary::-webkit-details-marker {
  display: none;
}

.site-header .gf-mega-menu__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(215px, 100%), 1fr));
  gap: .6rem clamp(.8rem, 1.7vw, 1.35rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-header .gf-navbar__menu .gf-mega-menu__group,
.site-header .gf-navbar__menu .gf-mega-menu__item {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  list-style: none;
}

.site-header .gf-mega-menu__group-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 38px;
  align-items: center;
  min-height: 42px;
  border-bottom: 1px solid var(--gf-nav-line);
}

.site-header .gf-navbar__menu .gf-mega-menu__group-title {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 42px;
  margin: 0;
  padding: .55rem .45rem .55rem .82rem;
  color: var(--gf-nav-panel-ink);
  font-size: var(--gf-menu-level-1-font-size);
  font-weight: 800;
  letter-spacing: .075em;
  line-height: 1.25;
  text-decoration: none;
  text-transform: uppercase;
}

.site-header .gf-navbar__menu .gf-mega-menu__group-title::before {
  top: 50%;
  height: 1rem;
  transform: translateY(-50%);
}

.site-header .gf-navbar__menu .gf-mega-menu__group-title:hover,
.site-header .gf-navbar__menu .gf-mega-menu__group-title:focus-visible,
.site-header .gf-navbar__menu .gf-mega-menu__group-title.active {
  color: var(--gf-nav-gold);
  text-decoration: none;
  outline: 0;
}

.site-header .gf-navbar__menu .gf-mega-menu__group-title:focus-visible {
  border-radius: .2rem;
  box-shadow: inset 0 0 0 2px var(--gf-nav-gold);
}

.site-header .gf-submenu-toggle--group {
  width: 38px;
  min-width: 38px;
  height: 38px;
  margin: 0;
  color: var(--gf-nav-panel-muted);
}

.site-header .gf-mega-menu__links {
  display: grid;
  gap: .12rem;
  max-height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: max-height .28s ease, opacity .2s ease, padding .2s ease, visibility .2s ease;
}

.site-header .gf-mega-menu__group.is-open>.gf-mega-menu__links {
  max-height: 42rem;
  padding-top: .4rem;
  opacity: 1;
  visibility: visible;
}

.site-header .gf-navbar__menu .gf-mega-menu .dropdown-item {
  display: flex;
  align-items: center;
  gap: .35rem;
  min-height: 38px;
  padding: .5rem .65rem;
  border-radius: .22rem;
  color: var(--gf-nav-panel-muted);
  font-size: .84rem;
  font-weight: 600;
  line-height: 1.3;
  white-space: normal;
}

.site-header .gf-navbar__menu .gf-mega-menu .dropdown-item:hover,
.site-header .gf-navbar__menu .gf-mega-menu .dropdown-item:focus-visible,
.site-header .gf-navbar__menu .gf-mega-menu .dropdown-item.active {
  color: var(--gf-nav-panel-ink);
  background: rgba(212, 168, 67, .14);
  text-decoration: none;
  transform: none;
  outline: 0;
}

.site-header .gf-navbar__menu .gf-mega-menu .dropdown-item:focus-visible,
.site-header .gf-account-menu__list a:focus-visible,
.site-header .gf-account-menu__list button:focus-visible {
  box-shadow: inset 0 0 0 2px var(--gf-nav-gold);
}

/* Nested branches remain in their Menu API column and read as subordinate. */
.site-header .gf-mega-menu__links>.gf-mega-menu__group.menu-level-2 {
  width: calc(100% - var(--gf-menu-level-2-indent));
  margin: .42rem 0 .12rem var(--gf-menu-level-2-indent);
  padding-left: .5rem;
  border-left: 2px solid var(--gf-menu-nested-line-color);
  background: linear-gradient(90deg, rgba(212, 168, 67, .08), transparent 72%);
}

.site-header .gf-mega-menu__group.menu-level-2>.gf-mega-menu__group-control {
  grid-template-columns: minmax(0, 1fr) 36px;
  min-height: 40px;
  border-bottom-color: rgba(11, 31, 58, .1);
}

.site-header .gf-navbar__menu .gf-mega-menu__group.menu-level-2>.gf-mega-menu__group-control .gf-mega-menu__group-title {
  min-height: 40px;
  padding: .45rem .3rem .45rem .62rem;
  color: var(--gf-nav-panel-muted);
  font-size: var(--gf-menu-level-2-font-size);
  font-weight: 700;
  letter-spacing: .015em;
  text-transform: none;
}

.site-header .gf-mega-menu__links.menu-level-3>.gf-mega-menu__item .dropdown-item,
.site-header .gf-mega-menu__links.menu-level-3>.gf-mega-menu__destination .dropdown-item {
  position: relative;
  min-height: 36px;
  padding-left: calc(.65rem + var(--gf-menu-level-3-indent));
  font-size: .8rem;
  font-weight: 550;
}

.site-header .gf-mega-menu__links.menu-level-3>.gf-mega-menu__item .dropdown-item::before,
.site-header .gf-mega-menu__links.menu-level-3>.gf-mega-menu__destination .dropdown-item::before {
  position: absolute;
  left: .72rem;
  width: .42rem;
  height: 1px;
  background: rgba(212, 168, 67, .68);
  content: "";
}

.site-header .gf-account-menu__panel {
  position: absolute;
  top: calc(100% + .45rem);
  right: 0;
  z-index: 1060;
  display: block;
  min-width: 250px;
  overflow: hidden;
  border: 1px solid var(--gf-nav-line);
  border-top: 2px solid var(--gf-nav-gold);
  border-radius: .25rem;
  background: var(--gf-nav-panel);
  box-shadow: 0 20px 44px rgba(3, 12, 24, .22);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transform: translateY(.45rem);
  transition: opacity .18s ease, transform .2s ease, visibility .2s ease;
}

.site-header .gf-account-menu.is-open .gf-account-menu__panel {
  position: absolute;
  top: calc(100% + .45rem);
  right: 0;
  display: block;
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transform: translateY(0);
}

.site-header .gf-account-menu__list,
.site-header .navbar.scrolled .gf-account-menu__list {
  min-width: 0;
  margin: 0;
  padding: .42rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  opacity: 1;
  transform: none;
  animation: none;
}

.site-header .gf-account-menu__list a,
.site-header .gf-account-menu__list button,
.site-header .navbar.scrolled .gf-account-menu__list a,
.site-header .navbar.scrolled .gf-account-menu__list button {
  min-height: 40px;
  border-radius: .2rem;
  color: var(--gf-nav-panel-ink);
}

.site-header .gf-account-menu__section-label,
.site-header .gf-account-menu__preference-label,
.site-header .navbar.scrolled .gf-account-menu__section-label,
.site-header .navbar.scrolled .gf-account-menu__preference-label {
  color: var(--gf-nav-panel-muted);
}

.site-header .gf-account-menu__separator,
.site-header .navbar.scrolled .gf-account-menu__separator {
  background: var(--gf-nav-line);
}

/* ── Desktop-specific cascade overrides ─────────────────────────────────────
   style.css has several rules at (0,3,0) that break the flex-row layout:
     - .site-header .gf-navbar .gf-navbar__brand { width: 100% }
       → forces brand to full container width → collapse wraps to 2nd row
     - .site-header .gf-navbar .gf-navbar__collapse { flex: initial }
       → prevents collapse from growing alongside brand
     - .site-header .gf-navbar .gf-search-form { width: auto }
       → makes form grow to include in-flow field (~157px)
   Each rule below uses the same (0,3,0) specificity and loads after style.css
   (navigation.css is listed second in libraries.yml) so it wins.
──────────────────────────────────────────────────────────────────────────── */
@media (min-width: 1100px) {
  .site-header .gf-navbar>.container-xl {
    display: grid;
    grid-template-columns: var(--gf-nav-utilities-width) minmax(0, 1fr) var(--gf-nav-utilities-width);
    column-gap: 0;
    width: 100%;
    max-width: 1760px;
  }

  .site-header .gf-navbar .gf-navbar__brand {
    grid-column: 1;
    justify-self: start;
    width: auto;
  }

  .site-header .gf-navbar.navbar-expand-xl .gf-navbar__collapse {
    display: contents !important;
  }

  .site-header .gf-navbar .gf-navbar__menu {
    grid-column: 2;
    width: 100%;
  }

  .site-header .gf-navbar .gf-navbar__utilities {
    grid-column: 3;
    justify-self: end;
  }

  .site-header .gf-navbar .gf-search-form {
    width: 42px;
    min-width: 42px;
    overflow: visible;
  }

  /* Reduce nav-link horizontal padding: style.css sets padding: 0.5rem (0,4,0) at
     (min-width:1200) and (max-width:1535); this selector is also (0,4,0) and
     navigation.css loads later, so it wins at full-desktop widths. */
  .site-header .gf-navbar .gf-navbar__menu .navbar-nav .nav-link {
    padding-inline: .25rem;
  }

  /* Reduce chevron width to reclaim horizontal space inside each nav item. */
  .site-header .gf-navbar .gf-submenu-toggle--primary {
    width: 28px;
    min-width: 28px;
  }

  .site-header .gf-navbar .gf-navbar__utilities {
    justify-content: flex-end;
  }
}

@media (max-width: 1535.98px) and (min-width: 1100px) {
  .site-header .gf-navbar>.container-xl {
    gap: .55rem;
    max-width: 100%;
    padding-inline: 1rem;
  }

  .site-header .gf-navbar__brand img {
    height: 46px;
    max-width: 118px;
  }

  .site-header .gf-navbar__menu .navbar-nav .nav-link,
  .site-header .gf-nav-control__label {
    padding-inline: .35rem;
    font-size: .69rem;
    letter-spacing: .025em;
  }

  .site-header .gf-submenu-toggle--primary {
    width: 24px;
    min-width: 24px;
    margin-left: -.3rem;
  }

  /* The desktop @media (min-width: 1200px) block uses selector
     .site-header .gf-navbar .gf-navbar__menu .navbar-nav .nav-link (0,5,0)
     which beats this compact block's (0,4,0) rule. Override here with
     matching (0,5,0) selectors that appear later in the file → win at
     compact-desktop widths (1200–1440 px). */
  .site-header .gf-navbar .gf-navbar__menu .navbar-nav .nav-link,
  .site-header .gf-navbar .gf-nav-control__label {
    padding-inline: .2rem;
    font-size: .69rem;
  }

  .site-header .gf-navbar .gf-submenu-toggle--primary {
    width: 22px;
    min-width: 22px;
  }
}

@media (max-width: 1099.98px) {
  .site-header .gf-navbar>.container-xl {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    gap: .65rem;
    min-height: 68px;
    padding: .5rem 1rem;
  }

  .site-header .gf-navbar .gf-navbar__toggler {
    grid-column: 1;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 3px;
    border: 0;
    border-radius: 50%;
    background: transparent;
  }

  .site-header .gf-navbar .gf-navbar__toggler .navbar-toggler-icon {
    position: relative;
    display: block;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    box-shadow: 0 3px 9px rgba(3, 12, 24, .2);
    transform: rotate(0deg);
    transition: transform .38s cubic-bezier(.22, .8, .24, 1), box-shadow .28s ease, border-color .28s ease;
  }

  .site-header .gf-navbar__golf-ball {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: contain;
    pointer-events: none;
    user-select: none;
  }

  .site-header .gf-navbar__toggler .navbar-toggler-icon::before,
  .site-header .gf-navbar__toggler .navbar-toggler-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: #0b1f3a;
    opacity: 0;
    transform-origin: center;
    transition: opacity .2s ease, transform .38s cubic-bezier(.22, .8, .24, 1);
  }

  .site-header .gf-navbar__toggler .navbar-toggler-icon::before {
    transform: translate(-50%, -50%) scaleX(.35);
  }

  .site-header .gf-navbar__toggler .navbar-toggler-icon::after {
    transform: translate(-50%, -50%) rotate(90deg) scaleX(.35);
  }

  .site-header .gf-navbar__toggler:hover .navbar-toggler-icon {
    box-shadow: 0 4px 11px rgba(3, 12, 24, .26);
  }

  .site-header .gf-navbar__toggler[aria-expanded='true'] .navbar-toggler-icon {
    transform: rotate(45deg);
  }

  .site-header .gf-navbar__toggler[aria-expanded='true'] .navbar-toggler-icon::before,
  .site-header .gf-navbar__toggler[aria-expanded='true'] .navbar-toggler-icon::after {
    opacity: 1;
  }

  .site-header .gf-navbar__toggler[aria-expanded='true'] .navbar-toggler-icon::before {
    transform: translate(-50%, -50%) scaleX(1);
  }

  .site-header .gf-navbar__toggler[aria-expanded='true'] .navbar-toggler-icon::after {
    transform: translate(-50%, -50%) rotate(90deg) scaleX(1);
  }

  .site-header .gf-navbar__toggler.is-awaiting-interaction[aria-expanded='false'] .navbar-toggler-icon {
    animation: gf-menu-ball-attention 3.8s ease-in-out infinite;
  }

  .site-header .gf-navbar__brand {
    grid-column: 2;
    justify-self: center;
  }

  .site-header .gf-navbar__brand img {
    height: 48px;
    max-width: min(150px, 45vw);
  }

  .site-header .gf-search-toggle {
    grid-column: 3;
    justify-self: end;
  }

  .site-header .gf-navbar__collapse {
    grid-column: 1 / -1;
    display: block;
    width: 100%;
  }

  .site-header .gf-navbar.navbar-expand-xl .gf-navbar__collapse.show {
    display: block;
    color: #0b1f3a;
    background: #fff;
  }

  .site-header .gf-navbar.navbar-expand-xl .gf-navbar__collapse.show .gf-navbar__menu {
    padding-block: .35rem .75rem;
  }

  .site-header .gf-navbar__menu .navbar-nav {
    align-items: stretch;
  }

  .site-header .gf-navbar__menu .navbar-nav>.nav-item {
    width: 100%;
    border-bottom: 1px solid rgba(11, 31, 58, .1);
  }

  .site-header .gf-nav-control {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 48px;
    width: 100%;
  }

  .site-header .gf-navbar__menu .navbar-nav .nav-link,
  .site-header .gf-nav-control__label {
    justify-content: flex-start;
    width: 100%;
    min-height: 48px;
    padding: .7rem .65rem;
    border-left: 2px solid transparent;
    color: #0b1f3a;
    font-size: .78rem;
    text-align: left;
  }

  .site-header .gf-navbar__menu .navbar-nav .nav-link:hover,
  .site-header .gf-navbar__menu .navbar-nav .nav-link:focus-visible,
  .site-header .gf-navbar__menu .navbar-nav .nav-link.active {
    border-left-color: var(--gf-nav-gold);
    color: var(--gf-nav-gold);
    background: rgba(11, 31, 58, .055);
  }

  .site-header .gf-submenu-toggle--primary {
    width: 48px;
    min-width: 48px;
    height: 48px;
    margin: 0;
    color: rgba(11, 31, 58, .74);
  }

  .site-header .gf-navbar .gf-navbar__menu .gf-mega-menu-parent>[data-gf-mega-menu] {
    --gf-menu-level-2-indent: .65rem;
    --gf-menu-level-3-indent: .75rem;
    position: static;
    display: none !important;
    width: 100%;
    max-height: none;
    margin: 0;
    padding: .35rem .25rem .85rem 1rem;
    overflow: visible;
    border: 0;
    border-top: 1px solid rgba(11, 31, 58, .08);
    border-radius: 0;
    background: rgba(248, 246, 240, .72);
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transform: none;
  }

  .site-header .gf-navbar .gf-navbar__menu .gf-mega-menu-parent.is-open>[data-gf-mega-menu] {
    display: block !important;
    transform: none;
  }

  .site-header .gf-mega-menu__grid {
    display: block;
  }

  .site-header .gf-navbar__menu .gf-mega-menu__group,
  .site-header .gf-navbar__menu .gf-mega-menu__item {
    width: 100%;
  }

  .site-header .gf-mega-menu__group-control {
    border-bottom-color: rgba(11, 31, 58, .1);
  }

  .site-header .gf-navbar__menu .gf-mega-menu__group-title {
    color: #0b1f3a;
  }

  .site-header .gf-navbar__menu .gf-mega-menu .dropdown-item {
    color: rgba(11, 31, 58, .76);
  }

  .site-header .gf-navbar__menu .gf-mega-menu .dropdown-item:hover,
  .site-header .gf-navbar__menu .gf-mega-menu .dropdown-item:focus-visible,
  .site-header .gf-navbar__menu .gf-mega-menu .dropdown-item.active {
    color: #0b1f3a;
  }

  .site-header .gf-navbar__utilities {
    display: block;
    width: 100%;
    min-width: 0;
    padding-top: .65rem;
  }

  .site-header .gf-account-menu {
    display: block;
    width: 100%;
  }

  .site-header .gf-account-menu__toggle {
    width: 44px;
    min-width: 44px;
    color: #0b1f3a;
  }

  .site-header .gf-account-menu__panel,
  .site-header .gf-account-menu.is-open .gf-account-menu__panel {
    position: static;
    width: 100%;
    min-width: 0;
    margin-top: .25rem;
    transform: none;
  }

  .site-header .gf-account-menu:not(.is-open) .gf-account-menu__panel {
    display: none;
  }

  .site-header .gf-account-menu.is-open .gf-account-menu__panel {
    display: block;
    background: rgba(248, 246, 240, .72);
  }

  .site-header .gf-account-menu__list a,
  .site-header .gf-account-menu__list button,
  .site-header .navbar.scrolled .gf-account-menu__list a,
  .site-header .navbar.scrolled .gf-account-menu__list button {
    color: #0b1f3a;
  }
}

@keyframes gf-menu-ball-attention {
  0%, 4%, 10%, 16%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  7% {
    transform: translateY(-4px) rotate(-3deg);
  }
  13% {
    transform: translateY(-2px) rotate(2deg);
  }
}

@media (max-width: 1099.98px) {
  body.gf-mobile-nav-open {
    overflow: hidden;
  }
}

html:not(.js) .site-header .gf-navbar__collapse,
html:not(.js) .site-header .gf-mega-menu,
html:not(.js) .site-header .gf-mega-menu__links,
html:not(.js) .site-header .gf-account-menu__panel,
html:not(.js) .site-header .gf-search-form__field {
  display: block !important;
  max-height: none;
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

@media (prefers-reduced-motion: reduce) {

  .site-header .gf-navbar *,
  .site-header .gf-navbar *::before,
  .site-header .gf-navbar *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }

  .site-header .gf-navbar__toggler .navbar-toggler-icon,
  .site-header .gf-navbar__toggler .navbar-toggler-icon::before,
  .site-header .gf-navbar__toggler .navbar-toggler-icon::after {
    transition-duration: .01ms !important;
  }

  .site-header .gf-navbar__toggler.is-awaiting-interaction .navbar-toggler-icon {
    animation: none !important;
  }
}

/* Navigation correction: one mobile action group and one open-state model. */
.site-header .gf-header-actions {
  display: none;
}

.site-header .gf-mobile-nav-backdrop {
  display: none;
}

.site-header .gf-nav-control__button,
.site-header .gf-mega-menu__group-button {
  appearance: none;
  border: 0;
  background: transparent;
  font-family: inherit;
  cursor: pointer;
}

.site-header .gf-mega-menu__destination {
  list-style: none;
}

.site-header .gf-mega-menu__destination-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: .55rem .75rem;
  border-radius: .25rem;
  color: var(--gf-nav-panel-ink);
  background: rgba(212, 168, 67, .14);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-header .gf-mega-menu__destination-link:hover,
.site-header .gf-mega-menu__destination-link:focus-visible {
  color: var(--gf-nav-panel-ink);
  box-shadow: inset 0 0 0 2px var(--gf-nav-gold);
}

@media (max-width: 1099.98px) {
  .site-header .gf-navbar {
    --gf-mobile-menu-duration: 220ms;
    --gf-mobile-menu-easing: cubic-bezier(.22, .8, .24, 1);
    position: relative;
    z-index: 1040;
  }

  .site-header .gf-navbar>.container-xl {
    position: relative;
    z-index: 1053;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: .75rem;
    background: #fff;
  }

  .site-header .gf-navbar .gf-navbar__brand {
    position: static;
    grid-column: 1;
    justify-self: start;
    order: 0;
    min-width: 0;
    left: auto;
    transform: none;
  }

  .site-header .gf-navbar__brand img {
    height: 48px;
    max-width: min(142px, 40vw);
  }

  .site-header .gf-header-actions {
    grid-column: 2;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: .35rem;
    order: 0;
  }

  .site-header .gf-header-actions .gf-header-search-trigger {
    order: 1 !important;
  }

  .site-header .gf-header-actions .gf-header-menu-trigger {
    order: 2 !important;
  }

  .site-header .gf-navbar .gf-search-toggle,
  .site-header .gf-navbar .gf-navbar__toggler {
    position: relative;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    min-width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
  }

  .site-header .gf-navbar .gf-search-toggle {
    color: #082449;
  }

  .site-header .gf-navbar .gf-search-toggle:hover,
  .site-header .gf-navbar .gf-search-toggle:active,
  .site-header .gf-navbar .gf-search-toggle[aria-expanded='true'] {
    color: #082449;
    background: rgba(8, 36, 73, .08);
  }

  .site-header .gf-menu-ball {
    position: relative;
    display: block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    filter: drop-shadow(0 3px 6px rgba(3, 12, 24, .2));
  }

  .site-header .gf-menu-ball__surface {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
  }

  .site-header .gf-menu-ball__bar {
    position: absolute;
    left: 50%;
    display: block;
    width: 20px;
    height: 2.5px;
    border-radius: 999px;
    background: #082449;
    transform: translateX(-50%);
    transform-origin: center;
    transition:
      top var(--gf-mobile-menu-duration) var(--gf-mobile-menu-easing),
      opacity 160ms ease,
      transform var(--gf-mobile-menu-duration) var(--gf-mobile-menu-easing),
      background-color var(--gf-mobile-menu-duration) ease;
  }

  .site-header .gf-menu-ball__bar--top { top: 14px; }
  .site-header .gf-menu-ball__bar--middle { top: 19px; }
  .site-header .gf-menu-ball__bar--bottom { top: 24px; }

  .site-header .gf-navbar__toggler[aria-expanded='true'] .gf-menu-ball__bar {
    top: 19px;
    background: #ce1126;
  }

  .site-header .gf-navbar__toggler[aria-expanded='true'] .gf-menu-ball__bar--top {
    transform: translateX(-50%) rotate(45deg);
  }

  .site-header .gf-navbar__toggler[aria-expanded='true'] .gf-menu-ball__bar--middle {
    opacity: 0;
    transform: translateX(-50%) scaleX(.15);
  }

  .site-header .gf-navbar__toggler[aria-expanded='true'] .gf-menu-ball__bar--bottom {
    transform: translateX(-50%) rotate(-45deg);
  }

  .site-header .gf-navbar.navbar-expand-xl .gf-navbar__collapse,
  .site-header .gf-navbar.navbar-expand-xl .gf-navbar__collapse.collapse:not(.show),
  .site-header .gf-navbar.navbar-expand-xl .gf-navbar__collapse.show,
  .site-header .gf-navbar.navbar-expand-xl .gf-navbar__collapse.collapsing {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    z-index: 1052;
    display: block !important;
    width: 100%;
    max-height: calc(100svh - var(--gf-mobile-drawer-top, 68px));
    margin: 0;
    padding: .25rem 1rem 1rem;
    overflow: auto;
    border-top: 1px solid rgba(11, 31, 58, .1);
    background: #fff;
    color: #0b1f3a;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transform: translateY(-.5rem);
    transition:
      opacity var(--gf-mobile-menu-duration) var(--gf-mobile-menu-easing),
      transform var(--gf-mobile-menu-duration) var(--gf-mobile-menu-easing),
      visibility 0s linear var(--gf-mobile-menu-duration);
  }

  .site-header .gf-navbar.navbar-expand-xl.is-mobile-menu-open .gf-navbar__collapse.collapse {
    opacity: 1 !important;
    pointer-events: auto !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    transition-delay: 0s;
  }

  .site-header .gf-mobile-nav-backdrop {
    position: fixed;
    inset: var(--gf-mobile-drawer-top, 68px) 0 0;
    z-index: 1051;
    display: block;
    width: 100%;
    height: auto;
    padding: 0;
    border: 0;
    background: rgba(3, 12, 24, .48);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition:
      opacity var(--gf-mobile-menu-duration) var(--gf-mobile-menu-easing),
      visibility 0s linear var(--gf-mobile-menu-duration);
  }

  .site-header .gf-navbar.is-mobile-menu-open .gf-mobile-nav-backdrop {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transition-delay: 0s;
  }

  .site-header .gf-navbar__collapse .gf-navbar__menu {
    padding-block: .35rem .75rem;
  }

  .site-header .gf-mega-menu__destination-link {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 359.98px) {
  .site-header .gf-navbar>.container-xl {
    gap: .35rem;
    padding-inline: .65rem;
  }

  .site-header .gf-navbar__brand img {
    height: 44px;
    max-width: 126px;
  }

  .site-header .gf-header-actions {
    gap: .1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header .gf-menu-ball__bar,
  .site-header .gf-navbar__collapse,
  .site-header .gf-mobile-nav-backdrop {
    transition: none !important;
  }
}

/* Drupal administration integration.
 *
 * Public navigation is intentionally kept below Drupal's contextual layer
 * (500), Toolbar/tray (501/502), and administration dialogs. Drupal owns the
 * displacement custom properties, including toolbar orientation changes.
 */
.site-header,
.site-header.site-header--overlay,
body.path-frontpage .site-header {
  --gf-header-toolbar-offset: var(--drupal-displace-offset-top, 0px);
  top: calc(var(--drupal-displace-offset-top, 0px) + var(--gf-editor-preview-offset, 0px));
  z-index: 400;
}

body.user-logged-in .site-header,
body.user-logged-in .site-header.site-header--overlay {
  right: var(--drupal-displace-offset-right, 0px);
  left: var(--drupal-displace-offset-left, 0px);
  width: auto;
}

body.user-logged-in.toolbar-horizontal .site-header.site-header,
body.user-logged-in.toolbar-vertical .site-header.site-header,
body.user-logged-in.toolbar-fixed .site-header.site-header {
  --gf-header-toolbar-offset: var(--drupal-displace-offset-top, 0px);
  top: calc(var(--drupal-displace-offset-top, 0px) + var(--gf-editor-preview-offset, 0px));
  z-index: 400;
}

.site-header .navbar,
.site-header .gf-navbar,
body.toolbar-horizontal .site-header .navbar,
body.toolbar-vertical .site-header .navbar,
body.toolbar-fixed .site-header .navbar,
body.toolbar-tray-open .site-header .navbar {
  top: 0;
  z-index: 1;
}

body.user-logged-in.toolbar-horizontal .site-header.site-header .navbar.navbar,
body.user-logged-in.toolbar-vertical .site-header.site-header .navbar.navbar,
body.user-logged-in.toolbar-fixed .site-header.site-header .navbar.navbar {
  top: 0;
  z-index: 1;
}

body.path-admin .site-header {
  display: none;
}

body.path-admin {
  --gf-header-offset: 0px;
}

body.page-route-entity-node-preview .node-preview-container {
  z-index: 499;
}

/* Authenticated public pages keep their header in document flow. Drupal owns
 * the viewport displacement; the theme owns only its own header and page
 * chrome. This prevents a fixed header from covering the H1 or first field. */
body.user-logged-in:not(.path-admin) {
  padding-top: var(--drupal-displace-offset-top, 0px) !important;
}

body.user-logged-in:not(.path-admin):not(.path-frontpage) .site-header {
  position: sticky;
  top: var(--drupal-displace-offset-top, 0px);
  right: auto;
  left: auto;
  width: auto;
  height: auto;
  margin-top: 0;
  margin-right: 0;
  margin-left: 0;
}

/* Preview controls are fixed and are not included in Drupal displacement.
 * Preview uses the measured control height as normal-flow margin, then lets
 * the public header and main content follow naturally. */
body.user-logged-in.page-route-entity-node-preview:not(.path-admin) .site-header {
  position: relative;
  top: 0;
  margin-top: var(--gf-editor-preview-offset, 0px);
}

body.user-logged-in.page-route-entity-node-preview .node-preview-container {
  right: var(--drupal-displace-offset-right, 0px);
  left: var(--drupal-displace-offset-left, 0px);
  width: auto;
}

body.user-logged-in:not(.path-admin) .inner-page-main {
  min-width: 0;
  margin-right: var(--drupal-displace-offset-right, 0px);
  margin-left: var(--drupal-displace-offset-left, 0px);
}

/* A vertical desktop tray has enough remaining canvas to displace the header
 * itself. Narrow mobile trays instead overlay the header's left side so the
 * right-aligned public actions remain usable without creating overflow. */
@media (min-width: 600px) {
  body.user-logged-in:not(.path-admin):not(.path-frontpage) .site-header {
    margin-right: var(--drupal-displace-offset-right, 0px);
    margin-left: var(--drupal-displace-offset-left, 0px);
  }
}

/* When Drupal's 240px vertical tray is open on a phone, the remaining public
 * content column can be narrower than component defaults. Constrain those
 * descendants to the displaced column at the source instead of masking the
 * document with a global overflow rule. */
body.user-logged-in.toolbar-vertical.toolbar-tray-open:not(.path-admin) .inner-page-main,
body.user-logged-in.toolbar-vertical.toolbar-tray-open:not(.path-admin) .inner-page-main * {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.gf-page-top {
  padding-top: clamp(1.25rem, 2.5vw, 2.25rem);
}

.gf-page-top .page-title,
.gf-page-top h1 {
  margin: 0 0 clamp(1rem, 2vw, 1.5rem);
  scroll-margin-top: calc(
    var(--drupal-displace-offset-top, 0px) +
    var(--gf-public-header-height, var(--gf-header-offset, 0px)) +
    1rem
  );
}

.gf-page-top .tabs,
.gf-page-top nav {
  margin-bottom: 1rem;
}

@media (max-width: 1099.98px) {
  /* A transformed ancestor turns position:fixed into a local containing
   * block. Header hiding is desktop-only, so remove that transform on mobile
   * and let the backdrop cover the real viewport. */
  .site-header .gf-navbar {
    transform: none;
    will-change: auto;
  }

  .site-header .gf-mobile-nav-backdrop {
    inset:
      calc(
        var(--drupal-displace-offset-top, 0px) +
        var(--gf-editor-preview-offset, 0px) +
        var(--gf-header-offset, 68px)
      )
      0
      0;
  }
}
