/* Shared, directly served footer. Kept separate from legacy page-specific footers. */
.site-footer {
  box-sizing: border-box;
  width: calc(100% - 88px);
  max-width: 1280px;
  margin: 0 auto;
  padding: 42px 0 20px;
  border-top: 1px solid var(--md-sys-color-outline-variant, #d5e1e3);
  color: var(--md-sys-color-primary, #304f60);
  font-family: Arimo, Arial, sans-serif;
  text-align: left;
}
.site-footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, .7fr) minmax(0, 1.1fr);
  grid-template-areas: "identity explore support" "identity explore email";
  column-gap: 48px;
  padding-bottom: 36px;
}
.site-footer-identity { grid-area: identity; }
.site-footer-brand { display: inline-flex; max-width: 100%; width: 240px; margin-bottom: 14px; }
.site-footer-brand img { display: block; width: 100%; height: auto; }
.site-footer-identity p { max-width: 440px; margin: 0; color: var(--md-sys-color-on-surface-variant, #536e7c); font-size: 14px; line-height: 1.7; }
.site-footer-explore { grid-area: explore; }
.site-footer-support { grid-area: support; }
.site-footer nav { display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
.site-footer h2 { margin: 10px 0 10px; color: inherit; font-size: 18px; font-weight: 700; line-height: 1.3; letter-spacing: -.02em; }
.site-footer nav a, .site-footer-email { display: inline-flex; align-items: center; min-height: 44px; color: var(--md-sys-color-on-surface-variant, #536e7c); font-size: 14px; line-height: 1.5; text-decoration: none; overflow-wrap: anywhere; }
.site-footer-email { grid-area: email; justify-self: start; }
.site-footer a:hover, .site-footer .consent-preferences:hover { text-decoration: underline; text-underline-offset: 4px; }
.site-footer a:focus-visible, .site-footer .consent-preferences:focus-visible { outline: 3px solid var(--brand-blue, #527b94); outline-offset: 4px; border-radius: 2px; }
.site-footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 24px; border-top: 1px solid var(--md-sys-color-outline-variant, #d5e1e3); padding-top: 16px; color: var(--md-sys-color-on-surface-variant, #536e7c); font-size: 13px; font-weight: 400; line-height: 1.6; }
.site-footer-bottom p, .site-footer-bottom .consent-preferences { margin: 0; color: inherit; font: inherit; }
.site-footer-bottom .consent-preferences { display: inline-flex; flex: 0 0 auto; align-items: center; min-height: 44px; padding: 0; border: 0; border-radius: 0; background: transparent; text-decoration: none; cursor: pointer; }
.site-footer-bottom .consent-preferences[hidden] { display: none; }
.site-footer-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 1000px) {
  .site-footer-top { column-gap: 28px; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr) minmax(0, 1.2fr); }
}
@media (max-width: 700px) {
  .site-footer { width: calc(100% - 48px); padding: 30px 0 18px; }
  .site-footer-top { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); grid-template-areas: "identity identity" "explore support" "email email"; gap: 24px 20px; padding-bottom: 24px; }
  .site-footer-brand { width: 220px; margin-bottom: 12px; }
  .site-footer h2 { margin: 0 0 10px; font-size: 16px; line-height: 1.4; }
  .site-footer-email { margin-top: -12px; }
  .site-footer-bottom { flex-direction: column; align-items: stretch; gap: 6px; padding-top: 16px; }
  .site-footer-bottom .consent-preferences { align-self: flex-end; text-align: right; }
}
