/* ==========================================================================
   PANEO ARMY — css/novedades.css
   Página /novedades (la genera herramientas/novedades.js). Aire de cartelera:
   tipografía de display del sitio, fotos grandes y fecha a la vista.
   ========================================================================== */
.nov { padding-top: 7rem; padding-bottom: 5rem; }

/* ---------- Cabecera ---------- */
.nov-cabecera { padding-bottom: 2.25rem; border-bottom: 3px solid var(--gold); }
.nov-migas { font-size: .8rem; color: var(--gray-2); margin-bottom: 1.5rem; }
.nov-migas a { color: var(--gray-1); text-decoration: underline; text-underline-offset: 3px; }
.nov-migas a:hover { color: var(--gold); }
.nov-migas span { margin: 0 .5rem; }
.nov-h1 {
  font-family: var(--font-display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(3.25rem, 13vw, 9.5rem); line-height: .95; color: var(--white);
}
.nov-bajada { margin-top: 1rem; max-width: 40rem; font-size: 1.15rem; line-height: 1.55; color: var(--gray-1); }

/* ---------- Lo último ---------- */
.nov-ultima {
  display: grid; grid-template-columns: 1.25fr 1fr; gap: 2.5rem; align-items: center;
  padding: 2.5rem 0; border-bottom: 1px solid var(--line);
}
.nov-ultima-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-2); border-radius: 4px; }
.nov-ultima-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.nov-ultima-media:hover img { transform: scale(1.03); }
.nov-ante { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: .8rem; }
.nov-ultima h2 {
  font-family: var(--font-display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(1.7rem, 3.4vw, 2.6rem); line-height: 1.12; margin-bottom: 1rem;
}
.nov-ultima h2 a:hover { color: var(--gold); }
.nov-ultima-texto > p:not(.nov-ante) { color: var(--gray-1); line-height: 1.65; margin-bottom: 1.4rem; }

/* ---------- Buscador ---------- */
.nov-herramientas {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
  padding-top: 2.5rem;
}
.nov-herramientas h2 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 1.7rem; }
.nov-buscar input {
  width: min(22rem, 100%); padding: .65rem 1rem; background: #26231c; color: var(--white);
  border: 1px solid rgba(231, 181, 52, .55); border-radius: 999px; font: inherit; font-size: .95rem;
}
.nov-buscar input::placeholder { color: #c9c4b8; opacity: 1; }
.nov-buscar input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 2px var(--gold); }

/* ---------- Grilla por año ---------- */
.nov-anio { margin-top: 2.25rem; }
.nov-anio[hidden], .nov-tarjeta[hidden] { display: none; }
.nov-anio-t { display: flex; align-items: baseline; gap: 1rem; border-bottom: 1px solid var(--gold); padding-bottom: .4rem; margin-bottom: 1.5rem; }
.nov-anio-t h3 { font-family: var(--font-display); font-weight: 400; font-size: 2.4rem; line-height: 1; color: var(--gold); }
.nov-anio-t span { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gray-2); }
.nov-grilla { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem 1.75rem; }
.nov-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-2); border-radius: 4px; margin-bottom: .85rem; }
.nov-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.nov-media:hover img { transform: scale(1.05); }
.nov-media.is-contain img, .nov-ultima-media.is-contain img { object-fit: contain; }
.nov-tarjeta time { display: block; font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: .4rem; }
.nov-tarjeta h4 { font-family: var(--font-body); font-weight: 700; font-size: 1.12rem; line-height: 1.3; text-transform: none; margin-bottom: .5rem; }
.nov-tarjeta h4 a { transition: color .2s; }
.nov-tarjeta h4 a:hover { color: var(--gold); }
.nov-tarjeta p { color: var(--gray-1); font-size: .92rem; line-height: 1.55; }
.nov-sin-resultados { margin-top: 2rem; color: var(--gray-1); }

@media (max-width: 960px) {
  .nov-grilla { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 719px) {
  .nov { padding-top: 6rem; }
  .nov-ultima { grid-template-columns: 1fr; gap: 1.5rem; }
  .nov-grilla { grid-template-columns: 1fr; }
  .nov-buscar, .nov-buscar input { width: 100%; }
}
