/**
 * NessLek Deluxe — Arabic (RTL) adjustments
 * Loaded only when the active language is right-to-left (inc/i18n.php §17).
 * <html dir="rtl"> already mirrors text alignment and flex/grid order; this file
 * handles what direction alone cannot: Arabic-capable fonts, letter joining,
 * and the few physical left/right rules in style.css.
 */

/* Arabic-capable faces first; the Latin brand fonts stay as fallbacks for names like NessLek */
:root {
	--font-display: 'Noto Kufi Arabic', 'Cormorant Garamond', Georgia, serif;
	--font-head: 'Noto Kufi Arabic', 'Poppins', -apple-system, sans-serif;
	--font-body: 'Noto Sans Arabic', 'Montserrat', -apple-system, sans-serif;
}

/* Letter-spacing and faux italics break Arabic's joined letterforms */
.nesslek-rtl,
.nesslek-rtl * { letter-spacing: 0 !important; }
.nesslek-rtl .in-italic,
.nesslek-rtl em,
.nesslek-rtl blockquote { font-style: normal; }

/* Arabic script needs a little more line height than the Latin faces */
body.nesslek-rtl { line-height: 1.85; }

/* Lists and quotes in post content */
.nesslek-rtl .entry-content ul,
.nesslek-rtl .entry-content ol { margin: 0 1.5rem 1.5rem 0; }
.nesslek-rtl .entry-content li { padding-left: 0; padding-right: 0.5rem; }
.nesslek-rtl .entry-content blockquote {
	border-left: 0; border-right: 3px solid var(--gold);
	padding: 0.5rem 2rem 0.5rem 0;
}

/* Gold corner bracket on pillar cards */
.nesslek-rtl .pillar-card::after {
	right: auto; left: 1.5rem;
	border-right: 0; border-left: 1px solid var(--gold);
}
