/* Loaded only on non-English pages (see inc/site_i18n.php). */

/* Arabic script reads small beside Latin text at the same size, and Open Sans has
   no Arabic glyphs. This font is used for Arabic characters only and is enlarged
   with size-adjust, so English names and numbers are not resized. */
@font-face {
  font-family: 'QArabic';
  src: url('fonts/NotoSansArabic.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
  size-adjust: 120%;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+FB50-FDFF, U+FE70-FEFC;
}
html[lang='ar'] :where(body, h1, h2, h3, h4, h5, h6, p, li, a, span, div, button, input, textarea, select, label, td, th, small, strong, em, b):not([class*='fa-']):not(.material-icons):not(.fab):not(.fas):not(.far) {
  font-family: 'Open Sans', 'QArabic', sans-serif;
}

/* Language switcher */
.qmt-lang .dropdown-toggle { white-space: nowrap; }
.qmt-lang .dropdown-item.active { background: var(--qmt-bg-tint, #eef3fb); color: inherit; font-weight: 600; }

.qmt-legal-note { background: var(--qmt-bg-tint, #eef3fb); border-inline-start: 3px solid var(--d4-blue, #2563eb); padding: 10px 14px; margin: 0 0 1rem; font-size: .92rem; color: var(--qmt-muted, #5b6b7f); }

/* Times such as 9:00 AM and phone numbers stay left-to-right inside right-to-left pages. */
html[dir='rtl'] .time-sel,
html[dir='rtl'] input[type='tel'] { direction: ltr; }
html[dir='rtl'] input[type='tel'] { text-align: right; }

/* A postal address is Latin text; keep its line order and punctuation intact. */
html[dir='rtl'] .qmt-ltr-block { direction: ltr; text-align: right; unicode-bidi: isolate; }
