/* ==========================================================================
   Reflexiones  (/blog, la lista)  — `molina.blog/lista`
   --------------------------------------------------------------------------
   Reestiliza la lista del blog al lenguaje crema+oro del mockup: fondo crema
   a sangre, cabecera editorial (antetítulo, título e intro), chips de tema en
   píldora, y la «reflexión destacada» en grande. Sobre los estilos que el
   blog comparte con /prensa (012-blog.css): todo va con más especificidad,
   dentro de `.rf-lista`. Reutiliza los tokens --sh- de 024.
   ========================================================================== */

/* Fondo crema a sangre: lo pinta el <main> en la vista del blog. */
.cid-vista.es-crema { background: var(--sh-crema); }

.rf-lista { max-width: var(--ancho); margin: 0 auto; padding: clamp(40px, 5vw, 72px) 24px clamp(64px, 7vw, 96px); }

/* --- Cabecera editorial (reemplaza la banda azul) -------------------------- */
.rf-lista .hm-prensa-cabeza {
  background: none;
  color: var(--sh-tinta);
  padding: 0;
  border-radius: 0;
  align-items: flex-end;
  gap: clamp(24px, 4vw, 64px);
  margin-bottom: 8px;
}
.rf-antetitulo {
  margin: 0 0 14px;
  font-family: var(--texto);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--sh-oro);
}
.rf-lista .hm-prensa-cabeza h1 {
  font-family: var(--display);
  font-weight: 400;
  color: var(--sh-tinta);
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.03;
}
.rf-lista .hm-prensa-cabeza .rf-intro {
  margin: 0 0 8px;
  max-width: 34em;
  font-family: var(--texto);
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.7;
  color: var(--sh-texto);
}
@media (max-width: 780px) {
  .rf-lista .hm-prensa-cabeza { flex-direction: column; align-items: flex-start; }
}

/* --- Chips de tema en píldora ---------------------------------------------- */
.rf-lista .hm-prensa-temas {
  display: flex;
  flex-wrap: wrap;
  grid-template-columns: none;
  gap: 10px;
  margin: 30px 0 18px;
}
.rf-lista .hm-prensa-temas button {
  min-height: 0;
  padding: 9px 18px;
  border: 1px solid var(--sh-borde);
  border-radius: 999px;
  background: #fff;
  color: var(--sh-tinta);
  box-shadow: none;
}
.rf-lista .hm-prensa-temas button:hover { transform: none; box-shadow: none; border-color: var(--sh-oro); color: var(--sh-oro); }
.rf-lista .hm-prensa-temas .es-elegido { background: var(--sh-oro); border-color: var(--sh-oro); color: #fff; }
.rf-lista .hm-prensa-temas .es-apagado { opacity: .5; }
.rf-lista .hm-tema-icono { display: none; }
.rf-lista .hm-tema-nombre { font-size: 14px; font-weight: 600; }
.rf-lista .hm-tema-n { font-size: 12px; font-weight: 700; opacity: .5; }
.rf-lista .hm-prensa-temas .es-elegido .hm-tema-n { opacity: .8; }

/* --- Reflexión destacada --------------------------------------------------- */
.rf-destacada {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(24px, 3vw, 48px);
  align-items: stretch;
  margin: 10px 0 40px;
  background: #fff;
  border: 1px solid var(--sh-borde);
  border-radius: 16px;
  overflow: hidden;
  color: inherit;
  box-shadow: 0 30px 60px -44px rgba(30, 50, 92, .45);
  transition: transform .25s, box-shadow .25s;
}
.rf-destacada:hover { transform: translateY(-3px); box-shadow: 0 34px 64px -38px rgba(30, 50, 92, .5); }
.rf-destacada-foto { min-height: 260px; background: var(--sh-crema-2); }
.rf-destacada-foto img { width: 100%; height: 100%; object-fit: cover; }
.rf-destacada-texto {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: clamp(28px, 3vw, 44px);
}
.rf-label {
  font-family: var(--texto);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--sh-oro);
}
.rf-destacada-texto h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(26px, 2.6vw, 36px);
  line-height: 1.1;
  color: var(--sh-tinta);
}
.rf-destacada-resumen {
  font-family: var(--texto);
  font-size: 16px;
  line-height: 1.7;
  color: var(--sh-texto);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rf-destacada-meta {
  font-family: var(--texto);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--sh-texto);
}
.rf-leer {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  font-family: var(--texto);
  font-weight: 700;
  font-size: 14px;
  color: var(--sh-oro);
}
.rf-leer svg { width: 17px; height: 17px; }

@media (max-width: 720px) {
  .rf-destacada { grid-template-columns: 1fr; }
  .rf-destacada-foto { aspect-ratio: 16 / 10; min-height: 0; }
}

/* --- Rejilla de tarjetas: más columnas en pantallas anchas ----------------- */
.rf-lista .hm-blog-rejilla { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1200px) { .rf-lista .hm-blog-rejilla { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px)  { .rf-lista .hm-blog-rejilla { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px)  { .rf-lista .hm-blog-rejilla { grid-template-columns: 1fr; } }
