/* Container responsivo e estável */
.ytlite {
  position: relative;
  display: block;
  max-width: 100%;
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  cursor: pointer;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1em;
}

/* Miniatura única */
.ytlite-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
}

/* Botão de play */
.ytlite-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 68px;
  height: 48px;
  display: grid;
  place-items: center;
  transition: transform .2s ease, opacity .2s ease;
  opacity: 0.92;
}
.ytlite:hover .ytlite-play { transform: scale(1.06); opacity: 0.98; }

/* Iframe ocupa todo o espaço */
.ytlite iframe {
  border: 0;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Legenda opcional */
.ytlite-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 8px 10px;
  font: 600 14px/1.3 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,.5);
  background: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,0));
  pointer-events: none; /* não bloqueia cliques para tocar o vídeo */
}