
/* -------------------- acf-block-testimonies -------------------- */

.acf-testimonies {
    background:var(--color-primary);
    padding: 85px 0;
}

.acf-testimonies .container {

}
.acf-testimonies .section__title {
    width: 100%;
    text-align: center;
    margin: 0 0 45px 0;
}
.acf-testimonies .section__footer {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 50px 0 0 0;
}
.acf-testimonies .testimonies.is-loading {
    opacity: .7;
    pointer-events: none
}

/* Liste des témoignages */
.acf-testimonies .testimonies__viewport {
    position: relative;
    overflow: hidden
}

/* Affichage d'une slide */
.acf-testimonies .testimonies__slide {
    transition: opacity .25s ease
}



.acf-testimonies .testimonies__quote {
    font-size: 18px;
    line-height: 1.6;
    margin: 0 auto;
    max-width: 975px;
    text-align: center;
    color:var(--color-white);
}

.acf-testimonies .testimonies__meta {
    font-size: 20px;
}

.acf-testimonies .testimonies__client {
    display: block;
    margin-bottom: .25rem
}



/* Affichage des contrôles */
.acf-testimonies .testimonies__controls {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: none
}

.acf-testimonies .testimonies__prev,
.acf-testimonies .testimonies__next {
    pointer-events: auto;
    width: 42px;
    height: 42px;
    border: 0;
    cursor: pointer
}
.acf-testimonies .testimonies__prev svg *,
.acf-testimonies .testimonies__next svg * {
    fill:var(--color-black);
    transition: linear .15s;
}
.acf-testimonies .testimonies__prev:hover svg *,
.acf-testimonies .testimonies__next:hover svg * {
    fill:var(--color-white);
}

.acf-testimonies  .testimonies__client {
    width: 100%;
    text-align: center;
    color:var(--color-white);
    margin: 20px 0 0 0;
    font-weight: 700;
    font-size:18px;
}

.acf-testimonies   .section__footer .button {
    margin: 0;
}
/* Affichage pour les lecteurs d'écran */
.acf-testimonies .visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0
}

/* Supprime les animations pour les utilisateurs qui préfèrent une expérience sans mouvements */
@media (prefers-reduced-motion: reduce) {
    .acf-testimonies .testimonies__slide {
        transition: none;
    }
}


@media all and (max-width: 750px){
    .acf-testimonies .testimonies__controls {
        position: relative;
        inset:initial;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 32px 0 0 0;
        gap:10px;
    }
}
