.reviewsArea {
    width: 100%;
    height: auto;
    padding: 32px;
    background-color: var(--backColor2);
    border: 1px solid var(--borderColor);
    box-shadow: var(--shadow-card);
    border-radius: var(--radius-lg);
    position: relative;
}

.reviewsArea > h1 {
    color: var(--sTextColor);
    font-size: var(--fs24);
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.slidingReviews {
    height: 220px;
    margin-inline: auto;
    mask-image: linear-gradient(
        to right,
        rgba(0, 0, 0, 0),
        rgba(0, 0, 0, 1) 8%,
        rgba(0, 0, 0, 1) 92%,
        rgba(0, 0, 0, 0)
    );
    -webkit-mask-image: linear-gradient(
        to right,
        rgba(0, 0, 0, 0),
        rgba(0, 0, 0, 1) 8%,
        rgba(0, 0, 0, 1) 92%,
        rgba(0, 0, 0, 0)
    );
    overflow: hidden;
    position: relative;
    width: 100%;
}

.oneReviewSlide {
    animation-duration: 40s;
    animation-iteration-count: infinite;
    animation-name: scrollLeft;
    animation-timing-function: linear;
    background: #ffffff;
    border: 1.5px solid var(--borderColor);
    box-shadow: 0 4px 14px rgba(16, 24, 40, 0.05);
    height: 200px;
    left: max(calc(270px * 8), 100%);
    position: absolute;
    width: 300px;
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 18px 20px;
    box-sizing: border-box;
}

.oneReviewSlide1 { animation-delay: calc(40s / 8 * (8 - 1) * -1); }
.oneReviewSlide2 { animation-delay: calc(40s / 8 * (8 - 2) * -1); }
.oneReviewSlide3 { animation-delay: calc(40s / 8 * (8 - 3) * -1); }
.oneReviewSlide4 { animation-delay: calc(40s / 8 * (8 - 4) * -1); }
.oneReviewSlide5 { animation-delay: calc(40s / 8 * (8 - 5) * -1); }
.oneReviewSlide6 { animation-delay: calc(40s / 8 * (8 - 6) * -1); }
.oneReviewSlide7 { animation-delay: calc(40s / 8 * (8 - 7) * -1); }
.oneReviewSlide8 { animation-delay: calc(40s / 8 * (8 - 8) * -1); }

@keyframes scrollLeft {
    to {
        left: -320px;
    }
}

.oneReviewSlide > h1 {
    color: var(--sTextColor);
    font-size: var(--fs16);
    font-weight: 700;
    letter-spacing: -0.01em;
    margin: 0;
}

.oneReviewSlide > p {
    color: var(--secondTextColor);
    font-size: var(--fs13);
    letter-spacing: 0.1px;
    line-height: 1.5;
    width: 100%;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    margin: 0;
}

.revDets {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid var(--borderColorSubtle);
}

.revStars {
    display: flex;
    align-items: center;
    gap: 2px;
    flex-shrink: 0;
}

.revStars > svg {
    width: 15px;
    height: 15px;
    color: #f59e0b;
    fill: #f59e0b;
    flex-shrink: 0;
}

.revDets > p {
    color: var(--sTextColor);
    font-size: var(--fs13);
    font-weight: 600;
    margin: 0 0 0 auto;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.revDets > img {
    width: 22px;
    height: 16px;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(16, 24, 40, 0.15);
    flex-shrink: 0;
    display: block;
}

@media only screen and (max-width: 768px) {
    .reviewsArea {
        padding: 24px 18px;
    }

    .reviewsArea > h1 {
        font-size: var(--fs20);
        margin-bottom: 18px;
    }

    .oneReviewSlide {
        width: 270px;
        height: 190px;
        padding: 16px;
    }

    .oneReviewSlide > h1 {
        font-size: var(--fs15);
    }
}

@media only screen and (max-width: 576px) {
    .reviewsArea {
        padding: 18px 14px;
    }

    .reviewsArea > h1 {
        font-size: var(--fs18);
        margin-bottom: 14px;
    }

    .oneReviewSlide {
        width: 250px;
        height: 185px;
        padding: 14px;
    }

    .oneReviewSlide > h1 {
        font-size: var(--fs14);
    }

    .oneReviewSlide > p {
        font-size: var(--fs12);
    }
}
