.mh-demo-player--long .mh-demo-screen,
.mh-demo-player--vertical .mh-demo-screen {
  position: relative;
  background: #0b0710;
}

.mh-demo-player--long .mh-demo-screen video,
.mh-demo-player--vertical .mh-demo-screen video {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.mh-demo-player--long .mh-demo-screen video {
  aspect-ratio: 16 / 9;
}

.mh-demo-player--vertical .mh-demo-screen video {
  aspect-ratio: 9 / 16;
}

.mh-demo-player--long .mh-demo-screen .mh-demo-play,
.mh-demo-player--vertical .mh-demo-screen .mh-demo-play {
  position: absolute;
  inset: 50% auto auto 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  transform: translate(-50%, -50%);
  min-height: 46px;
  max-width: calc(100% - 1rem);
  padding: .6rem .9rem;
  border: 1px solid #fff9;
  border-radius: 999px;
  color: #fff;
  background: #170c23ee;
  font: inherit;
  font-size: .9rem;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
}

.mh-demo-player .mh-demo-screen .mh-demo-play svg {
  flex: 0 0 auto;
}

.mh-demo-player .mh-demo-screen .mh-demo-play:hover {
  background: #32174a;
}

.mh-demo-player .mh-demo-screen .mh-demo-play:focus-visible {
  outline: 2px solid #ff96d4;
  outline-offset: 3px;
}

.mh-section.mh-short-demo-section {
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
  align-items: center;
  gap: clamp(1.5rem, 6vw, 6.5rem);
  padding-block: clamp(1.75rem, 4vw, 3.75rem);
  border-top: 1px solid var(--mh-line);
  scroll-margin-top: 1rem;
}

.mh-short-demo-section .mh-demo-player--vertical {
  width: min(100%, 300px);
  justify-self: center;
}

@media (max-width: 1000px) {
  .mh-section.mh-short-demo-section {
    grid-template-columns: minmax(0, 1fr);
    max-width: 760px;
  }
}

@media (max-width: 700px) {
  .mh-hero:has(.mh-demo-player--long) {
    padding-top: 2rem;
    gap: 1.5rem;
  }

  .mh-short-demo-section .mh-demo-player--vertical {
    width: min(100%, 232px);
  }
}
