.bloc-swiperposts {
    position: relative;
}

.bloc-swiperposts h3 {
    font-size: 2.4rem;
    color: black;
}

.swiperposts-top {
    padding: 0 0 16px 0;
}

.swiperposts-top > h3 {
    font-size: 2.4rem;
}

.swiperposts-formation .swiperposts-top > h3 {
    color: black;
}

.swiperposts-top > * {
    margin: 0;
}

.swiperposts-bis {
    padding: 0 0 16px 0;
}

.bloc-swiperposts .swiperMyProdPosts .swiper-slide {
    height: auto;
    transition: 0.3s all ease-in-out;
}

.bloc-swiperposts .swiperMyProdPosts .swiper-slide a {
    display: flex;
    color: black;
    text-decoration: none;
    align-items: stretch;
    flex-direction: column;
    width: 100%;
    height: 100%;
    margin: 0;
}

.bloc-swiperposts .swiperMyProdPosts .swiper-slide a .imgcropCtn {
   width: 100%;
   border-radius: 8px 8px 50px 0;
   transition: 0.3s all ease-in-out;
}

.bloc-swiperposts .swiperMyProdPosts .swiper-slide a:hover .imgcropCtn {
    transition: 0.3s all ease-in-out;
 }

.bloc-swiperposts .swiperMyProdPosts .swiper-slide a .content {
    display: flex;
    padding: 0;
}

.bloc-swiperposts .swiperMyProdPosts .swiper-slide a .content .description {
    display: -webkit-box;
    font-size: 1.6rem;
    line-height: 1.4;
    font-family: "futura-pt";
    font-weight: 200;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    align-self: stretch;
    text-overflow: ellipsis;
    margin: 0 0 16px 0;
}

.bloc-swiperposts .swiper-button-next, .bloc-swiperposts .swiper-button-prev {
    width: 32px;
    height: 32px;
    top: 50%;
    bottom: unset;
    transform: translateY(-50%);
    transition: 0.3s all ease-in-out;
}

.bloc-swiperposts .swiper-button-next::after, .bloc-swiperposts .swiper-button-prev::after {
    content: unset;
}

.bloc-swiperposts .swiper-button-next {
    right: -50px;
    background-size: contain;
    background-image: url("https://waterformcom.lfzp9407.odns.fr/wp-content/uploads/2024/10/command-left.svg");
    background-position: center center;
    background-repeat: no-repeat;
    transform: translateY(-50%) rotate(180deg);
}

.bloc-swiperposts .swiper-button-prev {
    left: -50px;
    background-size: contain;
    background-image: url("https://waterformcom.lfzp9407.odns.fr/wp-content/uploads/2024/10/command-left.svg");
    background-position: center center;
    background-repeat: no-repeat;
}

.bloc-swiperposts .swiper-button-next:hover {
    opacity: 0.8;
    transform: translateY(-50%) rotate(180deg) scale(0.90);
    transition: 0.3s all ease-in-out;
}

.bloc-swiperposts .swiper-button-prev:hover {
    opacity: 0.8;
    transform: translateY(-50%) scale(0.90);
    transition: 0.3s all ease-in-out;
}

.bloc-swiperposts .buttonArrow {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 32px;
}

.bloc-swiperposts .buttonArrow .buttonArrowContent {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1;
    margin: 0 12px 0 0;
}

.bloc-swiperposts .swiperMyProdPosts .swiper-slide .buttonArrowVector {
    width: 24px;
    height: 24px;
    transition: 0.3s all ease-in-out;
}

.bloc-swiperposts .swiperMyProdPosts .swiper-slide:hover {
    opacity: 0.9;
    transform: scale(0.96);
    transition: 0.3s all ease-in-out;
}

.bloc-swiperposts .swiperMyProdPosts .swiper-slide:nth-child(even):hover {
    transform: scale(0.96);
    transition: 0.3s all ease-in-out;
}

.bloc-swiperposts .swiperMyProdPosts .swiper-slide:hover .btn {
    color: #000;
    border: 1px solid #000;
    box-shadow: 0px 3px 6px 0px #00000029;
    background-color: white;
    transition: 0.3s all ease-in-out !important;
}

.bloc-swiperposts .swiperMyProdPosts .swiper-slide:hover .btn::after {
    transform: rotate(180deg);
    filter: invert(1);
    transition: 0.3s all ease;
}

.bloc-swiperposts .swiperMyProdPosts .swiper-slide:hover .buttonArrowVector {
    transform: rotate(180deg);
    transition: 0.3s all ease-in-out;
}

/*Pages soeurs*/

.bloc-swiperposts .pagessoeurs .swiper-slide {
    min-height: 500px !important;
}
.bloc-swiperposts .pagessoeurs .swiper-slide .imgcropCtn {
    height: 250px !important;
}

.bloc-swiperposts .pagessoeurs .swiper-slide .contentPartContainer .content {
    flex-direction: column;
}

.bloc-swiperposts .pagessoeurs .swiper-slide .contentPartContainer {
    background-color: #16225B;
    border-radius: 0 0 20px 20px;
}

.bloc-swiperposts .pagessoeurs .swiper-slide .contentPartContainer h3 {
    display: -webkit-box;
    color: #E6FCFF;
    font-size: 2.4rem;
    overflow: hidden;
    -webkit-line-clamp: 2;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
}

.bloc-swiperposts .pagessoeurs .swiper-slide .contentPartContainer p {
    color: #E6FCFF;
    margin: 0 0 16px 0;
}

.bloc-swiperposts .pagessoeurs .swiper-slide a .imgcropCtn {
    border-radius: 20px 20px 0 0;
}

/*Autre*/

.bloc-swiperposts .swiperposts-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/*Swiper Actus*/

.swiperposts-post {
    z-index: 1;
    position: relative;
    padding: 128px 0;
    background-color: #45D6FE;
    overflow: hidden;
}

.swiperposts-post::after {
    z-index: 0;
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: auto;
    height: 100%;
    aspect-ratio: 1 / 1;
    background-image: url(https://waterformcom.lfzp9407.odns.fr/wp-content/uploads/2024/11/MotifArticleBis.svg);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.swiperposts-post .swiperposts-top {
    z-index: 1;
    position: relative;
    margin: 0 auto;
}

.swiperposts-post .swiperposts-top h2 {
    color: white;
    margin: 0;
}

.swiperposts-post .swiperposts-top a {
    margin: 0;
}

.swiperposts-post .swiperMyProdPosts {
    z-index: 1;
    position: relative;
}

.swiperposts-post .swiperMyProdPosts .swiper-slide a .imgcropCtn {
    display: block;
    width: 100%;
    height: 250px;
    border-radius: 24px 24px 0 0;
}

.swiperposts-post .swiperMyProdPosts .swiper-slide a .contentPartContainer {
    background-color: #16225b;
    border-radius: 0 0 24px 24px;
}

.swiperposts-post .swiperMyProdPosts .swiper-slide a .contentPartContainer h3 {
    display: -webkit-inline-box;
    -webkit-box-orient: vertical;
    color: white;
    width: 100%;
    -webkit-line-clamp: 1;
    overflow: hidden;
    text-overflow: ellipsis;
}

.swiperposts-post .swiperMyProdPosts .swiper-slide .btn {
    color: white;
    background-color: transparent;
    border: 1px solid white;
}

.swiperposts-post .swiperMyProdPosts .swiper-slide a .contentPartContainer .description {
    color: white;
}

/*Swiper Pages enfants*/

.bloc-swiperposts .pagesenfants .swiper-slide > a {
    justify-content: space-between;
}

.bloc-swiperposts .swiper-slide .contentPartContainer {
    display: flex;
    flex: 1 1 0;
    justify-content: space-between;
    flex-direction: column;
    padding: 24px;
}

.bloc-swiperposts .swiper-slide .contentPartContainer .content {
    padding: 0 0 0 0;
}

.bloc-swiperposts .swiper-slide .contentPartContainer .buttonArrow {
    padding: 0;
}

.bloc-swiperposts .pagesenfants .swiper-slide h3 {
    font-size: 1.6rem;
}

/*Lien*/

.bloc-swiperposts .texte-lien__btn {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: fit-content;
    flex: 1 0 0;
    border: 0;
    padding: 0;
    transition: 0.3s all ease-in-out;
}

.bloc-swiperposts .texte-lien__btn:hover {
    opacity: 0.6 !important;
    border: 0;
    background: unset;
}

.bloc-swiperposts .texte-lien__btn span {
    display: block;
    font-size: 1.4rem;
    font-weight: 700;
    color: black;
    text-decoration: underline black;
    margin: 0 16px 0 0;
    transition: 0.3s all ease-in-out;
}

.bloc-swiperposts .texte-lien__btn svg {
    display: block;
    transition: 0.3s all ease-in-out;
}


.bloc-swiperposts .texte-lien__btn:hover {
    opacity: 0.8;
    transition: 0.3s all ease-in-out;
}

.bloc-swiperposts .texte-lien__btn:hover svg {
    transform: rotate(180deg);
    transition: 0.3s all ease-in-out;
}

.bloc-swiperposts .pagessoeurs h3 {
    font-size: 1.6rem;
}

/*Activités*/

.swiperposts-activite .swiper-slide .imgcropCtn {
    display: flex;
    height: 250px;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
}

.swiperposts-activite .swiper-slide .contentPartContainer {
    padding: 16px 0;
}

/*Produits*/

.swiperposts-product .swiper-slide .imgcropCtn {
    display: flex;
    align-items: center;
    justify-content: center;
}

.swiperposts-product .swiper-slide .imgcropCtn .imgcrop {
    position: initial;
    display: flex;
    width: auto;
    height: 250px;
}

@media (max-width: 1500px) {
    .bloc-swiperposts h3 {
        font-size: 1.6rem;
    }

    .swiperposts-top > h3 {
        font-size: 2.2rem;
    }
}

@media (max-width: 1366px) {

    .bloc-swiperposts .swiper-button-prev {
        left: -50px;
    }

    .bloc-swiperposts .swiper-button-next {
        right: -50px;
    }

}

@media (max-width: 767px) {
    .bloc-swiperposts .swiper-button-prev, .bloc-swiperposts .swiper-button-next {
        display: block;
    }

    .bloc-swiperposts .swiper-button-prev {
        left: 5px;
    }

    .bloc-swiperposts .swiper-button-next {
        right: 5px;
    }
}