#pk_flex_content .flex_layout.afbeelding_tekst_slider {
    padding-block: 80px;
}



#pk_flex_content .flex_layout.afbeelding_tekst_slider .slide-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 80px;
}

#pk_flex_content .flex_layout.afbeelding_tekst_slider .image-stack {
    position: relative;
    width: 50%;
    overflow: hidden;
}

#pk_flex_content .flex_layout.afbeelding_tekst_slider .image-stack .main-image {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 1s ease-in-out;
    aspect-ratio: 1;
    object-fit: cover;
}

#pk_flex_content .flex_layout.afbeelding_tekst_slider .image-stack .main-image img{
    
}


#pk_flex_content .flex_layout.afbeelding_tekst_slider .text-content {
    width: 50%;
}

#pk_flex_content .flex_layout.afbeelding_tekst_slider .text-content h2 {
    font-size: 44px;
    /* color: white; */
    margin-bottom: 15px;
}

#pk_flex_content .flex_layout.afbeelding_tekst_slider .text-content p {
    /* color: white; */
}

/* Navigation Buttons */
#pk_flex_content .flex_layout.afbeelding_tekst_slider .swiper-nav {
    display: flex;
    gap: 10px;
    width: 120px;
    margin-top: 60px;
}



#pk_flex_content .flex_layout.afbeelding_tekst_slider .swiper-button-prev,
#pk_flex_content .flex_layout.afbeelding_tekst_slider .swiper-button-next {
    position: relative;
    left: unset;
    right: unset;
}

#pk_flex_content .flex_layout.afbeelding_tekst_slider .swiper-button-prev:hover,
#pk_flex_content .flex_layout.afbeelding_tekst_slider .swiper-button-next:hover {
    
}

#pk_flex_content .flex_layout.afbeelding_tekst_slider .swiper-slide {
    opacity: 0 !important;
}

#pk_flex_content .flex_layout.afbeelding_tekst_slider .swiper-slide.swiper-slide-active {
    opacity: 1 !important;
}



@media screen and (max-width: 992px) {
    #pk_flex_content .flex_layout.afbeelding_tekst_slider .slide-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        gap: 40px;
    }
    
    #pk_flex_content .flex_layout.afbeelding_tekst_slider .text-content h2 {
        font-size: 34px;
    }
}

@media screen and (max-width: 767px) {
    #pk_flex_content .flex_layout.afbeelding_tekst_slider {
        padding-block: 40px;
    }
    
    #pk_flex_content .flex_layout.afbeelding_tekst_slider .text-content h2 {
        font-size: 25px;
        /* color: white; */
        margin-bottom: 15px;
    }
    
    #pk_flex_content .flex_layout.afbeelding_tekst_slider .slide-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        gap: 40px;
    }
    
    #pk_flex_content .flex_layout.afbeelding_tekst_slider .slide-container > div{
        width: 100%;
    }
}

/* Alleen site 8 (Les Petits) */

.site-id-8 .afbeelding_tekst_slider .slide-container {
    display: flex !important;
    align-items: center !important;
    gap: 40px !important;
}

.site-id-8 .afbeelding_tekst_slider .image-stack {
    width: 50% !important;
    max-width: 600px !important;
}

.site-id-8 .afbeelding_tekst_slider .image-stack img,
.site-id-8 .afbeelding_tekst_slider .image-stack picture {
    width: 100% !important;
    height: auto !important;
    max-height: 450px !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    border-radius: 8px !important;
}

.site-id-8 .afbeelding_tekst_slider .text-content {
    width: 50% !important;
}

@media (max-width: 900px) {
    .site-id-8 .afbeelding_tekst_slider .slide-container {
        flex-direction: column !important;
    }

    .site-id-8 .afbeelding_tekst_slider .image-stack,
    .site-id-8 .afbeelding_tekst_slider .text-content {
        width: 100% !important;
    }

    .site-id-8 .afbeelding_tekst_slider .image-stack img {
        max-height: 300px !important;
    }
}

/* H2 styling */
.site-id-8 #pk_flex_content .flex_layout.afbeelding_tekst_slider .text-content h2 {
    font-size: 24px !important;
    letter-spacing: 0.4px !important;
}
