/* =============================================================
   PPA Shared Footer
   Loaded globally for every page via base.njk.
   Self-contained: no CSS var dependencies.
   ============================================================= */

.footer {
  background: #0f0a1e;
  padding: 56px 0 28px;
  color: #fff;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer__brand { display: inline-block; margin-bottom: 10px; }
.footer__brand-logo {
  height: 32px; width: auto;
  filter: brightness(0) invert(1);
  display: block;
}
.footer__brand-desc {
  font-size: 0.825rem; line-height: 1.6;
  color: rgba(255,255,255,0.65);
  max-width: 300px;
}
.footer__meta {
  display: flex; justify-content: center; align-items: center;
  gap: 8px; margin-top: 40px;
  font-size: 0.75rem; color: rgba(255,255,255,0.65);
}
.footer__meta a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color 0.2s;
  display: inline-block; padding: 4px 0;
}
.footer__meta a:hover { color: rgba(255,255,255,0.9); }
.footer__meta-dot { color: rgba(255,255,255,0.35); }
.footer__col-title {
  font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: rgba(255,255,255,0.55);
  margin-bottom: 16px;
}
.footer__links {
  list-style: none;
  display: flex; flex-direction: column; gap: 10px;
  padding: 0; margin: 0;
}
.footer__links a {
  font-size: 0.825rem; color: rgba(255,255,255,0.70);
  text-decoration: none; transition: color 0.2s;
  display: inline-block; padding: 4px 0;
}
.footer__links a:hover { color: #fff; }

@media (max-width: 768px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px 28px; }
  .footer__brand-col {
    grid-column: 1 / -1;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 4px;
  }
  .footer__meta {
    flex-direction: column;
    gap: 6px;
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.06);
    text-align: center;
  }
  .footer__meta > .footer__meta-dot { display: none; }
  .footer__meta-copyright { order: 1; }
  .footer__meta-powered { order: 2; }
  .footer__meta-legal {
    order: 3;
    display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  }
}

/* --- Neovation brand link: always underlined site-wide.
   This file is loaded globally before page CSS, so !important is used
   to win against per-page rules (e.g. .author-profile a { text-decoration: none }). --- */
a[href="https://www.neovation.com/"] {
  text-decoration: underline !important;
}
