/*
 * Right-to-Left (RTL) overrides for Starlight Glass i18n.
 * Loaded only when the active language is RTL (e.g. Arabic).
 * Most layout flips automatically via dir="rtl" + logical properties;
 * this file mirrors the few physical-direction (left/right) effects.
 */

/* Mirror the decorative background orbs to the opposite edges. */
.orb-1 { left: auto; right: -100px; }
.orb-2 { right: auto; left: -80px; }
.orb-3 { left: auto; right: 60%; }

/* Shine sweep travels right-to-left. */
.btn-liquid::after {
	left: auto;
	right: -80%;
	background: linear-gradient(260deg, transparent, rgba(255, 255, 255, 0.5), transparent);
	transform: skewX(20deg);
}
.btn-liquid:hover::after {
	right: 130%;
}

/* Reveal/scroll hint stays centered; nothing needed, but keep animation mirrored. */
@keyframes bounceHint {
	0%, 100% { transform: translateX(-50%) translateY(0); }
	50% { transform: translateX(-50%) translateY(8px); }
}

/* In RTL, the language toggle sits before the nav; keep the chevron pointing down. */
.lang-chevron {
	transform: none;
}

/* Form field text alignment follows RTL automatically; ensure placeholders too. */
.contact-form input,
.contact-form textarea {
	text-align: right;
}

/* Footer columns already use CSS grid; reverse so logo/brand leads on the right. */
.footer-grid {
	direction: rtl;
}

/* Reverse the primary nav order so it reads right-to-left with the brand. */
.primary-nav .nav-list {
	flex-direction: row-reverse;
}

@media (max-width: 720px) {
	.primary-nav .nav-list {
		flex-direction: column;
	}
}

/* Pull-quote / blockquote marker side flip for posts. */
.entry-content blockquote {
	border-left: 0;
	border-right: 4px solid var(--accent);
	padding-left: 0;
	padding-right: 20px;
}
