/* Site footer (below the item list). */
.site-footer {
  margin-top: 48px;
  border-top: 1px solid #23262d;
  background: var(--bg-deep);
  color: var(--muted);
  font-size: 13px;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto; padding: 36px 24px 24px;
  display: flex; flex-wrap: wrap; gap: 32px 48px;
}
/* about grows to fill the row; the columns stay as wide as their text,
   and move to the next row when there is no room (never squeezed) */
.footer-about { flex: 1 1 auto; min-width: 0; }
.footer-about p { margin: 8px 0 0; line-height: 1.6; }
.footer-brand { display: flex; align-items: center; }   /* logo-wide.png (has the name in it) */
.footer-col { flex: 0 0 auto; }
.footer-col h2 { margin: 0 0 10px; color: var(--fg); font-size: 14px; font-weight: 600; }
.footer-col ul { margin: 0; padding: 0; list-style: none; }
.footer-col li { margin: 0 0 6px; line-height: 1.5; white-space: nowrap; }

/* text lines (see index.html): .line starts a new line, .ph is never split */
.site-footer .line { display: block; }
.site-footer .ph { white-space: nowrap; }
.footer-bottom {
  max-width: 1200px; margin: 0 auto; padding: 16px 24px 28px;
  border-top: 1px solid #1d2026; font-size: 12px; line-height: 1.6;
}
.footer-bottom p { margin: 0 0 4px; }
.footer-link { color: var(--muted); }
.footer-link:hover { color: var(--gold); }

.social { display: flex; gap: 10px; }
.social-icon {
  width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: 10px; background: var(--card); color: var(--fg);
}
.social-fb:hover { border-color: #1877f2; background: #1877f2; color: #fff; }
.social-mail:hover { border-color: var(--gold); background: var(--gold); color: var(--bg); }
.footer-mail { margin: 8px 0 0; font-size: 13px; }
.footer-bottom .footer-copy { margin: 12px 0 0; text-align: center; }   /* last line, centred */
/* privacy link, under the e-mail */
.footer-legal { margin-top: 16px; font-size: 12px; line-height: 1.6; }
.footer-legal p { margin: 0 0 4px; }

/* "back to top" under the list */
.link-button { background: none; border: 0; color: var(--muted); padding: 8px 12px; font-size: 13px; }
.link-button:hover { color: var(--gold); }

@media (max-width: 480px) {
  .footer-inner { padding: 28px 16px 16px; gap: 24px; }
  .footer-bottom { padding: 14px 16px 24px; }
}
