:root{--pv-green:#1e7a3a;--pv-navy:#123c4a;--pv-bg:#f5f7f8;--pv-text:#263238;--pv-muted:#60727a;--pv-border:#dde5e8;--pv-soft:#eaf6ee;--pv-amber:#f59e0b;--pv-white:#fff;--pv-shell:1180px;--pv-reading:780px;--pv-radius:18px;--pv-shadow:0 10px 30px rgba(18,60,74,.07);--prev-verde:#1e7a3a;--prev-azul:#123c4a;--prev-fondo:#f5f7f8;--prev-texto:#263238;--prev-borde:#dde5e8}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--pv-bg);color:var(--pv-text);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;line-height:1.65}img{max-width:100%;height:auto}a{color:var(--pv-green);text-underline-offset:3px}a:hover{text-decoration-thickness:2px}button,input{font:inherit}.screen-reader-text,.pv-skip-link:not(:focus){position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.pv-skip-link:focus{position:fixed;z-index:10000;left:12px;top:12px;background:#fff;padding:10px 14px;border:2px solid var(--pv-green);border-radius:8px}.pv-shell{width:min(calc(100% - 32px),var(--pv-shell));margin-inline:auto}
.pv-site-header{background:var(--pv-white);border-bottom:1px solid var(--pv-border);position:sticky;top:0;z-index:100}.pv-header-inner{width:min(calc(100% - 32px),var(--pv-shell));margin:auto;min-height:72px;display:grid;grid-template-columns:auto 1fr auto;gap:22px;align-items:center}.pv-brand-link{display:flex;align-items:center;gap:10px;color:var(--pv-navy);font-weight:850;font-size:1.12rem;text-decoration:none}.pv-brand-mark{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:var(--pv-green);color:#fff}.custom-logo{max-height:48px;width:auto}.pv-primary-nav{min-width:0}.pv-menu{display:flex;align-items:center;gap:2px;list-style:none;margin:0;padding:0;flex-wrap:wrap}.pv-menu li{margin:0}.pv-menu a{display:block;color:var(--pv-navy);font-weight:700;text-decoration:none;padding:10px 9px;border-radius:9px;font-size:.94rem}.pv-menu a:hover,.pv-menu .current-menu-item>a{background:var(--pv-soft);color:var(--pv-green)}.pv-menu-toggle{display:none;border:1px solid var(--pv-border);background:#fff;border-radius:10px;padding:9px 12px;color:var(--pv-navy);font-weight:800}.pv-header-search{display:flex;border:1px solid var(--pv-border);border-radius:999px;background:#fff;overflow:hidden;min-width:180px}.pv-header-search input{border:0;outline:0;padding:8px 5px 8px 13px;min-width:0;width:130px;background:transparent}.pv-header-search button{border:0;background:transparent;color:var(--pv-navy);padding:7px 11px;cursor:pointer}
.pv-main{min-height:60vh}.pv-layout{width:min(calc(100% - 32px),var(--pv-shell));margin:34px auto 60px;display:grid;grid-template-columns:minmax(0,var(--pv-reading)) minmax(250px,1fr);gap:42px;align-items:start}.pv-layout-full{grid-template-columns:minmax(0,920px);justify-content:center}.pv-content-column{min-width:0}.pv-sidebar{position:sticky;top:96px;min-width:0}.pv-article{background:#fff;border:1px solid var(--pv-border);border-radius:22px;padding:clamp(20px,4vw,44px);box-shadow:var(--pv-shadow)}.pv-article-header h1{margin:.35rem 0 .8rem;color:var(--pv-navy);font-size:clamp(2rem,4vw,3.35rem);line-height:1.08;letter-spacing:-.035em}.pv-breadcrumbs{display:flex;gap:7px;flex-wrap:wrap;font-size:.86rem;color:var(--pv-muted);margin-bottom:15px}.pv-breadcrumbs a{color:var(--pv-muted);text-decoration:none}.pv-article-meta{display:flex;gap:8px;flex-wrap:wrap;color:var(--pv-muted);font-size:.9rem}.pv-featured{margin:24px 0}.pv-featured img{width:100%;border-radius:18px;display:block}.pv-entry-content{font-size:1.04rem}.pv-entry-content>:first-child{margin-top:0}.pv-entry-content h2{font-size:clamp(1.45rem,3vw,2rem);line-height:1.2;color:var(--pv-navy);margin-top:2.1em;margin-bottom:.65em}.pv-entry-content h3{font-size:1.28rem;line-height:1.25;color:var(--pv-navy);margin-top:1.7em}.pv-entry-content p,.pv-entry-content li{max-width:76ch}.pv-entry-content table{width:100%;border-collapse:collapse;margin:24px 0}.pv-entry-content th{background:var(--pv-navy);color:#fff;text-align:left}.pv-entry-content th,.pv-entry-content td{border:1px solid var(--pv-border);padding:10px}.pv-entry-content blockquote{margin:24px 0;padding:14px 18px;border-left:4px solid var(--pv-green);background:var(--pv-soft)}.pv-widget{background:#fff;border:1px solid var(--pv-border);border-radius:16px;padding:18px;margin-bottom:18px}.pv-widget-title{font-size:1.05rem;color:var(--pv-navy);margin-top:0}.pv-ad-slot{min-height:90px;margin:24px 0;display:grid;place-items:center}.pv-sidebar .pv-ad-slot{min-height:250px}
.pv-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.pv-card{background:#fff;border:1px solid var(--pv-border);border-radius:16px;overflow:hidden;min-width:0}.pv-card-media{display:block;aspect-ratio:16/9;background:#eef2f3}.pv-card-media img{width:100%;height:100%;object-fit:cover}.pv-card-body{padding:18px}.pv-card-kicker{color:var(--pv-green);font-size:.78rem;text-transform:uppercase;font-weight:850;letter-spacing:.05em}.pv-card h3{font-size:1.15rem;line-height:1.25;margin:.35rem 0 .55rem}.pv-card h3 a{color:var(--pv-navy);text-decoration:none}.pv-card p{color:var(--pv-muted);font-size:.93rem}.pv-text-link{font-weight:800;text-decoration:none}.pv-related{border-top:1px solid var(--pv-border);padding:44px 0 64px;background:#fff}.pv-related h2{color:var(--pv-navy)}.pv-archive{padding:42px 0 64px}.pv-archive-header{max-width:850px;margin-bottom:28px}.pv-archive-header h1{font-size:clamp(2rem,4vw,3rem);line-height:1.1;color:var(--pv-navy)}.pv-pagination{margin-top:30px}.nav-links{display:flex;gap:8px;flex-wrap:wrap}.page-numbers{display:inline-block;padding:8px 12px;border:1px solid var(--pv-border);border-radius:9px;text-decoration:none;background:#fff}.page-numbers.current{background:var(--pv-green);color:#fff;border-color:var(--pv-green)}
.pv-site-footer{background:var(--pv-navy);color:#eaf0f2;padding:44px 0 18px}.pv-footer-grid{width:min(calc(100% - 32px),var(--pv-shell));margin:auto;display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:28px}.pv-footer-brand{color:#fff;font-size:1.15rem}.pv-footer-menu{list-style:none;margin:0;padding:0}.pv-footer-menu a{color:#eaf0f2;text-decoration:none}.pv-footer-bottom{width:min(calc(100% - 32px),var(--pv-shell));margin:26px auto 0;padding-top:18px;border-top:1px solid rgba(255,255,255,.15);font-size:.86rem;color:#b9c6ca}.pv-empty{width:min(calc(100% - 32px),700px);margin:70px auto;padding:38px;background:#fff;border:1px solid var(--pv-border);border-radius:20px;text-align:center}.pv-btn{display:inline-block;background:var(--pv-green);color:#fff!important;padding:11px 16px;border-radius:999px;text-decoration:none;font-weight:800}.pv-eyebrow{color:var(--pv-green);font-size:.82rem;font-weight:850;text-transform:uppercase;letter-spacing:.06em}
/* Compatibilidad con el sistema visual existente de Preventivas */
.prev-page{--prev-verde:#1e7a3a;--prev-azul:#123c4a;--prev-fondo:#f5f7f8;--prev-texto:#263238;--prev-borde:#dde5e8;color:var(--prev-texto)}.prev-hero{background:linear-gradient(135deg,var(--prev-azul),var(--prev-verde));color:#fff;border-radius:24px;padding:clamp(26px,5vw,52px);margin-bottom:34px}.prev-hero h1,.prev-hero h2,.prev-hero h3{color:#fff;margin-top:0}.prev-eyebrow{display:inline-block;color:inherit;font-weight:850;font-size:.82rem;text-transform:uppercase;letter-spacing:.06em;margin-bottom:8px}.prev-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.prev-btn{display:inline-block;background:var(--prev-verde);color:#fff!important;text-decoration:none;font-weight:800;border-radius:999px;padding:11px 16px}.prev-hero .prev-btn{background:#fff;color:var(--prev-azul)!important}.prev-btn-secundario{background:var(--prev-azul)}.prev-btn-claro{background:#fff;color:var(--prev-azul)!important;border:1px solid var(--prev-borde)}.prev-section{margin:42px 0}.prev-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.prev-grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.prev-card{border:1px solid var(--prev-borde);border-radius:18px;background:#fff;padding:20px}.prev-card-destacada{border-top:4px solid var(--prev-verde)}.prev-card h3{color:var(--prev-azul);margin-top:0}.prev-alerta{background:#fff7df;border-left:5px solid var(--pv-amber);border-radius:14px;padding:18px;margin:24px 0}.prev-final{background:var(--prev-azul);color:#fff;border-radius:24px;padding:30px;margin:42px 0}.prev-final h2{color:#fff}.pv-home-content>.pv-entry-content{width:min(calc(100% - 32px),var(--pv-shell));margin:34px auto 64px}.pv-entry-home{font-size:1rem}
/* Monetización: protegemos intención de compra/lead */
body.pv-profile-amazon .pv-sidebar .pv-ad-slot,body.pv-profile-partner .pv-sidebar .pv-ad-slot{display:block}body.pv-profile-amazon .pv-ad-slot:not(.pv-ad-slot-end):not(.pv-ad-slot-sidebar),body.pv-profile-partner .pv-ad-slot:not(.pv-ad-slot-end):not(.pv-ad-slot-sidebar),body.pv-profile-leads .pv-ad-slot:not(.pv-ad-slot-end),body.pv-profile-tool .pv-ad-slot{display:none}
@media(max-width:980px){.pv-header-inner{grid-template-columns:auto auto 1fr}.pv-menu-toggle{display:block;justify-self:end}.pv-primary-nav{display:none;grid-column:1/-1}.pv-primary-nav.is-open{display:block}.pv-menu{display:grid;grid-template-columns:1fr 1fr;padding-bottom:12px}.pv-header-search{justify-self:end}.pv-layout{grid-template-columns:minmax(0,1fr)}.pv-sidebar{position:static}.pv-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.pv-header-inner{grid-template-columns:1fr auto;gap:10px;min-height:64px}.pv-header-search{display:none}.pv-menu{grid-template-columns:1fr}.pv-layout{width:min(calc(100% - 20px),var(--pv-shell));margin-top:18px}.pv-article{padding:20px 17px;border-radius:16px}.pv-article-header h1{font-size:2rem}.pv-card-grid,.prev-grid,.prev-grid-2{grid-template-columns:1fr}.pv-footer-grid{grid-template-columns:1fr}.prev-hero{border-radius:18px;padding:24px 20px}.pv-home-content>.pv-entry-content{width:min(calc(100% - 20px),var(--pv-shell));margin-top:18px}}

/* Compatibilidad con páginas Preventivas creadas antes del Theme 1.0.
 * Algunos heroes usan un fondo claro inline; el estilo base del hero es oscuro
 * y forzaba texto blanco, reduciendo el contraste. */
.prev-hero[style*="background:#f7fafc"],
.prev-hero[style*="background: #f7fafc"],
.prev-hero[style*="background:#fbfdff"],
.prev-hero[style*="background: #fbfdff"]{color:var(--prev-texto)}
.prev-hero[style*="background:#f7fafc"] h1,
.prev-hero[style*="background:#f7fafc"] h2,
.prev-hero[style*="background:#f7fafc"] h3,
.prev-hero[style*="background: #f7fafc"] h1,
.prev-hero[style*="background: #f7fafc"] h2,
.prev-hero[style*="background: #f7fafc"] h3,
.prev-hero[style*="background:#fbfdff"] h1,
.prev-hero[style*="background:#fbfdff"] h2,
.prev-hero[style*="background:#fbfdff"] h3,
.prev-hero[style*="background: #fbfdff"] h1,
.prev-hero[style*="background: #fbfdff"] h2,
.prev-hero[style*="background: #fbfdff"] h3{color:var(--prev-azul)}
