.hero-video-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 90vh;
  background: #171717;
  overflow: hidden;
}
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 767px) {
  .hero-video-container {
    height: 56.25vw;
    max-height: 320px;
    min-height: 200px;
  }
}
.hero-video-container:fullscreen,
.hero-video-container:-webkit-full-screen {
  width: 100%;
  height: 100%;
  max-height: 100%;
}
.hero-video-container:fullscreen .hero-video,
.hero-video-container:-webkit-full-screen .hero-video {
  object-fit: contain;
}
.hero-video-play-fallback {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 6;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.hero-video-play-fallback[hidden] {
  display: none;
}
.hero-video-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0));
}
.hero-video-btn {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.hero-video-btn:hover,
.hero-video-btn:focus {
  background: rgba(255, 255, 255, 0.15);
}
.hero-video-btn--hint {
  animation: heroVideoHintPulse 1.6s ease-out infinite;
}
@keyframes heroVideoHintPulse {
  0% { box-shadow: 0 0 0 0 rgba(98, 209, 114, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(98, 209, 114, 0); }
  100% { box-shadow: 0 0 0 0 rgba(98, 209, 114, 0); }
}
.hero-video-seek {
  flex: 1 1 auto;
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.3);
  outline: none;
  cursor: pointer;
  margin: 0;
}
.hero-video-seek::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--vitaprax-primary-color);
  cursor: pointer;
}
.hero-video-seek::-moz-range-thumb {
  width: 13px;
  height: 13px;
  border: none;
  border-radius: 50%;
  background: var(--vitaprax-primary-color);
  cursor: pointer;
}
.hero-video-volume {
  flex: 0 0 70px;
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.3);
  outline: none;
  cursor: pointer;
  margin: 0;
}
.hero-video-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--vitaprax-primary-color);
  cursor: pointer;
}
.hero-video-volume::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: none;
  border-radius: 50%;
  background: var(--vitaprax-primary-color);
  cursor: pointer;
}
@media (max-width: 480px) {
  .hero-video-volume {
    display: none;
  }
}
.hero-video-poster-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
  pointer-events: none;
}
.hero-video-poster-overlay[hidden] {
  display: none;
}
