/*
 * YTS Consulting – Arabic typography.
 * Loaded on Arabic pages only, after site-rtl.css and pages-rtl.css (the mirrored layout).
 * Amiri (headings) and Tajawal (text) cover Arabic characters only; Latin words
 * such as "YTS Consulting" keep Cormorant Garamond and Jost.
 */
:root{
  --serif:'Amiri','Cormorant Garamond','Times New Roman',serif;
  --sans:'Tajawal','Jost','Helvetica Neue',Arial,sans-serif;
}

/* Arabic letters join: no letter-spacing, no capitals, no synthetic italics. */
body.yts-rtl *,body.yts-rtl *::before,body.yts-rtl *::after{letter-spacing:0!important}
body.yts-rtl *{text-transform:none!important;font-style:normal!important}

body.yts-rtl{font-weight:400;line-height:1.9}
body.yts-rtl h1,body.yts-rtl h2,body.yts-rtl h3{line-height:1.45;font-weight:400}
body.yts-rtl h1 em,body.yts-rtl h2 em,body.yts-rtl h3 em{font-weight:700}
body.yts-rtl p,body.yts-rtl li,body.yts-rtl dd{line-height:1.9}
body.yts-rtl .lead{line-height:1.8}

/* Small labels: Arabic needs a slightly larger size than Latin capitals. */
body.yts-rtl .eyebrow{font-size:14px}
body.yts-rtl .btn{font-size:15px;font-weight:500}
body.yts-rtl .link{font-size:15px}
body.yts-rtl .nav ul a{font-size:15px}
body.yts-rtl label{font-size:14px}
body.yts-rtl .svc .tag,body.yts-rtl .badges span,body.yts-rtl .foot-grid h4{font-size:13px}
body.yts-rtl .pillrow span,body.yts-rtl .journey b{font-size:14.5px}
body.yts-rtl .quote cite,body.yts-rtl .micro{font-size:14px}
body.yts-rtl .contact-direct a span{font-size:13px;width:auto;min-width:70px}

/* Latin-only elements stay left-to-right. */
body.yts-rtl .lang,body.yts-rtl .m-lang{direction:ltr}
body.yts-rtl .lang a,body.yts-rtl .m-lang a{font-family:'Jost','Helvetica Neue',Arial,sans-serif}
body.yts-rtl .brand{direction:ltr}
body.yts-rtl input[type=email],body.yts-rtl input[type=tel]{direction:ltr;text-align:right}
body.yts-rtl a[href^="mailto:"]{unicode-bidi:isolate}

/* Headings in Amiri read larger than Cormorant: keep the same visual weight. */
body.yts-rtl .hero h1{font-size:clamp(38px,5.2vw,78px);line-height:1.35;max-width:16ch}
body.yts-rtl .page-hero h1{line-height:1.4}
body.yts-rtl .foot-word{line-height:1.25}
body.yts-rtl .quote blockquote{line-height:1.5}
