/*
Footer — HZNG Base
Donkere footer met logo, nieuwsbrief, menu's, en onderbalk met legals.
*/

/* ==========================================================================
   .site-footer — basis
   ========================================================================== */

.site-footer {
    font-size: 95%;
}

/* ==========================================================================
   Bovenste rij — logo + nieuwsbrief + menu's
   ========================================================================== */

.site-footer-main {
    align-items: flex-start;
}

/* Menu's in de kolommen — strippen van standaard list-styling */
.site-footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer-menu li {
}
footer h3 {
    color: var(--color-heading);
    margin-bottom: var(--gutter);
    font-size: 130%;
}

/* De hairline boven de footer (zoals na de FAQ in het ontwerp). De rij zelf
   heeft geen padding; de marge van .section-divider levert de ruimte. */
.footer-divider-row {
    padding-block: 0;
}
.site-footer-menu a {
    color: var(--color-secondary);
    text-decoration: none;
    opacity: 0.75;
    transition: opacity var(--transition);
}

@media (hover: hover) {
    .site-footer-menu a:hover {
        opacity: 1;
    }
}


/* ==========================================================================
   Onderbalk — legals + copyright + signatuur
   ========================================================================== */

.site-footer-first-row {
    overflow: visible;
    padding-bottom: calc(2 * var(--gutter));
}
.site-footer-bottom-row {
    padding: var(--gutter) 0;
    background: var(--color-sand);
}

.site-footer-bottom-row * {
    color: var(--color-secondary);
}

.site-footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-size: 14px;
    opacity: 0.7;
}

.site-footer-bottom > * {
    flex: 0 1 auto;
}

/* Legal-menu horizontaal, met scheidingstekens */
.site-footer-legal .site-footer-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.site-footer-legal .site-footer-menu li {
    margin: 0;
}


/* ==========================================================================
   Mobiel — stack alles op elkaar
   ========================================================================== */

@media (max-width: 1279px) {
    .site-footer {
        padding: 80px 0 0;
    }
    .site-footer-main > [class*="col-"] {
        margin-bottom: 40px;
    }

    .site-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
}

/* ==========================================================================
   Gebruiksmelding-links in de footer
   Alle landingspagina's als linkjes, tweekoloms zodat de lijst compact
   blijft. Ook de tekst-kolom links krijgt hier zijn kleur.
   ========================================================================== */

.site-footer-first-row,
.site-footer-first-row p {
    color: var(--color-secondary);
}

.site-footer-sonon a {
    color: var(--color-cta);
    text-decoration: underline;
    opacity: 1;
}

.footer-meldingen {
    columns: 2;
    column-gap: calc(var(--gutter) * 2);
}

.footer-meldingen li {
    break-inside: avoid;
    margin-bottom: 8px;
}

@media (max-width: 767px) {
    .footer-meldingen { columns: 1; }
}
