/* Listado de noticias: más ancho, 4 columnas, carga continua */
html body .news-page{max-width:1380px}
html body .news-grid--pagina{grid-template-columns:repeat(4,minmax(0,1fr));gap:30px 24px}
html body .news-grid--pagina > .news-card:first-child{grid-column:1 / -1}
html body .news-grid--pagina > .anuncio-hueco{grid-column:1 / -1}
@media(max-width:1180px){html body .news-grid--pagina{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){html body .news-grid--pagina{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){html body .news-grid--pagina{grid-template-columns:1fr}}
.news-mas{text-align:center;padding:26px 0 8px;font:700 13px Inter,system-ui,sans-serif;color:#6b6b6b;min-height:40px}
.news-mas a{color:#8f1511}

/* ── Cabecera del listado ── */
html body .news-page-head{display:grid;grid-template-columns:1fr auto;grid-template-areas:"k k" "t c";align-items:end;gap:6px 24px;border-bottom:0;padding:6px 0 0;margin:0 0 18px}
html body .news-kicker{grid-area:k;font:800 11px/1 Inter,sans-serif;letter-spacing:.16em;text-transform:uppercase;color:#8f1511;display:flex;align-items:center;gap:8px}
html body .news-kicker::before{content:"";width:22px;height:3px;background:#8f1511;display:block}
html body .news-page-head h1{grid-area:t;font-size:56px;line-height:1;margin:0}
html body .news-page-head p{grid-area:c;font:600 13px/1 Inter,sans-serif;color:#6b6b6b;padding:0 0 8px;margin:0;white-space:nowrap}
/* Barra: filtros + buscador */
html body .news-barra{display:flex;align-items:center;justify-content:space-between;gap:18px;border-top:3px solid #111;border-bottom:1px solid #e3e0db;padding:14px 0;margin:0 0 28px}
html body .news-barra .news-filtros{margin:0;flex:1 1 auto;min-width:0;display:flex;flex-wrap:wrap;gap:8px}
html body .news-barra .news-filtro{font:700 13px/1 Inter,sans-serif;padding:10px 16px;border-radius:999px;border:1px solid #dcd8d1;background:#fff;color:#222;transition:background .15s,color .15s,border-color .15s}
html body .news-barra .news-filtro:hover{border-color:#111}
html body .news-barra .news-filtro.is-activo{background:#111;border-color:#111;color:#fff}
html body .news-barra .news-buscador,html body .news-page:has(.news-buscador-limpiar) .news-buscador{display:flex!important;position:relative;align-items:center;gap:8px;flex:0 0 300px;margin:0}
html body .news-buscador input[type=search]{width:100%;font:500 14px Inter,sans-serif;padding:11px 14px 11px 40px;border:1px solid #dcd8d1;border-radius:999px;background:#faf9f7;color:#111;outline:0;transition:border-color .15s,background .15s}
html body .news-buscador input[type=search]:focus{border-color:#8f1511;background:#fff}
html body .news-buscador .nb-lupa{position:absolute;left:14px;top:50%;transform:translateY(-50%);color:#777;pointer-events:none}
html body .news-buscador button{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);padding:0;border:0}
html body .news-buscador-limpiar{font:700 12px Inter,sans-serif;color:#8f1511;white-space:nowrap}
@media(max-width:760px){
  html body .news-page-head{grid-template-columns:1fr;grid-template-areas:"k" "t" "c"}
  html body .news-page-head h1{font-size:38px}
  html body .news-page-head p{padding:0}
  html body .news-barra{flex-direction:column-reverse;align-items:stretch;gap:12px}
  html body .news-barra .news-buscador{flex:0 0 auto}
  html body .news-barra .news-filtros{flex-wrap:nowrap;overflow-x:auto;margin:0 -16px;padding:0 16px;scrollbar-width:none}
  html body .news-barra .news-filtro{flex:none}
}

/* ── Estilo sección de periódico: título + subsecciones en línea ── */
html body .news-page-head{display:grid;grid-template-columns:auto 1fr;grid-template-areas:"t b" "c c";align-items:end;gap:0 28px;border-bottom:1px solid #111;padding:0;margin:0 0 30px;position:relative}
html body .news-page-head h1{grid-area:t;font-size:52px;line-height:1;margin:0;padding:0 0 10px;border-bottom:6px solid #111;margin-bottom:-1px;white-space:nowrap}
html body .news-page-head p{display:none}
html body .news-page-head .news-barra{grid-area:b;border:0;padding:0 0 12px;margin:0;justify-content:flex-end;gap:22px;flex-wrap:wrap}
html body .news-page-head .news-filtros{justify-content:flex-end;gap:0;flex:0 1 auto}
html body .news-page-head .news-filtro{font:700 12px/1 Inter,sans-serif;text-transform:uppercase;letter-spacing:.02em;padding:6px 0;border:0;border-radius:0;background:none;color:#111;position:relative}
html body .news-page-head .news-filtro + .news-filtro::before{content:"·";margin:0 9px;color:#999;font-weight:400}
html body .news-page-head .news-filtro:hover{color:#8f1511;background:none}
html body .news-page-head .news-filtro.is-activo{background:none;color:#8f1511;box-shadow:inset 0 -2px #8f1511}
html body .news-page-head .news-buscador{flex:0 0 auto!important}
html body .news-page-head .news-buscador input[type=search]{width:120px;padding:7px 10px 7px 32px;font-size:12px;border-radius:999px;transition:width .2s,border-color .15s}
html body .news-page-head .news-buscador input[type=search]:focus{width:220px}
html body .news-page-head .nb-lupa{left:10px;width:14px;height:14px}
html body .news-total{font:600 12px Inter,sans-serif;color:#6b6b6b;margin:-14px 0 22px}
@media(max-width:900px){
  html body .news-page-head{grid-template-columns:1fr;grid-template-areas:"t" "b"}
  html body .news-page-head h1{font-size:38px;border-bottom-width:5px;display:inline-block;justify-self:start}
  html body .news-page-head .news-barra{flex-direction:column;align-items:stretch;padding:12px 0 10px;gap:10px}
  html body .news-page-head .news-filtros{flex-wrap:nowrap;overflow-x:auto;justify-content:flex-start;margin:0 -16px;padding:0 16px;scrollbar-width:none}
  html body .news-page-head .news-filtro{flex:none}
  html body .news-page-head .news-buscador input[type=search]{width:100%}
}
