/* Shared footer: preserve the accepted homepage styling on every page. */
.site-footer .footer-shell { width: var(--home-content-width); }
.site-footer .footer-top { grid-template-columns: minmax(0, 1.25fr) minmax(0, .8fr) minmax(0, .9fr) minmax(0, 1.2fr); gap: clamp(18px, 2vw, 32px); align-items: start; }
.site-footer .footer-col { min-width: 0; }
.site-footer .footer-motto { max-width: 29ch; font-size: 1rem; line-height: 1.65; }
.site-footer .footer-col h2 { font-size: .875rem; letter-spacing: .06em; }
.site-footer .footer-col :is(a, span) { font-size: .94rem; line-height: 1.6; margin-bottom: 10px; }
.site-footer .footer-col .footer-email { white-space: normal; overflow-wrap: anywhere; }
.site-footer .footer-col a { transition: color .18s ease; }
.site-footer a:focus-visible { outline: 1px solid var(--white); outline-offset: 4px; }
.site-footer .footer-bottom { align-items: flex-start; }
.site-footer .footer-legal { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px 24px; text-align: right; }
.site-footer .footer-legal a { color: inherit; overflow-wrap: anywhere; }
.site-footer .footer-legal a:hover { color: var(--white); }
@media (max-width: 1020px) {
  .site-footer .footer-shell { width: var(--home-content-width-mobile); }
  .site-footer .footer-top { grid-template-columns: 1fr; gap: 30px; }
  .site-footer .footer-col :is(a, span) { font-size: 1rem; padding-block: 5px; margin-bottom: 4px; }
  .site-footer .footer-col a, .site-footer .footer-legal a { min-height: 44px; }
  .site-footer .footer-legal a { display: flex; align-items: center; }
  .site-footer .footer-bottom { flex-direction: column; gap: 12px; font-size: .875rem; }
  .site-footer .footer-legal { justify-content: flex-start; text-align: left; }
}

@media (max-width: 1020px) { .site-footer .footer-col .footer-inactive { min-height: 44px; } }
