/* ============================================================
   footer.css — Global site footer (centralised)
   Included once via base.html.
   ============================================================ */
.site-footer {
  padding: 2rem max(1.25rem, calc((100vw - 1180px) / 2));
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 0.75rem;
  background: var(--bg0);
}

.site-footer__copy {
  font-size: 0.8rem;
  color: var(--muted2);
  white-space: nowrap;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  justify-content: center;
}

.site-footer__link {
  font-size: 0.8rem;
  color: var(--muted2);
  text-decoration: none;
  transition: color var(--fast);
  white-space: nowrap;
}

.site-footer__link:hover { color: var(--muted); }

@media (max-width: 480px) {
  .site-footer {
    align-items: center;
  }
  .site-footer__links {
    gap: 0.5rem 1rem;
    justify-content: center;
  }
}
