/**
 * Mahyar Premium – RTL overrides (Arabic). Layout already uses logical properties,
 * so only genuinely directional items live here.
 */
html[dir="rtl"], body.mh-ar { direction: rtl; text-align: start; font-family: var(--font-ar); }

/* Arrows point the reading direction */
body.mh-ar .mh-icon-arrow { transform: scaleX(-1); }
body.mh-ar .btn:hover .mh-icon-arrow { transform: scaleX(-1) translateX(4px); }

/* Hero gradient: dark side behind the Arabic text (right) */
body.mh-ar .hero-overlay { background: linear-gradient(260deg, rgba(4, 15, 38, .96) 0%, rgba(7, 29, 69, .86) 42%, rgba(0, 49, 138, .55) 100%); }
body.mh-ar .hero-glow { background: radial-gradient(45% 55% at 20% 30%, rgba(76, 181, 194, .28), transparent 70%), radial-gradient(40% 50% at 90% 90%, rgba(21, 86, 214, .5), transparent 70%); }

/* Breadcrumb divider */
body.mh-ar .breadcrumbs li:not(:last-child)::after { content: '\\'; }

/* Numbers, emails and phones stay LTR inside RTL text */
body.mh-ar .c-method-link, body.mh-ar .topbar-links span[dir="ltr"], body.mh-ar .footer-ci span[dir="ltr"] { direction: ltr; unicode-bidi: embed; }
body.mh-ar input[type="email"], body.mh-ar input[type="tel"], body.mh-ar input[type="number"], body.mh-ar input[type="date"] { direction: ltr; text-align: end; }

body.mh-ar .p-card:hover .p-card-media img { transform: scale(1.08) rotate(1deg); }

@media (max-width: 991px) {
	body.mh-ar .hero-overlay { background: rgba(7, 29, 69, .9); }
}
