.hero__photo,
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.hero__video:not([src]) {
  visibility: hidden;
}

.hero__bg::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgb(0 0 0 / 28%), transparent 20%),
    linear-gradient(90deg, rgb(0 0 0 / 42%), rgb(0 0 0 / 28%) 42%, transparent 70%);
  content: "";
  pointer-events: none;
}

@media (max-width: 767px) {
  .hero__video { object-position: 49% center; }
  .hero__bg::after {
    background: linear-gradient(rgb(0 0 0 / 28%), transparent 24%, transparent 48%, rgb(0 0 0 / 58%));
  }
}

@media (max-width: 767px) and (orientation: portrait) {
  .hero__photo {
    object-position: 47.5% center;
    transform: scale(1.32);
    transform-origin: 47.5% 63%;
  }
}
