/*
 * Alpha — RTL adjustments (Arabic).
 * Most layout already flips automatically thanks to CSS logical properties in main.css.
 * This file only handles transforms and animations that cannot be expressed logically.
 */
body { direction: rtl; unicode-bidi: embed; }

.alpha-offcanvas-panel { transform: translateX(100%); }
.alpha-offcanvas.is-open .alpha-offcanvas-panel { transform: none; }

@keyframes alphaTickerRtl { from { transform: translateX(0); } to { transform: translateX(50%); } }
.alpha-ticker-items { animation-name: alphaTickerRtl; }
.alpha-ticker-track { mask-image: linear-gradient(270deg, transparent, #000 4%, #000 96%, transparent); }

.alpha-nav .sub-menu .alpha-caret { transform: rotate(90deg); }
.alpha-nav .menu > li > a { letter-spacing: 0; }
.alpha-card-title a { background-position: 0 100%; }

/* Numbers, emails and URLs stay LTR inside Arabic text */
.alpha-topbar a[href^="tel:"], .alpha-topbar a[href^="mailto:"], input[type="email"], input[type="url"], input[type="tel"] { direction: ltr; }
input[type="email"], input[type="url"], input[type="tel"] { text-align: right; }

/* Arabic typography tweaks */
h1, h2, h3, h4, h5, h6 { letter-spacing: 0; line-height: 1.5; }
.alpha-badge, .alpha-ticker-label, .alpha-btn { letter-spacing: 0; }
