.contentblok.home-nieuws {
    margin-top: 0;
    padding: 6.4rem 0;
    background-color: var(--kleur-wit);
}
.home_nieuws_tabs {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 4.8rem;
}
.home_nieuws_tab {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    height: 4.8rem;
    padding: 0 2rem;
    border: 0.1rem solid var(--kleur-zwart);
    border-radius: 3.2rem;
    font-size: 2rem;
    line-height: 1;
    font-weight: 600;
    color: var(--kleur-zwart);
    background-color: transparent;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}
.home_nieuws_tab:hover,
.home_nieuws_tab.active {
    color: var(--kleur-wit);
    background-color: var(--home-grijs-tekst);
    border-color: var(--home-grijs-tekst);
}

/* Mobiel: de kaarten scrollen horizontaal en kijken om de hoek */
.home_nieuws_paneel {
    display: none;
    gap: 1.6rem;
    margin: 0 calc(-1 * var(--home-zijruimte));
    padding: 0 var(--home-zijruimte);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-left: var(--home-zijruimte);
    scrollbar-width: none;
}
.home_nieuws_paneel::-webkit-scrollbar {
    display: none;
}
.home_nieuws_paneel.active {
    display: flex;
}
.home_nieuws_kaart {
    display: flex;
    flex: 0 0 32.2rem;
    flex-direction: column;
    scroll-snap-align: start;
    text-decoration: none;
}
.home_nieuws_foto {
    display: block;
    height: 20.7rem;
    overflow: hidden;
    border: 0.1rem solid var(--home-grijs-rand);
    border-bottom: 0;
    background-color: var(--home-grijs-licht);
}
.home_nieuws_foto img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.home_nieuws_body {
    flex: 1;
    justify-content: space-between;
    gap: 3.2rem;
    min-height: 22.7rem;
    padding: 3.2rem;
    border-top: 0;
}
.home_nieuws_inhoud {
    display: flex;
    flex-direction: column;
    gap: 2.4rem;
}
.home_nieuws_inhoud .home_kaart_titel,
.home_nieuws_inhoud .home_kaart_tekst {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    overflow-wrap: anywhere;
}
.home_nieuws_inhoud .home_kaart_titel {
    font-size: 2.4rem;
    -webkit-line-clamp: 3;
    line-clamp: 3;
}
.home_nieuws_inhoud .home_kaart_tekst {
    display: none; /* mobiel: alleen titel en link */
    -webkit-line-clamp: 3;
    line-clamp: 3;
}
.home_nieuws_kaart:hover .home_kaart_titel {
    text-decoration: underline;
}
@media (min-width: 992px) {
    .contentblok.home-nieuws {
        padding: 12rem 0;
    }
    .home_nieuws_tabs {
        margin-bottom: 6.4rem;
    }
    .home_nieuws_tab {
        flex: 0 0 20rem;
        height: 6.2rem;
        font-size: 2.4rem;
    }
    .home_nieuws_paneel.active {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6.4rem;
        margin: 0;
        padding: 0;
        overflow: visible;
        scroll-snap-type: none;
    }
    .home_nieuws_kaart {
        flex: none;
    }
    .home_nieuws_body {
        min-height: 0;
        padding: 4rem;
    }
    .home_nieuws_inhoud .home_kaart_titel {
        font-size: 3.2rem;
    }
    .home_nieuws_inhoud .home_kaart_tekst {
        display: -webkit-box;
    }
}
