:root{--er-navy:#062640;--er-navy-2:#082f4d;--er-green:#22e58b;--er-blue:#0b6fa4;--er-ink:#0c2033;--er-text:#587083;--er-border:#dce7ee;--er-bg:#f4f9fc;--er-white:#fff;--er-shadow:0 12px 34px rgba(6,38,64,.08)}

/* Landing full-bleed: rompe cualquier caja de Astra/Gutenberg y elimina la barra/espacio superior de WP. */
html:has(body.er-landing-page){margin-top:0!important}
body.er-landing-page{margin:0!important;padding:0!important;background:#fff!important}
body.er-landing-page #wpadminbar{display:none!important}
.er-landing-page #masthead,.er-landing-page .site-header,.er-landing-page .ast-primary-header-bar,.er-landing-page .site-header-primary-section-left,.er-landing-page .ast-title-bar-wrap,.er-landing-page .site-footer,.er-landing-page #colophon,.er-landing-page .entry-header{display:none!important}
.er-landing-page #page,.er-landing-page #content,.er-landing-page .site-content,.er-landing-page .ast-container,.er-landing-page #primary,.er-landing-page .site-main,.er-landing-page article,.er-landing-page .entry-content,.er-landing-page .wp-block-post-content,.er-landing-page .wp-block-shortcode{max-width:none!important;width:100%!important;margin:0!important;padding:0!important}
.er-landing-page .entry-content>*{max-width:none!important;margin-block-start:0!important;margin-block-end:0!important}
.er-home{position:relative;width:100vw;max-width:100vw;margin-left:calc(50% - 50vw)!important;margin-right:calc(50% - 50vw)!important;background:#fff;color:var(--er-ink);overflow:hidden;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.er-home *{box-sizing:border-box}.er-home a{text-decoration:none}.er-shell{width:min(1280px,calc(100% - 64px));margin-inline:auto}

/* NAV - fondo 100% viewport, contenido centrado */
.er-nav-wrap{position:relative;z-index:100;width:100%;background:#031f35;border-bottom:1px solid rgba(255,255,255,.07);margin:0!important}
.er-nav{height:78px;display:flex;align-items:center;gap:28px}.er-brand-link{display:flex;align-items:center;flex:0 0 auto}.er-brand{display:inline-flex;align-items:center;justify-content:center}.er-brand-capsule{gap:10px;padding:7px 15px 7px 10px;border-radius:999px;background:linear-gradient(180deg,rgba(8,54,86,.88),rgba(4,37,61,.92));border:1px solid rgba(126,196,235,.38);box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 8px 22px rgba(0,0,0,.12)}.er-brand-symbol-visible{display:block;width:43px;height:43px;object-fit:contain}.er-wordmark{display:inline-flex;align-items:baseline;font-size:24px;line-height:1;font-weight:850;letter-spacing:-.045em}.er-wordmark-electro{color:#fff}.er-wordmark-ruta{color:var(--er-green)}.er-menu{margin-left:auto;display:flex;align-items:center;gap:34px}.er-menu a{position:relative;color:#e8f3f7;font-size:14px;font-weight:750;line-height:1;padding:30px 0}.er-menu a:after{content:"";position:absolute;left:0;right:100%;bottom:20px;height:2px;background:var(--er-green);transition:.2s}.er-menu a:hover{color:#fff}.er-menu a:hover:after{right:0}.er-nav-cta{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:0 20px;border-radius:12px;background:var(--er-green);color:#04263a!important;font-size:14px;font-weight:850;white-space:nowrap;box-shadow:0 10px 26px rgba(34,229,139,.15)}.er-menu-toggle{display:none;margin-left:auto;width:44px;height:42px;border:1px solid rgba(255,255,255,.2);border-radius:10px;background:transparent;padding:10px;cursor:pointer}.er-menu-toggle span{display:block;height:2px;background:#fff;margin:4px 0;border-radius:10px}

/* HERO */
.er-hero{position:relative;width:100%;min-height:535px;background:linear-gradient(90deg,#062640 0%,#062640 44%,#092c47 62%,#0c3552 100%);color:#fff;overflow:hidden}.er-hero:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 79% 35%,rgba(30,113,157,.28),transparent 34%),linear-gradient(180deg,rgba(2,24,42,.04),rgba(3,31,53,.2));pointer-events:none}.er-hero-grid{position:relative;z-index:1;display:grid;grid-template-columns:52% 48%;min-height:535px;align-items:stretch}.er-hero-copy{display:flex;flex-direction:column;justify-content:center;padding:62px 42px 54px 0}.er-eyebrow{margin:0 0 22px;color:var(--er-green);font-size:12px;font-weight:900;letter-spacing:.15em;text-transform:uppercase}.er-hero h1{margin:0 0 22px;color:#fff;font-size:clamp(52px,4.4vw,76px);line-height:.98;letter-spacing:-.055em;font-weight:900}.er-hero h1 span{color:var(--er-green)}.er-hero-sub{max-width:620px;margin:0 0 30px;color:#d9e7ed;font-size:19px;line-height:1.6}.er-actions{display:flex;flex-wrap:wrap;gap:13px;margin-bottom:34px}.er-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:50px;padding:0 20px;border-radius:11px;font-weight:850;font-size:14px;transition:transform .18s ease,box-shadow .18s ease,background .18s ease}.er-btn:hover{transform:translateY(-2px)}.er-btn-primary{background:var(--er-green);color:#04263a!important;box-shadow:0 10px 28px rgba(34,229,139,.16)}.er-btn-secondary{border:1px solid rgba(255,255,255,.65);background:rgba(2,24,42,.28);color:#fff!important}.er-loc-dot{color:var(--er-green)}.er-mini-features{display:flex;align-items:flex-start;gap:19px 24px;flex-wrap:wrap;color:#dcebf0;font-size:11px;line-height:1.2}.er-mini-features span{display:flex;align-items:center;gap:7px}.er-mini-features b{color:var(--er-green);font-size:20px;font-weight:900}.er-hero-media{position:relative;min-width:0;overflow:hidden;margin-right:calc((100vw - min(1280px,calc(100vw - 64px)))/-2)}.er-hero-media:before{content:"";position:absolute;z-index:2;inset:0;background:linear-gradient(90deg,#062640 0%,rgba(6,38,64,.80) 7%,rgba(6,38,64,.20) 25%,transparent 48%),linear-gradient(180deg,rgba(3,31,53,.03),rgba(3,31,53,.17));pointer-events:none}.er-hero-media img{display:block;width:100%;height:100%;min-height:535px;object-fit:cover;object-position:center center;transform:scale(1.035)}

/* COMMON SECTION HEADINGS */
.er-section,.er-strip{width:100%}.er-strip{padding:24px 0 30px;background:linear-gradient(180deg,#f4f9fc,#f9fcfe);border-bottom:1px solid #e5eef3}.er-section{padding:48px 0}.er-inline-heading{display:flex;align-items:center;gap:12px;margin:0 0 17px}.er-inline-heading h2{margin:0;color:var(--er-ink);font-size:25px;letter-spacing:-.025em}.er-flame{display:grid;place-items:center;width:28px;height:28px;color:#ff6b2e;font-size:22px}.er-section-title-row{display:flex;align-items:flex-end;justify-content:space-between;gap:28px;margin-bottom:20px}.er-section-title-row>div{display:flex;align-items:center;gap:13px}.er-section-kicker{margin:0;color:var(--er-green);font-size:30px;line-height:1;font-weight:900}.er-section-title-row h2{margin:0;color:var(--er-ink);font-size:27px;letter-spacing:-.035em;line-height:1.1}.er-section-title-row p{margin:5px 0 0;color:var(--er-blue);font-size:13px}.er-section-title-row>a{color:#0069b4;font-weight:800;font-size:13px;white-space:nowrap}.er-no-link{margin-bottom:22px}

/* CARDS */
.er-content-grid,.er-route-grid{display:grid;gap:15px}.er-grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}.er-content-card,.er-route-card,.er-car-card{position:relative;display:block;min-width:0;border:1px solid #dfeaf0;border-radius:12px;background:#fff;color:var(--er-ink);overflow:hidden;box-shadow:0 6px 18px rgba(7,43,63,.07);transition:transform .18s ease,box-shadow .18s ease}.er-content-card:hover,.er-route-card:hover,.er-car-card:hover{transform:translateY(-3px);box-shadow:0 14px 30px rgba(7,43,63,.11)}.er-card-image,.er-route-img,.er-car-image{display:block;width:100%;overflow:hidden;background:#edf4f8}.er-card-image{height:96px}.er-card-image img,.er-route-img img,.er-car-image img{display:block;width:100%;height:100%;object-fit:cover}.er-card-body{position:relative;display:flex;flex-direction:column;min-height:103px;padding:12px 42px 13px 13px}.er-card-body small{color:#0b5b99;font-size:10px;font-weight:900;text-transform:uppercase}.er-card-body strong{margin-top:4px;font-size:16px;line-height:1.18}.er-card-body em{margin-top:4px;color:#5c7383;font-size:11px;font-style:normal}.er-card-arrow,.er-round-arrow{position:absolute;right:11px;bottom:13px;display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#e8f2f7;color:#20597a;font-weight:900}

/* ROUTES */
.er-route-img{height:102px}.er-route-body{position:relative;display:block;min-height:67px;padding:11px 44px 12px 12px}.er-route-body strong{display:block;font-size:15px}.er-route-body small{display:block;margin-top:8px;color:#476a80;font-size:10px}.er-route-body .er-round-arrow{bottom:18px}

/* BEFORE TRIP */
.er-before-trip{padding:28px 0 30px;background:linear-gradient(90deg,#f4fbfe,#e8f7f5)}
.er-before-trip-head{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:16px}
.er-before-trip-head>div{display:flex;align-items:flex-start;gap:13px}
.er-before-trip-head .er-section-kicker{margin-top:2px}
.er-before-trip-head h2{margin:0;color:var(--er-ink);font-size:28px;line-height:1.05;letter-spacing:-.03em}
.er-before-trip-head p{margin:5px 0 0;color:#587083;font-size:13px;line-height:1.45}
.er-before-trip-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.er-before-trip-card{display:flex;align-items:flex-start;gap:13px;min-width:0;padding:17px 18px;border:1px solid #d8e8ef;border-radius:15px;background:rgba(255,255,255,.92);box-shadow:0 7px 18px rgba(6,38,64,.045)}
.er-before-trip-icon{flex:0 0 38px;width:38px;height:38px;display:grid;place-items:center;border-radius:11px;background:#e8f8f2;color:#08764d;font-size:20px;font-weight:900}
.er-before-trip-card h3{margin:1px 0 5px;color:var(--er-ink);font-size:15px;line-height:1.15}
.er-before-trip-card p{margin:0;color:#587083;font-size:11.5px;line-height:1.48}
.er-before-trip-action{display:flex;justify-content:center;margin-top:17px}
.er-before-trip-action .er-btn{min-height:44px;padding-inline:24px}

/* CARS */
.er-car-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}.er-car-image{height:90px}.er-car-image img{object-fit:cover}.er-car-body{position:relative;display:block;min-height:60px;padding:9px 35px 10px 10px}.er-car-body strong{display:block;font-size:13px}.er-car-body small{display:block;margin-top:5px;color:#0b5b99;font-size:10px}.er-car-body .er-round-arrow{width:24px;height:24px;right:8px;bottom:10px;font-size:12px}

/* GUIDES + FINAL */
.er-guides{background:#f8fbfd}.er-guides .er-card-image{height:90px}.er-guides .er-card-body{min-height:93px}.er-final{padding:34px 0;background:linear-gradient(90deg,#04223a,#06355a 58%,#08627c);color:#fff}.er-final-inner{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:28px}.er-final-brand .er-brand-capsule{transform:scale(.92);transform-origin:left center}.er-final-copy h2{margin:0;color:#fff;font-size:25px;letter-spacing:-.025em}.er-final-copy p{margin:7px 0 0;color:#bfd1da;font-size:13px}.er-final-btn{min-width:220px}

@media(max-width:1100px){.er-shell{width:min(100% - 40px,1100px)}.er-menu{gap:22px}.er-hero-grid{grid-template-columns:55% 45%}.er-hero h1{font-size:58px}.er-mini-features{gap:13px}.er-car-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:850px){.er-nav{height:70px}.er-brand-capsule{padding:6px 11px 6px 8px}.er-brand-symbol-visible{width:38px;height:38px}.er-wordmark{font-size:21px}.er-menu-toggle{display:block}.er-menu{position:absolute;left:20px;right:20px;top:70px;display:none;flex-direction:column;align-items:stretch;gap:0;padding:8px;border-radius:12px;background:#052b46;box-shadow:0 14px 30px rgba(0,0,0,.25)}.er-menu.is-open{display:flex}.er-menu a{padding:14px 12px}.er-menu a:after{display:none}.er-nav-cta{margin-left:8px}.er-hero-grid{grid-template-columns:1fr;min-height:auto}.er-hero-copy{padding:54px 0 34px}.er-hero-media{margin:0 -20px;min-height:360px}.er-hero-media img{min-height:360px}.er-hero-media:before{background:linear-gradient(180deg,#062640 0%,rgba(6,38,64,.45) 14%,transparent 34%)}.er-grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}.er-before-trip-grid{grid-template-columns:1fr 1fr}.er-before-trip-card:last-child{grid-column:1/-1}.er-final-inner{grid-template-columns:1fr;justify-items:start}.er-final-brand{display:none}.er-final-btn{min-width:0}}
@media(max-width:560px){.er-shell{width:min(100% - 28px,560px)}.er-brand-capsule{padding:5px 8px;border-radius:999px}.er-brand-symbol-visible{width:34px;height:34px}.er-wordmark{font-size:19px}.er-nav-cta{display:none}.er-hero-copy{padding-top:46px}.er-hero h1{font-size:46px}.er-hero-sub{font-size:16px}.er-actions{flex-direction:column}.er-btn{width:100%}.er-mini-features{display:grid;grid-template-columns:1fr 1fr}.er-hero-media{min-height:300px}.er-hero-media img{min-height:300px}.er-strip{padding-top:22px}.er-grid-4{grid-template-columns:1fr}.er-section{padding:38px 0}.er-section-title-row{align-items:flex-start;flex-direction:column}.er-section-title-row>a{align-self:flex-end}.er-car-grid{grid-template-columns:repeat(2,1fr)}.er-before-trip{padding:26px 0}.er-before-trip-head h2{font-size:25px}.er-before-trip-grid{grid-template-columns:1fr}.er-before-trip-card:last-child{grid-column:auto}.er-before-trip-action .er-btn{width:100%}.er-final-copy h2{font-size:23px}}


/* FOOTER LEGAL - replica enlaces de la app sin tocar el planificador */
.er-footer{background:#031c30;color:#c8d9e2;border-top:1px solid rgba(255,255,255,.08)}
.er-footer-inner{display:grid;grid-template-columns:minmax(260px,1fr) minmax(0,2fr);gap:48px;align-items:center;padding-top:32px;padding-bottom:25px}
.er-footer-brand .er-brand-capsule{transform:scale(.86);transform-origin:left center}
.er-footer-brand p{margin:10px 0 0;max-width:410px;color:#9fb6c4;font-size:12px;line-height:1.55}
.er-footer-legal{display:flex;justify-content:flex-end;align-items:center;gap:11px 20px;flex-wrap:wrap}
.er-footer-legal a{color:#dceaf0;font-size:12px;font-weight:700}
.er-footer-legal a:hover{color:var(--er-green)}
.er-footer-bottom{display:flex;justify-content:space-between;gap:24px;padding-top:17px;padding-bottom:22px;border-top:1px solid rgba(255,255,255,.08);color:#7895a6;font-size:10px;line-height:1.45}
@media(max-width:850px){.er-footer-inner{grid-template-columns:1fr;gap:20px}.er-footer-legal{justify-content:flex-start}.er-footer-bottom{flex-direction:column;gap:7px}.er-footer-brand .er-brand-capsule{transform:none}}
@media(max-width:560px){.er-footer-legal{display:grid;grid-template-columns:1fr 1fr;gap:11px 18px}.er-footer-brand p{font-size:11px}}

/* FOOTER v0.6 — replica la estructura visual del footer original de ElectroRuta */
.er-footer-original{background:#061b30;color:#c7d6df;border-top:1px solid rgba(255,255,255,.48)}
.er-footer-grid{display:grid;grid-template-columns:1.35fr .85fr .85fr 1fr;gap:72px;padding-top:42px;padding-bottom:36px;align-items:start}
.er-footer-intro{min-width:0}.er-footer-logo-card{display:inline-flex;align-items:center;justify-content:center;width:195px;height:64px;padding:10px 13px;border-radius:11px;background:#f7f9fb}.er-footer-logo-card img{display:block;width:100%;height:100%;object-fit:contain}.er-footer-intro p{max-width:315px;margin:18px 0 0;color:#aec1cc;font-size:14px;line-height:1.65}
.er-footer-col{display:flex;flex-direction:column;align-items:flex-start;gap:15px}.er-footer-col h3{margin:1px 0 7px;color:#fff;font-size:14px;font-weight:800}.er-footer-col a{color:#c8d7df;font-size:13px;font-weight:500;line-height:1.25}.er-footer-col a:hover{color:var(--er-green)}
.er-footer-bottom-original{display:flex;align-items:center;justify-content:space-between;gap:24px;padding-top:22px;padding-bottom:24px;border-top:1px solid rgba(255,255,255,.12);color:#93a9b7;font-size:11px}.er-footer-bottom-original nav{display:flex;align-items:center;gap:24px}.er-footer-bottom-original a{color:#d0dde4;font-size:11px}.er-footer-bottom-original a:hover{color:var(--er-green)}
@media(max-width:950px){.er-footer-grid{grid-template-columns:1.2fr 1fr 1fr;gap:38px 48px}.er-footer-intro{grid-column:1/-1}.er-footer-intro p{max-width:500px}}
@media(max-width:650px){.er-footer-grid{grid-template-columns:1fr 1fr;gap:34px 26px;padding-top:34px}.er-footer-intro{grid-column:1/-1}.er-footer-col:last-child{grid-column:1/-1}.er-footer-bottom-original{align-items:flex-start;flex-direction:column;gap:13px}.er-footer-bottom-original nav{flex-wrap:wrap;gap:16px 22px}}
@media(max-width:420px){.er-footer-grid{grid-template-columns:1fr}.er-footer-col:last-child{grid-column:auto}.er-footer-logo-card{width:180px;height:60px}}

/* FOOTER v0.7 — tipografía y escala de la app ElectroRuta original */
.er-footer-original,
.er-footer-original button,
.er-footer-original input,
.er-footer-original select,
.er-footer-original textarea {
    font-family:"Inter",ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
.er-footer-original .er-footer-intro p {
    font-family:"Inter",ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
    font-size:16px;
    line-height:1.55;
    font-weight:400;
    letter-spacing:0;
}
.er-footer-original .er-footer-col h3 {
    font-family:"Inter",ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
    font-size:14px;
    line-height:1.35;
    font-weight:600;
    letter-spacing:0;
}
.er-footer-original .er-footer-col a {
    font-family:"Inter",ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
    font-size:14px;
    line-height:1.35;
    font-weight:400;
    letter-spacing:0;
}
.er-footer-original .er-footer-bottom-original,
.er-footer-original .er-footer-bottom-original a {
    font-family:"Inter",ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
    font-size:13px;
    line-height:1.4;
    font-weight:400;
    letter-spacing:0;
}
@media(max-width:650px){
    .er-footer-original .er-footer-intro p{font-size:15px}
    .er-footer-original .er-footer-col a{font-size:14px}
}


/* ==========================================================
   NAV v0.9 — espejo visual de la navegación original
   ElectroRuta + nueva entrada editorial «Actualidad»
========================================================== */
.er-nav-original{
    background:#061b30;
    border-bottom:1px solid rgba(255,255,255,.12);
    font-family:"Inter",ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
.er-nav-original .er-nav{
    min-height:78px;
    height:auto;
    gap:28px;
    padding-top:9px;
    padding-bottom:9px;
}
.er-original-brand-link{
    display:flex;
    align-items:center;
    flex:0 0 auto;
    text-decoration:none!important;
}
.er-original-logo-card{
    display:flex;
    align-items:center;
    justify-content:center;
    width:203px;
    height:57px;
    padding:7px 10px;
    border-radius:10px;
    background:#f7f9fb;
    box-shadow:0 1px 0 rgba(255,255,255,.22),0 8px 22px rgba(0,0,0,.10);
}
.er-original-logo-card img{
    display:block;
    width:100%;
    height:100%;
    object-fit:contain;
}
.er-menu-original{
    margin-left:auto;
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:8px;
}
.er-menu-original .er-nav-link,
.er-menu-original .er-nav-dropdown-toggle{
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:42px;
    padding:0 13px;
    border:0;
    border-radius:9px;
    background:transparent;
    color:#d6e3ea!important;
    font:600 14px/1 "Inter",ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
    text-decoration:none!important;
    white-space:nowrap;
    cursor:pointer;
    transition:background .18s ease,color .18s ease;
}
.er-menu-original .er-nav-link:hover,
.er-menu-original .er-nav-dropdown-toggle:hover,
.er-menu-original .er-nav-dropdown-toggle[aria-expanded="true"]{
    color:#fff!important;
    background:rgba(255,255,255,.07);
}
.er-nav-register{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:42px;
    padding:0 17px;
    border:1px solid rgba(34,229,139,.55);
    border-radius:9px;
    color:#05253b!important;
    background:var(--er-green);
    font:700 14px/1 "Inter",ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
    text-decoration:none!important;
    white-space:nowrap;
}
.er-nav-register:hover{filter:brightness(1.04);color:#05253b!important}
.er-nav-dropdown{position:relative;display:flex;align-items:center}
.er-nav-dropdown-toggle span{font-size:13px;margin-left:6px;transition:transform .18s ease}
.er-nav-dropdown-toggle[aria-expanded="true"] span{transform:rotate(180deg)}
.er-nav-dropdown-menu{
    position:absolute;
    top:calc(100% + 9px);
    left:50%;
    transform:translateX(-50%) translateY(-5px);
    width:232px;
    padding:8px;
    border:1px solid rgba(255,255,255,.10);
    border-radius:12px;
    background:#08263f;
    box-shadow:0 18px 44px rgba(0,0,0,.30);
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transition:.16s ease;
    z-index:120;
}
.er-nav-dropdown.is-open .er-nav-dropdown-menu,
.er-nav-dropdown:focus-within .er-nav-dropdown-menu{
    opacity:1;
    visibility:visible;
    pointer-events:auto;
    transform:translateX(-50%) translateY(0);
}
.er-nav-dropdown-menu a{
    display:block;
    padding:11px 12px!important;
    border-radius:8px;
    color:#d7e5ec!important;
    font:500 13px/1.3 "Inter",ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
    text-decoration:none!important;
}
.er-nav-dropdown-menu a:after{display:none!important}
.er-nav-dropdown-menu a:hover{background:rgba(34,229,139,.10);color:#fff!important}

/* La antigua CTA propia de la landing deja de intervenir en la barra espejo. */
.er-nav-original .er-nav-cta{display:none!important}

@media (min-width:851px){
    .er-nav-dropdown:hover .er-nav-dropdown-menu{
        opacity:1;
        visibility:visible;
        pointer-events:auto;
        transform:translateX(-50%) translateY(0);
    }
}

@media (max-width:1000px){
    .er-menu-original{gap:3px}
    .er-menu-original .er-nav-link,
    .er-menu-original .er-nav-dropdown-toggle{padding-left:9px;padding-right:9px;font-size:13px}
    .er-nav-register{padding-left:13px;padding-right:13px;font-size:13px}
    .er-original-logo-card{width:187px;height:53px}
}

@media (max-width:850px){
    .er-nav-original .er-nav{min-height:70px;padding-top:7px;padding-bottom:7px}
    .er-original-logo-card{width:176px;height:50px;padding:6px 9px}
    .er-nav-original .er-menu-toggle{display:block;margin-left:auto}
    .er-menu-original{
        position:absolute;
        left:20px;
        right:20px;
        top:70px;
        display:none;
        flex-direction:column;
        align-items:stretch;
        gap:2px;
        padding:9px;
        border:1px solid rgba(255,255,255,.10);
        border-radius:13px;
        background:#061f35;
        box-shadow:0 18px 42px rgba(0,0,0,.28);
    }
    .er-menu-original.is-open{display:flex}
    .er-menu-original .er-nav-link,
    .er-menu-original .er-nav-dropdown-toggle,
    .er-nav-register{
        width:100%;
        min-height:48px;
        justify-content:flex-start;
        padding:0 14px;
        font-size:14px;
        border-radius:9px;
    }
    .er-nav-register{justify-content:center;margin-top:3px}
    .er-nav-dropdown{display:block}
    .er-nav-dropdown-toggle{display:flex!important}
    .er-nav-dropdown-menu{
        position:static;
        width:auto;
        margin:0 4px 5px 18px;
        padding:4px;
        transform:none!important;
        box-shadow:none;
        border-radius:9px;
        background:rgba(0,0,0,.10);
        display:none;
        opacity:1;
        visibility:visible;
        pointer-events:auto;
    }
    .er-nav-dropdown.is-open .er-nav-dropdown-menu{display:block}
    .er-nav-dropdown-menu a{padding:10px 11px!important}
}

@media (max-width:460px){
    .er-original-logo-card{width:160px;height:47px}
    .er-menu-original{left:14px;right:14px}
}

/* ==========================================================
   NAV v1.0 — réplica medida de la cabecera original ElectroRuta
   Referencia de escritorio: 1876 × 73 px.
========================================================== */
.er-nav-original{
    position:relative;
    z-index:1000;
    width:100%;
    height:73px;
    margin:0!important;
    background:#fff!important;
    border-top:1px solid #636363;
    border-bottom:0!important;
    color:#0b1f3a;
    font-family:"Inter",ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
    overflow:visible;
}
.er-nav-original .er-nav{
    width:min(1320px,calc(100% - 40px));
    height:72px!important;
    min-height:72px!important;
    margin:0 auto;
    padding:0!important;
    display:flex;
    align-items:center;
    gap:0!important;
    position:relative;
}
.er-original-brand-link{
    display:flex!important;
    align-items:center;
    justify-content:flex-start;
    flex:0 0 182px;
    width:182px;
    height:38px;
    margin:0!important;
    padding:0!important;
    border:0!important;
    background:transparent!important;
    box-shadow:none!important;
    text-decoration:none!important;
}
.er-original-logo{
    display:block;
    width:182px;
    height:auto;
    max-height:38px;
    object-fit:contain;
    object-position:left center;
}
.er-original-logo-card{display:none!important}

.er-menu-original{
    margin-left:95px!important;
    display:flex!important;
    align-items:center;
    justify-content:flex-start;
    gap:31px!important;
    flex:0 1 auto;
    min-width:0;
}
.er-menu-original .er-nav-link,
.er-menu-original .er-nav-dropdown-toggle{
    position:relative;
    display:inline-flex!important;
    align-items:center;
    justify-content:center;
    min-height:20px!important;
    width:auto!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    color:#0b1f3a!important;
    font-family:"Inter",ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
    font-size:14px!important;
    font-weight:600!important;
    line-height:20px!important;
    letter-spacing:0!important;
    text-decoration:none!important;
    white-space:nowrap;
    cursor:pointer;
    box-shadow:none!important;
}
.er-menu-original .er-nav-link:hover,
.er-menu-original .er-nav-dropdown-toggle:hover,
.er-menu-original .er-nav-dropdown-toggle[aria-expanded="true"]{
    color:#027a48!important;
    background:transparent!important;
}
.er-menu-original .er-nav-link:after{display:none!important}
.er-menu-original .er-nav-link.is-current{color:#027a48!important}
.er-menu-original .er-nav-link.is-current:after{
    content:""!important;
    display:block!important;
    position:absolute;
    left:0;
    right:0;
    bottom:-13px;
    height:3px;
    border-radius:0;
    background:#078a52;
}

.er-nav-dropdown{position:relative;display:flex;align-items:center;flex:0 0 auto}
.er-nav-dropdown-toggle span{margin-left:5px;font-size:11px;line-height:1;transition:transform .16s ease}
.er-nav-dropdown-toggle[aria-expanded="true"] span{transform:rotate(180deg)}
.er-nav-dropdown-menu{
    position:absolute;
    top:calc(100% + 20px);
    right:0;
    left:auto!important;
    transform:translateY(-4px)!important;
    width:224px;
    padding:8px;
    border:1px solid #d9e5df;
    border-radius:11px;
    background:#fff;
    box-shadow:0 18px 44px rgba(11,31,58,.16);
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transition:.15s ease;
    z-index:1200;
}
.er-nav-dropdown.is-open .er-nav-dropdown-menu,
.er-nav-dropdown:focus-within .er-nav-dropdown-menu{
    opacity:1;
    visibility:visible;
    pointer-events:auto;
    transform:translateY(0)!important;
}
.er-nav-dropdown-menu a{
    display:block;
    padding:10px 11px!important;
    border-radius:7px;
    color:#0b1f3a!important;
    background:transparent!important;
    font:500 13px/1.35 "Inter",ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
    text-decoration:none!important;
}
.er-nav-dropdown-menu a:hover{background:#f1f8f4!important;color:#027a48!important}
.er-nav-dropdown-menu a:after{display:none!important}

.er-nav-actions{
    margin-left:auto;
    display:flex;
    align-items:center;
    gap:10px;
    flex:0 0 auto;
}
.er-login-btn,
.er-plan-btn{
    display:inline-flex!important;
    align-items:center;
    justify-content:center;
    height:46px;
    min-height:46px!important;
    padding:0!important;
    border-radius:12px;
    font-family:"Inter",ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
    font-size:14px!important;
    font-weight:700!important;
    line-height:1!important;
    letter-spacing:0!important;
    white-space:nowrap;
    text-decoration:none!important;
}
.er-login-btn{
    width:146px;
    color:#0b1f3a!important;
    background:#fff!important;
    border:1px solid #cbdcd3!important;
    box-shadow:none!important;
}
.er-login-btn:hover{border-color:#8db8a2!important;color:#027a48!important}
.er-plan-btn{
    width:174px;
    gap:8px;
    color:#fff!important;
    background:#027a48!important;
    border:1px solid #027a48!important;
    box-shadow:0 8px 18px rgba(2,122,72,.20)!important;
}
.er-plan-btn:hover{background:#056b43!important;border-color:#056b43!important;color:#fff!important}

.er-nav-original .er-menu-toggle{
    display:none;
    width:44px;
    height:42px;
    margin:0 0 0 auto;
    padding:10px;
    border:1px solid #d5e0e6;
    border-radius:10px;
    background:#fff;
}
.er-nav-original .er-menu-toggle span{height:2px;background:#0b1f3a;margin:4px 0;border-radius:10px}

/* Footer: mismo ancho de composición que la web original. */
.er-footer-original>.er-shell,
.er-footer-original .er-footer-grid,
.er-footer-original .er-footer-bottom-original,
.er-final>.er-shell{
    width:min(1320px,calc(100% - 40px));
}

@media (min-width:851px){
    .er-nav-dropdown:hover .er-nav-dropdown-menu{
        opacity:1;
        visibility:visible;
        pointer-events:auto;
        transform:translateY(0)!important;
    }
}

@media (max-width:1280px){
    .er-menu-original{margin-left:70px!important;gap:22px!important}
    .er-menu-original .er-nav-link,.er-menu-original .er-nav-dropdown-toggle{font-size:13px!important}
    .er-login-btn{width:132px}
    .er-plan-btn{width:160px}
}
@media (max-width:1080px){
    .er-menu-original{margin-left:35px!important;gap:15px!important}
    .er-menu-original .er-nav-link,.er-menu-original .er-nav-dropdown-toggle{font-size:12px!important}
    .er-original-brand-link{flex-basis:170px;width:170px}.er-original-logo{width:170px}
    .er-login-btn{width:122px;font-size:13px!important}.er-plan-btn{width:148px;font-size:13px!important}
}
@media (max-width:900px){
    .er-nav-original{height:70px}
    .er-nav-original .er-nav{height:69px!important;min-height:69px!important;width:min(100% - 28px,1320px)}
    .er-original-brand-link{flex-basis:176px;width:176px;height:auto}.er-original-logo{width:176px;max-height:37px}
    .er-nav-original .er-menu-toggle{display:block!important}
    .er-nav-actions{margin-left:12px}
    .er-login-btn{display:none!important}
    .er-plan-btn{width:auto;padding:0 14px!important;height:42px;min-height:42px!important}
    .er-menu-original{
        position:absolute!important;
        left:0!important;
        right:0!important;
        top:69px!important;
        margin:0!important;
        display:none!important;
        flex-direction:column;
        align-items:stretch!important;
        gap:0!important;
        padding:8px!important;
        border:1px solid #d9e5df;
        border-radius:12px;
        background:#fff!important;
        box-shadow:0 18px 42px rgba(11,31,58,.16);
    }
    .er-menu-original.is-open{display:flex!important}
    .er-menu-original .er-nav-link,.er-menu-original .er-nav-dropdown-toggle{
        width:100%!important;
        min-height:46px!important;
        justify-content:flex-start!important;
        padding:0 13px!important;
        border-radius:8px!important;
        font-size:14px!important;
    }
    .er-menu-original .er-nav-link.is-current:after{display:none!important}
    .er-nav-dropdown{display:block!important}
    .er-nav-dropdown-menu{
        position:static!important;
        width:auto!important;
        margin:0 5px 6px 16px!important;
        padding:4px!important;
        border:0!important;
        background:#f4f8f6!important;
        box-shadow:none!important;
        display:none;
        opacity:1!important;
        visibility:visible!important;
        pointer-events:auto!important;
        transform:none!important;
    }
    .er-nav-dropdown.is-open .er-nav-dropdown-menu{display:block!important}
}
@media (max-width:560px){
    .er-nav-actions .er-plan-btn{display:none!important}
    .er-original-brand-link{flex-basis:164px;width:164px}.er-original-logo{width:164px}
}


/* ==========================================================
   v1.1 — Cabecera y footer como plantilla global de WordPress
   Se mantiene la réplica visual aprobada y se oculta el chrome
   de Astra para que todas las páginas parezcan ElectroRuta.
========================================================== */
body.er-global-shell{margin:0;background:#fff}
body.er-global-shell #masthead,
body.er-global-shell header.site-header,
body.er-global-shell .ast-mobile-header-wrap,
body.er-global-shell .ast-primary-header-bar,
body.er-global-shell #colophon,
body.er-global-shell footer.site-footer{display:none!important}
body.er-global-shell .er-global-header,
body.er-global-shell .er-global-footer{width:100%;max-width:none;margin:0}
body.er-global-shell .er-global-header * ,
body.er-global-shell .er-global-footer *{box-sizing:border-box}
body.er-global-shell .er-global-header a,
body.er-global-shell .er-global-footer a{text-decoration:none}

/* El contenido normal de WordPress queda entre ambas piezas globales. */
body.er-global-shell:not(.er-landing-page) #content,
body.er-global-shell:not(.er-landing-page) .site-content{margin-top:0!important}
body.er-global-shell:not(.er-landing-page) .site-main{min-height:42vh}

/* Estado activo de Actualidad con el mismo subrayado de Inicio. */
.er-menu-original .er-nav-dropdown-toggle.is-current{color:#027a48!important}
.er-menu-original .er-nav-dropdown-toggle.is-current:after{
    content:""!important;
    display:block!important;
    position:absolute;
    left:0;
    right:0;
    bottom:-13px;
    height:3px;
    background:#078a52;
}
@media(max-width:900px){
    .er-menu-original .er-nav-dropdown-toggle.is-current:after{display:none!important}
}

/* ==========================================================
   v1.1.2 — navegación editorial robusta
   Actualidad enlaza a la portada editorial; la flecha abre secciones.
========================================================== */
.er-nav-dropdown-head{display:flex;align-items:center;height:100%}
.er-nav-dropdown-home{
    position:relative;display:inline-flex!important;align-items:center;height:100%;
    padding:0 4px!important;color:#0b1f3a!important;text-decoration:none!important;
    font-family:"Inter",ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
    font-size:14px!important;font-weight:600!important;line-height:1!important;white-space:nowrap;
}
.er-nav-dropdown-home:hover,.er-nav-dropdown-home.is-current{color:#027a48!important}
.er-nav-dropdown-home.is-current:after{
    content:""!important;display:block!important;position:absolute;left:0;right:0;bottom:-13px;
    height:3px;background:#078a52;
}
.er-nav-dropdown-toggle{
    width:26px!important;min-width:26px!important;height:34px!important;padding:0!important;margin:0 0 0 1px!important;
    border:0!important;background:transparent!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;
    color:#0b1f3a!important;box-shadow:none!important;cursor:pointer;
}
.er-nav-dropdown-toggle:hover{color:#027a48!important}
.er-nav-dropdown-toggle span{margin:0!important}

.er-editorial-breadcrumbs{width:100%;background:#f7faf9;border-bottom:1px solid #e4ece8}
.er-editorial-breadcrumbs__inner{
    width:min(1180px,calc(100% - 40px));min-height:42px;margin:0 auto;display:flex;align-items:center;gap:9px;
    font:500 12px/1.3 "Inter",ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
    color:#6b7e89;white-space:nowrap;overflow:hidden;
}
.er-editorial-breadcrumbs a{color:#087a4c!important;text-decoration:none!important;font-weight:700!important}
.er-editorial-breadcrumbs a:hover{text-decoration:underline!important}
.er-editorial-breadcrumbs__sep{color:#9cabb3}
.er-editorial-breadcrumbs__current{overflow:hidden;text-overflow:ellipsis;color:#60727d}

@media(max-width:1280px){.er-nav-dropdown-home{font-size:13px!important}}
@media(max-width:1080px){.er-nav-dropdown-home{font-size:12px!important}}
@media(max-width:900px){
    .er-nav-dropdown-head{width:100%;min-height:46px}
    .er-nav-dropdown-home{flex:1 1 auto!important;min-height:46px!important;padding:0 13px!important;font-size:14px!important;justify-content:flex-start!important;border-radius:8px!important}
    .er-nav-dropdown-home.is-current:after{display:none!important}
    .er-nav-dropdown-toggle{flex:0 0 44px!important;width:44px!important;height:44px!important;margin-right:2px!important;border-radius:8px!important}
    .er-editorial-breadcrumbs__inner{width:min(100% - 28px,1180px);min-height:40px;font-size:11px}
}


/* ==========================================================
   v1.1.3 — navegación editorial + entradas relacionadas
========================================================== */
.er-editorial-breadcrumbs{position:relative;z-index:20}
.er-editorial-breadcrumbs__current{color:#526772!important;font-weight:600!important;min-width:0;overflow:hidden;text-overflow:ellipsis}
.er-editorial-breadcrumbs__current:hover{color:#087a4c!important}

.er-related-posts{
    width:min(1180px,calc(100% - 40px));margin:44px auto 10px;padding:30px 0 8px;
    border-top:1px solid #dfe8e4;font-family:"Inter",ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
.er-related-posts__head{display:flex;justify-content:space-between;gap:24px;margin-bottom:18px}
.er-related-posts__kicker{display:block;margin-bottom:5px;color:#078a52;font-size:11px;line-height:1.2;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.er-related-posts__head h2{margin:0!important;color:#0b2741!important;font:800 clamp(24px,3vw,34px)/1.08 "Manrope","Inter",sans-serif!important;letter-spacing:-.025em}
.er-related-posts__head p{margin:7px 0 0!important;color:#607583!important;font-size:14px!important}
.er-related-posts__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.er-related-card{display:flex!important;flex-direction:column;min-width:0;overflow:hidden;border:1px solid #dfe8e4;border-radius:17px;background:#fff;color:#17324a!important;text-decoration:none!important;box-shadow:0 7px 22px rgba(8,35,61,.045);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.er-related-card:hover{transform:translateY(-3px);border-color:#bddfce;box-shadow:0 12px 28px rgba(8,35,61,.09)}
.er-related-card__media{display:block;aspect-ratio:16/9;overflow:hidden;background:#eaf1ef}
.er-related-card__media img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .25s ease}
.er-related-card:hover .er-related-card__media img{transform:scale(1.025)}
.er-related-card__body{display:flex;flex:1;flex-direction:column;padding:16px}
.er-related-card__body small{color:#078a52;font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.er-related-card__body strong{display:block;margin:6px 0 7px;color:#0b2741;font:800 17px/1.22 "Manrope","Inter",sans-serif}
.er-related-card__body em{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;margin:0;color:#647887;font-size:12px;line-height:1.45;font-style:normal}
.er-related-card__more{margin-top:auto;padding-top:14px;color:#087a4c;font-size:12px;font-weight:800}
.er-related-posts__nav{display:flex;justify-content:flex-end;gap:18px;flex-wrap:wrap;margin-top:18px}
.er-related-posts__nav a{color:#087a4c!important;text-decoration:none!important;font-size:13px;font-weight:800}
.er-related-posts__nav a:hover{text-decoration:underline!important}

@media(max-width:800px){
    .er-related-posts__grid{grid-template-columns:1fr 1fr}
    .er-related-card:last-child{grid-column:1/-1}
}
@media(max-width:560px){
    .er-related-posts{width:min(100% - 24px,1180px);margin-top:34px;padding-top:24px}
    .er-related-posts__grid{grid-template-columns:1fr}
    .er-related-card:last-child{grid-column:auto}
    .er-related-posts__nav{justify-content:flex-start;gap:12px 18px}
}

/* ==========================================================
   v1.1.8 — usabilidad del desplegable Actualidad
   - toda la zona activa abre por hover en escritorio
   - puente invisible entre el enlace y el panel
   - JS añade 700 ms de tolerancia al salir con el ratón
========================================================== */
@media (min-width:851px){
    .er-nav-dropdown{
        position:relative;
    }
    .er-nav-dropdown::after{
        content:"";
        position:absolute;
        left:-10px;
        right:-10px;
        top:100%;
        height:18px;
        background:transparent;
        z-index:119;
    }
    .er-nav-dropdown-menu{
        top:calc(100% + 8px);
    }
    .er-nav-dropdown:hover .er-nav-dropdown-menu,
    .er-nav-dropdown.is-open .er-nav-dropdown-menu,
    .er-nav-dropdown:focus-within .er-nav-dropdown-menu{
        opacity:1;
        visibility:visible;
        pointer-events:auto;
        transform:translateX(-50%) translateY(0);
    }
    .er-nav-dropdown-head{
        cursor:default;
    }
}


/* v1.2.0 · Hero editorial dinámico */
.er-hero-carousel{position:relative;min-height:535px;}
.er-hero-track{position:relative;min-height:535px;}
.er-hero-slide{
  position:absolute;
  inset:0;
  z-index:0;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .55s ease,visibility .55s ease;
}
.er-hero-slide.is-active{
  position:relative;
  z-index:1;
  opacity:1;
  visibility:visible;
  pointer-events:auto;
}
.er-hero-slide-news .er-hero-news-title{
  max-width:690px;
  margin:0 0 22px;
  color:#fff;
  font-size:clamp(38px,3.6vw,62px);
  line-height:1.02;
  letter-spacing:-.045em;
  font-weight:900;
}
.er-hero-slide-news .er-hero-news-title a{color:#fff!important;text-decoration:none;}
.er-hero-slide-news .er-hero-news-title a:hover{color:var(--er-green)!important;}
.er-hero-news-meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:2px;
  color:#bcd0da;
  font-size:12px;
  font-weight:700;
  letter-spacing:.02em;
}
.er-hero-controls{
  position:absolute;
  z-index:5;
  left:50%;
  bottom:18px;
  transform:translateX(-50%);
  display:flex;
  align-items:center;
  justify-content:center;
  gap:0;
  pointer-events:none;
}
.er-hero-controls button{pointer-events:auto;}
.er-hero-arrow{display:none!important;}
.er-hero-dots{display:flex;align-items:center;justify-content:center;gap:8px;padding:6px 10px;border-radius:999px;background:rgba(6,38,64,.42);backdrop-filter:blur(6px);}
.er-hero-dot{
  width:8px;
  height:8px;
  padding:0;
  border:0;
  border-radius:999px;
  background:rgba(255,255,255,.42);
  cursor:pointer;
}
.er-hero-dot.is-active{width:22px;background:var(--er-green);}

.er-latest-heading{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  margin-bottom:18px;
}
.er-latest-heading .er-inline-heading{margin-bottom:0;}
.er-latest-heading>a{color:var(--er-blue);font-size:13px;font-weight:850;text-decoration:none;}

@media(max-width:850px){
  .er-hero-carousel,.er-hero-track{min-height:auto;}
  .er-hero-slide{position:absolute;}
  .er-hero-slide.is-active{position:relative;}
  .er-hero-controls{bottom:12px;justify-content:center;}
  .er-hero-slide-news .er-hero-news-title{font-size:46px;}
}
@media(max-width:560px){
  .er-hero-slide-news .er-hero-news-title{font-size:38px;}
  .er-hero-controls{bottom:10px;}
  .er-latest-heading{align-items:flex-start;flex-direction:column;gap:8px;}
}
@media(prefers-reduced-motion:reduce){
  .er-hero-slide{transition:none;}
}


/* v1.3.0 · bloques editoriales alimentados con entradas reales */
.er-editorial-home-section--alt{background:#f8fbfd;}
.er-editorial-home-section .er-card-body em{line-height:1.35;}
