/* =========================================================
   EMM – Landing Formación – Bloque “Acceso prolongado y actualizaciones”
   Scope: page-id-9595
   IMPORTANTE:
   - Ponle al GRUPO de este bloque la clase:  .emm-access
   (Bloque > Avanzado > Clases CSS adicionales)
   ========================================================= */

body.page-id-9595 .emm-access{
  position: relative;
  margin-top: 56px;
  padding: clamp(56px, 6.5vw, 92px) clamp(16px, 4vw, 46px);
  border-radius: 26px;
  overflow: hidden;
  background: #f3f4f6; /* gris suave para contrastar */
  border: 1px solid rgba(17,17,17,.06);
}

/* contenedor ancho bonito */
body.page-id-9595 .emm-access .wp-block-group__inner-container{
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

/* =========================================================
   Titular + subtítulo
   ========================================================= */

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

body.page-id-9595 .emm-access > .wp-block-group__inner-container > h2.wp-block-heading::after{
  content:"";
  display:block;
  width: min(240px, 56vw);
  height: 3px;
  margin: 14px auto 0;
  border-radius: 999px;
  background: rgba(17,17,17,.14);
}

/* subtítulo: es el primer párrafo justo debajo del H2 */
body.page-id-9595 .emm-access > .wp-block-group__inner-container > h2.wp-block-heading + p{
  max-width: 820px;
  margin: 12px auto 34px;
  text-align: center;
  font-family: var(--emm-font-body, inherit);
  font-size: 16px;
  line-height: 1.65;
  color: rgba(17,17,17,.74);
}

/* =========================================================
   Grid de tarjetas (3 columnas)
   ========================================================= */

body.page-id-9595 .emm-access .wp-block-columns{
  gap: clamp(14px, 2.2vw, 22px);
  align-items: stretch;
  margin: 0; /* evita separaciones raras */
}

/* Tarjeta = cada columna */
body.page-id-9595 .emm-access .wp-block-columns > .wp-block-column{
  position: relative;
  padding: 22px 22px 20px;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(17,17,17,.08);
  border-radius: 20px;
  box-shadow: 0 18px 46px rgba(0,0,0,.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* efecto suave al hover (desktop) */
@media (hover:hover){
  body.page-id-9595 .emm-access .wp-block-columns > .wp-block-column{
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  }
  body.page-id-9595 .emm-access .wp-block-columns > .wp-block-column:hover{
    transform: translateY(-3px);
    box-shadow: 0 22px 56px rgba(0,0,0,.10);
    border-color: rgba(17,17,17,.12);
  }
}

/* =========================================================
   Icono superior de cada tarjeta
   (en tu estructura es el primer P del column: el emoji)
   ========================================================= */

body.page-id-9595 .emm-access .wp-block-columns > .wp-block-column > p:first-child{
  margin: 0 0 10px !important;
  line-height: 1;
  text-align: center;
  font-size: 0; /* escondemos el emoji “crudo” */
}

/* badge circular y dentro pintamos el emoji con ::before */
body.page-id-9595 .emm-access .wp-block-columns > .wp-block-column > p:first-child::before{
  /* Si quieres iconos distintos por tarjeta SIN tocar HTML:
     deja los emojis puestos en Gutenberg (📅 🔁 🧠 por ejemplo)
     y NO cambies este content. Mejor: los dejamos visibles usando attr no se puede.
     Así que: usaremos el emoji que ya está, pero sin ocultarlo NO.
     => Alternativa simple: NO hides emoji. Si quieres, quita "font-size:0" arriba.
     Aquí te dejo una opción elegante con emoji fijo (puedes cambiarlo por tarjeta si duplicas reglas). */
  content: "⏳";
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(17,17,17,.06);
  border: 1px solid rgba(17,17,17,.10);
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
  font-size: 20px;
}

/* Emoji 2ª tarjeta */
body.page-id-9595 .emm-access .wp-block-columns > .wp-block-column:nth-child(2) > p:first-child::before{
  content: "🔁";
}

/* Emoji 3ª tarjeta */
body.page-id-9595 .emm-access .wp-block-columns > .wp-block-column:nth-child(3) > p:first-child::before{
  content: "🧠";
}

/* =========================================================
   Título tarjeta (H3/H2 según hayas usado)
   ========================================================= */

body.page-id-9595 .emm-access .wp-block-columns > .wp-block-column h2,
body.page-id-9595 .emm-access .wp-block-columns > .wp-block-column h3{
  margin: 10px 0 10px;
  text-align: center;
  font-family: var(--emm-font-head, inherit);
  font-weight: 860;
  letter-spacing: -0.018em;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.12;
  color: #111;
}

/* Línea decorativa bajo el título */
body.page-id-9595 .emm-access .wp-block-columns > .wp-block-column h2::after,
body.page-id-9595 .emm-access .wp-block-columns > .wp-block-column h3::after{
  content:"";
  display:block;
  width: 74px;
  height: 2px;
  margin: 12px auto 0;
  border-radius: 999px;
  background: rgba(17,17,17,.12);
}

/* Texto tarjeta */
body.page-id-9595 .emm-access .wp-block-columns > .wp-block-column p{
  font-family: var(--emm-font-body, inherit);
  font-size: 15.5px;
  line-height: 1.65;
  color: rgba(17,17,17,.76);
  text-align: center;
  margin: 0;
}

/* =========================================================
   Nota final (último párrafo del bloque)
   ========================================================= */

body.page-id-9595 .emm-access > .wp-block-group__inner-container > p:last-child{
  margin: 24px auto 0;
  max-width: 820px;
  text-align: center;
  font-family: var(--emm-font-body, inherit);
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(17,17,17,.70);
  padding-top: 16px;
  border-top: 1px solid rgba(17,17,17,.10);
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 980px){
  body.page-id-9595 .emm-access{
    padding: 46px 18px 60px;
    border-radius: 22px;
  }
  body.page-id-9595 .emm-access .wp-block-columns{
    flex-direction: column;
  }
  body.page-id-9595 .emm-access .wp-block-columns > .wp-block-column{
    padding: 20px 18px 18px;
  }
}

@media (max-width: 680px){
  body.page-id-9595 .emm-access{
    padding: 38px 16px 52px;
    border-radius: 18px;
  }
  body.page-id-9595 .emm-access > .wp-block-group__inner-container > h2.wp-block-heading{
    font-size: clamp(26px, 7vw, 36px);
  }
}