.ycfs-slider-wrapper {
    position: relative;
    min-height: 250px;
}

.ycfs-video-wrapper {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    border-radius: 10px;
    overflow: hidden;
}

.ycfs-video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ycfs-thumbnail {
    position: relative;
    cursor: pointer;
    display: block;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
    z-index: 5; /* Sit above slide shadows */
}

/* Fix: Desktop clicks pass through these elements to the thumbnail */
.ycfs-play-icon, 
.ycfs-title-overlay,
.ycfs-play-icon svg,
.ycfs-play-icon circle,
.ycfs-play-icon polygon {
    pointer-events: none !important;
}

.ycfs-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.ycfs-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.ycfs-title-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: #fff;
    padding: 20px 10px 10px;
    text-align: center;
    z-index: 9;
}

/* Ensure arrows are clickable */
.swiper-button-next, .swiper-button-prev {
    z-index: 100 !important;
}