.hero-video {
  min-height: 320px;
  position: relative;
}

.hero-video__media {
  pointer-events: none;
}

.hero-video__media::-webkit-media-controls,
.hero-video__media::-webkit-media-controls-enclosure,
.hero-video__media::-webkit-media-controls-panel {
  display: none !important;
}

.hero-video__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  z-index: 10;
}

.hero-video__overlay--left {
  justify-content: flex-start;
}

.hero-video__overlay--center {
  justify-content: center;
}

.hero-video__overlay--right {
  justify-content: flex-end;
}

.hero-video__overlay-inner {
  position: relative;
  display: flex;
  align-items: center;
  width: auto;
  max-width: 100%;
  height: 100%;
}

.hero-video__overlay-inner--full {
  width: 100%;
}

.hero-video__backdrop {
  position: absolute;
  inset: 0;
}

.hero-video__backdrop--color {
  background-color: var(--backdrop-color, #000000);
  opacity: calc(var(--backdrop-opacity, 20) / 100);
}

.hero-video__backdrop--blur {
  -webkit-backdrop-filter: var(--backdrop-blur, none);
  backdrop-filter: var(--backdrop-blur, none);
}

.hero-video__content {
  position: relative;
  z-index: 3;
  padding: 2rem;
}

.hero-video__logo-wrap {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  padding: 1.5rem;
}

.hero-video__logo {
  width: auto;
  max-width: var(--overlay-max-width, 100%);
  max-height: var(--overlay-max-height, 100%);
  height: auto;
  object-fit: contain;
}

@media (min-width: 640px) {
  .hero-video {
    min-height: 380px;
  }
}

@media (min-width: 1024px) {
  .hero-video {
    min-height: 520px;
  }

  .hero-video__content {
    padding: 2rem 5rem;
  }
}
