/* Lite YouTube embed — poster + play button; iframe loads on click only */
.yt-facade {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #0a0a0a;
}

.yt-facade__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.yt-facade__play {
  position: absolute;
  inset: 0;
  z-index: 2;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.yt-facade__play::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.12);
  transition: background 0.25s var(--ease-out-cubic, ease-out);
}

.yt-facade__play:hover::before,
.yt-facade__play:focus-visible::before {
  background: rgba(0, 0, 0, 0.28);
}

.yt-facade__playIcon {
  position: relative;
  z-index: 1;
  width: 6.4rem;
  height: 6.4rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 0.4rem 2.4rem rgba(0, 0, 0, 0.35);
  transition: transform 0.25s var(--ease-out-cubic, ease-out),
              background 0.25s var(--ease-out-cubic, ease-out);
}

.yt-facade__playIcon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 1rem 0 1rem 1.6rem;
  border-color: transparent transparent transparent var(--c-dark, #171a21);
}

.yt-facade__play:hover .yt-facade__playIcon,
.yt-facade__play:focus-visible .yt-facade__playIcon {
  transform: scale(1.06);
  background: #fff;
}

.yt-facade__play:focus-visible {
  outline: 2px solid var(--c-white, #fff);
  outline-offset: 4px;
}

/* Hero background variant */
.yt-facade--hero .yt-facade__poster {
  filter: brightness(0.48) saturate(0.85);
}

.yt-facade--hero .yt-facade__playIcon {
  width: 5.6rem;
  height: 5.6rem;
  opacity: 0.85;
}

.yt-facade--hero .yt-facade__playIcon::after {
  border-width: 0.85rem 0 0.85rem 1.4rem;
}

/* Mosaic tile variant */
.yt-facade--tile .yt-facade__playIcon {
  width: 5.2rem;
  height: 5.2rem;
}

.yt-facade--tile .yt-facade__playIcon::after {
  border-width: 0.8rem 0 0.8rem 1.3rem;
}

.yt-facade--loaded {
  display: none;
}
