/* Shared reading hierarchy. Card, navigation and footer typography retain their own scales. */
:root{--mag-h1:clamp(2rem,3.4vw,2.75rem);--mag-h2:clamp(1.5rem,2.5vw,1.75rem);--mag-h3:clamp(1.375rem,2vw,1.5rem);--mag-h4:1.3125rem;--mag-h5:1.1875rem;--mag-h6:1.15625rem}
.wp-site-blocks .mag-main>h1.wp-block-post-title{font-size:var(--mag-h1);line-height:1.2}
/* !important replaces legacy Elementor/inline 18px headings, never heading margins or visibility. */
.mag-main h2:not(:where(.mag-exhibitions *, .mag-branches *, .mag-news-archive-grid *, .mag-projects-grid *, .mag-artifact-archive-grid *, .mag-publications *, .mag-partners *, .mag-education-grid *, .mag-news *, .mag-artifact *, .mag-department-card *, .mag-hours-card *, .wp-block-query *)){font-size:var(--mag-h2)!important;line-height:1.25;font-weight:700}
.mag-main h3:not(:where(.mag-exhibitions *, .mag-branches *, .mag-news-archive-grid *, .mag-projects-grid *, .mag-artifact-archive-grid *, .mag-publications *, .mag-partners *, .mag-education-grid *, .mag-news *, .mag-artifact *, .mag-department-card *, .mag-hours-card *, .wp-block-query *)){font-size:var(--mag-h3)!important;line-height:1.25;font-weight:700}
.mag-main h4:not(:where(.mag-exhibitions *, .mag-branches *, .mag-news-archive-grid *, .mag-projects-grid *, .mag-artifact-archive-grid *, .mag-publications *, .mag-partners *, .mag-education-grid *, .mag-news *, .mag-artifact *, .mag-department-card *, .mag-hours-card *, .wp-block-query *)){font-size:var(--mag-h4)!important;line-height:1.25;font-weight:700}
.mag-main h5:not(:where(.mag-exhibitions *, .mag-branches *, .mag-news-archive-grid *, .mag-projects-grid *, .mag-artifact-archive-grid *, .mag-publications *, .mag-partners *, .mag-education-grid *, .mag-news *, .mag-artifact *, .mag-department-card *, .mag-hours-card *, .wp-block-query *)){font-size:var(--mag-h5)!important;line-height:1.25;font-weight:700}
.mag-main h6:not(:where(.mag-exhibitions *, .mag-branches *, .mag-news-archive-grid *, .mag-projects-grid *, .mag-artifact-archive-grid *, .mag-publications *, .mag-partners *, .mag-education-grid *, .mag-news *, .mag-artifact *, .mag-department-card *, .mag-hours-card *, .wp-block-query *)){font-size:var(--mag-h6)!important;line-height:1.25;font-weight:700}
