/* ==========================================================================
   Global RTL
   ========================================================================== */

html[dir="rtl"] body {
	direction: rtl;
}

html[dir="rtl"] .btn_grp {
	flex-direction: row-reverse;
}

html[dir="rtl"] .btn-default,
html[dir="rtl"] .new_design .btn {
	flex-direction: row-reverse;
	text-align: right;
}

html[dir="rtl"] .new_design .btn .cheveron_icon,
html[dir="rtl"] .btn-default .cheveron_icon {
	transform: scaleX(-1);
}

html[dir="rtl"] .language_btn {
	padding: 0 0 0 21px;
	text-align: right;
}

html[dir="rtl"] .language_btn::before {
	right: 0;
	left: auto;
}

/* ==========================================================================
   Header Desktop
   ========================================================================== */

/* Arabic header should look LTR */
html[dir="rtl"] body:not(.home).single-languages .site-header {
	direction: ltr;
	text-align: left;
}

html[dir="rtl"] body:not(.home).single-languages .site-header .main_menu > li {
	padding-right: 40px !important;
	padding-left: 0 !important;
}

html[dir="rtl"] body:not(.home).single-languages .site-header .main_menu .menu-item-has-children > a {
	padding-right: 20px !important;
	padding-left: 0 !important;
}

html[dir="rtl"] body:not(.home).single-languages .site-header .main_menu .menu-item-has-children > a:after {
	right: 0 !important;
	left: auto !important;
}

html[dir="rtl"] body:not(.home).single-languages .site-header .main_menu .login_btn {
	margin-left: 30px !important;
	margin-right: 0 !important;
	padding-right: 10px !important;
	padding-left: 0 !important;
}

/* Restore original tighter spacing for special CTA buttons in header */
html[dir="rtl"] body:not(.home).single-languages .site-header .main_menu > li.bg_btn {
	padding-right: 0 !important;
}

html[dir="rtl"] body:not(.home).single-languages .site-header .main_menu > li.login-hbtn {
	padding-right: 0 !important;
}

/* Arabic footer should look LTR (match normal pages) */
html[dir="rtl"] body:not(.home).single-languages .site-footer,
html[dir="rtl"] body:not(.home).single-languages .site-footer .footer_top .container,
html[dir="rtl"] body:not(.home).single-languages .site-footer .bottom_top,
html[dir="rtl"] body:not(.home).single-languages .site-footer .footer_last {
	direction: ltr;
	text-align: left;
}

@media(max-width: 1800px) {
	html[dir="rtl"] body:not(.home).single-languages .site-header .main_menu > li {
		padding-right: 30px !important;
		padding-left: 0 !important;
	}
}

@media(max-width: 1350px) {
	html[dir="rtl"] body:not(.home).single-languages .site-header .main_menu > li {
		padding-right: 20px !important;
		padding-left: 0 !important;
	}
}

/* ==========================================================================
   Hero
   ========================================================================== */

html[dir="rtl"] .hero.new_design .hero_wrap {
	padding: 87px 63px 63px 120px;
}

html[dir="rtl"] .single-languages .hero.new_design .hero_wrap {
	padding: 87px 63px 63px 60px;
}

html[dir="rtl"] body:not(.home).single-languages .hero.new_design .hero_wrap {
	padding-right: 63px;
	padding-left: 48px;
}

html[dir="rtl"] body:not(.home).single-languages .hero.new_design .hero_wrap .content p {
	margin-right: 0;
	margin-left: auto;
}

html[dir="rtl"] .hero.new_design .btn_grp,
html[dir="rtl"] body:not(.home).single-languages .btn_grp {
	justify-content: flex-end;
}

html[dir="rtl"] body:not(.home).single-languages .hero.new_design {
	position: relative;
	z-index: 3;
	padding-bottom: 120px;
	overflow: hidden;
}

html[dir="rtl"] body:not(.home).single-languages .hero.new_design .container {
	position: relative;
	z-index: 3;
}

/* @media (min-width: 769px) { */
@media (min-width: 1200px) {
	html[dir="rtl"] body:not(.home).single-languages .eqm-1.hero.new_design {
		background-image: none !important;
	}

	html[dir="rtl"] body:not(.home).single-languages .eqm-1.hero.new_design::before {
		content: "";
		position: absolute;
		inset: 0;
		background-image: var(--eqm-bg-image);
		background-position: center;
		background-repeat: no-repeat;
		background-size: cover;
		transform: scaleX(-1);
		transform-origin: center;
		z-index: 1;
	}

	html[dir="rtl"] body:not(.home).single-languages .eqm-1.hero.new_design > * {
		position: relative;
		z-index: 2;
	}
}

/* ==========================================================================
   Content Sections
   ========================================================================== */

html[dir="rtl"] .image_text .image_text-row .image_text-col .short_info,
html[dir="rtl"] .image_text .image_text-row .image_text-col .short_info p,
html[dir="rtl"] .image_text .image_text-row .image_text-col .short_info .heading,
html[dir="rtl"] .therapists .therapist_carousel .therapist_item .therapist_detail,
html[dir="rtl"] .therapists .therapist_carousel .therapist_item .therapist_detail p,
html[dir="rtl"] .pricing_new,
html[dir="rtl"] .color_cards,
html[dir="rtl"] .get_matched,
html[dir="rtl"] .faq_small .faq_item button,
html[dir="rtl"] .big_faq .tabs_wrapper h3,
html[dir="rtl"] body.single-languages {
	text-align: right;
}

html[dir="rtl"] .image_text.image_right .image_text-row {
	flex-direction: row;
}

html[dir="rtl"] .connect_therapist .connect_wrap {
	direction: rtl;
}

html[dir="rtl"] .connect_therapist .connect_wrap .connect_col,
html[dir="rtl"] .connect_therapist .connect_wrap .connect_col .connect_desc p {
	text-align: right;
}

html[dir="rtl"] .connect_therapist .languages_list .languages_list-wrap {
	direction: rtl;
}

html[dir="rtl"] .pricing_new .pricing_wrap {
	direction: rtl;
}

html[dir="rtl"] .pricing_new .pricing_wrap .pricing_col .pricing_detail {
	align-items: flex-start;
	text-align: right;
}

/* html[dir="rtl"] .therapists .therapist_carousel, */
html[dir="rtl"] .therapists .other_therapists {
	direction: rtl;
}

html[dir="rtl"] .therapists .therapist_carousel .therapist_item .therapist_detail,
html[dir="rtl"] .therapists .other_therapists .therapist_item .therapist_detail {
	text-align: right;
}

html[dir="rtl"] .faq_small .faq_item p,
html[dir="rtl"] body:not(.home).single-languages .faq_part .col-text.faq_small p {
	text-align: right;
}

/* ==========================================================================
   Single Language Page
   ========================================================================== */

html[dir="rtl"] body:not(.home).single-languages .sunrise_color_pills .bottom_row .nc_pills ul li:nth-child(3) {
	margin-left: 0;
	margin-right: 100px;
}

html[dir="rtl"] body:not(.home).single-languages .sunrise_color_pills .bottom_row .nc_pills ul li:nth-child(4) {
	margin-left: 0;
	margin-right: 45px;
}

html[dir="rtl"] body:not(.home).single-languages .sunrise_color_pills .bottom_row .nc_pills ul li:nth-child(8) {
	margin-left: 0;
	margin-right: 65px;
}

html[dir="rtl"] body:not(.home).single-languages .sunrise_color_pills {
	position: relative;
	z-index: 1;
	margin-top: 0;
}

html[dir="rtl"] body:not(.home).single-languages .sunrise_color_pills .top_row {
	position: relative;
	z-index: 2;
}

html[dir="rtl"] body:not(.home).single-languages .sunrise_color_pills .sunrise_bg img {
	transform: scaleX(-1);
	transform-origin: center;
}

html[dir="rtl"] body:not(.home).single-languages .faq_part .col-img {
	padding: 0 0 0 70px !important;
}

@media (max-width: 575px) {
	html[dir="rtl"] body:not(.home).single-languages .faq_part .col-img {
		padding: 0 !important;
	}
}

html[dir="rtl"] body:not(.home).single-languages .faq_part .col-text.faq_small .faq_item {
	padding-left: 0;
	padding-right: 40px !important;
}

html[dir="rtl"] body:not(.home).single-languages .faq_part .col-text.faq_small .faq_item button {
	padding-left: 0;
	padding-right: 0;
	text-align: right;
}

html[dir="rtl"] body:not(.home).single-languages .faq_part .col-text.faq_small .faq_item button:after {
	left: auto;
	right: -40px;
}

html[dir="rtl"] body:not(.home).single-languages .therapists:before,
html[dir="rtl"] body:not(.home).single-languages .color_cards:before,
html[dir="rtl"] body:not(.home).single-languages .pricing_new:before,
html[dir="rtl"] body:not(.home).single-languages .big_faq:before,
html[dir="rtl"] body:not(.home).single-languages .big_faq:after {
	transform: scaleX(-1);
	transform-origin: center;
}

html[dir="rtl"] body:not(.home).single-languages .therapists .btn_grp,
html[dir="rtl"] body:not(.home).single-languages .get_matched .matched_wrap .btn_grp {
	justify-content: flex-start;
}

html[dir="rtl"] body:not(.home).single-languages .color_cards .cards + p,
html[dir="rtl"] body:not(.home).single-languages .therapy_reasons .reasons_wrap .reasons_col p,
html[dir="rtl"] body:not(.home).single-languages .sunrise_color_pills .bottom_row .left p {
	margin-right: 0;
	margin-left: auto;
}

html[dir="rtl"] body:not(.home).single-languages .color_cards .cards,
html[dir="rtl"] body:not(.home).single-languages .therapy_reasons .reasons_wrap,
html[dir="rtl"] body:not(.home).single-languages .big_faq .head_wrap {
	direction: rtl;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 768px) {
	html[dir="rtl"] .image_text.image_right .image_text-row {
		flex-direction: column-reverse;
	}

	/* html[dir="rtl"] body:not(.home).single-languages .sunrise_color_pills .sunrise_bg img {
		transform: none;
	} */
}
