/* Arabic typography for the /ar/ pages.
   The site's main font (tex-gyre) has no Arabic letters, so browsers fell back to a thin
   system font. Cairo (self-hosted, variable weight) is used for all text on Arabic pages. */
@font-face {
  font-family: 'Cairo';
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url(fonts/cairo-arabic.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-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: 'Cairo';
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url(fonts/cairo-latin.woff2) format('woff2');
  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;
}

/* Point Elementor's global fonts at Cairo */
html[lang^="ar"] body {
  --e-global-typography-primary-font-family: "Cairo";
  --e-global-typography-secondary-font-family: "Cairo";
  --e-global-typography-text-font-family: "Cairo";
  --e-global-typography-accent-font-family: "Cairo";
  font-family: "Cairo", sans-serif;
}

/* Text elements only — icon elements keep their icon fonts */
html[lang^="ar"] :is(h1, h2, h3, h4, h5, h6, p, li, a, span, strong, b, em, td, th, label, input, textarea, select, button, blockquote, figcaption, div):not([class~="icon"]):not([class^="icon-"]):not([class*=" icon-"]):not([class~="fa"]):not([class~="fas"]):not([class~="far"]):not([class~="fab"]):not([class^="fa-"]):not([class*=" fa-"]):not([class^="eicon"]):not([class*=" eicon"]):not([class*="upk-icon-"]) {
  font-family: "Cairo", sans-serif !important;
}

/* Body text: not thin, comfortable Arabic line height */
html[lang^="ar"] :is(p, li, td, .elementor-icon-box-description, .elementor-image-box-description, .elementor-widget-text-editor) {
  font-weight: 500;
  line-height: 1.9;
}
html[lang^="ar"] :is(h1, h2, h3, h4, h5, h6, .elementor-heading-title) {
  font-weight: 700;
  line-height: 1.5;
}
html[lang^="ar"] .elementor-nav-menu a,
html[lang^="ar"] .elementskit-navbar-nav a {
  font-weight: 600;
}
