
/* MiraQuién v0.17.168 — continuidad entre secciones aprobadas */
body:has(.mqcomo-hero) .entry-content>.wp-block-shortcode:has(.mqcr),
body:has(.mqcomo-hero) .entry-content>.wp-block-shortcode:has(.mqcp){margin-block:0!important;padding-block:0!important}
body:has(.mqcomo-hero) .mqcr{background:linear-gradient(180deg,#fff4f5 0%,#fffafb 23%,#f2f6fd 100%)!important}
body:has(.mqcomo-hero) .mqcp{background:linear-gradient(180deg,#f2f6fd 0%,#eaf1fa 42%,#f5f8fc 100%)!important}
body:has(.mqcomo-hero) .mqcr__inner{padding-bottom:34px!important}
body:has(.mqcomo-hero) .mqcp__inner{padding-top:38px!important}
body:has(.mqhiw) .mqhiw{margin-top:0!important;margin-bottom:0!important;background:linear-gradient(180deg,#fff 0%,#fff 20%,#fff4f5 82%,#fff8f9 100%)!important}
body:has(.mqhiw) .mqhiw__wrap{padding-bottom:28px!important}
body:has(.mqhiw) .mqhiw__proband{margin-bottom:0!important}
body:has(.mqhiw) .entry-content>.wp-block-shortcode:has(.mqhiw){margin-block:0!important;padding-block:0!important}
body:has(.mqhiw) .site-main,body:has(.mqhiw) .entry-content{padding-bottom:0!important;margin-bottom:0!important}
body:has(.mqhiw) #main-container>.site-footer,body:has(.mqhiw) .site-footer{margin-top:0!important;border-top:0!important}
@media(max-width:850px){body:has(.mqcomo-hero) .mqcr__inner{padding-bottom:25px!important}body:has(.mqcomo-hero) .mqcp__inner{padding-top:31px!important}body:has(.mqhiw) .mqhiw__wrap{padding-bottom:22px!important}}
@media(max-width:600px){body:has(.mqcomo-hero) .mqcr__inner{padding-bottom:20px!important}body:has(.mqcomo-hero) .mqcp__inner{padding-top:26px!important}body:has(.mqhiw) .mqhiw__wrap{padding-bottom:18px!important}}

/* v0.17.169: corregir discontinuidades visibles y espacios entre bloques.
   No modifica tipografia, fotografias, contenido ni disposicion de tarjetas. */
body:has(.mqcomo-hero) .mqcr,
body:has(.mqcomo-hero) .mqcp { margin-block:0!important; }
body:has(.mqcomo-hero) .mqcr__inner {padding-bottom:clamp(22px,2.4vw,34px)!important}
body:has(.mqcomo-hero) .mqcp__inner {padding-top:clamp(26px,2.7vw,38px)!important}
/* El fondo final del registro coincide exactamente con el inicial de los pasos. */
body:has(.mqcomo-hero) .mqcr {background:linear-gradient(180deg,#fff4f5 0%,#fffafb 27%,#fff 51%,#f2f6fd 100%)!important}
body:has(.mqcomo-hero) .mqcp {background:linear-gradient(180deg,#f2f6fd 0%,#edf3fb 35%,#f5f8fc 100%)!important}
/* Quitar margen de Gutenberg y franjas del contenedor entre shortcodes. */
body:has(.mqcomo-hero) .entry-content > .wp-block-shortcode:has(.mqcr),
body:has(.mqcomo-hero) .entry-content > .wp-block-shortcode:has(.mqcp),
body:has(.mqhiw) .entry-content > .wp-block-shortcode:has(.mqhiw) {margin-block:0!important;padding-block:0!important}
/* La home termina en el CTA profesional; eliminar aire antes y despues. */
body:has(.mqhiw) .mqhiw {margin-top:0!important;margin-bottom:0!important;background:linear-gradient(180deg,#fff 0%,#fff 67%,#fffafa 100%)!important}
body:has(.mqhiw) .mqhiw__wrap {padding-bottom:clamp(18px,2vw,28px)!important}
body:has(.mqhiw) .mqhiw__proband {margin-top:0!important;margin-bottom:0!important}
/* Transicion real de la ultima banda al fondo del pie, sin franja blanca. */
body:has(.mqhiw) .mqhiw__proband::after {
 content:"";position:absolute;bottom:0;left:0;right:0;height:22px;
 pointer-events:none;z-index:2;
 background:linear-gradient(180deg,rgba(242,245,247,0),#f2f5f7);
}
body:has(.mqhiw) .site-main,
body:has(.mqhiw) .entry-content,
body:has(.mqhiw) .site-main > .ct-container-full {padding-bottom:0!important;margin-bottom:0!important}
body:has(.mqhiw) .site-footer {margin-top:0!important;border-top:0!important}
@media(max-width:767px){
 body:has(.mqcomo-hero) .mqcr__inner{padding-bottom:20px!important}
 body:has(.mqcomo-hero) .mqcp__inner{padding-top:25px!important}
 body:has(.mqhiw) .mqhiw__wrap{padding-bottom:17px!important}
 body:has(.mqhiw) .mqhiw__proband::after{height:15px}
}

/* v0.17.171 — HOME: transiciones de fondo entre bloques y unión final con Blocksy.
   Aplicar exclusivamente en portada; no tocar diseño interior ni otras páginas. */
body.home .entry-content > .wp-block-shortcode,
body.home .entry-content > .wp-block-group:has(> .wp-block-shortcode) {margin-block:0!important;}
body.home .entry-content {row-gap:0!important;column-gap:0!important;}
/* Fondo de registro: empezar blanco y terminar en el tono claro del siguiente bloque. */
body.home .mqhur:before {background:linear-gradient(180deg,#fff 0%,#fff5f6 19%,#fffafa 62%,#fff 100%)!important;}
/* Paso a paso: fundido blanco hacia coral sin saltos de color. */
body.home .mqhiw {background:linear-gradient(180deg,#fff 0%,#fff 25%,#fff8f9 62%,#fff5f6 100%)!important;}
body.home .mqhiw__wrap {padding-top:clamp(30px,3.2vw,46px)!important;padding-bottom:clamp(16px,2.2vw,28px)!important;}
/* La banda final arranca en el mismo rosa que el bloque anterior y se funde al pie.
   No se superponen los textos o fotografías: el gradiente pertenece al fondo. */
body.home .mqhiw__proband {
 margin:0!important;
 background:radial-gradient(circle at 3% 0%,rgba(239,68,68,.07),transparent 28%),
 linear-gradient(180deg,#fff5f6 0%,#fff6f7 42%,#f2f5f7 100%)!important;
}
body.home .mqhiw__proband::after {display:none!important;}
/* Quitar huecos que Blocksy/Gutenberg añaden entre el último shortcode y el pie. */
body.home .site-main,body.home .site-main > article,
body.home .entry-content,body.home .ct-container-full,
body.home .content-area {margin-bottom:0!important;padding-bottom:0!important;}
body.home .site-footer {margin-top:0!important;border-top:0!important;}
body.home .site-main + .site-footer {margin-top:0!important;}
@media(max-width:999px){
 body.home .mqhiw__wrap {padding-top:30px!important;padding-bottom:20px!important;}
}
@media(max-width:600px){
 body.home .mqhiw__wrap {padding-top:25px!important;padding-bottom:16px!important;}
 body.home .mqhur__inner {padding-bottom:25px!important;}
}
