.testimonials-swiper {
    overflow: hidden;
}

.swiper-slide {
    width: calc(33.333% - 20px) !important; /* Pour les écrans larges */
}

@media (max-width: 1023px) {
    .swiper-slide {
        width: calc(50% - 15px) !important; /* Pour les tablettes */
    }
}

@media (max-width: 639px) {
    .swiper-slide {
        width: 100% !important; /* Pour les mobiles */
    }
}

@media all and (min-width: 1024px) {
    .swiper-button-next, .swiper-rtl .swiper-button-prev {
        right: -40px !important;
    }

    .swiper-button-prev, .swiper-rtl .swiper-button-next {
        left: -40px !important;
    }
}


.swiper-button-next, .swiper-rtl .swiper-button-prev,
.swiper-button-prev, .swiper-rtl .swiper-button-next {
    color: #cf9955 !important;
}

.swiper-pagination-bullet {
    background-color: #cf9955 !important;
    opacity: .3 !important;
}

.testimonials-swiper .swiper-pagination-bullet-active {
    background-color:  #cf9955 !important;
    opacity: 1 !important;
}

/* Égalisation de la hauteur des slides */
.testimonials-swiper {
    height: auto;
}

.swiper-wrapper {
    align-items: stretch; /* Étire les éléments pour qu'ils aient la même hauteur */
}

.swiper-slide {
    height: auto !important; /* Force toutes les slides à utiliser la hauteur auto */
    display: flex;
}

.testimonial-item {
    display: flex;
    flex-direction: column;
    height: 100%; /* Utilise toute la hauteur disponible */
    width: 100%;
}

/* Assurez-vous que le contenu peut s'étirer */
.testimonial-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.testimonial-text {
    flex-grow: 1; /* Permet au texte de s'étirer */
}

/* Styles pour le container de témoignages */
.testimonials-carousel-container,
.testimonials-simple-container {
    position: relative;
    margin: 30px 0;
}

/* Solution spécifique pour égaliser les hauteurs dans le conteneur simple */
.testimonials-simple-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.testimonials-simple-container .testimonial-item {
    display: flex;
    flex-direction: column;
    width: calc(33.333% - 20px);
    margin-bottom: 30px;
    height: auto;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    background-color: #fff;
}

/* Style pour chaque témoignage */
.testimonial-item {
    display: flex;
    flex-direction: column;
    /*padding: 20px;*/
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    background-color: #fff;
    height: 100%;
}

/* Style pour le portrait */
.testimonial-portrait {
    text-align: center;
    margin-bottom: 15px;
}

.testimonial-portrait img {
    object-fit: cover;
}

/* Style pour le contenu du témoignage */
.testimonial-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    padding: 20px 40px;
}

.testimonial-text {
    position: relative;
    flex-grow: 1;
    margin-bottom: 25px;
    font-family: "EuclidFlexBold", sans-serif;
    font-size: 16px;
    line-height: 1.3em;
    color: #0A517C;
}

.testimonial-text::after {
    content: '';
    position: absolute;
    width: 50%;
    height: 2px;
    bottom: -25px;
    left: 0;
    right: 0;
    background-color: #CF9955;
}

.testimonial-info {
    margin-top: auto;
}

.testimonial-name {
    font-family: "EuclidFlexBold", sans-serif;
    font-size: 18px;
    color: #cf9955;
    text-transform: uppercase;
    margin-top: 25px;
}

.testimonial-job {
    font-family: "EuclidFlex", sans-serif;
    font-size: 14px;
    line-height: 1.3em;
    color: #0A517C;
    margin-top: 5px;
}

.testimonial-brand {
    font-weight: bold;
    color: #333;
    margin-top: 5px;
}

/* Style pour le Swiper */
.testimonials-swiper {
    padding-bottom: 50px; /* Espace pour la pagination */
}

/* Style pour les boutons de navigation */
.testimonials-swiper .swiper-button-next,
.testimonials-swiper .swiper-button-prev {
    color: #333;
}

/* Style pour la pagination */
.testimonials-swiper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
}

.testimonials-swiper .swiper-pagination-bullet-active {
    background-color: #333;
}

/* Responsive */
@media (max-width: 767px) {
    .testimonial-item {
        padding: 15px;
    }
}

.testimonial-quotes-container {
    position: absolute;
    width: 45px;
}

.testimonial-quotes-container#left {
    top: 0;
    left: -80px;
}

.testimonial-quotes-container#right {
    top: 150px;
    right: -80px;
}