.elementor-865 .elementor-element.elementor-element-279f6a1{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-865 .elementor-element.elementor-element-3c69adb .elementor-wrapper{--video-aspect-ratio:0.5625;filter:brightness( 100% ) contrast( 100% ) saturate( 100% ) blur( 0px ) hue-rotate( 0deg );}#elementor-popup-modal-865{background-color:rgba(0,0,0,.8);justify-content:center;align-items:center;pointer-events:all;}#elementor-popup-modal-865 .dialog-message{width:640px;height:auto;}#elementor-popup-modal-865 .dialog-close-button{display:flex;}#elementor-popup-modal-865 .dialog-widget-content{box-shadow:2px 8px 23px 3px rgba(0,0,0,0.2);}/* Start custom CSS for container, class: .elementor-element-279f6a1 *//* Quitar fondo blanco y scroll del contenedor interno del popup */
.elementor-popup-modal .dialog-message {
    background-color: transparent !important; /* quitar blanco */
    min-height: 0 !important;               /* quitar altura mínima */
    height: auto !important;                /* que se ajuste al vídeo */
    overflow: hidden !important;            /* quitar scroll */
    width: 100% !important;
    box-sizing: border-box;
    padding: 0 !important;
}

/* Centrar vídeo dentro del contenedor */
.elementor-865 .elementor-element.elementor-element-279f6a1 {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Vídeo vertical tipo Reel */
.elementor-865 .elementor-element.elementor-element-279f6a1 video {
    aspect-ratio: 9 / 16;
    width: 100%;
    max-width: 420px;
    max-height: 90vh;
    object-fit: cover;
    border-radius: 20px;
    display: block;
}

/* Ajuste en móvil */
@media (max-width: 767px) {
    .elementor-865 .elementor-element.elementor-element-279f6a1 video {
        max-width: 90vw;
        max-height: 80vh;
    }
}/* End custom CSS */