.cpt-formations-feed {
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    padding-top: 38px;
    padding-bottom: 38px;
}

.cpt-formations-feed__title {
    font-family: "Figtree", sans-serif;
    font-weight: 700;
    font-size: 32px;
    line-height: 42px;
    text-align: center;
    padding: 0 var(--global-sides-margin);
}
@media screen and (min-width: 768px) {
    .cpt-formations-feed__title {
        font-size: 48px;
        line-height: 54px;
    }
}
.cpt-formations-feed__text {
    font-family: "Figtree", sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 22px;
    text-align: center;
    padding: 0 var(--global-sides-margin);
    margin-top: 15px;
    
    max-width: 115ch;
}

.cpt-formations-feed .swiper {
    --swiper-pagination-color: var(--dark-purple);
    --swiper-pagination-bullet-inactive-color: var(--dark-purple);
    width: 100%;
    margin-top: 38px;
    margin-bottom: 38px;
}
@media screen and (min-width: 1166px) {
    .cpt-formations-feed .swiper {
        padding: 0 var(--global-sides-margin);
    }
}
.cpt-formations-feed .swiper-pagination-bullet-active-next,
.cpt-formations-feed .swiper-pagination-bullet-active-next-next,
.cpt-formations-feed .swiper-pagination-bullet-active-prev,
.cpt-formations-feed .swiper-pagination-bullet-active-prev-prev {
    transform: scale(0.5);
}
.cpt-formations-feed .swiper-pagination {
    position: relative;
    bottom: auto;
    margin-top: 22px;
}

.cpt-formations-feed .formation-card {
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    position: relative;
    transition-property: transform;
    
    max-width: 374px; 
    max-width: min(374px, calc(100vw - 60px));
}

.cpt-formations-feed .swiper:not(.swiper-initialized) .swiper-pagination {
    display: none;
}
.cpt-formations-feed .swiper:not(.swiper-initialized) .swiper-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    justify-items: center;
    gap: 30px 22px;   
}



.cpt-formations-feed.white-bg .swiper-wrapper {
    padding: 10px 0;
}
.cpt-formations-feed.white-bg .formation-card {
    background: rgba(0, 0, 0, 0.02);
    box-shadow: 0 0 10px 0 rgb(0 0 0 / 20%);
}
@media screen and (min-width: 768px) {
    .cpt-formations-feed {
        padding-top: 80px;
        padding-bottom: 80px;    
    }
}
@media screen and (min-width: 1025px) {
    .cpt-formations-feed .swiper:not(.swiper-initialized) .swiper-wrapper.max-width {
        max-width: 1170px;
        margin: 0 auto;
    }
}