/* Hand-written exceptions for the right-to-left languages (Arabic, Hebrew, Dhivehi), loaded after the
 * RTLCSS-generated Style.rtl.min.css and lbp.rtl.css (sketch 36, 2026-10-06). Keep it short: everything
 * RTLCSS can mirror belongs in the ordinary stylesheets. */

/* The poster is laid out as it prints, whatever the page's direction; its footer sets its own dir
 * from the poster's script (PosterRenderer), so an English poster on an Arabic page reads left to right. */
html[dir="rtl"] .lovely-print-tool .preview .poster { direction: ltr; }

/* The poster size reads as it prints: "50 × 70 cm", numbers first, whatever the page's direction. */
html[dir="rtl"] .lovely-print-tool .dimensions-tag { direction: ltr; }

/* The page text is set in the visitor's own fonts, as for every language. The site font (the Arimo
 * slices) has none of the three scripts, so each names the system fonts to fall through to: on Windows
 * Segoe UI and MV Boli, on Apple Geeza Pro and Arial Hebrew, on Android and Linux the Noto fonts. Few Apple
 * devices have a Thaana font, so Dhivehi ends with the regular weight of the poster font, 46 kB fetched only
 * on Dhivehi pages whose letters nothing earlier in the stack could draw. */
html[lang="ar"] body { font-family: "arimo", "Segoe UI", "Geeza Pro", "Noto Sans Arabic", "Noto Kufi Arabic", Arial, sans-serif; }
html[lang="he"] body { font-family: "arimo", "Segoe UI", "Arial Hebrew", "Noto Sans Hebrew", Arial, sans-serif; }
@font-face { font-family: "noto-sans-thaana-page"; src: url("../Fonts/dv/noto-sans-thaana-regular/00.woff2") format("woff2"); font-display: swap; unicode-range: U+0780-07BF; }
html[lang="dv"] body { font-family: "arimo", "MV Boli", "Noto Sans Thaana", "noto-sans-thaana-page", Arial, sans-serif; }
