/* RTL / Arabic support. Thmanyah Sans is self-hosted (real woff2 files
   copied from old file/fonts/thmanyahsans/woff2/), 5 weights. */

@font-face {
  font-family: "Thmanyah Sans";
  src: url("../assets/fonts/thmanyah-sans/thmanyahsans-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Thmanyah Sans";
  src: url("../assets/fonts/thmanyah-sans/thmanyahsans-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Thmanyah Sans";
  src: url("../assets/fonts/thmanyah-sans/thmanyahsans-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Thmanyah Sans";
  src: url("../assets/fonts/thmanyah-sans/thmanyahsans-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Thmanyah Sans";
  src: url("../assets/fonts/thmanyah-sans/thmanyahsans-Black.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

html[dir="rtl"] body {
  font-family: "Thmanyah Sans", "Cairo", Tahoma, Arial, sans-serif;
}

/* Logical-property mirroring for RTL layout */
html[dir="rtl"] .breadcrumbs .sep { transform: scaleX(-1); display: inline-block; }
html[dir="rtl"] .sticky-cta a { border-inline-end: 1px solid var(--color-border); }
html[dir="rtl"] .site-header .container,
html[dir="rtl"] .hero-grid,
html[dir="rtl"] .detail-hero,
html[dir="rtl"] .contact-grid,
html[dir="rtl"] .footer-grid { direction: rtl; }

html[dir="rtl"] .hero-grid { grid-template-columns: 1.1fr .9fr; }
html[dir="rtl"] .main-nav { text-align: right; }
html[dir="rtl"] .lang-switch { direction: ltr; }

/* Numerals, phone numbers and the logo stay LTR even inside RTL flow */
html[dir="rtl"] .ltr-embed { direction: ltr; unicode-bidi: isolate; display: inline-block; }
