/* Generated by to_logical.js: mirrored horizontal shadows and nudges for right-to-left (Arabic).
   Positions, margins, paddings, borders and text alignment are logical properties in the main stylesheets. */
[dir="rtl"] .tgl.sm.on i { transform: translateX(-16px)}
[dir="rtl"] .ip-tgl.on i::after { transform: translateX(-16px)}
[dir="rtl"] .tgl.on i { transform: translateX(-20px)}

/* ---------- Arabic (right-to-left): hand-written ---------- */
/* Arabic letters join, so letter-spacing would break words apart */
#stage[dir="rtl"], #stage[dir="rtl"] * { letter-spacing: 0 !important}
/* arrows and chevrons point along the reading direction */
#stage[dir="rtl"] .ico-dir { transform: scaleX(-1)}
#stage[dir="rtl"] .mh-fold.open .mh-chev { transform: rotate(-90deg) scaleX(-1)}
/* the growth path line runs from the reading start (its ranks are mirrored in growth.js) */
#stage[dir="rtl"] .gp-svg { transform: scaleX(-1)}
/* language switch in the header */
/* onboarding photos keep the same crop as in English (their artwork sits on the right of the picture) */
#stage[dir="rtl"] .ob-hero img, #stage[dir="rtl"] .ob-hero .slide { left: auto; right: 0}

/* Home Know / Do / Become cards in Arabic: clean photo, mirrored, with the words as text */
.kdb.txt img.bg { position: absolute; inset: 0}
#stage[dir="rtl"] .kdb.txt img.bg { transform: scaleX(-1)}
#stage[dir="rtl"] .kdb.txt:hover img.bg { transform: scaleX(-1) scale(1.035)}
.kdb-t { position: absolute; top: 22px; inset-inline: 22px; display: block; text-align: start; color: #ffffff}
.kdb-t small { display: block; font-size: 20px; color: #f5f5f7}
.kdb-t b { display: block; margin-top: 6px; font-size: 30px; font-weight: 800; line-height: 1.1}
.kdb-t .kdb-p { display: block; margin-top: 30px; max-width: 190px; font-size: 17px; line-height: 1.45}
.kdb-go { position: absolute; bottom: 24px; inset-inline-start: 22px; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; border: 2px solid #ffffff; background: rgba(0, 0, 0, 0.35); color: #ffffff}
/* the live test cards: Arabic units ("في الدقيقة") are longer, so the big numbers step down a size */
#stage[dir="rtl"] .f2-oc.big b { font-size: 19px}
