/**
 * RTL-specific overrides for Arabic (dir="rtl"). Most layout in this theme
 * uses CSS logical properties (margin-inline, inset-inline-start, etc.) so
 * it mirrors automatically; this file only holds the handful of exceptions
 * that need an explicit flip, plus the Arabic type stack.
 *
 * Enqueued only when is_rtl() is true (see inc/enqueue.php).
 */

body.innerg-rtl {
	font-family: 'Cairo', ui-sans-serif, system-ui, sans-serif;
}

/* Directional icons (arrows, chevrons) that must point the opposite way
   in RTL. Widgets add this class to icons whose direction is meaningful. */
.innerg-rtl .innerg-flip-rtl {
	transform: scaleX(-1);
}

/* Cormorant Garamond has no Arabic glyphs; Arabic display headings fall
   back to Cairo at a slightly reduced size so scale still reads correctly
   next to Latin headings elsewhere on a bilingual page. */
.innerg-rtl h1,
.innerg-rtl h2,
.innerg-rtl h3,
.innerg-rtl h4 {
	font-family: 'Cairo', ui-sans-serif, system-ui, sans-serif;
	font-weight: 600;
}
