/* Video Slider Styles */
.video-slider-wrapper {
    margin-top: 2rem;
    width: 100%;
}

.video-slider-container {
    display: flex;
    overflow-x: auto;
    gap: 15px;
    padding-bottom: 15px;
    /* Space for scrollbar */
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

/* Custom Scrollbar for the slider */
.video-slider-container::-webkit-scrollbar {
    height: 8px;
}

.video-slider-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.video-slider-container::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

.video-slider-container::-webkit-scrollbar-thumb:hover {
    background: #aaa;
}

.video-slide-item {
    flex: 0 0 200px;
    /* Fixed width for thumbnails */
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

.video-slide-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.video-slide-item img {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
}

.mini-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.mini-play-button::before {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 14px solid white;
    margin-left: 4px;
}