body {
  --font-heading: 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  --color-primario: #C41E1E;
  --color-secundario: #1A1A1A;
  --header-bg: #FFFFFF;
  --header-text: #1A1A1A;
  --header-border: var(--color-primario);
  --card-radius: 8px;
  --card-shadow: 0 2px 8px rgba(0,0,0,0.08);
  --card-border: none;
  --section-accent: var(--color-primario);
}

body { font-family: var(--font-body); }
h1, h2, h3, h4, h5, h6,
.hero-title, .section-title, .article-title, .card-title,
.logo, .category-title {
  font-family: var(--font-heading);
}

.theme-elvalle{
  --paper:#F5F5F0; --paper-2:#ECECF0; --card:#FDFDF9;
  --ink:#1B1E27; --ink-2:#3A3D48;
  --gray:#5A5D68; --gray-2:#787B87; --gray-3:#8C8F9B;
  --hairline:#DFE0E5; --hairline-2:#ECECF0;
  --oro:#1E40AF; --oro-bg:#E4E8F5;
  --serif:'EB Garamond',Georgia,serif; --sans:'Jost',Helvetica,sans-serif;
  background:var(--paper);
}
body.theme-elvalle{background:var(--paper);color:var(--ink);font-family:var(--sans);-webkit-font-smoothing:antialiased}
body.theme-elvalle a{color:inherit;text-decoration:none}
body.theme-elvalle a:hover{color:var(--oro)}
body.theme-elvalle img{max-width:100%;display:block}
body.theme-elvalle .container{max-width:1060px;margin:0 auto;padding:0 30px}

body.theme-elvalle .site-header{background:var(--paper);border:0;box-shadow:none;position:relative}
body.theme-elvalle .csz-util{border:0}
body.theme-elvalle .csz-util-in{display:flex;justify-content:space-between;align-items:center;padding:10px 0;font:400 11px/1 var(--sans);letter-spacing:.1em;text-transform:uppercase;color:var(--gray-2)}
body.theme-elvalle .csz-util-r{display:flex;gap:18px;align-items:center}
body.theme-elvalle .csz-util a{color:var(--gray-2)}
body.theme-elvalle .csz-util a.cta{color:var(--oro)}
body.theme-elvalle .csz-masthead{text-align:center;padding:20px 0 0}
body.theme-elvalle .csz-masthead-in{display:flex;align-items:center;justify-content:center;gap:14px;border:0;padding:6px 0 0}
body.theme-elvalle .csz-logotype{font-family:var(--serif);font-weight:600;font-size:clamp(30px,5vw,42px);line-height:1;letter-spacing:.01em;color:var(--ink)}
body.theme-elvalle .csz-tagline{margin-top:0;padding:8px 0 16px;font:600 11px/1 var(--sans);letter-spacing:.24em;text-transform:uppercase;color:var(--gray-2);border:0}
body.theme-elvalle .csz-nav{border:0;border-top:2px solid var(--ink);border-bottom:1px solid var(--hairline)}
body.theme-elvalle .csz-nav-in{display:flex;justify-content:center;flex-wrap:wrap;gap:8px 24px;padding:11px 0;font:600 13px/1 var(--sans);letter-spacing:.12em;text-transform:uppercase}
body.theme-elvalle .csz-nav-in a{color:var(--ink)}
body.theme-elvalle .csz-nav-in a:hover,body.theme-elvalle .csz-nav-in a.alerta{color:var(--oro)}
body.theme-elvalle .csz-burger{display:none;position:absolute;left:14px;top:14px;background:none;border:0;flex-direction:column;gap:5px;cursor:pointer;padding:6px}
body.theme-elvalle .csz-burger span{display:block;width:22px;height:1.5px;background:var(--ink)}
body.theme-elvalle .mobile-menu{background:var(--paper);border-bottom:1px solid var(--hairline)}
body.theme-elvalle .mobile-menu a{color:var(--ink);font-family:var(--sans)}

body.theme-elvalle .kicker{font:600 11px/1 var(--sans);letter-spacing:.12em;text-transform:uppercase;color:var(--oro)}

body.theme-elvalle .news-card{background:var(--card);border:1px solid var(--hairline);border-radius:12px;box-shadow:none;overflow:hidden;display:flex;flex-direction:column}
body.theme-elvalle .news-card:hover{transform:none;box-shadow:none}
body.theme-elvalle .card-image-link{position:relative;border-radius:0;aspect-ratio:16/10;overflow:hidden;background:var(--paper-2)}
body.theme-elvalle .card-image-link img{width:100%;height:100%;object-fit:cover}
body.theme-elvalle .card-placeholder{width:100%;height:100%;background:repeating-linear-gradient(45deg,#E3E4E9,#E3E4E9 12px,#ECECF0 12px,#ECECF0 24px)}
body.theme-elvalle .card-badge{position:absolute;top:10px;left:10px;right:auto;bottom:auto;background:var(--oro-bg);color:var(--oro);border:0;border-radius:16px;font:600 10px/1 var(--sans);letter-spacing:.12em;text-transform:uppercase;padding:5px 12px}
body.theme-elvalle .card-body{padding:16px 20px 18px;display:flex;flex-direction:column;gap:6px}
body.theme-elvalle .card-title{font-family:var(--serif);font-size:20px;font-weight:600;line-height:1.3;color:var(--ink)}
body.theme-elvalle .news-card:hover .card-title{color:var(--oro)}
body.theme-elvalle .card-excerpt{font-family:var(--sans);font-size:14px;line-height:1.55;color:var(--gray)}
body.theme-elvalle .card-date{font-family:var(--sans);font-size:12px;color:var(--gray-3);text-transform:none;letter-spacing:0}
body.theme-elvalle .news-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}

body.theme-elvalle .section-container{max-width:1060px;margin:0 auto;padding:0 30px}
body.theme-elvalle .section-title{font-family:var(--serif);font-size:22px;font-weight:600;line-height:1.2;color:var(--ink);text-transform:none;letter-spacing:0;border:0;border-bottom:3px solid var(--oro);padding:0 0 10px;margin:36px 0 4px;display:flex;align-items:center;gap:12px}
body.theme-elvalle .section-title::before{content:none}
body.theme-elvalle .section-title::after{content:none}

body.theme-elvalle .category-hero{background:var(--paper);padding:30px 0 0;text-align:center}
body.theme-elvalle .category-badge{display:inline-block;background:none;padding:0;font:600 12px/1 var(--sans);letter-spacing:.18em;text-transform:uppercase;color:var(--oro)}
body.theme-elvalle .category-title{font-family:var(--serif);font-size:36px;font-weight:600;line-height:1.05;color:var(--ink);margin:8px 0 0;border-bottom:3px solid var(--oro);padding-bottom:18px}
body.theme-elvalle .latest-section{background:var(--paper);padding:26px 0 52px}

body.theme-elvalle .pagination{display:flex;gap:24px;align-items:center;justify-content:center;margin-top:34px;font-family:var(--sans);font-size:13px;letter-spacing:.12em;text-transform:uppercase}
body.theme-elvalle .page-link{border:0;color:var(--ink)}
body.theme-elvalle .page-link:hover{color:var(--oro)}
body.theme-elvalle .page-info{color:var(--oro);border-bottom:1px solid var(--oro);padding-bottom:4px}
body.theme-elvalle .empty-state{color:var(--gray-2);font-family:var(--serif);font-size:19px;padding:28px 0}

body.theme-elvalle .canton-hero,body.theme-elvalle .junta-hero{background:var(--paper);color:var(--ink);padding:30px 0 22px;border-bottom:3px solid var(--oro)}
body.theme-elvalle .canton-hero .badge,body.theme-elvalle .junta-hero .badge{background:var(--oro-bg);color:var(--oro);border:0;border-radius:16px;font-family:var(--sans);font-weight:600;letter-spacing:.12em}
body.theme-elvalle .canton-hero h1,body.theme-elvalle .junta-hero h1{font-family:var(--serif);font-weight:600;font-size:2.6rem;line-height:1.1;color:var(--ink)}
body.theme-elvalle .canton-hero .cab,body.theme-elvalle .junta-hero .cab{color:var(--gray-2);opacity:1}
body.theme-elvalle .junta-hero .cab a{color:var(--oro)}
body.theme-elvalle .canton-card,body.theme-elvalle .junta-card{background:var(--card);border:1px solid var(--hairline);border-radius:12px}
body.theme-elvalle .canton-card h2,body.theme-elvalle .junta-card h2{font-family:var(--serif);font-weight:600;color:var(--ink)}
body.theme-elvalle .junta-card .row b{color:var(--ink)}
body.theme-elvalle .canton-cta{background:var(--oro);color:#F5F5F0;border-radius:12px}
body.theme-elvalle .canton-emergencia,body.theme-elvalle .junta-emergencia{background:#FBF0EF;border:1px solid #E7C4C1;border-radius:12px}
body.theme-elvalle .canton-emergencia .n,body.theme-elvalle .junta-emergencia .n{color:#B3261E;font-family:var(--serif)}

body.theme-elvalle .article-container{max-width:720px;margin:0 auto;padding:0 20px}
body.theme-elvalle .breadcrumb{font-family:var(--sans);font-size:12px;letter-spacing:.08em;color:var(--gray-2)}
body.theme-elvalle .breadcrumb a{color:var(--oro)}
body.theme-elvalle .article-meta-top{font-family:var(--sans);font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:var(--gray-3);border-top:1px solid var(--hairline);border-bottom:1px solid var(--hairline);padding:12px 0}
body.theme-elvalle .article-badge{background:var(--oro-bg);color:var(--oro);border:0;border-radius:16px;font-family:var(--sans);font-weight:600;text-transform:uppercase;letter-spacing:.12em;font-size:12px;padding:5px 16px}
body.theme-elvalle .read-time{color:var(--gray-3)}
body.theme-elvalle .article-title{font-family:var(--serif);font-size:32px;font-weight:600;line-height:1.2;letter-spacing:0;color:var(--ink)}
body.theme-elvalle .article-subtitle{font-family:var(--serif);font-size:18px;font-weight:400;line-height:1.5;color:var(--gray)}
body.theme-elvalle .article-share .share-btn{border:1px solid var(--hairline);border-radius:8px;font-family:var(--sans);color:var(--ink);background:var(--card)}
body.theme-elvalle .article-content{font-family:var(--serif);font-size:17px;line-height:1.72;color:var(--ink-2)}
body.theme-elvalle .article-content p{margin:0 0 1.1em}
body.theme-elvalle .article-content h2,body.theme-elvalle .article-content h3{font-family:var(--serif);color:var(--ink);line-height:1.2}
body.theme-elvalle .article-content a{color:var(--oro);text-decoration:underline}
body.theme-elvalle .article-content blockquote{border-left:3px solid var(--oro);margin:1.4em 0;padding:.2em 0 .2em 20px;font-family:var(--serif);font-style:italic;color:var(--gray)}

body.theme-elvalle .site-footer{background:var(--ink);border:0;border-top:4px solid var(--oro);color:var(--gray-3)}
body.theme-elvalle .footer-brand .logo,body.theme-elvalle .footer-brand .logo-clave,body.theme-elvalle .footer-brand .logo-nacional{font-family:var(--serif);font-weight:600;color:#F5F5F0}
body.theme-elvalle .footer-tagline{font-family:var(--sans);color:var(--gray-3);font-size:13px;line-height:1.7}
body.theme-elvalle .footer-heading{font-family:var(--sans);font-weight:500;letter-spacing:.2em;color:#F5F5F0}
body.theme-elvalle .footer-links a{font-family:var(--sans);color:var(--gray-3)}
body.theme-elvalle .footer-links a:hover{color:#F5F5F0}
body.theme-elvalle .footer-contact p{color:var(--gray-3)}
body.theme-elvalle .footer-bottom{border-top:1px solid #3A3D48;color:var(--gray-3)}

body.theme-elvalle .pauta-empty{border:1px dashed #C3C5CE;background:var(--paper-2);border-radius:12px}
body.theme-elvalle .pauta-house-text{font-family:var(--sans);color:var(--gray-3);letter-spacing:.1em;text-transform:uppercase}
body.theme-elvalle .pauta-house-sub{font-family:var(--sans);color:var(--gray-3)}
body.theme-elvalle .pauta-label{color:var(--gray-3)}

@media(max-width:1024px){ body.theme-elvalle .news-grid{grid-template-columns:repeat(2,1fr)} }
@media(max-width:720px){
  body.theme-elvalle .container,body.theme-elvalle .section-container{padding:0 16px}
  body.theme-elvalle .csz-util{display:none}
  body.theme-elvalle .csz-masthead{padding:14px 0 0}
  body.theme-elvalle .csz-logotype{font-size:28px}
  body.theme-elvalle .csz-nav{display:none}
  body.theme-elvalle .csz-burger{display:flex}
  
  body.theme-elvalle .csz-masthead-in{padding-top:46px}
  body.theme-elvalle .news-grid{grid-template-columns:1fr}
  body.theme-elvalle .article-title{font-size:26px}
  body.theme-elvalle .category-title{font-size:30px}
  body.theme-elvalle .canton-hero h1,body.theme-elvalle .junta-hero h1{font-size:1.9rem}
}

.pauta-slot{position:relative;margin:18px auto;text-align:center;max-width:100%}
.pauta-slot .pauta-label{display:block;font-size:9px;letter-spacing:.14em;text-transform:uppercase;color:#9aa2b1;opacity:.7;margin-bottom:4px;font-family:system-ui,-apple-system,sans-serif}
.pauta-slot .pauta-link{display:inline-block;line-height:0;max-width:100%}
.pauta-slot .pauta-img{max-width:100%;height:auto;border-radius:8px;display:block;margin:0 auto}
.pauta-slot .pauta-beacon{position:absolute;left:-9999px;width:1px;height:1px;opacity:0;pointer-events:none}
.pauta-top .pauta-img,.pauta-footer .pauta-img{max-width:970px}
.pauta-in_article{margin:26px auto}
.pauta-in_article .pauta-img{max-width:728px}
.pauta-sidebar .pauta-img{max-width:336px}
@media(max-width:600px){.pauta-top .pauta-img,.pauta-footer .pauta-img,.pauta-in_article .pauta-img{max-width:100%}}

.pauta-empty .pauta-house{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;text-decoration:none;box-sizing:border-box;width:100%;margin:0 auto;padding:10px 14px;border:2px dashed #cbd5e3;border-radius:8px;background:repeating-linear-gradient(45deg,#f7f9fc,#f7f9fc 10px,#eef2f8 10px,#eef2f8 20px);color:#5b6472;transition:border-color .2s ease,color .2s ease,background .2s ease}
.pauta-empty .pauta-house:hover{border-color:#1CA9E0;color:#0A2A43;background:#f4f9fd}
.pauta-empty .pauta-house-text{font-family:system-ui,-apple-system,sans-serif;font-weight:800;letter-spacing:.06em;font-size:15px;text-transform:uppercase;line-height:1.1}
.pauta-empty .pauta-house-sub{font-family:system-ui,-apple-system,sans-serif;font-size:11px;opacity:.85}
.pauta-top .pauta-house,.pauta-footer .pauta-house{max-width:970px;min-height:90px}
.pauta-in_article .pauta-house{max-width:728px;min-height:90px}
.pauta-sidebar .pauta-house{max-width:336px;min-height:280px}
@media(max-width:600px){.pauta-top .pauta-house,.pauta-footer .pauta-house,.pauta-in_article .pauta-house{min-height:70px}.pauta-empty .pauta-house-text{font-size:13px}}