/* Fachada de YouTube — Córdoba Sana (colores #00A651 / #EE724C) */
.yt-facade {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #000;
  background-position: center;
  background-size: cover;
  cursor: pointer;
  border: 0;
  overflow: hidden;
  border-radius: 6px;
}

/* Degradado sutil para que el botón resalte sobre miniaturas claras */
.yt-facade::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.25), rgba(0,0,0,0) 45%);
  transition: background .2s ease;
}
.yt-facade:hover::before {
  background: linear-gradient(0deg, rgba(0,0,0,.35), rgba(0,0,0,.05) 60%);
}

.yt-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #EE724C;
  cursor: pointer;
  transition: background .2s ease, transform .15s ease;
  box-shadow: 0 4px 14px rgba(0,0,0,.35);
}
.yt-play::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 13px 0 13px 22px;
  border-color: transparent transparent transparent #fff;
}

.yt-facade:hover .yt-play,
.yt-facade:focus-visible .yt-play {
  background: #00A651;
  transform: translate(-50%, -50%) scale(1.06);
}
.yt-facade:focus-visible {
  outline: 3px solid #00A651;
  outline-offset: 2px;
}

.yt-facade.yt-activo { cursor: default; }
.yt-facade.yt-activo::before,
.yt-facade.yt-activo .yt-play { display: none; }

.yt-facade iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}