/* --- public/css/footer.css --- */
.site-footer {
    background-color: var(--brand-primary); /* Deep Navy */
    color: #ffffff;
    padding: 60px 0 40px;
}

/* Ensure the footer container has edge protection */
.site-footer .container {
    padding: 0 20px; /* Desktop safe area */
    max-width: var(--max-width, 1200px);
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .footer-grid { grid-template-columns: repeat(3, 1fr); }
}

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--brand-accent); /* Teal accents */
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col a {
    color: #D1D5DB; /* Soft light grey */
    text-decoration: none;
    transition: color 0.2s;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
}

.footer-col a:hover {
    color: #FFFFFF;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    color: #9CA3AF;
    font-size: 0.85rem;
}


/* =========================================
   MOBILE RESPONSIVENESS
   ========================================= */
@media (max-width: 768px) {
    .site-footer {
        padding: 40px 0 30px; /* Tighter vertical padding on mobile */
    }

    .site-footer .container {
        padding: 0 16px; /* Strict mobile safe-area padding */
    }

    .footer-grid {
        gap: 32px; /* Less vertical gap between the stacked columns */
        margin-bottom: 32px;
    }

    .footer-col h4 {
        margin-bottom: 16px;
    }
    
    /* Ensure the age gate warning wraps nicely on small screens */
    .footer-bottom .age-gate-info {
        font-size: 0.8rem;
        line-height: 1.4;
        padding: 0 10px;
    }
}