:root {
  color-scheme: light dark;
}

* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  height: 100%;
}
body {
  display: grid;
  place-items: center;
  background: #0b0b0b;
}
.container {
  width: min(900px, 96vw);
  margin: 4vh auto;
}
.video-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}
/* Apply to all videos on the page, including WP blocks */
figure.wp-block-video video, video#mainVideo, video.auto-noui {
  display: block;
  width: 100%;
  height: auto;
  background: #000;
  object-fit: cover;
  pointer-events: none !important;
  user-select: none !important;
  -webkit-user-select: none !important;
}

/* Smooth rounded edges for videos */
figure.wp-block-video {
  border-radius: 16px;
  overflow: hidden;
  background: #000;
}
figure.wp-block-video .no-ui-video-cover { border-radius: inherit; }

/* Hide any possible native controls completely */
video::-webkit-media-controls { display: none !important; }
video::-webkit-media-controls-enclosure { display: none !important; }
video::-webkit-media-controls-panel { display: none !important; }
video::-webkit-media-controls-overlay-play-button { display: none !important; }
video::-webkit-media-controls-start-playback-button { display: none !important; }
video::-webkit-media-controls-play-button { display: none !important; }

/* Transparent overlay to swallow all user interactions */
/* Overlay for wrappers to swallow interactions */
.video-blocker, figure.wp-block-video .no-ui-video-cover {
  position: absolute; inset: 0;
  z-index: 5;
  pointer-events: auto;
  background: transparent;
  touch-action: none;
}
