/*
 * Brand typography (English & French)
 *   Manrope          - body text, buttons, forms, navigation
 *   Instrument Serif - headlines and display text (regular weight only)
 *
 * Load AFTER the theme stylesheets so these rules take precedence.
 * Requires the Google Fonts link:
 *   https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Manrope:wght@200..800&display=swap
 * Both families include the Latin Extended glyphs needed for French accents.
 */

:root {
    --brand-font-body: 'Manrope', 'Segoe UI', Helvetica, Arial, sans-serif;
    --brand-font-heading: 'Instrument Serif', Georgia, 'Times New Roman', serif;

    /* Bootstrap 5 (login page) */
    --bs-body-font-family: var(--brand-font-body);
    --bs-font-sans-serif: var(--brand-font-body);

    /* Variables used by page-level report styles (StaffPlanner, PPMReport, IncidentReport) */
    --font-body: var(--brand-font-body);
    --font-head: var(--brand-font-heading);
    --font-display: var(--brand-font-heading);
}

/* ---------- Body text, buttons, forms, navigation ---------- */
html,
body,
input,
button,
select,
optgroup,
textarea,
label,
table,
code,
.btn,
.form-control,
.custom-select,
.input-group-text,
.nav,
.nav-link,
.navbar,
.sidebar,
.dropdown-menu,
.dropdown-item,
.breadcrumb,
.pagination,
.footer,
.tooltip,
.popover,
.select2-container,
.select2-results,
.datepicker,
.datepicker.datepicker-dropdown .datepicker-days table.table-condensed thead tr th.dow,
.dataTables_wrapper {
    font-family: var(--brand-font-body);
}

/* ---------- Headlines & display text (regular weight only) ---------- */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6,
.page-title,
.modal-title,
.card-title {
    font-family: var(--brand-font-heading);
    font-weight: 400 !important;  /* Instrument Serif ships in one weight; avoid faux-bold */
    font-synthesis: none;
    letter-spacing: normal;
}
