/* BricoDato · diseño editorial unificado (piloto) · 2026-11-08
   Limitado a páginas con body.bd-editorial-unified-20261108.
   No cambia scripts, navegación, cálculos ni contenidos.
*/
body.bd-editorial-unified-20261108{
  --bd-edu-ink:#0d243b;
  --bd-edu-deep:#091627;
  --bd-edu-accent:#ffb44d;
  --bd-edu-line:#dce5ef;
  --bd-edu-surface:#fff;
  --bd-edu-blue:#245ff5;
}
body.bd-editorial-unified-20261108 main :is(.page-hero.guide-hero,.compare-hero){
  background:#091627!important;
  background-image:none!important;
  color:#f1f6ff!important;
  border:0!important;
}
body.bd-editorial-unified-20261108 main :is(.page-hero.guide-hero,.compare-hero) :is(h1,.guide-intro,.lead){
  color:#fff!important;
}
body.bd-editorial-unified-20261108 main :is(.page-hero.guide-hero,.compare-hero) h1{
  font-size:clamp(2rem,4.3vw,3.55rem)!important;
  font-weight:800!important;
  letter-spacing:-.035em;
  line-height:1.12!important;
  text-wrap:balance;
}
body.bd-editorial-unified-20261108 main :is(.page-hero.guide-hero,.compare-hero) :is(.guide-intro,.lead){
  color:#d9e5f1!important;
  max-width:75ch;
  line-height:1.65!important;
}
body.bd-editorial-unified-20261108 main :is(.page-hero.guide-hero,.compare-hero) .eyebrow{
  color:#ffbc61!important;
  letter-spacing:.06em;
}
body.bd-editorial-unified-20261108 main :is(.page-hero.guide-hero,.compare-hero) :is(.breadcrumb,.breadcrumb a){
  color:#cedceb!important;
}
body.bd-editorial-unified-20261108 main :is(.page-hero.guide-hero,.compare-hero) .guide-meta{
  border:1px solid #395772!important;
  background:#142e4a!important;
  background-image:none!important;
  color:#f3f8ff!important;
  border-radius:12px!important;
}
body.bd-editorial-unified-20261108 main .page-hero.guide-hero .guide-meta :is(small,strong){
  color:#edf5ff!important;
}
body.bd-editorial-unified-20261108 main :is(.page-hero.guide-hero,.compare-hero) .compare-meta span{
  color:#ecf3fc!important;
  background:#163350!important;
  border:1px solid #3e5c7b!important;
  border-radius:999px!important;
}
body.bd-editorial-unified-20261108 main .page-hero.guide-hero .guide-actions .btn-primary{
  background:#ffb44d!important;
  border-color:#ffb44d!important;
  color:#0b192e!important;
}
body.bd-editorial-unified-20261108 main .page-hero.guide-hero .guide-actions .btn-secondary{
  background:transparent!important;
  border:1px solid #7593b1!important;
  color:#f3f8ff!important;
}
body.bd-editorial-unified-20261108 main :is(.guide-main-card,.compare-article,.compare-table-card,.quick-verdict){
  background-color:#fff!important;
  background-image:none!important;
  border:1px solid #dce5ef!important;
  border-radius:17px!important;
  box-shadow:0 8px 28px rgba(11,41,70,.06)!important;
}
body.bd-editorial-unified-20261108 main :is(.guide-main-card,.compare-article,.compare-table-card,.quick-verdict) :is(h2,h3){
  color:#102b43;
}
/* Guías inglesas con plantilla bdg (no usan la cabecera page-hero). */
body.bd-editorial-unified-20261108 main .bdg-shell{
  max-width:1180px;
  margin-left:auto;
  margin-right:auto;
}
body.bd-editorial-unified-20261108 main .bdg-hero{
  background:#091627!important;
  background-image:none!important;
  color:#f2f7ff!important;
  border:1px solid #1e3854!important;
  border-radius:18px!important;
  padding:clamp(20px,3.6vw,44px)!important;
  margin-top:14px;
  box-shadow:0 12px 30px rgba(14,35,57,.11);
}
body.bd-editorial-unified-20261108 main .bdg-hero :is(h1,.bdg-lead){
  color:#fff!important;
}
body.bd-editorial-unified-20261108 main .bdg-hero h1{
  font-size:clamp(2rem,4.3vw,3.55rem)!important;
  font-weight:800!important;
  line-height:1.12!important;
  letter-spacing:-.035em;
  text-wrap:balance;
}
body.bd-editorial-unified-20261108 main .bdg-hero .bdg-lead{
  color:#d9e5f1!important;
  line-height:1.65!important;
}
body.bd-editorial-unified-20261108 main .bdg-hero .bdg-kicker{
  color:#ffbc61!important;
}
body.bd-editorial-unified-20261108 main .bdg-hero .bdg-meta{
  background:#152f4a!important;
  border-color:#375678!important;
  color:#f2f7ff!important;
  border-radius:12px!important;
}
body.bd-editorial-unified-20261108 main .bdg-hero .bdg-meta :is(span,strong){
  color:#f2f7ff!important;
}
body.bd-editorial-unified-20261108 main .bdg-hero .bdg-idea{
  background:#193655!important;
  border:1px solid #45637f!important;
  color:#f1f7ff!important;
  border-radius:12px!important;
}
body.bd-editorial-unified-20261108 main .bdg-hero .bdg-idea :is(span,strong){
  color:#f1f7ff!important;
}
body.bd-editorial-unified-20261108 main .bdg-article{
  border-radius:18px!important;
}
body.bd-editorial-unified-20261108 main :is(.bdg-summary,.guide-summary){
  border-left:4px solid #ffb44d!important;
}
body.bd-editorial-unified-20261108 main :is(.bdg-step,.guide-section,.compare-analysis){
  scroll-margin-top:95px;
}
body.bd-editorial-unified-20261108 main :is(.bdg-summary,.bdg-step,.guide-section,.compare-analysis) a:focus-visible{
  outline:3px solid #245ff5;
  outline-offset:2px;
}
@media(max-width:700px){
  body.bd-editorial-unified-20261108 main :is(.page-hero.guide-hero,.compare-hero) h1,
  body.bd-editorial-unified-20261108 main .bdg-hero h1{
    font-size:clamp(1.95rem,8.2vw,2.8rem)!important;
  }
  body.bd-editorial-unified-20261108 main .bdg-hero{
    padding:19px 16px!important;
    border-radius:13px!important;
  }
}

/* BricoDato · corrección contraste introducciones sobre hero oscuro · 2026-11-08 */
body.bd-editorial-unified-20261108 main .page-hero.guide-hero .guide-intro,
body.bd-editorial-unified-20261108 main .compare-hero .lead{
 background:#16314d!important;
 background-image:none!important;
 color:#e9f3ff!important;
 border:1px solid #426280!important;
 border-radius:12px!important;
}
body.bd-editorial-unified-20261108 main .page-hero.guide-hero .guide-intro :is(p,span,strong,small,a),
body.bd-editorial-unified-20261108 main .compare-hero .lead :is(p,span,strong,small,a){color:inherit!important;}