.investment-hero-video-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.investment-hero-video-modal.is-open {
  display: flex;
}

.investment-hero-video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
}

.investment-hero-video-dialog {
  position: relative;
  width: min(1200px, 94vw);
  max-height: 90vh;
  background: #0f172a;
  border-radius: 16px;
  overflow: hidden;
  z-index: 1;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.35);
}

.investment-hero-video {
  display: block;
  width: 100%;
  height: auto;
  max-height: 90vh;
  background: #0f172a;
}

.investment-hero-video-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: #1e293b;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

body.video-modal-open {
  overflow: hidden;
}

@media (max-width: 767px) {
  .investment-hero-video-dialog {
    width: calc(100% - 32px);
  }

  .investment-hero-video-close {
    top: 8px;
    right: 8px;
  }
}
