/* ═══════════════════════════════════════════════════════════════
   BLOQUE VIDEO + TEXTO
   ═══════════════════════════════════════════════════════════════ */

.utpl-video-texto {
  padding: var(--block-section-padding);
  background: #ffffff;
}

/* ── Encabezado de sección ── */
.utpl-video-texto__header {
  text-align: center;
  margin-bottom: var(--block-inner-gap);
}

.utpl-video-texto__title {
  font-size: var(--block-title-size);
  font-weight: 700;
  color: var(--utpl-blue-dark);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 1.2rem;
}

.utpl-video-texto__title-bar {
  width: 56px;
  height: 4px;
  background: var(--utpl-yellow);
  margin: 0 auto;
  border-radius: 2px;
}

/* ── Cuerpo: grid video | texto ── */
.utpl-video-texto__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

/* ── Contenedor del video ── */
.utpl-video-texto__video-wrap {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(13, 45, 94, 0.15);
}

/* Ratio 16:9 responsive */
.utpl-video-texto__video-inner {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  background: #000;
}

.utpl-video-texto__video-inner iframe,
.utpl-video-texto__video-inner video,
.utpl-video-texto__video-inner embed,
.utpl-video-texto__video-inner object {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  border: 0;
}

/* ── Texto descriptivo ── */
.utpl-video-texto__content {
  color: var(--utpl-text-muted);
  font-size: var(--block-body-size);
  line-height: 1.75;
}

.utpl-video-texto__content h2,
.utpl-video-texto__content h3 {
  color: var(--utpl-blue-dark);
  font-weight: 700;
  margin-bottom: 1.2rem;
}

.utpl-video-texto__content p,
.utpl-video-texto__content div,
.utpl-video-texto__content .field__item,
.utpl-video-texto__content .field__item p {
  margin-bottom: 1.6rem;
  text-align: justify !important;
}

.utpl-video-texto__content a {
  color: var(--utpl-blue-dark);
  font-weight: 600;
  text-decoration: underline;
}

.utpl-video-texto__content a:hover {
  color: var(--utpl-yellow-dark);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .utpl-video-texto__body {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .utpl-video-texto__title {
    font-size: 2.4rem;
  }

  .utpl-video-texto {
    padding: 4rem 0;
  }
}
