/* ERA/IRESC · ERASPAIN.EU Visual Refresh 1.2 · PHP 5.4 Legacy Safe */
:root{--era-navy:#082b4d;--era-blue:#0d4778;--era-link:#1269ad;--era-orange:#f58212;--era-bg:#eef3f8;--era-card:#fff;--era-text:#26384d;--era-muted:#68788b;--era-line:#dce5ee;--era-shadow:0 8px 24px rgba(8,43,77,.09)}
html{scroll-behavior:smooth}
body.era-eu-refresh-active{background:var(--era-bg)!important;color:var(--era-text)!important;font-family:"Segoe UI",Arial,sans-serif!important;line-height:1.58!important}
/* Más ancho, pero sin romper Frontier */
body.era-eu-refresh-active #container,body.era-eu-refresh-active #wrapper,body.era-eu-refresh-active .container{width:94%!important;max-width:1400px!important;margin-left:auto!important;margin-right:auto!important;box-sizing:border-box!important}
/* La cabecera histórica queda limpia dentro de una tarjeta blanca */
body.era-eu-refresh-active #header,body.era-eu-refresh-active .site-header{background:#fff!important;border:1px solid var(--era-line)!important;border-radius:12px 12px 0 0!important;box-shadow:var(--era-shadow)!important;color:var(--era-navy)!important;overflow:hidden!important}
body.era-eu-refresh-active #header a,body.era-eu-refresh-active .site-header a{color:var(--era-navy)!important}
body.era-eu-refresh-active #header img,body.era-eu-refresh-active .site-header img{max-width:100%!important;height:auto!important}
/* Menú blanco, limpio y compacto */
body.era-eu-refresh-active #nav-main,body.era-eu-refresh-active #nav-main ul,body.era-eu-refresh-active #menu,body.era-eu-refresh-active .main-navigation,body.era-eu-refresh-active .main-navigation ul,body.era-eu-refresh-active nav[role="navigation"]{background:#fff!important;border-color:var(--era-line)!important;box-shadow:none!important}
body.era-eu-refresh-active #nav-main li,body.era-eu-refresh-active .main-navigation li{border-color:var(--era-line)!important}
body.era-eu-refresh-active #nav-main a,body.era-eu-refresh-active .main-navigation a,body.era-eu-refresh-active nav[role="navigation"] a{background:#fff!important;color:var(--era-navy)!important;font-weight:700!important;text-decoration:none!important;padding:11px 15px!important;transition:.15s ease!important}
body.era-eu-refresh-active #nav-main a:hover,body.era-eu-refresh-active .main-navigation a:hover,body.era-eu-refresh-active nav[role="navigation"] a:hover{background:#f6f9fc!important;color:var(--era-orange)!important}
/* Zona de columnas: más aire y centro protagonista */
body.era-eu-refresh-active #main,body.era-eu-refresh-active .site-main{background:transparent!important;padding-top:12px!important}
body.era-eu-refresh-active #content{background:transparent!important;box-sizing:border-box!important}
/* Frontier suele usar #sidebar-left/#sidebar-right. Reducimos laterales si están presentes */
@media (min-width:1000px){
 body.era-eu-refresh-active #sidebar-left{width:18%!important;box-sizing:border-box!important}
 body.era-eu-refresh-active #sidebar-right{width:18%!important;box-sizing:border-box!important}
 body.era-eu-refresh-active #content{width:62%!important;box-sizing:border-box!important}
}
/* Entradas como tarjetas blancas */
body.era-eu-refresh-active article,body.era-eu-refresh-active .post,body.era-eu-refresh-active .hentry,body.era-eu-refresh-active #content .page{background:var(--era-card)!important;border:1px solid var(--era-line)!important;border-radius:14px!important;box-shadow:var(--era-shadow)!important;padding:28px 30px!important;margin-bottom:24px!important;overflow:hidden!important;box-sizing:border-box!important}
body.era-eu-refresh-active .entry-title,body.era-eu-refresh-active .post-title,body.era-eu-refresh-active h1,body.era-eu-refresh-active h2,body.era-eu-refresh-active h3{color:var(--era-navy)!important;line-height:1.2!important}
body.era-eu-refresh-active .entry-title,body.era-eu-refresh-active .post-title{font-weight:800!important;margin-top:0!important}
body.era-eu-refresh-active .entry-title a,body.era-eu-refresh-active .post-title a{color:var(--era-navy)!important;text-decoration:none!important}
body.era-eu-refresh-active .entry-title a:hover,body.era-eu-refresh-active .post-title a{transition:.15s ease}
body.era-eu-refresh-active .entry-title a:hover,body.era-eu-refresh-active .post-title a:hover{color:var(--era-orange)!important}
body.era-eu-refresh-active .entry-meta,body.era-eu-refresh-active .post-meta,body.era-eu-refresh-active .byline,body.era-eu-refresh-active .posted-on{color:var(--era-muted)!important;font-size:13px!important}
body.era-eu-refresh-active p{color:var(--era-text)!important}
body.era-eu-refresh-active a{color:var(--era-link)}
/* Multimedia: no deformar material histórico */
body.era-eu-refresh-active img{max-width:100%!important;height:auto!important}
body.era-eu-refresh-active .entry-content img,body.era-eu-refresh-active .post-content img{border-radius:8px!important}
body.era-eu-refresh-active iframe,body.era-eu-refresh-active video{max-width:100%!important}
/* Widgets laterales = tarjetas blancas con cabecera naranja */
body.era-eu-refresh-active #sidebar-left .widget,body.era-eu-refresh-active #sidebar-right .widget,body.era-eu-refresh-active #sidebar .widget,body.era-eu-refresh-active .widget-area .widget,body.era-eu-refresh-active aside.widget{background:#fff!important;border:1px solid var(--era-line)!important;border-radius:10px!important;box-shadow:0 5px 16px rgba(8,43,77,.07)!important;margin-bottom:16px!important;overflow:hidden!important;box-sizing:border-box!important}
body.era-eu-refresh-active .widget-title,body.era-eu-refresh-active .widget h3,body.era-eu-refresh-active .widget h4{background:var(--era-orange)!important;color:#092d4f!important;border:0!important;margin:0!important;padding:10px 13px!important;font-weight:800!important;line-height:1.2!important}
body.era-eu-refresh-active .widget > ul,body.era-eu-refresh-active .widget > div:not(.widget-title),body.era-eu-refresh-active .widget > p{margin:0!important;padding:12px!important}
body.era-eu-refresh-active .widget ul{list-style:none!important}
body.era-eu-refresh-active .widget li{border-bottom:1px solid #edf1f5!important;padding:7px 0!important}
body.era-eu-refresh-active .widget li:last-child{border-bottom:0!important}
/* Citas, tablas y botones */
body.era-eu-refresh-active blockquote{margin:20px 0!important;padding:15px 18px!important;border-left:4px solid var(--era-orange)!important;background:#fff7ed!important;border-radius:0 9px 9px 0!important}
body.era-eu-refresh-active table{width:100%!important;border-collapse:separate!important;border-spacing:0!important;background:#fff!important;border:1px solid var(--era-line)!important;border-radius:9px!important;overflow:hidden!important}
body.era-eu-refresh-active th{background:#edf4fa!important;color:var(--era-navy)!important}body.era-eu-refresh-active th,body.era-eu-refresh-active td{padding:10px 12px!important;border-bottom:1px solid var(--era-line)!important}
body.era-eu-refresh-active button,body.era-eu-refresh-active input[type="submit"],body.era-eu-refresh-active .button{border-radius:8px!important}
/* Footer */
body.era-eu-refresh-active #footer,body.era-eu-refresh-active .site-footer{background:var(--era-navy)!important;color:#dce7f2!important;border:0!important;margin-top:30px!important}
body.era-eu-refresh-active #footer a,body.era-eu-refresh-active .site-footer a{color:#fff!important}
/* Responsive: las tres columnas pasan a una */
@media (max-width:999px){body.era-eu-refresh-active #container,body.era-eu-refresh-active #wrapper,body.era-eu-refresh-active .container{width:auto!important;margin-left:12px!important;margin-right:12px!important}body.era-eu-refresh-active #sidebar-left,body.era-eu-refresh-active #sidebar-right,body.era-eu-refresh-active #content{width:100%!important;float:none!important}body.era-eu-refresh-active article,body.era-eu-refresh-active .post,body.era-eu-refresh-active .hentry{padding:22px!important}}
@media (max-width:640px){body.era-eu-refresh-active article,body.era-eu-refresh-active .post,body.era-eu-refresh-active .hentry{padding:17px!important;border-radius:10px!important}body.era-eu-refresh-active #nav-main a,body.era-eu-refresh-active .main-navigation a{padding:9px 10px!important}body.era-eu-refresh-active h1{font-size:1.7rem!important}body.era-eu-refresh-active h2{font-size:1.4rem!important}}
