/* BLOK team */ 
.contentblok.team {
    --team-overlap: 14rem;  /* hoeveel de foto's over het vlak vallen (± halve foto) */
    --team-radius: 8px;
}

/* KLEURVLAK + TITEL */
.contentblok.team .team_vlak {
    background-color: var(--team-kleur, var(--color-grijsgroen, #eceee7));
    padding: 4rem 0 calc(var(--team-overlap) + 4rem);
}
/* Titel altijd als kop, ook als het in de editor een paragraaf is */
.contentblok.team .team_intro,
.contentblok.team .team_intro > *,
.contentblok.team .team_intro h1 {
    font-family: 'Josephin', Arial, sans-serif;
    font-size: clamp(5rem, 10vw, 13rem);
    font-weight: 600;
    line-height: 100%;
    color: var(--color-wit);
    text-align: center;
    margin-bottom: 0;
}

/* TEAMLEDEN */
.contentblok.team .team_container {
    position: relative;
    margin-top: calc(var(--team-overlap) * -1);
}
.contentblok.team .row_team {
    --bs-gutter-y: 4rem;
}
.contentblok.team .teamlid {
    position: relative;
}
.contentblok.team .teamlid_foto {
    overflow: hidden;
    aspect-ratio: 3 / 4; /* gelijk aan de crop van profielfoto (900 x 1200) */
    border-radius: var(--team-radius);
    background-color: var(--color-lichtblauw, #e8eef2);
}
.contentblok.team .teamlid_foto img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
}
.contentblok.team .teamlid_naam {
    position: absolute;
    left: -1.2rem;
    bottom: 3rem;
    width: 67%;
    padding: 1.8rem 2rem;
    border-radius: 6px;
    background-color: var(--color-lichtgroen);
    color: var(--color-wit);
    font-size: 1.8rem;
    font-weight: 600;
    line-height: 120%;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

/* MEDIA QUERIES - MOBILE FIRST */ 

@media (min-width: 576px) {
}

@media (min-width: 768px) {
    .contentblok.team {
        --team-overlap: 22rem;
    }
}

@media (min-width: 992px) {
    .contentblok.team {
        --team-overlap: 30rem;
    }
    .contentblok.team .team_vlak {
        padding-top: 5rem;
    }
    .contentblok.team .row_team {
        --bs-gutter-x: 6rem;
    }
    .contentblok.team .teamlid_naam {
        bottom: 6rem;
        padding: 2.5rem 2rem;
    }
}

@media (min-width: 1200px) {
    .contentblok.team {
        --team-overlap: 34rem;
    }
}

@media (min-width: 1400px) {
    .contentblok.team {
        --team-overlap: 40rem;
    }
}

@media (min-width: 1920px) {
}

@media (min-width: 2560px) {
}
