/* ==========================================================================
   Portada de Noticias — estilo periódico inspirado en lemonde.fr
   Respeta el lenguaje visual de single noticia (Georgia + naranja Canitas).
   ========================================================================== */

.np-wrap {
  --np-orange: #E35135;
  --np-navy:   #093860;
  --np-ink:    #111;
  --np-text:   #222;
  --np-muted:  #555;
  --np-line:   #e5e5e5;
  --np-bg:     #fff;

  max-width: 1200px;
  margin: 20px auto 60px;
  padding: 0 20px;
  color: var(--np-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
.np-wrap *, .np-wrap *::before, .np-wrap *::after { box-sizing: border-box; }
.np-wrap a { text-decoration: none; color: inherit; }

/* Header del listado */
.np-header { margin: 0 0 32px; padding-bottom: 18px; border-bottom: 3px solid var(--np-ink); }
.np-h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.4rem; line-height: 1.15;
  margin: 0 0 10px; color: var(--np-ink);
  font-weight: 800; letter-spacing: -0.5px;
}
.np-intro { color: var(--np-muted); font-size: 1rem; line-height: 1.55; max-width: 760px; }
.np-intro p { margin: 0 0 8px; }

/* Kickers (categoría) */
.np-kicker {
  display: inline-block;
  background: var(--np-orange); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 8px; border-radius: 3px;
  margin-bottom: 8px;
}
.np-kicker--sm { font-size: 10.5px; padding: 2px 7px; }

/* Meta (fecha) */
.np-meta { color: var(--np-muted); font-size: 0.85rem; margin-top: 8px; }
.np-meta--sm { font-size: 0.78rem; }

/* ═══════════ SECCIÓN GENÉRICA ═══════════ */
.np-section { margin: 0 0 48px; }
.np-section-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem; font-weight: 800;
  color: var(--np-ink);
  margin: 0 0 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--np-orange);
  display: inline-block;
  padding-right: 40px;
}

/* ═══════════ SECCIÓN 1: Lo destacado ═══════════ */
.np-section--lead { margin-bottom: 56px; }

.np-lead-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
}

/* HERO */
.np-hero { min-width: 0; }
.np-hero-link { display: block; }
.np-hero-img {
  margin-bottom: 16px;
  overflow: hidden;
}
.np-hero-img img {
  width: 100%; height: auto; display: block;
  aspect-ratio: 16/9; object-fit: cover;
  background: #f2f2f2;
  transition: opacity 0.2s;
}
.np-hero-link:hover .np-hero-img img { opacity: 0.92; }
.np-hero-text { padding: 0 4px; }
.np-hero-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.1rem; line-height: 1.18;
  font-weight: 800; color: var(--np-ink);
  margin: 8px 0 12px;
  letter-spacing: -0.3px;
}
.np-hero-link:hover .np-hero-title { color: var(--np-orange); }
.np-hero-lead {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem; line-height: 1.55;
  color: var(--np-muted);
  margin: 0;
}

/* SATÉLITES */
.np-satellites {
  display: flex; flex-direction: column;
  gap: 18px;
  border-left: 1px solid var(--np-line);
  padding-left: 28px;
}
.np-sat { padding-bottom: 18px; border-bottom: 1px solid var(--np-line); }
.np-sat:last-child { border-bottom: 0; padding-bottom: 0; }
.np-sat-link {
  display: grid; grid-template-columns: 1fr 100px;
  gap: 14px; align-items: start;
}
.np-sat-img { order: 2; }
.np-sat-text { order: 1; min-width: 0; }
.np-sat-img img {
  width: 100px; height: 75px;
  object-fit: cover; display: block;
  background: #f2f2f2;
}
.np-sat-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem; line-height: 1.25;
  font-weight: 800; color: var(--np-ink);
  margin: 4px 0 6px;
}
.np-sat-link:hover .np-sat-title { color: var(--np-orange); }
.np-sat-lead {
  font-size: 0.85rem; line-height: 1.4;
  color: var(--np-muted);
  margin: 0;
}

/* ═══════════ SECCIÓN 2: Más destacadas (grid) ═══════════ */
.np-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 24px;
}
.np-card { min-width: 0; }
.np-card-link { display: block; }
.np-card-img { margin-bottom: 12px; overflow: hidden; }
.np-card-img img {
  width: 100%; height: auto; display: block;
  aspect-ratio: 4/3; object-fit: cover;
  background: #f2f2f2;
  transition: opacity 0.2s;
}
.np-card-link:hover .np-card-img img { opacity: 0.92; }
.np-card-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem; line-height: 1.22;
  font-weight: 800; color: var(--np-ink);
  margin: 8px 0 8px;
}
.np-card-link:hover .np-card-title { color: var(--np-orange); }
.np-card-lead {
  font-size: 0.92rem; line-height: 1.45;
  color: var(--np-muted);
  margin: 0;
}

/* ═══════════ SECCIÓN 3: Últimas (texto) ═══════════ */
.np-text-list {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 40px;
}
.np-text-item {
  padding: 18px 0;
  border-bottom: 1px solid var(--np-line);
}
.np-text-item:nth-last-child(-n+2) { border-bottom: 0; }
.np-text-link { display: block; }
.np-text-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem; line-height: 1.25;
  font-weight: 800; color: var(--np-ink);
  margin: 4px 0 6px;
}
.np-text-link:hover .np-text-title { color: var(--np-orange); }
.np-text-lead {
  font-size: 0.92rem; line-height: 1.45;
  color: var(--np-muted);
  margin: 0 0 6px;
}

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 980px) {
  .np-lead-grid { grid-template-columns: 1fr; gap: 24px; }
  .np-satellites { border-left: 0; padding-left: 0; border-top: 1px solid var(--np-line); padding-top: 18px; }
  .np-hero-title { font-size: 1.7rem; }
  .np-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 18px; }
}

@media (max-width: 640px) {
  .np-wrap { padding: 0 14px; }
  .np-h1 { font-size: 1.8rem; }
  .np-hero-title { font-size: 1.45rem; }
  .np-hero-lead { font-size: 1rem; }
  .np-grid { grid-template-columns: 1fr; }
  .np-text-list { grid-template-columns: 1fr; gap: 0; }
  .np-text-item:nth-last-child(-n+2) { border-bottom: 1px solid var(--np-line); }
  .np-text-item:last-child { border-bottom: 0; }
  .np-sat-link { grid-template-columns: 1fr 90px; gap: 12px; }
  .np-sat-img img { width: 90px; height: 68px; }
  .np-section-title { font-size: 1.3rem; }
}
