/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/


/* === Témoignage AutoRoute - Version fidèle à l'image originale === */
.strong-view.unstyled .wpmtst-testimonial {
    background: #ffffff;
    border: 30px solid #4f5252;
    border-top: none;
    border-right: none;
    border-radius: 0;
    padding: 40px 20px;
    position: relative;
    max-width: 595px;
    margin: 0px auto;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* Bande noire du haut */
.strong-view.unstyled .wpmtst-testimonial::before {
    content: "";
    display: block;
    background: #4f5252;
    height: 67px;
    width: 100px;
    position: absolute;
    top: 0;
    left: 0px;
}

.wpmtst-testimonial-inner.testimonial-inner::before{
    content: "";
    display: block;
    position: absolute;
    background-color: #ffffff;
    width: 10px;
    height: 40px;
    bottom: -40px;
    right: -3px;
    box-shadow: 0 -2px 0px rgba(0, 0, 0, 0.1);
}

/* Étoiles dans la bande noire */
.strong-view.unstyled .wpmtst-testimonial .strong-rating {
    position: absolute;
    top: 0;
    left: 65px;
    z-index: 3;
    color: #fff;
}
.strong-view.unstyled .wpmtst-testimonial .strong-rating-wrapper .star {
    background: #4f5252;
    padding-right: 5px;
    height: 67px;
}
.strong-view.unstyled .wpmtst-testimonial .strong-rating-wrapper .star:last-child {
    padding-right: 20px;
}
.strong-view.unstyled .wpmtst-testimonial .strong-rating-wrapper .star svg {
    width: 45px;
    padding-top: 12px;
}
.strong-view.unstyled .wpmtst-testimonial .strong-rating-wrapper .star svg path {
    fill: #FFF;
}

/* Photo ronde du client — doit chevaucher la bande noire */
.strong-view.unstyled .wpmtst-testimonial .wpmtst-testimonial-image {
    position: absolute;
    top: -15px;
    left: -50px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #555555;
    z-index: 4;
}
.wpmtst-testimonial-inner.testimonial-inner::after {
    content: "";
    position: absolute;
    z-index: 3;
    background-color: transparent;
    width: 100px;
    height: 100px;
    border: solid 6px #ffffff;
    left: -56px;
    top: -21px;
    border-radius:  50%;
}

/* Texte du témoignage */
.strong-view.unstyled .wpmtst-testimonial .testimonial-content {
    margin-top: 80px;
    font-size: 20px;
    line-height: 1.6;
    color: #111;
    font-family: "Georgia", serif;
}

/* Nom du client */
.strong-view.unstyled .wpmtst-testimonial .testimonial-name {
    font-weight: 600;
    margin-top: 15px;
    color: #111;
    font-size: 17px;    
    font-family: serif;
}

/* Logo en bas à droite */
.strong-view.unstyled .wpmtst-testimonial::after {
    content: "";
    background-image: url('https://garantieautoroute.com/wp-content/uploads/garantie-autoroute-85.jpg');
    background-size: cover;
    position: absolute;
    bottom: 15px;
    right: 10px;
    width: 145px;
    height: 55px;
}

/* Responsive */
@media (max-width: 700px) {
    .strong-view.unstyled .wpmtst-testimonial {
        padding: 60px 25px 100px 25px;
    }
    .strong-view.unstyled .wpmtst-testimonial::before {
        left: 25px;
        width: calc(100% - 50px);
    }
    .strong-view.unstyled .wpmtst-testimonial .wpmtst-testimonial-image {
        top: 15px;
        left: 25px;
        width: 80px;
        height: 80px;
    }
    .strong-view.unstyled .wpmtst-testimonial .strong-rating {
        left: 120px;
        font-size: 18px;
    }
}

.wpmslider-wrapper {
    max-width: 600px !important;
}
.wpmslider-viewport {
    overflow: unset !important;
}