.hero-film {
  display: grid;
  width: 100%;
  margin: 0;
  text-decoration: none;
  color: #f5f7fc;
}
.film-thumb {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: #171a20;
}
.film-thumb img { width: 100%; height: 100%; object-fit: cover; opacity: .78; }
.film-thumb svg { position: absolute; width: 32px; height: 32px; filter: drop-shadow(0 2px 8px #0008); }
.film-caption { display: flex; align-items: baseline; justify-content: space-between; gap: .75em; padding: 7px 2px 0; font-size: 13px; font-weight: 600; }
.film-caption span { color: #afb6c4; font-size: 11px; font-variant-numeric: tabular-nums; }
.hero-film:hover .film-thumb img { opacity: 1; }
.film-dialog { width: min(1080px, 94vw); max-width: none; padding: 0; border: 0; margin: auto; background: transparent; color: white; overflow: visible; }
.film-dialog::backdrop { background: rgb(3 5 10 / .90); }
.film-dialog video { display: block; width: 100%; height: auto; max-height: 82dvh; background: #08090a; border-radius: 12px; }
.film-close { display: grid; place-content: center; margin: 0 0 6px auto; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #282b31; color: white; font-size: 25px; cursor: pointer; }
html:has(.film-dialog[open]) { overflow: hidden; }
@media (min-width: 741px) {
  .hero-get:has(.hero-film) {
    --action-gap: clamp(20px, 1.6vw, 26px);
    display: grid;
    gap: var(--action-gap);
    width: min(100%, 220px);
    padding-bottom: 12px;
  }
  .hero-get:has(.hero-film) .hero-actions { gap: var(--action-gap); }
}
@media (max-width: 740px) {
  .hero-get {
    width: min(100%, 390px);
    justify-self: center;
  }
  .hero-film {
    width: min(100%, 264px);
    min-height: 48px;
    margin: 16px auto 0;
    align-items: center;
  }
  .film-thumb, .film-caption { grid-area: 1 / 1; }
  .film-thumb { width: 68px; justify-self: start; border-radius: 8px; }
  .film-thumb svg { width: 24px; height: 24px; }
  .film-caption {
    position: relative;
    justify-content: center;
    align-items: center;
    padding: 0;
  }
  .film-caption span { position: absolute; inset-inline-end: 8px; }
}
