.cys-swiper-container {
    width: 100%;
    height: auto;
    padding: 24px 24px 48px;
    box-sizing: border-box;
    position: relative;
    border-radius: 0;
}

.cys-slide {
    text-align: left;
    font-size: 16px;
    background: #fff;
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    flex-direction: column;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
    height: auto;
}

.cys-slide:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.cys-thumbnail-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    cursor: pointer;
    background: #111;
}

.cys-thumbnail-wrapper img,
.cys-thumbnail-wrapper iframe {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 0;
    transition: transform 0.35s ease;
}

.cys-thumbnail-wrapper:hover img {
    transform: scale(1.03);
}

.cys-play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.25));
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.cys-thumbnail-wrapper:hover .cys-play-overlay {
    opacity: 1;
}

.cys-play-icon {
    position: relative;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.cys-play-icon::before {
    content: "";
    position: absolute;
    left: 26px;
    top: 20px;
    width: 0;
    height: 0;
    border-left: 18px solid #cc0000;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
}

.cys-content {
    width: 100%;
    padding: 14px 16px 18px;
    box-sizing: border-box;
}

.cys-video-title {
    margin-top: 0;
    font-size: 15px;
    font-weight: 700;
    color: #212121;
    text-decoration: none;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: center;
    padding: 0 4px;
    transition: color 0.2s ease;
    min-height: 2.6em;
}

.cys-video-title:hover {
    color: #cc0000;
}

.youtube-slider-section .swiper-button-next,
.youtube-slider-section .swiper-button-prev {
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.35);
}

.youtube-slider-section .swiper-button-next:after,
.youtube-slider-section .swiper-button-prev:after {
    font-size: 18px;
}

.youtube-slider-section .swiper-pagination {
    bottom: 8px !important;
}

.youtube-slider-section .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.6);
    opacity: 1;
}

.youtube-slider-section .swiper-pagination-bullet-active {
    background: #cc0000;
}

.cys-autoplay-toggle {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    border: none;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 13px;
    line-height: 1;
    padding: 8px 12px;
    border-radius: 16px;
    cursor: pointer;
}

.cys-autoplay-toggle[aria-pressed="true"] {
    background: rgba(0, 0, 0, 0.35);
}

@media (max-width: 640px) {
    .cys-swiper-container {
        padding: 16px 12px 40px;
    }

    .cys-play-icon {
        width: 52px;
        height: 52px;
    }

    .cys-play-icon::before {
        left: 21px;
        top: 16px;
        border-left-width: 15px;
        border-top-width: 10px;
        border-bottom-width: 10px;
    }
}
