/*
 * Sudair Pharma — heading and button type scale
 * =============================================
 *
 * The brand type scale, applied to the semantic heading elements:
 *
 *     H1       30px / 600
 *     H2       25px / 400
 *     H3       20px / 400
 *     Buttons  15px / 600
 *
 * These are the same four values already stored as Elementor global typography
 * presets in the kit (H1 = 1e8340c, H2 = 169fdca, H3 = 7afc2c8,
 * Button = d2d53f5), and the kit already binds h1/h2/h3/button to them. They
 * never reached the page, because almost every heading on this site also
 * carries per-widget typography, which Elementor emits as
 *
 *     .elementor-<post> .elementor-element.elementor-element-<id> .elementor-heading-title
 *
 * — four classes, so it outranks the kit's `.elementor-kit-5 h1` and the
 * theme's bare `h1`. The same is true of the component stylesheets, which style
 * section headings through their own block classes. That is why this file uses
 * `!important`: it is the only way for one central declaration to be the single
 * source of truth for heading size, and keeping it in one small file means the
 * scale can be read, changed or switched off in one place.
 *
 * WHAT IT DELIBERATELY DOES NOT TOUCH
 *
 *   - font-family — the Arabic site runs on Tajawal and English on Plus Jakarta
 *     Sans, and that split is owned by inc/arabic-font.php.
 *   - colour, letter-spacing, text-transform, alignment, margins — all still
 *     owned by the component stylesheets.
 *   - h4, h5, h6 — no size was specified for them, so they keep their own.
 *   - The site header and footer, which carry no h1–h3 at all.
 *
 * EXCEPTIONS (end of file)
 *
 * A handful of components size their heading to fit a fixed shape — a ring, a
 * numbered disc, a map label. Forcing the scale on those does not restyle them,
 * it breaks them, so each one is listed at the bottom with the reason. Those
 * are the only places the scale is not in force.
 *
 * Enqueued last, after alignment.css and no-accent-dash.css.
 */

/* ----------------------------------------------------------------- H1 -- */

:root:root .elementor h1,
:root:root .elementor h1.elementor-heading-title,
:root:root .elementor h1.elementor-icon-box-title,
:root:root main h1,
:root:root .sud-ed h1,
:root:root .sud-ed__article-title,
:root:root .sud-ed__masthead {
	font-size: 30px !important;
	font-weight: 600 !important;
}

/* ----------------------------------------------------------------- H2 -- */

:root:root .elementor h2,
:root:root .elementor h2.elementor-heading-title,
:root:root .elementor h2.elementor-icon-box-title,
:root:root main h2,
:root:root .sud-ed h2,
:root:root .sud-ed__body h2,
:root:root .sud-ed__lead-title,
:root:root .sud-ed__card-title,
:root:root .sud-ed__entry-title {
	font-size: 25px !important;
	font-weight: 400 !important;
}

/* ----------------------------------------------------------------- H3 -- */

:root:root .elementor h3,
:root:root .elementor h3.elementor-heading-title,
:root:root .elementor h3.elementor-icon-box-title,
:root:root main h3,
:root:root .sud-ed h3,
:root:root .sud-ed__body h3 {
	font-size: 20px !important;
	font-weight: 400 !important;
}

/* ------------------------------------------------------------ buttons -- */
/*
 * Button labels, not headings. The selector list covers Elementor's button
 * widget and form submit, the theme's own .sud-btn, and bare button/input
 * controls inside page content. Padding, radius and colour are untouched.
 */

.elementor .elementor-button,
.elementor .elementor-button-text,
.elementor button,
.elementor input[type="button"],
.elementor input[type="submit"],
.elementor .elementor-field-type-submit button,
main button,
main input[type="button"],
main input[type="submit"],
.sud-btn,
a.sud-btn,
.sud-ed__more,
.sud-er__choice,
.sud-subnav-wrap a,
:root:root .sud-drawer__toggle {
	font-size: 15px !important;
	font-weight: 600 !important;
}

/* =====================================================================
 * EXCEPTIONS — components whose heading is sized to fit a fixed shape
 * ===================================================================== */

/*
 * Core Values ring (Mission, Vision & Values). The value name is set to fill
 * the centre of a rotating ring whose diameter is fixed in the markup; at 20px
 * the word floats in an empty disc, and the ring's own labels no longer line up
 * with it.
 */
:root:root:root .sud-cv .sud-cv__name,
:root:root:root .sud-cv h3.sud-cv__name {
	font-size: clamp(1.6rem, 2.9vw, 2.6rem) !important;
	font-weight: 800 !important;
}

:root:root:root .sud-cv .sud-cv__vname,
:root:root:root .sud-cv h3.sud-cv__vname {
	font-size: clamp(1rem, 1.25vw, 1.18rem) !important;
	font-weight: 800 !important;
}

/*
 * Board member initials disc (Leadership & Governance). The glyph is centred in
 * a circle of fixed diameter.
 */
:root:root:root .sud-board .sud-board__initials,
:root:root:root .sud-board .sud-board__mono {
	font-size: clamp(3rem, 6vw, 4.5rem) !important;
	font-weight: 800 !important;
}

/*
 * Regional presence map (Home). Country labels are positioned against the SVG's
 * own coordinate system; changing their size moves them off their pins and makes
 * neighbouring labels collide.
 */
:root:root:root .sud-map .sud-map__label,
:root:root:root .sud-map text {
	font-size: inherit !important;
}
