/* Skoolplug typography v0.2.6.
   Only app pages have .skp-branded-type. Never changes the Welcome page.
   The file loads after Elementor and plugin layout CSS; sizes and spacing stay intact. */
body.skp-branded-type {
  --skp-body-font: 'Instrument Sans', 'Helvetica Neue', Arial, sans-serif;
  --skp-display-font: 'Bricolage Grotesque', 'Arial Black', Arial, sans-serif;
  font-family: var(--skp-body-font);
}
/* Primary text, Elementor content and custom application elements. */
body.skp-branded-type :is(.skpd-page, .skpx-feature, .skp-app, .skpa-header, .skpa-footer),
body.skp-branded-type .elementor :is(.elementor-widget-text-editor, .elementor-widget-button, .elementor-button, .elementor-icon-list-text),
body.skp-branded-type :is(.skpd-page, .skpx-feature, .skp-app, .skpa-header, .skpa-footer) :is(p, li, label, small, button, input, select, textarea),
body.skp-branded-type :is(.skpd-page, .skpx-feature, .skp-app, .skpa-header, .skpa-footer) a {
  font-family: var(--skp-body-font) !important;
}
/* Branded headline hierarchy in Elementor AND in plugin shortcodes. */
body.skp-branded-type :is(h1, h2, h3, h4, h5, h6),
body.skp-branded-type .elementor .elementor-heading-title,
body.skp-branded-type :is(.skpd-stat-num, .skpx-result-score, .skp-result-score, .skp-price, .skpd-squad-emblem),
body.skp-branded-type .skpa-footer-brand {
  font-family: var(--skp-display-font) !important;
}
/* WordPress/Elementor can specify a button font separately; keep controls legible. */
body.skp-branded-type :is(button, input, select, textarea, .elementor-button, .elementor-button-text, .skpn-link-label, .skpn-group-label, .skpn-top, .skpn-tier) {
  font-family: var(--skp-body-font) !important;
}
/* Keep the established font family within nested heading spans in UI titles. */
body.skp-branded-type :is(h1, h2, h3, h4, h5, h6) :is(span, strong, em, b),
body.skp-branded-type .elementor-heading-title :is(span, strong, em, b) {
  font-family: inherit !important;
}
/* Avoid inadvertently altering icon-font glyphs. */
body.skp-branded-type :is(.eicon, .dashicons, .fa, .fas, .far, .fab, .elementor-icon i) {
  font-family: inherit;
}
