/* Histoire & Odyssée — harmonisation non destructive des articles.
   Limité au corps des articles : aucune règle sur les pages, l'accueil ou l'éditeur. */
body.single-post .papier .reading { font-family:Georgia,serif;line-height:1.72; }
body.single-post .papier .reading :is(p,ul,ol,blockquote) { margin-block:0 1.15em; }
body.single-post .papier .reading :is(h2,h3,h4) { clear:both;line-height:1.22;overflow-wrap:anywhere; }
body.single-post .papier .reading h2 { margin:1.65em 0 .55em; }
body.single-post .papier .reading h3 { margin:1.4em 0 .5em; }
body.single-post .papier .reading :is(img,video,iframe) { max-width:100%;height:auto; }
body.single-post .papier .reading :is(figure,.wp-caption,.elementor-widget-image) { max-width:100%;box-sizing:border-box; }
body.single-post .papier .reading :is(figcaption,.wp-caption-text,.widget-image-caption) { font:400 .84rem/1.5 var(--sans,system-ui,sans-serif);color:var(--muted,#59646b);margin-top:.45rem; }
body.single-post .papier .reading :is(.elementor,.elementor-section,.elementor-container,.elementor-column,.elementor-widget-wrap,.e-con,.e-con-inner) { min-width:0;max-width:100%;box-sizing:border-box; }
/* Conserver les compositions Elementor existantes, y compris les carrousels. */
body.single-post .papier .reading :is(.elementor-image-carousel-wrapper,.swiper,.swiper-container,.elementor-image-gallery) { max-width:100%;min-width:0; }
body.single-post .papier .reading .swiper-slide img { max-width:100%;height:auto;object-fit:contain; }
body.single-post .papier .reading :is(.elementor-image-gallery,.gallery,.wp-block-gallery,.reportage-galerie-images) { margin-block:1.6rem; }
/* Groupes simples : uniquement des figures consécutives, sans texte intercalé. */
body.single-post .papier .reading .hoja-photos-groupe { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(.65rem,1.8vw,1.15rem);align-items:start;margin:1.65rem 0 2rem; }
body.single-post .papier .reading .hoja-photos-groupe > :is(figure,.wp-caption) { margin:0!important;width:100%!important;min-width:0; }
body.single-post .papier .reading .hoja-photos-groupe img { display:block;max-width:100%;width:100%;height:auto;object-fit:contain; }
body.single-post .papier .reading .hoja-photos-groupe figcaption { margin-top:.4rem; }
@media(max-width:480px) { body.single-post .papier .reading .hoja-photos-groupe { grid-template-columns:1fr; } }
