/* Arabic is a full right-to-left editorial layout; images and logos are not mirrored. */
html[lang="ar"] body, html[lang="ar"] body * { font-family: "Noto Sans Arabic", Tahoma, Arial, sans-serif !important; letter-spacing: 0 !important; }
html[lang="ar"] p, html[lang="ar"] figcaption { line-height: 1.85; }
html[lang="ar"] .nt-project-intro, html[lang="ar"] .nt-project-section,
html[lang="ar"] .locale-switch { direction: rtl; }
html[lang="ar"] h1[dir="ltr"], html[lang="ar"] address[dir="ltr"] { text-align: right; unicode-bidi: isolate; }
html[lang="ar"] .locale-switch a { unicode-bidi: isolate; }
html[lang="ar"] .project-location .nt-text:last-child .nt-project-navigation { direction: ltr; unicode-bidi: isolate; display: inline-block; }
html[lang="ar"] img, html[lang="ar"] svg { transform: none; }
html[lang="ar"] :is(h1,h2,h3,p,figcaption) { overflow-wrap: anywhere; }
@media (max-width: 767px) {
  html:is([lang="ar"], [lang="it"], [lang="pt-BR"]) .masthead { column-gap: 18px !important; }
  html:is([lang="ar"], [lang="it"], [lang="pt-BR"]) .header-links { column-gap: 10px !important; }
  html[lang="ar"] .locale-switch, html[lang="it"] .locale-switch { display: flex; flex-wrap: wrap; gap: .65rem 1rem; }
}
