/* Video Showcase — ported from lg-lightbox-video with renamed classes */

.lg-video-showcase__inner {
  border-radius: 8px 8px 0 0;
  overflow: hidden;
  background-color: #f7f7fe;
}

.lg-video-showcase__media {
  position: relative;
  overflow: hidden;
  line-height: 0;
}

.lg-video-showcase__media::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.02)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.3), rgba(247, 247, 254, 0.3));
  content: "";
  pointer-events: none;
}

.lg-video-showcase__block[data-play-mode="popup"] .lg-video-showcase__media,
.lg-video-showcase__block[data-play-mode="inline"] .lg-video-showcase__media {
  cursor: pointer;
}

.lg-video-showcase__inline-video,
.lg-video-showcase__inline-iframe {
  cursor: auto;
}

.lg-video-showcase__placeholder-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
}

.lg-video-showcase__placeholder--fallback {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  background-color: #f7f7fe;
}

.lg-video-showcase__editor-hint {
  font-size: 0.875rem;
  color: #555;
  text-align: center;
  padding: 1rem;
  line-height: 1.4;
}

.lg-video-showcase__inline-video,
.lg-video-showcase__inline-iframe {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  border: none;
  background-color: #000;
}

.lg-video-showcase__placeholder-img.is-hidden,
.lg-video-showcase__placeholder--fallback.is-hidden,
.lg-video-showcase__play-btn.is-hidden {
  display: none;
}

.lg-video-showcase__play-btn.is-playing {
  opacity: 0;
  pointer-events: none;
}

.lg-video-showcase__play-btn {
  position: absolute;
  z-index: 10;
  top: 50%;
  left: 50%;
  display: flex;
  width: 97px;
  height: 97px;
  padding: 0;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  outline-offset: 3px;
  background-color: rgba(222, 227, 255, 0.9);
  box-shadow: none;
  transform: translate(-50%, -50%);
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.lg-video-showcase__play-btn::before {
  position: absolute;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background-color: #0027d6;
  content: "";
}

.lg-video-showcase__play-btn svg {
  position: relative;
  z-index: 1;
  width: 40px;
  height: 40px;
  fill: #fff;
  transform: translateX(2px);
  pointer-events: none;
}

@media (min-width: 1200px) {
  .lg-video-showcase__play-btn:hover {
    background-color: rgba(217, 223, 249, 1);
    transform: translate(-50%, -50%) scale(1.05);
  }

  .lg-video-showcase__play-btn:focus-visible {
    outline: 2px solid #0027d6;
  }
}


@media (min-width: 0) and (max-width: 991.98px) {
  /* Figma mobile 1916:2598 — 402×306 (taller crop than desktop 1280×420) */
}

@media (min-width: 0) and (max-width: 767.98px) {  

  .lg-video-showcase__play-btn {
    width: 66px;
    height: 66px;
  }

  .lg-video-showcase__play-btn::before {
    width: 48px;
    height: 48px;
  }

  .lg-video-showcase__play-btn svg {
    width: 28px;
    height: 28px;
  }
}
