/* Donate & Fundraise brief, sections 11–12: shared shell only.
   Load immediately after master-revision.css. Existing layout/media queries
   and site-nav.js remain responsible for navigation visibility and behaviour. */
.site-header {
  --shell-nav-size: .88rem;
  --shell-nav-gap: .8rem;
  --shell-nav-padding: .75rem;
}

.site-header nav {
  align-items: center;
  gap: .35rem var(--shell-nav-gap);
}

/* A native button and an anchor use the same text and line box. No per-label
   positioning: matching line height, padding and border removes the drift. */
.site-header nav a,
.site-header nav button.submenu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 44px;
  margin: 0;
  border: 0;
  padding: var(--shell-nav-padding) 0;
  font-family: Golos, Arial, sans-serif;
  font-size: var(--shell-nav-size) !important;
  font-style: normal;
  font-weight: 500;
  font-variant: normal;
  letter-spacing: .005em;
  line-height: 1.4;
  text-transform: none;
  text-align: left;
  vertical-align: baseline;
  color: var(--ink);
  background: transparent;
  gap: .25rem;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}

/* Include the master-stage scope to supersede its older menu-specific rules. */
.master-stage .site-header .nav-menu {
  gap: .25rem;
}
.master-stage .site-header .nav-menu > a,
.master-stage .site-header .nav-menu > button.submenu-toggle {
  display: inline-flex;
  min-width: 0;
  width: auto;
  padding: var(--shell-nav-padding) 0;
  font-family: Golos, Arial, sans-serif;
  font-size: var(--shell-nav-size) !important;
  font-weight: 500;
  letter-spacing: .005em;
  line-height: 1.4;
  gap: .25rem;
}

/* Keep any existing real indicator in the shared flex line; do not introduce
   replacement arrows, labels or decorations. The current shell has no arrow. */
.site-header nav :is(a, button.submenu-toggle) > svg {
  display: block;
  flex: 0 0 1em;
  width: 1em;
  height: 1em;
  align-self: center;
}

.master-stage .site-header nav .nav-dropdown a {
  padding: .65rem .75rem;
  line-height: 1.4;
  white-space: normal;
  border-radius: 6px;
}
.site-header nav a:hover,
.site-header nav button.submenu-toggle:hover,
.site-header nav a:focus-visible,
.site-header nav button.submenu-toggle:focus-visible,
.site-header nav a[aria-current="page"],
.site-header nav a[aria-current="location"],
.site-header nav :is(a, button.submenu-toggle)[aria-expanded="true"] {
  background: var(--sky);
  color: var(--ink);
}
.site-header nav :is(a, button.submenu-toggle):focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

/* Social heading follows the same type metrics and left edge as the existing
   footer columns. Preserve existing platform labels/icons, but no handles. */
.site-footer .footer-links > div > strong {
  font-family: Golos, Arial, sans-serif;
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .04em;
  line-height: 1.5;
  text-transform: none;
}
.master-stage .site-footer .footer-links .social-heading {
  display: block;
  align-self: flex-start;
  margin: .85rem 0 0;
  text-transform: none;
}
.master-stage .site-footer .social-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .1rem;
  margin: 0;
}
.master-stage .site-footer .social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: .3rem;
  min-height: 36px;
}
.site-footer .social-links svg {
  display: block;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
}

/* 26 November: spacing already separates these unrelated footer blocks. */
.master-stage .site-footer :is(.footer-links, .legal) {
  border-top: 0;
}

.master-stage .site-footer .footer-links strong {
  color: var(--ink);
}

/* Same existing mobile boundary as site-nav.js and the shared shell. Do not
   change display/is-open, menu structure, dropdown placement or layout order. */
@media (max-width: 700px) {
  .site-header {
    --shell-nav-size: .9rem;
    --shell-nav-gap: 1rem;
  }
  .site-header nav { row-gap: .25rem; }
}

/* 27 November: text-only Need food? header link, distinct from homepage CTA. */
.master-stage .site-header .header-actions a.need,
.master-stage .site-header .header-actions a.need:visited {
  color: #000;
  font-weight: 700;
  background: transparent;
  border: 0;
  text-decoration: none;
}
.master-stage .site-header .header-actions a.need:hover {
  color: #000;
  background: #afdae6;
  text-decoration: none;
}
/* Same weight only for the existing rounded PayID Copy form control. */
.master-stage .payid-copy { font-weight: 700 !important; }

.master-stage .sw-close { font-weight: 700 !important; }

.master-stage .stories-carousel-control { font-weight: 700 !important; }

.master-stage .nav-toggle { font-weight: 700 !important; }
