/* Shared body typography for informational pages and section introductions.
   Never matches post-template: article, fiction, and poetry typography stays
   under reading.css. Explicit prose selectors keep UI labels and prices out.
   This file follows page-specific styles in default.hbs; #gh-main also answers
   the older inline section styles and Ghost's injected paragraph rules. */
body.page-template #gh-main .gh-content {
    font-family: "EB Garamond", Georgia, serif !important;
    font-size: clamp(1.84rem, 1.42vw, 2.36rem);
}

body.page-template #gh-main .gh-content :where(p:not(.mw-inst-label), li, blockquote):not(:where(.mw-wall *, .kg-button-card *, .kg-signup-card *)),
body.page-template #gh-main .mw-join-prose p,
body.page-template #gh-main .mw-join-benefits li,
body.page-template #gh-main .mw-join-member-card > p:not(.mw-join-label, .mw-join-price),
body.page-template #gh-main .gh-article-excerpt,
body.page-template #gh-main .mw-arts-excerpt,
body.page-template #gh-main .mw-arts-submissions p,
body.page-template #gh-main .mw-ar-none,
body.tag-template #gh-main .mw-iv-dek,
body.tag-template #gh-main .mw-sp-dek,
body.tag-template #gh-main .mw-es-dek,
body.tag-template #gh-main :is(.mw-es-sec, .mw-es-item, .mw-es-feat, .mw-es-entry) p,
body.tag-template #gh-main .gh-pagehead-description,
body:is(.tag-template, .home-template, .author-template) #gh-main .gh-card-excerpt,
body.home-template #gh-main :is(.gh-home-description, .gh-home-subscribe-description),
body.author-template #gh-main .mw-au-bio :where(p, li, blockquote) {
    color: #141110;
    font-family: "EB Garamond", Georgia, serif !important;
    font-size: inherit !important;
    font-weight: 500 !important;
    letter-spacing: -.01em;
    /* Overrides the old Submit 1.24 !important rule in 70-sections/95-media. */
    line-height: 1.3 !important;
}

/* The size is established on the containing text block, as on About, rather
   than inherited accidentally from the small-type masthead or a UI label. */
body.tag-template #gh-main .mw-iv-hero-body { font-size: 20px; }
body.tag-template #gh-main .mw-sp { font-size: 20px; }
body.tag-template #gh-main .mw-es,
body.page-template #gh-main.mw-arts-page { font-size: clamp(1.84rem, 1.42vw, 2.36rem); }

/* These two existing section treatments reverse prose out of dark grounds. */
body.tag-template #gh-main .mw-sp-run .mw-sp-entry:nth-of-type(2).no-art .mw-sp-dek { color: #f6e2dd; }
body.page-template #gh-main .is-fiction .mw-arts-excerpt { color: #fffdf8; }
