/* Universal site footer (footert.php) — no Tailwind required */

footer.ab-footer {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 4rem 0 0 !important;
  padding: 2.75rem 1.25rem 2rem !important;
  text-align: left !important;
  background: #fff !important;
  border-top: 1px solid rgba(15, 23, 42, 0.08) !important;
  color: #475569;
  flex: none !important;
  box-sizing: border-box;
}

.ab-footer__inner {
  width: min(1024px, 100%);
  margin: 0 auto;
  padding: 0 0.5rem;
  box-sizing: border-box;
}

.ab-footer__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem 2.5rem;
}

.ab-footer__heading {
  margin: 0 0 0.75rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #64748b;
}

.ab-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.ab-footer__links a,
.ab-footer__powered a {
  color: #475569 !important;
  text-decoration: none !important;
  font-size: 0.875rem;
  line-height: 1.45;
  background: transparent !important;
  border-radius: 0 !important;
  padding: 0 !important;
  display: inline !important;
  white-space: normal !important;
  transform: none !important;
  box-shadow: none !important;
}

.ab-footer__links a:hover,
.ab-footer__powered a:hover {
  color: #0066cc !important;
}

.ab-footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.ab-footer__social a {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: #f8fafc !important;
  color: #475569 !important;
  text-decoration: none !important;
  font-size: 1rem;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.ab-footer__social a:hover {
  color: #0066cc !important;
  border-color: rgba(0, 102, 204, 0.25);
  background: #fff !important;
}

.ab-footer__bottom {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  text-align: center;
}

.ab-footer__copy,
.ab-footer__powered {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #94a3b8 !important;
}

.ab-footer__powered {
  margin-top: 0.35rem;
}

@media (max-width: 720px) {
  .ab-footer__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
