/* Stage 24: shared reading typography for historical content. */
:root{--jgp-reading-size:16px;--jgp-reading-leading:1.75;--jgp-paragraph-gap:22px;--jgp-section-gap:34px}
/* All page bodies use the same readable font; marketing components retain their own layouts. */
body{font-family:'Open Sans',Arial,sans-serif}
/* The WordPress-derived prose is the main visual inconsistency. */
main:not(:has(.concept-home)) .prose{font-family:'Open Sans',Arial,sans-serif;font-size:var(--jgp-reading-size);line-height:var(--jgp-reading-leading);color:#435460}
main:not(:has(.concept-home)) .prose p{margin:0 0 var(--jgp-paragraph-gap)}
main:not(:has(.concept-home)) .prose h2{font-size:clamp(25px,2.5vw,30px);font-weight:600;line-height:1.3;margin:var(--jgp-section-gap) 0 18px;color:#233745}
main:not(:has(.concept-home)) .prose h3{font-size:21px;font-weight:600;line-height:1.35;margin:28px 0 14px;color:#233745}
main:not(:has(.concept-home)) .prose figure{margin:30px 0 25px}
main:not(:has(.concept-home)) .prose img{max-width:100%;height:auto}
main:not(:has(.concept-home)) .prose figcaption,main:not(:has(.concept-home)) .prose .wp-caption-text{font-size:14px;line-height:1.55;color:#61717b;margin:10px 0 18px}
main:not(:has(.concept-home)) .prose ul,main:not(:has(.concept-home)) .prose ol{margin:12px 0 24px;padding-left:27px}
main:not(:has(.concept-home)) .prose li{margin:0 0 9px}
main:not(:has(.concept-home)) .page-heading{padding-top:58px;padding-bottom:34px}
main:not(:has(.concept-home)) .page-heading h1{font-weight:600;line-height:1.2;color:#233745}
/* Improve continuity between figures and their accompanying descriptions. */
main:not(:has(.concept-home)) .prose figure + p{margin-top:13px}
/* Space editorial photographs as complete units, including their captions. */
main .prose figure,main .prose .wp-caption{display:block;margin:38px 0 40px;max-width:100%}
main .prose figure img,main .prose .wp-caption img{display:block;margin:0;max-width:100%;height:auto}
main .prose figure figcaption,main .prose .wp-caption .wp-caption-text{display:block;margin:6px 0 0;font-size:13px;line-height:1.5;color:#61717b}
/* Imported articles also contain unwrapped photographs. */
main .prose > img,main .prose > a > img{display:block;margin:36px 0 38px;max-width:100%;height:auto}
main .prose p:has(> img),main .prose p:has(> a > img){margin-top:36px;margin-bottom:38px}
main .prose p > img,main .prose p > a > img{display:block;margin:0;max-width:100%;height:auto}
main .prose figure + p,main .prose .wp-caption + p{margin-top:0}
/* Hero photos and Gallery cards retain their approved bespoke layouts. */
/* Avoid excessive gutters on narrow screens; never force horizontal scrolling. */
@media(max-width:780px){main:not(:has(.concept-home)) .content-grid{gap:24px}main:not(:has(.concept-home)) .prose{font-size:16px;line-height:1.7}main:not(:has(.concept-home)) .page-heading{padding-top:36px;padding-bottom:22px}}
