.video-slider-container {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
}

.video-slider {
    display: flex;
    overflow: hidden;
    scroll-behavior: smooth;
    gap: 20px;
    padding: 10px 0;
}

.video-slide {
    flex: 0 0 calc(33.333% - 14px); /* 3 слайда в ряд */
    min-width: 0;
}

.video-thumbnail {
    position: relative;
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}

.video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.3s ease;
}

.video-thumbnail:hover .video-play-button {
    transform: translate(-50%, -50%) scale(1.1);
}

.video-title {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.4;
    text-align: center;
    color: #333;
}

.slider-navigation {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.slider-prev,
.slider-next {
    background: #f0f0f0;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.slider-prev:hover,
.slider-next:hover {
    background: #e0e0e0;
}

.slider-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}

.pagination-bullet {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.pagination-bullet.active {
    background: #333;
}

/* Адаптивность */
@media (max-width: 768px) {
    .video-slide {
        flex: 0 0 calc(50% - 10px); /* 2 слайда в ряд на планшетах */
    }
}

@media (max-width: 480px) {
    .video-slide {
        flex: 0 0 100%; /* 1 слайд в ряд на мобильных */
    }
}