/* Home opening: the silent loop instead of the photo, and the HOD ENERGY film in a dialog (Meni 24.11).
   Mobile keeps the opening's 5:6 frame; from 1000px the loop runs behind the whole opening.
   hod-a11y.js adds its pause button (.hod-vpause) to the loop; it is placed here so nothing covers it. */
.hf .hf-hero__media--film { background: #050B15; }
.hf .hf-hero__media--film video { display: block; inline-size: 100%; block-size: 100%; object-fit: cover; object-position: 50% 50%; }
.hf .hf-hero__film { position: absolute; inset: 0; z-index: 1; margin: 0; pointer-events: none; }
.hf .hf-hero__filmline { position: absolute; inset-inline-start: 14px; inset-block-end: 14px; max-inline-size: calc(100% - 180px); padding: 6px 14px; border-radius: 16px; background: rgba(5, 11, 21, .62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-size: 13px; line-height: 1.5; color: #fff; text-wrap: balance; pointer-events: auto; }
.hf .hf-hero__filmplay { position: absolute; inset-inline-start: 50%; inset-block-start: 50%; transform: translate(50%, -50%); display: inline-flex; align-items: center; justify-content: center; inline-size: 64px; block-size: 64px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .94); color: #050B15; cursor: pointer; box-shadow: 0 10px 34px rgba(0, 0, 0, .45); pointer-events: auto; transition: transform .2s ease; }
.hf .hf-hero__filmplay svg { inline-size: 26px; block-size: 26px; margin-inline-start: 4px; }
.hf .hf-hero__filmplay:hover { transform: translate(50%, -50%) scale(1.06); }
.hf .hf-hero__filmplay:focus-visible { outline: 3px solid #22D3EE; outline-offset: 3px; }
.hf .hf-hero__media--film .hod-vpause { inset-inline-start: auto; inset-inline-end: 12px; bottom: 12px; }
.hf .hf-btn__time { font-weight: 400; opacity: .8; }
@media (min-width: 1000px) {
  .hf .hf-hero__media--film { inline-size: 100%; }
  .hf .hf-hero__media--film::after { background: linear-gradient(to left, rgba(5, 11, 21, .94) 0%, rgba(5, 11, 21, .84) 34%, rgba(5, 11, 21, .38) 58%, rgba(5, 11, 21, .12) 100%), linear-gradient(180deg, rgba(5, 11, 21, 0) 72%, #071224 100%); }
  .hf .hf-hero__filmline { inset-inline-start: auto; inset-inline-end: 24%; inset-block-end: auto; inset-block-start: calc(46% + 58px); transform: translateX(-50%); max-inline-size: 34%; inline-size: max-content; text-align: center; font-size: 15px; }
  .hf .hf-hero__filmplay { inset-inline-start: auto; inset-inline-end: 24%; inset-block-start: 46%; transform: translate(-50%, -50%); inline-size: 80px; block-size: 80px; }
  .hf .hf-hero__filmplay:hover { transform: translate(-50%, -50%) scale(1.06); }
  .hf .hf-hero__filmplay svg { inline-size: 32px; block-size: 32px; }
  .hf .hf-hero__media--film .hod-vpause { inset-inline-end: 32px; bottom: 40px; }
}
/* the film dialog: vertical cut on phones and tall windows, wide cut elsewhere */
.hf-film__v { display: block; inline-size: min(92vw, 460px, calc((100dvh - 120px) * 9 / 16)); block-size: auto; aspect-ratio: 9 / 16; border-radius: 14px; background: #000; }
.hf-film__v.is-h { inline-size: min(94vw, 1120px, calc((100dvh - 120px) * 16 / 9)); aspect-ratio: 16 / 9; }
