/*
 * Portada v7 - 2026-08-03
 *
 * Dirección reabierta por Carlos tras rechazar las versiones basadas
 * en filas de tarjetas. Esta hoja solo contiene estilos de portada;
 * styles-base.css sigue siendo la fuente del sistema global.
 *
 * La apertura conserva la referencia concreta de WIRED indicada por
 * Carlos: cinco ultimos articulos, principal central y cuatro piezas
 * laterales. Las dos filas comparten las lineas de la imagen central.
 * Bajo ella, todas las secciones comparten cabecera, numeracion y
 * separadores, con una jerarquia distinta para cada epoca.
 */

/* ===== Vocabulario compartido de la portada ===== */

.home-top-kicker,
.home-section-intro span,
.period-feature > p:first-child,
.home-people-intro > p:first-child,
.people-feature span,
.home-explore > p {
  color: var(--burgundy);
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.home-read-link,
.home-archive-all {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--burgundy);
  font-size: 0.7rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

.home-read-link span,
.home-archive-all span {
  font-size: 1.05rem;
  transition: transform 180ms ease;
}

.home-read-link:hover span,
.home-read-link:focus-visible span,
.home-archive-all:hover span,
.home-archive-all:focus-visible span {
  transform: translateX(4px);
}

.home-section-intro {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.home-section-intro > p {
  margin: 5px 0 0;
  color: var(--ink-muted);
  font-family: var(--serif);
  font-size: 0.9rem;
  font-variant-numeric: tabular-nums;
}

.home-section-intro span {
  display: block;
  margin-bottom: 8px;
}

.home-section-intro h2 {
  max-width: 650px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 3.2vw, 3rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

/* ===== Apertura: cinco articulos sobre dos filas compartidas ===== */

.home-top {
  margin-top: 32px;
  padding-bottom: 76px;
  border-bottom: 1px solid var(--line);
}

.home-top-grid {
  display: grid;
  grid-template-columns:
    minmax(220px, 0.95fr)
    minmax(0, 1.95fr)
    minmax(220px, 0.95fr);
  grid-template-rows: auto auto;
  align-items: stretch;
}

.home-top-lead {
  grid-column: 2;
  grid-row: 1 / 3;
  display: grid;
  grid-template-rows: subgrid;
  margin: 0;
  padding-inline: 24px;
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.home-top-lead-media {
  grid-row: 1;
  display: block;
  overflow: hidden;
  background: var(--paper-inset);
}

.home-top-lead-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 55%;
  transition: transform 240ms ease;
}

.home-top-lead-copy {
  grid-row: 2;
  padding-top: 24px;
}

.home-top-kicker {
  margin: 0 0 10px;
}

.home-top-lead-copy h2 {
  max-width: 18ch;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.3rem, 3.5vw, 3.25rem);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.035em;
  text-wrap: pretty;
}

.home-top-lead-copy h2 a,
.home-top-card a {
  color: inherit;
  text-decoration: none;
}

.home-top-lead-copy > p:not(.home-top-kicker) {
  max-width: 58ch;
  margin: 20px 0 0;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 0.98rem;
  line-height: 1.6;
}

.home-top-lead-copy small,
.home-top-card small {
  display: block;
  margin-top: 14px;
  color: var(--ink-muted);
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
}

.home-top-card {
  min-width: 0;
  align-self: start;
}

.home-top-card--left-top,
.home-top-card--left-bottom {
  grid-column: 1;
  padding-right: 24px;
}

.home-top-card--right-top,
.home-top-card--right-bottom {
  grid-column: 3;
  padding-left: 24px;
}

.home-top-card--left-top,
.home-top-card--right-top {
  grid-row: 1;
}

.home-top-card--left-bottom,
.home-top-card--right-bottom {
  grid-row: 2;
}

.home-top-card a {
  display: block;
}

.home-top-card figure {
  margin: 0 0 15px;
  overflow: hidden;
  background: var(--paper-inset);
}

.home-top-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 240ms ease;
}

.home-top-card h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.08rem, 1.45vw, 1.35rem);
  font-weight: 600;
  line-height: 1.26;
  text-wrap: pretty;
}

.home-top-card div > p:not(.home-top-kicker) {
  display: -webkit-box;
  margin: 14px 0 0;
  overflow: hidden;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 0.84rem;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.home-top-card a:hover h2,
.home-top-card a:focus-visible h2,
.home-top-lead-copy h2 a:hover,
.home-top-lead-copy h2 a:focus-visible {
  color: var(--burgundy);
}

.home-top-card a:hover img,
.home-top-card a:focus-visible img,
.home-top-lead:has(.home-top-lead-copy a:hover) .home-top-lead-media img,
.home-top-lead:has(.home-top-lead-copy a:focus-visible) .home-top-lead-media img {
  transform: scale(1.018);
}

/* ===== Seleccion editorial: sumario tipografico sin imagenes ===== */

.home-selection {
  display: grid;
  grid-template-columns: minmax(180px, 0.72fr) minmax(0, 3fr);
  gap: 48px;
  padding-top: 54px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--line);
}

.home-selection-intro > p {
  margin: 0 0 10px;
  color: var(--burgundy);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.home-selection-intro h2 {
  max-width: 10ch;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.1vw, 2rem);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.home-selection-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.selection-story {
  min-width: 0;
  padding: 2px 26px 0;
  border-left: 1px solid var(--line);
}

.selection-story:first-child {
  padding-left: 0;
  border-left: 0;
}

.selection-story:last-child {
  padding-right: 0;
}

.selection-story h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.18rem, 1.55vw, 1.45rem);
  font-weight: 600;
  line-height: 1.25;
  text-wrap: pretty;
}

.selection-story h3 a {
  color: inherit;
  text-decoration: none;
}

.selection-story h3 a:hover,
.selection-story h3 a:focus-visible {
  color: var(--burgundy);
}

.selection-story > p:not(.home-top-kicker) {
  max-width: 33ch;
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 0.86rem;
  line-height: 1.56;
}

.selection-story small {
  display: block;
  margin-top: 16px;
  color: var(--ink-muted);
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
}

/* ===== Archivo por épocas: tres composiciones, no tres columnas ===== */

.home-periods {
  margin-top: 104px;
  padding-top: 42px;
  border-top: 3px solid var(--ink);
}

.home-section-intro--periods {
  margin-bottom: 42px;
}

.period-story {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
  padding: 54px 0;
  border-top: 1px solid var(--line);
}

.period-story:last-child {
  border-bottom: 1px solid var(--line);
}

.period-label {
  grid-column: 1 / 3;
}

.period-label > span {
  display: block;
  margin-bottom: 18px;
  color: var(--burgundy);
  font-family: var(--serif);
  font-size: 0.88rem;
  font-style: italic;
}

.period-label h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.2;
}

.period-label a {
  display: inline-block;
  margin-top: 22px;
  color: var(--burgundy);
  font-size: 0.66rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

.period-label a:hover,
.period-label a:focus-visible {
  text-decoration: underline;
}

.period-media {
  display: block;
  overflow: hidden;
  background: var(--paper-inset);
}

.period-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 380ms ease;
}

.period-media:hover img,
.period-media:focus-visible img {
  transform: scale(1.02);
}

.period-feature > p {
  max-width: 36ch;
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 0.9rem;
  line-height: 1.58;
}

.period-feature > p:first-child {
  margin: 0 0 12px;
  font-family: var(--sans);
  line-height: 1.4;
}

.period-feature h4 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.3vw, 2.05rem);
  font-weight: 600;
  line-height: 1.18;
  text-wrap: pretty;
}

.period-feature h4 a {
  text-decoration: none;
}

.period-feature h4 a:hover,
.period-feature h4 a:focus-visible {
  color: var(--burgundy);
}

.period-rail {
  margin: 0;
  padding: 0;
  list-style: none;
}

.period-rail li {
  border-top: 1px solid var(--line);
}

.period-rail li:last-child {
  border-bottom: 1px solid var(--line);
}

.period-rail a {
  display: block;
  padding: 14px 0;
  font-family: var(--serif);
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
}

.period-rail a:hover,
.period-rail a:focus-visible {
  color: var(--burgundy);
}

.period-story--ancient .period-media {
  grid-column: 3 / 8;
}

.period-story--ancient .period-media img {
  aspect-ratio: 5 / 4;
}

.period-story--ancient .period-feature {
  grid-column: 8 / 11;
  padding-top: 8px;
}

.period-story--ancient .period-rail {
  grid-column: 11 / 13;
}

.period-story--modern {
  align-items: center;
  padding-block: 68px;
}

.period-story--modern .period-feature {
  grid-column: 3 / 9;
  padding-right: clamp(20px, 5vw, 72px);
}

.period-story--modern .period-feature h4 {
  max-width: 760px;
  font-size: clamp(2.7rem, 5vw, 4.8rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.period-story--modern .period-feature > p:not(:first-child) {
  max-width: 52ch;
  font-size: 1rem;
}

.period-story--modern .home-read-link {
  margin-top: 26px;
}

.period-story--modern .period-rail {
  grid-column: 9 / 13;
  counter-reset: period;
}

.period-rail--numbered li {
  counter-increment: period;
}

.period-rail--numbered a {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 12px;
  font-size: 1rem;
}

.period-rail--numbered a::before {
  color: var(--burgundy);
  content: "0" counter(period);
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 700;
}

.period-story--contemporary .period-rail {
  grid-column: 3 / 6;
  margin-top: 18px;
}

.period-story--contemporary .period-media {
  grid-column: 6 / 10;
}

.period-story--contemporary .period-media img {
  aspect-ratio: 4 / 5;
  object-position: center;
}

.period-story--contemporary .period-feature {
  grid-column: 10 / 13;
  align-self: end;
  padding-bottom: 8px;
}

/* ===== Personajes: una historia principal y un índice ===== */

.home-people {
  margin-top: 104px;
  padding: 82px 0 88px;
  background: var(--paper-muted);
}

.home-people-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.home-people-intro {
  grid-column: 1 / 5;
  padding-right: 24px;
}

.home-people-intro h2 {
  margin: 12px 0 0;
  font-family: var(--serif);
  font-size: clamp(2.7rem, 4vw, 4rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
}

.home-people-intro > p:not(:first-child) {
  max-width: 28ch;
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 1rem;
  line-height: 1.65;
}

.home-people-intro > a {
  display: inline-block;
  margin-top: 28px;
  color: var(--burgundy);
  font-size: 0.68rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

.home-people-intro > a:hover,
.home-people-intro > a:focus-visible {
  text-decoration: underline;
}

.people-feature {
  grid-column: 5 / 10;
}

.people-feature a {
  display: block;
  text-decoration: none;
}

.people-feature figure {
  margin: 0 0 20px;
  overflow: hidden;
}

.people-feature img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.02);
  transition: transform 380ms ease;
}

.people-feature span {
  display: block;
}

.people-feature h3 {
  max-width: 760px;
  margin: 10px 0 0;
  font-family: var(--serif);
  font-size: clamp(1.65rem, 2.8vw, 2.5rem);
  font-weight: 600;
  line-height: 1.16;
  text-wrap: pretty;
}

.people-feature a:hover img,
.people-feature a:focus-visible img {
  transform: scale(1.018);
}

.people-feature a:hover h3,
.people-feature a:focus-visible h3 {
  color: var(--burgundy);
}

.people-index {
  grid-column: 10 / 13;
  margin: 0;
  padding: 0;
  border-top: 2px solid var(--ink);
  list-style: none;
}

.people-index li {
  border-bottom: 1px solid var(--line);
}

.people-index a {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 12px;
  padding: 17px 0;
  font-family: var(--serif);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
}

.people-index span {
  color: var(--burgundy);
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 700;
}

.people-index a:hover,
.people-index a:focus-visible {
  color: var(--burgundy);
}

/* ===== Más del archivo: destacado + rejilla (2026-08-31) =====
 * Sustituye la lista plana por template-parts/archive/lead.php +
 * card.php, ya usados en categoria/tag/busqueda/autor/archivo desde
 * el 2026-08-10. Estilo base en style.css (.archive-lead-wrap,
 * .archive-lead, .archive-grid, .archive-card); aqui solo el acento
 * que distingue esta instancia (ver Encargo en protocolo_colaboracion.md).
 */

.home-channel--archive .archive-lead-wrap {
  padding-top: 0;
}

.home-channel--archive .archive-lead {
  padding-top: 32px;
  border-top: 2px solid var(--burgundy);
}

.home-explore {
  align-self: start;
  padding-top: 28px;
  border-top: 3px solid var(--ink);
}

.home-explore > p {
  margin: 0 0 10px;
}

.home-explore h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 600;
}

.home-explore nav {
  margin-top: 28px;
}

.home-explore nav a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: baseline;
  padding: 20px 0;
  border: 0;
  text-decoration: none;
}

.home-explore nav span {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.2;
}

.home-explore nav small {
  color: var(--ink-muted);
  font-size: 0.6rem;
  text-align: right;
  text-transform: uppercase;
}

.home-explore nav a:hover span,
.home-explore nav a:focus-visible span {
  color: var(--burgundy);
}

.newsletter-pending > p {
  margin: 0 0 16px;
  color: #e7e7e7;
  font-family: var(--serif);
  line-height: 1.55;
}

.newsletter-pending .load-more {
  border-color: #fff;
  color: #fff;
}

.newsletter-pending .load-more:hover,
.newsletter-pending .load-more:focus-visible {
  background: #fff;
  color: var(--prussian);
}

/* ===== Responsive ===== */

@media (max-width: 1080px) {
  .home-top-grid {
    grid-template-columns:
      minmax(190px, 0.9fr)
      minmax(0, 1.85fr)
      minmax(190px, 0.9fr);
  }

  .home-top-lead {
    padding-inline: 18px;
  }

  .home-top-card--left-top,
  .home-top-card--left-bottom {
    padding-right: 18px;
  }

  .home-top-card--right-top,
  .home-top-card--right-bottom {
    padding-left: 18px;
  }

  .home-top-card div > p:not(.home-top-kicker) {
    -webkit-line-clamp: 2;
  }

  .home-selection {
    grid-template-columns: minmax(160px, 0.65fr) minmax(0, 2.6fr);
    gap: 32px;
  }

  .selection-story {
    padding-inline: 20px;
  }

  .period-story {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }

  .period-label {
    grid-column: 1 / 3;
  }

  .period-story--ancient .period-media {
    grid-column: 3 / 7;
  }

  .period-story--ancient .period-feature {
    grid-column: 7 / 9;
  }

  .period-story--ancient .period-rail {
    grid-column: 3 / 9;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 12px;
  }

  .period-story--modern .period-feature {
    grid-column: 3 / 7;
  }

  .period-story--modern .period-rail {
    grid-column: 7 / 9;
  }

  .period-story--contemporary .period-rail {
    grid-column: 3 / 5;
  }

  .period-story--contemporary .period-media {
    grid-column: 5 / 7;
  }

  .period-story--contemporary .period-feature {
    grid-column: 7 / 9;
  }

  .home-people-intro {
    grid-column: 1 / 5;
  }

  .people-feature {
    grid-column: 5 / 13;
  }

  .people-index {
    grid-column: 5 / 13;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 24px;
  }

  .people-index li:nth-child(even) {
    padding-left: 24px;
    border-left: 1px solid var(--line);
  }
}

@media (max-width: 820px) {
  .home-top-grid,
  .home-archive {
    grid-template-columns: 1fr;
  }

  .home-selection {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .home-selection-intro h2 {
    max-width: 18ch;
  }

  .home-top-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
    column-gap: 24px;
  }

  .home-top-lead {
    grid-column: 1 / -1;
    grid-row: auto;
    display: block;
    margin-bottom: 32px;
    padding: 0 0 40px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    border-left: 0;
  }

  .home-top-lead-media img {
    aspect-ratio: 16 / 9;
  }

  .home-top-card--left-top,
  .home-top-card--right-top,
  .home-top-card--left-bottom,
  .home-top-card--right-bottom {
    grid-column: auto;
    grid-row: auto;
    padding-top: 0;
    padding-bottom: 32px;
  }

  .home-top-card--left-top,
  .home-top-card--left-bottom {
    padding-right: 12px;
    border-left: 0;
  }

  .home-top-card--right-top,
  .home-top-card--right-bottom {
    padding-left: 12px;
    border-left: 1px solid var(--line);
  }

  .period-story {
    grid-template-columns: 130px minmax(0, 1fr);
    gap: 28px;
  }

  .period-label {
    grid-column: 1;
  }

  .period-story--ancient .period-media,
  .period-story--modern .period-feature,
  .period-story--contemporary .period-media {
    grid-column: 2;
  }

  .period-story--ancient .period-feature,
  .period-story--ancient .period-rail,
  .period-story--modern .period-rail,
  .period-story--contemporary .period-feature,
  .period-story--contemporary .period-rail {
    grid-column: 2;
  }

  .period-story--ancient .period-rail {
    display: block;
  }

  .period-story--modern .period-feature h4 {
    font-size: clamp(2.6rem, 9vw, 4rem);
  }

  .period-story--contemporary .period-media {
    grid-row: 1 / span 2;
  }

  .period-story--contemporary .period-rail {
    margin-top: 0;
  }

  .home-people-grid {
    grid-template-columns: 1fr;
  }

  .home-people-intro,
  .people-feature,
  .people-index {
    grid-column: 1;
  }

  .home-people-intro {
    max-width: 620px;
    padding-right: 0;
  }

  .people-feature {
    margin-top: 22px;
  }

  .home-archive {
    gap: 72px;
  }
}

@media (max-width: 700px) {
  .home-top {
    margin-top: 28px;
    padding-bottom: 52px;
  }

  .home-top-grid {
    grid-template-columns: 1fr;
  }

  .home-top-lead-media img {
    aspect-ratio: 4 / 3;
  }

  .home-top-lead-copy h2 {
    font-size: 2.35rem;
    line-height: 1.06;
  }

  .home-top-card--left-top,
  .home-top-card--right-top,
  .home-top-card--left-bottom,
  .home-top-card--right-bottom {
    grid-column: 1;
    padding: 28px 0;
    border-bottom: 1px solid var(--line);
    border-left: 0;
  }

  .home-top-card:last-child {
    border-bottom: 0;
  }

  .home-selection {
    padding-top: 40px;
    padding-bottom: 46px;
  }

  .home-selection-list {
    grid-template-columns: 1fr;
  }

  .selection-story {
    padding: 24px 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .selection-story:first-child {
    padding-top: 0;
    border-top: 0;
  }

  .selection-story:last-child {
    padding-bottom: 0;
  }

  .home-periods,
  .home-people,
  .home-archive {
    margin-top: 76px;
  }

  .home-section-intro {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 14px;
  }

  .home-section-intro h2 {
    font-size: 2rem;
  }

  .period-story {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 42px 0;
  }

  .period-label,
  .period-story--ancient .period-media,
  .period-story--ancient .period-feature,
  .period-story--ancient .period-rail,
  .period-story--modern .period-feature,
  .period-story--modern .period-rail,
  .period-story--contemporary .period-rail,
  .period-story--contemporary .period-media,
  .period-story--contemporary .period-feature {
    grid-column: 1;
  }

  .period-label {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: baseline;
  }

  .period-label > span,
  .period-label a {
    margin: 0;
  }

  .period-label h3 br {
    display: none;
  }

  .period-story--modern {
    padding-block: 48px;
  }

  .period-story--modern .period-feature {
    padding-right: 0;
  }

  .period-story--modern .period-feature h4 {
    font-size: 3rem;
  }

  .period-story--contemporary .period-media {
    grid-row: auto;
    order: 2;
  }

  .period-story--contemporary .period-feature {
    order: 3;
  }

  .period-story--contemporary .period-rail {
    order: 4;
  }

  .home-people {
    padding: 62px 0 70px;
  }

  .home-people-intro h2 {
    font-size: 3.4rem;
  }

  .people-feature img {
    aspect-ratio: 4 / 3;
  }

  .people-index {
    grid-template-columns: 1fr;
  }

  .people-index li:nth-child(even) {
    padding-left: 0;
    border-left: 0;
  }

  .home-archive {
    padding-bottom: 72px;
  }

  .home-archive-list a {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .home-archive-list time {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-top-lead-media img,
  .home-top-card img,
  .period-media img,
  .people-feature img,
  .home-read-link span,
  .home-archive-all span {
    transition: none;
  }
}

/* ===== Portada v5: una sola gramatica editorial bajo la apertura ===== */

.home-editorial-section {
  margin-top: 96px;
}

.home-section-heading {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding-top: 22px;
  border-top: 3px solid var(--ink);
}

.home-section-number {
  margin: 4px 0 0;
  color: var(--ink-muted);
  font-family: var(--serif);
  font-size: 0.82rem;
  font-variant-numeric: tabular-nums;
}

.home-section-eyebrow,
.period-v5-heading p,
.period-v5-kicker,
.people-v5-directory > p {
  margin: 0 0 8px;
  color: var(--burgundy);
  font-family: var(--sans);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.home-section-heading h2 {
  max-width: 820px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.15rem, 3.4vw, 3.4rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

/* Seleccion: una cabecera completa seguida de tres entradas tipograficas. */

.home-selection {
  display: block;
  padding-top: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.home-selection-list {
  margin-top: 42px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.selection-story {
  padding-inline: 28px;
}

.selection-story h3 {
  max-width: 24ch;
  font-size: clamp(1.28rem, 1.7vw, 1.62rem);
}

/* Epocas: mismo vocabulario, tres niveles de densidad. */

.home-periods {
  padding-top: 0;
  border-top: 0;
}

.period-v5 {
  margin-top: 58px;
}

.period-v5-heading {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: end;
  padding: 16px 0 18px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

.period-v5-heading p {
  margin-bottom: 5px;
}

.period-v5-heading h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.period-v5-heading > a,
.people-v5-all {
  flex: none;
  color: var(--burgundy);
  font-size: 0.66rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

.period-v5-heading > a:hover,
.period-v5-heading > a:focus-visible,
.people-v5-all:hover,
.people-v5-all:focus-visible {
  text-decoration: underline;
}

.period-v5-body {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
  padding-top: 28px;
}

.period-v5-feature h4 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.75rem, 2.8vw, 2.65rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-wrap: pretty;
}

.period-v5-feature h4 a,
.people-v5-feature h3 a {
  color: inherit;
  text-decoration: none;
}

.period-v5-feature h4 a:hover,
.period-v5-feature h4 a:focus-visible,
.people-v5-feature h3 a:hover,
.people-v5-feature h3 a:focus-visible {
  color: var(--burgundy);
}

.period-v5-feature > p:not(.period-v5-kicker),
.people-v5-feature > p:not(.period-v5-kicker) {
  max-width: 42ch;
  margin: 16px 0 0;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 0.94rem;
  line-height: 1.6;
}

.period-v5-feature .home-read-link,
.people-v5-feature .home-read-link {
  margin-top: 22px;
}

.period-v5-media {
  display: block;
  overflow: hidden;
  background: var(--paper-inset);
}

.period-v5-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.02);
  transition: transform 240ms ease;
}

.period-v5-media:hover img,
.period-v5-media:focus-visible img {
  transform: scale(1.018);
}

.period-v5-index {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--ink);
  list-style: none;
}

.period-v5-index li {
  border-bottom: 1px solid var(--line);
}

.period-v5-index a {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 12px;
  padding: 14px 0;
  font-family: var(--serif);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.38;
  text-decoration: none;
}

.period-v5-index span {
  padding-top: 2px;
  color: var(--burgundy);
  font-family: var(--sans);
  font-size: 0.6rem;
  font-weight: 700;
}

.period-v5-index a:hover,
.period-v5-index a:focus-visible {
  color: var(--burgundy);
}

.period-v5--ancient .period-v5-feature {
  grid-column: 1 / 7;
  max-width: 610px;
  padding-right: 54px;
}

.period-v5--ancient .period-v5-feature h4 {
  font-size: clamp(2rem, 3.6vw, 3.45rem);
}

.period-v5--ancient .period-v5-index {
  grid-column: 8 / 13;
}

.period-v5--modern .period-v5-media {
  grid-column: 1 / 6;
  height: clamp(250px, 27vw, 350px);
}

.period-v5--modern .period-v5-feature {
  grid-column: 6 / 9;
  padding-top: 6px;
}

.period-v5--modern .period-v5-index {
  grid-column: 9 / 13;
}

.period-v5--contemporary .period-v5-body {
  grid-template-rows: auto auto;
}

.period-v5--contemporary .period-v5-media {
  grid-column: 1 / 7;
  grid-row: 1 / 3;
  height: clamp(340px, 35vw, 470px);
}

.period-v5--contemporary .period-v5-feature {
  grid-column: 7 / 10;
  grid-row: 1;
  padding-top: 6px;
}

.period-v5--contemporary .period-v5-index {
  grid-column: 7 / 13;
  grid-row: 2;
  align-self: end;
}

.period-v5-fact {
  grid-column: 10 / 13;
  grid-row: 1;
  padding: 18px 0 0 20px;
  border-top: 3px solid var(--burgundy);
  border-left: 1px solid var(--line);
}

.period-v5-fact strong {
  display: block;
  color: var(--burgundy);
  font-family: var(--serif);
  font-size: clamp(2.35rem, 3.5vw, 3.8rem);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.period-v5-fact p {
  max-width: 25ch;
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 0.85rem;
  line-height: 1.5;
}

/* Personajes: pieza tipografica e indice, sin una segunda imagen dominante. */

.home-people {
  padding: 0;
  background: transparent;
}

.home-people-v5 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
  margin-top: 44px;
}

.people-v5-feature {
  grid-column: 1 / 8;
  padding-right: clamp(24px, 5vw, 72px);
}

.people-v5-feature h3 {
  max-width: 15ch;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.25rem, 4.5vw, 4.7rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.045em;
  text-wrap: pretty;
}

.people-v5-directory {
  grid-column: 8 / 13;
}

.people-v5-directory .people-index {
  display: block;
  margin-top: 12px;
}

.people-v5-all {
  display: inline-flex;
  gap: 10px;
  margin-top: 22px;
}

/* Archivo: misma cabecera; destacado + rejilla y rail de orientacion. */

.home-archive-layout {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(260px, 3fr);
  gap: clamp(56px, 8vw, 112px);
  margin-top: 44px;
}

@media (max-width: 1080px) {
  .period-v5--modern .period-v5-media {
    grid-column: 1 / 6;
  }

  .period-v5--modern .period-v5-feature {
    grid-column: 6 / 10;
  }

  .period-v5--modern .period-v5-index {
    grid-column: 10 / 13;
  }

  .period-v5--contemporary .period-v5-media {
    grid-column: 1 / 7;
  }

  .period-v5--contemporary .period-v5-feature {
    grid-column: 7 / 13;
  }

  .period-v5-fact {
    grid-column: 7 / 10;
    grid-row: 2;
  }

  .period-v5--contemporary .period-v5-index {
    grid-column: 10 / 13;
    grid-row: 2;
  }
}

@media (max-width: 820px) {
  .home-editorial-section {
    margin-top: 78px;
  }

  .period-v5-body,
  .home-people-v5,
  .home-archive-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .period-v5--ancient .period-v5-feature,
  .period-v5--modern .period-v5-media,
  .period-v5--contemporary .period-v5-media,
  .people-v5-feature {
    grid-column: 1;
  }

  .period-v5--ancient .period-v5-index,
  .period-v5--modern .period-v5-feature,
  .period-v5--modern .period-v5-index,
  .period-v5--contemporary .period-v5-feature,
  .period-v5-fact,
  .period-v5--contemporary .period-v5-index,
  .people-v5-directory {
    grid-column: 2;
  }

  .period-v5--ancient .period-v5-feature,
  .people-v5-feature {
    padding-right: 24px;
  }

  .period-v5--modern .period-v5-index {
    grid-row: 2;
  }

  .period-v5--contemporary .period-v5-media {
    grid-row: 1 / 4;
  }

  .period-v5--contemporary .period-v5-feature {
    grid-row: 1;
  }

  .period-v5-fact {
    grid-row: 2;
    border-left: 0;
  }

  .period-v5--contemporary .period-v5-index {
    grid-row: 3;
  }

  .people-v5-feature h3 {
    font-size: clamp(2.3rem, 6vw, 3.8rem);
  }

  .home-archive-layout {
    gap: 64px;
  }

  .home-archive-main,
  .home-explore {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  .home-editorial-section {
    margin-top: 64px;
  }

  .home-section-heading {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px;
    padding-top: 16px;
  }

  .home-section-heading h2 {
    font-size: 2.2rem;
  }

  .home-selection-list,
  .period-v5-body,
  .home-people-v5,
  .home-archive-layout {
    grid-template-columns: 1fr;
  }

  .period-v5 {
    margin-top: 44px;
  }

  .period-v5-heading {
    align-items: start;
  }

  .period-v5-body {
    gap: 28px;
  }

  .period-v5--ancient .period-v5-feature,
  .period-v5--ancient .period-v5-index,
  .period-v5--modern .period-v5-media,
  .period-v5--modern .period-v5-feature,
  .period-v5--modern .period-v5-index,
  .period-v5--contemporary .period-v5-media,
  .period-v5--contemporary .period-v5-feature,
  .period-v5-fact,
  .period-v5--contemporary .period-v5-index,
  .people-v5-feature,
  .people-v5-directory {
    grid-column: 1;
    grid-row: auto;
  }

  .period-v5--ancient .period-v5-feature,
  .people-v5-feature {
    padding-right: 0;
  }

  .period-v5--modern .period-v5-media,
  .period-v5--contemporary .period-v5-media {
    height: auto;
  }

  .period-v5-media img {
    aspect-ratio: 4 / 3;
  }

  .period-v5-fact {
    padding-left: 0;
  }

  .people-v5-feature h3 {
    max-width: 18ch;
    font-size: 2.65rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .period-v5-media img {
    transition: none;
  }
}

/* ===== Portada v6: secciones directas de articulos ===== */

.home-rejected[hidden] {
  display: none !important;
}

.home-channel {
  margin-top: 76px;
}

.home-top + .home-channel {
  margin-top: 56px;
}

.home-channel-header {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: baseline;
  padding: 14px 0 16px;
  border-top: 3px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

.home-channel-header h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.2vw, 2.15rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.025em;
}

.home-channel-header > a {
  flex: none;
  color: var(--burgundy);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
  text-transform: uppercase;
}

.home-channel-header > a:hover,
.home-channel-header > a:focus-visible {
  text-decoration: underline;
}

.home-channel-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) repeat(2, minmax(0, 1fr));
  gap: 0;
  padding-top: 24px;
}

.channel-story {
  min-width: 0;
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.channel-story:first-child {
  padding-right: 24px;
  padding-left: 0;
  border-left: 0;
}

.channel-story:last-child {
  padding-right: 0;
}

.channel-story > a {
  display: block;
  color: inherit;
  text-decoration: none;
}

.channel-story figure {
  margin: 0 0 16px;
  overflow: hidden;
  background: var(--paper-inset);
}

.channel-story img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.02);
  transition: transform 240ms ease;
}

.channel-story--lead img {
  aspect-ratio: 16 / 9;
}

.channel-story h3 {
  max-width: 26ch;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.45vw, 1.38rem);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.012em;
  text-wrap: pretty;
}

.channel-story--lead h3 {
  max-width: 22ch;
  font-size: clamp(1.65rem, 2.5vw, 2.4rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.channel-story p {
  display: -webkit-box;
  max-width: 42ch;
  margin: 12px 0 0;
  overflow: hidden;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 0.84rem;
  line-height: 1.52;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.channel-story--lead p {
  max-width: 55ch;
  font-size: 0.92rem;
}

.channel-story small {
  display: block;
  margin-top: 13px;
  color: var(--ink-muted);
  font-size: 0.61rem;
  font-weight: 700;
  text-transform: uppercase;
}

.channel-story > a:hover h3,
.channel-story > a:focus-visible h3 {
  color: var(--burgundy);
}

.channel-story > a:hover img,
.channel-story > a:focus-visible img {
  transform: scale(1.018);
}

.home-channel-grid--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-channel-grid--four .channel-story:first-child {
  padding-right: 24px;
}

.home-channel-grid--four .channel-story img {
  aspect-ratio: 4 / 3;
}

.home-channel-grid--four .channel-story h3 {
  font-size: clamp(1.05rem, 1.35vw, 1.28rem);
}

.home-channel--archive {
  padding-bottom: 96px;
}

.home-channel--archive .home-archive-layout {
  margin-top: 26px;
}

.home-channel--archive .home-explore {
  padding-top: 15px;
  border-top-width: 2px;
}

.home-channel--archive .home-explore > p {
  margin-bottom: 6px;
}

.home-channel--archive .home-explore nav {
  margin-top: 12px;
}

@media (max-width: 900px) {
  .home-channel-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 34px;
  }

  .channel-story--lead {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: 24px;
    padding-right: 0;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--line);
  }

  .channel-story--lead > a {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: subgrid;
    gap: 24px;
  }

  .channel-story--lead figure {
    margin-bottom: 0;
  }

  .channel-story--lead div {
    align-self: end;
  }

  .channel-story:nth-child(2) {
    padding-right: 24px;
    padding-left: 0;
    border-left: 0;
  }

  .home-channel-grid--four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-channel-grid--four .channel-story {
    padding: 0 0 28px;
    border-bottom: 1px solid var(--line);
    border-left: 0;
  }

  .home-channel-grid--four .channel-story:nth-child(odd) {
    padding-right: 24px;
  }

  .home-channel-grid--four .channel-story:nth-child(even) {
    padding-left: 24px;
    border-left: 1px solid var(--line);
  }
}

@media (max-width: 700px) {
  .home-channel,
  .home-top + .home-channel {
    margin-top: 58px;
  }

  .home-channel-header {
    padding-block: 12px 13px;
  }

  .home-channel-header h2 {
    font-size: 1.65rem;
  }

  .home-channel-grid,
  .home-channel-grid--four {
    grid-template-columns: 1fr;
    padding-top: 20px;
  }

  .channel-story,
  .channel-story:first-child,
  .channel-story:nth-child(2),
  .home-channel-grid--four .channel-story,
  .home-channel-grid--four .channel-story:nth-child(odd),
  .home-channel-grid--four .channel-story:nth-child(even) {
    display: block;
    padding: 0 0 28px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    border-left: 0;
  }

  .channel-story + .channel-story {
    padding-top: 28px;
  }

  .channel-story--lead > a {
    display: block;
  }

  .channel-story figure,
  .channel-story--lead figure {
    margin-bottom: 15px;
  }

  .channel-story img,
  .channel-story--lead img {
    aspect-ratio: 16 / 9;
  }

  .channel-story h3,
  .home-channel-grid--four .channel-story h3 {
    max-width: 25ch;
    font-size: 1.35rem;
  }

  .channel-story--lead h3 {
    font-size: 1.75rem;
  }

  .home-channel--archive {
    padding-bottom: 72px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .channel-story img {
    transition: none;
  }
}

/* ===== Portada v7: seis piezas por seccion + rail editorial ===== */

/*
 * La secuencia visual no depende del orden heredado de la v6: primero
 * Contemporanea, despues Moderna y finalmente Antigua y Medieval.
 */
#contenido {
  display: flex;
  flex-direction: column;
}

.home-top { order: 10; }
.home-channel--contemporary { order: 20; }
.home-channel--modern { order: 30; }
.home-channel--ancient { order: 40; }
.home-channel--people { order: 50; }
.home-channel--archive { order: 60; }
.newsletter-band { order: 70; }

.home-channel--contemporary {
  margin-top: 56px;
}

/* En WordPress el DOM ya sigue el orden visual; conserva el ritmo de la v7.5. */
.home-channel--ancient {
  margin-top: 56px;
}

.home-channel-grid--six {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 34px;
}

.home-channel-grid--six .channel-story,
.home-channel-grid--six .channel-story:first-child,
.home-channel-grid--six .channel-story:nth-child(2),
.home-channel-grid--six .channel-story:last-child {
  grid-column: span 4;
  min-width: 0;
  padding: 0;
  border: 0;
}

/* La clase duplicada gana a :last-child y evita desplazar la sexta pieza. */
.home-channel-grid--six .channel-story.channel-story--second-row {
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.home-channel-grid--six .channel-story img,
.home-channel-grid--six .channel-story--lead img {
  aspect-ratio: 16 / 10;
}

.home-channel-grid--six .channel-story h3,
.home-channel-grid--six .channel-story--lead h3 {
  max-width: 27ch;
  font-size: clamp(1.16rem, 1.55vw, 1.42rem);
  line-height: 1.18;
  letter-spacing: -0.018em;
}

/* Moderna: dos piezas principales y cuatro compactas en la segunda fila. */
.home-channel-grid--modern .channel-story:nth-child(-n + 2) {
  grid-column: span 6;
}

.home-channel-grid--modern .channel-story:nth-child(-n + 2) h3 {
  max-width: 24ch;
  font-size: clamp(1.5rem, 2vw, 1.9rem);
  line-height: 1.08;
  letter-spacing: -0.028em;
  text-wrap: balance;
}

.home-channel-grid--modern .channel-story:nth-child(-n + 2) p {
  max-width: 48ch;
  font-size: 0.9rem;
}

.home-channel-grid--modern .channel-story:nth-child(n + 3) {
  grid-column: span 3;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.home-channel-grid--modern .channel-story:nth-child(n + 3) h3 {
  font-size: clamp(1.04rem, 1.3vw, 1.22rem);
}

/*
 * Contemporanea adopta el patron de History Today: contenido reciente
 * a la izquierda y una lista popular compacta como rail a la derecha.
 */
.home-channel-layout--with-rail {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(250px, 4fr);
  gap: 40px;
  padding-top: 24px;
}

.home-channel-layout--with-rail .home-channel-grid {
  padding-top: 0;
}

.home-channel-grid--contemporary .channel-story,
.home-channel-grid--contemporary .channel-story:first-child,
.home-channel-grid--contemporary .channel-story:nth-child(2),
.home-channel-grid--contemporary .channel-story:last-child {
  grid-column: span 6;
}

.home-channel-grid--contemporary .channel-story:nth-child(n + 3) {
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.home-most-viewed {
  min-width: 0;
  padding-top: 14px;
  border-top: 3px solid var(--ink);
}

.home-most-viewed header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: baseline;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.home-most-viewed header p,
.home-most-viewed header h3 {
  margin: 0;
}

.home-most-viewed header p {
  color: var(--burgundy);
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.home-most-viewed header h3 {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 1.8vw, 1.7rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.025em;
}

.home-most-viewed ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-most-viewed li {
  border-bottom: 1px solid var(--line);
}

.home-most-viewed li a {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 15px 0;
  color: inherit;
  text-decoration: none;
}

.home-most-viewed li img {
  display: block;
  width: 92px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(0.86) contrast(1.03);
}

.home-most-viewed li span {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
}

.home-most-viewed li b {
  color: var(--burgundy);
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1;
}

.home-most-viewed li strong {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.18;
  text-wrap: pretty;
}

.home-most-viewed li a:hover strong,
.home-most-viewed li a:focus-visible strong {
  color: var(--burgundy);
}


/* Personajes: cuatro retratos compactos y dos cierres horizontales. */
.home-channel-grid--people {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 34px;
}

.home-channel-grid--people .channel-story,
.home-channel-grid--people .channel-story:first-child,
.home-channel-grid--people .channel-story:nth-child(2),
.home-channel-grid--people .channel-story:last-child {
  grid-column: span 3;
  min-width: 0;
  padding: 0;
  border: 0;
}

.home-channel-grid--people .channel-story:nth-child(5),
.home-channel-grid--people .channel-story:nth-child(6) {
  grid-column: span 6;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.home-channel-grid--people .channel-story:nth-child(5) > a,
.home-channel-grid--people .channel-story:nth-child(6) > a {
  display: grid;
  grid-template-columns: minmax(170px, 0.86fr) minmax(0, 1.14fr);
  gap: 0;
  align-items: stretch;
  height: 100%;
  background: var(--paper-inset);
}

.home-channel-grid--people .channel-story:nth-child(5) figure,
.home-channel-grid--people .channel-story:nth-child(6) figure {
  margin-bottom: 0;
}

.home-channel-grid--people .channel-story:nth-child(5) img,
.home-channel-grid--people .channel-story:nth-child(6) img {
  height: 100%;
  min-height: 220px;
  max-height: 220px;
  aspect-ratio: auto;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.04);
}

.people-feature-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px 24px 20px;
}

.channel-story p.people-feature-kicker {
  display: block;
  margin: 0 0 10px;
  overflow: visible;
  color: var(--burgundy);
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  -webkit-line-clamp: unset;
}

.home-channel-grid--people .channel-story:nth-child(5) h3,
.home-channel-grid--people .channel-story:nth-child(6) h3 {
  max-width: 22ch;
  font-size: clamp(1.3rem, 1.75vw, 1.62rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.channel-story p.people-feature-summary {
  display: block;
  margin: 13px 0 0;
  overflow: visible;
  font-size: 0.82rem;
  line-height: 1.48;
  -webkit-line-clamp: unset;
}

.people-feature-copy small {
  margin-top: auto;
  padding-top: 16px;
}

@media (max-width: 1100px) {
  .home-channel-layout--with-rail {
    grid-template-columns: minmax(0, 7fr) minmax(240px, 5fr);
    gap: 30px;
  }

  .home-most-viewed li a {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 12px;
  }

  .home-most-viewed li img {
    width: 76px;
  }
}

@media (max-width: 900px) {
  .home-channel-grid--six,
  .home-channel-grid--people {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-channel-grid--six .channel-story,
  .home-channel-grid--six .channel-story:first-child,
  .home-channel-grid--six .channel-story:nth-child(2),
  .home-channel-grid--six .channel-story:last-child,
  .home-channel-grid--modern .channel-story:nth-child(3),
  .home-channel-grid--modern .channel-story:nth-child(4),
  .home-channel-grid--modern .channel-story:nth-child(5),
  .home-channel-grid--modern .channel-story:nth-child(6),
  .home-channel-grid--contemporary .channel-story,
  .home-channel-grid--contemporary .channel-story:first-child,
  .home-channel-grid--contemporary .channel-story:nth-child(2),
  .home-channel-grid--contemporary .channel-story:last-child,
  .home-channel-grid--people .channel-story,
  .home-channel-grid--people .channel-story:first-child,
  .home-channel-grid--people .channel-story:nth-child(2),
  .home-channel-grid--people .channel-story:last-child,
  .home-channel-grid--people .channel-story:nth-child(5),
  .home-channel-grid--people .channel-story:nth-child(6) {
    grid-column: span 1;
    display: block;
    padding: 0;
    border: 0;
  }

  .home-channel-grid--six .channel-story:nth-child(n + 3),
  .home-channel-grid--people .channel-story:nth-child(n + 3) {
    padding-top: 26px;
    border-top: 1px solid var(--line);
  }

  .home-channel-grid--modern .channel-story--wide > a,
  .home-channel-grid--people .channel-story:nth-child(5) > a,
  .home-channel-grid--people .channel-story:nth-child(6) > a {
    display: block;
  }

  .home-channel-grid--modern .channel-story--wide figure {
    margin-bottom: 16px;
  }

  .home-channel-grid--people .channel-story:nth-child(5) figure,
  .home-channel-grid--people .channel-story:nth-child(6) figure {
    margin-bottom: 0;
  }

  .home-channel-grid--people .channel-story:nth-child(5) img,
  .home-channel-grid--people .channel-story:nth-child(6) img {
    height: auto;
    min-height: 0;
    max-height: none;
    aspect-ratio: 16 / 10;
  }

  .people-feature-copy {
    padding: 20px;
  }

  .home-channel-layout--with-rail {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .home-most-viewed ol {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
  }
}

@media (max-width: 700px) {
  .home-channel-grid--six,
  .home-channel-grid--people {
    grid-template-columns: 1fr;
    row-gap: 0;
  }

  .home-channel-grid--six .channel-story,
  .home-channel-grid--six .channel-story:first-child,
  .home-channel-grid--six .channel-story:nth-child(2),
  .home-channel-grid--six .channel-story:last-child,
  .home-channel-grid--six .channel-story:nth-child(n + 2),
  .home-channel-grid--people .channel-story,
  .home-channel-grid--people .channel-story:first-child,
  .home-channel-grid--people .channel-story:nth-child(2),
  .home-channel-grid--people .channel-story:last-child,
  .home-channel-grid--people .channel-story:nth-child(n + 2) {
    grid-column: auto;
    padding: 0 0 28px;
    border-top: 0;
    border-bottom: 1px solid var(--line);
  }

  .home-channel-grid--six .channel-story + .channel-story,
  .home-channel-grid--people .channel-story + .channel-story {
    padding-top: 28px;
  }

  .home-channel-layout--with-rail {
    padding-top: 20px;
  }

  .home-most-viewed {
    margin-top: 8px;
  }

  .home-most-viewed header {
    display: block;
  }

  .home-most-viewed header p {
    margin-bottom: 7px;
  }

  .home-most-viewed ol {
    grid-template-columns: 1fr;
  }

  .home-most-viewed li a {
    grid-template-columns: 88px minmax(0, 1fr);
  }

  .home-most-viewed li img {
    width: 88px;
  }
}
