/* One restrained, Lato-based scale across public interior pages.
   The main homepage hero, header and logged-in editor retain their own scales. */
:root{--portal-body-font:16px;--portal-heading-main:clamp(29px,3vw,38px);--portal-heading-section:clamp(22px,2vw,27px)}
body:not(.account-page) main:is(.content-page,.community-page,.mass-hours-page){font-size:var(--portal-body-font);line-height:1.6}
body:not(.account-page) main:is(.content-page,.community-page,.mass-hours-page)>h1:not(.visually-hidden){font:400 var(--portal-heading-main)/1.2 Lato,Arial,sans-serif;margin:9px 0 20px;letter-spacing:0}
body:not(.account-page) main:is(.content-page,.community-page,.mass-hours-page) :is(.mass-hours-section,.detail-card,.editor-box,.news-reader,.news-archive-card)>h2,
body:not(.account-page) main:is(.content-page,.community-page,.mass-hours-page)>.section-heading h2{font:400 var(--portal-heading-section)/1.3 Lato,Arial,sans-serif}
body:not(.account-page) main:is(.content-page,.community-page,.mass-hours-page) :is(p,li){line-height:1.6}
body:not(.account-page) main:is(.content-page,.community-page,.mass-hours-page) :is(input,select,textarea,button){font-family:Lato,Arial,sans-serif}
body:not(.account-page) main:is(.content-page,.community-page,.mass-hours-page) :is(.news-meta,.preview-label,.daily-load-status){font-size:14px}
@media(max-width:600px){:root{--portal-body-font:16px;--portal-heading-main:clamp(27px,7vw,33px);--portal-heading-section:22px}
body:not(.account-page) main:is(.content-page,.community-page,.mass-hours-page)>h1:not(.visually-hidden){margin:7px 0 16px}}

/* Editorial prose in the O parafii section uses the weekly reading scale.
   Keep the navigation, metadata, controls and explicit rich-text alignment intact. */
body:not(.account-page) main.parish-about-page{--parish-prose-font:20px}
body:not(.account-page) main.parish-about-page :is(.history-row-text p,.history-row-text li,.mass-hours-section p,.mass-hours-section li,.detail-card p,.detail-card li,.news-plain-body,.news-reader-copy p,.community-body p,.clergy-group-description,.clergy-intro p):not(.news-meta):not(.clergy-tribute-text):not(.rich-align-center):not(.rich-align-right):not(.rich-align-left){
 font-size:var(--parish-prose-font);font-weight:400;line-height:1.6;text-align:justify;
}
body:not(.account-page) main.parish-about-page .history-row-text :is(p,li).rich-align-left,
body:not(.account-page) main.parish-about-page .history-row-text :is(p,li).rich-align-center,
body:not(.account-page) main.parish-about-page .history-row-text :is(p,li).rich-align-right{font-size:var(--parish-prose-font);line-height:1.6}
@media(max-width:767px){body:not(.account-page) main.parish-about-page{--parish-prose-font:19px}}
