/*
 * RTL overrides.
 * Most RTL support lives in main.css via logical properties (padding-inline-start, etc.)
 * This file handles the few cases where RTL needs extra correction.
 */

body { direction: rtl; text-align: right; }

/* Topbar */
.topbar-inner { direction: rtl; }
.main-navigation ul.menu { direction: rtl; }

/* Reverse arrow direction indicators */
.arrow { display: inline-block; transform: scaleX(-1); }
.btn:hover .arrow { transform: scaleX(-1) translateX(4px); }
.program-link:hover .arrow { transform: scaleX(-1) translateX(4px); }
.news-link:hover .arrow { transform: scaleX(-1) translateX(4px); }

/* Fix the quote mark position in stories for RTL */
.story-quote-mark { left: auto; right: 1.5rem; }

/* Hero blobs — mirror positions */
.hero-blob-1 { right: auto; left: -100px; }
.hero-blob-2 { left: auto; right: -100px; }

/* Breadcrumb separator looks natural in RTL already */
.breadcrumbs { direction: rtl; }

/* Sub-menu drop should open to the right in RTL */
.main-navigation .sub-menu { left: auto; right: 0; }

/* Program card accent bar — originate from the right */
.program-card::before { transform-origin: right; }

/* Inputs */
input[type="email"], input[type="text"], input[type="search"], textarea { text-align: right; }
.newsletter-form input { text-align: right; }

/* Footer menu hover shift */
.footer-menu a:hover { padding-inline-start: 0; padding-inline-end: .3rem; }

/* Topbar social border radius looks fine (circle), no change needed */
