/* Footer (templates/partials/footer.html): four equal columns, legal row with
 * the language switch. Already dark, so dark mode leaves it alone. */
.ft { --ft-bg: #20282d; --ft-line: #343e45; --ft-mut: #929ea5; --ft-tx: #cfd4d9;
  background: var(--ft-bg); color: #e6e9ec; font-size: 14px; line-height: 1.55; }
.ft a { color: inherit; text-decoration: none; transition: color .2s, background-color .2s, border-color .2s; }
.ft-wrap { max-width: 80rem; margin: 0 auto; padding: 26px 24px 0; }
.ft-g { display: grid; grid-template-columns: 1.25fr 1fr 1fr 1.35fr; gap: 28px; padding-bottom: 20px; }
.ft-g > * { min-width: 0; }
@media (max-width: 900px) { .ft-g { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .ft-g { gap: 22px 16px; } .ft-g > :first-child, .ft-g > :last-child { grid-column: 1 / -1; } }

.ft-lgw { display: inline-block; }
.ft-lg { display: block; height: 74px; width: auto; max-width: none; filter: drop-shadow(0 6px 14px rgba(0,0,0,.5)); transition: transform .3s, filter .3s; }
.ft-lgw:hover .ft-lg { transform: scale(1.04); filter: drop-shadow(0 6px 18px rgba(207,46,46,.35)); }
.ft-tg { color: var(--ft-mut); margin: 8px 0 12px; font-size: 13px; line-height: 1.5; }
.ft-soc { display: flex; gap: 6px; flex-wrap: wrap; }
.ft-soc a { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--ft-line); display: grid; place-items: center; color: var(--ft-tx); }
.ft-soc a:hover { background: #cf2e2e; border-color: #cf2e2e; color: #fff; }
.ft-soc svg { width: 14px; height: 14px; }

.ft-h { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ft-mut); margin: 0 0 10px; }
.ft-ln a { display: block; padding: 3px 0; color: var(--ft-tx); }
.ft a:hover, .ft-h a:hover { color: #fff; }

.ft-ct > a, .ft-ct > span { display: flex; align-items: center; gap: 8px; padding: 3px 0; color: var(--ft-tx); }
.ft-ct .l { font-size: 11px; font-weight: 600; color: var(--ft-mut); width: 22px; flex: none; font-variant-numeric: tabular-nums; }

.ft-legal { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 0; border-top: 1px solid var(--ft-line); font-size: 12px; color: var(--ft-mut); }
.ft-legal nav { display: flex; gap: 14px; flex-wrap: wrap; }
.ft-lang { display: flex; border: 1px solid var(--ft-line); border-radius: 999px; overflow: hidden; }
.ft-lang a { color: var(--ft-mut); font-size: 11px; font-weight: 700; padding: 4px 9px; }
.ft-lang a[aria-current] { background: #fff; color: var(--ft-bg); }
@media (prefers-reduced-motion: reduce) { .ft-lg, .ft a { transition: none; } }
