/* Shared site footer. Loaded after each page CSS so every public page uses
   the same footer layout; page files only style their own content. */

.site-footer {
  background: var(--bg-light);
  padding: 3rem 0 0;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr;
  gap: 2rem;
  padding-bottom: 2rem;
}

.footer-logo .logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.footer-logo .logo-mark {
  font-size: 1.75rem;
}

.logo-image {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 8px;
  display: block;
}

.footer-logo p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0.75rem 0 0;
  max-width: 260px;
}

.footer-col h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin: 0 0 1rem;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--gold);
}

.site-footer .contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.25rem 0;
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.footer-admin-link {
  display: block;
  margin-bottom: 0.85rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  text-align: left;
}

.footer-admin-link:hover {
  color: var(--gold);
}

@media (max-width: 960px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 560px) {
  .site-footer {
    padding: 2rem 0 0;
  }

  .footer-logo p {
    max-width: none;
  }
}
