/* Arabic overrides only. Logos, photographs, maps and stored identifiers are not mirrored. */
html[lang="ar"] { direction: rtl; }
html[lang="ar"] body { font-family: Tahoma, "Geeza Pro", Arial, sans-serif; line-height: 1.85; }
html[lang="ar"] :is(h1,h2,h3,h4,p,a,button,label,summary,input,textarea,select) { letter-spacing: normal; }
html[lang="ar"] :is(h1,h2,h3,h4) { line-height: 1.45; }
html[lang="ar"] :is(h1,h2,h3,h4) em { font-family: inherit; font-style: normal; }
html[lang="ar"] :is(main,article,section,aside,form,.dialog-content,.dialog-inner,.choice,.case-open,.type-open,.project-pick,.journey-step,.partner-card,.finder-pick) { text-align: start; }
html[lang="ar"] :is(.edition-inner,.nav,.navlinks,.header-actions,.footer-row,.plan-header,.plan-nav,.actions,.board-actions,.contact-fields,.brief-fields,.dialog-top,.dialog-head,.opportunity-actions,.finder-progress) { direction: rtl; }
html[lang="ar"] :is(input[type="email"],input[type="url"],input[type="tel"],input[inputmode="numeric"],input[inputmode="decimal"],a[href^="mailto:"],a[href^="tel:"],code,pre,[data-ltr],bdi) { direction: ltr; unicode-bidi: isolate; }
html[lang="ar"] :is(input[type="email"],input[type="url"],input[type="tel"]) { text-align: start; }
html[lang="ar"] :is(input,textarea,select) { max-width: 100%; }
html[lang="ar"] :is(p,li,dd,.form-status,.finder-status,.field-note,.legal) { overflow-wrap: anywhere; }
html[lang="ar"] :is(ul,ol):not(.journey-list,.mini-steps) { padding-inline-start: 1.6em; padding-inline-end: 0; }
html[lang="ar"] :is(.mini-steps,.journey-list) { padding-inline: 0; }
html[lang="ar"] .choice { padding-inline-start: 20px; padding-inline-end: 36px; }
html[lang="ar"] .choice strong { margin-right: 0; margin-inline-end: 0; }
html[lang="ar"] .choice[aria-pressed="true"] { box-shadow: inset -3px 0 var(--violet,#6736ed); }
html[lang="ar"] .choice[aria-pressed="true"]::after { right: auto; left: 14px; }
html[lang="ar"] .example { border-left: 0; border-inline-start: 2px solid var(--pink,#ed2189); }
html[lang="ar"] .consent { text-align: start; }
html[lang="ar"] .consent input { margin-inline: 0; }
html[lang="ar"] .edition-picker nav { text-align: start; }
html[lang="ar"] .opportunity-facts :is(dt,dd) { margin-inline-start: 0; }
html[lang="ar"] .footer .legal { text-align: start; }
html[lang="ar"] .hero-content :is(h1,.hero-description) { max-width: 800px; }
html[lang="ar"] .hero-caption { right: auto; inset-inline-end: 48px; }
html[lang="ar"] :is(.case-summary,.project-description,.project-lead,.collection-intro) { line-height: 1.85; }
@media (max-width: 760px) {
  html[lang="ar"] :is(h1,.hero-content h1) { font-size: clamp(31px,8vw,48px); }
  html[lang="ar"] :is(h2,.section h2) { font-size: clamp(25px,6.5vw,36px); }
  html[lang="ar"] .hero-content h1 em { font-size: clamp(23px,6vw,34px); }
  html[lang="ar"] .hero-caption { inset-inline-end: 22px; }
  html[lang="ar"] :is(.edition-inner,.plan-header,.plan-nav,.finder-progress,.actions,.board-actions) { flex-wrap: wrap; }
  html[lang="ar"] :is(.choices,.contact-fields,.brief-fields,.project-picks,.partner-grid,.detail-columns) { grid-template-columns: minmax(0,1fr); }
  html[lang="ar"] :is(.brief-fields .full,.contact-fields .full) { grid-column: 1; }
  html[lang="ar"] :is(.journey-layout,.experience-grid) { grid-template-columns: minmax(0,1fr); }
}
