/* ============================================
   FOOTER STYLES (extracted from main theme)
   ============================================ */

/* Footer Section */
.site-footer {
  background: var(--footer-bg);
  border-top: 1px solid var(--border);
  padding: 3rem 1.5rem 2rem;
  margin-top: 3rem;
}

.site-footer a, .site-footer button {
    min-height: unset !important;
}

.site-footer-inner {
  max-width: 80rem;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-brand p {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 0.75rem;
}

.footer-col h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin: 0.4rem 0;
}

.footer-col a {
  font-size: 0.8rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-col a:hover {
  color: var(--text);
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.75rem;
  color: var(--muted);
  margin: 0;
}

.footer-badges {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  color: var(--muted);
  background: var(--badge-bg);
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
}

/* Mobile Responsive Footer */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem;
  }
}

/* ============================================
   REQUIRED CSS VARIABLES (include these with the footer)
   ============================================ */
:root {
  --footer-bg: #fafafa;
  --border: #e5e7eb;
  --muted: #6b7280;
  --text: #111827;
  --badge-bg: #f3f4f6;
}

@media (prefers-color-scheme: dark) {
  :root {
    --footer-bg: #0a0a0a;
    --border: rgba(129, 140, 248, 0.1);
    --muted: #94a3b8;
    --text: #f1f5f9;
    --badge-bg: rgba(129, 140, 248, 0.1);
  }
}

/* Dark mode override class */
html.dark {
  --footer-bg: #0a0a0a;
  --border: rgba(129, 140, 248, 0.1);
  --muted: #94a3b8;
  --text: #f1f5f9;
  --badge-bg: rgba(129, 140, 248, 0.1);
}

/* Light mode override class */
html.light {
  --footer-bg: #fafafa;
  --border: #e5e7eb;
  --muted: #6b7280;
  --text: #111827;
  --badge-bg: #f3f4f6;
}


.social-icons-wrapper {
  display: flex;
  justify-content: center;
  gap: 12px;
  /* gap-3 = 12px */
}

.social-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  text-decoration: none;
  opacity: 0.75;
  transition: opacity 0.2s ease;
}

.social-icon-link:hover {
  opacity: 1;
}

.social-icon-link svg {
  width: 16px;
  /* w-4 = 16px */
  height: 16px;
  /* h-4 = 16px */
  fill: currentColor;
}