.fs-formations-slider {
    position: relative;
    width: 100%;
    overflow: visible;
}

.fs-formations-slider .swiper-slide {
    height: auto;
}

/*----- Swiper pagination -----*/
.fs-formations-slider .swiper-custom-pagination-formation {
    position: relative;
    height: 4px;
    flex: 1;
    background-color: rgba(217, 217, 217, 0.4);
    border-radius: 2px;
    margin-top: 20px;
    margin-bottom: 30px;
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
}

.fs-formations-slider .swiper-pagination-progressbar-fill {
    height: 4px;
    top: 0;
    bottom: 0;
    margin: auto;
    border-radius: 20px !important;
    background-color: #F3BE72;
}

/* ------- */

/* Formation Card Styles */
.formation-card-link {
    text-decoration: none;
    display: block;
    height: 100%;
    color: inherit;
}

.formation-card {
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.formation-card-link:hover .formation-card {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.formation-card-link:hover .formation-link {
    color: var(--e-global-color-primary);
}

.formation-thumbnail {
    position: relative;
    overflow: hidden;
    background: linear-gradient(0deg, rgba(217, 217, 217, 0.20) 0%, rgba(217, 217, 217, 0.20) 100%), #FFF;
    z-index: 1;
    padding: 35px 35px 55px 35px;
    min-height: 160px;
    max-height: 160px;
}

.formation-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.formation-content {
    padding: 10px 10px 30px 10px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    border: solid 1px rgba(217, 217, 217, 0.5);
    border-radius: 20px;
    background-color: white;
    margin-top: -20px;
    z-index: 2;
}

.formation-content-in {
    padding: 0px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.formation-sector {
    color: rgba(29, 29, 27, 0.50);
    font-family: "Lato", sans-serif;
    font-size: 10px;
    font-style: normal;
    font-weight: 900;
    line-height: 12px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 5px;
    border-bottom: solid 1px rgba(0, 0, 0, 0.1);
    padding: 0px 20px;
}

.formation-content-in-top .formation-school {
    color: #134169;
    font-family: "Lato", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 900;
    line-height: 14px;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    margin-top: 15px;
}

.formation-content-in-top .formation-school p {
    margin: 0px;
    padding: 0px;
}

.formation-content-in-top .formation-town {
    color: rgba(29, 29, 27, 0.50);
    font-family: "Lato", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    margin-bottom: 5px;
}

.formation-content-in-top h3.formation-title {
    margin: 10px 0px;
    color: #1D1D1B;
    font-family: "Lato", sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 800;
    line-height: 24px;
    text-transform: initial;
    text-decoration: none;
}

.formation-content-in-top .formation-levels {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px 0 15px;
}

.formation-content-in-top .formation-level {
    color: white;
    font-family: "Lato", sans-serif;
    font-size: 12px;
    font-style: normal;
    font-weight: 900;
    line-height: 20px;
    background-color: rgba(243, 190, 114, 1);
    padding: 4px 11px;
    border-radius: 30px;
    letter-spacing: 0.6px;
}

.formation-content-in-top h3.formation-title a:hover {
    color: var(--e-global-color-primary);
}

.formation-content-in-top .formation-excerpt {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.formation-content-in-bottom .formation-link {
    color: #134169;
    font-family: "Lato", sans-serif;
    font-size: 12px;
    font-style: normal;
    font-weight: 900;
    line-height: normal;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    border-bottom: solid 1px rgba(19, 65, 105, 0.5);
    width: fit-content;
    padding-bottom: 5px;
}

.formation-content-in-bottom .formation-link:hover {
    color: var(--e-global-color-primary-dark);
}