/* Основной контейнер секции */
.testimonials-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    font-family: Arial, sans-serif;
}

/* Первый блок - контейнер для всей сетки */
.testimonials-container {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

/* Левая колонка - 2/3 ширины */
.testimonials-left {
    flex: 0 0 50%; /* 2/3 ширины */
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* Правая колонка - 1/3 ширины */
.testimonials-right {
    flex: 0 0 33.333%; /* 1/3 ширины */
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    position: sticky;
    top: 20px; /* Прилипает при прокрутке */
}

/* Карточка отзыва */
.testimonial-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Текст отзыва */
.testimonial-text {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 15px;
    font-style: italic;
}

/* Автор отзыва */
.testimonial-author {
    font-size: 14px;
    color: #666;
    font-weight: 500;
    text-align: right;
    border-top: 1px solid #eee;
    padding-top: 12px;
}

/* Заголовок справа */
.testimonials-title {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin: 0 0 10px 0;
}

/* Подзаголовок справа */
.testimonials-subtitle {
    font-size: 16px;
    color: #888;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e0e0e0;
}

/* Контент в правой колонке */
.featured-content {
    background: #e8f0fe;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
}

.featured-content img {
    max-width: 100%;
    border-radius: 8px;
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .testimonials-container {
        flex-direction: column;
    }
    
    .testimonials-left,
    .testimonials-right {
        flex: 0 0 100%;
    }
    
    .testimonials-right {
        position: static;
        order: -1; /* Заголовок сверху на мобильных */
    }
}