:root {
	--ti-container: 1100px;
	--ti-text: #080f1f;
	--ti-red: #d22f1e;
	--ti-blue: #018be6;
	--ti-muted: #abb8c3;
	--ti-border: #d9e1e7;
	--ti-header-bg: #eef5f8;
}

.ti_site {
	margin: 0;
	color: var(--ti-text);
	font-family: Arial, Helvetica, sans-serif;
	background: #fff;
	line-height: 1.4;
}

.ti_menu_open {
	overflow: hidden;
}

.ti_container {
	width: min(100% - 48px, var(--ti-container));
	margin: 0 auto;
}

.ti_skip_link {
	position: absolute;
	left: 16px;
	top: -60px;
	z-index: 100;
	padding: 10px 14px;
	color: #fff;
	background: #000;
	border-radius: 8px;
	text-decoration: none;
}

.ti_skip_link:focus {
	top: 16px;
}

.ti_header {
	position: relative;
	z-index: 50;
	background: var(--ti-header-bg);
}

.ti_header.is-sticky {
	position: fixed;
	top: 0;
	right: 0;
	left: 0;
	z-index: 900;
	box-shadow: 0 8px 28px rgba(15, 23, 42, 0.16);
}

.ti_header.is-sticky .ti_header_inner {
	min-height: 74px;
}

.ti_header_inner {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 40px;
	min-height: 110px;
	padding: 0;
}

.ti_logo {
	display: flex;
    flex: 0 0 auto;
	align-items: center;
	gap: 10px;
	color: var(--ti-text);
	text-decoration: none;
}

.ti_logo img {
	display: block;
	width: 38px;
	height: auto;
	flex: 0 0 auto;
}

.ti_logo_text {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.ti_logo_title {
	font-size: clamp(20.515px, 1.282rem + ((1vw - 3.2px) * 1.601), 33px);
    font-style: normal;
    font-weight: 600;
    line-height: 1;
    text-transform: uppercase;
}

.ti_logo_subtitle {
    font-size: clamp(14px, 0.875rem + ((1vw - 3.2px) * 0.128), 15px);
    font-style: normal;
    font-weight: 400;
    line-height: 1.2;
    text-transform: none;
}

.ti_logo_address {
	position: relative;
	margin-top: 6px;
	padding-left: 24px;
	color: var(--ti-red);
	font-size: 12px;
    line-height: 1.8;
}

.ti_logo_address::before {
	content: '';
	position: absolute;
	left: 0;
	top: 2px;
	width: 16px;
	height: 20px;
	background: url(/wp-content/uploads/2023/10/red-marker.png) no-repeat center center;
}

.ti_nav {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	min-width: 0;
}

.ti_header_menu,
.ti_mobile_menu {
	padding: 0;
	margin: 0;
	list-style: none;
}

.ti_header_menu {
	display: flex;
	align-items: flex-end;
	justify-content: center;
	gap: 42px;
	width: auto;
}

.ti_header_menu > li {
	position: relative;
}

.ti_header_menu a {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0px;
	color: #080f1f;
	font-size: 16px;
	font-weight: 400;
	line-height: 1;
	text-align: center;
	text-decoration: none;
	transition: color 0.2s ease;
}

.ti_header_menu a:hover .ti_menu_icon { filter: invert(11%) sepia(86%) saturate(4597%) hue-rotate(355deg) brightness(111%) contrast(89%); }

.ti_header_menu a:hover,
.ti_header_menu .current-menu-item > a,
.ti_header_menu .current-menu-ancestor > a {
	color: var(--ti-red);
}

.ti_menu_icon {
	display: block;
	width: 48px;
	height: 42px;
}

/* Врачи */
.ti_menu_doctors .ti_menu_icon {
	background: url(/wp-content/uploads/2024/09/contacts64.png) no-repeat top center !important;
    background-size: 30px !important;
}

/* Отделения */
.ti_menu_departments .ti_menu_icon {
	background: url(/wp-content/uploads/2024/09/medical-kit64.png) no-repeat top center !important;
    background-size: 30px !important;
}

/* Отзывы */
.ti_menu_reviews .ti_menu_icon {
    background: url(/wp-content/uploads/2024/09/person-speaking-symbol-in-a-circle64.png) no-repeat top center !important;
    background-size: 30px !important;
}

/* Цены */
.ti_menu_prices .ti_menu_icon {
    background: url(/wp-content/uploads/2024/09/calculator-64.png) no-repeat top center !important;
    background-size: 30px !important;
}

/* Контакты */
.ti_menu_contacts .ti_menu_icon {
    background: url(/wp-content/uploads/2024/09/hospital-64.png) no-repeat top center !important;
    background-size: 30px !important;
}


.ti_header_menu .sub-menu {
	position: absolute;
	left: 50%;
	top: calc(100% + 16px);
	z-index: 20;
	min-width: 240px;
	padding: 8px;
	margin: 0;
	list-style: none;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 18px 42px rgba(15, 23, 42, 0.18);
	opacity: 0;
	visibility: hidden;
	transform: translate(-50%, 8px);
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.ti_header_menu li:hover > .sub-menu,
.ti_header_menu li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translate(-50%, 0);
}

.ti_header_menu .sub-menu a {
	display: block;
	padding: 12px 14px;
	color: var(--ti-text);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.25;
	text-align: left;
	border-radius: 8px;
}

.ti_header_menu .sub-menu a:hover {
	color: #fff;
	background: var(--ti-blue);
}

.ti_header_menu .sub-menu .ti_menu_icon {
	display: none;
}

.ti_header_right {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	gap: 28px;
}

.ti_header_cta {
	display: none;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 28px;
	color: #fff;
	background: var(--ti-blue);
	border: 0;
	border-radius: 999px;
	font-size: 16px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
}

.ti_header_cta:hover {
	background: #0d78b4;
}

.ti_header.is-sticky .ti_header_phones {
	display: none;
}

.ti_header.is-sticky .ti_header_cta {
	display: inline-flex;
}

.ti_header_phones {
	display: grid;
	gap: 8px;
}

.ti_phone {
	display: grid;
	grid-template-columns: 38px auto;
	align-items: center;
	gap: 10px;
	color: var(--ti-text);
	text-decoration: none;
}
.ti_phone:hover {color: var(--ti-red);}

.ti_phone_number {
	font-weight: 600;
	line-height: 1;
	white-space: nowrap;
}

.ti_phone_flag {
	display: block;
	width: 34px;
	height: 34px;
	border-radius: 999px;
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.12);
}

.ti_phone_flag_il {
	background:
		linear-gradient(to bottom, #fff 0 18%, #2e63c7 18% 28%, #fff 28% 72%, #2e63c7 72% 82%, #fff 82% 100%);
	position: relative;
}

.ti_phone_flag_il::after {
	content: '✡';
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #2e63c7;
	font-size: 22px;
	line-height: 1;
}

.ti_phone_flag_ru {
	background:
		linear-gradient(to bottom, #fff 0 33.33%, #2446a8 33.33% 66.66%, #d91f26 66.66% 100%);
}

.ti_search {
	display: flex;
	align-items: center;
	height: 36px;
	padding: 0 10px;
	background: #fff;
	border: 2px solid #4b9bd7;
	border-radius: 999px;
    width: 135px;
}

.ti_search button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	padding: 0;
	color: #4b9bd7;
	background: transparent;
	border: 0;
	cursor: pointer;
}

.ti_search svg {
	fill: currentColor;
}
.ti_search label { display: none;}

.ti_search input {
	width: 100%;
	min-width: 0;
	padding: 0 0 0 6px;
	color: var(--ti-text);
	background: transparent;
	border: 0;
	outline: 0;
	text-transform: uppercase;
}

.ti_search input::placeholder {
	color: #5b9bd1;
	opacity: 1;
}

.ti_menu_toggle {
	display: none;
	width: 48px;
	height: 48px;
	padding: 0;
	background: var(--ti-blue);
	border: 0;
	border-radius: 10px;
	cursor: pointer;
}

.ti_menu_toggle span {
	display: block;
	width: 24px;
	height: 2px;
	margin: 6px auto;
	background: #fff;
	border-radius: 999px;
}

.ti_mobile_bar {
	display: none;
}

.ti_mobile_bar_item {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 50px;
	padding: 8px 10px;
	color: var(--ti-text);
	background: #fff;
	border: 0;
	border-right: 1px solid var(--ti-border);
	font-size: 16px;
	font-weight: 400;
	line-height: 1;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	flex-direction: column;
}

.ti_mobile_bar_item:last-child {
	border-right: 0;
}

.ti_mobile_bar_item:hover {
	color: var(--ti-red);
}

.ti_mobile_bar_icon {
	display: block;
	width: 30px;
	height: 30px;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
}

.ti_mobile_bar_icon_menu {
	position: relative;
	width: 30px;
	height: 22px;
	background: linear-gradient(#17324a, #17324a) center / 30px 4px no-repeat;
}

.ti_mobile_bar_icon_menu::before,
.ti_mobile_bar_icon_menu::after {
	content: '';
	position: absolute;
	right: 0;
	left: 0;
	height: 4px;
	background: #17324a;
	border-radius: 999px;
}

.ti_mobile_bar_icon_menu::before {
	top: 0;
}

.ti_mobile_bar_icon_menu::after {
	bottom: 0;
}

.ti_mobile_bar_icon_reviews {
	background-image: url(/wp-content/uploads/2024/09/person-speaking-symbol-in-a-circle64.png);
}

.ti_mobile_bar_icon_prices {
	background-image: url(/wp-content/uploads/2024/09/calculator-64.png);
}

.ti_mobile_bar_icon_call {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath fill='%2317324a' d='M45.7 57.1c-8.2 0-17.5-4.8-25.4-12.8C9.1 33.1 4.9 19.3 10.5 13.7l5.2-5.2c1.8-1.8 4.7-1.8 6.5 0l7.4 7.4c1.8 1.8 1.8 4.7 0 6.5l-3.4 3.4c1.4 2.7 3.4 5.4 5.9 7.9s5.2 4.5 7.9 5.9l3.4-3.4c1.8-1.8 4.7-1.8 6.5 0l7.4 7.4c1.8 1.8 1.8 4.7 0 6.5l-5.2 5.2c-1.6 1.2-3.8 1.8-6.4 1.8zM18.9 12.4c-.2 0-.4.1-.5.2l-5.2 5.2c-2.8 2.8.5 13.5 10.5 23.5s20.7 13.3 23.5 10.5l5.2-5.2c.3-.3.3-.7 0-1l-7.4-7.4c-.3-.3-.7-.3-1 0l-5.1 5.1-1.6-.7c-3.3-1.5-6.8-4-9.8-7s-5.5-6.5-7-9.8l-.7-1.6 5.1-5.1c.3-.3.3-.7 0-1l-7.4-7.4c-.2-.2-.4-.3-.6-.3z'/%3E%3C/svg%3E");
}

.ti_mobile {
	position: fixed;
	inset: 0;
	z-index: 999;
	background: rgba(15, 23, 42, 0.56);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.24s ease, visibility 0.24s ease;
}

.ti_mobile.is-active {
	opacity: 1;
	visibility: visible;
}

.ti_mobile_panel {
	width: min(92vw, 390px);
	height: 100%;
	padding: 22px;
	overflow-y: auto;
	background: #fff;
	box-shadow: 20px 0 60px rgba(15, 23, 42, 0.24);
	transform: translateX(-100%);
	transition: transform 0.24s ease;
}

.ti_mobile.is-active .ti_mobile_panel {
	transform: translateX(0);
}

.ti_mobile_head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 22px;
}

.ti_mobile_title {
	font-size: 24px;
	font-weight: 800;
}

.ti_mobile_close {
	width: 42px;
	height: 42px;
	color: var(--ti-text);
	background: #f4f8fb;
	border: 0;
	border-radius: 12px;
	font-size: 32px;
	line-height: 1;
	cursor: pointer;
}

.ti_mobile_menu {
	display: grid;
	gap: 6px;
}

.ti_mobile_menu a {
	display: block;
	padding: 13px 14px;
	color: var(--ti-text);
	background: #f4f8fb;
	border-radius: 12px;
	font-size: 17px;
	font-weight: 700;
	text-decoration: none;
}

.ti_mobile_search {
	width: 100%;
	margin-top: 20px;
}

.ti_mobile_contacts {
	display: grid;
	gap: 10px;
	padding-top: 22px;
	margin-top: 22px;
	border-top: 1px solid var(--ti-border);
}

.ti_mobile_section_title {
	margin: 0 0 2px;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
}

.ti_mobile_contacts a {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 13px 14px;
	color: var(--ti-text);
	background: #fff;
	border: 1px solid var(--ti-border);
	border-radius: 14px;
	text-decoration: none;
}

.ti_mobile_contacts span {
	color: var(--ti-muted);
	font-size: 13px;
}

.ti_mobile_contacts strong {
	font-size: 17px;
}

.ti_mobile_socials {
	max-width: none;
	margin-top: 18px;
	padding: 0;
	border: 0;
	background: transparent;
	gap: 12px;
}

.ti_doctor_contacts {
	display: grid;
	gap: 18px;
	max-width: 430px;
	padding: 20px 15px;
	border: 2px solid #2282c2;
	border-radius: 5px;
	background: #fff;
}

.ti_doctor_contact {
	display: flex;
	align-items: center;
	gap: 18px;
	color: #000;
	text-decoration: none;
}

.ti_doctor_contact:hover {
	color: #000;
	text-decoration: none;
}

.ti_doctor_contact_icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	flex: 0 0 36px;
}

.ti_doctor_contact_icon img {
	display: block;
	width: 36px;
	height: 36px;
	object-fit: contain;
}

.ti_doctor_contact_text {
	display: grid;
	gap: 3px;
	min-width: 0;
}

.ti_doctor_contact_label {
	color: #00a541;
	font-size: 12px;
	font-weight: 400;
	line-height: 1.1;
}

.ti_doctor_contact_value {
	color: #000;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.2;
	white-space: nowrap;
}

.col-reverce {flex-direction: column-reverse; display: flex;}

.list-2 { column-count: 2;}

@media (max-width: 560px) {
	.ti_doctor_contacts {
		max-width: none;
		padding: 24px 10px;
		gap: 16px;
	}

	.ti_doctor_contact {
		gap: 14px;
	}

	.ti_doctor_contact_value {
		white-space: normal;
		overflow-wrap: anywhere;
	}
}

@media (max-width: 1360px) {
	.ti_header_inner {
		grid-template-columns: minmax(280px, 340px) 1fr auto;
		gap: 24px;
	}

	.ti_header_menu {
		gap: 28px;
	}


	.ti_search {
		width: 125px;
	}
}

@media (max-width: 1180px) {
	.ti_header_inner {
		grid-template-columns: auto 1fr auto;
		justify-content: space-between;
	}

	.ti_logo img { width: 35px;}
	.ti_logo_address { font-size: 10px;    margin-top: 2px; padding-left: 15px;}
	.ti_phone { grid-template-columns: 32px auto; font-size: 14px;}

	.ti_header_menu,
	.ti_header_right {
		gap: 17px;
	}

	.ti_menu_icon {
		width: 40px;
		height: 36px;
	}

	.ti_menu_icon::before {
		width: 36px;
		height: 36px;
	}

	.ti_logo_title { font-size: 28px;}

	.ti_phone_flag { width: 30px; height: 30px;}

}

@media (max-width: 980px) {
	.ti_container {
		width: min(100% - 28px, var(--ti-container));
	}

	.ti_header_inner {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
		gap: 12px 18px;
		min-height: 96px;
		padding: 10px 0 8px;
	}

	.ti_nav {
		display: none;
	}

	.ti_header_right {
		flex: 1 1 auto;
		justify-content: flex-end;
		gap: 14px;
		margin-left: auto;
	}

	.ti_header_phones {
		display: grid;
		gap: 4px;
	}

	.ti_phone {
		grid-template-columns: 28px auto;
		gap: 7px;
	}

	.ti_phone_flag {
		width: 26px;
		height: 26px;
	}

	.ti_phone_flag_il::after {
		font-size: 16px;
	}

	.ti_phone_number {
		font-size: 14px;
	}

	.ti_search {
		display: flex;
		width: 150px;
		height: 34px;
	}

	.ti_header_right > .ti_menu_toggle {
		display: none;
	}

	.ti_header_cta {
		min-height: 38px;
		padding: 0 18px;
		font-size: 13px;
	}

	.ti_mobile_bar {
		display: grid;
		grid-template-columns: repeat(4, minmax(0, 1fr));
		padding: 0;
		background: #fff;
		border-top: 1px solid var(--ti-border);
		border-bottom: 1px solid var(--ti-border);
		box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
	}

	.ti_header.is-sticky .ti_header_inner {
		display: none;
	}
}

@media (max-width: 680px) {

	.ti_search {
		width: 130px;
		min-width: 128px;
	}
}
@media (max-width: 600px) {
	.ti_search {
		display: none;
	}
}

@media (max-width: 480px) {
	.ti_logo_title {
		font-size: 20px!important;
	}

	.ti_logo_subtitle {
		font-size: 13px!important;
	}

    .ti_logo_address {font-size: 9px !important; white-space: nowrap;}

	.ti_phone_number {
		font-size: 12px;
	}

	.ti_mobile_bar_item {
		flex-direction: column;
		gap: 5px;
		min-height: 58px;
		font-size: 12px;
	}

	.ti_mobile_panel {
		width: 100%;
	}
	.list-2 {
		column-count: 1;
	}
}
@media (max-width: 400px) {
	.ti_phone_number { font-size: 11px; }
	.ti_phone_flag { width: 22px; height: 22px;}
}