/**
 * Persian Core — RTL animation fixes (in-box, ships with Core).
 */

body.rtl .nectar-cta[data-style="text-reveal-wave"] .text,
body.rtl .menu-item-hover-text-reveal-wave .text,
.nectar-cta[data-style="text-reveal-wave"] .text[dir="rtl"],
.menu-item-hover-text-reveal-wave .text[dir="rtl"] {
	direction: rtl;
	unicode-bidi: isolate;
}

.nectar-cta[data-style="text-reveal-wave"] .char.nectar-rtl-word,
.nectar-split-heading[data-nectar-rtl="1"] .inner.nectar-rtl-word {
	display: inline-block;
	white-space: nowrap;
	letter-spacing: normal;
}

.nectar-cta[data-style="text-reveal"] .text[dir="rtl"],
.nectar-cta[data-style="text-reveal"] .nectar-text-reveal-button__text[dir="rtl"] {
	direction: rtl;
	unicode-bidi: isolate;
	text-align: right;
}

@media only screen and (min-width: 1000px) {
	.nectar-cta[data-style="text-reveal"] .nectar-text-reveal-button__text[dir="rtl"]:after {
		left: auto;
		right: 0;
		direction: rtl;
		unicode-bidi: isolate;
		text-align: right;
	}
}

.nectar-split-heading[data-nectar-rtl="1"] {
	direction: rtl;
	unicode-bidi: isolate;
}

.nectar-split-heading[data-nectar-rtl="1"] > h1,
.nectar-split-heading[data-nectar-rtl="1"] > h2,
.nectar-split-heading[data-nectar-rtl="1"] > h3,
.nectar-split-heading[data-nectar-rtl="1"] > h4,
.nectar-split-heading[data-nectar-rtl="1"] > h5,
.nectar-split-heading[data-nectar-rtl="1"] > h6,
.nectar-split-heading[data-nectar-rtl="1"] > p {
	direction: rtl;
	unicode-bidi: isolate;
}

/* Word-level reveal (Persian-safe): each word is one .inner */
.nectar-split-heading.persian-word-reveal[data-nectar-rtl="1"] > h1 > span,
.nectar-split-heading.persian-word-reveal[data-nectar-rtl="1"] > h2 > span,
.nectar-split-heading.persian-word-reveal[data-nectar-rtl="1"] > h3 > span,
.nectar-split-heading.persian-word-reveal[data-nectar-rtl="1"] > h4 > span,
.nectar-split-heading.persian-word-reveal[data-nectar-rtl="1"] > h5 > span,
.nectar-split-heading.persian-word-reveal[data-nectar-rtl="1"] > h6 > span,
.nectar-split-heading.persian-word-reveal[data-nectar-rtl="1"] > p > span {
	display: inline-block;
}
