.mc-video-player {
  width: 100%;
  line-height: 0;
}

.mc-video-player-inner {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #000;
  aspect-ratio: 16 / 9;
  isolation: isolate;
}

.mc-video-player-poster-image,
.mc-video-player-video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mc-video-player-video {
  z-index: 1;
  opacity: 0;
  pointer-events: none;
}

.mc-video-player.is-playing .mc-video-player-poster-image,
.mc-video-player.is-playing .mc-video-player-overlay {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.mc-video-player.is-playing .mc-video-player-video {
  opacity: 1;
  pointer-events: auto;
}

.mc-video-player-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.mc-video-player-overlay:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -4px;
}

/* Use our own class — avoid Bricks .bricks-video-overlay-icon global fixed/sticky styles */
.mc-video-player-play-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(48px, 8vw, 88px);
  height: clamp(48px, 8vw, 88px);
  color: #fff;
  font-size: clamp(48px, 8vw, 88px);
  line-height: 1;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
  pointer-events: none;
}

.mc-video-player-play-icon svg {
  display: block;
  width: 1em;
  height: 1em;
  fill: currentColor;
}
