/* =====================================================================
   site-ltr.css (v3) — loaded only for the English interface (?lang=en, dir="ltr")
   Utilities (.text-right, .mr-*, .float-*) are mirrored by bootstrap-ltr-mirror.min.css;
   this file fixes the theme stylesheets that hard-code RTL.
   ===================================================================== */
html[dir="ltr"] body,
html[dir="ltr"] body.site-v3 { direction: ltr; text-align: left; }

/* Latin-first font stack; Kurdish/Arabic data falls back to Vazirmatn */
html[dir="ltr"] body {
	font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, 'Vazirmatn', ir_sharp_m, sans-serif !important;
	line-height: 1.6;
}
html[dir="ltr"] input, html[dir="ltr"] button, html[dir="ltr"] select, html[dir="ltr"] textarea,
html[dir="ltr"] .btn, html[dir="ltr"] .form-control, html[dir="ltr"] .dropdown-item,
html[dir="ltr"] .nav-link, html[dir="ltr"] .tooltip, html[dir="ltr"] .popover {
	font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, 'Vazirmatn', sans-serif;
}

/* old theme rules that are physically RTL (style_into.css / modern.css) */
html[dir="ltr"] .dropdown-menu { text-align: left; }
html[dir="ltr"] .top { text-align: left; }
html[dir="ltr"] .tags a { float: left; margin-left: 0; margin-right: 5px; }
html[dir="ltr"] .request { left: auto; right: 10px; }
html[dir="ltr"] .info ul { padding-right: 40px; padding-left: 0; }
html[dir="ltr"] .navbar-light .navbar-brand img { margin-left: 0; margin-right: 8px; }
html[dir="ltr"] .col-left { margin-right: 0; margin-left: 1%; }
html[dir="ltr"] footer .logo img { border-left: 0; border-right: 1px solid rgba(51, 51, 51, .6); padding-left: 0; padding-right: 5px; }

/* directional arrows */
html[dir="ltr"] .section-more::after { content: " \2192"; }

/* Kurdish / Arabic library data inside the English interface: isolate its direction
   so punctuation and numbers keep their order (alignment follows the English page). */
html[dir="ltr"] [translate="no"],
html[dir="ltr"] .notranslate { unicode-bidi: isolate; }
html[dir="ltr"] .book-title, html[dir="ltr"] .card-title, html[dir="ltr"] .result-title { unicode-bidi: plaintext; text-align: left; }

/* forms */
html[dir="ltr"] .form-check { padding-left: 1.25rem; padding-right: 0; }
html[dir="ltr"] .form-check-input { margin-left: -1.25rem; margin-right: 0; }
html[dir="ltr"] .custom-control { padding-left: 1.5rem; padding-right: 0; }
html[dir="ltr"] .input-group > .form-control:not(:last-child) { border-radius: .25rem 0 0 .25rem; }
html[dir="ltr"] .input-group > .input-group-append > .btn { border-radius: 0 .25rem .25rem 0; }

/* the language switch keeps native names readable in every direction */
html[dir="ltr"] .lang-switch a[lang="ckb"], html[dir="ltr"] .lang-switch a[lang="ar"] { direction: rtl; unicode-bidi: isolate; }

/* static text pages written in Kurdish (data) keep justified Latin text readable */
html[dir="ltr"] .static-page .page-text { text-align: left; }
html[dir="ltr"] .rules-v3 ol { padding-left: 1.4em; padding-right: 0; }
