/* ─────────────────────────────────────────────────────────────
   evyAI Testimonials — 1:1 copy of the reference <style> block
───────────────────────────────────────────────────────────── */

.custom_testimonials {
    display: flex;
    align-items: stretch;
    justify-content: center;
}
.left_img_testimonial,
.right_img_testimonial {
    width:16.6%;
}
.left_img_testimonial img,
.right_img_testimonial img {
    width: calc(100% - 35px);
    height: 100%;
}
.custom_testimonials.desktop .custom_testimonial_container {
    width:66.8%
}
.custom_testimonials.mobile .custom_testimonial_container {
    width:90%
}
.custom_testimonials.mobile .custom_testimonial_container:after {
    content: "";
    background: url(https://evyai.com/wp-content/uploads/2024/01/Rectangle-1806.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: calc(100% - 35px);
    top: 20px;
    bottom: 0;
    left: -10px;
    width: 20px;
    position: absolute;
    border-radius: 56px;
}
.custom_testimonials.mobile .custom_testimonial_container:before {
    content: "";
    background: url(https://evyai.com/wp-content/uploads/2023/12/Rectangle-1806-1.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: calc(100% - 35px);
    top: 20px;
    bottom: 0;
    right: -10px;
    width: 20px;
    position: absolute;
    border-radius: 56px;
}
.custom_testimonial_container {
    background-color: #F5F1FB;
    padding: 61px 40px 0px 40px;
    border-radius: 56px 56px 56px 56px;
}
.right_img_testimonial {
    text-align: right;
}
.testimonial_con p {
    color: #34317D;
    font-family: "Poppins", Sans-serif;
    font-size: 20px;
    font-weight: 700;
    font-style: normal;
    line-height: 36px;
    -webkit-text-stroke-color: #000;
    stroke: #000;
    text-align: center;
}
.testimonial_con img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;      /* ensures image fills the circle without distortion */
    display: block;
    margin: 25px auto 0;   /* centre horizontally */
}
.testimonial_con h4 {
    color: #333333;
    font-family: "Poppins", Sans-serif;
    font-size: 20px;
    font-weight: 600;
    font-style: normal;
    line-height: 30px;
    text-align: center;
    margin-top: 15px;
    margin-bottom: 0;
}
.testimonial_con h5 {
    color: #696A6F;
    font-family: "Poppins", Sans-serif;
    font-size: 18px;
    font-weight: 500;
    font-style: normal;
    line-height: 27px;
    text-align: center;
    margin: 0;
}
.testimonial_con .container {
    display: flex;
    align-items: center;
    flex-direction: column;
}
.custom_testimonial_container .slick-next:before {
    content: "";
    background: url(https://evyai.com/wp-content/uploads/2023/12/Group-2608869.png);
    width: 111px;
    height: 111px;
    position: absolute;
    background-size: contain;
}
.custom_testimonial_container .slick-next {
    right: 0;
    top:30%;
}
.custom_testimonial_container .slick-slider {
    overflow: visible;
}
.custom_testimonial_container .slick-prev {
    left: -95px;
    z-index: 99;
    top:30%;
}
.custom_testimonial_container .slick-prev:before {
    content: "";
    background: url(https://evyai.com/wp-content/uploads/2023/12/Group-2608868.png);
    width: 111px;
    height: 111px;
    position: absolute;
    background-size: contain;
}
@media screen and (min-width:1025px) {
    .custom_testimonials.mobile {
        display: none;
    }
}
@media screen and (max-width:1025px) {
    .custom_testimonials.desktop {
        display: none;
    }
    .custom_testimonial_container .slick-prev:before,
    .custom_testimonial_container .slick-next:before {
        width: 80px;
        height: 80px;
    }
    .custom_testimonial_container .slick-prev {
        left:-67px;
    }
    .custom_testimonial_container .slick-next {
        right: 16px;
    }
    .custom_testimonial_container {
        padding: 61px 20px 0px 20px;
    }
}
@media screen and (max-width:767px) {
    .testimonial_con p {
        font-size:16px;
        line-height:24px;
    }
    .testimonial_con h4,
    .testimonial_con h5 {
        font-size:14px;
        line-height:24px;
    }
}

/* ── Hide raw "Previous" / "Next" button text ─────────────
   Slick renders <button>Previous</button> and <button>Next</button>.
   We hide the text with font-size:0 / color:transparent and rely
   entirely on the ::before background-image arrows defined above. */
.custom_testimonial_container .slick-prev,
.custom_testimonial_container .slick-next {
    font-size: 0;
    color: transparent;
    background: transparent;
    border: none;
    outline: none;
    width: 111px;
    height: 111px;
}
.custom_testimonial_container .slick-prev:before,
.custom_testimonial_container .slick-next:before {
    /* make the pseudo-element fill the button */
    left: 0;
    top: 0;
}
