/* XIS: translated versions of the older (Houzez / Elementor) pages, typography only (N, 27 Oct 2026).
   Nothing here applies to English: every rule starts with the page's language. Their layout and colours are unchanged.
   Arabic: Alexandria, as on the XIS pages (the theme's Raleway has no Arabic letters, so Arabic fell back to a serif).
   Russian: Raleway already has Cyrillic, unchanged. Chinese: the device's Chinese fonts after Raleway. */
@font-face { font-family: "XIS Alexandria"; font-style: normal; font-display: swap; font-weight: 100 900; src: url(../fonts/alexandria-arabic-wght-normal.woff2) format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-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: "XIS Alexandria"; font-style: normal; font-display: swap; font-weight: 100 900; src: url(../fonts/alexandria-latin-wght-normal.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+2212; }

/* every text element; icon fonts (Font Awesome, Houzez, Elementor icons) keep their own */
html[lang^="ar"] body, html[lang^="ar"] body :is(h1, h2, h3, h4, h5, h6, p, a, span, li, td, th, label, button, input, select, option, textarea, strong, em, b, small, div, blockquote, figcaption):not([class*="fa-"]):not([class*="icon"]):not([class*="eicon"]):not(i) {
	font-family: "XIS Alexandria", "Geeza Pro", "Segoe UI", Tahoma, sans-serif !important;
	letter-spacing: 0 !important; text-transform: none !important;
}
html[lang^="ar"] body :is(h1, h2, h3, h4, h5, h6) { font-weight: 400 !important; line-height: 1.4 !important; }
html[lang^="ar"] body :is(p, li, td, blockquote) { line-height: 1.85 !important; }
html[lang^="ar"] body :is(strong, b) { font-weight: 600 !important; }
html[lang^="ar"] body :is(em, i):not([class*="fa-"]):not([class*="icon"]) { font-style: normal; }

html[lang^="zh"] body, html[lang^="zh"] body :is(h1, h2, h3, h4, h5, h6, p, a, span, li, td, th, label, button, input, select, option, textarea, strong, em, b, small, div, blockquote, figcaption):not([class*="fa-"]):not([class*="icon"]):not([class*="eicon"]):not(i) {
	font-family: Raleway, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", "Noto Sans SC", "Noto Sans CJK SC", sans-serif !important;
	letter-spacing: 0 !important;
}
html[lang^="zh"] body :is(p, li, td) { line-height: 1.85 !important; }

/* Arabic menu: Alexandria is wider than Raleway, so the menu is set a size smaller and lighter, keeping the logo its width */
html[lang^="ar"] body .nav-link:not(#xis-none), html[lang^="ar"] body .elementor-nav-menu a:not(#xis-none) { font-size: 14px !important; font-weight: 500 !important; }
/* email addresses and phone numbers: Latin only, in the theme's own font, so they keep their width */
html[lang^="ar"] body :is(a[href^="mailto:"], a[href^="mailto:"] *, a[href^="tel:"], a[href^="tel:"] *):not(#xis-none) { font-family: Raleway, "XIS Alexandria", sans-serif !important; }

/* right to left: phone numbers and email addresses keep their own direction */
html[dir="rtl"] a[href^="tel:"], html[dir="rtl"] a[href^="mailto:"], html[dir="rtl"] a[href*="wa.me"] .elementor-button-text { direction: ltr; unicode-bidi: isolate; }

/* the cookie bar: the language's text font */
html[lang^="ar"] #hs-banner-parent, html[lang^="ar"] #hs-banner-parent * { font-family: "XIS Alexandria", "Geeza Pro", "Segoe UI", Tahoma, sans-serif !important; }
html[lang^="zh"] #hs-banner-parent, html[lang^="zh"] #hs-banner-parent * { font-family: Manrope, "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", "Noto Sans SC", sans-serif !important; }
