/* Media stays in the site's established photo frames. */
.hv-public .hv-home-feature-media { position: relative; }
.hv-public .hv-media-video-thumb { cursor: pointer; }
.hv-media-video-thumb { position: relative; display: block; }
.hv-media-video-thumb img { display: block; }
.hv-media-play { position: absolute; inset: 50% auto auto 50%; transform: translate(-50%,-50%); width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid #ffffffb8; border-radius: 50%; background: #142033b8; color: #fff; font-size: 23px; padding: 0 0 0 3px; cursor: pointer; box-shadow: 0 3px 12px #0004; z-index: 2; }
.hv-media-play[hidden] { display: none; }
.hv-media-video-thumb:hover .hv-media-play { background: #142033e6; }
/* Video keeps its complete picture, while photo crop settings remain independent.
   Round the video element itself as well as its clipping frame so that native
   video controls / GPU compositing cannot expose square top corners. */
.hv-public .hv-page-hero-visual video,
.hv-public .hv-home-hero-image video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    background: #080b13;
    border-radius: inherit;
}
.hv-public .hv-page-hero-visual:has(> video) {
    background: #080b13;
}

.hv-page-hero-visual { position: relative; }
.hv-hero-play { width: 62px; height: 62px; }
.hv-video-dialog { width: min(95vw,1000px); max-width: 1000px; max-height: 92dvh; padding: 0; border: 0; border-radius: 14px; background: #121620; color: white; box-shadow: 0 20px 80px #0009; }
.hv-video-dialog::backdrop { background: #070a11db; }
.hv-video-dialog-panel { position: relative; padding: 42px 12px 12px; }
.hv-video-dialog video { display: block; width: 100%; max-height: calc(92dvh - 108px); background: black; }
.hv-video-close { position: absolute; top: 3px; right: 13px; background: none; color: white; border: none; font-size: 33px; line-height: 1.1; }
.hv-video-caption { padding: 8px 2px 0; margin: 0; color: #eee; }
@media (max-width: 575px) { .hv-media-play { width: 43px; height: 43px; font-size: 20px; } }

.hv-public .hv-exp-cover-link.hv-media-video-thumb { width: fit-content; max-width: 100%; margin-inline: auto; }
.hv-public .hv-home-feature-media .hv-media-play { pointer-events: none; }
