/* ===== НОВЫЙ БЛОК ОТЗЫВОВ ===== */

.reviews-new-section {
    width: 100%;
    margin: 60px auto;
    padding: 0;
    position: relative;
    overflow: visible;
}

/* Заголовок */
.reviews-new-header {
    width: 1416px;
    margin: 0 auto 26px auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.reviews-new-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 82px;
    font-weight: 700;
    line-height: 94.3px;
}

.reviews-title-blue {
    color: #5E96CF;
}

.reviews-title-gray {
    color: #666666;
}

.reviews-counter {
    color: #666666;
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 27.6px;
    margin-top: 62px;
}

/* Карусель */
.reviews-new-wrapper {
    width: 1440px;
    margin: 0 auto;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0;
    overflow: visible;
}

.reviews-new-carousel {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    overflow-y: visible;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin: 0 12px;
}

.reviews-new-carousel::-webkit-scrollbar {
    display: none;
}

/* Карточка отзыва */
.review-new-card {
    width: 696px;
    min-width: 696px;
    height: 337px;
    background: white;
    border: 1px solid #666666;
    border-radius: 2px;
    padding: 15px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    position: relative;
    box-sizing: border-box;
}

/* Заголовок отзыва */
.review-new-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.review-new-author {
    width: 140px;
    height: 32px;
    color: rgba(102, 102, 102, 1);
    font-family: Montserrat;
    font-size: 24px;
    font-weight: 700;
    line-height: 29px;
    letter-spacing: 0%;
    text-align: left;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.review-new-date {
    width: 214px;
    height: 32px;
    color: rgba(102, 102, 102, 1);
    font-family: Montserrat;
    font-size: 24px;
    font-weight: 700;
    line-height: 29px;
    letter-spacing: 0%;
    text-align: left;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* Линия */
.review-new-line {
    width: 1px;
    height: 225px;
    background: #666666;
    margin: 0 24px 0 12px;
}

/* Контент */
.review-new-content {
    display: flex;
    flex: 1;
}

.review-new-text {
    width: 544px;
    height: 149px;
    color: rgba(102, 102, 102, 1);
    font-family: Montserrat;
    font-size: 24px;
    font-weight: 700;
    line-height: 29px;
    letter-spacing: 0%;
    text-align: left;
    margin: 0;
    overflow: hidden;
}

/* Ссылка "читать полностью" */
.review-new-link {
    color: #666666;
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 27.6px;
    text-decoration: underline;
    margin-top: auto;
    display: inline-block;
    transition: opacity 0.3s ease;
}

.review-new-link:hover {
    opacity: 0.7;
}

/* Кнопки навигации - как в блоке специалистов */
.reviews-nav-btn {
    position: absolute;
    width: 24px;
    height: 36px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    pointer-events: auto;
    z-index: 10;
    background: transparent;
    padding: 0;
}

.reviews-nav-btn .btn-bg {
    position: absolute;
    width: 24px;
    height: 36px;
    z-index: 1;
}

.reviews-nav-btn .btn-icon {
    position: absolute;
    width: 24px;
    height: 24px;
    z-index: 2;
}

.reviews-nav-btn:hover {
    opacity: 0.8;
}

.reviews-nav-btn:active {
    opacity: 0.6;
}

.reviews-prev-btn {
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.reviews-next-btn {
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

/* Адаптивность */
@media (max-width: 1440px) {
    .reviews-new-title {
        font-size: 72px;
        line-height: 82px;
    }
}

@media (max-width: 1200px) {
    .reviews-new-title {
        font-size: 64px;
        line-height: 72px;
    }
    
    .review-new-card {
        width: 600px;
        min-width: 600px;
    }
    
    .review-new-author,
    .review-new-date,
    .review-new-text,
    .review-new-link,
    .reviews-counter {
        font-size: 20px;
        line-height: 24px;
    }
}

@media (max-width: 992px) {
    .reviews-new-title {
        font-size: 56px;
        line-height: 64px;
    }
    
    .review-new-card {
        width: 550px;
        min-width: 550px;
        height: auto;
        min-height: 300px;
    }
    
    .review-new-author,
    .review-new-date,
    .review-new-text,
    .review-new-link,
    .reviews-counter {
        font-size: 18px;
        line-height: 22px;
    }
}

@media (max-width: 768px) {
    .reviews-new-title {
        font-size: 48px;
        line-height: 56px;
    }
    
    .reviews-new-header {
        flex-direction: column;
        gap: 12px;
    }
    
    .reviews-counter {
        margin-top: 0;
    }
    
    .review-new-card {
        width: 100%;
        min-width: 320px;
    }
    
    .review-new-author,
    .review-new-date,
    .review-new-text,
    .review-new-link,
    .reviews-counter {
        font-size: 16px;
        line-height: 20px;
    }
}

@media (max-width: 576px) {
    .reviews-new-title {
        font-size: 36px;
        line-height: 42px;
    }
    
    .review-new-author,
    .review-new-date,
    .review-new-text,
    .review-new-link,
    .reviews-counter {
        font-size: 14px;
        line-height: 18px;
    }
}
