.home-testimonials {
    padding: clamp(34px, 5vw, 64px) 0;
}

.home-testimonials .title-center-wrapper .title {
    margin: 0 0 clamp(16px, 2.5vw, 28px);
    font-size: clamp(29px, 3.3vw, 46px);
    line-height: 1.15;
}

.home-testimonials .mySwiper-testimonials-three {
    max-width: 960px;
    margin-inline: auto;
    padding: 0;
}

.home-testimonials .mySwiper-testimonials-three .swiper-wrapper {
    align-items: stretch;
}

.home-testimonials .mySwiper-testimonials-three .swiper-slide {
    height: auto;
}

.home-testimonials .mySwiper-testimonials-three .single-testimonails-three {
    display: block;
    height: 100%;
    padding: 4px 70px 0;
}

.home-testimonials .single-testimonails-three .right-content {
    max-width: 650px;
    margin-inline: auto;
}

.home-testimonials .mySwiper-testimonials-three .testimonial-quote-icon {
    font-size: 26px;
}

.home-testimonials .mySwiper-testimonials-three blockquote {
    margin: 10px 0 14px;
}

.home-testimonials .single-testimonails-three .right-content .top .content .disc {
    margin: 0;
    color: #15213a;
    font-size: clamp(16px, 1.8vw, 21px);
    font-weight: 500;
    line-height: 1.5;
}

.home-testimonials .single-testimonails-three .right-content .top .content .disc + .disc {
    margin-top: 6px;
}

.home-testimonials .single-testimonails-three .right-content .bottom .title {
    display: inline-block;
    margin: 0;
    color: #174ab6;
    font-size: 15px;
    line-height: 1.4;
}

.home-testimonials-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 16px;
}

.home-testimonials .home-testimonials-controls .swiper-pagination {
    position: static;
    width: auto;
    color: #53617a;
    font-size: 14px;
    font-variant-numeric: tabular-nums;
}

.home-testimonials .home-testimonials-controls button:is(.swiper-button-prev, .swiper-button-next) {
    position: static;
    width: 40px;
    height: 40px;
    margin: 0;
    background: #fff;
    transform: none;
}

.home-testimonials .home-testimonials-controls button:hover {
    background: var(--color-primary);
}

.home-testimonials-controls button:focus-visible {
    outline: 2px solid #174ab6;
    outline-offset: -4px;
}

@media (min-width: 768px) {
    .home-testimonials .home-testimonials-controls button:is(.swiper-button-prev, .swiper-button-next) {
        position: absolute;
        top: calc((100% - 36px) / 2);
        transform: translateY(-50%);
    }

    .home-testimonials .home-testimonials-controls .swiper-button-prev {
        left: 6px;
    }

    .home-testimonials .home-testimonials-controls .swiper-button-next {
        right: 6px;
    }
}

@media (max-width: 767.98px) {
    .home-testimonials .mySwiper-testimonials-three .single-testimonails-three {
        padding-inline: 4px;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .home-testimonials .swiper-slide-active .right-content {
        animation: home-testimonial-reveal 420ms ease-out both;
    }
}

@keyframes home-testimonial-reveal {
    from { opacity: 0.4; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}
