.globalweb-performance-video-shell {
    width: 100%;
}

/* SP Page Builder reserves a 16:9 box with padding-top and positions its
   native video absolutely. Keep the replacement poster in that same box. */
.sppb-addon-video-local-video-wrap > .globalweb-performance-video-shell {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.globalweb-performance-video-preview {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    cursor: pointer;
    color: #fff;
    background: #000;
    border: 0;
}

.globalweb-performance-video-poster {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.globalweb-performance-video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 4.5rem;
    height: 4.5rem;
    background: rgba(1, 80, 135, .9);
    border: 3px solid #fff;
    border-radius: 50%;
    box-shadow: 0 4px 18px rgba(0, 0, 0, .35);
    transform: translate(-50%, -50%);
    transition: background-color .15s ease, transform .15s ease;
}

.globalweb-performance-video-play::after {
    position: absolute;
    top: 50%;
    left: 54%;
    width: 0;
    height: 0;
    content: "";
    border-top: .75rem solid transparent;
    border-bottom: .75rem solid transparent;
    border-left: 1.15rem solid #fff;
    transform: translate(-50%, -50%);
}

.globalweb-performance-video-preview:hover .globalweb-performance-video-play,
.globalweb-performance-video-preview:focus-visible .globalweb-performance-video-play {
    background: #003f6b;
    transform: translate(-50%, -50%) scale(1.06);
}

.globalweb-performance-video-preview:focus-visible {
    outline: 3px solid #0b79d0;
    outline-offset: 3px;
}

.globalweb-performance-video {
    display: block;
    width: 100%;
}

.globalweb-performance-video[hidden],
.globalweb-performance-video-preview[hidden] {
    display: none !important;
}

@media (max-width: 575.98px) {
    .globalweb-performance-video-play {
        width: 3.5rem;
        height: 3.5rem;
    }
}
