/**
 * @file svps-content.css
 * Estilos de contenido: retícula de Noticias y franjas del Home.
 * CSS de runtime (preprocess: false).
 */

/* ===== Páginas legales: jerarquía compacta para lectura prolongada ===== */
.svps-legal-page main h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
}

.svps-legal-page main h2 {
  font-size: clamp(1.375rem, 2vw, 2rem);
  line-height: 1.2;
}

/* ===== Franja de sección (antetítulo + título + "ver todas") ===== */
.view-noticias {
  padding-block: 3rem;
}

.svps-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
}

.svps-section-title {
  margin: 0 0 1.5rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.view-noticias .more-link {
  margin-top: 1.75rem;
}

.view-noticias .more-link a {
  font-weight: 600;
  color: var(--primary);
}

.view-noticias .more-link a:hover {
  text-decoration: underline;
}

/* ===== Noticias: retícula responsiva (1 → 2 → 4 columnas) ===== */
.view-noticias .view-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .view-noticias .view-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .view-noticias .view-content {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Cada fila estira la tarjeta a lo alto y ancho de la celda */
.view-noticias .views-row {
  display: flex;
}

.view-noticias .views-row > * {
  width: 100%;
}
