body.static-video-modal-active {
  overflow: hidden;
}

.static-video-modal[hidden] {
  display: none;
}

.static-video-modal {
  position: fixed;
  inset: 0;
  z-index: 1000001;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(7, 20, 33, 0.86);
}

.static-video-modal__panel {
  position: relative;
  width: min(100%, 1100px);
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 12px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.static-video-modal__frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: inherit;
}

.static-video-modal__close {
  position: absolute;
  top: -48px;
  right: 0;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font: 400 40px/42px Arial, sans-serif;
  cursor: pointer;
}

@media (max-width: 600px) {
  .static-video-modal {
    padding: 16px;
  }

  .static-video-modal__close {
    top: -46px;
  }
}
