.bloc-swiperposts {
    position: relative;
    background-color: white;
}

.bloc-swiperposts h3 {
    font-size: 1.8rem;
    line-height: 1.2;
    color: white;
    margin: 0;
}

.bloc-swiperposts .swiperposts-wrap {
    overflow: hidden;
}

.bloc-swiperposts .swiperposts-wrap .swiper {
    overflow: visible;
}

.bloc-swiperposts .swiperposts-wrap .swiper .swiper-slide {
    position: relative;
    display: block;
    width: 100%;
    height: 225px;
    margin: 0;
    margin: 0 0 16px 0;
    transition: 0.3s all ease;
}

.bloc-swiperposts .swiperposts-wrap .swiper .swiper-slide .imgcropCtn {
    z-index: 0;
    width: 100%;
    height: 100%;
    border-radius: 40px;
    overflow: hidden;
}

.bloc-swiperposts .swiperposts-wrap .swiper .swiper-slide .imgcropCtn::before {
    content: "";
    z-index: 1;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 40px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.20) 0%, rgba(0, 0, 0, 0.20) 100%);
}

.bloc-swiperposts .swiperposts-wrap .swiper .swiper-slide .contentPartContainer {
    z-index: 2;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 0;
    background-color: transparent;
}

.bloc-swiperposts .swiperposts-wrap .swiper .swiper-slide .contentPartContainer h3 {
    font-family: "Bricolage Grotesque";
    font-size: 2.8rem;
    text-align: center;
    color: white;
}

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

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

.swiperposts-formation .swiperposts-top > h3 {
    color: #163E6F;
}

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

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

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

.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.5rem;
    font-weight: 200;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    align-self: stretch;
    text-overflow: ellipsis;
}

.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://www.challengesacademiacom.gqoe9330.odns.fr/wp-content/uploads/2024/03/sliderarrow.svg");
    background-position: center center;
    background-repeat: no-repeat;
}

.bloc-swiperposts .swiper-button-prev {
    left: -50px;
    background-size: contain;
    background-image: url("https://www.challengesacademiacom.gqoe9330.odns.fr/wp-content/uploads/2024/03/sliderarrow.svg");
    background-position: center center;
    background-repeat: no-repeat;
    transform: translateY(-50%) rotate(180deg);
}

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

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

.bloc-swiperposts .buttonArrow {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    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.8;
    transition: 0.3s all ease;
}

.bloc-swiperposts .swiperMyProdPosts .swiper-slide:nth-child(even):hover {
    opacity: 0.8;
    transition: 0.3s all ease;
}

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

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

.swiperposts-post {
    background: linear-gradient(104deg, #EF8017 0%, #F3B000 100%) !important;
}

.swiperposts-post .swiperposts-top {
    margin: 0 auto 16px auto;
}

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

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

.swiperposts-post .swiperMyProdPosts .swiper-slide {
    background: linear-gradient(102deg, #040C16 -2.46%, #17447C 98.09%) !important;
}

/*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 {
    display: none;
    padding: 0;
}

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

.bloc-swiperposts .pagesenfants .swiper-slide .imgcropCtn {
   height: 280px !important;
}

.swiperposts-post .imgcropCtn {
    height: 50% !important;
}
/*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: white;
    text-decoration: underline white;
    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;
}

@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: none;
    }
}