.swiper-carrousel{
    position: relative;
    width: 100%;
    overflow: hidden;
}

.swiper-carrousel[style-block="4"] .swiper-slide{ 
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: end;
    gap: 80px;
    padding-bottom: 50px;
}


.swiper-carrousel[style-block="4"] .swiper-slide .swiper-content{
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 40px;
    margin-top: 88px;
    width: calc(100% / 3);
}

.swiper-carrousel[style-block="4"] .swiper-slide .swiper-content h3{
    font-family: var(--wp--preset--font-family--primary);
    font-size: var(--wp--preset--font-size--h-3);
    font-weight: 900 !important;
}

.swiper-carrousel[style-block="4"] .swiper-slide .swiper-content p{
    font-family: var(--wp--preset--font-family--secondary);
    font-size: var(--wp--preset--font-size--paragraphe);
    font-weight: 400 !important;
}

.swiper-carrousel[style-block="4"] .swiper-slide .swiper-content a{
    width: fit-content;
}
.swiper-carrousel[style-block="4"] .swiper-slide .swiper-image, 
.swiper-carrousel[style-block="4"] .swiper-slide .swiper-image img{
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 3/2;
    object-fit: cover;
}

.swiper-carrousel[style-block="4"] .swiper-slide .swiper-image::after{
    position: absolute;
    content:"";
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/wp-content/uploads/2025/10/Vector7.svg');
    background-position: bottom left;
    background-size: auto 60%;
    background-repeat: no-repeat;

}

.swiper-carrousel[style-block="4"] .swiper-arrows{
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
}

.swiper-carrousel[style-block="4"] .swiper-arrows *{
    position: relative;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: 0;
    padding: 0;
}
.swiper-carrousel[style-block="4"] .swiper-arrows > div{
    width: fit-content;
    height: fit-content;
    padding: 12px;
    background-color: var(--wp--preset--color--primary);
    transition: background-color .3s ease-in-out;
}
.swiper-carrousel[style-block="4"] .swiper-arrows > div:hover{
    background-color: var(--wp--preset--color--primary-hovered);
}
.swiper-carrousel[style-block="4"] .swiper-arrows svg{
    width: 24px;
    height: 24px;
}



.swiper-carrousel[style-block="4"] .swiper-pagination .swiper-pagination-bullet{
    width: 100%;
    margin: 0 !important;
    border-radius: 0;
    background: var(--wp--preset--color--secondary);
    transition: background .5s ease-in-out;
}
.swiper-carrousel[style-block="4"] .swiper-pagination .swiper-pagination-bullet-active{
    background: var(--wp--preset--color--primary);
}

@media not all and (min-width: 1024px) {
    .swiper-carrousel[style-block="4"] .swiper-slide{
        flex-direction: column;
        gap: 40px
    }
    .swiper-carrousel[style-block="4"] .swiper-slide .swiper-content{
        width: 100%;
    }
}


.swiper-carrousel[style-block="5"] .swiper-slide{
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
}
.swiper-carrousel[style-block="5"] .swiper-slide .swiper-content{
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
    width: 60%;
    z-index: 10;
}
.swiper-carrousel[style-block="5"] .swiper-slide .swiper-content h3{
    font-family: var(--wp--preset--font-family--tertiary);
}

.swiper-carrousel[style-block="5"] .swiper-slide .swiper-content *{
    text-align: center;
}

.swiper-carrousel[style-block="5"] .swiper-slide .swiper-image{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.swiper-carrousel[style-block="5"] .swiper-slide .swiper-image::before{
    position: absolute;
    content:"";
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/wp-content/uploads/2025/10/Vector7.svg');
    background-position: bottom left;
    background-size: auto 60%;
    background-repeat: no-repeat;
    transform: rotate(180deg);

}

.swiper-carrousel[style-block="5"] .swiper-slide .swiper-image img{
    object-fit: cover;
}

.swiper-carrousel[style-block="5"] .swiper-arrows{
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
}

.swiper-carrousel[style-block="5"] .swiper-arrows *{
    position: relative;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: 0;
    padding: 0;
}
.swiper-carrousel[style-block="5"] .swiper-arrows > div{
    width: fit-content;
    height: fit-content;
    padding: 12px;
    background-color: var(--wp--preset--color--primary);
    transition: background-color .3s ease-in-out;
}
.swiper-carrousel[style-block="5"] .swiper-arrows > div:hover{
    background-color: var(--wp--preset--color--primary-hovered);
}
.swiper-carrousel[style-block="5"] .swiper-arrows svg{
    width: 24px;
    height: 24px;
}

.carrousel-accueil-center .swiper-content{
    gap: 60px !important;
}

.carrousel-accueil-center .filtre-img::before{
    background-image: unset !important;
}

.carrousel-accueil-center .swiper-content h3{
    color: var(--wp--preset--color--primary);
}

.carrousel-accueil-center .swiper-content .bouton-plein{
    order: 3;
}

.carrousel-accueil-center .swiper-content .swiper-arrows{
    order: 2;
}


.swiper-galerie {
  width: 100%;
  height: 100%;
}

.swiper-galerie .swiper-wrapper{
    flex-direction: row !important;
}

.swiper-galerie .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    aspect-ratio: 1/1;
}

.galerie-navigation{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    width: fit-content;
    margin: 0 auto;
    padding-top: 40px;
}

.galerie-navigation .swiper-button-prev,
.galerie-navigation .swiper-button-next{
    color: transparent;
    position: relative;
    margin-top: unset;
}

.galerie-navigation .swiper-button-prev svg,
.galerie-navigation .swiper-button-next svg{
    min-width: 6px;
    min-height: 12px;
    max-width: 8px;
    max-height: 13px;
}

.galerie-navigation .swiper-navigation-icon{
    display: none !important;
}

.galerie-navigation .swiper-pagination-bullets {
    position: unset;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.galerie-navigation .swiper-pagination-bullet {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    padding: 20px;
    margin: unset !important;
    border-radius: 6px;
    text-align: center;
    color: var(--wp--preset--color--light);
}

.galerie-navigation .swiper-pagination-bullet-active {
    background: var(--wp--preset--color--primary);
}