/* Site footer. Column count comes from Site Settings (--footer-cols). */
.site-footer { padding: 66px 0 30px; background: var(--white); border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.25fr repeat(var(--footer-cols, 2), .8fr) 1fr; gap: 44px; }
.footer-brand img { width: 220px; }
.footer-brand p { margin-top: 18px; color: var(--muted); max-width: 36ch; }
.site-footer h3 { margin-bottom: 14px; color: var(--muted); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.site-footer a { display: block; color: var(--body); text-decoration: none; margin-bottom: 7px; }
.site-footer a:hover { color: var(--teal); }
.site-footer address { font-style: normal; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; margin-top: 50px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: .78rem; }

@media (max-width: 960px) {
  .footer-grid { grid-template-columns: 1.2fr repeat(var(--footer-cols, 2), 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}
