/* Les fenêtres de recadrage gardent les mêmes proportions dans l’atelier
   et sur la page : object-position désigne ainsi la même zone de la photo. */
[data-page] main img { --fort-photo-ratio: 3 / 2; }
[data-page="histoire"] .wide-photo { height: auto; min-height: 0; }
[data-page="histoire"] .wide-photo img,
[data-page="histoire"] .history-route img,
[data-page="histoire"] img.history-evidence,
[data-page="index"] .discovery-cards img,
[data-page="index"] .proposal-history img,
[data-page="index"] .museum-image img,
[data-page="index"] .feature-news img,
[data-page="visiter"] .location img,
[data-page="musee"] .museum-photo-pair img,
[data-page="musee"] .museum-context img,
[data-page="soutenir"] .support-story img {
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  aspect-ratio: var(--fort-photo-ratio);
  box-sizing: content-box;
}
[data-page="histoire"] .wide-photo img { --fort-photo-ratio: 2 / 1; }
[data-page="histoire"] .history-route img { --fort-photo-ratio: 4 / 3; }
[data-page="histoire"] img.history-evidence { --fort-photo-ratio: 16 / 9; }
[data-page="index"] .discovery-cards img { --fort-photo-ratio: 5 / 4; }
[data-page="index"] .discovery-cards img { align-self: center; }
[data-page="index"] .feature-news img { --fort-photo-ratio: 2 / 1; }
[data-page="index"] .museum-image { min-height: 0; align-self: center; }
[data-page="index"] .museum-image img { --fort-photo-ratio: 6 / 5; }
[data-page="visiter"] .location img { --fort-photo-ratio: 4 / 3; }
[data-page="soutenir"] .support-story img { --fort-photo-ratio: 1 / 1; }
[data-page="musee"] .museum-photo-pair figure:first-child img { height: auto; }
[data-page="contact"] .arrival-card > div:first-child {
  height: auto;
  min-height: 0;
  aspect-ratio: 3 / 2;
  align-self: center;
}
