/* CHG Master UI — Elementor Global Fonts for every CHG widget.
 * Primary font  → headings, titles, names
 * Text font     → body copy
 * Accent font   → buttons
 * Elementor's own per-widget Typography controls still override these.
 * If a Global Font is not set, the theme font is used (inherit).
 */
.elementor-widget-chg_about_hero_nav,
.elementor-widget-chg_academic_program_slider,
.elementor-widget-aae_alumni_accordion,
.elementor-widget-chg_diagnostic_services,
.elementor-widget-chg_governing_table,
.elementor-widget-chg_hero_section,
.elementor-widget-chg-hostel-accommodation,
.elementor-widget-chg_people,
.elementor-widget-chg_staffing_cards,
.elementor-widget-chg_student_lists,
.elementor-widget-chg_team,
.elementor-widget-chg_test_listing,
.elementor-widget-chg-vacancies,
.elementor-widget-chg_timeline_slider {
  font-family: var(--e-global-typography-text-font-family, inherit);
}
.elementor-widget-chg_about_hero_nav :is(h1, h2, h3, h4, h5, h6, [class*="title"], [class*="heading"], [class*="-name"]),
.elementor-widget-chg_academic_program_slider :is(h1, h2, h3, h4, h5, h6, [class*="title"], [class*="heading"], [class*="-name"]),
.elementor-widget-aae_alumni_accordion :is(h1, h2, h3, h4, h5, h6, [class*="title"], [class*="heading"], [class*="-name"]),
.elementor-widget-chg_diagnostic_services :is(h1, h2, h3, h4, h5, h6, [class*="title"], [class*="heading"], [class*="-name"]),
.elementor-widget-chg_governing_table :is(h1, h2, h3, h4, h5, h6, [class*="title"], [class*="heading"], [class*="-name"]),
.elementor-widget-chg_hero_section :is(h1, h2, h3, h4, h5, h6, [class*="title"], [class*="heading"], [class*="-name"]),
.elementor-widget-chg-hostel-accommodation :is(h1, h2, h3, h4, h5, h6, [class*="title"], [class*="heading"], [class*="-name"]),
.elementor-widget-chg_people :is(h1, h2, h3, h4, h5, h6, [class*="title"], [class*="heading"], [class*="-name"]),
.elementor-widget-chg_staffing_cards :is(h1, h2, h3, h4, h5, h6, [class*="title"], [class*="heading"], [class*="-name"]),
.elementor-widget-chg_student_lists :is(h1, h2, h3, h4, h5, h6, [class*="title"], [class*="heading"], [class*="-name"]),
.elementor-widget-chg_team :is(h1, h2, h3, h4, h5, h6, [class*="title"], [class*="heading"], [class*="-name"]),
.elementor-widget-chg_test_listing :is(h1, h2, h3, h4, h5, h6, [class*="title"], [class*="heading"], [class*="-name"]),
.elementor-widget-chg-vacancies :is(h1, h2, h3, h4, h5, h6, [class*="title"], [class*="heading"], [class*="-name"]),
.elementor-widget-chg_timeline_slider :is(h1, h2, h3, h4, h5, h6, [class*="title"], [class*="heading"], [class*="-name"]) {
  font-family: var(--e-global-typography-primary-font-family, inherit);
}
.elementor-widget-chg_about_hero_nav :is(button, .elementor-button, [class*="button"], [class*="-btn"], [class*="trigger"]),
.elementor-widget-chg_academic_program_slider :is(button, .elementor-button, [class*="button"], [class*="-btn"], [class*="trigger"]),
.elementor-widget-aae_alumni_accordion :is(button, .elementor-button, [class*="button"], [class*="-btn"], [class*="trigger"]),
.elementor-widget-chg_diagnostic_services :is(button, .elementor-button, [class*="button"], [class*="-btn"], [class*="trigger"]),
.elementor-widget-chg_governing_table :is(button, .elementor-button, [class*="button"], [class*="-btn"], [class*="trigger"]),
.elementor-widget-chg_hero_section :is(button, .elementor-button, [class*="button"], [class*="-btn"], [class*="trigger"]),
.elementor-widget-chg-hostel-accommodation :is(button, .elementor-button, [class*="button"], [class*="-btn"], [class*="trigger"]),
.elementor-widget-chg_people :is(button, .elementor-button, [class*="button"], [class*="-btn"], [class*="trigger"]),
.elementor-widget-chg_staffing_cards :is(button, .elementor-button, [class*="button"], [class*="-btn"], [class*="trigger"]),
.elementor-widget-chg_student_lists :is(button, .elementor-button, [class*="button"], [class*="-btn"], [class*="trigger"]),
.elementor-widget-chg_team :is(button, .elementor-button, [class*="button"], [class*="-btn"], [class*="trigger"]),
.elementor-widget-chg_test_listing :is(button, .elementor-button, [class*="button"], [class*="-btn"], [class*="trigger"]),
.elementor-widget-chg-vacancies :is(button, .elementor-button, [class*="button"], [class*="-btn"], [class*="trigger"]),
.elementor-widget-chg_timeline_slider :is(button, .elementor-button, [class*="button"], [class*="-btn"], [class*="trigger"]) {
  font-family: var(--e-global-typography-accent-font-family, inherit);
}

/* People Listing popup is moved to <body> by JS, outside the widget wrapper. */
.chg-person-popup { font-family: var(--e-global-typography-text-font-family, inherit); }
.chg-person-popup :is(.chg-person-popup-title, .chg-person-popup-monogram) { font-family: var(--e-global-typography-primary-font-family, inherit); }
.chg-person-popup .chg-person-profile-button { font-family: var(--e-global-typography-accent-font-family, inherit); }
