/* Noticias (noticias.html): cabecera cálida, noticia destacada, rejilla de tarjetas y pantalla de artículo */
@font-face { font-family: "Fiestas News"; src: url("landing-premium/assets/fonts/poppins-400.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Fiestas News"; src: url("landing-premium/assets/fonts/poppins-500.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Fiestas News"; src: url("landing-premium/assets/fonts/poppins-600.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Fiestas News"; src: url("landing-premium/assets/fonts/poppins-700.ttf") format("truetype"); font-weight: 700; font-display: swap; }

.nx { --nx-ink: #14110f; --nx-muted: #5f5851; --nx-line: #ece5dc; --nx-accent: #b4500c; --nx-paper: #fffdfa; --nx-card: #ffffff; --nx-cream: #fff1d2;
  color: var(--nx-ink); background: var(--nx-paper); font-family: "Fiestas News", system-ui, sans-serif; }
.nx-hero { padding: clamp(64px, 8vw, 112px) 20px clamp(40px, 5vw, 60px); text-align: center; background: radial-gradient(ellipse 62% 100% at 50% 8%, var(--nx-cream) 0%, color-mix(in srgb, var(--nx-cream) 55%, transparent) 45%, transparent 76%); }
.nx-kicker { margin: 0 0 14px; color: var(--nx-accent); font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.nx-hero h1 { max-width: 18ch; margin: 0 auto; color: var(--nx-ink); font-family: inherit; font-size: clamp(38px, 5.4vw, 66px); font-weight: 700; letter-spacing: -.045em; line-height: 1.04; }
.nx-hero p.nx-deck { max-width: 58ch; margin: 20px auto 0; color: var(--nx-muted); font-size: clamp(16px, 1.5vw, 19px); }

.nx-wrap { width: min(1140px, calc(100% - 40px)); margin-inline: auto; }
.nx-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.nx-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; padding: 0; border: 1px solid var(--nx-line); border-radius: 22px; background: var(--nx-card); color: inherit; font: inherit; text-align: left; box-shadow: 0 1px 2px rgba(20, 17, 15, .04); }
.nx-card:hover { border-color: color-mix(in srgb, var(--nx-ink) 34%, var(--nx-line)); }
.nx-card:focus-visible { outline: 3px solid #e8480f; outline-offset: 3px; }
.nx-media { display: block; position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: radial-gradient(420px 240px at 85% 0%, rgba(232, 72, 15, .55), transparent 68%), var(--nx-ink); }
.nx-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.nx-body { display: flex; flex: 1; flex-direction: column; gap: 12px; padding: 24px 24px 22px; }
.nx-category { color: var(--nx-accent); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.nx-title { display: block; font-size: 19px; font-weight: 700; letter-spacing: -.025em; line-height: 1.32; }
.nx-excerpt { display: -webkit-box; overflow: hidden; color: var(--nx-muted); font-size: 14.5px; line-height: 1.65; -webkit-box-orient: vertical; -webkit-line-clamp: 4; }
.nx-meta { display: block; margin-top: auto; padding-top: 6px; color: var(--nx-muted); font-size: 12.5px; }

/* Destacada: imagen a la izquierda, texto a la derecha */
.nx-card--featured { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); margin-bottom: 8px; }
.nx-card--featured .nx-media { aspect-ratio: auto; min-height: 390px; }
.nx-card--featured .nx-body { justify-content: center; gap: 16px; padding: clamp(28px, 3.4vw, 46px); }
.nx-card--featured .nx-title { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.2; }
.nx-card--featured .nx-meta { margin-top: 0; }
.nx-card--featured .nx-excerpt { font-size: 15.5px; }

.nx-status, .nx-credit { grid-column: 1 / -1; margin: 0; color: var(--nx-muted); font-size: 14px; text-align: center; }
.nx-credit { padding: 26px 0 0; }

/* Pantalla de artículo */
.nx-screen { width: min(860px, calc(100% - 40px)); margin-inline: auto; padding-top: clamp(28px, 5vw, 56px); }
.nx-back { margin: 0 0 clamp(24px, 4vw, 40px); }
.nx-back a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--nx-line); border-radius: 999px; background: var(--nx-card); color: var(--nx-ink); font-size: 14px; font-weight: 600; }
.nx-back a:hover { border-color: var(--nx-ink); }
.nx-back a:focus-visible, .nx-source:focus-visible { outline: 3px solid #e8480f; outline-offset: 3px; }
.nx-article h1 { margin: 14px 0 18px; font-family: inherit; font-size: clamp(30px, 4.6vw, 52px); font-weight: 700; letter-spacing: -.04em; line-height: 1.08; overflow-wrap: break-word; }
.nx-lead { margin: 0 0 16px; color: #5f5851; font-size: 18px; line-height: 1.65; }
.nx-article .nx-meta { margin: 0; padding: 0; font-size: 13.5px; }
.nx-article figure { margin: 30px 0 0; overflow: hidden; border-radius: 22px; box-shadow: 0 24px 54px -22px rgba(20, 17, 15, .42); }
.nx-article figure img { display: block; width: 100%; height: auto; }
.nx-note { margin: 30px 0 18px; color: #5f5851; font-size: 14px; }
.nx-source { display: inline-flex; align-items: center; min-height: 48px; padding: 0 24px; border-radius: 999px; background: #d4400c; color: #fff; font-size: 15px; font-weight: 600; }

@media (max-width: 940px) {
  .nx-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nx-card--featured { grid-template-columns: minmax(0, 1fr); }
  .nx-card--featured .nx-media { min-height: 0; aspect-ratio: 16 / 9; }
}
@media (max-width: 620px) {
  .nx-list { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .nx-body, .nx-card--featured .nx-body { padding: 20px; }
}
