/* Locally supplied, unmodified Gentium Book Plus files (SIL Open Font License). */
@font-face { font-family:'Gentium Book Plus'; font-style:normal; font-weight:400; font-display:swap; src:url('fonts/gentium-book-plus-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family:'Gentium Book Plus'; font-style:normal; font-weight:700; font-display:swap; src:url('fonts/gentium-book-plus-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family:'Gentium Book Plus'; font-style:italic; font-weight:400; font-display:swap; src:url('fonts/gentium-book-plus-latin-400-italic.woff2') format('woff2'); }
@font-face { font-family:'Gentium Book Plus'; font-style:italic; font-weight:700; font-display:swap; src:url('fonts/gentium-book-plus-latin-700-italic.woff2') format('woff2'); }

/* Screen-only typography: existing print/specification rules remain in charge. */
@media screen {
    body.bssc-page .entry-content {
        --bssc-heading-font:'Gentium Book Plus', Georgia, serif;
        --bssc-body-font:var(--global-body-font-family, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif);
        font-family:var(--bssc-body-font);
    }
    body.bssc-page:not(.home) .entry-header .entry-title,
    body.bssc-page:not(.home) .entry-hero .entry-title {
        font-family:'Gentium Book Plus', Georgia, serif !important;
        font-size:clamp(34px, 3.6vw, 52px) !important;
        font-weight:400 !important;
        line-height:1.2 !important;
    }

    /* Font family only on body copy and controls: keep their existing sizes and emphasis. */
    body.bssc-page .entry-content :is(p, li, dt, dd, label, input, textarea, select, button, td, th, figcaption, blockquote) {
        font-family:var(--bssc-body-font) !important;
    }
    body.bssc-page .entry-content :is(h1, h2, h3, h4, h5, h6) {
        font-family:var(--bssc-heading-font) !important;
        font-weight:400 !important;
    }

    /* Preserve the homepage's deliberate display sizes and promotional labels. */
    body.bssc-page:not(.home) .entry-content :is(h1, h2, h3, h4, h5, h6):not(.bssc-price-heading) {
        line-height:1.2 !important;
        letter-spacing:normal !important;
        text-transform:none !important;
    }
    body.bssc-page:not(.home) .entry-content h1:not(.bssc-price-heading) { font-size:clamp(34px, 3.6vw, 52px) !important; }
    body.bssc-page:not(.home) .entry-content h2:not(.bssc-price-heading) { font-size:clamp(27px, 2.4vw, 34px) !important; }
    body.bssc-page:not(.home) .entry-content h3:not(.bssc-price-heading) { font-size:clamp(22px, 1.8vw, 24px) !important; }
    body.bssc-page:not(.home) .entry-content h4:not(.bssc-price-heading) { font-size:22px !important; }
    body.bssc-page:not(.home) .entry-content h5:not(.bssc-price-heading) { font-size:20px !important; }
    body.bssc-page:not(.home) .entry-content h6:not(.bssc-price-heading) { font-size:18px !important; }

    /* Model-choice cards and small feature headings remain smaller than section headings. */
    body.bssc-page:not(.home) .entry-content .bsbyh-shell h2.bsbyh-model,
    body.bssc-page:not(.home) .entry-content .bsz-model h2,
    body.bssc-page:not(.home) .entry-content .bso-card h3,
    body.bssc-page:not(.home) .entry-content .bsc-model h3,
    body.bssc-page:not(.home) .entry-content .fd2-model-title { font-size:24px !important; }
    body.bssc-page:not(.home) .entry-content .bs-bespoke-page .bs-process-step h4 { font-size:20px !important; }

    /* The configurator's own hero is a page-scale title; steps remain section-scale. */
    body.bssc-page:not(.home) .entry-content .bshc-configurator .bshc-hero h2 { font-size:clamp(34px, 3.6vw, 52px) !important; }
    body.bssc-page:not(.home) .entry-content .bshc-configurator .bshc-step-heading h3 { font-size:clamp(26px, 2.4vw, 32px) !important; }
    body.bssc-page:not(.home) .entry-content .bshc-configurator .bshc-feature-section h4 { font-size:18px !important; }
    body.bssc-page:not(.home) .entry-content .bshc-configurator .bshc-summary h3 { font-size:28px !important; }

    /* Intentional display prices and editorial quotations retain their roles and sizes. */
    body.bssc-page .entry-content :is(.bsbyh-price, .fd2-model-price, .fd2-quote, .bs-story-opening-quote, .bs-story-script) {
        font-family:var(--bssc-heading-font) !important;
    }
}
