/* YouTube de sección: fachada hasta el clic. El iframe no se descarga antes. */
.edu-yt { margin: 0; min-width: 0; }
.edu-yt__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #101523;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 24px 56px rgba(57, 73, 171, 0.14);
}
.edu-yt__still,
.edu-yt__frame-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.edu-yt__still img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.edu-yt__still[hidden],
.edu-yt__play[hidden] { display: none; }
.edu-yt__badge {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 1;
  padding: 8px 16px;
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #b45309;
  font-size: 0.78rem;
  font-weight: 700;
  pointer-events: none;
}
.edu-yt__play {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: end;
  justify-content: start;
  gap: 12px;
  width: 100%;
  padding: 22px;
  border: 0;
  color: #fff;
  background: linear-gradient(transparent 42%, rgb(13 15 18 / .72));
  cursor: pointer;
  font: inherit;
  text-align: left;
}
.edu-yt__play > svg {
  box-sizing: content-box;
  width: 22px;
  height: 22px;
  padding: 13px;
  background: #fff;
  color: #3949ab;
  border-radius: 50%;
}
.edu-yt__play > span {
  align-self: end;
  padding-bottom: 6px;
  font-weight: 650;
  line-height: 1.2;
}
.edu-yt__play:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -6px;
}
.edu-yt figcaption {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink, #0d0f12);
}
.edu-yt--follow { margin-top: 28px; }

.edu-yt-band {
  position: relative;
  z-index: 2;
  padding: 8px clamp(20px, 6vw, 88px) 96px;
}
.edu-yt-band__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  max-width: 1120px;
  margin: 0 auto;
}

@media (max-width: 800px) {
  .edu-yt-band__grid { grid-template-columns: 1fr; }
  .edu-yt__play { padding: 16px; }
}
