/* Shared navigation is independent of each page family's layout rules. */
.site-header .nav-shell {
  position: relative;
  width: min(1240px, calc(100% - 64px));
  margin-inline: auto;
  display: flex;
  min-height: 76px;
  padding-block: 8px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-header .brand-link { flex-shrink: 0; gap: 10px; min-height: 48px; white-space: nowrap; }
.site-header .brand-mark { width: 36px; height: 36px; }
.site-header .brand-wordmark { font-size: 17px; }
.site-header .site-nav { display: flex; position: static; width: auto; min-width: 0; flex-wrap: nowrap; gap: 4px; align-items: center; }
.site-header .nav-link { width: auto; min-height: 48px; padding: 0 16px; font-size: 14px; white-space: nowrap; }
.site-header .header-quick-link, .site-header .site-menu-toggle { display: none; }
.site-header .site-menu-toggle { cursor: pointer; font-size: 14px; min-height: 48px; padding: 0 16px; }
.site-header .site-menu-toggle[aria-expanded="true"] { background: var(--presta-blue-soft, #eff6ff); border-color: var(--presta-blue, #2563eb); }
.site-header .site-menu-toggle:active { transform: scale(0.97); }
.site-footer .footer-links a { display: inline-flex; align-items: center; min-height: 44px; }
.site-footer .footer-links { gap: 8px 20px; }
@media (max-width: 960px) {
  .site-header .nav-shell { width: calc(100% - 40px); min-height: 64px; gap: 12px; flex-wrap: wrap; }
  .site-header .brand-link { margin-right: auto; }
  .site-header .header-quick-link { display: inline-flex; min-height: 48px; align-items: center; padding: 0 8px; font-size: 14px; font-weight: 700; color: var(--presta-blue-ink, #1d4ed8); }
  .site-header .site-nav { flex: 1 0 100%; flex-wrap: wrap; justify-content: flex-start; }
  .has-site-navigation .site-header .site-menu-toggle { display: inline-flex; align-items: center; }
  .has-site-navigation .site-header .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    inset-inline: 0;
    width: 100%;
    max-height: calc(100dvh - 96px);
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 1px solid var(--presta-hairline, #ddd);
    border-radius: 14px;
    padding: 12px;
    background: var(--presta-canvas, #fff);
    box-shadow: 0 12px 32px rgb(34 34 34 / 0.12);
  }
  .has-site-navigation .site-header .site-nav.is-open { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .has-site-navigation .site-header .site-nav .nav-link { width: 100%; min-height: 48px; justify-content: flex-start; padding: 12px 16px; white-space: normal; font-size: 16px; }
}
@media (max-width: 374px) {
  .site-header .nav-shell { width: calc(100% - 24px); gap: 8px; }
  .site-header .brand-wordmark { font-size: 14px; }
  .site-header .brand-mark { width: 32px; height: 32px; }
  .site-header .brand-link { gap: 6px; }
  .site-header .site-menu-toggle { padding-inline: 12px; }
}
