/**
 * CSS para video-ios-fallback.js
 * Estilos para el fallback de videos en iOS
 */

.sde-ios-video-fallback {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
    overflow: hidden;
    cursor: pointer;
}

.sde-ios-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 1;
}

.sde-ios-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://superdeportivo.com.ar/wp-content/uploads/2025/11/fondorojoiphone.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 2;
}

.sde-ios-video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    border: none;
    cursor: pointer;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.sde-ios-video-play::before {
    content: '';
    width: 0;
    height: 0;
    border-left: 24px solid #000;
    border-top: 16px solid transparent;
    border-bottom: 16px solid transparent;
    margin-left: 4px;
}

.sde-ios-video-play:hover {
    background: rgba(255, 255, 255, 1);
    transform: translate(-50%, -50%) scale(1.1);
}

.sde-ios-hidden-video {
    display: none;
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: contain;
}

.sde-ios-hidden-video[style*="display: block"] {
    display: block !important;
    position: relative;
    z-index: 4;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16/9 !important;
    object-fit: contain !important;
}

/* Asegurar que el contenedor mantenga el aspect-ratio */
.sde-videos__embed {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
}

.sde-videos__embed > * {
    max-width: 100%;
}

