.team-content {
    width: 100%;
    position: relative;
    overflow: hidden;
    clip-path: inset(0 0 0 0);
}

.team-content p:first-of-type strong {
    font-size: 20px;
    line-height: 1.4;
}

.site-id-1 .team-content.bg-roze {
    background-color: #ffccdd;
}

.site-id-1 .team-content.bg-lichtroze {
    background-color: #ffe5ef;
}

.site-id-14 .team-content.bg-roze {
    background-color: #e5d8fc;
}

.site-id-14 .team-content.bg-lichtroze {
    background-color: #ede2fc;
}

.team-content__wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: start;
}

.team-content__content {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.team-content__content iframe {
    margin: 30px 0px 20px 0px;
}

.team-content__text {
    margin: auto 0;
}

.team-content__text {
    color: #f55b1d;
    line-height: 1.6;
}

.team-content__text h1,
.team-content__text h2,
.team-content__text h3,
.team-content__text h4 {
    color: #f55b1d;
    font-weight: 700;
    margin-bottom: 15px;
}

.team-content__text h2 {
    font-size: 28px;
    line-height: 1.3;
}

.team-content__text h3 {
    font-size: 22px;
    line-height: 1.4;
}

.team-content__text p {
    margin-bottom: 2px;
    line-height: 1.4;
    font-size: 22px;
}
.team-content__text a {
    text-decoration: none !important;
    opacity: 1 !important;
    position: relative;
}

.team-content__text a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background-color: #f55b1d;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}
.team-content__text a:hover::after {
    transform: scaleX(1);
    transform-origin: left; 
}

.team-content__text ul,
.team-content__text ol {
    margin-bottom: 15px;
    padding-left: 20px;
}

.team-content__text li {
    margin-bottom: 8px;
}

.team-content__text strong {
    font-weight: 700;
}

.team-content__text a {
    color: #f55b1d;
    text-decoration: underline;
    transition: opacity 0.3s ease;
}

.team-content__text a:hover {
    opacity: 0.7;
}

.team-content__afbeelding {
    width: 100%;
    max-width: 100%;
    width: 100%;
    margin-left: auto;
    height: 100%;
}

.team-content__afbeelding.pk-sticky {
    position: sticky;
    top: 0;
}

.team-content.omgedraaid .team-content__afbeelding {
    margin-right: auto;
    margin-left: unset;
}

.team-content__afbeelding img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

@media (max-width: 992px) {
    .team-content {
        padding: 80px 0;
		padding-top: 140px;
    }

    .flex-content:first-child .team-content__content {
        padding-top: 30px;
    }

    .team-content__content .team-content__text {
        padding: 0px 20px;
    }

    .team-content__wrapper {
        gap: 10px;
    }

    .team-content__afbeelding {
        width: 100%;
		aspect-ratio: 4/3;
    }

    .team-content {
        padding-bottom: 0;
    }
}

@media (min-width: 993px) {
    .team-content__wrapper {
        flex-direction: row;
        gap: 60px;
        height: 100%;
        /* align-items: stretch; */
    }

    .team-content__content {
        flex: 0 0 calc(50% - 30px);
        max-width: none;
    }

    .team-content__afbeelding {
        flex: 0 0 calc(50% - 30px);
        max-width: 40%;
        position: fixed;
        top: 0;
        right: 0;
    }

    .team-content__wrapper {
        flex-direction: row;
    }

    .team-content.omgedraaid .team-content__wrapper {
        flex-direction: row-reverse;
    }
}

@media (min-width: 993px) {

    .team-content__content {
        padding-block: 120px 110px;
    }

    .team-content:not(.omgedraaid) .team-content__content {
        padding-left: 110px;
    }

    .omgedraaid .team-content__content {
        padding-right: 110px;
    }

    .team-content__wrapper {
        gap: 80px;
    }

    .team-content__content {
        flex: 0 0 calc(60% - 40px);
    }

    .team-content__afbeelding {
        flex: 0 0 calc(50% - 40px);
    }

    .team-content__text h1 {
        font-size: 42px;
    }

    .team-content__text h2 {
        font-size: 32px;
    }
}

@media (min-width: 1199px) {
    .team-content__content {
        flex: 0 0 calc(50% - 40px);
    }
}
