.social-span-titel-titel-icons-afbeeldingen {
    padding: 160px 35px 0;
    font-family: 'Josefin Sans', sans-serif;
    color: #fff;
}

.social-container {
    max-width: 1400px;
    margin: 0 auto;
}

.social-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 40px;
    gap: 24px;
}


.title-wrap {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    white-space: nowrap;
}

.social-span-titel {
    font-size: 40px;
    font-weight: 400;
    line-height: 1;
    font-family: 'Josefin Sans', sans-serif;
}

.social-titel {
    font-size: 40px;
    font-weight: 700;
    margin: 0;
    line-height: 1;
    font-family: 'Josefin Sans', sans-serif;
}

/* ICONS */
.social-icons {
    display: flex;
    align-items: center;
    gap: 6px;
}

.social-icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    transition: transform 0.3s ease;
    cursor: pointer;
    color: #fff;
}

.social-icon-link svg {
    width: 50px;
    height: 50px;
    transition: color 0.3s ease;
}

.social-icon-link:hover {
    color: #4D6D48;
}

.social-icon-link-fbook {
    width: 44px;
    height: 44px;
}

.social-icon-link-fbook svg {
    width: 44px;
    height: 44px;
}

/* Afbeeldingen grid */
.social-afbeeldingen-grid {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    grid-template-areas:
        "links midden rechter-boven"
        "links midden rechter-onder";
    gap: 20px;
    width: 100%;
}

.afbeelding-linkerkant { grid-area: links; }
.afbeelding-midden { grid-area: midden; }
.afbeelding-rechterkant-boven { grid-area: rechter-boven; }
.afbeelding-rechterkant-onder { grid-area: rechter-onder; }

.afbeelding-linkerkant,
.afbeelding-midden,
.afbeelding-rechterkant-boven,
.afbeelding-rechterkant-onder {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    object-fit: cover;
}

/* RESPONSIVE */
@media (max-width: 499px) {
    .title-wrap {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        white-space: normal;
    }

    .social-span-titel,
    .social-titel {
        text-align: center;
        font-size: 24px;
    }
}

@media (max-width: 900px) {
    .social-header {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .title-wrap {
        white-space: normal;
    }

    .social-icons {
        justify-content: center;
    }

    .social-afbeeldingen-grid {
        grid-template-columns: 1fr;
        grid-template-areas:
            "links"
            "midden"
            "rechter-boven"
            "rechter-onder";
        gap: 15px;
    }

    .afbeelding-linkerkant,
    .afbeelding-midden,
    .afbeelding-rechterkant-boven,
    .afbeelding-rechterkant-onder {
        width: 100%;
        height: 250px;
    }
}


@media (max-width: 499px) {
    .social-header {
        flex-direction: row;
    }
}

/* Midden afbeelding wrapper voor overlay */
.afbeelding-midden-wrapper {
    position: relative;
    grid-area: midden;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
}

.afbeelding-midden-wrapper .afbeelding-midden {
    grid-area: unset;
}

/* Overlay styling */
.midden-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 20px;
}

.midden-overlay-titel {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    text-align: center;
    line-height: 1.2;
    margin: 0;
    padding: 20px;
}

/* Responsive aanpassingen voor overlay */
@media (max-width: 900px) {
    .midden-overlay-titel {
        font-size: 32px;
    }
}

@media (max-width: 499px) {
    .midden-overlay-titel {
        font-size: 24px;
    }
}