/* =====================================================================
   FONT SCALE — site-wide minimum text sizes
   Loaded last from _Layout.cshtml. Only text that was smaller than the
   target is listed (audited on every public page at phone, tablet and
   desktop width), so nothing that is already bigger gets shrunk.
     card / section headings ........ 20px
     text, links, buttons, lists .... 17px  (paragraphs stay 18px, see Layout.css)
     uppercase eyebrows, badges,
     breadcrumbs, counters .......... 16px
   "html body … :not(#_)" + !important lets these win over the page sheets.
   ===================================================================== */

/* Headings inside cards / sections → 20px */
html body :is(main, footer) h3.smh-f-name:not(#_),
html body :is(main, footer) h3.smh-card-name:not(#_),
html body :is(main, footer) .cs-card-inner h3:not(#_),
html body :is(main, footer) .f-head h4:not(#_),
html body :is(main, footer) .f-col h4:not(#_),
html body :is(main, footer) .pcard h4:not(#_),
html body :is(main, footer) .vm-box h5:not(#_),
html body :is(main, footer) .wcard h6:not(#_),
html body :is(main, footer) .department-page .card h3:not(#_),
html body :is(main, footer) .department-page .step h3:not(#_),
html body :is(main, footer) .svc-top h3:not(#_),
html body :is(main, footer) .cm-benefit h4:not(#_),
html body :is(main, footer) .contact-item h3:not(#_),
html body :is(main, footer) .help-card h3:not(#_),
html body :is(main, footer) h3.sdh-step__title:not(#_) {
    font-size: 20px !important
}

/* Text, links, buttons, list items, labels → 17px */
html body :is(main, footer) a.mh-banner__btn:not(#_),
html body :is(main, footer) a.mh-banner__btn.mh-banner__btn--outline:not(#_),
html body :is(main, footer) a.sd-about__btn:not(#_),
html body :is(main, footer) div.lab-pill-subtitle:not(#_),
html body :is(main, footer) button.cs-submit:not(#_),
html body :is(main, footer) a.cs-readmore:not(#_),
html body :is(main, footer) a.cs-cta-link:not(#_),
html body :is(main, footer) .cs-btn span:not(#_),
html body :is(main, footer) a.all-link:not(#_),
html body :is(main, footer) .person strong:not(#_),
html body :is(main, footer) .person small:not(#_),
html body :is(main, footer) .f-row span:not(#_),
html body :is(main, footer) .f-row b:not(#_),
html body :is(main, footer) .f-row a:not(#_),
html body :is(main, footer) a.btn.ghost:not(#_),
html body :is(main, footer) .f-bottom span:not(#_),
html body :is(main, footer) span.dev-credit:not(#_),
html body :is(main, footer) .dev-credit a:not(#_),
html body :is(main, footer) .f-bottom a:not(#_),
html body :is(main, footer) .f-links a:not(#_),
html body :is(main, footer) .hero-feats div:not(#_),
html body :is(main, footer) .sh-about .emergency small:not(#_),
html body :is(main, footer) .sh-about .emergency b:not(#_),
html body :is(main, footer) a.btn.btn-orange:not(#_),
html body :is(main, footer) .sh-about .stat span:not(#_),
html body :is(main, footer) .infra-item span:not(#_),
html body :is(main, footer) .hero-features li:not(#_),
html body :is(main, footer) a.learn:not(#_),
html body :is(main, footer) a.btn.btn-primary:not(#_),
html body :is(main, footer) a.btn.btn-ghost:not(#_),
html body :is(main, footer) .cta-features li:not(#_),
html body :is(main, footer) a.back:not(#_),
html body :is(main, footer) div.tick:not(#_),
html body :is(main, footer) .department-page .card li:not(#_),
html body :is(main, footer) div.condition:not(#_),
html body :is(main, footer) .faq summary:not(#_),
html body :is(main, footer) .checklist li:not(#_),
html body :is(main, footer) a.btn.btn-navy:not(#_),
html body :is(main, footer) a.btn.btn-outline-white:not(#_),
html body :is(main, footer) button.service:not(#_),
html body :is(main, footer) .cm-faq-list summary:not(#_),
html body :is(main, footer) .form-group label:not(#_),
html body :is(main, footer) button.submit-btn:not(#_),
html body :is(main, footer) div.help-text:not(#_),
html body :is(main, footer) button.gal-chip:not(#_),
html body :is(main, footer) span.gal-card__cat:not(#_),
html body :is(main, footer) .mhb-btn span:not(#_),
html body :is(main, footer) .mhb-rtext strong:not(#_),
html body :is(main, footer) .mhb-rtext small:not(#_),
html body :is(main, footer) .help-card a:not(#_),
html body :is(main, footer) button.btn.appointment:not(#_),
html body :is(main, footer) a.sdh-step__link:not(#_),
html body :is(main, footer) .tl em:not(#_),
html body :is(main, footer) span.svc-btn:not(#_) {
    font-size: 18px !important
}

/* Small uppercase eyebrows, badges, breadcrumbs, counters → 16px */
html body :is(main, footer) span.mh-banner__eyebrow:not(#_),
html body :is(main, footer) span.smh-num.smh-num-cur:not(#_),
html body :is(main, footer) span.smh-num.smh-num-tot:not(#_),
html body :is(main, footer) div.cs-eyebrow:not(#_),
html body :is(main, footer) :is(.department-page, .sh-home-sections, .sh-about, .shripad-page) div.eyebrow:not(#_),
html body :is(main, footer) .crumb a:not(#_),
html body :is(main, footer) .crumb span:not(#_),
html body :is(main, footer) .crumbs a:not(#_),
html body :is(main, footer) .crumbs span:not(#_),
html body :is(main, footer) p.eyebrow:not(#_),
html body :is(main, footer) span.tag:not(#_),
html body :is(main, footer) span.badge:not(#_),
html body :is(main, footer) .cm-breadcrumb a:not(#_),
html body :is(main, footer) .cm-breadcrumb b:not(#_),
html body :is(main, footer) span.svc-tabbar__label:not(#_),
html body :is(main, footer) b.svc-tabbar__count:not(#_),
html body :is(main, footer) div.section-label:not(#_),
html body :is(main, footer) span.num:not(#_),
html body :is(main, footer) div.mhb-eyebrow:not(#_),
html body :is(main, footer) span.sdh-steps__badge:not(#_) {
    font-size: 16px !important
}

/* phones only: these are already larger on wider screens */
@media (max-width:767.98px) {
    html body :is(main, footer) div.lab-pill-title:not(#_),
    html body :is(main, footer) a.svc-card__link:not(#_) {
        font-size: 17px !important
    }

    html body :is(main, footer) .blogText h5:not(#_) {
        font-size: 20px !important
    }
}
