/* Carnet de Padres - CSS consolidado 2026-07-18
   Se retiraron dos bloques obsoletos de la portada V1.
   Copia exacta: backups/custom-css-2026-07-18.css */
/* Carnet de Padres - marca comunidad 2026-06-18 */
body.page-id-1 .wp-block-post-content > section[style*="font-family"],
body.page-id-1 .entry-content > section[style*="font-family"]{
  background:linear-gradient(rgba(141,182,217,.15) 1px,transparent 1px),#F7F1DF !important;
  background-size:100% 32px !important;
  color:#1E2529 !important;
  font-family:Montserrat,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif !important;
}
body.page-id-1 h1[style],
body.page-id-1 h2[style],
body.page-id-1 h3[style]{
  color:#1F5F56 !important;
  letter-spacing:0 !important;
}
body.page-id-1 h1[style]{
  font-size:4rem !important;
  line-height:1.08 !important;
}
body.page-id-1 h2[style="color:#0F3D40;margin-top:0"],
body.page-id-1 h3[style="color:#0F3D40;margin-top:0"]{
  font-size:1.45rem !important;
  line-height:1.18 !important;
}
body.page-id-1 h2[style*="font-size:2rem"]{
  font-size:2rem !important;
}
body.page-id-1 [style*="background:#A6C4A2"]{
  background:rgba(185,74,72,.08) !important;
  color:#B94A48 !important;
  border:2px solid #B94A48 !important;
  border-radius:8px !important;
  font-family:"Courier New",ui-monospace,monospace !important;
  font-weight:950 !important;
  letter-spacing:.04em !important;
  text-transform:uppercase !important;
}
body.page-id-1 [style*="background:#fff"],
body.page-id-1 [style*="background:#ffffff"]{
  background:#FFFDF7 !important;
}
body.page-id-1 [style*="border-radius:18px"]{
  border-radius:8px !important;
}
body.page-id-1 [style*="border:1px solid rgba(15,61,64,.12)"]{
  border-color:rgba(37,50,77,.16) !important;
  box-shadow:0 14px 30px rgba(31,95,86,.10) !important;
}
body.page-id-1 [style*="background:#fff8e7"]{
  background:rgba(217,164,65,.18) !important;
  border-left-color:#D9A441 !important;
  color:#5b4716 !important;
  box-shadow:none !important;
}
body.page-id-1 a[href]{
  color:#1F5F56 !important;
  font-weight:850 !important;
}
@media(max-width:820px){
  body.page-id-1 h1[style]{font-size:2.55rem !important;}
  body.page-id-1 h2[style*="font-size:2rem"]{font-size:1.75rem !important;}
  body.page-id-1 h2[style="color:#0F3D40;margin-top:0"],
  body.page-id-1 h3[style="color:#0F3D40;margin-top:0"]{font-size:1.3rem !important;}
  body.page-id-1 section[style]{padding-left:16px !important;padding-right:16px !important;}
}

/* --- WPWriter addition --- */

/* Carnet de Padres - footer wording 2026-06-18 */
body footer.wp-block-template-part p.wp-block-paragraph:last-of-type{
  display:none !important;
}
body footer.wp-block-template-part::after{
  content:"Registro fundador · Campus · Comunidad";
  display:block;
  margin-top:14px;
  color:inherit;
  font-weight:700;
}


/* --- WPWriter addition --- */

/* Carnet de Padres - marca checkout y gracias 2026-06-19 */
body.page-id-14,
body.page-id-17,
body.page-id-19,
body.page-id-22,
body.page-id-24{
  background:linear-gradient(rgba(141,182,217,.15) 1px,transparent 1px),#F7F1DF !important;
  background-size:100% 32px !important;
  color:#1E2529 !important;
}
body.page-id-14 .card,
body.page-id-19 .card,
body.page-id-22 .card,
body.page-id-24 .card,
body.page-id-17 .cdp-card{
  background:#FFFDF7 !important;
  border:1px solid rgba(37,50,77,.16) !important;
  border-radius:8px !important;
  box-shadow:0 14px 30px rgba(31,95,86,.12) !important;
}
body.page-id-14 h1,
body.page-id-14 h2,
body.page-id-14 h3,
body.page-id-17 h1,
body.page-id-17 h2,
body.page-id-17 h3,
body.page-id-19 h1,
body.page-id-19 h2,
body.page-id-19 h3,
body.page-id-22 h1,
body.page-id-22 h2,
body.page-id-22 h3,
body.page-id-24 h1,
body.page-id-24 h2,
body.page-id-24 h3{
  color:#1F5F56 !important;
  letter-spacing:0 !important;
}
body.page-id-14 .badge,
body.page-id-19 .badge,
body.page-id-22 .badge,
body.page-id-24 .badge,
body.page-id-17 .cdp-badge{
  background:rgba(185,74,72,.08) !important;
  color:#B94A48 !important;
  border:2px solid #B94A48 !important;
  border-radius:8px !important;
  font-family:"Courier New",ui-monospace,monospace !important;
  font-weight:950 !important;
  letter-spacing:.04em !important;
  text-transform:uppercase !important;
}
body.page-id-14 .btn.dark,
body.page-id-19 .btn.dark,
body.page-id-22 .btn.dark,
body.page-id-24 .btn.dark{
  background:#1F5F56 !important;
  color:#ffffff !important;
}
body.page-id-14 .btn.light,
body.page-id-19 .btn.light,
body.page-id-22 .btn.light,
body.page-id-24 .btn.light{
  background:#FFFDF7 !important;
  color:#1F5F56 !important;
  border-color:rgba(31,95,86,.28) !important;
}
body.page-id-14 .warning,
body.page-id-19 .warning,
body.page-id-22 .warning,
body.page-id-24 .warning,
body.page-id-17 .cdp-note{
  background:rgba(217,164,65,.18) !important;
  border-left-color:#D9A441 !important;
  color:#5b4716 !important;
  box-shadow:none !important;
}
body.page-id-14 .list li,
body.page-id-19 .list li,
body.page-id-22 .list li,
body.page-id-24 .list li,
body.page-id-17 .cdp-list li{
  background:#FFFDF7 !important;
  border-color:rgba(37,50,77,.14) !important;
  border-radius:8px !important;
}
@media(max-width:820px){
  body.page-id-14 h1,
  body.page-id-17 h1,
  body.page-id-19 h1,
  body.page-id-22 h1,
  body.page-id-24 h1{font-size:2.55rem !important;}
  body.page-id-14 h2,
  body.page-id-17 h2,
  body.page-id-19 h2,
  body.page-id-22 h2,
  body.page-id-24 h2{font-size:1.75rem !important;}
}


/* --- WPWriter addition --- */

/* Carnet de Padres - marca legal y verificacion 2026-06-19 */
body.page-id-188,
body.page-id-189,
body.page-id-190,
body.page-id-191{
  background:linear-gradient(rgba(141,182,217,.15) 1px,transparent 1px),#F7F1DF !important;
  background-size:100% 32px !important;
  color:#1E2529 !important;
}
body.page-id-188 .entry-content > section,
body.page-id-189 .entry-content > section,
body.page-id-190 .entry-content > section{
  background:linear-gradient(rgba(141,182,217,.15) 1px,transparent 1px),#F7F1DF !important;
  background-size:100% 32px !important;
}
body.page-id-188 h1,
body.page-id-188 h2,
body.page-id-189 h1,
body.page-id-189 h2,
body.page-id-190 h1,
body.page-id-190 h2,
body.page-id-191 h1,
body.page-id-191 h2{
  color:#1F5F56 !important;
  letter-spacing:0 !important;
}
body.page-id-188 span[style*="background:#A6C4A2"],
body.page-id-189 span[style*="background:#A6C4A2"],
body.page-id-190 span[style*="background:#A6C4A2"],
body.page-id-191 .badge{
  background:rgba(185,74,72,.08) !important;
  color:#B94A48 !important;
  border:2px solid #B94A48 !important;
  border-radius:8px !important;
  font-family:"Courier New",ui-monospace,monospace !important;
  font-weight:950 !important;
  letter-spacing:.04em !important;
  text-transform:uppercase !important;
}
body.page-id-188 section[style*="background:#fff"],
body.page-id-189 section[style*="background:#fff"],
body.page-id-190 section[style*="background:#fff"],
body.page-id-191 .card{
  background:#FFFDF7 !important;
  border:1px solid rgba(37,50,77,.16) !important;
  border-radius:8px !important;
  box-shadow:0 14px 30px rgba(31,95,86,.10) !important;
}
body.page-id-188 div[style*="background:#fff8e7"],
body.page-id-189 div[style*="background:#fff8e7"],
body.page-id-190 section[style*="background:#fff8e7"],
body.page-id-191 .pending{
  background:rgba(217,164,65,.18) !important;
  border-left-color:#D9A441 !important;
  color:#5b4716 !important;
  box-shadow:none !important;
}
body.page-id-188 section[style*="background:#eef2f1"],
body.page-id-189 section[style*="background:#eef2f1"],
body.page-id-191 .valid{
  background:rgba(141,182,217,.18) !important;
  border-left-color:#8DB6D9 !important;
  box-shadow:none !important;
}
body.page-id-188 a,
body.page-id-189 a,
body.page-id-190 a,
body.page-id-191 a{
  color:#1F5F56 !important;
  font-weight:850 !important;
}
@media(max-width:820px){
  body.page-id-188 h1,
  body.page-id-189 h1,
  body.page-id-190 h1,
  body.page-id-191 h1{font-size:2.55rem !important;}
  body.page-id-188 h2,
  body.page-id-189 h2,
  body.page-id-190 h2,
  body.page-id-191 h2{font-size:1.75rem !important;}
}


/* --- WPWriter addition --- */

/* Carnet de Padres - articulos y test 2026-06-20 */
body.single-post,
body.page-id-441{
  background:linear-gradient(rgba(141,182,217,.15) 1px,transparent 1px),#F7F1DF !important;
  background-size:100% 32px !important;
  color:#1E2529 !important;
}
body.single-post .wp-site-blocks,
body.page-id-441 .wp-site-blocks{
  background:transparent !important;
}
body.single-post main,
body.single-post .entry-content,
body.page-id-441 main,
body.page-id-441 .entry-content{
  color:#1E2529 !important;
}
body.single-post h1,
body.single-post h2,
body.single-post h3,
body.page-id-441 h1,
body.page-id-441 h2,
body.page-id-441 h3{
  color:#1F5F56 !important;
  letter-spacing:0 !important;
}
body.single-post .entry-content a,
body.page-id-441 .entry-content a{
  color:#1F5F56 !important;
  font-weight:850 !important;
}
body.single-post .entry-content div[style*="background: #f8fafc"],
body.single-post .entry-content div[style*="background:#f8fafc"],
body.single-post .entry-content div[style*="background: #ffffff"],
body.single-post .entry-content div[style*="background:#ffffff"]{
  background:#FFFDF7 !important;
  border:1px solid rgba(37,50,77,.16) !important;
  border-radius:8px !important;
  box-shadow:0 14px 30px rgba(31,95,86,.10) !important;
}
body.single-post .entry-content div[style*="border-left: 4px solid #166534"],
body.single-post .entry-content div[style*="border-left:4px solid #166534"]{
  background:rgba(217,164,65,.18) !important;
  border-left-color:#D9A441 !important;
  border-radius:8px !important;
  box-shadow:none !important;
}
body.single-post .entry-content [style*="color: #166534"],
body.single-post .entry-content [style*="color:#166534"]{
  color:#1F5F56 !important;
}
body.single-post .entry-content [style*="background: #166534"],
body.single-post .entry-content [style*="background:#166534"]{
  background:#1F5F56 !important;
}
body.single-post .entry-content [style*="background: #d97706"],
body.single-post .entry-content [style*="background:#d97706"]{
  background:#D9A441 !important;
  color:#25324D !important;
}
body.single-post .entry-content table{
  border-radius:8px !important;
  overflow:hidden !important;
  box-shadow:0 12px 26px rgba(31,95,86,.10) !important;
}
body.single-post .entry-content th{
  background:#1F5F56 !important;
  color:#ffffff !important;
}
body.single-post .entry-content td{
  border-color:rgba(37,50,77,.12) !important;
}
body.single-post .entry-content ul,
body.single-post .entry-content ol{
  padding-left:1.4rem !important;
}
body.page-id-441 .cdp-test-wrap{
  max-width:1120px !important;
}
body.page-id-441 .cdp-test-hero{
  background:linear-gradient(rgba(141,182,217,.15) 1px,transparent 1px),#F7F1DF !important;
  background-size:100% 32px !important;
}
body.page-id-441 .cdp-btn{
  border-radius:999px !important;
}
body.page-id-441 .cdp-options label:hover{
  border-color:rgba(31,95,86,.45) !important;
  box-shadow:0 6px 16px rgba(31,95,86,.08) !important;
}
@media(max-width:820px){
  body.single-post .entry-content > div[style],
  body.page-id-441 .cdp-test-wrap{padding-left:16px !important;padding-right:16px !important;}
  body.single-post h1{font-size:2.35rem !important;line-height:1.1 !important;}
  body.single-post h2{font-size:1.65rem !important;line-height:1.18 !important;}
}


/* --- WPWriter addition --- */

/* Carnet de Padres - limpieza menu automatico 2026-06-20 */
body header.wp-block-template-part .wp-block-navigation-item:has(> a[href*="/aviso-legal/"]),
body header.wp-block-template-part .wp-block-navigation-item:has(> a[href*="/condiciones-compra/"]),
body header.wp-block-template-part .wp-block-navigation-item:has(> a[href*="/politica-privacidad/"]),
body header.wp-block-template-part .wp-block-navigation-item:has(> a[href*="/checkout-una-etapa/"]),
body header.wp-block-template-part .wp-block-navigation-item:has(> a[href*="/checkout-pack-2/"]),
body header.wp-block-template-part .wp-block-navigation-item:has(> a[href*="/checkout-pack-3/"]),
body header.wp-block-template-part .wp-block-navigation-item:has(> a[href*="/checkout-completo/"]),
body header.wp-block-template-part .wp-block-navigation-item:has(> a[href*="/gracias/"]),
body header.wp-block-template-part .wp-block-navigation-item:has(> a[href*="/test-final-3-6-anos/"]),
body header.wp-block-template-part .wp-block-navigation-item:has(> a[href*="/verificar/"]){
  display:none !important;
}
body header.wp-block-template-part .wp-block-navigation__container{
  gap:16px !important;
}
body header.wp-block-template-part .wp-block-navigation-item__content{
  font-weight:800 !important;
}
@media(max-width:900px){
  body header.wp-block-template-part .wp-block-navigation__responsive-container-content,
  body header.wp-block-template-part .wp-block-navigation__container{gap:10px !important;}
}


/* --- WPWriter addition --- */

/* Carnet de Padres - ocultar boton vacio cabecera 2026-06-20 */
body header.wp-block-template-part .wp-block-button:has(> a[href=""]),
body header.wp-block-template-part a.wp-block-button__link[href=""]{
  display:none !important;
}


/* --- WPWriter addition --- */

/* Carnet de Padres - ocultar boton sin enlace cabecera 2026-06-20 */
body header.wp-block-template-part .wp-block-button:has(> a.wp-block-button__link:not([href])),
body header.wp-block-template-part a.wp-block-button__link:not([href]){
  display:none !important;
}


/* --- WPWriter addition --- */

/* Carnet de Padres - limpieza menu packs lista interes 2026-06-21 */
body header.wp-block-template-part .wp-block-navigation-item:has(> a[href*="/pack-2-etapas/"]),
body header.wp-block-template-part .wp-block-navigation-item:has(> a[href*="/pack-3-etapas/"]),
body header.wp-block-template-part .wp-block-navigation-item:has(> a[href*="/pack-completo-0-18/"]){
  display:none !important;
}


/* --- WPWriter addition --- */

/* Carnet de Padres - ocultar acceso tecnico etapa 3-6 2026-06-22 */
body header.wp-block-template-part .wp-block-navigation-item:has(> a[href*="/acceso-etapa-3-6/"]){
  display:none !important;
}


/* --- WPWriter addition --- */

/* Carnet de Padres - ocultar etapa protegida en navegacion publica 2026-06-22 */
body header.wp-block-template-part .wp-block-navigation-item:has(> a[href*="/etapa-3-6-anos/"]){
  display:none !important;
}


/* --- WPWriter addition --- */

/* Carnet de Padres - orden visible menu principal 2026-06-23 */
body header.wp-block-template-part .wp-block-navigation-item:has(> a[href="https://carnetdepadres.org/"]),
body header.wp-block-template-part .wp-block-navigation-item:has(> a[href="/"]){order:1 !important;}
body header.wp-block-template-part .wp-block-navigation-item:has(> a[href*="/elegir-etapa/"]){order:2 !important;}
body header.wp-block-template-part .wp-block-navigation-item:has(> a[href*="/ofertas/"]){order:3 !important;}
body header.wp-block-template-part .wp-block-navigation-item:has(> a[href*="/campus/"]){order:4 !important;}
body header.wp-block-template-part .wp-block-navigation-item:has(> a[href*="/comunidad/"]){order:5 !important;}
body header.wp-block-template-part .wp-block-navigation-item:has(> a[href*="/registro/"]){order:6 !important;}


/* --- WPWriter addition --- */

/* Carnet de Padres - ocultar piezas futuras 6-9 en navegacion publica 2026-06-23 */
body header.wp-block-template-part .wp-block-navigation-item:has(> a[href*="/acceso-etapa-6-9/"]),
body header.wp-block-template-part .wp-block-navigation-item:has(> a[href*="/etapa-6-9-anos/"]),
body header.wp-block-template-part .wp-block-navigation-item:has(> a[href*="/test-final-6-9-anos/"]){
  display:none !important;
}


/* --- WPWriter addition --- */

/* Carnet de Padres - ocultar piezas futuras 9-18 en navegacion publica 2026-06-23 */
body header.wp-block-template-part .wp-block-navigation-item:has(> a[href*="/acceso-etapa-9-12/"]),
body header.wp-block-template-part .wp-block-navigation-item:has(> a[href*="/etapa-9-12-anos/"]),
body header.wp-block-template-part .wp-block-navigation-item:has(> a[href*="/test-final-9-12-anos/"]),
body header.wp-block-template-part .wp-block-navigation-item:has(> a[href*="/acceso-etapa-12-16/"]),
body header.wp-block-template-part .wp-block-navigation-item:has(> a[href*="/etapa-12-16-anos/"]),
body header.wp-block-template-part .wp-block-navigation-item:has(> a[href*="/test-final-12-16-anos/"]),
body header.wp-block-template-part .wp-block-navigation-item:has(> a[href*="/acceso-etapa-16-18/"]),
body header.wp-block-template-part .wp-block-navigation-item:has(> a[href*="/etapa-16-18-anos/"]),
body header.wp-block-template-part .wp-block-navigation-item:has(> a[href*="/test-final-16-18-anos/"]){
  display:none !important;
}


/* --- WPWriter addition --- */

/* Carnet de Padres - ocultar piezas futuras embarazo y primer ano en navegacion publica 2026-06-23 */
body header.wp-block-template-part .wp-block-navigation-item:has(> a[href*="/acceso-etapa-embarazo-primer-ano/"]),
body header.wp-block-template-part .wp-block-navigation-item:has(> a[href*="/etapa-embarazo-y-primer-ano/"]),
body header.wp-block-template-part .wp-block-navigation-item:has(> a[href*="/test-final-embarazo-y-primer-ano/"]){
  display:none !important;
}


/* --- WPWriter addition --- */

/* Carnet de Padres - ocultar piezas futuras 0-3 en navegacion publica 2026-06-23 */
body header.wp-block-template-part .wp-block-navigation-item:has(> a[href*="/acceso-etapa-0-3/"]),
body header.wp-block-template-part .wp-block-navigation-item:has(> a[href*="/etapa-0-3-anos/"]),
body header.wp-block-template-part .wp-block-navigation-item:has(> a[href*="/test-final-0-3-anos/"]){
  display:none !important;
}


/* --- WPWriter addition --- */

/* Carnet de Padres - fix portada movil hero 2026-06-23 */
@media (max-width: 760px){
  body.page-id-36 .entry-content section:first-of-type,
  body.page-id-36 .wp-block-post-content section:first-of-type{
    padding-left:18px !important;
    padding-right:18px !important;
  }
  body.page-id-36 .entry-content section:first-of-type > div[style*="grid-template-columns:minmax"],
  body.page-id-36 .wp-block-post-content section:first-of-type > div[style*="grid-template-columns:minmax"]{
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:22px !important;
    max-width:100% !important;
  }
  body.page-id-36 .entry-content section:first-of-type > div[style*="grid-template-columns:minmax"] > div,
  body.page-id-36 .wp-block-post-content section:first-of-type > div[style*="grid-template-columns:minmax"] > div{
    min-width:0 !important;
    width:100% !important;
    max-width:100% !important;
  }
  body.page-id-36 .entry-content section:first-of-type h1[style],
  body.page-id-36 .wp-block-post-content section:first-of-type h1[style]{
    font-size:clamp(2.25rem, 13vw, 3.1rem) !important;
    line-height:1.03 !important;
    max-width:100% !important;
    overflow-wrap:normal !important;
    word-break:normal !important;
  }
  body.page-id-36 .entry-content section:first-of-type p[style],
  body.page-id-36 .wp-block-post-content section:first-of-type p[style]{
    max-width:100% !important;
    overflow-wrap:normal !important;
    word-break:normal !important;
  }
  body.page-id-36 .entry-content section:first-of-type a[style],
  body.page-id-36 .wp-block-post-content section:first-of-type a[style]{
    white-space:normal !important;
    text-align:center !important;
  }
  body.page-id-36 .entry-content section:first-of-type img,
  body.page-id-36 .wp-block-post-content section:first-of-type img{
    max-width:210px !important;
  }
}


/* --- WPWriter addition --- */

/* Carnet de Padres - blindaje portada movil hero 2026-06-23 */
@media (max-width: 760px){
  body.page-id-36 .entry-content section:first-of-type > div[style*="display:grid"],
  body.page-id-36 .wp-block-post-content section:first-of-type > div[style*="display:grid"]{
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:22px !important;
    width:100% !important;
    max-width:100% !important;
  }
  body.page-id-36 .entry-content section:first-of-type > div[style*="display:grid"] > *,
  body.page-id-36 .wp-block-post-content section:first-of-type > div[style*="display:grid"] > *{
    min-width:0 !important;
    max-width:100% !important;
  }
  body.page-id-36 .entry-content section:first-of-type h1,
  body.page-id-36 .wp-block-post-content section:first-of-type h1{
    display:block !important;
    width:100% !important;
    white-space:normal !important;
    overflow-wrap:normal !important;
    word-break:normal !important;
    text-wrap:balance !important;
  }
}


/* --- WPWriter addition --- */

/* Carnet de Padres - orden SEO menu que es 2026-06-23 */
body header.wp-block-template-part .wp-block-navigation-item:has(> a[href*="/que-es-carnet-de-padres/"]){order:2 !important;}
body header.wp-block-template-part .wp-block-navigation-item:has(> a[href*="/elegir-etapa/"]){order:3 !important;}
body header.wp-block-template-part .wp-block-navigation-item:has(> a[href*="/ofertas/"]){order:4 !important;}
body header.wp-block-template-part .wp-block-navigation-item:has(> a[href*="/campus/"]){order:5 !important;}
body header.wp-block-template-part .wp-block-navigation-item:has(> a[href*="/comunidad/"]){order:6 !important;}
body header.wp-block-template-part .wp-block-navigation-item:has(> a[href*="/registro/"]){order:7 !important;}


/* --- WPWriter addition --- */

/* Carnet de Padres - footer wording registro de interes 2026-06-24 */
body footer.wp-block-template-part::after{
  content:"Registro de interés · Campus · Comunidad" !important;
}


/* --- WPWriter addition --- */


/* Carnet de Padres - menu conversion etapa publica 2026-06-24 */
body header.wp-block-template-part .wp-block-navigation-item:has(> a[href*="/etapa-3-6-anos/"]){
  display:flex !important;
  order:3 !important;
}
body header.wp-block-template-part .wp-block-navigation-item:has(> a[href*="/que-es-carnet-de-padres/"]){order:2 !important;}
body header.wp-block-template-part .wp-block-navigation-item:has(> a[href*="/ofertas/"]){order:4 !important;}
body header.wp-block-template-part .wp-block-navigation-item:has(> a[href*="/campus/"]){order:5 !important;}
body header.wp-block-template-part .wp-block-navigation-item:has(> a[href*="/comunidad/"]){order:6 !important;}
body header.wp-block-template-part .wp-block-navigation-item:has(> a[href*="/registro/"]){order:7 !important;}


/* --- WPWriter addition --- */


/* Carnet de Padres - limpieza menu movil conversion 2026-06-24 */
body header.wp-block-template-part .wp-block-navigation-item:has(> a[href*="/ayuda-soporte/"]),
body header.wp-block-template-part .wp-block-navigation-item:has(> a[href*="/feedback-piloto-3-6/"]),
body header.wp-block-template-part .wp-block-navigation-item:has(> a[href*="/guias-padres-ninos-3-6-anos/"]),
body header.wp-block-template-part .wp-block-navigation-item:has(> a[href*="/quien-esta-detras/"]){
  display:none !important;
}
body header.wp-block-template-part .wp-block-navigation-item:has(> a[href="https://carnetdepadres.org/"]),
body header.wp-block-template-part .wp-block-navigation-item:has(> a[href="/"]){order:1 !important;}
body header.wp-block-template-part .wp-block-navigation-item:has(> a[href*="/que-es-carnet-de-padres/"]){order:2 !important;}
body header.wp-block-template-part .wp-block-navigation-item:has(> a[href*="/etapa-3-6-anos/"]){order:3 !important;}
body header.wp-block-template-part .wp-block-navigation-item:has(> a[href*="/elegir-etapa/"]){order:4 !important;}
body header.wp-block-template-part .wp-block-navigation-item:has(> a[href*="/ofertas/"]){order:5 !important;}
body header.wp-block-template-part .wp-block-navigation-item:has(> a[href*="/campus/"]){order:6 !important;}
body header.wp-block-template-part .wp-block-navigation-item:has(> a[href*="/comunidad/"]){order:7 !important;}
body header.wp-block-template-part .wp-block-navigation-item:has(> a[href*="/registro/"]){order:8 !important;}


/* --- WPWriter addition --- */


/* Carnet de Padres - etapa 3-6 publica sin bloque de acceso heredado 2026-06-25 */
body.page-id-5:not(.cdp-stage-access-ok) .cdp-stage-gate,
body.page-id-5.cdp-stage-access-ok .cdp-stage-gate,
body.page-id-5 .cdp-stage-gate{
  display:none !important;
}


/* --- WPWriter addition --- */


/* Carnet de Padres - CTA rapido acceso 3-6 2026-06-25 */
body.page-id-808 .cdp-access__quick{
  margin:16px 0 0 !important;
}
body.page-id-808 .cdp-access__quick a{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-height:52px !important;
  padding:0 22px !important;
  border-radius:999px !important;
  background:#1F5F56 !important;
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
  font-weight:950 !important;
  text-decoration:none !important;
}
@media(max-width:520px){
  body.page-id-808 .cdp-access__quick a{
    width:100% !important;
  }
}


/* --- WPWriter addition --- */


/* Carnet de Padres - compactar comunidad duplicados finales 2026-06-25 */
body.page-id-1 .entry-content > section:nth-last-of-type(1),
body.page-id-1 .wp-block-post-content > section:nth-last-of-type(1){
  display:none !important;
}
body.page-id-1 .entry-content > section:nth-last-of-type(2),
body.page-id-1 .wp-block-post-content > section:nth-last-of-type(2){
  display:none !important;
}


/* --- WPWriter addition --- */


/* Carnet de Padres - menu principal simplificado auditoria 2026-06-25 */
body header.wp-block-template-part .wp-block-navigation-item:has(> a[href*="/elegir-etapa/"]),
body header.wp-block-template-part .wp-block-navigation-item:has(> a[href*="/campus/"]),
body header.wp-block-template-part .wp-block-navigation-item:has(> a[href*="/registro/"]){
  display:none !important;
}
body header.wp-block-template-part .wp-block-navigation-item:has(> a[href*="/acceso-etapa-3-6/"]){
  display:flex !important;
  order:6 !important;
}
body header.wp-block-template-part .wp-block-navigation-item:has(> a[href="https://carnetdepadres.org/"]),
body header.wp-block-template-part .wp-block-navigation-item:has(> a[href="/"]){order:1 !important;}
body header.wp-block-template-part .wp-block-navigation-item:has(> a[href*="/etapa-3-6-anos/"]){order:2 !important;}
body header.wp-block-template-part .wp-block-navigation-item:has(> a[href*="/que-es-carnet-de-padres/"]){order:3 !important;}
body header.wp-block-template-part .wp-block-navigation-item:has(> a[href*="/ofertas/"]){order:4 !important;}
body header.wp-block-template-part .wp-block-navigation-item:has(> a[href*="/comunidad/"]){order:5 !important;}
body header.wp-block-template-part a[href*="/que-es-carnet-de-padres/"]{font-size:0 !important;}
body header.wp-block-template-part a[href*="/que-es-carnet-de-padres/"]::after{content:"Cómo funciona";font-size:.94rem !important;}
body header.wp-block-template-part a[href*="/ofertas/"]{font-size:0 !important;}
body header.wp-block-template-part a[href*="/ofertas/"]::after{content:"Precios";font-size:.94rem !important;}
body header.wp-block-template-part a[href*="/acceso-etapa-3-6/"]{font-size:0 !important;}
body header.wp-block-template-part a[href*="/acceso-etapa-3-6/"]::after{content:"Ya tengo código";font-size:.94rem !important;}
@media(max-width:900px){
  body header.wp-block-template-part a[href*="/que-es-carnet-de-padres/"]::after,
  body header.wp-block-template-part a[href*="/ofertas/"]::after,
  body header.wp-block-template-part a[href*="/acceso-etapa-3-6/"]::after{font-size:1rem !important;}
}


/* --- WPWriter addition --- */

/* Carnet de Padres - menu principal final 6 items 2026-06-26 */
body header.wp-block-template-part .wp-block-navigation-item:has(> a[href*="/aviso-legal/"]),
body header.wp-block-template-part .wp-block-navigation-item:has(> a[href*="/ayuda-soporte/"]),
body header.wp-block-template-part .wp-block-navigation-item:has(> a[href*="/checkout-una-etapa/"]),
body header.wp-block-template-part .wp-block-navigation-item:has(> a[href*="/comunidad/"]),
body header.wp-block-template-part .wp-block-navigation-item:has(> a[href*="/condiciones-compra/"]),
body header.wp-block-template-part .wp-block-navigation-item:has(> a[href*="/elegir-etapa/"]),
body header.wp-block-template-part .wp-block-navigation-item:has(> a[href*="/feedback-piloto-3-6/"]),
body header.wp-block-template-part .wp-block-navigation-item:has(> a[href*="/gracias/"]),
body header.wp-block-template-part .wp-block-navigation-item:has(> a[href*="/pack-2-etapas/"]),
body header.wp-block-template-part .wp-block-navigation-item:has(> a[href*="/pack-3-etapas/"]),
body header.wp-block-template-part .wp-block-navigation-item:has(> a[href*="/pack-completo-0-18/"]),
body header.wp-block-template-part .wp-block-navigation-item:has(> a[href*="/politica-privacidad/"]),
body header.wp-block-template-part .wp-block-navigation-item:has(> a[href*="/que-es-carnet-de-padres/"]),
body header.wp-block-template-part .wp-block-navigation-item:has(> a[href*="/quien-esta-detras/"]),
body header.wp-block-template-part .wp-block-navigation-item:has(> a[href*="/registro/"]),
body header.wp-block-template-part .wp-block-navigation-item:has(> a[href*="/test-final-3-6-anos/"]),
body header.wp-block-template-part .wp-block-navigation-item:has(> a[href*="/verificar/"]){
  display:none !important;
}
body header.wp-block-template-part .wp-block-navigation-item:has(> a[href="https://carnetdepadres.org/"]),
body header.wp-block-template-part .wp-block-navigation-item:has(> a[href="/"]){display:flex !important;order:1 !important;}
body header.wp-block-template-part .wp-block-navigation-item:has(> a[href*="/etapa-3-6-anos/"]){display:flex !important;order:2 !important;}
body header.wp-block-template-part .wp-block-navigation-item:has(> a[href*="/guias-padres-ninos-3-6-anos/"]){display:flex !important;order:3 !important;}
body header.wp-block-template-part .wp-block-navigation-item:has(> a[href*="/ofertas/"]){display:flex !important;order:4 !important;}
body header.wp-block-template-part .wp-block-navigation-item:has(> a[href*="/campus/"]){display:flex !important;order:5 !important;}
body header.wp-block-template-part .wp-block-navigation-item:has(> a[href*="/acceso-etapa-3-6/"]){display:flex !important;order:6 !important;}
body header.wp-block-template-part a[href*="/guias-padres-ninos-3-6-anos/"],
body header.wp-block-template-part a[href*="/ofertas/"],
body header.wp-block-template-part a[href*="/acceso-etapa-3-6/"]{font-size:0 !important;}
body header.wp-block-template-part a[href*="/guias-padres-ninos-3-6-anos/"]::after{content:"Guías";font-size:.94rem !important;}
body header.wp-block-template-part a[href*="/ofertas/"]::after{content:"Precios";font-size:.94rem !important;}
body header.wp-block-template-part a[href*="/acceso-etapa-3-6/"]::after{content:"Ya tengo código";font-size:.94rem !important;}
body header.wp-block-template-part .wp-block-navigation__container{gap:16px !important;align-items:center !important;}
@media(max-width:900px){
  body header.wp-block-template-part .wp-block-navigation__container,
  body header.wp-block-template-part .wp-block-navigation__responsive-container-content{gap:10px !important;}
  body header.wp-block-template-part a[href*="/guias-padres-ninos-3-6-anos/"]::after,
  body header.wp-block-template-part a[href*="/ofertas/"]::after,
  body header.wp-block-template-part a[href*="/acceso-etapa-3-6/"]::after{font-size:1rem !important;}
}


/* Carnet de Padres - imagen Alma integrada 2026-06-27 */
body.page-id-1033 div[aria-hidden="true"][style*="Carnet"],
body.page-id-1033 div[aria-hidden="true"][style*="width:128px"]{
  background-image:url('https://carnetdepadres.org/wp-content/uploads/2026/06/Alma-carnet-de-padres-con-ninos-de-3-a-6-anos-experta-en-psicologia-de-peques.jpeg') !important;
  background-size:cover !important;
  background-position:center center !important;
  width:160px !important;
  height:160px !important;
  min-height:160px !important;
  color:transparent !important;
  font-size:0 !important;
  border:2px solid rgba(31,95,86,.25) !important;
  box-shadow:0 14px 30px rgba(31,95,86,.12) !important;
}
body.page-id-5 .hero .card::after{
  content:"Alma · Psicóloga infantil de la etapa 3-6";
  display:block;
  margin-top:18px;
  padding:156px 16px 16px;
  min-height:230px;
  border:1px solid rgba(37,50,77,.16);
  border-radius:8px;
  background-image:linear-gradient(to bottom, rgba(255,253,247,0) 0%, rgba(255,253,247,0) 58%, rgba(255,253,247,.96) 72%), url('https://carnetdepadres.org/wp-content/uploads/2026/06/Alma-carnet-de-padres-con-ninos-de-3-a-6-anos-experta-en-psicologia-de-peques.jpeg');
  background-size:cover;
  background-position:center 34%;
  color:#0F3D40;
  font-weight:950;
  line-height:1.2;
  box-shadow:0 12px 24px rgba(31,95,86,.10);
}
@media(max-width:760px){
  body.page-id-1033 div[aria-hidden="true"][style*="width:128px"]{
    width:100% !important;
    height:auto !important;
    min-height:260px !important;
  }
  body.page-id-5 .hero .card::after{
    min-height:240px;
    padding-top:170px;
  }
}


/* Carnet de Padres - menu principal real 2026-06-27 */
header nav a[href$="/campus/"],
header nav a[href$="/preguntas-frecuentes/"],
nav a[href$="/campus/"],
nav a[href$="/preguntas-frecuentes/"]{
  display:none !important;
}
header nav a[href="https://carnetdepadres.org/"]{order:1;}
header nav a[href$="/etapa-3-6-anos/"]{order:2;}
header nav a[href$="/guias-padres-ninos-3-6-anos/"]{order:3;}
header nav a[href$="/ofertas/"]{order:4;}
header nav a[href$="/alma/"]{order:5;}
header nav a[href$="/acceso-etapa-3-6/"]{order:6;}
@media(max-width:760px){
  header nav a[href$="/campus/"],
  header nav a[href$="/preguntas-frecuentes/"],
  nav a[href$="/campus/"],
  nav a[href$="/preguntas-frecuentes/"]{
    display:none !important;
  }
}


/* --- WPWriter addition --- */


/* Carnet de Padres - menu publico final 6 enlaces 2026-06-28 */
body header.wp-block-template-part nav .wp-block-page-list > li.wp-block-pages-list__item{
  display:none !important;
}
body header.wp-block-template-part nav .wp-block-page-list > li.wp-block-pages-list__item:has(> a[href="https://carnetdepadres.org/"]),
body header.wp-block-template-part nav .wp-block-page-list > li.wp-block-pages-list__item:has(> a[href="/"]){
  display:flex !important;
  order:1 !important;
}
body header.wp-block-template-part nav .wp-block-page-list > li.wp-block-pages-list__item:has(> a[href$="/etapa-3-6-anos/"]){
  display:flex !important;
  order:2 !important;
}
body header.wp-block-template-part nav .wp-block-page-list > li.wp-block-pages-list__item:has(> a[href$="/guias-padres-ninos-3-6-anos/"]){
  display:flex !important;
  order:3 !important;
}
body header.wp-block-template-part nav .wp-block-page-list > li.wp-block-pages-list__item:has(> a[href$="/ofertas/"]){
  display:flex !important;
  order:4 !important;
}
body header.wp-block-template-part nav .wp-block-page-list > li.wp-block-pages-list__item:has(> a[href$="/comunidad/"]){
  display:flex !important;
  order:5 !important;
}
body header.wp-block-template-part nav .wp-block-page-list > li.wp-block-pages-list__item:has(> a[href$="/acceso-etapa-3-6/"]){
  display:flex !important;
  order:6 !important;
}
body header.wp-block-template-part nav .wp-block-page-list{
  gap:16px !important;
  align-items:center !important;
}
body header.wp-block-template-part nav .wp-block-page-list a[href$="/guias-padres-ninos-3-6-anos/"],
body header.wp-block-template-part nav .wp-block-page-list a[href$="/ofertas/"],
body header.wp-block-template-part nav .wp-block-page-list a[href$="/acceso-etapa-3-6/"]{
  font-size:0 !important;
}
body header.wp-block-template-part nav .wp-block-page-list a[href$="/guias-padres-ninos-3-6-anos/"]::after{
  content:"Guías";
  font-size:.94rem !important;
}
body header.wp-block-template-part nav .wp-block-page-list a[href$="/ofertas/"]::after{
  content:"Precios";
  font-size:.94rem !important;
}
body header.wp-block-template-part nav .wp-block-page-list a[href$="/acceso-etapa-3-6/"]::after{
  content:"Ya tengo código";
  font-size:.94rem !important;
}
@media(max-width:900px){
  body header.wp-block-template-part nav .wp-block-page-list{
    gap:10px !important;
  }
  body header.wp-block-template-part nav .wp-block-page-list a[href$="/guias-padres-ninos-3-6-anos/"]::after,
  body header.wp-block-template-part nav .wp-block-page-list a[href$="/ofertas/"]::after,
  body header.wp-block-template-part nav .wp-block-page-list a[href$="/acceso-etapa-3-6/"]::after{
    font-size:1rem !important;
  }
}


/* --- WPWriter addition --- */


/* Carnet de Padres - Alma FAQ responsive 2026-06-28 */
body.page-id-1476 .cdp-alma-faq-grid{
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
}
@media(max-width:760px){
  body.page-id-1476 .cdp-alma-faq-grid{
    grid-template-columns:1fr !important;
  }
}


/* --- WPWriter addition --- */


/* Carnet de Padres - correccion visual etapa 3-6 movil 2026-07-02
   Desactiva el pseudo-bloque antiguo de Alma que se superponia mal dentro de la tarjeta principal. */
body.page-id-5 .hero .card::after{
  content:none !important;
  display:none !important;
  background:none !important;
  min-height:0 !important;
  padding:0 !important;
  margin:0 !important;
  border:0 !important;
  box-shadow:none !important;
}


/* --- WPWriter addition --- */
/* Carnet de Padres: suavizado visual para páginas de etapa */
.cdp-stage03 .cdp-stage03-btn:focus,
.cdp-stage03 .cdp-stage03-card a:focus { outline: 3px solid rgba(217,164,65,.75) !important; outline-offset: 3px !important; }
.cdp-stage03 .cdp-stage03-note { line-height: 1.65 !important; }
.cdp-stage03 .cdp-stage03-card p { line-height: 1.62 !important; }

/* --- WPWriter addition --- */
/* CDP 0-3: refuerzo de botones y foco */
.cdp-stage03 .cdp-stage03-btn:hover { filter: brightness(0.96) !important; transform: translateY(-1px); }
.cdp-stage03 .cdp-stage03-btn { transition: transform .16s ease, filter .16s ease !important; }

/* --- WPWriter addition --- */
/* CDP 0-3: ajustes móviles */
@media(max-width:760px){.cdp-stage03 .cdp-stage03-band{padding:18px !important}.cdp-stage03 .cdp-stage03-card{padding:18px !important}.cdp-stage03 h1{line-height:1 !important}}

/* --- WPWriter addition --- */
/* CDP: aviso visual para páginas en preparación */
.cdp-stage03 .cdp-stage03-kicker,
.cdp-stage03 .cdp-stage03-stamp { letter-spacing: .04em !important; }
.cdp-stage03 .cdp-stage03-mini { line-height: 1.55 !important; }

/* --- WPWriter addition --- */
/* CDP 0-3: mejora de contraste de enlaces en tarjetas */
.cdp-stage03 .cdp-stage03-card a { text-decoration-thickness: 2px !important; text-underline-offset: 3px !important; }

/* --- WPWriter addition --- */
/* CDP beta 0-3: foco y botones */
body .entry-content a[href*="beta-privada-0-3"],
body .entry-content a[href*="registro"] { text-underline-offset: 3px !important; }
body .entry-content a:focus { outline: 3px solid rgba(217,164,65,.75) !important; outline-offset: 3px !important; }

/* --- WPWriter addition --- */
/* CDP beta 0-3: consistencia visual */
body .entry-content a[href*="beta-privada-0-3"] { font-weight: 800 !important; }
body .entry-content a[href*="etapa-3-6-anos"] { font-weight: 800 !important; }

/* --- WPWriter addition --- */
/* CDP beta 0-3: mobile card spacing */
@media(max-width:760px){body .entry-content [style*="margin:0 2rem 3rem"]{margin:0 1rem 2rem 1rem !important} body .entry-content [style*="padding:4rem 2rem"]{padding:3rem 1rem 2rem 1rem !important}}

/* --- WPWriter addition --- */
/* CDP beta 0-3: contraste de CTA */
body .entry-content a[href="https://carnetdepadres.org/registro/"] { font-weight: 900 !important; }

/* --- WPWriter addition --- */
/* CDP beta 0-3: headings */
body .entry-content h1 { overflow-wrap: balance; }
@media(max-width:760px){body .entry-content h1{font-size:clamp(2rem,10vw,3rem) !important;}}

/* --- WPWriter addition --- */
/* CDP 2026-07-16: selector de etapas sin recorte horizontal en móvil */
@media (max-width: 760px){
  body.page-id-9 .entry-content .cdp-selector,
  body.page-id-9 .wp-block-post-content .cdp-selector{
    width:100% !important;
    max-width:100% !important;
    margin-left:0 !important;
    margin-right:0 !important;
    overflow-x:hidden !important;
    box-sizing:border-box !important;
  }
  body.page-id-9 .cdp-selector .cdp-wrap{
    width:100% !important;
    max-width:100% !important;
    box-sizing:border-box !important;
  }
  body.page-id-9 .cdp-selector .cdp-title{
    width:100% !important;
    max-width:100% !important;
    white-space:normal !important;
    overflow-wrap:normal !important;
    word-break:normal !important;
  }
}

/* --- WPWriter addition --- */
/* CDP 2026-07-16: acceso global por selector de etapa */
body header.wp-block-template-part .wp-block-navigation-item:has(> a[href*="/acceso-etapa-3-6/"]),
body header.wp-block-template-part nav .wp-block-page-list > li.wp-block-pages-list__item:has(> a[href$="/acceso-etapa-3-6/"]){
  display:none !important;
}
body header.wp-block-template-part .wp-block-navigation-item:has(> a[href*="/campus/"]),
body header.wp-block-template-part nav .wp-block-page-list > li.wp-block-pages-list__item:has(> a[href$="/campus/"]){
  display:flex !important;
  order:6 !important;
}
body header.wp-block-template-part a[href*="/campus/"],
body header.wp-block-template-part nav .wp-block-page-list a[href$="/campus/"]{
  display:inline-flex !important;
  font-size:0 !important;
}
body header.wp-block-template-part a[href*="/campus/"]::after,
body header.wp-block-template-part nav .wp-block-page-list a[href$="/campus/"]::after{
  content:"Ya tengo código";
  font-size:.94rem !important;
}
@media(max-width:900px){
  body header.wp-block-template-part a[href*="/campus/"]::after,
  body header.wp-block-template-part nav .wp-block-page-list a[href$="/campus/"]::after{
    font-size:1rem !important;
  }
}

/* --- WPWriter addition --- */

/* CDP 2026-07-17: menú canónico de conversión 0-18 */
/* Oculta solo elementos heredados de primer nivel. Los enlaces de las etapas permanecen disponibles dentro del desplegable. */
body header.wp-block-template-part .wp-block-navigation__container > .wp-block-navigation-item:has(> a[href="https://carnetdepadres.org/"]),
body header.wp-block-template-part .wp-block-navigation__container > .wp-block-navigation-item:has(> a[href="/"]),
body header.wp-block-template-part .wp-block-navigation__container > .wp-block-navigation-item:has(> a[href$="/etapa-0-3-anos/"]),
body header.wp-block-template-part .wp-block-navigation__container > .wp-block-navigation-item:has(> a[href$="/etapa-3-6-anos/"]),
body header.wp-block-template-part .wp-block-navigation__container > .wp-block-navigation-item:has(> a[href*="page_id=1476"]),
body header.wp-block-template-part .wp-block-navigation__container > .wp-block-navigation-item:has(> a[href$="/alma/"]){
  display:none !important;
}

/* Orden visible: Etapas, Guías, Libros, Precios, Acceder y CTA gratuito. */
body header.wp-block-template-part .wp-block-navigation__container > .wp-block-navigation-item:has(> a[href$="/elegir-etapa/"]){display:flex !important;order:1 !important;}
body header.wp-block-template-part .wp-block-navigation__container > .wp-block-navigation-item:has(> a[href$="/guias-gratuitas/"]){display:flex !important;order:2 !important;}
body header.wp-block-template-part .wp-block-navigation__container > .wp-block-navigation-item:has(> a[href$="/libros/"]){display:flex !important;order:3 !important;}
body header.wp-block-template-part .wp-block-navigation__container > .wp-block-navigation-item:has(> a[href$="/ofertas/"]){display:flex !important;order:4 !important;}
body header.wp-block-template-part .wp-block-navigation__container > .wp-block-navigation-item:has(> a[href$="/ya-tengo-codigo/"]){display:flex !important;order:5 !important;}
body header.wp-block-template-part .wp-block-navigation__container > .wp-block-navigation-item:has(> a[href$="/etapa-embarazo-primer-ano/"]){display:flex !important;order:6 !important;}

/* Recupera las siete opciones dentro del desplegable Etapas frente a reglas antiguas. */
body header.wp-block-template-part .wp-block-navigation__submenu-container > .wp-block-navigation-item{
  display:flex !important;
  order:initial !important;
}
body header.wp-block-template-part .wp-block-navigation__submenu-container{
  min-width:285px !important;
  padding:10px !important;
  border:1px solid rgba(15,73,72,.16) !important;
  border-radius:14px !important;
  background:#FFFDF7 !important;
  box-shadow:0 18px 44px rgba(15,73,72,.16) !important;
}
body header.wp-block-template-part .wp-block-navigation__submenu-container a{
  width:100% !important;
  padding:10px 12px !important;
  border-radius:9px !important;
  color:#0F4948 !important;
  font-size:.92rem !important;
  font-weight:800 !important;
}
body header.wp-block-template-part .wp-block-navigation__submenu-container a:hover,
body header.wp-block-template-part .wp-block-navigation__submenu-container a:focus{
  background:#F7F1DF !important;
}

/* Renombra visualmente el acceso sin alterar su URL ni el circuito técnico. */
body header.wp-block-template-part a[href$="/ya-tengo-codigo/"]{
  font-size:0 !important;
}
body header.wp-block-template-part a[href$="/ya-tengo-codigo/"]::after{
  content:"Acceder";
  font-size:.94rem !important;
  font-weight:850 !important;
}

/* CTA principal de la cabecera. */
body header.wp-block-template-part .wp-block-navigation__container > .wp-block-navigation-item:has(> a[href$="/etapa-embarazo-primer-ano/"]) > a{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-height:42px !important;
  padding:10px 16px !important;
  border-radius:999px !important;
  background:#0F4948 !important;
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
  box-shadow:0 9px 22px rgba(15,73,72,.18) !important;
  font-weight:900 !important;
}
body header.wp-block-template-part .wp-block-navigation__container{
  gap:18px !important;
  align-items:center !important;
}

@media(max-width:900px){
  body header.wp-block-template-part .wp-block-navigation__responsive-container-content .wp-block-navigation__container > .wp-block-navigation-item{
    width:100% !important;
  }
  body header.wp-block-template-part .wp-block-navigation__submenu-container{
    min-width:0 !important;
    width:100% !important;
    box-shadow:none !important;
    margin-top:8px !important;
  }
  body header.wp-block-template-part a[href$="/ya-tengo-codigo/"]::after{font-size:1rem !important;}
  body header.wp-block-template-part .wp-block-navigation__container > .wp-block-navigation-item:has(> a[href$="/etapa-embarazo-primer-ano/"]) > a{
    width:100% !important;
    margin-top:6px !important;
  }
}


/* --- WPWriter addition --- */


/* =========================================================
   CARNET DE PADRES · WEB ESPECTACULAR v1 · 18/07/2026
   Capa final, reversible y limitada a portada/metodología.
   ========================================================= */
body.page-id-36 header.wp-block-template-part{display:none!important}
body.page-id-36 main,
body.page-id-36 .wp-block-post-content,
body.page-id-36 .entry-content{margin:0!important;padding:0!important;max-width:none!important}
body.page-id-36 .wp-site-blocks{padding-top:0!important}
body.page-id-36 .cdp-v2{min-height:100vh}
body.page-id-36 .cdp-local-nav{
  position:sticky;top:0;z-index:9999;background:rgba(255,253,247,.94);
  backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);
  border-bottom:1px solid rgba(15,73,72,.14);box-shadow:0 8px 28px rgba(15,73,72,.06)
}
body.admin-bar.page-id-36 .cdp-local-nav{top:32px}
body.page-id-36 .cdp-navin{min-height:70px;display:flex;align-items:center;gap:20px}
body.page-id-36 .cdp-brand{display:flex;align-items:center;gap:10px;color:#0f4948!important;font-weight:950;letter-spacing:-.025em;white-space:nowrap}
body.page-id-36 .cdp-mark{width:38px;height:38px;border-radius:11px;background:#0f4948;color:#fff;display:grid;place-items:center;font-size:.86rem;box-shadow:0 8px 22px rgba(15,73,72,.2)}
body.page-id-36 .cdp-navlinks{display:flex;align-items:center;justify-content:flex-end;gap:19px;margin-left:auto}
body.page-id-36 .cdp-navlinks a{color:#0f4948!important;font-size:.93rem;font-weight:850;white-space:nowrap}
body.page-id-36 .cdp-navlinks a:hover{text-decoration:underline;text-underline-offset:5px}
body.page-id-36 .cdp-navcta{display:inline-flex;align-items:center;justify-content:center;min-height:43px;padding:0 17px;border-radius:999px;background:#0f4948;color:#fff!important;font-weight:950;white-space:nowrap;box-shadow:0 9px 22px rgba(15,73,72,.17)}
body.page-id-36 .cdp-mobile-menu{display:none;margin-left:auto;position:relative}
body.page-id-36 .cdp-mobile-menu summary{list-style:none;cursor:pointer;border:1px solid rgba(15,73,72,.22);border-radius:999px;padding:9px 13px;color:#0f4948;font-weight:900;background:#fff}
body.page-id-36 .cdp-mobile-menu summary::-webkit-details-marker{display:none}
body.page-id-36 .cdp-mobile-panel{position:absolute;right:0;top:48px;width:min(280px,calc(100vw - 24px));padding:12px;background:#fffdf7;border:1px solid rgba(15,73,72,.16);border-radius:18px;box-shadow:0 22px 54px rgba(15,73,72,.2);display:grid;gap:4px}
body.page-id-36 .cdp-mobile-panel a{display:block;padding:11px 12px;border-radius:10px;color:#0f4948!important;font-weight:850}
body.page-id-36 .cdp-mobile-panel a:last-child{background:#0f4948;color:#fff!important;text-align:center}
body.page-id-36 .cdp-v2 a:focus-visible,
body.page-id-3129 .cdp-method a:focus-visible{outline:3px solid rgba(217,164,65,.85)!important;outline-offset:3px!important}

body.page-id-36 .cdp-season{background:#fff8e8;border-top:1px solid rgba(217,164,65,.28);border-bottom:1px solid rgba(217,164,65,.28)}
body.page-id-36 .cdp-season-grid,
body.page-id-36 .cdp-onboarding-grid,
body.page-id-36 .cdp-trust-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:30px;align-items:center}
body.page-id-36 .cdp-season-card,
body.page-id-36 .cdp-onboarding-card,
body.page-id-36 .cdp-proof-card{background:#fff;border:1px solid rgba(15,73,72,.14);border-radius:22px;padding:24px;box-shadow:0 16px 42px rgba(15,73,72,.09)}
body.page-id-36 .cdp-season-card strong,
body.page-id-36 .cdp-onboarding-card strong,
body.page-id-36 .cdp-proof-card strong{display:block;color:#0f4948;font-size:1.08rem;margin-bottom:7px}
body.page-id-36 .cdp-season-card p,
body.page-id-36 .cdp-onboarding-card p,
body.page-id-36 .cdp-proof-card p{margin:0;color:#526367}
body.page-id-36 .cdp-season-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}
body.page-id-36 .cdp-onboarding{background:#eef5ef}
body.page-id-36 .cdp-choice-list{display:grid;gap:10px}
body.page-id-36 .cdp-choice{display:grid;grid-template-columns:auto 1fr;gap:12px;align-items:start;padding:15px;border-radius:15px;background:#fff;border:1px solid rgba(15,73,72,.12)}
body.page-id-36 .cdp-choice-icon{width:34px;height:34px;border-radius:10px;background:#0f4948;color:#fff;display:grid;place-items:center;font-weight:950}
body.page-id-36 .cdp-trustproof{background:#fffdf7}
body.page-id-36 .cdp-proof-list{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:25px}
body.page-id-36 .cdp-proof-card{padding:20px}
body.page-id-36 .cdp-disclaimer{margin-top:18px;padding:15px 17px;border-left:5px solid #d9a441;background:#fff8e8;border-radius:12px;color:#5a4a1f}

body.page-id-36 .bookcovers .book{aspect-ratio:auto!important;padding:0!important;background:transparent!important;box-shadow:none!important;border-radius:14px;overflow:visible;display:block}
body.page-id-36 .bookcovers .book img{display:block;width:100%;height:auto;aspect-ratio:.69;object-fit:cover;border-radius:12px;box-shadow:0 16px 32px rgba(15,73,72,.18);transition:transform .18s ease,box-shadow .18s ease}
body.page-id-36 .bookcovers .book:hover img{transform:translateY(-5px);box-shadow:0 24px 44px rgba(15,73,72,.23)}
body.page-id-36 .bookcovers .book span{display:block;color:#0f4948;font-weight:900;text-align:center;margin-top:10px;font-size:.92rem}

body.page-id-3129 .wp-block-post-title{display:none!important}
body.page-id-3129 main,
body.page-id-3129 .wp-block-post-content,
body.page-id-3129 .entry-content{max-width:none!important;margin:0!important;padding:0!important}
body.page-id-3129 .cdp-method{--g:#0f4948;--muted:#526367;--paper:#fffdf7;--cream:#f7f1df;--red:#b94a48;max-width:980px;margin:0 auto;padding:54px 22px 80px;color:#17282c;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;line-height:1.68}
body.page-id-3129 .cdp-method-hero{background:linear-gradient(rgba(141,182,217,.14) 1px,transparent 1px),var(--cream);background-size:100% 32px;border:1px solid rgba(15,73,72,.13);border-radius:28px;padding:38px;margin-bottom:22px}
body.page-id-3129 .cdp-method-kicker{display:inline-flex;border:1px solid rgba(185,74,72,.42);border-radius:999px;padding:6px 10px;color:var(--red);font-weight:950;text-transform:uppercase;letter-spacing:.07em;font-size:.75rem}
body.page-id-3129 .cdp-method h1{color:var(--g)!important;font-size:clamp(2.5rem,6vw,4.8rem)!important;line-height:1!important;letter-spacing:-.055em!important;margin:16px 0!important}
body.page-id-3129 .cdp-method-lead{font-size:1.18rem;color:#34494e;max-width:760px}
body.page-id-3129 .cdp-method>section:not(.cdp-method-hero){background:#fff;border:1px solid rgba(15,73,72,.12);border-radius:20px;padding:25px;margin:14px 0;box-shadow:0 12px 30px rgba(15,73,72,.06)}
body.page-id-3129 .cdp-method h2{color:var(--g)!important;line-height:1.15!important;margin-top:0!important}
body.page-id-3129 .cdp-method a{color:#1f5f56!important;font-weight:850}

@media(max-width:980px){
  body.page-id-36 .cdp-navlinks{display:none}
  body.page-id-36 .cdp-mobile-menu{display:block}
  body.page-id-36 .cdp-navcta{margin-left:auto}
}
@media(max-width:760px){
  body.admin-bar.page-id-36 .cdp-local-nav{top:46px}
  body.page-id-36 .cdp-navin{min-height:62px;gap:9px}
  body.page-id-36 .cdp-brand span:last-child{display:none}
  body.page-id-36 .cdp-navcta{font-size:.8rem;padding:0 12px;min-height:38px}
  body.page-id-36 .cdp-season-grid,
  body.page-id-36 .cdp-onboarding-grid,
  body.page-id-36 .cdp-trust-grid{grid-template-columns:1fr}
  body.page-id-36 .cdp-proof-list{grid-template-columns:1fr}
  body.page-id-36 .cdp-season-actions a{width:100%}
  body.page-id-36 .bookcovers{grid-template-columns:repeat(2,1fr)!important;gap:18px!important}
  body.page-id-3129 .cdp-method{padding:24px 12px 60px}
  body.page-id-3129 .cdp-method-hero{padding:24px 18px;border-radius:20px}
}
@media(prefers-reduced-motion:reduce){
  body.page-id-36 .cdp-v2 *,body.page-id-3129 .cdp-method *{scroll-behavior:auto!important;animation:none!important;transition:none!important}
}


/* --- WPWriter addition --- */


/* =========================================================
   CARNET DE PADRES · NAVEGACIÓN COMERCIAL COMPARTIDA v1
   ========================================================= */
body.page-id-9 header.wp-block-template-part,
body.page-id-11 header.wp-block-template-part,
body.page-id-2552 header.wp-block-template-part,
body.page-id-1 header.wp-block-template-part,
body.page-id-30 header.wp-block-template-part,
body.page-id-808 header.wp-block-template-part,
body.page-id-671 header.wp-block-template-part,
body.page-id-3129 header.wp-block-template-part{display:none!important}
.cdp-shared-nav{position:sticky;top:0;z-index:9998;background:rgba(255,253,247,.95);border-bottom:1px solid rgba(15,73,72,.14);box-shadow:0 8px 28px rgba(15,73,72,.06);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}
body.admin-bar .cdp-shared-nav{top:32px}
.cdp-shared-inner{width:min(1180px,calc(100% - 36px));min-height:70px;margin:auto;display:flex;align-items:center;gap:20px}
.cdp-shared-brand{display:flex;align-items:center;gap:10px;color:#0f4948!important;text-decoration:none!important;font-weight:950;letter-spacing:-.025em;white-space:nowrap}
.cdp-shared-mark{width:38px;height:38px;border-radius:11px;background:#0f4948;color:#fff;display:grid;place-items:center;font-size:.86rem;box-shadow:0 8px 22px rgba(15,73,72,.2)}
.cdp-shared-links{display:flex;align-items:center;justify-content:flex-end;gap:19px;margin-left:auto}
.cdp-shared-links a{color:#0f4948!important;text-decoration:none!important;font-size:.93rem;font-weight:850;white-space:nowrap}
.cdp-shared-links a:hover{text-decoration:underline!important;text-underline-offset:5px}
.cdp-shared-cta{display:inline-flex;align-items:center;justify-content:center;min-height:43px;padding:0 17px;border-radius:999px;background:#0f4948;color:#fff!important;text-decoration:none!important;font-weight:950;white-space:nowrap;box-shadow:0 9px 22px rgba(15,73,72,.17)}
.cdp-shared-mobile{display:none;margin-left:auto;position:relative}
.cdp-shared-mobile summary{list-style:none;cursor:pointer;border:1px solid rgba(15,73,72,.22);border-radius:999px;padding:9px 13px;color:#0f4948;font-weight:900;background:#fff}
.cdp-shared-mobile summary::-webkit-details-marker{display:none}
.cdp-shared-panel{position:absolute;right:0;top:48px;width:min(280px,calc(100vw - 24px));padding:12px;background:#fffdf7;border:1px solid rgba(15,73,72,.16);border-radius:18px;box-shadow:0 22px 54px rgba(15,73,72,.2);display:grid;gap:4px}
.cdp-shared-panel a{display:block;padding:11px 12px;border-radius:10px;color:#0f4948!important;text-decoration:none!important;font-weight:850}
.cdp-shared-panel a:last-child{background:#0f4948;color:#fff!important;text-align:center}
.cdp-shared-nav a:focus-visible{outline:3px solid rgba(217,164,65,.85)!important;outline-offset:3px!important}

/* Capa común de acabado para las superficies que convierten */
body.page-id-9 .cdp-card,
body.page-id-11 .card,
body.page-id-30 .card,
body.page-id-808 .cdp-access__card,
body.page-id-808 .cdp-access__panel,
body.page-id-808 .cdp-access__help>div,
body.page-id-671 .cdp-pregnancy__card,
body.page-id-1 section>div>div[style*="background:#fff"],
body.page-id-2552 .cdp-books-hub article{border-radius:20px!important}
body.page-id-9 .cdp-btn,
body.page-id-11 .btn,
body.page-id-30 .btn,
body.page-id-671 .cdp-pregnancy__button{transition:transform .16s ease,box-shadow .16s ease}
body.page-id-9 .cdp-btn:hover,
body.page-id-11 .btn:hover,
body.page-id-30 .btn:hover,
body.page-id-671 .cdp-pregnancy__button:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(15,73,72,.14)}
@media(max-width:980px){.cdp-shared-links{display:none}.cdp-shared-mobile{display:block}.cdp-shared-cta{margin-left:auto}}
@media(max-width:760px){body.admin-bar .cdp-shared-nav{top:46px}.cdp-shared-inner{width:min(100% - 24px,1180px);min-height:62px;gap:9px}.cdp-shared-brand span:last-child{display:none}.cdp-shared-cta{font-size:.8rem;padding:0 12px;min-height:38px}}
@media(prefers-reduced-motion:reduce){.cdp-shared-nav *{transition:none!important}}


/* --- WPWriter addition --- */

body.page-id-913 header.wp-block-template-part{display:none!important}
body.page-id-913 .cdp-hub section,
body.page-id-913 .cdp-hub article{border-radius:20px!important}


/* --- WPWriter addition --- */

/* Carnet de Padres - contraste accesible en CTA primarios 2026-07-18 */
body .cdp-btn.cdp-btn--primary,
body a.cdp-btn--primary,
body button.cdp-btn--primary{
  color:#ffffff !important;
}
body .cdp-btn.cdp-btn--primary:hover,
body .cdp-btn.cdp-btn--primary:focus-visible,
body a.cdp-btn--primary:hover,
body a.cdp-btn--primary:focus-visible,
body button.cdp-btn--primary:hover,
body button.cdp-btn--primary:focus-visible{
  color:#ffffff !important;
}


/* --- WPWriter addition --- */
/* Carnet de Padres - visual polish 2026-07-19
   Scope: home, guides, books and pricing only.
   Reversible: remove this entire block from Additional CSS. */

/* Home: WordPress inserted paragraph wrappers between timeline cards.
   Hide those wrappers and restore one complete clickable card per stage. */
body.page-id-36 #recorrido .timeline {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 16px !important;
  align-items: stretch !important;
}

body.page-id-36 #recorrido .timeline > p {
  display: none !important;
}

body.page-id-36 #recorrido .timeline > a.stage {
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  min-width: 0 !important;
  min-height: 220px !important;
  padding: 22px !important;
  border: 1px solid rgba(15, 73, 72, .16) !important;
  border-radius: 8px !important;
  background: #fffdf7 !important;
  color: #1e2529 !important;
  text-decoration: none !important;
  box-shadow: 0 12px 28px rgba(15, 73, 72, .08) !important;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease !important;
}

body.page-id-36 #recorrido .timeline > a.stage:hover,
body.page-id-36 #recorrido .timeline > a.stage:focus-visible {
  transform: translateY(-3px) !important;
  border-color: rgba(15, 73, 72, .38) !important;
  box-shadow: 0 18px 36px rgba(15, 73, 72, .13) !important;
}

body.page-id-36 #recorrido .timeline > a.stage::after {
  content: "Ver etapa  \2192";
  display: block;
  margin-top: 22px;
  color: #b94a48;
  font-size: .88rem;
  font-weight: 900;
}

body.page-id-36 #recorrido .timeline > a.stage.free {
  background: #0f4948 !important;
  color: #ffffff !important;
  border-color: #0f4948 !important;
}

body.page-id-36 #recorrido .timeline > a.stage.free h3,
body.page-id-36 #recorrido .timeline > a.stage.free p {
  color: #ffffff !important;
}

body.page-id-36 #recorrido .timeline > a.stage.free::after {
  content: "Gratis  \2192";
  color: #ffffff;
}

body.page-id-36 #recorrido .timeline .num {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 32px !important;
  height: 32px !important;
  margin-bottom: 18px !important;
  border-radius: 8px !important;
  background: #f7f1df !important;
  color: #0f4948 !important;
  font-size: .85rem !important;
  font-weight: 950 !important;
}

body.page-id-36 #recorrido .timeline h3 {
  margin: 0 0 10px !important;
  font-size: 1.35rem !important;
  line-height: 1.12 !important;
}

body.page-id-36 #recorrido .timeline p {
  margin: 0 !important;
  font-size: .98rem !important;
  line-height: 1.55 !important;
}

/* Guides: fewer columns and a type scale designed for card reading. */
body.page-id-913 #edad-3-6 {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 18px !important;
  align-items: stretch !important;
}

body.page-id-913 #edad-3-6 > article {
  display: flex !important;
  flex-direction: column !important;
  min-width: 0 !important;
  min-height: 285px !important;
  padding: 24px !important;
  border-radius: 8px !important;
  box-shadow: 0 10px 24px rgba(15, 73, 72, .08) !important;
}

body.page-id-913 #edad-3-6 > article h2 {
  margin: 12px 0 12px !important;
  font-size: clamp(1.45rem, 2vw, 1.82rem) !important;
  line-height: 1.1 !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
}

body.page-id-913 #edad-3-6 > article p {
  font-size: .98rem !important;
  line-height: 1.62 !important;
}

body.page-id-913 #edad-3-6 > article p:last-child {
  margin-top: auto !important;
  padding-top: 12px !important;
}

body.page-id-913 #edad-3-6 > article a {
  text-underline-offset: 3px !important;
}

/* Books: equal card rhythm, stable cover area and clearer actions. */
body.page-id-2552 .entry-content,
body.page-id-2552 .wp-block-post-content {
  max-width: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.page-id-2552 .cdp-books-hub section > div > div[style*="grid-template-columns"] {
  align-items: stretch !important;
}

body.page-id-2552 .cdp-books-hub article {
  display: flex !important;
  flex-direction: column !important;
  min-width: 0 !important;
  padding: 24px !important;
  box-shadow: 0 10px 24px rgba(15, 73, 72, .08) !important;
}

body.page-id-2552 .cdp-books-hub article h3 {
  min-height: 2.8em !important;
  font-size: 1.25rem !important;
  line-height: 1.2 !important;
}

body.page-id-2552 .cdp-books-hub article > p:has(> img) {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 300px !important;
  margin: 0 0 18px !important;
}

body.page-id-2552 .cdp-books-hub article img {
  width: auto !important;
  max-width: 220px !important;
  max-height: 300px !important;
  margin: 0 auto !important;
  object-fit: contain !important;
}

body.page-id-2552 .cdp-books-hub article > p[style*="margin:1rem 0 0"] {
  margin-top: auto !important;
  padding-top: 12px !important;
}

body.page-id-2552 .cdp-books-hub article a[style*="background:#F2D16B"] {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 46px !important;
  text-align: center !important;
}

/* Pricing: use the available canvas and strengthen the hierarchy. */
body.page-id-11 .entry-content,
body.page-id-11 .wp-block-post-content {
  max-width: none !important;
}

body.page-id-11 .wrap {
  width: min(1120px, calc(100% - 40px)) !important;
  max-width: 1120px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.page-id-11 .section {
  padding-top: 64px !important;
  padding-bottom: 64px !important;
}

body.page-id-11 .card {
  padding: 28px !important;
}

body.page-id-11 .grid3,
body.page-id-11 .grid4 {
  gap: 20px !important;
  align-items: stretch !important;
}

body.page-id-11 .grid3 > .card,
body.page-id-11 .grid4 > .card {
  height: 100% !important;
}

@media (max-width: 980px) {
  body.page-id-36 #recorrido .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.page-id-913 #edad-3-6 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.page-id-11 .grid3,
  body.page-id-11 .grid4 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 640px) {
  body.page-id-36 #recorrido .timeline,
  body.page-id-913 #edad-3-6,
  body.page-id-11 .grid3,
  body.page-id-11 .grid4 {
    grid-template-columns: 1fr !important;
  }

  body.page-id-36 #recorrido .timeline > a.stage,
  body.page-id-913 #edad-3-6 > article {
    min-height: 0 !important;
  }

  body.page-id-2552 .cdp-books-hub article > p:has(> img) {
    min-height: 250px !important;
  }

  body.page-id-2552 .cdp-books-hub article img {
    max-height: 250px !important;
  }

  body.page-id-11 .wrap {
    width: min(100% - 28px, 1120px) !important;
  }

  body.page-id-11 .section {
    padding-top: 44px !important;
    padding-bottom: 44px !important;
  }

  body.page-id-11 .card {
    padding: 20px !important;
  }
}



/* --- WPWriter addition --- */
/* Carnet de Padres - mobile containment follow-up 2026-07-19
   Scope: homepage hero only. Reversible as one Additional CSS block. */

body.page-id-36 .cdp-v2 .hero-grid,
body.page-id-36 .cdp-v2 .hero-grid > *,
body.page-id-36 .cdp-v2 .product,
body.page-id-36 .cdp-v2 .card {
  min-width: 0 !important;
  max-width: 100% !important;
}

body.page-id-36 .cdp-v2 h1,
body.page-id-36 .cdp-v2 .title,
body.page-id-36 .cdp-v2 .card h2,
body.page-id-36 .cdp-v2 .final h2 {
  letter-spacing: 0 !important;
}

body.page-id-36 .cdp-v2 h1 {
  font-size: 5rem !important;
  overflow-wrap: break-word !important;
  word-break: normal !important;
}

body.page-id-36 .cdp-v2 .lead,
body.page-id-36 .cdp-v2 .micro,
body.page-id-36 .cdp-v2 .card-top,
body.page-id-36 .cdp-v2 .card-bottom {
  min-width: 0 !important;
  max-width: 100% !important;
  overflow-wrap: anywhere !important;
}

@media (max-width: 1100px) {
  body.page-id-36 .cdp-v2 h1 {
    font-size: 4rem !important;
  }
}

@media (max-width: 520px) {
  body.page-id-36 .cdp-v2 .hero {
    padding-top: 42px !important;
    padding-bottom: 48px !important;
  }

  body.page-id-36 .cdp-v2 h1 {
    max-width: 100% !important;
    margin: 18px 0 !important;
    font-size: 2.7rem !important;
    line-height: 1.02 !important;
  }

  body.page-id-36 .cdp-v2 .kicker {
    max-width: 100% !important;
    white-space: normal !important;
    line-height: 1.35 !important;
  }

  body.page-id-36 .cdp-v2 .actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }

  body.page-id-36 .cdp-v2 .actions a {
    width: 100% !important;
  }

  body.page-id-36 .cdp-v2 .product {
    min-height: 0 !important;
    margin-top: 34px !important;
  }

  body.page-id-36 .cdp-v2 .card {
    width: 100% !important;
    padding: 20px !important;
    border-radius: 16px !important;
    transform: none !important;
  }

  body.page-id-36 .cdp-v2 .card-top {
    flex-wrap: wrap !important;
  }

  body.page-id-36 .cdp-v2 .card h2 {
    margin-top: 28px !important;
    font-size: 1.55rem !important;
  }

  body.page-id-36 .cdp-v2 .card-bottom {
    margin-top: 30px !important;
    gap: 12px !important;
  }

  body.page-id-36 .cdp-v2 .qr {
    flex: 0 0 64px !important;
    width: 64px !important;
    height: 64px !important;
    border-width: 6px !important;
  }

  body.page-id-36 .cdp-v2 .float {
    display: none !important;
  }
}



/* --- WPWriter addition --- */
/* Carnet de Padres - full-width containment 2026-07-19
   Fixes WordPress global padding being added to full-viewport sections. */

body.page-id-913 .cdp-hub {
  box-sizing: border-box !important;
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
}

body.page-id-11 .wp-block-post-content > .hero,
body.page-id-11 .wp-block-post-content > .section {
  box-sizing: border-box !important;
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
}

@media (max-width: 640px) {
  body.page-id-913 .cdp-hub {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
}

