/**
 * UK/EN language visibility toggles.
 */

html[lang='uk'] .leocar-i18n-en,
html[data-leocar-lang='uk'] .leocar-i18n-en,
body.leocar-lang-uk .leocar-i18n-en {
	display: none !important;
}

html[lang='en'] .leocar-i18n-uk,
html[lang^='en-'] .leocar-i18n-uk,
html[data-leocar-lang='en'] .leocar-i18n-uk,
body.leocar-lang-en .leocar-i18n-uk {
	display: none !important;
}

/* About Us — UA/EN story blocks */
html[lang='uk'] .leocar-about-page__story-en,
html[lang='uk'] .leocar-about-page__intro-en,
html[lang='uk'] .leocar-about-page__team-title-en,
body.leocar-lang-uk .leocar-about-page__story-en,
body.leocar-lang-uk .leocar-about-page__intro-en,
body.leocar-lang-uk .leocar-about-page__team-title-en {
	display: none !important;
}

html[lang='en'] .leocar-about-page__story-ua,
html[lang='en'] .leocar-about-page__intro:not(.leocar-about-page__intro-en),
body.leocar-lang-en .leocar-about-page__story-ua {
	display: none !important;
}

/* Forminator success — show EN lines only in EN */
html[lang='uk'] .leocar-forminator-success__text--en,
body.leocar-lang-uk .leocar-forminator-success__text--en {
	display: none !important;
}

html[lang='en'] .leocar-forminator-success__title,
html[lang='en'] .leocar-forminator-success__text:not(.leocar-forminator-success__text--en),
body.leocar-lang-en .leocar-forminator-success__title,
body.leocar-lang-en .leocar-forminator-success__text:not(.leocar-forminator-success__text--en) {
	display: none !important;
}

html[lang='en'] .leocar-forminator-success__text--en,
body.leocar-lang-en .leocar-forminator-success__text--en {
	display: block !important;
}

/* Language switcher buttons */
header .language .leocar-lang-option {
	background: none;
	border: 0;
	padding: 0;
	font: inherit;
	color: inherit;
	width: 100%;
	text-align: left;
	cursor: pointer;
}

@media (max-width: 1099px) {
	header .leocar-mobile-header-language .leocar-lang-option,
	header .leocar-mobile-header-language ul li button {
		display: inline-flex !important;
		justify-content: center !important;
		align-items: center;
		text-align: center !important;
	}
}
