.video-responsive { display: block; max-width: 100%; margin: 0 auto; position: relative; background: #000; } .video-responsive video { width: 100%; height: auto; vertical-align: middle; border-radius: 8px; box-shadow: 0 4px 8px rgba(0,0,0,0.1); } /* Ajustes para móviles */ @media (max-width: 768px) { .video-responsive { border-radius: 0; } } /* Relación de aspecto 16:9 para contenedor */ .video-responsive::before { content: ""; display: block; padding-top: 56.25%; /* 16:9 Aspect Ratio */ } .video-responsive video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }