.youtube-facade {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: inherit;
  color: #fff;
  background: #000;
  cursor: pointer;
}

.youtube-facade img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease, filter 220ms ease;
}

.youtube-facade:hover img {
  transform: scale(1.025);
  filter: brightness(.82);
}

.youtube-facade:focus-visible {
  outline: 4px solid #fff;
  outline-offset: -6px;
  box-shadow: inset 0 0 0 8px rgba(201, 154, 69, .9);
}

.youtube-facade-play {
  position: absolute;
  inset: 50% auto auto 50%;
  width: clamp(64px, 10vw, 86px);
  aspect-ratio: 1.35;
  border-radius: 18px;
  background: #f03;
  box-shadow: 0 12px 34px rgba(0, 0, 0, .5);
  transform: translate(-50%, -50%);
}

.youtube-facade-play::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 53%;
  border-block: 12px solid transparent;
  border-inline-start: 19px solid #fff;
  transform: translate(-50%, -50%);
}

.youtube-facade-caption {
  position: absolute;
  inset-inline-start: 14px;
  inset-block-end: 14px;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .78);
  font-size: 15px;
  font-weight: 800;
}

@media (prefers-reduced-motion: reduce) {
  .youtube-facade img { transition: none; }
}

@media (max-width: 760px) {
  .youtube-facade-caption { font-size: 0; white-space: nowrap; }
  .youtube-facade-caption::before { content: "לחץ פעמיים להפעלה"; font-size: 15px; }
}
