/* Robust footer styles independent from utility classes */
.site-footer {
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    margin-top: 4rem;
}

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

.site-footer-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.site-footer-left,
.site-footer-right {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: #475569;
}

.site-footer-link {
    color: #475569;
    text-decoration: none;
}

.site-footer-link:hover {
    color: #1e293b;
}

.site-footer-social {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.site-footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    color: #334155;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.site-footer-social-link:hover {
    background: #f1f5f9;
    color: #0f172a;
    border-color: #cbd5e1;
}

.site-footer-social-icon {
    width: 1.1rem;
    height: 1.1rem;
    display: block;
    flex: 0 0 auto;
}

@media (min-width: 640px) {
    .site-footer-inner {
        padding: 2rem 1.5rem;
    }

    .site-footer-grid {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .site-footer-left,
    .site-footer-right {
        flex-direction: row;
        align-items: center;
        gap: 1rem;
    }
}

@media (min-width: 1024px) {
    .site-footer-inner {
        padding: 2rem;
    }
}
