/**
 * Theme inline styles - extracted from header, footer, index
 */

/* Header language switcher */
.lang-switcher-dropdown {
	position: relative;
	display: inline-flex;
	align-items: center;
	margin: 0 14px 0 0;
	vertical-align: middle;
}

.lang-switcher-dropdown__current {
	list-style: none;
	cursor: pointer;
	color: #9b4d66;
	font-size: 22px;
	font-weight: 600;
	line-height: 1;
	padding: 7px 28px 7px 10px;
	border-radius: 8px;
	border: 1px solid rgba(155, 77, 102, 0.28);
	background: #fff;
	transition: all .2s ease;
	position: relative;
}

.lang-switcher-dropdown__current::-webkit-details-marker {
	display: none;
}

.lang-switcher-dropdown__current::after {
	content: "";
	position: absolute;
	right: 10px;
	top: 50%;
	width: 7px;
	height: 7px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: translateY(-65%) rotate(45deg);
	transition: transform .2s ease;
}

.lang-switcher-dropdown[open] .lang-switcher-dropdown__current {
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
	border-color: rgba(155, 77, 102, 0.4);
}

.lang-switcher-dropdown[open] .lang-switcher-dropdown__current::after {
	transform: translateY(-35%) rotate(-135deg);
}

.lang-switcher-dropdown__list {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	margin: 0;
	padding: 6px;
	list-style: none;
	background: #fff;
	border: 1px solid rgba(155, 77, 102, 0.2);
	border-radius: 10px;
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
	z-index: 30;
	min-width: 74px;
}

.lang-switcher-dropdown__list a {
	display: block;
	color: #4a4a4a;
	text-decoration: none;
	font-size: 15px;
	line-height: 1.35;
	font-weight: 500;
	padding: 6px 10px;
	border-radius: 6px;
}

.lang-switcher-dropdown__list a:hover {
	color: #9b4d66;
	background: rgba(155, 77, 102, 0.08);
}

/* Header left cluster: logo + lang + phone */
.header .col-lg-4.col-sm-6.col-10 {
	display: flex;
	align-items: center;
	gap: 10px;
}

.header .logo {
	margin: 0;
	flex: 0 0 auto;
}

.header .logo img {
	display: block;
	height: 42px;
	width: auto;
}

.header .number {
	margin: 0;
	white-space: nowrap;
	line-height: 1;
}

@media (max-width: 768px) {
	.lang-switcher-dropdown {
		margin-right: 8px;
	}
	.lang-switcher-dropdown__current {
		font-size: 18px;
		padding: 6px 24px 6px 8px;
	}
	.lang-switcher-dropdown__list {
		min-width: 64px;
	}
	.header .col-lg-4.col-sm-6.col-10 {
		gap: 6px;
	}
	.header .logo img {
		height: 34px;
	}
	.header .number {
		font-size: 18px;
	}
}

/* Header - number icon, SEO */
.number__icon svg {
	display: none;
	position: absolute;
	color: #9b4d66;
	width: 28px;
	right: 10px;
	top: 10px;
}

@media (max-width: 480px) {
	.number__icon svg {
		display: block;
	}
}

.seo_in h1,
.seo_new h1 {
	margin-bottom: .5rem;
	font-family: inherit;
	font-weight: 500;
	line-height: 1.2;
	color: inherit;
	font-size: 2.5rem;
}

.seo_in h2,
.seo_new h2,
.seo_new h2 span {
	margin-bottom: .5rem;
	font-family: inherit;
	font-weight: 500;
	line-height: 1.2;
	color: inherit;
	font-size: 1.5rem;
}

.seo_in h3,
.seo_new h3,
.seo_new h3 span {
	margin-bottom: .5rem;
	font-size: 1.2rem;
}

.seo_new a,
.seo_new a span,
.seo_in a span,
.seo_in a {
	text-decoration: underline;
	color: #9b4d66;
	font-weight: 700;
}

/* Index - SEO block */
.seo_in {
	padding: 40px 0;
	height: 291px;
	overflow: hidden;
	transition: .3s;
}

.seo_in .more__text,
.more__text {
	height: auto;
	transition: .3s;
}

.seo_in p {
	margin: 5px 0;
}

.seo_in ol,
.seo_in ul {
	padding-left: 45px;
	margin-bottom: 5px;
}

.seo_in a {
	color: #9b4d66;
}

#more__seo {
	margin-top: 20px;
}

.main-about_text {
	padding-bottom: 20px;
	text-transform: none;
}

.main-about-content p {
	margin: 1rem 0;
}

.main-button--wrp {
	display: flex;
	justify-content: center;
}

/* Footer - CF7, doctors, gallery */
.wpcf7-mail-sent-ok {
	display: none !important;
}

a.footer__number-item {
	font-family: Geometria-Regular;
	color: #4a4a4a;
	font-size: 14px;
	font-weight: 400;
	line-height: normal;
	margin: 0;
	padding: 0;
	outline: 0;
	text-decoration: none;
	border: 0;
	position: relative;
	margin-bottom: 12px;
	display: inline-block;
}

.doctors__slider {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(100px, 200px));
	grid-gap: 20px;
	font-size: 14px;
}

.doctor__item img {
	width: 100%;
}

.doctor__item span {
	display: block;
	margin: 10px 0;
	font-weight: 600;
}

.doctor__item p {
	display: block;
	margin: 5px 0;
}

.doctor__item ul {
	padding-left: 18px;
	list-style: disc;
}

.gallery__item {
	margin: 0 10px;
	height: 400px;
	position: relative;
}

.gallery__item img {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.prev,
.next {
	position: absolute;
	left: -23px;
	top: 50%;
	transform: translateY(-50%);
	bottom: auto;
	z-index: 99;
	cursor: pointer;
}

.next {
	left: auto;
	right: -23px;
}

.mfp-bottom-bar {
	display: none !important;
}

/* First visit language choice modal */
.lang-choice-open {
	overflow: hidden;
}

.lang-choice-modal {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: none;
}

.lang-choice-modal.is-open {
	display: flex;
	align-items: center;
	justify-content: center;
}

.lang-choice-modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba(28, 31, 38, 0.55);
	backdrop-filter: blur(1px);
}

.lang-choice-modal__dialog {
	position: relative;
	width: min(92vw, 660px);
	background: #fff;
	border-radius: 18px;
	padding: 30px 34px 28px;
	box-shadow: 0 18px 44px rgba(0, 0, 0, 0.16);
	border: 1px solid rgba(155, 77, 102, 0.14);
}

.lang-choice-modal__close {
	position: absolute;
	top: 12px;
	right: 14px;
	border: 0;
	background: transparent;
	font-size: 26px;
	line-height: 1;
	color: #4a4a4a;
	cursor: pointer;
}

.lang-choice-modal__title {
	margin: 0 34px 22px 0;
	font-size: 28px;
	line-height: 1.2;
	font-weight: 600;
	color: #222;
	text-align: center;
}

.lang-choice-modal__actions {
	display: flex;
	gap: 16px;
	justify-content: center;
}

.lang-choice-modal__btn {
	min-width: 112px;
	text-align: center;
	padding: 11px 18px;
	border-radius: 999px;
	border: 2px solid #9b4d66;
	background: #fff;
	color: #9b4d66;
	font-size: 24px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none !important;
	transition: all .2s ease;
}

.lang-choice-modal__btn.is-current {
	background: #9b4d66;
	border-color: #9b4d66;
	color: #fff;
}

.lang-choice-modal__btn:not(.is-current):hover {
	background: rgba(155, 77, 102, 0.08);
	text-decoration: none !important;
}

@media (max-width: 767px) {
	.lang-choice-modal__dialog {
		padding: 22px 18px 20px;
		border-radius: 14px;
	}
	.lang-choice-modal__title {
		font-size: 24px;
		margin-bottom: 16px;
	}
	.lang-choice-modal__btn {
		min-width: 86px;
		font-size: 18px;
		padding: 9px 12px;
	}
}
