/* ============================================ */
/* GLOBAL SITE FOOTER */
/* ============================================ */

/* Ensure footer and its inline controls use the site base font */
footer,
.site-footer,
.site-footer * {
  font-family: var(--font-family-base);
  -webkit-font-smoothing: antialiased;
}

.site-footer {
  background-color: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding: 25px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-20);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-32);
}

.footer-links {
  display: flex;
  gap: var(--space-32);
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: var(--color-text-secondary);
  text-decoration: none;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  transition: color var(--duration-fast);
  letter-spacing: 0.2px;
}

.footer-links a:hover {
  color: var(--color-primary);
}

.footer-copyright {
  color: var(--color-text-muted);
  font-size: var(--font-size-xs);
  opacity: 0.7;
}

@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
  }
}
