/* Public site footer (templates/exam/footer.html): the public site (site/base.html) and the
   older student, error and login pages. Not in Figma (ours), built from design system tokens.
   Old pages don't load components.css and may load Bootstrap 4 or 5, so every rule here
   sets its own margins, list and link styles instead of relying on a reset.
   The font is inherited: Inter on the public site, the old page's font elsewhere. */

.site-footer {
  margin-top: 64px;
  padding: 32px;
  background: var(--fds-white);
  border-top: 1px solid var(--fds-slate-200);
  color: var(--fds-gray-500);
  font-size: 14px;
  line-height: 20px;
}

.site-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 32px;
  max-width: var(--fds-container-xl);
  margin: 0 auto;
}

.site-footer-copy { margin: 0; }

.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer-links a {
  color: var(--fds-gray-600);
  font-weight: 500;
  text-decoration: none;
}

.site-footer-links a:hover { color: var(--fds-primary); text-decoration: underline; }

@media (max-width: 639.98px) {
  .site-footer { padding: 32px 16px; }
  .site-footer-inner { flex-direction: column; text-align: center; }
  .site-footer-links { justify-content: center; }
}

@media print {
  .site-footer { display: none; }
}
