.myYoutubeSwiper { padding: 20px 0 50px 0 !important; max-width: 100%; }
.yt-card { 
    background: #fff; border-radius: 12px; overflow: hidden; 
    box-shadow: 0 4px 12px rgba(0,0,0,0.1); height: 100%; transition: 0.3s;
}
.yt-card:hover { transform: translateY(-5px); }
.yt-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.yt-card-info { padding: 15px; }
.yt-card h3 { 
    font-size: 15px; margin: 0; line-height: 1.4; color: #222;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.swiper-button-next, .swiper-button-prev { color: #ff0000 !important; }
.swiper-pagination-bullet-active { background: #ff0000 !important; }
/* Contenedor relativo para el aspecto 16:9 */
.yt-thumbnail-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    background: #000;
    overflow: hidden;
}

.yt-thumbnail-wrapper img,
.yt-thumbnail-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Icono de Play elegante */
.yt-play-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    background: rgba(0,0,0,0.2);
    transition: background 0.3s ease;
    pointer-events: none;
}

.yt-card:hover .yt-play-overlay {
    background: rgba(0,0,0,0.4);
}

.yt-play-overlay span {
    color: #fff;
    font-size: 50px;
    filter: drop-shadow(0 0 10px rgba(0,0,0,0.5));
    transition: transform 0.2s ease;
}

.yt-card:hover .yt-play-overlay span {
    transform: scale(1.2);
}