.selected-script-text[lang=ar] p { white-space: pre-line !important; }

/* RTL mirror: center the 2-item last row of the skills grid (original uses translate(55%) for LTR) */
html[dir="rtl"] .portfolio .skills-section .service-grid article:nth-last-child(-n+2){transform:translate(-55%)}

/* Unified Arabic typography: one family (Changa variable 200-800) across every element on all pages */
@font-face{font-display:swap;font-family:Changa;src:url(./assets/H6WUOONQ.woff2);font-weight:200 800}
html[dir="rtl"] body,html[dir="rtl"] body *{font-family:Changa,sans-serif!important}

/* Changa metrics: give display headings breathing room so marks never overlap */
html[dir="rtl"] .route-hero h1{line-height:1.4;font-size:38px}
html[dir="rtl"] h1,html[dir="rtl"] h2,html[dir="rtl"] h3{line-height:1.4}
