/* Native script typography and bidirectional layout for complete locale editions. */
html:lang(th) { --font-body: Tahoma, 'Leelawadee UI', sans-serif; --font-display: Tahoma, 'Leelawadee UI', sans-serif; }
html:lang(ko) { --font-body: 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif; --font-display: 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif; }
html:lang(ar) { --font-body: 'Geeza Pro', Tahoma, sans-serif; --font-display: 'Geeza Pro', Tahoma, sans-serif; }
:is(html:lang(th), html:lang(ko), html:lang(ar)) body { line-height: 1.8; }
:is(html:lang(th), html:lang(ar)) :is(h1, h2, h3, h4, p, a, button, label, summary) { letter-spacing: normal; }
html:lang(ko) :is(h1, h2, h3, h4, p, a, button, label, summary) { word-break: keep-all; overflow-wrap: anywhere; }
html:lang(th) :is(h1, h2, h3, h4) { line-height: 1.35; }
html:lang(ar) :is(h1, h2, h3, h4) { line-height: 1.3; }
:is(html:lang(th), html:lang(ko), html:lang(ar)) :is(.btn, .nav-cta) { white-space: normal; }
:is(html:lang(th), html:lang(ko), html:lang(ar)) .nav-links > li { min-width: 0; }
:is(html:lang(th), html:lang(ko), html:lang(ar)) .brand-name { font-family: 'Marcellus', serif; }
[dir="rtl"] :is(.jet-table th, .jet-table td, .jet-table caption) { text-align: start; }
[dir="rtl"] :is(input[type="email"], input[type="tel"], a[href^="tel:"], a[href^="mailto:"]) { direction: ltr; unicode-bidi: isolate; }
[dir="rtl"] .nav-submenu { right: auto; left: 0; }
[dir="rtl"] :is(.brand, .brand-name, .contact-phones) { unicode-bidi: isolate; }
[dir="rtl"] :is(.dropcap)::first-letter { float: right; margin-right: 0; margin-left: .1em; }
@media (min-width: 901px) and (max-width: 1200px) {
  :is(html:lang(th), html:lang(ko), html:lang(ar)) .brand-name { display: none; }
  :is(html:lang(th), html:lang(ko), html:lang(ar)) .nav-links { gap: .85rem; }
}
