.slider-image {
    overflow: hidden;
    padding: 32px 20px;
}

@media screen and (min-width: 768px) {
    .slider-image {
        padding: 64px 20px;
    }
}

.slider-image.has-background {
    background: var(--ocre-20);
}

.has-1 .slider-image--title {
    display: none;
}

@media screen and (min-width: 992px) {
    .has-more .slider-image--title {
        order: 1;
        max-width: 60%;
    }
}

.has-2 .slider-image--container,
.has-more .slider-image--container {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

@media screen and (min-width: 992px) {
    .has-more .slider-image--container {
        flex-direction: row;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .has-2 .slider-image--container,
    .has-more .slider-image--container {
        gap: 60px;
    }
}

.slider-image--container h2 {
    color: var(--neutre-100);
    font-size: 28px;
    font-style: normal;
    font-weight: 700;
    line-height: 36px;
    text-align: center;
    max-width: 550px;
    margin: auto;
}

@media screen and (min-width: 992px) {
    .slider-image--container h2 {
        font-size: 32px;
        line-height: 40px;
        text-align: left;
        margin: 0;
    }

    .has-2 .slider-image--container h2 {
        max-width: 60%;
    }
}

.has-2 .slider-image--list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

@media screen and (min-width: 992px) {
    .has-2 .slider-image--list {
        flex-direction: row;
        gap: 32px;
    }

    .has-more .slider-image--list {
        order: 3;
    }
}

@media screen and (min-width: 768px) {
    .slider-image .co-text--content-btn {
        justify-content: center;
        gap: 32px;
    }
}

.slider-image--card {
    color: var(--neutre-100);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* .slider-image--card>a {
    display: flex;
    width: 100%;
} */

.has-1 .slider-image--card {
    gap: 16px;
}

@media screen and (min-width: 992px) {
    .has-1 .slider-image--card {
        flex-direction: row;
        gap: 32px;
    }
}

.slider-image--card .has-2 {
    flex: 1;
}

.slider-image--card-content {
    display: flex;
    flex-direction: column;
}

.has-2 .slider-image--card-content,
.has-more .slider-image--card-content {
    gap: 4px;
}

.has-1 .slider-image--card-content {
    gap: 16px;
}

@media screen and (min-width: 992px) {
    .has-1 .slider-image--card-content {
        gap: 30px;
    }
}

.th-dore .slider-image--card-content .uptitle {
    color: var(--ocre-100);
}

.has-1 .slider-image--card-content .uptitle {
    margin-bottom: -10px;
    text-align: center;
}

@media screen and (min-width: 992px) {
    .has-1 .slider-image--card-content .uptitle {
        margin-bottom: -26px;
        text-align: left;
    }
}

.slider-image--card-content h3 {
    font-size: 1.375rem;
}

.has-1 .slider-image--card-content h3 {
    font-size: 2rem;
    font-style: normal;
    font-weight: 700;
    line-height: 40px;
    text-align: center;
}

@media screen and (min-width: 992px) {
    .has-1 .slider-image--card-content h3 {
        font-size: 3rem;
        line-height: 56px;
        text-align: left;
    }

    .has-2 .slider-image--card-content h3,
    .has-more .slider-image--card-content h3 {
        font-size: 1.5rem;
    }
}

.has-1 .slider-image--card-content p {
    color: var(--neutre-60);
    text-align: center;
}

@media screen and (min-width: 992px) {
    .has-1 .slider-image--card-content p {
        text-align: left;
    }
}

.has-2 .slider-image--card-content p,
.has-more .slider-image--card-content p {
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.has-1 .slider-image--card-content .btn {
    margin-inline: auto;
}

@media screen and (min-width: 992px) {
    .has-1 .slider-image--card-content .btn {
        margin-inline: 0;
    }
}

.slider-image--card img {
    height: 230px;
    width: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    border-radius: 8px;
}

.has-more .slider-image--card img {
    height: 430px;
}

@media screen and (min-width: 992px) {
    .slider-image--card img {
        height: 430px;
    }
}

@media screen and (min-width: 992px) {
    .has-1 .slider-image--card img {
        width: 100vw;
        max-width: 800px;
    }
}

.slider-image--navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

@media screen and (min-width: 992px) {
    .slider-image--navigation {
        justify-content: flex-start;
    }
}

.has-2 .slider-image--navigation,
.has-1 .slider-image--navigation {
    display: none;
}

.has-more .slider-image--navigation {
    order: 3;
}

@media screen and (min-width: 992px) {
    .has-more .slider-image--navigation {
        order: 2;
    }
}

.slider-image--navigation button span {
    height: 72px;
    width: 72px;
}

.slider-image--dots {
    display: flex;
    width: 100%;
}

.th-dark .slider-image--dots {
    --button-bg: var(--neutre-40);
    --active-bg: var(--neutre-100);
}

.th-dore .slider-image--dots {
    --button-bg: var(--ocre-40);
    --active-bg: var(--ocre-100);
}

.th-light .slider-image--dots {
    --button-bg: var(--neutre-40);
    --active-bg: var(--neutre-100);
}

.has-2 .slider-image--dots,
.has-1 .slider-image--dots {
    display: none;
}

.has-more .slider-image--dots {
    order: 3;
}

.slider-image--dots button {
    height: 1px;
    flex: 1;
    background: var(--button-bg);
    transition: all 0.4s ease;
}

.slider-image--dots button.active {
    background: var(--active-bg);
}

.slider-image--buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 100%;
}

@media screen and (min-width: 992px) {
    .slider-image--buttons {
        flex-direction: row;
        justify-content: center;
        gap: 32px;
    }
}

.has-1 .slider-image--buttons {
    display: none;
}

.has-2 .slider-image--buttons,
.has-more .slider-image--buttons {
    order: 9;
}


/* slider formation texte */
.slider-formation {
    overflow: hidden;
}

.slider-formation--card {
    border: 1px solid var(--ocre-100);
    border-radius: 20px;
    padding: 24px;
}

.th-dark .slider-formation--card,
.th-light .slider-formation--card {
    border-color: var(--neutre-100);
}

@media screen and (min-width: 992px) {
    .slider-formation--card {
        padding: 40px;
    }
}

.slider-formation--card .picto {
    display: block;
    height: 32px;
    width: 32px;
    background: var(--ocre-100);
    -webkit-mask: var(--picto-url);
    mask: var(--picto-url);
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-position: center;
    mask-position: center;
    margin-bottom: 16px;
}

.th-dark .slider-formation--card .picto,
.th-light .slider-formation--card .picto {
    background: var(--neutre-100);
}

@media screen and (min-width: 992px) {
    .slider-formation--card .picto {
        height: 48px;
        width: 48px;
    }
}

.slider-formation--card p {
    color: var(--neutre-80);
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
}

.th-dark .slider-formation--card p,
.th-light .slider-formation--card p {
    color: var(--neutre-100);
}

.slider-formation--card .title {
    font-family: var(--robotoSlab);
    color: var(--ocre-100);
    font-size: 1.375rem;
    font-style: normal;
    font-weight: 700;
    line-height: 28px;
    margin-bottom: 32px;
}

@media screen and (min-width: 992px) {
    .slider-formation--card .title {
        max-width: 50%;
    }
}

.th-dark .slider-formation--card .title,
.th-light .slider-formation--card .title {
    color: var(--neutre-100);
}

.slider-formation.has-more .slider-formation--card {
    height: 100%;
    display: block;
}

.slider-formation--container {
    display: flex;
    flex-direction: column;
}

@media screen and (min-width: 992px) {
    .has-1 .slider-formation--container {
        max-width: 1140px;
        margin-inline: auto;
        flex-direction: row;
        gap: 64px;
    }

    .has-2 .slider-formation--container,
    .has-more .slider-formation--container {
        max-width: 1216px;
        margin-inline: auto;
    }
}

.slider-formation--container .slider-formation--title p,
.slider-formation--container .slider-formation--title h2 {
    text-align: center;
    margin-inline: auto;
}

@media screen and (min-width: 992px) {
    .has-1 .slider-formation--container .slider-formation--title {
        width: 100%;
        max-width: 592px;
    }

    .has-1 .slider-formation--container .slider-formation--title p,
    .has-1 .slider-formation--container .slider-formation--title h2 {
        text-align: left;
    }

    .has-2 .slider-formation--container .slider-formation--title .co-text--content-btn,
    .has-more .slider-formation--container .slider-formation--title .co-text--content-btn {
        justify-content: center;
    }
}

.slider-formation--container .slider-formation--list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

@media screen and (min-width: 992px) {
    .has-2 .slider-formation--container .slider-formation--list {
        flex-direction: row;
        gap: 32px;
        align-items: center;
    }
}

.slider-formation--container .slider-formation--card {
    width: 100%;
}

@media screen and (min-width: 992px) {
    .has-2 .slider-formation--container .slider-formation--card {
        width: calc(50% - 16px);
    }
}

.has-more .slider-formation--container .owl-stage {
    display: flex;
}

.has-more .slider-formation--container .owl-stage-outer {
    overflow: visible;
    margin-left: -24px;
}

@media screen and (min-width: 768px) {
    .has-more .slider-formation--container .owl-stage-outer {
        margin-left: -32px;
    }
}

@media screen and (min-width: 1280px) {
    .has-more .slider-formation--container .owl-stage-outer {
        margin-left: -104px;
    }
}

.slider-formation--container .co-text--content-btn {
    justify-content: center;
}

@media screen and (min-width: 992px) {
    .has-1 .slider-formation--container .co-text--content-btn {
        display: none;
    }
}

.slider-formation--container .slider-formation--title .co-text--content-btn {
    display: none;
}

@media screen and (min-width: 992px) {
    .has-1 .slider-formation--container .slider-formation--title .co-text--content-btn {
        display: flex;
        justify-content: flex-start;
    }
}