/* =====================================================================
   Home y noticias — Orejita's Exiles (v22.19: home «Portal»)
   Concepto: tablillas de piedra del desierto. Marcellus (letras de inscripción romana) para los títulos, texto de sistema para leer
   y para TODAS las cifras (Marcellus dibuja el 0 como «O» y el 1 como «I»). Lo memorable es la barra del servidor (estado, jugadores,
   dirección y hora) que monta sobre el banner; el resto es sobrio y va en dos columnas: lo principal y una lateral con reglas, Discord y normas.
   Ver DESIGN.md §26. Las clases n-* y .h-h2 también las usa /news.php.
   ===================================================================== */
:root { --font-display: 'Marcellus', 'Palatino Linotype', 'Book Antiqua', Georgia, serif; }
body { overflow-x: clip; }
.home main, main.home { padding-top: 0; }
.pg-home .wrap { max-width: 1440px; padding-inline: clamp(1rem, 3.2vw, 2.75rem); }

/* ---------- Hero: título, divisor de rombo, texto y accesos. El estado del servidor va en la barra de debajo ---------- */
.h-hero {
  position: relative;
  margin: 0 calc(50% - 50vw);
  padding: clamp(2.4rem, 6vw, 4rem) 0 clamp(4.2rem, 8.5vw, 6rem);
  background:
    radial-gradient(60rem 28rem at 78% -10%, rgba(212, 163, 77, 0.22), transparent 62%),
    linear-gradient(90deg, rgba(10, 7, 5, 0.96) 0%, rgba(10, 7, 5, 0.82) 48%, rgba(10, 7, 5, 0.45) 100%),
    url('/site/banner') center / cover no-repeat;
  border-bottom: 1px solid var(--border-strong);
}
.h-hero-inner { width: 100%; max-width: 1440px; margin: 0 auto; padding-inline: clamp(1rem, 3.2vw, 2.75rem); }
.h-title-xl {
  font-family: var(--font-title); font-weight: 400; color: var(--text-strong); text-transform: uppercase;
  font-size: clamp(2.2rem, 4.6vw + .4rem, 4.5rem); line-height: 1.05; letter-spacing: .03em; -webkit-text-stroke: .03em currentColor; text-wrap: balance; overflow-wrap: anywhere; margin: 0;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.6);
}
.hb-rule { display: flex; align-items: center; gap: .7rem; margin: 1rem 0 1.1rem; max-width: 24rem; }
.hb-rule::before, .hb-rule::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--border-accent)); }
.hb-rule::after { transform: scaleX(-1); }
.hb-rule i { flex: none; width: 9px; height: 9px; rotate: 45deg; background: var(--accent); }
.h-lead { font-size: var(--fs-lg); max-width: 58ch; color: var(--text); }
.h-lead p { margin: 0 0 .8rem; }
.h-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.4rem; }
.btn-lg { padding: .85rem 1.6rem; font-size: var(--fs-base); }
.pg-home .h-hero { margin-top: 0; }   /* la portada no necesita compensar el relleno de arriba (home usa padding-top: 0) */
@media (max-width: 900px) { .h-hero { background-position: 70% center; } }

/* ---------- Piezas del estado del servidor (compartidas) ---------- */
.h-status { display: inline-flex; align-items: center; gap: .55rem; font-weight: 700; }
.h-ember { position: relative; flex: none; width: 11px; height: 11px; border-radius: 50%; background: var(--muted-dark); }
.h-status.on { color: #bfe3b2; }
.h-status.on .h-ember { background: #ff9d3c; }
/* Halo: se anima transform/opacity (se compone en GPU), no box-shadow (repinta en cada fotograma) */
.h-status.on .h-ember::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: rgba(255, 157, 60, .55); animation: ember 2.4s ease-out infinite; }
.h-status.off { color: var(--danger-text); }
.h-status.off .h-ember { background: var(--danger); }
@keyframes ember { 0% { transform: scale(1); opacity: .6; } 70%, 100% { transform: scale(2.8); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .h-status.on .h-ember::after { animation: none; } }
/* Cifras de la fuente de lectura (la de titulares dibuja el 0 como una «O» y el 1 como una «I») */
.h-count { display: flex; align-items: baseline; gap: .5rem; line-height: 1; }
.h-count-n { font-family: inherit; font-weight: 800; font-size: 2.3rem; letter-spacing: -.02em; color: var(--text-strong); font-variant-numeric: lining-nums tabular-nums; }
.h-count-max { font-size: 1.2rem; font-weight: 600; color: var(--muted); font-variant-numeric: lining-nums tabular-nums; }
.h-meter { width: 100%; height: 8px; border: 1px solid var(--border-strong); border-radius: 999px; overflow: hidden; background: var(--bg); display: block; }
.h-meter::-webkit-meter-bar { background: var(--bg); border: 0; height: 100%; }
.h-meter::-webkit-meter-optimum-value, .h-meter::-webkit-meter-suboptimum-value, .h-meter::-webkit-meter-even-less-good-value { background: linear-gradient(90deg, var(--bronze), var(--accent-hover)); }
.h-meter::-moz-meter-bar { background: linear-gradient(90deg, var(--bronze), var(--accent-hover)); }
.h-ip { display: flex; align-items: center; gap: .6rem; padding: .4rem .5rem .4rem .7rem; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm); }
.h-ip code { flex: 1; min-width: 0; font-size: var(--fs-md); background: transparent; padding: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.h-big { font-weight: 800; font-size: 2rem; line-height: 1; color: var(--text-strong); font-variant-numeric: lining-nums tabular-nums; }

/* ---------- Contenedor de la portada: se adapta al ancho de la página (no al del viewport) ---------- */
.hb { container: hb / inline-size; position: relative; z-index: 2; margin-top: calc(-1 * clamp(2.6rem, 5.5vw, 3.6rem)); padding-bottom: clamp(2rem, 4vw, 3rem); }

/* Placa con esquinas doradas (barra del servidor y cierre para visitantes) */
.hb-plate { position: relative; background: linear-gradient(180deg, rgba(38, 29, 21, .96), rgba(22, 16, 12, .98)); border: 1px solid var(--border-strong); border-radius: var(--radius); box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 233, 200, .06); }
.hb-plate::before, .hb-plate::after { content: ''; position: absolute; width: 18px; height: 18px; border: 2px solid var(--border-accent); pointer-events: none; }
.hb-plate::before { top: 7px; left: 7px; border-right: 0; border-bottom: 0; }
.hb-plate::after { bottom: 7px; right: 7px; border-left: 0; border-top: 0; }

/* Barra del servidor */
.hb-bar { display: grid; grid-template-columns: 1fr 1fr 1.6fr 1fr; }
.hb-c { display: grid; gap: .45rem; align-content: center; justify-items: start; min-width: 0; padding: 1.1rem 1.3rem; border-left: 1px solid var(--border); }
.hb-c:first-child { border-left: 0; padding-left: 1.6rem; }
.hb-c > * { max-width: 100%; }
.hb-c .h-meter, .hb-c .h-ip { justify-self: stretch; }
.hb-cap { font-size: var(--fs-xs); color: var(--muted); }
.hb-cap strong { color: var(--text); }
.hb-c-clock { gap: .6rem; }
.hb-c-clock > div { display: grid; gap: .1rem; justify-items: start; }
.hb-clock { font-weight: 700; font-size: 1.3rem; line-height: 1.1; color: var(--text-strong); font-variant-numeric: lining-nums tabular-nums; }   /* cifras en la fuente de lectura */
.hb-clock-me { font-size: 1.15rem; color: var(--accent-hover); }
.hb-clock-link { font-size: var(--fs-xs); }

/* Cuerpo: columna principal + lateral */
.hb-body { display: grid; grid-template-columns: minmax(0, 1fr) 22.5rem; gap: 1.4rem; margin-top: 1.4rem; align-items: start; }
.hb-main, .hb-aside { display: grid; gap: 1.3rem; min-width: 0; }
.hb-aside { gap: 1.2rem; }

/* Tarjeta: pestaña dorada de 3 px arriba a la izquierda (la firma de la «placa Exiles») */
.hb-card { position: relative; padding: 1.4rem 1.5rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.hb-tab::before { content: ''; position: absolute; left: 1.2rem; top: -1px; width: 54px; height: 3px; background: var(--accent); }
.hb-h { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin: 0 0 .9rem; font-family: var(--font-display); font-weight: 400; font-size: var(--fs-h3); line-height: 1.2; color: var(--text-strong); }
.hb-h a { font: 700 var(--fs-sm)/1 system-ui, sans-serif; white-space: nowrap; }
.hb-note { margin: 0 0 .7rem; color: var(--muted); font-size: var(--fs-sm); }
.hb-note strong { color: var(--text-strong); }
.hb-empty { margin: 0; padding: 1.1rem 1.2rem; color: var(--muted); border: 1px dashed var(--border-strong); border-radius: var(--radius-sm); }

/* Cómo entrar: una secuencia, por eso va numerada (numerales romanos, como en una inscripción) */
.hb-steps { list-style: none; counter-reset: paso; display: grid; gap: 1rem; margin: 0; padding: 0; }
.hb-steps li { counter-increment: paso; display: grid; grid-template-columns: 2.4rem minmax(0, 1fr); column-gap: .9rem; align-items: start; }
.hb-steps li::before { content: counter(paso, upper-roman); grid-row: 1 / span 2; display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border: 2px solid var(--border-accent); border-radius: 50%; font: 400 1.05rem/1 var(--font-display); color: var(--accent-hover); background: radial-gradient(circle at 50% 30%, rgba(212, 163, 77, .2), var(--surface)); }
.hb-steps h3 { margin: 0 0 .15rem; font: 400 1.15rem/1.25 var(--font-display); color: var(--text-strong); }
.hb-steps p { margin: 0; color: var(--muted); }

/* Jugador con sesión: tres bloques en una fila */
.hb-me { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); gap: 1.2rem; }
.hb-me > div { display: grid; gap: .5rem; align-content: start; }
.hb-me h3 { margin: 0; font: 400 1.1rem/1.2 var(--font-display); color: var(--text-strong); }
.hb-me p { margin: 0; color: var(--muted); font-size: var(--fs-sm); }
.hb-me .badge { justify-self: start; }
.hb-me .btn { justify-self: start; }

/* Novedades: una destacada y el resto en filas */
.hb-feat { display: grid; gap: .5rem; padding: 1.5rem 1.6rem; margin: -.1rem 0 .8rem; background: linear-gradient(160deg, var(--surface-2), var(--surface)); border: 1px solid var(--border-strong); border-radius: var(--radius); }
.hb-feat h3 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.5rem, 2.6vw, 1.9rem); line-height: 1.2; color: var(--text-strong); text-wrap: balance; }
.hb-feat h3 a { color: inherit; }
.hb-feat h3 a:hover { color: var(--accent-hover); }
.hb-feat p { margin: 0; max-width: 78ch; }
.hb-meta { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; color: var(--muted); font-size: var(--fs-sm); }
.hb-row { display: grid; grid-template-columns: 5.6rem minmax(0, 1fr); gap: .9rem; padding: .8rem 0; border-top: 1px solid var(--border); align-items: baseline; }
.hb-row time { color: var(--muted); font-size: var(--fs-sm); }
.hb-row h3 { margin: 0; font: 400 1.1rem/1.3 var(--font-display); color: var(--text-strong); }
.hb-row h3 a { color: inherit; }
.hb-row h3 a:hover { color: var(--accent-hover); }
.hb-row .n-pin { font: 700 var(--fs-xs)/1 system-ui, sans-serif; margin-left: .4rem; }

/* Lateral: reglas, Discord, normas y datos */
.hb-stamps { display: grid; gap: .5rem; margin-bottom: .9rem; }
.hb-stamp { display: flex; justify-content: space-between; align-items: center; gap: .6rem; padding: .55rem .85rem; background: rgba(0, 0, 0, .22); border: 1px solid var(--border-strong); border-radius: var(--radius-sm); color: var(--muted); font-size: var(--fs-sm); }
.hb-dl { display: grid; gap: .45rem; margin: .6rem 0 0; font-size: var(--fs-sm); }
.hb-dl > div { display: flex; justify-content: space-between; gap: .8rem; }
.hb-dl dt { color: var(--muted); }
.hb-dl dd { margin: 0; color: var(--text-strong); font-weight: 600; text-align: right; font-variant-numeric: lining-nums; }
.hb-more > summary { margin-top: .9rem; cursor: pointer; list-style: none; font-weight: 700; font-size: var(--fs-sm); color: var(--accent); }
.hb-more > summary::-webkit-details-marker { display: none; }
.hb-more > summary::after { content: ''; display: inline-block; width: 6px; height: 6px; margin-left: .5rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .18s ease; }
.hb-more[open] > summary::after { transform: translateY(1px) rotate(-135deg); }
.hb-more > summary:focus-visible { outline: 2px solid var(--accent-hover); outline-offset: 3px; border-radius: 4px; }
.hb-more h3 { margin: 1rem 0 0; font: 400 1.05rem/1.2 var(--font-display); color: var(--text-strong); }
.hb-discord { border-color: rgba(88, 101, 242, .5); background: linear-gradient(180deg, rgba(88, 101, 242, .09), var(--surface) 70%); }
.h-discord-online { display: flex; align-items: center; gap: .55rem; margin: 0 0 .6rem; color: #bfe3b2; font-weight: 700; }
.hb-rules { font-size: var(--fs-sm); }
.hb-rules ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.hb-rules li { position: relative; margin: 0; padding-left: 1.2rem; }
.hb-rules li::before { content: ''; position: absolute; left: .05rem; top: .55em; width: 6px; height: 6px; rotate: 45deg; background: var(--accent); }
.hb-rules strong { color: var(--text-strong); }

/* Cierre para visitantes */
.hb-final { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; padding: 1.5rem 1.7rem; }
.hb-final h2 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: var(--fs-h3); color: var(--text-strong); text-wrap: balance; }
.hb-final p { margin: .2rem 0 0; color: var(--muted); }
.hb-final .h-cta { margin-top: 0; }

/* ---------- Adaptativo por contenedor ---------- */
@container hb (max-width: 1000px) {
  .hb-body { grid-template-columns: 1fr; }
  .hb-bar { grid-template-columns: 1fr 1fr; }
  .hb-c, .hb-c:first-child { border-left: 0; border-top: 1px solid var(--border); padding-left: 1.3rem; }
  .hb-c:nth-child(-n+2) { border-top: 0; }
  .hb-c:nth-child(2) { border-left: 1px solid var(--border); }
  .hb-c-ip, .hb-c-clock { grid-column: 1 / -1; }   /* la dirección y las horas, a ancho completo: la IP nunca se recorta */
  .hb-c-clock { grid-template-columns: 1fr 1fr; }
}
@container hb (max-width: 560px) {
  .hb-c .h-ip code { white-space: normal; overflow-wrap: anywhere; }
  .hb-row { grid-template-columns: 1fr; gap: .1rem; }
  .hb-final { padding: 1.3rem 1.2rem; }
}

/* ---------- Canales del clan (DESIGN.md §31): tarjeta de video en la columna principal y horarios en la lateral ---------- */
/* Color de marca solo en el icono, como el borde azul de Discord */
.p-youtube { --pf: #ff5a52; }
.p-twitch  { --pf: #a97bff; }
.p-kick    { --pf: #53e02a; }
.ch-ico { flex: none; width: 20px; height: 20px; fill: var(--pf, var(--accent)); }
.ch-live { display: inline-flex; align-items: center; gap: .55rem; padding: .25rem .7rem .25rem .65rem; border: 1px solid rgba(214, 90, 79, .55); border-radius: 999px; background: rgba(60, 14, 10, .88); color: #ffd0c9; font-size: var(--fs-xs); font-weight: 800; white-space: nowrap; }
.ch-live .h-ember { width: 8px; height: 8px; background: #ff6a55; }
.ch-live .h-ember::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: rgba(255, 106, 85, .55); animation: ember 2.4s ease-out infinite; }
.cha { display: grid; gap: 1.2rem; grid-template-columns: minmax(0, 1fr); }
.cha .hb-h { margin-bottom: 0; }
.ch-screen, .ch-frame, .ch-off { display: grid; width: 100%; aspect-ratio: 16 / 9; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); }
.ch-frame { background: #000; }
.ch-screen { position: relative; place-items: center; overflow: hidden; background: radial-gradient(circle at 50% 40%, var(--surface-3), #000 75%); }
.ch-screen img, .ch-th img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ch-screen::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 7, 5, .35) 0%, transparent 30%, transparent 62%, rgba(10, 7, 5, .55) 100%); }
.ch-play { position: relative; z-index: 1; display: grid; place-items: center; width: 4.2rem; height: 4.2rem; rotate: 45deg; border: 2px solid var(--border-accent); border-radius: var(--radius-sm); background: rgba(15, 11, 9, .82); transition: background-color .18s ease, scale .18s cubic-bezier(.16, 1, .3, 1); }
.ch-play svg { width: 1.5rem; height: 1.5rem; rotate: -45deg; translate: 2px 0; fill: var(--accent-hover); }
.ch-screen:hover .ch-play { background: var(--accent); scale: 1.06; }
.ch-screen:hover .ch-play svg { fill: #0b0805; }
.ch-screen:focus-visible, .ch-vid:focus-visible, .ch-go:focus-visible { outline: 2px solid var(--accent-hover); outline-offset: 3px; }
.ch-screen .ch-live { position: absolute; z-index: 1; top: .7rem; left: .7rem; }
.ch-dur { position: absolute; z-index: 1; right: .45rem; bottom: .45rem; padding: .1rem .4rem; border-radius: 4px; background: rgba(0, 0, 0, .82); color: var(--text-strong); font-size: var(--fs-2xs); font-weight: 700; line-height: 1.5; font-variant-numeric: tabular-nums; }
.ch-off { place-content: center; justify-items: center; gap: .5rem; padding: 1.2rem; text-align: center; border-style: dashed; background: radial-gradient(circle at 50% 0%, rgba(212, 163, 77, .14), transparent 65%), rgba(0, 0, 0, .25); }
.ch-off .ch-ico { width: 34px; height: 34px; }
.ch-off strong { font: 400 var(--fs-h3)/1.25 var(--font-display); color: var(--text-strong); text-wrap: balance; }
.ch-off span { color: var(--muted); font-size: var(--fs-sm); }
.ch-cap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1.2rem; margin-top: .8rem; }
.ch-cap > div { flex: 1 1 16rem; min-width: 0; }
.ch-cap h3 { margin: 0; font: 400 1.25rem/1.3 var(--font-display); color: var(--text-strong); text-wrap: balance; overflow-wrap: anywhere; }
.ch-cap p { display: flex; align-items: center; gap: .45rem; margin: .2rem 0 0; color: var(--muted); font-size: var(--fs-sm); }
.ch-cap p .ch-ico { width: 15px; height: 15px; }
.ch-cap p a { text-decoration: underline; text-underline-offset: 2px; }
.ch-cap .ch-id { display: flex; align-items: center; gap: .8rem; }
.ch-id > div { min-width: 0; overflow-wrap: anywhere; }
.ch-vids { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 0; padding: 1.1rem 0 0; border-top: 1px solid var(--border); list-style: none; }
.ch-vids li { min-width: 0; margin: 0; }
.ch-vids .ch-vid { display: grid; gap: .45rem; align-content: start; color: var(--text); text-decoration: none; border-radius: var(--radius-sm); }
.ch-th { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #000; border: 1px solid var(--border); border-radius: var(--radius-sm); transition: border-color .18s ease; }
.ch-vid:hover .ch-th { border-color: var(--border-accent); }
.ch-vid b { align-self: start; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; font: 400 1rem/1.35 var(--font-display); color: var(--text-strong); }
.ch-vid:hover b { color: var(--accent-hover); }
.ch-vid small { align-self: start; color: var(--muted); font-size: var(--fs-xs); }
.ch-pfs { display: grid; margin: 0; padding: 0; list-style: none; }
.ch-row { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; gap: .1rem .75rem; align-items: center; margin: 0; padding: .8rem 0; border-top: 1px solid var(--border); }
.ch-row:first-child { border-top: 0; padding-top: 0; }
.ch-row strong { color: var(--text-strong); }
.ch-row .ch-go { grid-column: 3; text-decoration: none; }
a.ch-go:not(.ch-live) { display: inline-flex; align-items: center; min-height: 36px; font-weight: 700; font-size: var(--fs-sm); }
.ch-row a.ch-live:hover { border-color: #ff6a55; color: #fff; }
.ch-when { grid-column: 2 / -1; display: grid; gap: .1rem; color: var(--muted); font-size: var(--fs-sm); font-variant-numeric: lining-nums tabular-nums; }
.ch-when b { color: var(--text); font-weight: 600; }
.ch-when .me { color: var(--accent-hover); }
.ch-when .me[hidden] { display: none; }
.ch-pfs + .hb-note { margin: .6rem 0 0; }
@container hb (max-width: 560px) {
  .ch-vids { grid-template-columns: minmax(0, 1fr); gap: .8rem; }
  .ch-vids .ch-vid { grid-template-columns: 8.5rem minmax(0, 1fr); grid-template-rows: auto 1fr; gap: .25rem .75rem; }
  .ch-th { grid-row: 1 / span 2; align-self: start; }
  .ch-vid b { font-size: var(--fs-md); }
  .ch-play { width: 3.2rem; height: 3.2rem; }
  .ch-cap .ch-id { flex-basis: 100%; }   /* el botón baja: el título no se estrecha junto al avatar */
}
@media (prefers-reduced-motion: reduce) { .ch-live .h-ember::after { animation: none; } .ch-play { transition: none; } }

/* ---------- Noticias: listado y artículo (/news.php) y tarjetas ---------- */
.h-h2 { font-family: var(--font-display); font-weight: 400; font-size: var(--fs-h2); margin: 0; color: var(--text-strong); }
.n-card { display: flex; flex-direction: column; gap: .5rem; padding: 1.4rem 1.5rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); transition: border-color .18s ease; }
.n-card:hover, .n-card:focus-within { border-color: var(--border-accent); }
.n-card.is-featured { padding: 1.9rem 2rem; background: linear-gradient(160deg, var(--surface-2), var(--surface)); border-color: var(--border-strong); }
.n-meta { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; color: var(--muted); font-size: var(--fs-sm); }
.n-pin { color: var(--accent); font-weight: 700; }
.n-title { font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; line-height: 1.25; margin: 0; color: var(--text-strong); text-wrap: balance; }
.n-card.is-featured .n-title { font-size: clamp(1.7rem, 3vw, 2.2rem); }
.n-title a { color: inherit; }
.n-title a:hover { color: var(--accent-hover); }
.n-excerpt { margin: 0; color: var(--text); }
.n-read { margin-top: auto; font-weight: 700; font-size: var(--fs-sm); }
.n-empty { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .4rem 1.5rem; padding: 1.15rem 1.5rem; color: var(--muted); background: var(--surface); border: 1px dashed var(--border-strong); border-radius: var(--radius); }
.n-empty p { margin: 0; }
.n-page { padding-top: 1rem; }
.n-page .h-h2 { margin-bottom: 1.2rem; font-size: var(--fs-h1); } /* en /news.php es el h1 de la página */
.n-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 1.2rem; align-items: stretch; }
.n-grid > .n-card.is-featured { grid-column: 1 / -1; } /* las destacadas ocupan todo el ancho */
.n-article { max-width: 760px; margin: 0 auto; }
.n-article h1 { font-family: var(--font-display); font-weight: 400; font-size: var(--fs-h1); line-height: 1.1; margin: .4rem 0 1.4rem; color: var(--text-strong); text-wrap: balance; }
.n-article .prose { font-size: var(--fs-lg); }
.n-back { display: inline-block; margin-bottom: 1rem; font-weight: 700; }
