/* Articles and "avisos hoy" pages (scripts/static_page.py). Builds on
   styles.css (.place-seo, .seo-page); only what those pages add lives here. */


.art-date { font-size: 14px; color: var(--dim); margin: 0 0 16px; }
.art-lead { font-size: 19px; line-height: 1.55; margin: 0 0 20px; max-width: 65ch; }
.art p, .art li { line-height: 1.6; max-width: 68ch; }
.art p { margin: 0 0 14px; }
.art-note { font-size: 14px; color: var(--dim); }
.art-sources { padding-left: 1.1rem; font-size: 15px; }
.art-sources li { margin: 0 0 6px; }

.art-table { overflow-x: auto; border-radius: 14px; margin: 12px 0 10px; }
.art-table table { width: 100%; border-collapse: collapse; background: var(--surface); font-size: 15px; font-variant-numeric: tabular-nums; }
.art-table th, .art-table td { padding: 10px 12px; text-align: left; vertical-align: top; border-top: 1px solid var(--track); }
.art-table thead th { border-top: 0; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--dim); }
.art-table tr.other td { color: var(--muted); font-style: italic; }
.art-table tr.hi td { font-weight: 700; }

.lvl { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.03em; padding: 1px 8px; border-radius: 999px; margin-right: 4px; white-space: nowrap; }
.lvl.y { background: var(--amarillo); color: var(--ink); }
.lvl.o { background: var(--naranja); color: #fff; }
.lvl.r { background: var(--rojo); color: #fff; }

.art-cta { margin: 40px 0 8px; padding: 20px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.art-cta h2 { margin-top: 0 !important; }
.art-cta p { margin: 0 0 12px; max-width: 60ch; line-height: 1.55; }
.art-cta-btns { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 !important; }
.art-cta .btn { text-decoration: none; }

.art-list { list-style: none; padding: 0; margin: 20px 0 0; }
.art-item { padding: 16px 0; border-top: 1px solid var(--line); }
.art-item-t { font-family: var(--font-display); font-size: 21px; font-weight: 800; line-height: 1.2; }
.art-item-d { display: block; font-size: 13px; color: var(--dim); margin: 6px 0 4px; }
.art-item p { margin: 0; color: var(--muted); line-height: 1.5; }

.today-when { font-size: 15px; color: var(--muted); margin: 0 0 14px; }
.today-table td { min-width: 12rem; }
.today-list { list-style: none; padding: 0; margin: 0; }
.today-list li { margin: 0 0 8px; line-height: 1.45; }
.today-detail { display: block; font-size: 13px; color: var(--dim); }
.today-none { color: var(--dim); }
.today-provs { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); gap: 6px 18px; }
.today-provs li { padding: 4px 0; }
/* .place-seo paints every a.btn in paper colour (made for ink buttons); quiet ones keep ink */
.place-seo a.btn.quiet, .place-seo a.btn.quiet:visited, .place-seo a.btn.quiet:hover { color: var(--ink); }

/* Year-in-warnings review (scripts/bake_review.py) */
.rv-facts { padding-left: 1.1rem; margin: 0 0 8px; }
.rv-facts li { margin: 0 0 8px; line-height: 1.55; max-width: 68ch; }
.rv-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); gap: 12px; margin: 12px 0 6px; }
.rv-card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 14px 10px; }
.rv-card-h { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 14px; font-weight: 700; color: var(--muted); }
.rv-card-h .ico { width: 14px; height: 14px; color: var(--ink); }
.rv-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--rojo); flex-shrink: 0; }
.rv-badge { margin-left: auto; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #fff; background: var(--ink); border-radius: 999px; padding: 1px 8px; }
.rv-card-n { font-family: var(--font-display); font-size: 30px; font-weight: 800; line-height: 1.1; margin: 4px 0 10px; font-variant-numeric: tabular-nums; }
.rv-bars { display: flex; align-items: flex-end; gap: 4px; height: 64px; }
.rv-col { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: stretch; height: 100%; }
.rv-bar { display: block; background: var(--line-strong); border-radius: 3px 3px 0 0; min-height: 0; }
.rv-bar.cur { background: var(--ink); }
.rv-yr { display: block; text-align: center; font-size: 11px; color: var(--dim); margin-top: 4px; font-variant-numeric: tabular-nums; }
.rv-months { display: flex; gap: 4px; align-items: stretch; height: 180px; margin: 12px 0 6px; padding: 12px 10px 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.rv-mcol { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.rv-mnum { display: block; text-align: center; font-size: 10px; color: var(--muted); height: 14px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rv-mtrack { position: relative; flex: 1; display: flex; align-items: flex-end; }
.rv-mbar { display: block; width: 100%; background: var(--ink); border-radius: 3px 3px 0 0; }
.rv-mmed { position: absolute; left: -2px; right: -2px; height: 0; border-top: 2px solid var(--naranja); }
.rv-reds { list-style: none; padding: 0; margin: 8px 0 0; }
.rv-reds li { padding: 8px 0; border-top: 1px solid var(--track); line-height: 1.6; }
.rv-date { display: inline-block; min-width: 8.5em; font-weight: 700; font-variant-numeric: tabular-nums; }
.rv-years { line-height: 1.9; }
.rv-years [aria-current] { font-weight: 700; }
@media (max-width: 480px) { .rv-mnum { font-size: 9px; } .rv-months { gap: 2px; padding-inline: 6px; } }
