/* Arabic-only flexible typesetting. Original font scale, grids and assets stay intact. */
html[lang="ar"] :is(main,#main,.t-footer) :is(p,li,dd,small){text-wrap:pretty!important;word-spacing:normal;letter-spacing:normal;hyphens:none;word-break:normal;overflow-wrap:break-word}
html[lang="ar"] :is(main,#main) :is(p,li,dd){text-align:right;text-align-last:right;direction:rtl}
html[lang="ar"] :is(main,#main) :is(h1,h2,h3,h4){text-wrap:balance}
/* Use each existing column; remove only redundant inner character-width caps. */
html[lang="ar"] :is(.article-section,.visit-step,.t-doc,.t-faq,.service-line,.page-intro) > p,
html[lang="ar"] #content[data-view="service"] .service-hero .hero-intro,
html[lang="ar"] #main :is(.journey-intro,.stage-detail,.service-way,.tabah-intro,.weekly-copy) > p,
html[lang="ar"] #main .guide-copy{max-inline-size:none!important;min-inline-size:0}
html[lang="ar"] :is(.t-split,.t-guide-choices,.t-contact-channels,.t-beyond-benefits,.t-form-layout,.hero-inner,.reading-layout)>*{min-inline-size:0}
html[lang="ar"] :is(.t-guide-choices button,.t-care-link,.service-line,.name-list a,.t-service-links a){text-wrap:pretty!important;word-spacing:normal;letter-spacing:normal}
/* Balance short prose to avoid a tiny trailing line; longer articles retain pretty. */
@supports (text-wrap:balance){html[lang="ar"] :is(main,#main,.t-footer) .tb-ar-compact{text-wrap:balance!important}}
@media(max-width:600px){
 html[lang="ar"] .batch-service :is(.chapter-note,.chapter-care){padding-inline:clamp(16px,4vw,20px)}
}
/* Do not squeeze short action labels into stacked words in narrow desktop columns. */
html[lang="ar"] .hero-actions{flex-wrap:wrap}
html[lang="ar"] .hero-actions .button{flex-shrink:0;max-inline-size:100%}
