.azf-hero-player{position:relative;isolation:isolate;overflow:hidden;width:100%;aspect-ratio:16/9;border-radius:12px;background:#101216;margin-block:0 2rem;display:flex;align-items:center;justify-content:center}
.azf-hero-backdrop{position:absolute;inset:-28px;background-image:linear-gradient(rgba(10,12,16,.55),rgba(10,12,16,.55)),var(--azf-video-poster,none);background-size:cover;background-position:center;filter:blur(24px);transform:scale(1.08);z-index:-1}
.azf-hero-media{position:relative;width:100%;height:100%;display:flex;align-items:center;justify-content:center}
.azf-hero-media video{display:block;max-width:100%;max-height:100%;width:100%;height:100%;object-fit:contain;background:transparent}
.azf-hero-media iframe{display:block;width:100%;height:100%;border:0}
.azf-hero-player.azf-is-portrait .azf-hero-media video{width:auto;max-width:100%;height:100%;aspect-ratio:9/16;object-fit:contain}
.azf-hero-player.azf-is-portrait .azf-hero-media iframe{width:auto;max-width:100%;height:100%;aspect-ratio:9/16}
.azf-hero-player .wp-block-video,.azf-hero-player .wp-block-embed,.azf-hero-player .wp-block-embed__wrapper{width:100%;height:100%;margin:0;display:flex;align-items:center;justify-content:center}
.azf-hero-player .wp-block-embed__wrapper iframe{max-width:100%}
@media(max-width:600px){.azf-hero-player{border-radius:10px;margin-bottom:1.5rem}.azf-hero-player.azf-is-portrait:fullscreen{aspect-ratio:auto}}

/* Unified player controls and metadata */
.azf-hero-player .azf-player-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:5;width:68px;height:68px;display:flex;align-items:center;justify-content:center;padding:0;border:3px solid #fff;border-radius:50%;background:rgba(10,14,20,.43);box-shadow:0 4px 20px rgba(0,0,0,.25);cursor:pointer;transition:opacity .2s,background .2s}
.azf-hero-player .azf-player-play span{display:block;width:0;height:0;border-top:12px solid transparent;border-bottom:12px solid transparent;border-left:19px solid #fff;margin-left:6px}
.azf-hero-player.azf-player-playing .azf-player-play{opacity:0;pointer-events:none}
.azf-hero-player .azf-player-play:hover{background:rgba(10,14,20,.7)}
.azf-hero-player .azf-player-play:focus-visible{outline:3px solid #fff;outline-offset:5px}
.azf-hero-player .azf-player-duration{position:absolute;right:22px;bottom:24px;z-index:5;color:#fff;background:rgba(0,0,0,.75);border-radius:4px;padding:5px 7px;font:600 12px/1.1 system-ui,sans-serif;font-variant-numeric:tabular-nums;pointer-events:none}
.azf-hero-player .azf-player-duration[hidden]{display:none}
.azf-hero-player.azf-player-playing .azf-player-duration{opacity:0}
@media(max-width:600px){.azf-hero-player .azf-player-play{width:54px;height:54px}.azf-hero-player .azf-player-play span{border-top-width:9px;border-bottom-width:9px;border-left-width:15px}.azf-hero-player .azf-player-duration{right:12px;bottom:12px}}

/* v1.2: flush-fit landscape videos, retain blur only for portrait footage */
.azf-hero-player:not(.azf-is-portrait) .azf-hero-backdrop{display:none!important}
.azf-hero-player:not(.azf-is-portrait) .azf-hero-media video{width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:cover!important}
.azf-hero-player:not(.azf-is-portrait) .azf-hero-media .wp-block-video{width:100%!important;height:100%!important;overflow:hidden!important}
.azf-hero-player.azf-is-portrait .azf-hero-backdrop{display:block!important}

/* v1.3: override intrinsic-size and figure constraints on landscape video */
.azf-hero-player.azf-is-landscape .azf-hero-media,
.azf-hero-player.azf-is-landscape .azf-hero-media .wp-block-video,
.azf-hero-player.azf-is-landscape .azf-hero-media video{width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;margin:0!important;padding:0!important}
.azf-hero-player.azf-is-landscape .azf-hero-media video{object-fit:cover!important}
.azf-hero-player.azf-is-landscape .azf-hero-backdrop{display:none!important}

/* v1.4: video-only spacing; regular post images remain untouched */
.azf-hero-player{margin-top:32px!important}
/* Never show a blurred backdrop on landscape / not-yet-classified video */
.azf-hero-player:not(.azf-is-portrait) .azf-hero-backdrop{display:none!important}
.azf-hero-player:not(.azf-is-portrait) .azf-hero-media,
.azf-hero-player:not(.azf-is-portrait) .azf-hero-media figure,
.azf-hero-player:not(.azf-is-portrait) .azf-hero-media .wp-video,
.azf-hero-player:not(.azf-is-portrait) .azf-hero-media .mejs-container,
.azf-hero-player:not(.azf-is-portrait) .azf-hero-media .mejs-inner,
.azf-hero-player:not(.azf-is-portrait) .azf-hero-media .mejs-mediaelement{width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;margin:0!important;padding:0!important}
.azf-hero-player:not(.azf-is-portrait) .azf-hero-media video{width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:cover!important;display:block!important}
/* When video is actually portrait, do not crop it */
.azf-hero-player.azf-is-portrait .azf-hero-media video{object-fit:contain!important}
@media(max-width:600px){.azf-hero-player{margin-top:20px!important}}
