/* The translated pages (0.3.30): Arabic, Turkish, Spanish and French. Loaded after theme.css on those pages only.
   Fonts: the site's own copies of IBM Plex Sans and Archivo hold Latin letters up to French and Spanish; the Turkish
   letters ğ, ş and İ come from the same typefaces on Google Fonts, and Arabic from IBM Plex Sans Arabic (Settings ›
   Website languages › "Load the Arabic and Turkish fonts from Google"). Each letter comes from the first font
   in the list that has it, so the site's own fonts are still used for everything else. */
html[lang=tr]{--fm-font:"FM Plex","IBM Plex Sans",system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;--fm-display:"FM Archivo","Archivo","FM Plex","IBM Plex Sans",system-ui,sans-serif}

/* Arabic: IBM Plex Sans Arabic, Latin words (model names) from the site's own fonts */
html[lang=ar]{--fm-font:"IBM Plex Sans Arabic","FM Plex",Tahoma,"Segoe UI",system-ui,sans-serif;--fm-display:"IBM Plex Sans Arabic","FM Archivo","FM Plex",Tahoma,"Segoe UI",sans-serif}
/* Arabic letters join: no letter spacing, no squeezed or stretched width, more room between lines */
html[lang=ar] body *{letter-spacing:0!important}
html[lang=ar] h1,html[lang=ar] h2,html[lang=ar] h3,html[lang=ar] h4,html[lang=ar] .fm-title{font-stretch:100%!important;line-height:1.35}
html[lang=ar] body{line-height:1.75}
/* A model number as the page title keeps its wide Latin type */
html[lang=ar] .fm-title--display{font-family:"FM Archivo","Archivo",sans-serif;font-stretch:118%!important;line-height:1.05}
/* Phone numbers, email addresses and code read left to right inside Arabic text */
html[dir=rtl] a[href^="tel:"],html[dir=rtl] a[href^="mailto:"],html[dir=rtl] bdi,html[dir=rtl] code,html[dir=rtl] kbd{unicode-bidi:isolate;direction:ltr}
html[dir=rtl] input[type=email],html[dir=rtl] input[type=tel],html[dir=rtl] input[type=url]{direction:ltr;text-align:right}
/* Arrows and chevrons point the way the page reads */
html[dir=rtl] [data-fm-mirror]{scale:-1 1}
/* Diagrams keep their English layout (left to right, see fiberme:rtl-css); their translated words are longer,
   so the caption under the NEXUSAGE box wraps instead of running into its neighbours */
.fm-untangle__tag--hub{width:19%;white-space:normal;text-align:center}
@media (min-width:561px){.fm-untangle__name{max-width:15ch}}
.fm-untangle__end-text b,.fm-untangle__name b{overflow-wrap:anywhere}
@media (max-width:560px){.fm-untangle__name b,.fm-untangle__end-text b{font-size:.62rem}.fm-untangle__name{max-width:10ch}}
/* Addresses written in Latin letters keep their own reading order inside Arabic pages */
html[dir=rtl] .fm-office__address address,html[dir=rtl] .fm-fw__also{unicode-bidi:plaintext;text-align:right}
/* Inside those left-to-right diagrams, Arabic words still read right to left */
html[dir=rtl] svg[dir=ltr] text{direction:rtl;text-anchor:end}
html[dir=rtl] svg[dir=ltr] text[text-anchor=end]{text-anchor:start}
html[dir=rtl] .fm-untangle__stage b,html[dir=rtl] .fm-untangle__stage span,html[dir=rtl] .fm-omap__tag,html[dir=rtl] .fm-attend__pad > *{direction:rtl}
html[dir=rtl] .fm-untangle__end-text{text-align:left}
/* The solutions map: translated names are longer, slightly smaller type keeps them in their boxes */
@media (min-width:901px){.fm-tour__node:not(.fm-tour__node--center) .fm-tour__label{font-size:12.5px}.fm-tour__sub{font-size:9px}}
/* Version numbers (4.0.4.p16) read left to right */
html[dir=rtl] .fm-fw__ver b{direction:ltr;unicode-bidi:isolate}
