/**
 * Hello MK — Arabic (RTL) typography.
 *
 * Loaded only when is_rtl(). Mirrors Apex style-ar.css without hard-coding fonts per tag:
 * the English families get Arabic glyphs, so every element keeps its English font role.
 *   TurbineTrial (display) → ITC Handel Gothic Arabic (Medium ≤500, Bold ≥700)
 *   Amplitude (text)       → Alexandria Light
 * Latin letters and digits keep rendering in TurbineTrial / Amplitude.
 *
 * The alias faces must use exactly the weights declared for TurbineTrial and Amplitude in
 * Elementor → Custom Fonts, so the browser merges them into the same face. A weight added
 * there needs a matching alias here.
 */

@font-face {
	font-family: "ITC Handel Gothic Arabic";
	src: url("../fonts/itc-handel-gothic-arabic-md.woff2") format("woff2");
	font-weight: 100 500;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "ITC Handel Gothic Arabic";
	src: url("../fonts/itc-handel-gothic-arabic-bold.woff2") format("woff2");
	font-weight: 600 900;
	font-style: normal;
	font-display: swap;
}

/* TurbineTrial → Handel Gothic Arabic */
@font-face { font-family: "TurbineTrial"; src: url("../fonts/itc-handel-gothic-arabic-md.woff2") format("woff2"); font-weight: 100; font-style: normal; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "TurbineTrial"; src: url("../fonts/itc-handel-gothic-arabic-md.woff2") format("woff2"); font-weight: 200; font-style: normal; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "TurbineTrial"; src: url("../fonts/itc-handel-gothic-arabic-md.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "TurbineTrial"; src: url("../fonts/itc-handel-gothic-arabic-md.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "TurbineTrial"; src: url("../fonts/itc-handel-gothic-arabic-md.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "TurbineTrial"; src: url("../fonts/itc-handel-gothic-arabic-bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "TurbineTrial"; src: url("../fonts/itc-handel-gothic-arabic-bold.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF; }

/* Amplitude → Alexandria Light (Apex loads only weight 300 for Arabic text) */
@font-face { font-family: "Amplitude"; src: url("https://fonts.gstatic.com/s/alexandria/v6/UMBCrPdDqW66y0Y2usFeQCH18mulUxBvI9qlTpbFFp4xRg.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "Amplitude"; src: url("https://fonts.gstatic.com/s/alexandria/v6/UMBCrPdDqW66y0Y2usFeQCH18mulUxBvI9qlTpbFFp4xRg.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "Amplitude"; src: url("https://fonts.gstatic.com/s/alexandria/v6/UMBCrPdDqW66y0Y2usFeQCH18mulUxBvI9qlTpbFFp4xRg.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "Amplitude"; src: url("https://fonts.gstatic.com/s/alexandria/v6/UMBCrPdDqW66y0Y2usFeQCH18mulUxBvI9qlTpbFFp4xRg.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "Amplitude"; src: url("https://fonts.gstatic.com/s/alexandria/v6/UMBCrPdDqW66y0Y2usFeQCH18mulUxBvI9qlTpbFFp4xRg.woff2") format("woff2"); font-weight: 900; font-style: normal; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF; }

:root {
	--mk-ff-primary: "TurbineTrial", "ITC Handel Gothic Arabic", sans-serif;
	--mk-ff-secondary: "Amplitude", "Alexandria", sans-serif;
}

/* Text without an Elementor font (Hello's system stack) gets the display pair, like Apex. */
html[dir="rtl"] body {
	font-family: var(--mk-ff-primary);
	line-height: 1.7;
}

/* Letter-spacing breaks Arabic joins. */
html[dir="rtl"] * {
	letter-spacing: 0 !important;
}

/* Apex line heights. !important beats Elementor's per-element typography. */
html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4 {
	line-height: 1.4 !important;
}

html[dir="rtl"] h5,
html[dir="rtl"] h6 {
	line-height: 1.5 !important;
}

html[dir="rtl"] p {
	line-height: 1.7 !important;
}
