/* ============================================================
   Andalusite — rtl.css  (loaded only on RTL locales, e.g. Arabic)

   The display face ("Perfectly Nineties") carries no Arabic glyphs, so every
   element that uses it must be re-pointed at an Arabic face or the browser
   drops to an arbitrary fallback and the page loses its typographic voice.
   ============================================================ */

.andl { direction: rtl; }

/* ---- Arabic typography ------------------------------------------------- */
.andl-rtl {
	--and-display: "Amiri", "Noto Naskh Arabic", "Scheherazade New", "Geeza Pro", "Times New Roman", serif;
	--and-body: "Noto Kufi Arabic", "Segoe UI", "Tahoma", system-ui, sans-serif;
}

/* Elements that hard-code the Latin stack rather than the token. */
.andl-rtl .andl-h1,
.andl-rtl .andl-h2,
.andl-rtl .andl-brand-text,
.andl-rtl .andl-value h3,
.andl-rtl .andl-axe h3,
.andl-rtl .andl-post-body h3,
.andl-rtl .andl-page-hero h1,
.andl-rtl .andl-page-hero .wp-block-post-title,
.andl-rtl .andl-card h3,
.andl-rtl .andl-fact b,
.andl-rtl .andl-timeline b,
.andl-rtl .andl-inline-cta h2,
.andl-rtl .andl-related h2,
.andl-rtl .andl-section-title,
.andl-rtl .andl-results .wp-block-post-title,
.andl-rtl .blog-grid .wp-block-post-title,
.andl-rtl .entry-content .andl-h2-sec,
.andl-rtl .entry-content .andl-prose h2,
.andl-rtl .entry-content h1,
.andl-rtl .entry-content h2,
.andl-rtl .entry-content h3 {
	font-family: "Amiri", "Noto Naskh Arabic", "Scheherazade New", "Geeza Pro", "Times New Roman", serif;
	letter-spacing: 0;
}

.andl-rtl .andl,
.andl-rtl .entry-content,
.andl-rtl .andl-crumbs,
.andl-rtl .andl-form,
.andl-rtl .andl-search,
.andl-rtl .andl-rel-card,
.andl-rtl .andl-postnav,
.andl-rtl .andl-card p,
.andl-rtl .andl-fact span,
.andl-rtl .andl-timeline span {
	font-family: "Noto Kufi Arabic", "Segoe UI", "Tahoma", system-ui, sans-serif;
}

/* Arabic script sits taller in the line box than Latin. */
.andl-rtl .andl-page-hero h1,
.andl-rtl .andl-page-hero .wp-block-post-title { line-height: 1.32; }
.andl-rtl .andl-card h3 { line-height: 1.4; }
.andl-rtl .entry-content .andl-h2-sec { line-height: 1.38; }
.andl-rtl .blog-grid .wp-block-post-title { line-height: 1.38; }

/* ---- Direction --------------------------------------------------------- */
.andl-rtl .entry-content,
.andl-rtl .andl-article,
.andl-rtl .andl-results,
.andl-rtl .andl-form,
.andl-rtl .andl-related,
.andl-rtl .andl-postnav { direction: rtl; }

/* Lead text and content align to the right. */
.andl-rtl .andl-lead,
.andl-rtl .andl-sec-lead,
.andl-rtl .andl-hero-note,
.andl-rtl .entry-content { text-align: right; }

/* Centred bands stay centred. */
.andl-rtl .andl-page-hero,
.andl-rtl .andl-inline-cta,
.andl-rtl .entry-content .andl-inline-cta,
.andl-rtl .andl-empty { text-align: center; }

/* Arrows and carets point the other way. */
.andl-rtl .andl-axe-go,
.andl-rtl .andl-card-go,
.andl-rtl .andl-rel-card i { display: inline-block; transform: scaleX(-1); }

/* Form controls and search read right-to-left. */
.andl-rtl .andl-field input,
.andl-rtl .andl-field textarea,
.andl-rtl .andl-search input[type="search"] { direction: rtl; text-align: right; }

/* Latin-script values (e-mail, URLs) stay left-to-right inside Arabic copy. */
.andl-rtl .andl-ltr { direction: ltr; display: inline-block; unicode-bidi: isolate; }
