.rafx-reviews .container {
    max-width: 1368px;
}

.rafx-reviews {
    padding: 60px 0 70px;
}

@media (min-width: 1025px) {
    .rafx-reviews {
        padding: 80px 0 90px;
    }
}

.rafx-reviews .section__header {
    text-align: center;
    margin-bottom: 32px;
}

.rafx-reviews .section__header__mainheading,
.rafx-reviews .section__header__subheading {
    margin: 0;
}

.rafx-reviews__nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 8px;
}

.rafx-reviews__nav .btn-prev,
.rafx-reviews__nav .btn-next {
    position: static;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transform: none;
}

.rafx-reviews__nav .btn-prev:before,
.rafx-reviews__nav .btn-next:before {
    content: "";
    display: block;
    width: 12px;
    height: 12px;
    position: relative;
    transform: rotate(45deg);
    border: 3px solid var(--color-bg-primary);
}

.rafx-reviews__nav .btn-prev:before {
    border-right: 0;
    border-top: 0;
    left: 2px;
}

.rafx-reviews__nav .btn-next:before {
    border-left: 0;
    border-bottom: 0;
    right: 2px;
}

.rafx-reviews .slick-list {
    margin: 0 -12px;
}

.rafx-reviews .slick-track {
    display: flex;
}

.rafx-reviews .slick-slide {
    height: auto;
    padding: 8px 12px 16px;
}

.rafx-reviews .slick-slide > div,
.rafx-reviews__card {
    height: 100%;
}

.rafx-reviews__card {
    display: flex;
    flex-direction: column;
    background-color: var(--color-white);
    border-radius: 6px;
    border-bottom: 4px solid var(--color-bg-secondary);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.08);
    padding: 24px;
    text-align: left;
}

.rafx-reviews__stars {
    display: flex;
    gap: 4px;
    margin-bottom: 14px;
}

.rafx-reviews__star {
    display: inline-block;
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23ee7623' d='M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.rafx-reviews__author {
    margin: 0 0 4px;
    color: var(--color-bg-primary);
    font-size: 18px;
    line-height: 1.3;
    font-weight: 600;
}

.rafx-reviews__date {
    margin: 0 0 12px;
    color: var(--color-gray);
    font-size: 14px;
    line-height: 1.4;
}

.rafx-reviews__text {
    height: 96px;
    margin: 0;
    padding-right: 8px;
    overflow-y: auto;
    color: var(--color-text-default);
    font-size: 16px;
    line-height: 1.5;
}

.rafx-reviews__text::-webkit-scrollbar {
    -webkit-appearance: none;
    width: 8px;
}

.rafx-reviews__text::-webkit-scrollbar-track {
    background-color: #e6e8f2;
    border-radius: 8px;
}

.rafx-reviews__text::-webkit-scrollbar-thumb {
    background-color: var(--color-bg-primary);
    border-radius: 8px;
}

@supports (-moz-appearance: none) {
    .rafx-reviews__text {
        scrollbar-width: thin;
        scrollbar-color: var(--color-bg-primary) #e6e8f2;
    }
}

.rafx-reviews__site {
    margin: 12px 0 0;
    color: var(--color-gray);
    font-size: 13px;
    line-height: 1.4;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
