@charset "utf-8";
/* eMJey-Forum 2.0 — RTL adjustments
 * Loaded after template.css when $this->direction === 'rtl'.
 * Most layout uses logical properties (margin-inline, padding-inline,
 * text-align: start) so very little needs to flip explicitly here.
 */

body.rtl {
    direction: rtl;
    /* Persian / Arabic stacks first when in RTL */
    font-family: "Vazirmatn", "IRANSans", "B Nazanin", Tahoma, Geneva, Arial, sans-serif;
}

body.rtl .emjey-usermenu ul { direction: rtl; }

/* Bootstrap 5 ships in LTR; some Kunena helpers use float-start / float-end which
   already flip with [dir=rtl], but a couple of utilities that hard-code left/right
   need a hand. */
body.rtl .float-end  { float: left  !important; }
body.rtl .float-start { float: right !important; }
body.rtl .text-end   { text-align: left  !important; }
body.rtl .text-start { text-align: right !important; }

body.rtl .me-auto { margin-right: 0 !important; margin-left: auto !important; }
body.rtl .ms-auto { margin-left: 0 !important; margin-right: auto !important; }
