/* Carnet de Padres - marca portada 2026-06-18 */
body.page-id-36 .wp-block-post-content > div[style*="font-family"],
body.page-id-36 .entry-content > div[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-36 section[style*="background:#F3E8D6"],
body.page-id-36 section[style*="background:#F7F1E6"]{
  background:rgba(255,253,247,.54) !important;
  border-radius:0 !important;
  border-top:1px solid rgba(37,50,77,.10) !important;
  border-bottom:1px solid rgba(37,50,77,.10) !important;
}
body.page-id-36 h1[style],
body.page-id-36 h2[style],
body.page-id-36 h3[style]{
  color:#1F5F56 !important;
  letter-spacing:0 !important;
}
body.page-id-36 h1[style]{
  font-size:4rem !important;
  line-height:1.08 !important;
}
body.page-id-36 p[style*="color:#34494e"]{
  color:#34494e !important;
}
body.page-id-36 [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-36 [style*="background:white"],
body.page-id-36 [style*="background:#fff"],
body.page-id-36 [style*="background:#ffffff"]{
  background:#FFFDF7 !important;
}
body.page-id-36 [style*="border-radius:24px"],
body.page-id-36 [style*="border-radius:22px"],
body.page-id-36 [style*="border-radius:18px"],
body.page-id-36 [style*="border-radius:15px"]{
  border-radius:8px !important;
}
body.page-id-36 [style*="box-shadow:0 10px 30px rgba(15,61,64,.08)"],
body.page-id-36 [style*="box-shadow:0 10px 30px rgba(15,61,64,.10)"]{
  border:1px solid rgba(37,50,77,.16) !important;
  box-shadow:0 14px 30px rgba(31,95,86,.12) !important;
}
body.page-id-36 a[style*="background:#0F3D40"]{
  background:#1F5F56 !important;
  color:#ffffff !important;
}
body.page-id-36 a[style*="background:#ffffff"],
body.page-id-36 a[style*="background:#fff"]{
  background:#FFFDF7 !important;
  color:#1F5F56 !important;
  border-color:rgba(31,95,86,.28) !important;
}
body.page-id-36 div[style*="background:#fff8e7"]{
  background:rgba(217,164,65,.18) !important;
  border-left-color:#D9A441 !important;
  color:#5b4716 !important;
}
@media(max-width:820px){
  body.page-id-36 h1[style]{font-size:2.55rem !important;}
  body.page-id-36 h2[style]{font-size:1.75rem !important;}
  body.page-id-36 section[style]{padding-left:16px !important;padding-right:16px !important;}
}

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

/* Carnet de Padres - ajuste de jerarquia en portada */
body.page-id-36 .wp-block-post-content > div[style*="font-family"] h2[style="color:#0F3D40;margin-top:0"],
body.page-id-36 .wp-block-post-content > div[style*="font-family"] h2[style="margin-top:0;color:#0F3D40"],
body.page-id-36 .entry-content > div[style*="font-family"] h2[style="color:#0F3D40;margin-top:0"],
body.page-id-36 .entry-content > div[style*="font-family"] h2[style="margin-top:0;color:#0F3D40"]{
  font-size:1.6rem !important;
  line-height:1.15 !important;
}
body.page-id-36 .wp-block-post-content > div[style*="font-family"] h3[style="margin-top:0;color:#0F3D40"],
body.page-id-36 .entry-content > div[style*="font-family"] h3[style="margin-top:0;color:#0F3D40"]{
  font-size:1.25rem !important;
  line-height:1.2 !important;
}
@media(max-width:820px){
  body.page-id-36 .wp-block-post-content > div[style*="font-family"] h2[style="color:#0F3D40;margin-top:0"],
  body.page-id-36 .wp-block-post-content > div[style*="font-family"] h2[style="margin-top:0;color:#0F3D40"],
  body.page-id-36 .entry-content > div[style*="font-family"] h2[style="color:#0F3D40;margin-top:0"],
  body.page-id-36 .entry-content > div[style*="font-family"] h2[style="margin-top:0;color:#0F3D40"]{font-size:1.45rem !important;}
}

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

/* 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;
}
