/* Scoped to pages that opt into the shared header. */
html.gs-site-page { --gs-site-compact-height: 68px; overflow-x: clip; }
html.gs-site-page body { margin: 0; overflow-x: clip; }
html.gs-site-page [id] { scroll-margin-top: calc(var(--gs-site-compact-height) + 22px); }
#gs-site-header, #gs-site-header * { box-sizing: border-box; }
#gs-site-header {
  position: sticky; top: 0; z-index: 1000; height: 94px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(28px, 5vw, 82px); gap: 24px;
  background: rgba(255,255,255,.97); color: #15243e;
  border-bottom: 1px solid rgba(21,36,62,.14);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  font-family: "adobe-text-pro", "Adobe Text Pro", Georgia, "Times New Roman", serif; font-weight: 400; line-height: 1.2;
  transition: height .22s ease;
}
#gs-site-header [hidden] { display: none !important; }
#gs-site-header a { color: #15243e; text-decoration: none; }
#gs-site-header button { color: inherit; font: inherit; border: 0; background: transparent; cursor: pointer; }
#gs-site-header :is(a,button):focus-visible { outline: 2px solid #15243e; outline-offset: 3px; }
#gs-site-header ul { list-style: none; margin: 0; padding: 0; }
#gs-site-header .gs-site-brand {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  flex: 0 0 auto; width: auto; min-width: 0; max-width: none; gap: 6px; padding: 12px 18px 10px; margin-left: -18px;
  transition: width .22s ease, padding .22s ease;
}
#gs-site-header .gs-site-logo { display: block; width: 132px; height: auto; margin: 0; transition: width .22s ease; }
#gs-site-header .gs-site-brand span {
  display: block; width: 100%; margin: 1px 0 0; padding: 0; font-size: 6.4px; line-height: 1.1;
  font-family: "adobe-text-pro", "Adobe Text Pro", Georgia, "Times New Roman", serif;
  letter-spacing: .14em; text-align: center; white-space: nowrap; color: #555;
  transition: font-size .22s ease;
}
#gs-site-header #gs-site-navigation { margin-left: auto; flex: 0 0 auto; width: auto; }
#gs-site-header #gs-site-navigation :is(a, button) {
  font-family: "adobe-text-pro", "Adobe Text Pro", Georgia, "Times New Roman", serif !important;
  font-style: normal; font-weight: 400;
}
#gs-site-header .gs-site-links { display: flex; align-items: center; justify-content: flex-end; gap: 18px; }
#gs-site-header .gs-site-item { position: relative; display: flex; align-items: center; }
#gs-site-header .gs-site-primary { position: relative; padding: 16px 0; font-size: 12px; letter-spacing: .11em; text-transform: uppercase; white-space: nowrap; }
#gs-site-header .gs-site-primary::after { content: ''; position: absolute; bottom: 8px; left: 0; right: 0; height: 1px; background: #15243e; transform: scaleX(0); transition: transform .22s ease; }
#gs-site-header a.gs-site-primary:is(:hover,[aria-current])::after { transform: scaleX(1); }
#gs-site-header .gs-site-chevron { padding: 0; margin-left: 3px; width: 20px; height: 40px; font-size: 15px; }
#gs-site-header .gs-site-chevron span { display: inline-block; transition: transform .22s ease; }
#gs-site-header .gs-site-chevron[aria-expanded="true"] span { transform: rotate(180deg); }
#gs-site-header .gs-site-submenu {
  position: absolute; top: 100%; left: -16px; min-width: 180px; padding: 8px 0;
  background: rgba(255,255,255,.98); border: 1px solid rgba(21,36,62,.12);
  box-shadow: 0 14px 32px rgba(7,16,30,.10);
}
#gs-site-header .gs-site-submenu a { display: flex; align-items: center; min-height: 40px; padding: 0 16px; font-size: 11px; letter-spacing: .09em; white-space: nowrap; }
#gs-site-header .gs-site-submenu a:is(:hover,:focus-visible,[aria-current]) { background: rgba(21,36,62,.05); }
#gs-site-header .gs-site-submenu a[aria-current] { text-decoration: underline; text-underline-offset: 4px; }
#gs-site-header .gs-site-toggle { display: none; }
#gs-site-header.is-compact { height: 68px; }
#gs-site-header.is-compact .gs-site-logo { width: 104px; }
#gs-site-header.is-compact .gs-site-brand { padding-top: 8px; padding-bottom: 6px; }
#gs-site-header.is-compact .gs-site-brand span { font-size: 5.6px; }
@media (max-width: 1360px), (hover: none), (pointer: coarse) {
  html.gs-site-page { --gs-site-compact-height: 62px; }
  #gs-site-header { height: 78px; padding: 0 18px; gap: 12px; }
  #gs-site-header .gs-site-logout { margin-left: 0 !important; flex-shrink: 0; }
  #gs-site-header .gs-site-logo { width: 112px; }
  #gs-site-header .gs-site-brand span { font-size: 6px; }
  #gs-site-header.is-compact { height: 62px; }
  #gs-site-header.is-compact .gs-site-logo { width: 92px; }
  #gs-site-header .gs-site-toggle { display: flex; margin-left: auto; flex: 0 0 52px; width: 52px; height: 52px; padding: 12px 10px; flex-direction: column; justify-content: center; gap: 6px; }
  #gs-site-header .gs-site-toggle span { display: block; width: 24px; height: 1px; background: #15243e; transition: transform .22s ease; }
  #gs-site-header.is-menu-open .gs-site-toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
  #gs-site-header.is-menu-open .gs-site-toggle span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  #gs-site-header #gs-site-navigation { margin-left: 0; }
  #gs-site-navigation { position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid rgba(21,36,62,.14); box-shadow: 0 14px 32px rgba(7,16,30,.10); max-height: calc(100dvh - 78px); overflow-y: auto; overscroll-behavior: contain; }
  #gs-site-header.is-compact #gs-site-navigation { max-height: calc(100dvh - 62px); }
  #gs-site-header .gs-site-links { display: block; padding: 8px 18px; }
  #gs-site-header .gs-site-item { display: grid; grid-template-columns: minmax(0,1fr) 56px; }
  #gs-site-header .gs-site-primary { display: flex; align-items: center; min-height: 56px; padding: 0; justify-self: start; }
  #gs-site-header .gs-site-primary::after { bottom: 7px; }
  #gs-site-header .gs-site-chevron { margin: 0; height: 56px; width: 56px; font-size: 20px; }
  #gs-site-header .gs-site-submenu { position: static; grid-column: 1 / -1; min-width: 0; padding: 0 0 8px; border: 0; box-shadow: none; }
  #gs-site-header .gs-site-submenu a { min-height: 48px; white-space: normal; }
}
@media (max-width: 390px) {
  #gs-site-header { padding: 0 14px; }
  #gs-site-header .gs-site-logo { width: 104px; }
  #gs-site-header.is-compact .gs-site-logo { width: 88px; }
  #gs-site-header .gs-site-brand span { font-size: 5.6px; }
}
@media (prefers-reduced-motion: reduce) {
  #gs-site-header, #gs-site-header * { transition: none !important; }
}
