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

.bloc-swiperposts h3 {
    font-size: 1.8rem;
    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 {
    background: #0093CD;
    min-height: 450px;
    border-radius: 8px;
    transition: 0.3s all ease-in-out;
}

.bloc-swiperposts .swiperMyProdPosts .swiper-slide:nth-child(4n+1) {
    background: rgb(22,62,111);
}

.bloc-swiperposts .swiperMyProdPosts .swiper-slide:nth-child(4n+2) {
    background: rgb(239,128,23);
}

.bloc-swiperposts .swiperMyProdPosts .swiper-slide:nth-child(4n+3) {
    background: rgb(0,159,227);
}

.bloc-swiperposts .swiperMyProdPosts .swiper-slide:nth-child(4n+4) {
    background: rgb(243,176,0);
}

.bloc-swiperposts .swiperMyProdPosts .swiper-slide:nth-child(4n+5) {
    background: rgb(0,159,227);
}

.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 .imgcropCtn {
   width: 100%;
   height: 50%;
   border-radius: 8px 8px 50px 0;
   transition: 0.3s all ease-in-out;
}

.bloc-swiperposts .swiperMyProdPosts .swiper-slide a:hover .imgcropCtn {
    border-radius: 8px 8px 25% 0;
    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.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 .buttonArrowVector rect {
    fill: #163E6F;
}

.bloc-swiperposts .swiperMyProdPosts .swiper-slide:nth-child(4n+1) .buttonArrowVector rect {
    fill: #0093CD;
}

.bloc-swiperposts .swiperMyProdPosts .swiper-slide:nth-child(4n+2) .buttonArrowVector rect {
    fill: #F3B000;
}

.bloc-swiperposts .swiperMyProdPosts .swiper-slide:nth-child(4n+3) .buttonArrowVector rect {
    fill: #163E6F;
}

.bloc-swiperposts .swiperMyProdPosts .swiper-slide:nth-child(4n+4) .buttonArrowVector rect {
    fill: #EF8017;
}

.bloc-swiperposts .swiperMyProdPosts .swiper-slide:nth-child(4n+5) .buttonArrowVector rect {
    fill: #163E6F;
}

.bloc-swiperposts .swiperMyProdPosts .swiper-slide:hover {
    opacity: 0.9;
    transform: scale(0.96) rotate(0.5deg);
    box-shadow: 0px 3px 6px 0px #00000029;
    transition: 0.3s all ease-in-out;
}

.bloc-swiperposts .swiperMyProdPosts .swiper-slide:nth-child(even):hover {
    transform: scale(0.96) rotate(-0.5deg);
    box-shadow: 0px 3px 6px 0px #00000029;
    transition: 0.3s all ease-in-out;
}

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

.bloc-swiperposts .pagessoeurs .swiper-slide {
    min-height: 500px !important;
    background-color: #ef8017 !important;
}

.bloc-swiperposts .pagessoeurs .swiper-slide .buttonArrowVector rect {
    fill: #F3B000;
}

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

.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;
}

.swiperposts-post .swiperMyProdPosts .swiper-slide .buttonArrowVector rect {
    fill: #EF8017 !important;
}

/*Swiper Pages enfants*/

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

.bloc-swiperposts .pagesenfants .swiper-slide:nth-child(odd) {
    min-height: 500px;
    background: rgb(239,128,23);
    background: -moz-linear-gradient(90deg, rgba(239,128,23,1) 0%, rgba(243,176,0,1) 100%);
    background: -webkit-linear-gradient(90deg, rgba(239,128,23,1) 0%, rgba(243,176,0,1) 100%);
    background: linear-gradient(90deg, rgba(239,128,23,1) 0%, rgba(243,176,0,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ef8017",endColorstr="#f3b000",GradientType=1);
}

.bloc-swiperposts .pagesenfants .swiper-slide:nth-child(even) {
    min-height: 500px;
    background: rgb(22,62,111);
    background: -moz-linear-gradient(90deg, rgba(22,62,111,1) 0%, rgba(0,147,205,1) 100%);
    background: -webkit-linear-gradient(90deg, rgba(22,62,111,1) 0%, rgba(0,147,205,1) 100%);
    background: linear-gradient(90deg, rgba(22,62,111,1) 0%, rgba(0,147,205,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#163e6f",endColorstr="#0093cd",GradientType=1);
}

.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;
}

.bloc-swiperposts .pagesenfants .swiper-slide:nth-child(odd) .buttonArrowVector rect {
    fill: #0093CD !important;
}

.bloc-swiperposts .pagesenfants .swiper-slide:nth-child(even) .buttonArrowVector rect {
    fill: #F3B000 !important;
}

.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 svg rect {
    fill: #EF8017;
}

.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 .swiper-slide .buttonArrowVector rect {
    fill: #F3B000 !important;
}

.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;
    }
}