/* Global site footer (markup: includes/site-footer.php).
   Everything is scoped to footer.site-footer, uses its own sf- classes and its own colour values,
   and every declaration is !important: page stylesheets (some set h3 or the colour tokens with
   !important) cannot change it, so it looks the same on every page, including future ones. */

footer.site-footer {
  /* Fixed palette: some pages redefine the global tokens, so the footer keeps its own copies. */
  --sf-accent: #eb7f24;
  --sf-ink: #1d2024;
  --sf-mono: 'IBM Plex Mono', ui-monospace, Menlo, Consolas, monospace;
  --sf-muted: #6b6e75;
  --sf-rule-dark: #2d2f36;
  --sf-sans: 'Libre Franklin', 'Helvetica Neue', Arial, sans-serif;
  --sf-serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sf-soft: #a1a4ab;
  background: var(--sf-ink) !important;
  color: var(--sf-soft) !important;
  font-family: var(--sf-sans) !important;
  font-size: 15px !important;
  line-height: 1.5 !important;
  text-align: left !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}
footer.site-footer *,
footer.site-footer *::before,
footer.site-footer *::after { box-sizing: border-box !important; }
footer.site-footer a { text-decoration: none !important; }
footer.site-footer a:focus-visible { outline: 2px solid #fff !important; outline-offset: 3px !important; }
footer.site-footer ul { list-style: none !important; margin: 0 !important; padding: 0 !important; }
footer.site-footer p { margin: 0 !important; }
footer.site-footer .sf-sr {
  position: absolute !important; width: 1px !important; height: 1px !important; margin: -1px !important; padding: 0 !important;
  overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important; border: 0 !important;
  font-size: 1px !important; line-height: 1 !important;
}

footer.site-footer .sf-wrap {
  max-width: 1440px !important;
  margin: 0 auto !important;
  padding: 72px 4% 32px !important;
}

/* ---- top: brand + call to action ---- */
footer.site-footer .sf-top {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) !important;
  gap: 48px !important;
  align-items: end !important;
  padding-bottom: 48px !important;
  border-bottom: 1px solid var(--sf-rule-dark) !important;
}
footer.site-footer .sf-logo { display: inline-block !important; margin-bottom: 18px !important; }
footer.site-footer .sf-logo img { display: block !important; height: 46px !important; width: auto !important; }
footer.site-footer .sf-tag {
  font-family: var(--sf-serif) !important;
  font-size: 26px !important;
  line-height: 1.25 !important;
  letter-spacing: -.01em !important;
  color: #fff !important;
  max-width: 22ch !important;
}
footer.site-footer .sf-cta p { font-size: 15px !important; line-height: 1.65 !important; color: var(--sf-soft) !important; max-width: 52ch !important; }
footer.site-footer .sf-cta-row { display: flex !important; flex-wrap: wrap !important; align-items: center !important; gap: 14px 28px !important; margin-top: 22px !important; }
footer.site-footer .sf-btn {
  display: inline-flex !important; align-items: center !important; gap: 8px !important;
  padding: 13px 22px !important;
  background: var(--sf-accent) !important;
  color: #fff !important;
  font-size: 14.5px !important; font-weight: 600 !important;
  border-radius: 2px !important;
  transition: background .15s, gap .2s !important;
}
footer.site-footer .sf-btn:hover { background: #c46415 !important; gap: 12px !important; }
footer.site-footer .sf-mail {
  font-family: var(--sf-mono) !important;
  font-size: 12.5px !important; letter-spacing: .06em !important;
  color: #fff !important;
  border-bottom: 1px solid #555961 !important;
  padding-bottom: 2px !important;
  transition: border-color .15s, color .15s !important;
}
footer.site-footer .sf-mail:hover { color: var(--sf-accent) !important; border-color: var(--sf-accent) !important; }

/* ---- link columns ---- */
footer.site-footer .sf-cols {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  gap: 40px 32px !important;
  padding: 48px 0 44px !important;
  border-bottom: 1px solid var(--sf-rule-dark) !important;
}
footer.site-footer .sf-head {
  margin: 0 0 18px !important;
  font-family: var(--sf-mono) !important;
  font-weight: 500 !important;
  font-size: 11px !important;
  line-height: 1.4 !important;
  letter-spacing: .16em !important;
  text-transform: uppercase !important;
  color: var(--sf-accent) !important;
}
footer.site-footer .sf-col li + li { margin-top: 11px !important; }
footer.site-footer .sf-col a {
  font-size: 14.5px !important;
  line-height: 1.4 !important;
  color: var(--sf-soft) !important;
  transition: color .15s !important;
}
footer.site-footer .sf-col a:hover { color: #fff !important; }
footer.site-footer .sf-col a[aria-current="page"] { color: #fff !important; box-shadow: inset 0 -1px 0 var(--sf-accent) !important; }

/* ---- base row ---- */
footer.site-footer .sf-base {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: space-between !important;
  gap: 10px 24px !important;
  padding-top: 26px !important;
  font-family: var(--sf-mono) !important;
  font-size: 11px !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
  color: var(--sf-muted) !important;
}
footer.site-footer .sf-badges i { font-style: normal !important; margin: 0 8px !important; color: #555961 !important; }

/* ---- responsive ---- */
@media (max-width: 1200px) {
  footer.site-footer .sf-cols { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}
@media (max-width: 860px) {
  footer.site-footer .sf-wrap { padding-top: 56px !important; }
  footer.site-footer .sf-top { grid-template-columns: 1fr !important; gap: 28px !important; align-items: start !important; }
  footer.site-footer .sf-tag { font-size: 23px !important; }
}
@media (max-width: 600px) {
  footer.site-footer .sf-cols { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 32px 20px !important; }
  footer.site-footer .sf-base { flex-direction: column !important; }
  footer.site-footer .sf-badges i { margin: 0 6px !important; }
}
@media (prefers-reduced-motion: reduce) {
  footer.site-footer * { transition: none !important; }
}
@media (forced-colors: active) {
  footer.site-footer .sf-btn { border: 1px solid ButtonText !important; }
}
