/* News-only presentation: the site's palette, typefaces and reading sizes remain authoritative. */
.news-page .news-stories{padding-top:20px}
.news-page .news-list{gap:20px;margin-top:0;align-items:stretch}
.news-page .news-card{display:flex;flex-direction:column;padding:20px;background:#fff;border:1px solid var(--line);border-radius:0}
.news-page .news-featured{grid-row:auto;border:1px solid var(--gold);box-shadow:inset 0 3px 0 var(--gold)}
.news-page .news-card h3{margin:10px 0}
.news-page .news-card .publication-meta{margin:0 0 10px}
.news-page .news-card .news-summary{margin:0 0 12px;max-width:none}
.news-page .news-card-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px 20px;margin-top:auto}
.news-page .news-source{font-size:16px;line-height:1.55}
.news-page .news-analysis-link{margin:0;padding:10px 16px;border:1px solid var(--line);border-radius:6px;text-decoration:none;line-height:1.4;background:var(--cream)}
.news-page .news-analysis-link:hover{background:var(--jr-brand-soft);border-color:var(--gold)}
.news-page .news-card-actions br{display:none}
.news-page .news-card-actions>a:not(.news-source):not(.news-analysis-link){font-size:16px;line-height:1.55;min-height:44px;display:inline-flex;align-items:center}
.news-page .news-program-tag{display:block;color:var(--navy);font-weight:700;margin-bottom:4px}
.news-program{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:24px 0 0;padding:18px 20px;background:var(--jr-brand-paper);border:1px solid var(--line);border-left:4px solid var(--gold);border-radius:0}
.news-program-copy{min-width:0}
.news-page .news-program-label{font-size:14px;font-weight:700;color:var(--jr-brand-gold);margin:0 0 6px;line-height:1.5}
.news-page .news-program-title{font-size:18px;line-height:1.5;color:var(--text);margin:0 0 6px}
.news-program .publication-meta{margin:0}
.news-program>.news-analysis-link,.news-program>.news-source{flex-shrink:0}
.news-filterbar{display:none;min-width:0;min-inline-size:0;margin:0 0 16px;padding:0;border:0}
.news-filterbar legend{font-size:14px;line-height:1.5;margin-bottom:8px;color:var(--muted)}
.news-filters{display:flex;gap:8px;overflow-x:auto;padding:4px 3px 12px;scroll-padding-inline:3px;scrollbar-width:thin;scrollbar-color:var(--line) transparent}
.news-filter{position:relative;display:block;flex-shrink:0;cursor:pointer}
.news-filter input{position:absolute;opacity:0;width:1px;height:1px;top:50%;left:16px}
.news-filter-text{display:flex;align-items:center;gap:5px;min-height:44px;padding:10px 16px;border:1px solid var(--line);border-radius:999px;background:#fff;color:var(--text);font-size:15px;line-height:1.4}
.news-filter-count{font-size:14px}
.news-filter:hover .news-filter-text{border-color:var(--gold)}
.news-filter input:checked+.news-filter-text{background:var(--navy);border-color:var(--navy);color:#fff;font-weight:700}
.news-filter input:focus-visible+.news-filter-text{outline:3px solid var(--jr-focus-ring);outline-offset:3px}
/* Unsupported browsers get the complete list without inoperative controls. */
@supports selector(:has(*)){
 .news-filterbar{display:block}
 .news-page:has(#news-filter-economia:checked) [data-news-card]:not([data-topic="economia"]){display:none}
 .news-page:has(#news-filter-economia:checked) :is(.news-current,.older-stories):not(:has([data-topic="economia"])){display:none}
 .news-page:has(#news-filter-mercados:checked) [data-news-card]:not([data-topic="mercados"]){display:none}
 .news-page:has(#news-filter-mercados:checked) :is(.news-current,.older-stories):not(:has([data-topic="mercados"])){display:none}
 .news-page:has(#news-filter-financiamiento:checked) [data-news-card]:not([data-topic="financiamiento"]){display:none}
 .news-page:has(#news-filter-financiamiento:checked) :is(.news-current,.older-stories):not(:has([data-topic="financiamiento"])){display:none}
 .news-page:has(#news-filter-fintech:checked) [data-news-card]:not([data-topic="fintech"]){display:none}
 .news-page:has(#news-filter-fintech:checked) :is(.news-current,.older-stories):not(:has([data-topic="fintech"])){display:none}
 .news-page:has(#news-filter-otros:checked) [data-news-card]:not([data-topic="otros"]){display:none}
 .news-page:has(#news-filter-otros:checked) :is(.news-current,.older-stories):not(:has([data-topic="otros"])){display:none}
 .news-page:has(#news-filter-podcast:checked) [data-news-card]:not([data-podcast="true"]){display:none}
 .news-page:has(#news-filter-podcast:checked) :is(.news-current,.older-stories):not(:has([data-podcast="true"])){display:none}
}
.news-page [hidden]{display:none!important}
.news-page :is(a,button,summary):focus-visible{outline:3px solid var(--jr-focus-ring);outline-offset:3px}
.news-page :is(.news-card,#noticias,#indicadores){scroll-margin-top:0}
.news-page .older-stories{margin-top:24px}
.news-page .older-stories>h3{margin:0 0 12px;font-size:22px;line-height:1.3}
.news-page .indicator{background:#fff;border-radius:0}
.news-page .indicator strong{display:block;overflow-wrap:anywhere}
.news-page .indicator strong span{display:block;margin-top:6px}
.news-mobile-nav{display:none}
@media(max-width:800px){
 .news-page .news-card{padding:16px}
 .news-page .news-list{gap:18px}
 .news-program{align-items:flex-start;flex-direction:column;padding:16px;gap:12px}
 .news-program>.news-analysis-link{align-self:flex-start}
 .news-page .news-card-actions{align-items:flex-start;flex-direction:column;gap:8px}
 .news-mobile-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:24px;padding:12px 0 max(12px,env(safe-area-inset-bottom));border-top:1px solid var(--line)}
 .news-mobile-nav a{display:flex;align-items:center;justify-content:center;min-height:48px;padding:8px 4px;border:1px solid var(--line);border-radius:6px;background:#fff;color:var(--text);font-size:14px;line-height:1.5;text-align:center}
}
