.uc-reviews-section {
    padding: 80px 0;
    background-color: #FFFFFF;
    font-family: "Montserrat", sans-serif;
}

.uc-reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

.uc-reviews-title h2 {
    font-size: 36px;
    font-weight: 700;
    color: #1C2536;
    margin: 0 0 10px 0;
}

.uc-reviews-title p {
    font-size: 16px;
    color: #4A5568;
    margin: 0;
    line-height: 1.5;
}

/* --- Настройки трека Slick Slider --- */
.uc-reviews-grid {
    display: block;
    margin: 0 -15px; /* Компенсируем отступы карточек по краям */
}

.uc-reviews-grid .slick-track {
    display: flex !important;
}

.uc-reviews-grid .slick-slide {
    height: auto;
    margin: 0 15px; /* Отступы между слайдами */
}

/* --- Карточка отзыва --- */
.uc-review-card {
    background: #FFFFFF;
    border: 1px solid #F3F4F6;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    display: flex !important; /* Важно для внутренней структуры карточки в Slick */
    flex-direction: column;
    height: 100%; /* Растягиваем на всю высоту флекс-трека */
    margin-bottom: 30px !important;
}

.uc-review-card__quotes {
    color: #4E70C4;
    margin-bottom: 20px;
}
.uc-review-card__quotes img {
    width: 40px;
}

.uc-review-card__text {
    font-size: 15px;
    line-height: 1.6;
    color: #1C2536;
    flex-grow: 1;
    margin-bottom: 30px;
}

.uc-review-card__author {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 25px;
    border-top: 2px solid #eeedf0;
    padding-top: 20px;
}

.uc-review-card__avatar {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    object-fit: cover;
    background-color: #E5E7EB;
}

.uc-review-card__info {
    display: flex;
    flex-direction: column;
}

.uc-review-card__name {
    font-weight: 700;
    font-size: 15px;
    color: #1C2536;
}

.uc-review-card__city {
    font-size: 12px;
    color: #8C98A4;
    margin-top: 2px;
}

.uc-review-card__status {
    font-size: 12px;
    color: #4A5568;
    margin-top: 2px;
}

.uc-review-card__tag {
    border-top: 1px solid #f3f4f6;
    display: flex;
    font-size: 14px;
    color: #4e70c4;
    font-weight: 600;
    background: #eef3fa;
    height: 46px;
    line-height: normal;
    border-radius: 10px;
    padding: 0 15px;
    align-items: center;
    justify-content: start;
}
.uc-review-card__tag svg {
    margin-right: 5px;
}

/* --- Навигация Slick (стрелки и точки) --- */
.uc-reviews-nav {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Возвращаем стрелки в поток и задаем размеры */
.uc-reviews-nav .slick-arrow {
    position: static;
    transform: none;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    width: 50px;
    height: 50px;
    cursor: pointer;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s;
}

.uc-reviews-nav .slick-arrow:hover {
    opacity: 0.6;
}

.uc-reviews-nav .slick-arrow:before{
    display: none;
}

/* Меняем визуальный порядок элементов внутри флекс-контейнера */
.uc-reviews-nav .slick-prev { order: 1; }
.uc-reviews-nav .slick-dots { order: 2; }
.uc-reviews-nav .slick-next { order: 3; }

/* Возвращаем точки в поток */
.uc-reviews-nav .slick-dots {
    position: static;
    width: auto;
    display: flex !important;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 8px;
    align-items: center;
}

.uc-reviews-nav .slick-dots li {
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
}

/* Стилизуем сами кнопки внутри точек под макет */
.uc-reviews-nav .slick-dots button {
    display: block;
    width: 14px;
    height: 14px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background-color: #E5E7EB;
    font-size: 0;
    line-height: 0;
    color: transparent;
    cursor: pointer;
    transition: background-color 0.3s;
}
.uc-reviews-nav .slick-dots button:before{
    display: none;
}

.uc-reviews-nav .slick-dots li.slick-active button {
    background-color: #4E70C4;
}

/* --- Подвал блока --- */
.uc-reviews-footer {
    margin-top: 50px;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.uc-reviews-footer a {
    color: #4E70C4;
    text-decoration: underline;
}

.uc-reviews-footer a:hover {
    text-decoration: none;
}

/* --- Адаптив --- */
@media (max-width: 991px) {
    .uc-reviews-grid .slick-slide {
        margin: 0 10px; /* Уменьшаем отступы между слайдами на планшете */
    }
}

@media (max-width: 767px) {
    .uc-reviews-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    .uc-reviews-grid {
        margin: 0;
    }
    .uc-reviews-grid .slick-slide {
        margin: 0; /* Убираем боковые отступы слайдов на мобильном */
    }
    .uc-reviews-nav {
        margin-top: 20px;
        justify-content: center;
        width: 100%;
    }
    .uc-reviews-title h2 {
        font-size: 30px;
    }
}