.flex_layout.branche_projecten{
    overflow: clip;
}

.flex_layout.branche_projecten .flex_layout_wrapper{
    padding-bottom: 0 !important;
}

.flex_layout.branche_projecten .section_heading{
    grid-row: 1/2;
}

.flex_layout.branche_projecten .filter{
    grid-row: 1/2;
    grid-column: -1/-3;
    margin-block: 2.5rem;

    display: flex;
    justify-content: end;
    align-items: center;
    gap: 1rem;
}

.flex_layout.branche_projecten .filter button{
    --border-color: var(--mahogany);
    --background: transparent;
    --color: var(--mahogany);

    padding: .75rem 1.5rem;
    border-radius: 3rem;
    background-color: var(--background);
    border: 1px solid var(--border-color);
    color: var(--color);
    line-height: 1.5;

    transition: background-color 300ms ease-in-out,
    color 300ms ease-in-out,
    border-color 300ms ease-in-out;

}

.flex_layout.branche_projecten .filter button.active,
.flex_layout.branche_projecten .filter button:is(:hover,:active,:focus) {
    --border-color: var(--chili);
    --background: var(--chili);
    --color: var(--white);
}

.flex_layout.branche_projecten .branche_content .swiper-wrapper{
    height: 100%;
}

.flex_layout.branche_projecten .branche_content .swiper-slide{
    padding: 3rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.flex_layout.branche_projecten .branche_content .branche_image{
    aspect-ratio: 4 / 3;
    border-radius: 1.5rem;
    overflow: clip;
    background-color: var(--mahogany);
}

.flex_layout.branche_projecten .branche_content .branche_image img{
    object-fit: cover;
    width: 100%; height: 100%;
}

.flex_layout.branche_projecten .branche_content .swiper-slide .content_wrapper{
    padding: 3.5rem;
}

.flex_layout.branche_projecten .branche_content .content_wrapper .content{
    max-width: 600px;
}

.flex_layout.branche_projecten .branche_content .swiper-slide .button_wrapper{
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.flex_layout.branche_projecten .swiper_container{
    position: relative;
    isolation: isolate;
    grid-column: 1 / -1;
    /* overflow: clip; */
    /* background-color: var(--sandstone); */
    background-image: linear-gradient(var(--sandstone), var(--ivory));
    border-radius: 5rem 5rem 0 0;
    padding-bottom: 6rem;
}

.flex_layout.branche_projecten .swiper_container::before{
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 5rem 5rem 0 0;
    backdrop-filter: blur(200px);
    z-index: -1;
}

.flex_layout.branche_projecten .swiper_container::after{
    content: '';
    opacity: .5;
    background-image: linear-gradient(90deg, #AF9272, #544035);
    width: 30%; height: auto;
    border-radius: 50%;
    aspect-ratio: 1;
    position: absolute;
    bottom: 0; left: 50%;
    transform: translate(-50%, -50%);
    z-index: -2;

}

.flex_layout.branche_projecten .cta_container{
    grid-column: 1/-1;
    padding: 1.5rem 3rem;

    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.flex_layout.branche_projecten .cta_container .archive_wrapper{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: .5rem;
}

.flex_layout.branche_projecten .cta_container .archive_wrapper a{
    order: 1;
}

.flex_layout.branche_projecten .cta_container .archive_wrapper::before{
    content: '';
    width: 1rem;
    height: 1px;
    background-color: currentColor;
    order: 2;
}

.flex_layout.branche_projecten .cta_container .archive_wrapper .total{
    order: 3;
}



.flex_layout.branche_projecten .swiper{
    max-width: 100%;
    width: 100%;
    /* padding-inline: 3rem; */
    /* height: 100%; */
}

.flex_layout.branche_projecten .branche_projects{
    overflow: visible;
    padding-inline: 3rem;
}

.flex_layout.branche_projecten .swiper-wrapper a{
    flex-shrink: 0;
    /* width: 100%;
    height: 100%;
    position: relative;
    transition-property: transform; */
    /* display: block; */
}


@media only screen and (max-width: 1024px){
    .flex_layout.branche_projecten .swiper_container{

        border-radius: 3rem 3rem 0 0;
    }

    .flex_layout.branche_projecten .filter{
        margin-top: 0;
        grid-column: 1 / -1;
        grid-row: unset;
        flex-wrap: wrap;
        justify-content: start;
    }

    .flex_layout.branche_projecten .branche_content .swiper-slide{
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }


    .flex_layout.branche_projecten .branche_content .swiper-slide .content_wrapper{
        padding: 1.5rem 0;
    }

    .flex_layout.branche_projecten .cta_container,
    .flex_layout.branche_projecten .branche_projects{
        padding-inline: 1.5rem;
    }
}