.p-hero-main,
.p-hero-main__image {
  position: relative;
}

.p-hero-main__video,
.p-hero-main__image > picture {
  display: flex;
  position: relative;
}

.p-hero-main__video,
.p-hero-main__image {
  aspect-ratio: 1920 / 1300;
  overflow: hidden;
}

.p-hero-main--sm .p-hero-main__image {
  aspect-ratio: unset;
  height: 15rem;
}

.p-hero-main__image > picture {
  position: absolute;
  z-index: 10;
  inset: 0;
}

.p-hero-main__video > video,
.p-hero-main__image > picture > img {
  object-fit: cover;
  object-position: center center;
  width: 100%;
  height: 100%;
}

.p-hero-main__video > video {
  aspect-ratio: 1920 / 1080;
}

.p-hero-main__video-volume {
  position: absolute;
  z-index: 20;
  left: 1rem;
  bottom: 1rem;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 2px solid var(--v-color-2);
  color: var(--v-color-2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.p-hero-main__video-volume__mute {
  display: none;
}

.p-hero-main__video-volume--muted .p-hero-main__video-volume__mute {
  display: block;
}

.p-hero-main__video-volume--muted .p-hero-main__video-volume__sound {
  display: none;
}

.p-hero-main .p-widget-arrows-down-animated {
  position: absolute;
  z-index: 20;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
}

@media (min-width: 1000px) {
  .p-hero-main__video,
  .p-hero-main__image {
    aspect-ratio: unset;
    height: 100vh;
    height: 100svh;
  }

  .p-hero-main--sm .p-hero-main__image {
    height: 20rem;
  }

  .p-hero-main .p-widget-arrows-down-animated {
    bottom: 1.5rem;
  }

  .p-hero-main__video-volume {
    width: 4.5rem;
    height: 4.5rem;
    font-size: 2rem;
  }
}
