.timeline-page {
  --maxw: var(--page-max-w, 1400px);
  --gap: 16px;
  max-width: var(--maxw);
  margin: 0 auto 40px;
  padding: 0 8px;
  text-align: center;
}

.timeline-intro h1 {
  font-family: "EB Garamond", serif;
  font-weight: 600;
  font-size: clamp(1.8rem, 2vw + 1rem, 2.4rem);
  margin-bottom: .4em;
}

.timeline-intro p {
  font-size: 1.05rem;
  color: #555;
  max-width: 900px;
  margin: 0 auto 1.5em;
}

.timeline-images {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--gap);
}

.timeline-band {
  width: 100%;
  max-width: 1360px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #f9f9f9;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
  overflow: hidden;
}

.timeline-band img {
  display: block;
  width: 100%;
  height: auto;
}

/* ===== Bandeau titre standard ===== */
.page-hero {
  --maxw: var(--page-max-w, 1400px);
  --hero-bg: #ead6ad;            /* ton “sépia doux” possible */
  --hero-bd: #c7a66a;
  --rad: 12px;
  max-width: var(--maxw);
  margin: 12px auto 18px;
  padding: 0 8px;
}
.page-hero__inner {
  background: var(--hero-bg);
  border: 1px solid var(--hero-bd);
  border-radius: var(--rad);
  padding: 16px 20px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
}
.page-hero__title {
  margin: 0;
  font-family: "EB Garamond", serif;
  font-weight: 600;
  font-size: clamp(1.8rem, 2vw + 1rem, 2.4rem);
  line-height: 1.2;
}
.page-hero__subtitle {
  margin: 6px 0 0;
  font-size: clamp(1rem, .6vw + .9rem, 1.15rem);
  color: #333;
}

/* ===== Frise chronologique (12 bandes) ===== */
.timeline-page {
  --maxw: var(--page-max-w, 1400px);
  --gap: 16px;
  max-width: var(--maxw);
  margin: 0 auto 40px;
  padding: 0 8px;
  text-align: center;
}
.timeline-images {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
}

.timeline-band {
  width: 100%;
  max-width: 1360px;             /* largeur de tes images */
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #f9f9f9;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
  overflow: hidden;
}
.timeline-band img {
  display: block;
  width: 100%;
  height: auto;
}

/* Bandeau titre compact + texte plus grand */
.page-hero--compact .page-hero__inner {
  padding: 8px 14px;            /* ↓ moins haut */
}

.page-hero--compact .page-hero__title {
  font-size: clamp(2.1rem, 2.2vw + 1rem, 2.8rem); /* ↑ plus grand */
  line-height: 1.15;                                /* ↓ resserré */
  margin: 2px 0 0;
}

.page-hero--compact .page-hero__subtitle {
  font-size: clamp(1.15rem, 1vw + 1rem, 1.35rem); /* ↑ plus grand */
  line-height: 1.2;
  margin: 4px 0 2px;
}

/* Optionnel : réduire encore l’encombrement visuel */
.page-hero--compact {
  margin: 8px auto 14px;        /* ↓ moins d’espace autour */
}
.page-hero--compact .page-hero__inner {
  box-shadow: 0 3px 10px rgba(0,0,0,.06); /* ombre plus légère */
  border-radius: 10px;                     /* coins un peu moins ronds */
}

/* Pager 3 liens */
.g1418-pager{
  max-width: 1600px;
  margin: 12px auto 20px;
  display: flex; gap: 12px;
  justify-content: space-between; align-items: center;
  padding: 10px 12px;
  border: 1px solid #ddd; border-radius: 10px; background: #fff;
}
.g1418-pager a{ padding: 6px 10px; border-radius: 8px; text-decoration: none; border: 1px solid #bbb; }
.g1418-pager a.home{ font-weight: 600; }

/* Si le titre est très grand sur desktop, on équilibre un peu l'écart visuel */
@media (min-width: 1200px) {
  .page-hero--compact + .timeline-quote {
    margin-top: 6px;
  }
}

/* 1) Phrase plus grande, surtout sur grands écrans */
.timeline-quote{
  font-size: clamp(1.4rem, 1.1vw + 1.1rem, 2rem); /* ↑ bornes + pente */
  line-height: 1.35;
  color: #2f2f2f;
  font-weight: 500;
  margin: 8px auto 10px; /* ↓ espace sous le titre et ↓ avant les images */
  max-width: 1100px;     /* un peu plus large pour mieux “respirer” */
}

/* Bonus : au-delà de 1400/1600 px, on force une vraie grande taille */
@media (min-width: 1400px){
  .timeline-quote{ font-size: 1.9rem; }
}
@media (min-width: 1600px){
  .timeline-quote{ font-size: 2.1rem; }
}

/* 2) Réduire l’espace juste avant la première image */
.timeline-images{ margin-top: 6px; }     /* au cas où la section ait un écart */
.timeline-images .timeline-band{ margin: 0; } /* les <figure> n’ajoutent plus de marge */

