.testimonial-home .mde-testimonial-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 8px;
    color: #234f63;
    background: #f1f5f8;
}

.testimonial-home .mde-testimonial-controls button {
    min-height: 44px;
    padding: 6px 13px;
    border: 1px solid #35667d;
    border-radius: 4px;
    color: #234f63;
    background: #fff;
    font: inherit;
    font-size: 14px;
    line-height: 1.25;
    cursor: pointer;
}

.testimonial-home .mde-testimonial-controls button:hover {
    color: #fff;
    background: #35667d;
}

.testimonial-home .mde-testimonial-controls button:focus-visible {
    outline: 2px solid #173f52;
    outline-offset: 2px;
}

.testimonial-home .mde-testimonial-count {
    padding: 0 4px;
    font-size: 14px;
    white-space: nowrap;
}

.testimonial-home .mde-featured-review-source {
    color: #234f63;
    text-decoration: underline;
}

.testimonial-home .mde-featured-review-rating {
    color: #8a5a00;
    font-size: 18px;
    margin-bottom: 8px;
}

.testimonial-home .stm_testimonials_wrapper_style_2 .mde-overview-review {
    padding: clamp(24px, 5vw, 72px) 20px;
    background: #edf3f6;
}

.testimonial-home .mde-overview-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    align-items: center;
    max-width: 1160px;
    min-height: 440px;
    gap: clamp(20px, 4vw, 52px);
    margin-inline: auto;
}

.testimonial-home .mde-overview-copy {
    padding: clamp(18px, 3.5vw, 40px);
    background: #fff;
    color: #203643;
    border-radius: 8px;
}

.testimonial-home .mde-overview-copy h3 {
    margin: 0 0 18px;
    font-size: clamp(24px, 2.7vw, 36px);
    line-height: 1.17;
}

.testimonial-home .mde-overview-copy blockquote {
    padding: 0 0 0 16px;
    margin: 0 0 18px;
    border: 0;
    border-inline-start: 3px solid #35667d;
    font-style: normal;
}

.testimonial-home .mde-overview-copy p {
    margin: 0;
    font-size: 16px;
    line-height: 1.55;
    color: inherit;
}

.testimonial-home p.mde-client-reviews {
    margin: 12px 0 0;
}

.testimonial-home .mde-overview-layout img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
}

@media (max-width: 767px) {
    .testimonial-home .mde-overview-layout {
        grid-template-columns: minmax(0, 1fr);
        min-height: 0;
    }
}

.testimonial-home .mde-testimonial-carousel .owl-animated-in.fadeIn {
    animation: mde-testimonial-fade-in 550ms ease both;
}

.testimonial-home .mde-testimonial-carousel .owl-animated-out.fadeOut {
    animation: mde-testimonial-fade-out 550ms ease both;
}

@keyframes mde-testimonial-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes mde-testimonial-fade-out {
    from { opacity: 1; }
    to { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .testimonial-home .mde-testimonial-carousel .owl-animated-in.fadeIn,
    .testimonial-home .mde-testimonial-carousel .owl-animated-out.fadeOut {
        animation-duration: 1ms;
    }
}
