/* ============================================================
   Site-wide typography — Abhinav Mahavidyalaya
   ONE font for the whole project: Plus Jakarta Sans.
   Loaded by _Layout.cshtml AFTER every page stylesheet, so these
   rules apply on all pages. !important is intentional: page CSS
   files (Bootstrap bundles, section styles) set their own fonts
   with higher-specificity selectors.
   ============================================================ */

/* Base font for everything else (inherits into links, buttons, lists, forms...) */
body, button, input, select, textarea {
    font-family: "Plus Jakarta Sans", "Noto Sans Devanagari", system-ui, sans-serif;
}

/* Paragraphs : Plus Jakarta Sans, 16.5px */
p {
    font-family: "Plus Jakarta Sans", system-ui, sans-serif !important;
    font-size: 16.5px !important;
}

/* All headings : same font as paragraphs (sizes stay as each page defines them) */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: "Plus Jakarta Sans", system-ui, sans-serif !important;
}

/* SECTION headings only : 34px
   = every <h2> in the page content (each content section starts with one),
   + the two home-page sections whose title is an <h1>.
   Not affected: page-title banners, hero slider, card titles, header, footer, menus. */
main h2:not(.abhinav-card h2, .abm-event h2),
main #abhinav-programmes-title,
main .abm-events-heading h1,
/* Admission pages: each section is a .card whose title is an <h3> */
main .admission-root .card > h3,
main .admission-root main > h3,
main .admission-root form.enq > h3 {
    font-size: 34px !important;
}
