/* Self-hosted fonts (SIL Open Font License — see assets/fonts/LICENSE-*.txt) */

@font-face {
	font-family: "Inter";
	src: url("../fonts/inter-latin-wght.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Manrope";
	src: url("../fonts/manrope-latin-wght.woff2") format("woff2");
	font-weight: 200 800;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face { font-family: "IBM Plex Sans Arabic"; src: url("../fonts/plex-arabic-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "IBM Plex Sans Arabic"; src: url("../fonts/plex-arabic-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "IBM Plex Sans Arabic"; src: url("../fonts/plex-arabic-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "IBM Plex Sans Arabic"; src: url("../fonts/plex-arabic-700.woff2") format("woff2"); font-weight: 700 900; font-style: normal; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }

/*
 * Arabic pages: swap every Elementor global font to IBM Plex Sans Arabic
 * (Latin words inside Arabic text still fall back to Inter) and remove the
 * negative letter-spacing used for Latin headings, which breaks Arabic joining.
 */
html[lang|="ar"] body[class*="elementor-kit-"] {
	--e-global-typography-primary-font-family: "IBM Plex Sans Arabic", "Inter";
	--e-global-typography-secondary-font-family: "IBM Plex Sans Arabic", "Inter";
	--e-global-typography-text-font-family: "IBM Plex Sans Arabic", "Inter";
	--e-global-typography-accent-font-family: "IBM Plex Sans Arabic", "Inter";
	--e-global-typography-ecx_display-font-family: "IBM Plex Sans Arabic", "Inter";
	--e-global-typography-ecx_eyebrow-font-family: "IBM Plex Sans Arabic", "Inter";
	--e-global-typography-ecx_lead-font-family: "IBM Plex Sans Arabic", "Inter";
	--e-global-typography-ecx_small-font-family: "IBM Plex Sans Arabic", "Inter";
	--e-global-typography-primary-letter-spacing: 0;
	--e-global-typography-secondary-letter-spacing: 0;
	--e-global-typography-ecx_display-letter-spacing: 0;
	--e-global-typography-ecx_eyebrow-letter-spacing: 0;
	--e-global-typography-ecx_eyebrow-text-transform: none;
}

html[lang|="ar"] body,
html[lang|="ar"] h1, html[lang|="ar"] h2, html[lang|="ar"] h3,
html[lang|="ar"] h4, html[lang|="ar"] h5, html[lang|="ar"] h6,
html[lang|="ar"] p, html[lang|="ar"] li, html[lang|="ar"] a, html[lang|="ar"] span,
html[lang|="ar"] label, html[lang|="ar"] strong,
html[lang|="ar"] .elementor-heading-title, html[lang|="ar"] .elementor-button,
html[lang|="ar"] .elementor-nav-menu a, html[lang|="ar"] .e-n-tab-title,
html[lang|="ar"] button, html[lang|="ar"] input, html[lang|="ar"] textarea {
	/* Elementor writes per-widget font families (Manrope/Inter) with high
	   specificity; Arabic must win so glyphs never fall back to a system font. */
	font-family: "IBM Plex Sans Arabic", "Inter", sans-serif !important;
	letter-spacing: 0 !important;
}
/* Keep monospace labels (chart tags, card captions) as they are. */
html[lang|="ar"] .ecx-signal__card small { font-family: "IBM Plex Sans Arabic", ui-monospace, monospace !important; }

/* Arabic line-height: taller glyphs need a little more room. */
html[lang|="ar"] .elementor-heading-title { line-height: 1.35; }
