.vpe-wrap{display:flex;width:100%;margin:0 0 1.5em;box-sizing:border-box}
.vpe-wrap.vpe-align-center{justify-content:center}
.vpe-wrap.vpe-align-left{justify-content:flex-start}
.vpe-wrap.vpe-align-right{justify-content:flex-end}
.vpe-wrap noscript{display:none}

.vpe-box{position:relative;max-width:100%;background:#000;overflow:hidden;flex:0 1 auto;aspect-ratio:16/9}

.vpe-box .vpe-frame{position:absolute;top:0;left:0;width:100%;height:100%;border:0;opacity:0;transition:opacity .35s ease}
.vpe-box.vpe-ready .vpe-frame{opacity:1}

.vpe-box .vpe-poster{position:absolute;top:0;left:0;width:100%;height:100%;margin:0;padding:0;border:0;border-radius:0;
	background:#111 center/cover no-repeat;cursor:pointer;-webkit-appearance:none;appearance:none;box-shadow:none}
.vpe-box .vpe-poster:hover,.vpe-box .vpe-poster:focus{background-color:#111;box-shadow:none}
.vpe-box .vpe-poster:focus-visible{outline:3px solid #00adef;outline-offset:-3px}

.vpe-box .vpe-play{position:absolute;top:50%;left:50%;width:72px;height:72px;margin:-36px 0 0 -36px;border-radius:50%;
	background:rgba(0,0,0,.65);transition:transform .2s ease,background .2s ease}
.vpe-box .vpe-play:after{content:"";position:absolute;top:50%;left:50%;margin:-12px 0 0 -8px;
	border-style:solid;border-width:12px 0 12px 22px;border-color:transparent transparent transparent #fff}
.vpe-box .vpe-poster:hover .vpe-play{transform:scale(1.1);background:rgba(0,173,239,.9)}

.vpe-error{color:#b32d2e}

.vpe-box.vpe-cover .vpe-frame{max-width:none}
.vpe-host{position:relative!important;overflow:hidden}

/* If a theme script still wraps the iframe, make the wrapper fill our frame. */
.vpe-box .fluidvids{position:absolute!important;top:0;left:0;width:100%!important;height:100%!important;max-width:none!important;margin:0!important;padding:0!important}
.vpe-box .fluidvids-item{position:absolute!important}
.vpe-box .fluid-width-video-wrapper{position:absolute!important;top:0;left:0;width:100%!important;height:100%!important;margin:0!important;padding:0!important}

/* Container mode: the wrap lives inside the Elementor container. Other widgets stay above the video. */
.vpe-host>*:not(.vpe-wrap){z-index:1}
/* Container has no height: fall back to a normal 16:9 video so it is never invisible. */
.vpe-wrap.vpe-fallback{position:static!important;margin:0 0 1.5em!important}
.vpe-wrap.vpe-fallback .vpe-box{width:100%!important;height:auto!important;aspect-ratio:16 / 9!important}
