/* Medel Academy — adjustments for left-to-right languages (English, French).
   Loaded only on /en/ and /fr/. Layout itself uses logical properties. */
body.dir-ltr{direction:ltr;text-align:left}

/* site header drawer slides from the left */
@media (max-width:991px){
  body.dir-ltr .mxh__nav{transform:translateX(-100%);border-radius:0 22px 22px 0}
  body.dir-ltr .mxh.nav-open .mxh__nav{transform:translateX(0)}
}

/* directional icons point the other way */
body.dir-ltr .mh-ic--dir,
body.dir-ltr .ma-ic--dir{transform:scaleX(-1)}
body.dir-ltr .ma-side__site .ma-ic,
body.dir-ltr .ma-lx-bar__link:last-of-type .ma-ic,
body.dir-ltr .ma-lx-sub__prev .ma-ic{transform:none}
body.dir-ltr .ma-lx-sub__prev{transform:none}
body.dir-ltr .ma-acc__chev{transform:rotate(-90deg)}
body.dir-ltr .ma-acc__sec[open] .ma-acc__chev{transform:rotate(0)}

/* text that is added by CSS */
body.lang-en .bypostauthor::after{content:'Instructor comment'}
body.lang-fr .bypostauthor::after{content:'Commentaire du formateur'}

/* Latin text needs a little less line height than Arabic */
body.dir-ltr .mh-hero h1,body.dir-ltr .ma-banner h1,body.dir-ltr .ma-cv__intro h1{line-height:1.25}

/* lesson curriculum drawer comes from the left */
@media (max-width:992px){
  html body.dir-ltr .tutor-learning-sidebar{inset-inline:0 auto;transform:translate(-100%)}
  html body.dir-ltr .tutor-learning-sidebar.is-open{transform:translate(0)}
}
