/* =========================================================
   EMM – Landing Formación – Bloque 5 “Recursos técnicos”
   Scope: page-id-9595
   Wrapper: .emm-resources (Grupo)
   Estructura: H2 + p + Columns (3) con H3 + Video + p
   ESTADO: sin panel gris, fondo blanco natural
   ========================================================= */

/* =========================================================
   WRAPPER GENERAL (SIN BOX / SIN FONDO)
   ========================================================= */

body.page-id-9595 .emm-resources{
  position: relative;
  margin-top: 56px;
  padding: clamp(36px, 5vw, 72px) 0;
  background: transparent;
  border-radius: 0;
  overflow: visible;
}

/* Limitar ancho interior y controlar respiración lateral */
body.page-id-9595
.emm-resources
.wp-block-group__inner-container{
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(16px, 4vw, 42px);
  padding-right: clamp(16px, 4vw, 42px);
}

/* =========================================================
   TÍTULO + SUBTÍTULO
   ========================================================= */

body.page-id-9595 .emm-resources h2.wp-block-heading{
  font-family: var(--emm-font-head, inherit);
  font-weight: 850;
  letter-spacing: -0.02em;
  text-align: center;
  margin: 0 0 10px;
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: 1.05;
  color: #111;
}

body.page-id-9595 .emm-resources h2.wp-block-heading::after{
  content:"";
  display:block;
  width: min(220px, 44vw);
  height: 3px;
  margin: 14px auto 0;
  border-radius: 999px;
  background: rgba(17,17,17,.16);
}

body.page-id-9595
.emm-resources
> .wp-block-group__inner-container
> p.has-text-align-center{
  max-width: 720px;
  margin: 14px auto 34px;
  font-family: var(--emm-font-body, inherit);
  font-size: 16px;
  line-height: 1.55;
  color: rgba(17,17,17,.72);
}

/* =========================================================
   COLUMNAS / GRID
   ========================================================= */

body.page-id-9595 .emm-resources .wp-block-columns{
  gap: clamp(14px, 2.2vw, 28px);
  align-items: stretch;
}

/* Cada columna como “card” técnica */
body.page-id-9595 .emm-resources .wp-block-column{
  background: #fff;
  border: 1px solid rgba(17,17,17,.10);
  border-radius: 18px;
  padding: clamp(14px, 2vw, 20px);
  box-shadow: 0 16px 40px rgba(0,0,0,.08);

  display: flex;
  flex-direction: column;
  align-items: center;
}

/* H3 */
body.page-id-9595 .emm-resources h3.wp-block-heading{
  font-family: var(--emm-font-head, inherit);
  font-weight: 800;
  letter-spacing: -0.015em;
  text-align: center;
  margin: 4px 0 14px;
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.15;
  color: #111;
}

/* =========================================================
   VÍDEO (alto consistente, decorativo)
   ========================================================= */

body.page-id-9595 .emm-resources figure.wp-block-video{
  width: 100%;
  margin: 0 0 14px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: 520px;
  overflow: hidden;
}

body.page-id-9595 .emm-resources figure.wp-block-video video{
  width: min(320px, 100%);
  height: 520px;
  object-fit: cover;
  border-radius: 16px;
  display: block;

  box-shadow:
    0 18px 46px rgba(0,0,0,.18),
    0 0 0 1px rgba(17,17,17,.12);

  pointer-events: none;
  outline: none;
}

/* Quitar controles webkit */
body.page-id-9595 .emm-resources figure.wp-block-video video::-webkit-media-controls,
body.page-id-9595 .emm-resources figure.wp-block-video video::-webkit-media-controls-panel,
body.page-id-9595 .emm-resources figure.wp-block-video video::-webkit-media-controls-play-button,
body.page-id-9595 .emm-resources figure.wp-block-video video::-webkit-media-controls-timeline{
  display: none !important;
}

/* =========================================================
   TEXTO DESCRIPTIVO
   ========================================================= */

body.page-id-9595
.emm-resources
.wp-block-column
> p.has-text-align-center{
  margin: 0;
  max-width: 34ch;
  font-family: var(--emm-font-body, inherit);
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(17,17,17,.74);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 980px){
  body.page-id-9595 .emm-resources figure.wp-block-video{
    min-height: 480px;
  }
  body.page-id-9595 .emm-resources figure.wp-block-video video{
    height: 480px;
  }
}

@media (max-width: 680px){
  body.page-id-9595 .emm-resources{
    padding: 28px 0 34px;
  }

  body.page-id-9595
  .emm-resources
  > .wp-block-group__inner-container
  > p.has-text-align-center{
    margin: 12px auto 22px;
    font-size: 15px;
  }

  body.page-id-9595 .emm-resources .wp-block-column{
    border-radius: 16px;
    padding: 14px;
  }

  body.page-id-9595 .emm-resources figure.wp-block-video{
    min-height: 440px;
  }

  body.page-id-9595 .emm-resources figure.wp-block-video video{
    height: 440px;
    width: min(300px, 100%);
    border-radius: 14px;
  }
}