/* Only the two opening blocks validated by Triangle Video Heroes. */
body.triangle-video-hero-page #wrapper { padding-top: 0 !important; }
.triangle-video-native {
    position: relative;
    z-index: 0;
    width: 100%;
    height: 56.25vw;
    min-height: 240px;
    max-height: 100vh;
    max-height: 100svh;
    margin: 0;
    padding: 0;
    overflow: hidden;
    isolation: isolate;
    background: #111;
}
.triangle-video-native .triangle-video-poster,
.triangle-video-native .triangle-video-native-player {
    position: absolute;
    inset: 0;
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    object-fit: cover;
    opacity: 0;
}
.triangle-video-native .triangle-video-native-player {
    pointer-events: none;
    transition: opacity 160ms ease;
}
.triangle-video-native.has-motion .triangle-video-native-player { opacity: 1; }
.triangle-video-native.is-static .triangle-video-poster,
.triangle-video-native.is-blocked .triangle-video-poster,
.triangle-video-native.is-failed .triangle-video-poster { opacity: 1; }
.triangle-video-native.is-static .triangle-video-native-player,
.triangle-video-native.is-blocked .triangle-video-native-player,
.triangle-video-native.is-failed .triangle-video-native-player { opacity: 0; }
.triangle-video-native .triangle-video-fallback-link {
    position: absolute;
    z-index: 2;
    left: max(18px, env(safe-area-inset-left));
    bottom: max(18px, env(safe-area-inset-bottom));
    display: none;
    box-sizing: border-box;
    min-height: 44px;
    align-items: center;
    padding: 10px 14px;
    border: 1px solid rgba(255,255,255,.7);
    border-radius: 3px;
    background: rgba(0,0,0,.65);
    color: #fff !important;
    font: 13px/22px Arial, sans-serif;
    text-decoration: none;
    text-transform: none;
}
.triangle-video-native.is-static .triangle-video-fallback-link,
.triangle-video-native.is-blocked .triangle-video-fallback-link,
.triangle-video-native.is-failed .triangle-video-fallback-link { display: inline-flex; }
.triangle-video-native .triangle-video-fallback-link:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 4px;
}
.triangle-video-native .triangle-video-status {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}
@media (prefers-reduced-motion: reduce) {
    .triangle-video-native .triangle-video-native-player { transition: none; }
}
