/* Shared navigation refinements. Loaded after the existing site/branding CSS. */
.global-header .s-nav a[aria-current] {
  color: #075ba9;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: .35em;
}
.global-header :is(a, summary):focus-visible,
.global-footer a:focus-visible {
  outline: 3px solid #075ba9;
  outline-offset: 4px;
  border-radius: 2px;
}
.global-header .s-header-masthead a:focus-visible {
  outline-color: #ffeb00;
}
.global-header .s-menu summary { cursor: pointer; }
.global-header .s-menu-panel {
  scrollbar-gutter: stable;
  overscroll-behavior-y: contain;
}
.global-header .s-menu-grid > div { min-width: 0; }
.global-header .s-menu-grid a { overflow-wrap: anywhere; }
#main[tabindex="-1"]:focus { outline: none; }
@media (max-width: 800px) {
  .global-header .s-language,
  .global-header .s-search-link,
  .global-header .s-menu summary {
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
  }
  .global-header .s-menu summary { padding-inline: 4px; }
  .global-header .s-menu-grid a { min-height: 44px; }
}
@media (max-width: 390px) {
  .global-header.s-header-branded .s-brand strong { font-size: 15px; letter-spacing: 1px; }
  .global-header.s-header-branded .s-header-inner { padding-inline: 12px; gap: 6px; }
  .global-header.s-header-branded .s-header-tools { gap: 4px; }
  .global-header .s-menu-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
}
