/* ============================================================
   SITE FOOTER (apu/site-footer) — loads site-wide.
   Brand tokens are scoped to .fg-footer so colours are correct
   on every page, independent of the front-page library's :root.
   ============================================================ */

.fg-footer {
  --fg-paper-footer: #E3D7B8;
  --fg-ink: #1A1A1A;
  --fg-ink-soft: #3D3D3D;
  --fg-ink-muted: #525252;
  --fg-hairline: #D4CFC4;
  --fg-teal: #0E7490;

  background: var(--fg-paper-footer);
  border-top: 1px solid var(--fg-hairline);
  padding: 56px 40px 32px;
  margin-top: 56px;
  font-family: Arial, Helvetica, sans-serif;
}

.fg-footer__inner { max-width: 1200px; margin: 0 auto; }

.fg-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(6, 1fr);
  gap: 28px;
  margin-bottom: 40px;
}

.fg-footer--no-hubs .fg-footer__grid {
  grid-template-columns: 1.4fr repeat(5, 1fr);
}

.fg-footer__brand-col p {
  font-family: Arial, sans-serif;
  font-size: 13px;
  color: var(--fg-ink-soft);
  line-height: 1.6;
  margin: 12px 0;
}

.fg-footer__brand {
  font-family: Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--fg-ink);
  margin: 0 0 4px;
}

.fg-footer__brand-mark { color: var(--fg-teal); }

.fg-footer__col-title {
  font-family: Arial, sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--fg-ink);
  font-weight: 700;
  margin: 0 0 14px;
}

.fg-footer__col ul { list-style: none; padding: 0; margin: 0; }
.fg-footer__col li { margin: 0 0 8px; }

.fg-footer__col a {
  font-size: 13px;
  color: var(--fg-ink-soft);
  text-decoration: none;
  line-height: 1.45;
  display: inline-block;
}

.fg-footer__col a:hover,
.fg-footer__col a:focus { color: var(--fg-teal); }

.fg-footer__col a.external::after {
  content: " \2197";
  font-size: 10px;
  opacity: 0.5;
}

.fg-footer__bottom {
  padding-top: 24px;
  border-top: 1px solid var(--fg-hairline);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 12px;
  color: var(--fg-ink-muted);
}

.fg-footer__bottom a {
  color: var(--fg-ink-muted);
  text-decoration: none;
  margin-left: 16px;
}

.fg-footer__bottom a:hover { color: var(--fg-teal); }
.fg-footer__social a { margin-left: 14px; }

.fg-footer .fg-footer__col li { list-style: none; padding-left: 0; }
.fg-footer .fg-footer__col li::before,
.fg-footer .fg-footer__col li::marker { content: none; }

@media (max-width: 1024px) {
  .fg-footer__grid,
  .fg-footer--no-hubs .fg-footer__grid { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 640px) {
  .fg-footer { padding: 40px 24px 24px; }
  .fg-footer__grid,
  .fg-footer--no-hubs .fg-footer__grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}
@media (max-width: 480px) {
  .fg-footer__grid,
  .fg-footer--no-hubs .fg-footer__grid { grid-template-columns: 1fr; }
}
