/* Shared click-to-play video component */
.bmm-video {
  position: relative;
  width: 100%;
}

.bmm-video-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  padding: 5px 11px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(0, 0, 0, 0.65);
  border-radius: 999px;
}

.bmm-video-poster {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #111;
  overflow: hidden;
  border-radius: 4px;
}

.bmm-video-poster .bmm-video-preview {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.bmm-video-poster .bmm-video-poster-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.bmm-video-play {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  margin: 0;
  padding: 0;
  background: rgba(0, 0, 0, 0.28);
  cursor: pointer;
  transition: background 0.2s ease;
}

.bmm-video-play span {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1;
  color: #fff;
  background: rgba(0, 0, 0, 0.72);
  border: 2px solid rgba(255, 255, 255, 0.85);
  padding-left: 3px;
}

.bmm-video-play:hover {
  background: rgba(0, 0, 0, 0.38);
}

.bmm-video-player {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: none;
  background: #000;
  border-radius: 4px;
  object-fit: contain;
}

.bmm-video-label {
  margin: 8px 0 0;
  padding: 0 2px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
}

.bmm-video.is-playing .bmm-video-poster {
  display: none;
}

.bmm-video.is-playing .bmm-video-player {
  display: block;
}

.bmm-video.is-coming-soon .bmm-video-poster {
  cursor: default;
}

.bmm-video.is-coming-soon .bmm-video-poster::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.28));
  pointer-events: none;
}

@media (max-width: 768px) {
  .bmm-video-play span {
    width: 52px;
    height: 52px;
    font-size: 18px;
  }
}
