.home-reviews {
    overflow: hidden;
    background: #1f2025;
}

.home-reviews > img {
    object-fit: cover;
}

.home-reviews .row {
    align-items: center;
}

.home-reviews .testimonials-four-slider {
    width: 100%;
    min-height: 420px;
    overflow: hidden !important;
    border-radius: 24px;
}

.home-reviews .testimonials-four-slider .swiper-wrapper {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    transform: none !important;
}

.home-reviews .testimonials-four-slider .swiper-slide {
    display: none !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    opacity: 0;
}

.home-reviews .testimonials-four-slider .swiper-slide.is-active {
    display: block !important;
    opacity: 1;
    animation: homeReviewIn .32s ease both;
}

.home-reviews .box-layer {
    margin: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.home-reviews .box-layer::before,
.home-reviews .box-layer::after,
.home-reviews .box-layer-two::before,
.home-reviews .box-layer-two::after {
    display: none !important;
    content: none !important;
}

.home-reviews .box-layer-two {
    display: flex;
    min-height: 410px;
    padding: clamp(30px, 4vw, 54px) !important;
    flex-direction: column;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .5);
    border-radius: 24px !important;
    box-shadow: 0 24px 64px rgba(0, 0, 0, .24);
}

.home-reviews .box-layer-two > span:first-child {
    display: block;
    width: fit-content;
    margin-bottom: 24px !important;
}

.home-reviews .box-layer-two > span:first-child img {
    display: block;
    width: 112px !important;
    max-width: 112px !important;
    height: auto !important;
    max-height: 38px !important;
    object-fit: contain;
}

.home-reviews .box-layer-two > p {
    max-width: 640px;
    margin: 0 !important;
    color: #111827 !important;
    font-size: clamp(20px, 2vw, 27px) !important;
    font-weight: 600 !important;
    line-height: 1.48 !important;
    letter-spacing: -.018em;
}

.home-reviews .box-layer-two > .tw-h-px {
    margin: 28px 0 22px !important;
}

.home-reviews .tw-h-84-px.tw-w-84-px {
    width: 58px !important;
    min-width: 58px !important;
    height: 58px !important;
}

.home-reviews .tw-h-84-px.tw-w-84-px img {
    width: 58px !important;
    height: 58px !important;
    object-fit: cover;
}

.home-reviews .home-review-controls {
    position: static !important;
    display: flex !important;
    width: fit-content !important;
    min-width: 154px;
    height: 48px !important;
    margin: 18px 0 0 auto !important;
    padding: 5px 8px;
    flex-direction: row !important;
    gap: 8px !important;
    transform: none !important;
    border: 1px solid #e5e7eb;
    border-radius: 999px !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .14);
}

.home-reviews .home-review-controls button {
    display: inline-grid;
    width: 36px;
    height: 36px;
    padding: 0 !important;
    place-items: center;
    color: #1f2937;
    background: #f3f4f6;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    transition: color .2s ease, background-color .2s ease;
}

.home-reviews .home-review-controls button:hover {
    color: #ffffff;
    background: #2563eb;
}

.home-reviews .home-review-controls button:focus-visible {
    outline: 3px solid rgba(37, 99, 235, .38);
    outline-offset: 2px;
}

.home-reviews .home-review-status {
    order: 2;
    min-width: 46px;
    color: #4b5563;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
}

.home-reviews #testimonials-four-prev {
    order: 1;
}

.home-reviews #testimonials-four-next {
    order: 3;
}

@keyframes homeReviewIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 991px) {
    .home-reviews .testimonials-four-slider {
        min-height: 0;
    }

    .home-reviews .box-layer-two {
        min-height: 370px;
    }
}

@media (max-width: 767px) {
    .home-reviews {
        content-visibility: auto;
        contain-intrinsic-size: 1050px;
    }

    .home-reviews .testimonials-four-slider,
    .home-reviews .testimonials-four-slider .swiper-wrapper {
        overflow: hidden !important;
    }

    .home-reviews .testimonials-four-slider .swiper-slide {
        display: none !important;
        margin: 0 !important;
    }

    .home-reviews .testimonials-four-slider .swiper-slide.is-active {
        display: block !important;
    }

    .home-reviews .box-layer-two {
        min-height: 350px;
        padding: 28px 24px !important;
    }

    .home-reviews .box-layer-two > p {
        font-size: 19px !important;
        line-height: 1.5 !important;
    }

    .home-reviews .box-layer-two > div:last-child {
        align-items: flex-start !important;
        gap: 16px;
        flex-direction: column;
    }

    .home-reviews .home-review-controls {
        margin: 16px auto 0 !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-reviews .testimonials-four-slider .swiper-slide.is-active {
        animation: none;
    }

    .home-reviews .home-review-controls button {
        transition: none;
    }
}
