/* ==========================================================================
   Eventiere marketing site - RTL additive stylesheet (Arabic mirror, v2)

   Loaded AFTER site.css on every Arabic v2 page, scoped entirely under
   [dir="rtl"] so it never touches an English page. site.css itself is
   already built almost entirely on CSS logical properties (inset-inline-*,
   border-inline-*, padding-inline-*, text-align:start, margin-inline-*),
   so most of the chrome, the article grid and the CTA bands mirror for
   free the moment <html dir="rtl"> sets `direction:rtl` (the UA stylesheet
   maps the `dir` attribute to the CSS `direction` property). This file
   holds only what does NOT mirror by itself:
     1. Tajawal, self-hosted, ARABIC RANGE ONLY. The `tajawal-latin-*`
        faces are deliberately never @font-face'd here - a Latin run inside
        Arabic text (a brand name, "$99", "WhatsApp") must fall through to
        Inter, per the mirror brief, not render in Tajawal's own Latin cut.
     2. Headline weight - the Latin template uses Instrument Serif at
        weight 400 for h1/h2/.article-title/.article-cta h3; Tajawal has no
        serif companion, so under RTL those elements render Tajawal at
        weight 500 instead (Boby, choosing between three rendered samples:
        "of the last 2 lets go with the thinner one" - 500 over 700/800), at
        the same sizes, with the -0.01em Latin tracking neutralised
        (letter-spacing breaks Arabic letter joins).
     3. Two decorative icons that are literal left/right glyphs baked into
        an inline SVG path, not a directional CSS property: the breadcrumb
        "greater-than" separator and the .ic-flip helper class applied by
        hand to the two or three other arrow-glyphs a page happens to carry
        (e.g. the blog CTA's "Start free ->" arrow). scaleX(-1) instead of
        hand-mirroring each path's coordinates, so the same rule covers any
        future arrow marked with the class.
     4. The homepage's own `.usecases-list` chevron-on-hover rule already
        had an RTL override (`[dir="rtl"] ... hover .chev{
        transform:translateX(-4px) }`) that nudges the glyph but never
        flips its ">" shape - so in RTL it looked like ">" sliding the
        wrong way. Restated here with a source-order override (same
        selector, later in the cascade, so no edit to index.html's own
        <style> is needed): scaleX(-1) at rest, scaleX(-1) translateX(4px)
        on hover, which nudges the now-mirrored "<" further left as
        intended.
     5. Two uppercase/tracked labels that only exist as literal inline
        styles in the English template's own markup (`.exit-badge`'s
        badge chip, and a one-off "Related articles" eyebrow in the blog
        body) - neutralised here rather than in the copied markup, so a
        future mechanical mirror of any other page picks the same fix up
        for free.
   ========================================================================== */

/* ---------- 1. Tajawal, Arabic range only (src identical to ar/shared.css) ---------- */
@font-face{
  font-family:'Tajawal';
  font-style:normal;
  font-weight:400;
  font-display:swap;
  src:url('/fonts/tajawal-arabic-400.woff2') format('woff2');
  unicode-range:U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
@font-face{
  font-family:'Tajawal';
  font-style:normal;
  font-weight:500;
  font-display:swap;
  src:url('/fonts/tajawal-arabic-500.woff2') format('woff2');
  unicode-range:U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
@font-face{
  font-family:'Tajawal';
  font-style:normal;
  font-weight:700;
  font-display:swap;
  src:url('/fonts/tajawal-arabic-700.woff2') format('woff2');
  unicode-range:U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
@font-face{
  font-family:'Tajawal';
  font-style:normal;
  font-weight:800;
  font-display:swap;
  src:url('/fonts/tajawal-arabic-800.woff2') format('woff2');
  unicode-range:U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}

/* ---------- typography swap ---------- */
[dir="rtl"]{
  --font-body:"Tajawal","Inter",system-ui,sans-serif;
  --font-display:"Tajawal","Inter",system-ui,sans-serif;
}
[dir="rtl"] body{ font-weight:400; }
[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] .article-title,
[dir="rtl"] .article-body h2,
[dir="rtl"] .v2-page-hero h1{
  font-weight:500;
  letter-spacing:normal;
}
/* Latin display line-heights (1.02 / 1.08) are too tight for Arabic: Tajawal's
   descenders ran into the next line and into the paragraph under a three-line
   h1 (the blog index, 2026-09-29). */
[dir="rtl"] body.v2 h1{ line-height:1.28; }
[dir="rtl"] body.v2 h2{ line-height:1.3; }
[dir="rtl"] h3,
[dir="rtl"] .article-cta h3,
[dir="rtl"] .v2-row-text h3{
  font-weight:700;
  letter-spacing:normal;
}
[dir="rtl"] .v2-eyebrow,
[dir="rtl"] .article-tag,
[dir="rtl"] .features-col-title,
[dir="rtl"] .post-toc-label,
[dir="rtl"] .post-share-label{
  font-weight:700;
}

/* ---------- neutralise Latin tracking / uppercase on Arabic labels ---------- */
[dir="rtl"] .exit-badge{
  letter-spacing:normal;
  text-transform:none;
}
[dir="rtl"] .article-wrap [style*="text-transform: uppercase"]{
  text-transform:none !important;
  letter-spacing:normal !important;
}

/* ---------- skip link ---------- */
/* site.css hides this off-canvas with a PHYSICAL `left:-9999px` (never
   `inset-inline-start`). In an RTL document a negative `left` offset does
   not just sit off-screen the way it does in LTR - Chromium's RTL
   scrollable-overflow region grows to include it, so the whole document
   gained an 11,439px scrollWidth and every full-page screenshot rendered
   as a sliver of real content lost in a vast blank canvas. Restated with
   the sides swapped, exactly as the homepage's own standalone skip-link
   already is. */
[dir="rtl"] :is(body.v2, body.v2-chrome) .skip-link{
  left:auto;
  right:-9999px;
  border-radius:0 0 0 8px;
}
[dir="rtl"] :is(body.v2, body.v2-chrome) .skip-link:focus{
  right:0;
}

/* ---------- directional glyphs ---------- */
/* breadcrumb "chevron-right" separators (inline path, drawn once per
   crumb) - mirror in place rather than hand-flipping the path data. */
[dir="rtl"] .breadcrumb svg{
  transform:scaleX(-1);
}
/* generic helper for any other hand-placed arrow/chevron glyph - applied
   by hand in the markup (e.g. the blog article-cta's "Start free" arrow). */
[dir="rtl"] .ic-flip{
  transform:scaleX(-1);
}

/* homepage-only: `.usecases-list` chevron. Overrides index.html's own
   `[dir="rtl"] .usecases-list a:hover .chev{ transform:translateX(-4px) }`
   by source order (same selector, loaded after) rather than editing that
   file's original block. */
[dir="rtl"] .usecases-list a .chev{
  transform:scaleX(-1);
}
[dir="rtl"] .usecases-list a:hover .chev{
  transform:scaleX(-1) translateX(4px);
}
