/* ================================
   ESTILO SHORTS PARA SMASH BALLOON
   Carousel de YouTube Shorts
   ================================ */

/* Contenedor principal del carousel de shorts */
.embed-shorts .sb_youtube[data-videocardlayout="vertical"] {
    max-width: 100% !important;
}

/* Items del carousel - formato vertical (9:16) */
.embed-shorts .sb_youtube[data-videocardlayout="vertical"] .sby_item {
    padding: 10px !important;
}

.embed-shorts .sb_youtube[data-videocardlayout="vertical"] .sby_inner_item {
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.embed-shorts .sb_youtube[data-videocardlayout="vertical"] .sby_inner_item:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25) !important;
}

/* Thumbnail - Proporción 9:16 (formato shorts) */
.embed-shorts .sb_youtube[data-videocardlayout="vertical"] .sby_video_thumbnail_wrap {
    position: relative !important;
    width: 100% !important;
    padding-top: 177.78% !important; /* 16:9 invertido = 9:16 */
    overflow: hidden !important;
    border-radius: 12px !important;
}

.embed-shorts .sb_youtube[data-videocardlayout="vertical"] .sby_video_thumbnail {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

/* Ajuste del height del thumbnail */
.embed-shorts .sb_youtube[data-videocardlayout="vertical"] .sby_video_thumbnail_wrap .sby_video_thumbnail {
    height: 100% !important;
}

/* Hover overlay - estilo TikTok/IG */
.embed-shorts .sb_youtube[data-videocardlayout="vertical"] .sby_thumbnail_hover {
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.3) 50%,
        rgba(0, 0, 0, 0.7) 100%
    ) !important;
}

.embed-shorts .sb_youtube[data-videocardlayout="vertical"] .sby_thumbnail_hover_inner {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    align-items: flex-start !important;
    height: 100% !important;
    padding: 15px !important;
}

/* Caption y stats en el hover */
.embed-shorts .sb_youtube[data-videocardlayout="vertical"] .sby_caption {
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    margin-bottom: 8px !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5) !important;
}

.embed-shorts .sb_youtube[data-videocardlayout="vertical"] .sby_stats {
    display: flex !important;
    gap: 12px !important;
    color: #ffffff !important;
    font-size: 12px !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5) !important;
}

/* Ocultar info inferior (opcional, ya que los shorts no suelen tenerlo) */
.embed-shorts .sb_youtube[data-videocardlayout="vertical"] .sby_info {
    display: none !important;
}

/* Ajustes del carousel Owl */
.embed-shorts .sby-owl-stage {
    display: flex !important;
    align-items: stretch !important;
}

.embed-shorts .sby-owl-item {
    display: flex !important;
    align-items: stretch !important;
}

/* Navegación del carousel */
.embed-shorts .sby-owl-prev,
.embed-shorts .sby-owl-next {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: rgba(0, 0, 0, 0.5) !important;
    border-radius: 50% !important;
    width: 40px !important;
    height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: background 0.3s ease !important;
    z-index: 10 !important;
}

.embed-shorts .sby-owl-prev:hover,
.embed-shorts .sby-owl-next:hover {
    background: rgba(0, 0, 0, 0.8) !important;
}

.embed-shorts .sby-owl-prev {
    left: 10px !important;
}

.embed-shorts .sby-owl-next {
    right: 10px !important;
}

.embed-shorts .sby-owl-prev svg,
.embed-shorts .sby-owl-next svg {
    fill: #ffffff !important;
    width: 20px !important;
    height: 20px !important;
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .embed-shorts .sb_youtube[data-videocardlayout="vertical"] .sby_item {
        padding: 5px !important;
    }
    
    .embed-shorts .sby-owl-prev,
    .embed-shorts .sby-owl-next {
        width: 32px !important;
        height: 32px !important;
    }
    
    .embed-shorts .sby-owl-prev svg,
    .embed-shorts .sby-owl-next svg {
        width: 16px !important;
        height: 16px !important;
    }
}

/* Desktop - Mostrar 4 columnas más angostas */
@media (min-width: 769px) {
    .embed-shorts .sby-owl-item {
        max-width: 280px !important;
    }
}
