.hero-video-overlay {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(246, 190, 57, .62);
  border-radius: 18px;
  background: rgba(4, 14, 25, .91);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .52);
}

.hero-video-overlay .hero-video-main {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 11px;
  background: #020509;
}

.hero-video-overlay .hero-video-sound {
  align-self: center;
  max-width: 100%;
  padding: 9px 14px;
  border: 1px solid rgba(246, 190, 57, .75);
  border-radius: 999px;
  background: #071827;
  color: #fff;
  font: 700 12px/1.3 Inter, sans-serif;
  text-align: center;
  cursor: pointer;
}

.hero-video-overlay .hero-video-sound:hover,
.hero-video-overlay .hero-video-sound:focus-visible {
  background: #d4af37;
  color: #071827;
  outline: 2px solid #fff;
  outline-offset: 2px;
}

@media (min-width: 901px) {
  .hero-split .hero-left-content {
    max-width: min(780px, calc(100vw - 400px)) !important;
    width: min(780px, calc(100vw - 400px)) !important;
  }

  .hero-video-overlay {
    position: absolute;
    top: 55%;
    right: clamp(22px, 3vw, 58px);
    width: clamp(290px, 29vw, 400px);
    transform: translateY(-50%);
  }
}

@media (max-width: 900px) {
  .hero-video-overlay {
    width: min(520px, calc(100% - 36px));
    margin: 0 auto 28px;
  }
}
