/* Right-to-left overrides (he, ar). Loaded after site.css only when <html dir="rtl">.
   Mirrors the site.css rules that use physical left/right and affect reading order.
   Kept left-to-right on purpose: the Leaflet map (tiles, controls, popups) and the app
   screenshot mock-ups (.mock-*), whose text boxes sit over a fixed image. Corner badges on
   photos are left where they are – they do not depend on reading direction. */

.brand { margin-right: 0; margin-left: auto; }

.lang ul { right: auto; left: 0; }

.prose ul { padding-left: 0; padding-right: 1.2em; }
.faq summary::after { right: auto; left: 18px; }

/* gallery: "previous" is on the right in RTL, arrows point the other way (js/site.js handles scrolling) */
.gallery-btn.prev { left: auto; right: 10px; }
.gallery-btn.next { right: auto; left: 10px; }
.gallery-btn .ic { transform: scaleX(-1); }

.kr-list li.kr_child { padding-left: 0; padding-right: 1.4em; }
.pdf-list { padding-left: 0; padding-right: 1.3em; }
.app-qr { margin-left: 0; margin-right: 6px; }

.app-strip { border-left: 1px solid var(--line); border-right: 4px solid var(--red); }

.app-fab { right: auto; left: 16px; }
@media (min-width: 1100px) { .app-fab { right: auto; left: 28px; } }

.tip { right: auto; left: 0; padding: 10px 14px 10px 6px; }
.info { margin-left: 0; margin-right: 2px; }
.cg-members b { margin-right: 0; margin-left: 2px; }

/* map and phone mock-ups stay left-to-right */
.map-box, .leaflet-container, .mock-screen { direction: ltr; }
