/* Échelle de lecture commune : le zoom ne doit pas être compensé par des tailles en vw. */
body[data-page="histoire"] .shell,
body[data-page="histoire"] .header.proposal-header { max-width: none; }
body[data-page="histoire"] main { font-size: 1rem; }
body[data-page="histoire"] .page-heading h1 { font-size: 3.5rem; }
body[data-page="histoire"] main h2 { font-size: 2.5rem; }
body[data-page="histoire"] .page-heading > p:not(.eyebrow) { font-size: 1.125rem; max-width: 65ch; }
body[data-page="histoire"] .visit-layout > div > p:not(.eyebrow) { max-width: 65ch; }

/* Röchling : explications à gauche, photographie seule à droite. */
/* Largeur et marges héritées des sections voisines. */
[data-page="histoire"] #construction-fort > .rochling-layout, [data-page="histoire"] #essais-rochling > .rochling-layout {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  align-items: stretch;
  gap: 0;
  padding: 0;
  overflow: hidden;
}
[data-page="histoire"] .rochling-copy,
[data-page="histoire"] .rochling-media { min-width: 0; }
[data-page="histoire"] .rochling-copy { padding: 2.5rem; }
[data-page="histoire"] .rochling-copy h2 {
  margin-bottom: 22px;
  font-size: 2.5rem;
  line-height: 1.12;
}
[data-page="histoire"] .rochling-copy h3 {
  margin: 22px 0 9px;
  font: 700 1.125rem/1.4 Arial, sans-serif;
  color: #30472e;
}
[data-page="histoire"] .rochling-copy p:not(.eyebrow) {
  max-width: 65ch;
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
}
[data-page="histoire"] .rochling-copy p.lead { font-size: 1.125rem; line-height: 1.65; }
[data-page="histoire"] .rochling-copy p.rochling-detail { margin-top: 14px; }
[data-page="histoire"] .rochling-copy .proposal-book { margin-top: 24px; }
[data-page="histoire"] .rochling-media { position: relative; align-self: stretch; min-height: 0; }
[data-page="histoire"] .rochling-media img.history-evidence {
  position: absolute;
  inset: 10px 10px 10px 0;
  display: block;
  width: calc(100% - 10px);
  height: calc(100% - 20px);
  min-height: 0;
  max-height: none;
  margin: 0;
  border: 6px solid #8b9b7c;
  border-radius: 18px;
  aspect-ratio: auto;
  object-fit: cover;
  box-sizing: border-box;
}
@media (max-width: 1100px) {
  [data-page="histoire"] #construction-fort > .rochling-layout, [data-page="histoire"] #essais-rochling > .rochling-layout { grid-template-columns: minmax(0, 1fr); }
  [data-page="histoire"] .rochling-media { aspect-ratio: 3 / 2; }
  [data-page="histoire"] .rochling-media img.history-evidence { inset: 0 10px 10px; width: calc(100% - 20px); height: calc(100% - 10px); }
}
@media (max-width: 760px) {
  [data-page="histoire"] .rochling-copy { padding: 1.75rem 1.5rem; }



}

/* Construction : photo à gauche, texte seul responsable de la hauteur. */
[data-page="histoire"] #construction-fort > .rochling-layout {
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  grid-template-areas: "photo texte";
}
[data-page="histoire"] #construction-fort .rochling-copy { grid-area: texte; }
[data-page="histoire"] #construction-fort .construction-media {
  grid-area: photo;
  position: relative;
  display: block;
  min-height: 0;
  aspect-ratio: auto;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
[data-page="histoire"] #construction-fort .construction-media img {
  position: absolute;
  inset: 10px 0 44px 10px;
  width: calc(100% - 10px);
  height: calc(100% - 54px);
  min-height: 0;
  margin: 0;
  aspect-ratio: auto;
}
[data-page="histoire"] #construction-fort .construction-media figcaption {
  position: absolute;
  right: 6px;
  bottom: 10px;
  left: 16px;
  padding: 0;
  color: #40553a;
  font: 13px/1.5 Arial, sans-serif;
  text-align: center;
}
@media (max-width: 1100px) {
  [data-page="histoire"] #construction-fort > .rochling-layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "photo" "texte";
  }
  [data-page="histoire"] #construction-fort .construction-media { height: clamp(210px, 28vw, 300px); }
  [data-page="histoire"] #construction-fort .construction-media img { right: 10px; width: calc(100% - 20px); }
  [data-page="histoire"] #construction-fort .construction-media figcaption { right: 16px; }
}
/* Mémorial : carte commune, média contenu et commande dans la vidéo. */
[data-page="histoire"] #memorial > .tank-section {
  padding: 10px;
  gap: 0;
  grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);
}
[data-page="histoire"] #memorial .tank-media {
  min-width: 0;
  padding: 0;
  background: transparent;
  border-radius: 0;
}
[data-page="histoire"] #memorial .tank-video {
  position: relative;
  border: 6px solid #8b9b7c;
  border-radius: 18px;
  overflow: hidden;
  background: #243425;
}
[data-page="histoire"] #memorial .tank-video video { border-radius: 12px; }
[data-page="histoire"] #memorial .tank-video .surface-toggle {
  position: absolute;
  bottom: 14px;
  left: 14px;
  z-index: 1;
  margin: 0;
  max-width: calc(100% - 28px);
  background: #243b2de8;
  border-color: #e0e3d0a8;
}
[data-page="histoire"] #memorial .tank-media > p { margin: 8px 12px 0; color: #40553a; font: 13px/1.5 Arial, sans-serif; }
[data-page="histoire"] #memorial .rochling-copy > p:not(.eyebrow) { color: var(--card-ink); }
@media (max-width: 1100px) {
  [data-page="histoire"] #memorial > .tank-section { grid-template-columns: minmax(0, 1fr); }
}