/* Shared social controls only. Preserve each footer/menu's geometry and design. */
.site-footer .footer-social a {
  color: var(--a11y-mode-ink, #131c42) !important;
  background: var(--a11y-mode-raised, #fff) !important;
}
.site-footer .footer-social a:hover {
  color: #fff !important;
  background: var(--inred, #921a1c) !important;
}
.site-footer .footer-social a:focus-visible {
  outline: 3px solid var(--a11y-mode-focus, #005a80) !important;
  outline-offset: 3px;
}
/* The legacy `.site-footer *` / navbar universal rules otherwise override the
   SVG's inherited hover/preference ink, independently of its link surface. */
.site-footer .footer-social a svg,
.site-footer .footer-social a svg *,
#mainNav .mobile-menu-social a svg,
#mainNav .mobile-menu-social a svg * {
  color: inherit !important;
}
/* These are interface glyphs, not photos: keep the parent preference filter
   instead of applying the media counter-inversion a second time to the SVG. */
.site-footer .footer-social a svg,
#mainNav .mobile-menu-social a svg {
  filter: none !important;
}
/* The compact menu's gold hover/focus surface needs its original dark ink,
   even when dark preference remaps the general --darkblue text token. */
body.menu-sheet-open #mainNav .navbar-nav .mobile-menu-social a {
  color: var(--a11y-mode-ink, #fff) !important;
  -webkit-text-fill-color: currentColor !important;
}
body.menu-sheet-open #mainNav .navbar-nav .mobile-menu-social a:is(:hover, :focus-visible) {
  color: #131c42 !important;
  -webkit-text-fill-color: currentColor !important;
}
/* Match the approved homepage's outward social focus ring on inner-page menus;
   their generic inset-link rule otherwise places gold against the gold fill. */
body.menu-sheet-open #mainNav .navbar-nav .mobile-menu-social a:focus-visible {
  outline-offset: 3px !important;
}
