/* footer
   Ported from design-export/base.css (Phase 3 Stage 2 split).
   No literal colour, no literal font family: every value is a token. */

/* Footer. Class names ours — see notes.md. */
.site-footer { background: var(--surface-muted); color: var(--white); }
.site-footer a { color: rgba(var(--on-dark-rgb), .88); }
.site-footer a:hover { color: var(--accent-on-dark); }
.footer-top { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 2.6rem; padding-block: 3rem 2.2rem; }
.footer-top h2 { color: var(--white); font-size: 1.875rem; margin-bottom: 1.1rem; }
.footer-top ul { display: flex; flex-direction: column; gap: .5rem; color: rgba(var(--on-dark-rgb), .88); }
.footer-bottom { display: flex; flex-direction: column; gap: .8rem; padding-block: 1.6rem 2rem; }
/* Bottom info links as a single horizontal, wrapping row. */
.footer-info-links ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.footer-info-links li { margin: 0; }
.footer-info-links a { font-size: var(--fs-min); }
.footer-bottom p { color: rgba(var(--on-dark-rgb), .6); max-width: none; }

/* Partner / accreditation logo strip — even white cards, centred, consistent
   sizing so mixed logos sit tidily on the dark footer. */
.logo-bar { padding-block: 2.6rem; border-bottom: 1px solid rgba(var(--on-dark-rgb), .14); }
.logos { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: stretch; justify-content: center; gap: 1rem; }
.logos li { flex: 0 1 200px; }
/* The block's logo_bar.css also styles `.logo-bar .logos li` as a white rounded
   card; in the footer the card is the <a>, so neutralise that so we don't get a
   card inside a card. */
.site-footer .logo-bar .logos li { background: none; border: 0; border-radius: 0; height: auto; min-width: 0; }
.logos a { display: flex; align-items: center; justify-content: center; height: 100%; min-height: 76px; background: var(--white); border-radius: 0; padding: .55rem 1rem; transition: transform var(--transition); }
.logos a:hover { transform: translateY(-3px); }
.logos img { display: block; max-height: 78px; width: auto; max-width: 100%; object-fit: contain; }

@media (max-width: 64em) { .footer-top { grid-template-columns: 1fr; } .logos li { flex-basis: 160px; } }

/* social channels: the inline SVG sat flush against its label. Space the icon
   from the text and give the rows a touch more air than the generic footer list. */
.footer-top .social-media { gap: .7rem; }
.social-media a { display: inline-flex; align-items: center; gap: .55rem; }
.social-media svg { flex: 0 0 auto; width: 1.2em; height: 1.2em; }
