.video-example-modal {
  width: min(940px, calc(100vw - 48px));
  max-width: none;
  max-height: calc(100svh - 48px);
  margin: auto;
  padding: 0;
  overflow: visible;
  border: 1px solid var(--vz-line-strong, rgba(255, 255, 255, .18));
  border-radius: var(--vz-radius-xl, 24px);
  background: var(--vz-surface, #111525);
  color: var(--vz-text, #f8fafc);
  box-shadow: var(--vz-shadow-lg, 0 24px 70px rgba(0, 0, 0, .45));
}

.video-example-modal::backdrop {
  background: rgba(3, 5, 12, .82);
  backdrop-filter: blur(7px);
}

.video-example-modal__shell { overflow: hidden; border-radius: inherit; }
.video-example-modal__close {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 50%;
  background: rgba(7, 10, 18, .78);
  color: #fff;
  font-size: 17px;
  cursor: pointer;
}
.video-example-modal__close:hover,
.video-example-modal__close:focus-visible {
  border-color: rgba(255, 255, 255, .55);
  background: rgba(7, 10, 18, .94);
  outline: none;
}
.video-example-modal__media {
  display: grid;
  place-items: center;
  aspect-ratio: var(--video-example-aspect-ratio, 16 / 9);
  min-height: 0;
  background: #03050c;
}
.video-example-modal__media video { width: 100%; height: 100%; object-fit: contain; }
.video-example-modal__details {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 20px 22px;
}
.video-example-modal__details > div { min-width: 0; }
.video-example-modal__eyebrow {
  margin: 0 0 4px;
  color: #c4b5fd;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.video-example-modal__details h2 { margin: 0; overflow: hidden; font-size: 23px; letter-spacing: -.035em; text-overflow: ellipsis; white-space: nowrap; }
.video-example-modal__details p:last-child { margin: 5px 0 0; color: var(--vz-text-3, #8c94a8); font-size: 12px; }
.video-example-modal__actions { display: flex; flex: 0 0 auto; gap: 10px; }
.video-example-modal__details .btn { min-height: 48px; }

@media (max-width: 699px) {
  .video-example-modal { width: 100vw; height: 100svh; max-height: none; border: 0; border-radius: 0; }
  .video-example-modal__shell { display: grid; grid-template-rows: minmax(0, 1fr) auto; height: 100%; }
  .video-example-modal__media { aspect-ratio: auto; min-height: 0; }
  .video-example-modal__details { align-items: stretch; flex-direction: column; gap: 17px; padding: 18px 16px max(18px, env(safe-area-inset-bottom)); }
  .video-example-modal__details h2 { font-size: 20px; }
  .video-example-modal__actions { flex-direction: column; }
  .video-example-modal__details .btn { width: 100%; }
  .video-example-modal__close { top: max(12px, env(safe-area-inset-top)); right: 12px; }
}
