/* Стили для слайда 2 */
.slide2 .content {
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

/* 1 строка: текст слева, видео справа */
.row-1 {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    width: 100%;
}

.text-block {
    flex: 1;
    max-width: 50%;
}

.video-block {
    flex: 1;
    max-width: 50%;
}

.text-block h2 {
    text-align: left;
    margin-bottom: 25px;
    font-size: 2.2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.text-block p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.6;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.video-container {
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
    max-height: 250px; /* Максимальная высота контейнера */
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-container video {
    width: 100%;
    height: 100%;
    max-height: 250px; /* Максимальная высота видео */
    object-fit: cover; /* Сохраняет пропорции и обрезает если нужно */
    display: block;
    border-radius: 15px;
}

/* 2 строка: фото+текст слева, фото+текст справа */
.row-2 {
    display: flex;
    flex-direction: row;
    gap: 40px;
    justify-content: space-between;
}

.feature-block {
    flex: 1;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 30px;
    display: flex;
    gap: 20px;
    align-items: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    min-width: 0;
}

.feature-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

.feature-image {
    flex-shrink: 0;
    width: 80px;
    height: 140px;
    border-radius: 10px;
    overflow: hidden;
}

.feature-image img {
    width: 100%;
   /* height: 100%;*/
    object-fit: cover;
}

.feature-text {
    flex: 1;
    min-width: 0;
}

.feature-text h3 {
    font-family: 'Play', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 10px;
}

.feature-text p {
    font-family: 'Play', sans-serif;
    font-weight: 400;
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
    margin: 0;
    text-shadow: none;
}

/* Адаптивность для слайда 2 */
@media (max-width: 1024px) {
    .row-1 {
        gap: 40px;
    }
    
    .row-2 {
        gap: 30px;
    }
    
    .feature-block {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .slide2 .content {
        gap: 40px;
    }
    
    .row-1 {
        flex-direction: column;
        gap: 30px;
    }
    
    .text-block {
        max-width: 100%;
    }
    
    .video-block {
        max-width: 100%;
    }
    
    .text-block h2 {
        text-align: center;
        font-size: 1.8rem;
    }
    
    .text-block p {
        text-align: center;
        font-size: 1rem;
    }
    
    .video-container {
        max-height: 300px; /* Чуть больше на мобильных */
    }
    
    .video-container video {
        max-height: 300px; /* Чуть больше на мобильных */
    }
    
    .row-2 {
        flex-direction: column;
        gap: 20px;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .feature-block {
        padding: 20px;
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .feature-image {
        width: 60px;
        height: 60px;
    }
    
    .feature-text h3 {
        font-size: 1.2rem;
    }
    
    .feature-text p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .slide2 .content {
        gap: 30px;
    }
    
    .row-1 {
        gap: 25px;
    }
    
    .text-block h2 {
        font-size: 1.6rem;
    }
    
    .text-block p {
        font-size: 0.95rem;
    }
    
    .video-container {
        max-height: 200px; /* Меньше на очень маленьких экранах */
    }
    
    .video-container video {
        max-height: 200px; /* Меньше на очень маленьких экранах */
    }
    
    .feature-block {
        padding: 15px;
    }
    
    .feature-text h3 {
        font-size: 1.1rem;
    }
    
    .feature-text p {
        font-size: 0.85rem;
    }
}