.bloc-swiperposts h2 {
    width: max-content;
    margin: 0 auto 48px auto;
}

.bloc-swiperposts .swiper {
    overflow: visible !important;
}

.bloc-swiperposts .swiper-slide {
    display: flex;
    aspect-ratio: 1/1;
    width: 100%;
    height: auto;
    border-radius: 24px;
    overflow: hidden;
    transition: 0.3s all ease;
}

.bloc-swiperposts .swiper-slide:hover {
    transform: scale(0.95);
}

.bloc-swiperposts .swiper-slide a {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
}

.bloc-swiperposts .swiper-slide a:before {
    content: "";
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(180deg, rgba(3, 86, 60, 0.00) 30%, rgba(3, 86, 60, 0.60) 100%);
}

.bloc-swiperposts .swiper-slide .imgcropCtn {
    z-index: 0;
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}

.bloc-swiperposts .swiper-slide a .contentPartContainer {
    z-index: 2;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}

.bloc-swiperposts .swiper-slide a .contentPartContainer h3 {
    font-size: 1.8rem;
    width: max-content;
    color: #03563C;
    border-radius: 40px;
    background: var(--pink, #F6C3DB);
    padding: 8px 16px;
}

.bloc-swiperposts .swiper-slide a .contentPartContainer .content {
    width: 100%;
}

.bloc-swiperposts .swiper-slide a .contentPartContainer .content .text {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
}

.bloc-swiperposts .flottant1 {
    z-index: 4;
    pointer-events: none;
    position: absolute;
    bottom: -15%;
    left: 25%;
    width: 194px;
    aspect-ratio: 194/159;
    background-image: url("https://madcommunication.fr/wp-content/uploads/2025/06/Assiettes.svg");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.bloc-swiperposts .flottant2 {
    z-index: 4;
    pointer-events: none;
    position: absolute;
    top: 20%;
    right: -5%;
    width: 153px;
    aspect-ratio: 153/130;
    background-image: url("https://madcommunication.fr/wp-content/uploads/2025/06/Pizza.svg");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.bloc-swiperposts .flottant3 {
    z-index: 4;
    pointer-events: none;
    position: absolute;
    top: -10%;
    left: -10%;
    width: 265px;
    aspect-ratio: 265/106;
    background-image: url("https://madcommunication.fr/wp-content/uploads/2025/06/Avis.svg");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.bloc-swiperposts .swiper-button-prev {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    color: white;
    border-radius: 200px;
    background-color: black;
    transition: 0.3s all ease;
}

.bloc-swiperposts .swiper-button-prev:hover {
    transform: scale(0.95);
    transition: 0.3s all ease;
}

.bloc-swiperposts .swiper-button-prev::after {
    font-size: 2.6rem;
}

.bloc-swiperposts .swiper-button-next {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    color: white;
    border-radius: 200px;
    background-color: black;
}

.bloc-swiperposts .swiper-button-next:hover {
    transform: scale(0.95);
    transition: 0.3s all ease;
}

.bloc-swiperposts .swiper-button-next::after {
    font-size: 2.6rem;
}

@media (max-width: 992px) {
    .bloc-swiperposts .flottant1 {
        z-index: -1;
    }
    .bloc-swiperposts .flottant2 {
        z-index: -1;
    }
    .bloc-swiperposts .flottant3 {
        z-index: -1;
    }
}

@media screen and (-webkit-min-device-pixel-ratio:0) { 
    .bloc-swiperposts .swiper {
        height: 425px;
    }
}