/* Homepage redesign — jumla-child */

:root {
	--tmk-mod: #23838b;
	--tmk-corner: 32px;
}

/* Theme boxes the whole site to ~1170px via .custom-background .site */

body.tmk-redesign #page.site,
body.tmk-redesign .site {
	max-width: none !important;
	width: 100% !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

.home.tmk-home-redesign .site-content,
.home.tmk-home-redesign .site-content.wrapper,
.home.tmk-home-redesign #content.site-content {
	display: block !important;
	width: 100% !important;
	max-width: none !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

body.tmk-redesign .site-branding,
body.tmk-redesign #masthead,
body.tmk-redesign .popup-search {
	display: none !important;
}

.home.tmk-home-redesign .tmk-home {
	width: 100%;
}

body.tmk-redesign {
	--tmk-container-max: 1760px;
	--tmk-container-pad: clamp(20px, 4vw, 72px);
	--tmk-primary: #23838b;
	--tmk-primary-dark: #1a6b72;
	--tmk-primary-deep: #1a6b72;
	--tmk-search-strip: #ffffff;
	--tmk-text: #1a1a1a;
	--tmk-muted: #5a6672;
	--tmk-bg: #f4f7f8;
	--tmk-card: #ffffff;
	--tmk-radius: 12px;
	--tmk-font: "Golos Text", Inter, "Segoe UI", sans-serif;
	--tmk-font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
	--tmk-edge: max(var(--tmk-container-pad), calc((100vw - var(--tmk-container-max)) / 2 + var(--tmk-container-pad)));

	/* Шапка и навигация */
	--tmk-header-h: 76px;
	--tmk-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
	--tmk-menu-duration: 0.14s;
	--tmk-accordion-duration: 0.32s;
	--tmk-menu-radius: 14px;
	--tmk-sub-min: 280px;
	--tmk-sub-max: 360px;
	--tmk-sub-pad: 6px;
	--tmk-sub-shadow: 0 18px 44px -12px rgba(16, 58, 62, 0.28), 0 4px 12px rgba(16, 58, 62, 0.08);
	--tmk-drawer-w: min(420px, 88vw);
}

body.tmk-redesign,
body.tmk-redesign .site,
body.tmk-redesign .site button,
body.tmk-redesign .site input,
body.tmk-redesign .site select,
body.tmk-redesign .site textarea,
body.tmk-redesign .tmk-site-header,
body.tmk-redesign .tmk-home,
body.tmk-redesign .site h2,
body.tmk-redesign .site h3,
body.tmk-redesign .site h4,
body.tmk-redesign .site h5,
body.tmk-redesign .site h6 {
	font-family: var(--tmk-font) !important;
}

body.tmk-redesign .tmk-hero__title {
	font-family: var(--tmk-font-serif) !important;
}

.tmk-home {
	color: var(--tmk-text);
}

body.tmk-redesign {
	overflow-x: clip;
	background-color: var(--tmk-bg);
	overscroll-behavior-y: none;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	min-height: 100dvh;
}

body.tmk-redesign > #page.site {
	flex: 1 0 auto;
}

/* Резинка Safari ниже подвала показывает фон html. Без этого там вспыхивает белый body. */
html:has(body.tmk-redesign) {
	background-color: #121416;
	overscroll-behavior-y: none;
}

.tmk-home__inner {
	max-width: 1760px;
	margin-left: auto;
	margin-right: auto;
	padding: 0 var(--tmk-container-pad);
	width: 100%;
	box-sizing: border-box;
}

/* Groovy Menu отключён на всём сайте — подстраховка, если фильтр не сработал */

body.tmk-redesign .gm-navbar,
body.tmk-redesign .gm-navigation-drawer,
body.tmk-redesign .gm-dropdown-overlay {
	display: none !important;
}

body.tmk-redesign .gm-padding,
body.tmk-redesign.admin-bar .gm-padding {
	padding-top: 0 !important;
}

body.tmk-redesign #page.site {
	padding-top: 0;
}

/* Site header */

body.tmk-redesign .tmk-site-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	display: flex;
	flex-direction: column;
	height: var(--tmk-header-h);
	overflow: visible;
	background: var(--tmk-primary);
	border-bottom: none;
	box-shadow: 0 4px 18px rgba(35, 131, 139, 0.28);
}

body.tmk-redesign .tmk-site-header--open {
	height: auto;
}

body.tmk-redesign.admin-bar .tmk-site-header {
	top: 32px;
}

@media (max-width: 782px) {
	body.tmk-redesign.admin-bar .tmk-site-header {
	top: 46px;
	}

body.tmk-redesign.admin-bar .tmk-site-header__nav {
	top: 46px;
	}

}

body.tmk-redesign .tmk-site-header__inner {
	display: flex;
	align-items: center;
	gap: 20px 28px;
	height: var(--tmk-header-h);
	min-height: var(--tmk-header-h);
	padding-top: 0;
	padding-bottom: 0;
	box-sizing: border-box;
	position: relative;
	z-index: 2;
	background: var(--tmk-primary);
}

body.tmk-redesign .tmk-site-header__brand {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
	flex: 0 0 auto;
}

body.tmk-redesign .tmk-site-header__brand .custom-logo-link {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 44px;
	height: 44px;
	padding: 6px;
	line-height: 0;
	background: #fff;
	border-radius: 10px;
	overflow: hidden;
	box-sizing: border-box;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

body.tmk-redesign .tmk-site-header__brand .custom-logo-link:hover,
body.tmk-redesign .tmk-site-header__brand .custom-logo-link:focus-visible {
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16);
}

body.tmk-redesign .tmk-site-header__brand .custom-logo {
	width: 32px;
	height: 32px;
	max-width: 32px;
	max-height: 32px;
	object-fit: contain;
}

body.tmk-redesign .tmk-site-header__titles {
	display: flex;
	flex-direction: column;
	gap: 0;
	min-width: 0;
}

body.tmk-redesign .tmk-site-header__name {
	display: flex;
	flex-direction: column;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.25;
	color: #fff;
	text-decoration: none;
	text-transform: none;
	letter-spacing: 0;
	transition: opacity 0.18s ease;
}

body.tmk-redesign .tmk-site-header__titles,
body.tmk-redesign .tmk-site-header__name {
	flex-shrink: 0;
}

body.tmk-redesign .tmk-site-header__name,
body.tmk-redesign .tmk-site-header__name:hover,
body.tmk-redesign .tmk-site-header__name:focus,
body.tmk-redesign .tmk-site-header__name:focus-visible,
body.tmk-redesign .tmk-site-header__name:active {
	color: #fff !important;
	opacity: 1;
}

body.tmk-redesign .tmk-site-header__tagline {
	display: none;
}

body.tmk-redesign .tmk-site-header__toggle {
	display: none;
	order: 3;
}

body.tmk-redesign .tmk-site-header a:focus-visible,
body.tmk-redesign .tmk-site-header button:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 3px;
}

body.tmk-redesign .tmk-site-header__nav {
	flex: 1 1 auto;
	display: flex;
	justify-content: center;
	min-width: 0;
}

/* Шапка панели, подвал и скрим — только в выдвижном меню.
   «Перейти в раздел» скрыта здесь и показана в открытом списке. */

body.tmk-redesign .tmk-nav-panel__head,
body.tmk-redesign .tmk-nav-panel__foot,
body.tmk-redesign .tmk-nav-scrim,
body.tmk-redesign .tmk-nav-list .tmk-nav-overview {
	display: none;
}

body.tmk-redesign .tmk-nav-panel__body {
	min-width: 0;
}

body.tmk-redesign .tmk-nav-list {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: center;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

body.tmk-redesign .tmk-nav-list > li {
	position: relative;
	margin: 0;
	padding: 0;
	float: none;
	flex: 0 0 auto;
}

body.tmk-redesign .tmk-nav-list a[href$='.pdf']::before,
body.tmk-redesign .tmk-nav-list a[href$='.doc']::before,
body.tmk-redesign .tmk-nav-list a[href$='.docx']::before,
body.tmk-redesign .tmk-nav-list a[type='application/pdf']::before {
	content: none !important;
	padding: 0 !important;
	margin: 0 !important;
}

body.tmk-redesign .tmk-nav-list > li > a {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 40px;
	padding: 8px 14px;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.2;
	color: #fff !important;
	text-decoration: none;
	text-transform: none;
	letter-spacing: 0;
	white-space: nowrap;
	border: 0;
	border-radius: 8px;
	background: transparent;
	transition: background 0.22s var(--tmk-ease), color 0.22s var(--tmk-ease);
}

body.tmk-redesign .tmk-nav-list > li.current-menu-item > a,
body.tmk-redesign .tmk-nav-list > li.current-menu-ancestor > a {
	color: #fff !important;
	background: rgba(255, 255, 255, 0.14);
}

body.tmk-redesign .tmk-nav-list > li:hover > a,
body.tmk-redesign .tmk-nav-list > li:focus-within > a,
body.tmk-redesign .tmk-nav-list > li.tmk-submenu-open > a {
	color: #fff !important;
	background: rgba(255, 255, 255, 0.16);
}

body.tmk-redesign .tmk-nav-list > li.tmk-menu-chevron > a::after,
body.tmk-redesign .tmk-nav-list > li.menu-item-has-children > a::after {
	content: "";
	display: inline-block;
	width: 7px;
	height: 7px;
	margin-top: -3px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg);
	transition: transform 0.24s var(--tmk-ease), margin-top 0.24s var(--tmk-ease);
}

body.tmk-redesign .tmk-nav-list > li.tmk-submenu-open > a::after {
	margin-top: 2px;
	transform: rotate(225deg);
}

/* Невидимый мост, чтобы курсор не «терял» выпадающий список по пути вниз */

body.tmk-redesign .tmk-nav-list > li.menu-item-has-children.tmk-submenu-open::before,
body.tmk-redesign .tmk-nav-list > li.tmk-menu-chevron.tmk-submenu-open::before {
	content: "";
	position: absolute;
	left: -8px;
	right: -8px;
	top: 100%;
	height: 16px;
	z-index: 21;
}

body.tmk-redesign .tmk-nav-list .sub-menu {
	position: absolute;
	top: calc(100% + 10px);
	left: 0;
	display: flex;
	flex-direction: column;
	gap: 0;
	min-width: var(--tmk-sub-min);
	max-width: var(--tmk-sub-max);
	width: max-content;
	margin: 0;
	padding: var(--tmk-sub-pad);
	list-style: none;
	background: #fff;
	border-radius: var(--tmk-menu-radius);
	border: 1px solid rgba(26, 107, 114, 0.1);
	box-shadow: var(--tmk-sub-shadow);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translate3d(0, -6px, 0);
	transition: opacity var(--tmk-menu-duration) var(--tmk-ease), transform var(--tmk-menu-duration) var(--tmk-ease), visibility 0s linear var(--tmk-menu-duration);
	z-index: 30;
}

/* Открытие ведёт JS по клику, не по :hover и не по :focus-within.
   Иначе список оставался бы открытым, пока фокус на пункте. */

/* Наведение и фокус сами список не держат: иначе он гаснет, как только курсор ушёл. */
body.tmk-redesign .tmk-site-header .tmk-nav-list li:hover > .sub-menu,
body.tmk-redesign .tmk-site-header .tmk-nav-list li:focus > .sub-menu,
body.tmk-redesign .tmk-site-header .tmk-nav-list li:focus-within > .sub-menu {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

body.tmk-redesign .tmk-nav-list li.tmk-submenu-open > .sub-menu,
body.tmk-redesign .tmk-site-header .tmk-nav-list li.tmk-submenu-open:hover > .sub-menu,
body.tmk-redesign .tmk-site-header .tmk-nav-list li.tmk-submenu-open:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translate3d(0, 0, 0);
	transition: opacity var(--tmk-menu-duration) var(--tmk-ease), transform var(--tmk-menu-duration) var(--tmk-ease), visibility 0s linear 0s;
}

/* Списки без вложенных пунктов можно скроллить: overflow не обрежет дочернюю панель */

body.tmk-redesign .tmk-nav-list .sub-menu.tmk-sub--scroll {
	max-height: var(--tmk-sub-maxh, 70vh);
	overflow-y: auto;
	overscroll-behavior: contain;
	scrollbar-width: thin;
	scrollbar-color: rgba(35, 131, 139, 0.35) transparent;
}

body.tmk-redesign .tmk-nav-list .sub-menu.tmk-sub--scroll::-webkit-scrollbar {
	width: 10px;
}

body.tmk-redesign .tmk-nav-list .sub-menu.tmk-sub--scroll::-webkit-scrollbar-track {
	background: transparent;
}

body.tmk-redesign .tmk-nav-list .sub-menu.tmk-sub--scroll::-webkit-scrollbar-thumb {
	background: rgba(35, 131, 139, 0.3);
	border: 3px solid #fff;
	border-radius: 10px;
}

body.tmk-redesign .tmk-nav-list .sub-menu li {
	position: relative;
	margin: 0;
	padding: 0;
	float: none;
	width: auto;
}

/* Обёртка для мобильного 0fr→1fr; на десктопе не режет выезжающие панели */

body.tmk-redesign .tmk-nav-list .tmk-acc-inner {
	display: flex;
	flex-direction: column;
	min-width: 0;
	width: 100%;
}

body.tmk-redesign .tmk-nav-list .sub-menu .menu-item-has-children > a {
	padding-right: 32px;
}

body.tmk-redesign .tmk-nav-list .sub-menu a {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 32px;
	padding: 6px 12px 6px 20px;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.3;
	color: var(--tmk-text) !important;
	text-decoration: none;
	text-transform: none;
	letter-spacing: 0;
	white-space: normal;
	hyphens: auto;
	border: 0;
	border-radius: 8px;
	background: transparent;
	transition: background 0.2s var(--tmk-ease), color 0.2s var(--tmk-ease);
}

/* Маркер тянется по высоте пункта (top/bottom), толщина всегда 4px.
   padding: 0 — иначе PDF-иконки темы раздувают полоску. */

body.tmk-redesign .tmk-nav-list .sub-menu a::before {
	content: "";
	position: absolute;
	left: 8px;
	top: 6px;
	bottom: 6px;
	width: 4px;
	height: auto;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 2px;
	background: var(--tmk-primary);
	opacity: 0;
	transform: none;
	pointer-events: none;
	box-sizing: border-box;
	font: 0/0 a;
	transition: opacity var(--tmk-menu-duration) var(--tmk-ease);
}

body.tmk-redesign .tmk-nav-list .sub-menu a:focus-visible {
	outline: 2px solid var(--tmk-primary);
	outline-offset: 0;
}

body.tmk-redesign .tmk-nav-list .sub-menu .current-menu-item > a {
	background: rgba(35, 131, 139, 0.12);
	color: var(--tmk-primary-dark) !important;
}

body.tmk-redesign .tmk-nav-list .sub-menu .current-menu-item > a::before {
	opacity: 1;
}

body.tmk-redesign .tmk-nav-list .sub-menu .menu-item-has-children > a::after {
	content: "";
	position: absolute;
	right: 14px;
	top: 50%;
	display: block;
	width: 7px;
	height: 7px;
	margin: 0;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: translateY(-50%) rotate(-45deg);
	transition: transform 0.2s var(--tmk-ease), right 0.2s var(--tmk-ease);
}

body.tmk-redesign .tmk-nav-list .sub-menu .menu-item-has-children.tmk-submenu-open > a::after {
	right: 10px;
}

body.tmk-redesign .tmk-nav-list .sub-menu li.tmk-submenu-open > a {
	background: rgba(35, 131, 139, 0.1);
	color: var(--tmk-primary-dark) !important;
}

body.tmk-redesign .tmk-nav-list .sub-menu li.tmk-submenu-open > a::before {
	opacity: 1;
}

@media (min-width: 1200px) {
	body.tmk-redesign .tmk-nav-list .sub-menu a:hover,
	body.tmk-redesign .tmk-nav-list .sub-menu a:focus-visible,
	body.tmk-redesign .tmk-nav-list .sub-menu li:hover > a {
	background: rgba(35, 131, 139, 0.1);
		color: var(--tmk-primary-dark) !important;
	}

body.tmk-redesign .tmk-nav-list .sub-menu a:hover::before,
	body.tmk-redesign .tmk-nav-list .sub-menu a:focus-visible::before,
	body.tmk-redesign .tmk-nav-list .sub-menu li:hover > a::before {
	opacity: 1;
	}

body.tmk-redesign .tmk-nav-list .sub-menu .menu-item-has-children:hover > a::after {
	right: 10px;
	}

	/* На десктопе родительский пункт только раскрывает список.
	   Страница раздела — первая ссылка внутри. */

	body.tmk-redesign .tmk-nav-list .tmk-nav-overview {
		display: block;
		margin: 0 0 4px;
		padding-bottom: 4px;
		border-bottom: 1px solid rgba(26, 107, 114, 0.12);
	}

	body.tmk-redesign .tmk-nav-list .tmk-nav-overview > a {
		font-weight: 600;
		color: var(--tmk-primary-dark) !important;
	}

	body.tmk-redesign .tmk-nav-list .tmk-nav-overview > a::after {
		content: "→";
		margin-left: auto;
		font-size: 14px;
		line-height: 1;
		color: var(--tmk-primary);
	}

}

body.tmk-redesign .tmk-nav-list .sub-menu .sub-menu {
	top: calc(-1 * var(--tmk-sub-pad));
	left: calc(100% - 6px);
	margin: 0;
	transform: translate3d(-8px, 0, 0);
	z-index: 40;
}

body.tmk-redesign .tmk-nav-list .sub-menu li.tmk-submenu-open > .sub-menu {
	transform: translate3d(0, 0, 0);
}

/* Мост к дочерней панели: перекрывает зазор, пока курсор идёт вправо */

body.tmk-redesign .tmk-nav-list .sub-menu li.tmk-submenu-open::after {
	content: "";
	position: absolute;
	top: -10px;
	bottom: -10px;
	left: calc(100% - 12px);
	width: 20px;
	z-index: 39;
}

/* Панель не помещается справа — раскрываем её в другую сторону (класс ставит JS) */

body.tmk-redesign .tmk-nav-list > li > .sub-menu.tmk-sub--align-right {
	left: auto;
	right: 0;
}

body.tmk-redesign .tmk-nav-list .sub-menu .sub-menu.tmk-sub--flip {
	left: auto;
	right: calc(100% - 6px);
	transform: translate3d(8px, 0, 0);
}

body.tmk-redesign .tmk-nav-list .sub-menu li.tmk-submenu-open > .sub-menu.tmk-sub--flip {
	transform: translate3d(0, 0, 0);
}

body.tmk-redesign .tmk-nav-list .sub-menu li.tmk-submenu-open.tmk-sub-parent--flip::after {
	left: auto;
	right: calc(100% - 12px);
}

body.tmk-redesign .tmk-site-header__actions {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
	order: 4;
	position: relative;
	z-index: 40;
}

body.tmk-redesign .tmk-site-header__search,
body.tmk-redesign .tmk-site-header__a11y {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 40px;
	border: 0;
	background: transparent;
	cursor: pointer;
	color: #fff;
	padding: 8px 12px;
	border-radius: 999px;
	transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

body.tmk-redesign .tmk-site-header__search:hover,
body.tmk-redesign .tmk-site-header__search:focus-visible {
	background: rgba(255, 255, 255, 0.16);
	color: #fff;
}

body.tmk-redesign .tmk-site-header__a11y {
	border: 1px solid rgba(255, 255, 255, 0.45);
	padding: 8px 16px;
	white-space: nowrap;
}

body.tmk-redesign .tmk-site-header__a11y:hover,
body.tmk-redesign .tmk-site-header__a11y:focus-visible {
	background: rgba(255, 255, 255, 0.16);
	border-color: #fff;
	color: #fff;
}

body.tmk-redesign .tmk-site-header__search {
	position: relative;
	box-sizing: border-box;
	width: 40px;
	height: 40px;
	min-width: 40px;
	min-height: 40px;
	padding: 0;
	gap: 0;
	flex: 0 0 40px;
	overflow: hidden;
}

body.tmk-redesign .tmk-site-header__search i,
body.tmk-redesign .tmk-search__glyph {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 20px;
	height: 20px;
	margin: 0;
	font-size: 20px;
	line-height: 20px;
	transform: translate(-50%, -50%);
}

body.tmk-redesign .tmk-search__glyph--loupe {
	display: flex;
	align-items: center;
	justify-content: center;
}

body.tmk-redesign .tmk-search__glyph--close {
	display: block;
	opacity: 0;
}

body.tmk-redesign .tmk-site-header--search .tmk-search__glyph--loupe {
	opacity: 0;
}

body.tmk-redesign .tmk-site-header--search .tmk-search__glyph--close {
	opacity: 1;
}

body.tmk-redesign .tmk-search {
	position: relative;
	display: flex;
	align-items: center;
	flex: 0 0 40px;
	width: 40px;
}

body.tmk-redesign .tmk-site-header--search .tmk-search__toggle {
	background: rgba(255, 255, 255, 0.18);
}

body.tmk-redesign .tmk-search-strip {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	z-index: 2;
	display: grid;
	grid-template-rows: 0fr;
	width: 100%;
	background: var(--tmk-search-strip);
	pointer-events: none;
	transition: grid-template-rows var(--tmk-accordion-duration) var(--tmk-ease);
}

body.tmk-redesign .tmk-site-header--search .tmk-search-strip {
	grid-template-rows: 1fr;
	pointer-events: auto;
	box-shadow: 0 12px 28px rgba(9, 42, 46, 0.18);
}

body.tmk-redesign .tmk-search-strip__clip {
	overflow: hidden;
	min-height: 0;
}

body.tmk-redesign .tmk-search-strip__inner {
	padding-top: 18px;
	padding-bottom: 20px;
}

body.tmk-redesign .tmk-search__form {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0;
	padding-bottom: 10px;
	border-bottom: 1px solid rgba(26, 26, 26, 0.12);
}

body.tmk-redesign .tmk-search__form:focus-within {
	border-bottom-color: var(--tmk-primary);
}

body.tmk-redesign .tmk-search__lead {
	flex: 0 0 auto;
	color: #8a969e;
	font-size: 22px;
	line-height: 1;
}

body.tmk-redesign .tmk-search__field {
	box-sizing: border-box;
	flex: 1 1 auto;
	width: auto;
	min-width: 0;
	height: 44px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: var(--tmk-text);
	font-family: var(--tmk-font);
	font-size: 18px;
	font-weight: 500;
	line-height: 1.3;
	letter-spacing: 0;
	appearance: none;
	-webkit-appearance: none;
	outline: none;
	box-shadow: none;
}

body.tmk-redesign .tmk-search__field::placeholder {
	color: #8a969e;
	opacity: 1;
}

body.tmk-redesign .tmk-search__field::-webkit-search-decoration,
body.tmk-redesign .tmk-search__field::-webkit-search-cancel-button {
	-webkit-appearance: none;
}

body.tmk-redesign .tmk-search__field:focus,
body.tmk-redesign .tmk-search__field:focus-visible {
	background: transparent;
	outline: none;
	box-shadow: none;
}

body.tmk-redesign .tmk-search-scrim {
	position: fixed;
	top: var(--tmk-header-h);
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1;
	background: rgba(9, 42, 46, 0.58);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	cursor: pointer;
	transition: opacity 0.3s var(--tmk-ease), visibility 0s linear 0.3s;
}

body.tmk-redesign.admin-bar .tmk-search-scrim {
	top: calc(var(--tmk-header-h) + 32px);
}

@media (max-width: 782px) {
	body.tmk-redesign.admin-bar .tmk-search-scrim {
	top: calc(var(--tmk-header-h) + 46px);
	}

}

body.tmk-redesign .tmk-site-header--search .tmk-search-scrim {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transition: opacity 0.3s var(--tmk-ease), visibility 0s linear 0s;
}

body.tmk-redesign .tmk-site-header__a11y-text {
	font-size: 13px;
	font-weight: 500;
	line-height: 1;
}

body.tmk-redesign #pojo-a11y-toolbar .pojo-a11y-toolbar-toggle {
	display: none;
}

/* Узкий десктоп: не режем шрифт — прячем длинную подпись a11y */

@media (max-width: 1440px) {
	body.tmk-redesign .tmk-nav-list {
	gap: 4px;
	}

body.tmk-redesign .tmk-nav-list > li > a {
	padding: 8px 12px;
	}

body.tmk-redesign .tmk-site-header__inner {
	gap: 16px 20px;
	}

body.tmk-redesign .tmk-site-header__a11y-text {
	display: none;
	}

body.tmk-redesign .tmk-site-header__a11y {
	padding: 8px 12px;
	}

}

/* ---------------------------------------------------------------
   Планшеты и телефоны: выдвижная панель вместо горизонтального меню
   --------------------------------------------------------------- */

@media (max-width: 1199px) {
	body.tmk-redesign {
	--tmk-header-h: 68px;
		--tmk-drawer-w: min(400px, 90vw);
	}

body.tmk-redesign .tmk-site-header__inner {
	flex-wrap: nowrap;
		gap: 10px;
	}

body.tmk-redesign .tmk-site-header__brand {
	flex: 1 1 auto;
		min-width: max-content;
		order: 1;
	}

body.tmk-redesign .tmk-site-header__actions {
	order: 2;
		margin-left: auto;
	}

body.tmk-redesign .tmk-site-header__a11y-text {
	display: none;
	}

body.tmk-redesign .tmk-site-header__a11y {
	width: 44px;
		height: 44px;
		min-height: 44px;
		padding: 0;
		border-radius: 12px;
	}

body.tmk-redesign .tmk-site-header__search {
	width: 44px;
		height: 44px;
		min-width: 44px;
		min-height: 44px;
		padding: 0;
		flex: 0 0 44px;
		border-radius: 12px;
	}

body.tmk-redesign .tmk-search {
	flex: 0 0 44px;
		width: 44px;
	}

body.tmk-redesign .tmk-search__form {
	gap: 12px;
	}

body.tmk-redesign .tmk-search__lead {
	font-size: 20px;
	}

body.tmk-redesign .tmk-search__field {
	height: 44px;
		font-size: 15px;
	}

/* Бургер */

body.tmk-redesign .tmk-site-header__toggle {
	display: inline-flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		gap: 5px;
		flex: 0 0 auto;
		width: 44px;
		height: 44px;
		padding: 0;
		border: 0;
		border-radius: 12px;
		background: transparent;
		cursor: pointer;
		transition: background 0.2s var(--tmk-ease);
	}

body.tmk-redesign .tmk-site-header__toggle:hover,
body.tmk-redesign .tmk-site-header__toggle:focus-visible {
	background: rgba(255, 255, 255, 0.16);
	}

body.tmk-redesign .tmk-site-header__toggle-bar {
	display: block;
		width: 22px;
		height: 2px;
		border-radius: 2px;
		background: #fff;
		transition: transform 0.26s var(--tmk-ease), opacity 0.18s var(--tmk-ease);
	}

body.tmk-redesign .tmk-site-header--open .tmk-site-header__toggle-bar:nth-child(2) {
	opacity: 0;
		transform: scaleX(0.4);
	}

body.tmk-redesign .tmk-site-header--open .tmk-site-header__toggle-bar:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
	}

body.tmk-redesign .tmk-site-header--open .tmk-site-header__toggle-bar:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
	}

/* Затемнение под панелью */

body.tmk-redesign .tmk-nav-scrim {
	display: block;
		position: fixed;
		inset: 0;
		z-index: 1100;
		background: rgba(9, 42, 46, 0.52);
		opacity: 0;
		visibility: hidden;
		cursor: pointer;
		transition: opacity 0.3s var(--tmk-ease), visibility 0s linear 0.3s;
	}

body.tmk-redesign .tmk-site-header--open .tmk-nav-scrim {
	opacity: 1;
		visibility: visible;
		transition: opacity 0.3s var(--tmk-ease), visibility 0s linear 0s;
	}

/* Панель живёт внутри шапки (z-index: 2). Без этого скрим с 1100 оказывается поверх неё и съедает нажатия. */
body.tmk-redesign .tmk-site-header--open .tmk-site-header__inner {
	z-index: 1200;
}

/* Сама панель */

body.tmk-redesign .tmk-site-header__nav {
	position: fixed;
		top: 0;
		right: 0;
		bottom: 0;
		left: auto;
		z-index: 1200;
		display: flex;
		flex-direction: column;
		justify-content: flex-start;
		width: var(--tmk-drawer-w);
		max-width: 100%;
		padding: 0;
		background: #fff;
		box-shadow: -24px 0 60px -24px rgba(9, 42, 46, 0.55);
		transform: translate3d(100%, 0, 0);
		visibility: hidden;
		transition: transform 0.32s var(--tmk-ease), visibility 0s linear 0.32s;
	}

body.tmk-redesign.admin-bar .tmk-site-header__nav {
	top: 32px;
	}

body.tmk-redesign .tmk-site-header--open .tmk-site-header__nav {
	transform: translate3d(0, 0, 0);
		visibility: visible;
		transition: transform 0.34s var(--tmk-ease), visibility 0s linear 0s;
	}

body.tmk-redesign .tmk-nav-panel__head {
	display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		flex: 0 0 auto;
		min-height: var(--tmk-header-h);
		padding: 10px 12px 10px 20px;
		padding-top: calc(10px + env(safe-area-inset-top));
		background: var(--tmk-primary);
		color: #fff;
	}

body.tmk-redesign .tmk-nav-panel__title {
	font-size: 16px;
		font-weight: 600;
		letter-spacing: 0.01em;
	}

body.tmk-redesign .tmk-nav-panel__close {
	display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 44px;
		height: 44px;
		padding: 0;
		border: 0;
		border-radius: 12px;
		background: transparent;
		color: #fff;
		cursor: pointer;
		transition: background 0.2s var(--tmk-ease);
	}

body.tmk-redesign .tmk-nav-panel__close:hover,
body.tmk-redesign .tmk-nav-panel__close:focus-visible {
	background: rgba(255, 255, 255, 0.18);
	}

body.tmk-redesign .tmk-nav-panel__body {
	flex: 1 1 auto;
		min-height: 0;
		overflow-y: auto;
		overscroll-behavior: contain;
		-webkit-overflow-scrolling: touch;
		padding: 10px 12px 20px;
		padding-right: calc(12px + env(safe-area-inset-right));
	}

body.tmk-redesign .tmk-nav-panel__foot {
	display: block;
		flex: 0 0 auto;
		padding: 12px 16px;
		padding-bottom: calc(12px + env(safe-area-inset-bottom));
		border-top: 1px solid rgba(26, 107, 114, 0.14);
		background: #fff;
	}

body.tmk-redesign .tmk-nav-panel__action {
	display: inline-flex;
		align-items: center;
		justify-content: center;
		gap: 10px;
		width: 100%;
		min-height: 48px;
		padding: 12px 16px;
		font-size: 15px;
		font-weight: 500;
		color: var(--tmk-primary);
		background: rgba(35, 131, 139, 0.08);
		border: 1px solid rgba(35, 131, 139, 0.24);
		border-radius: 12px;
		cursor: pointer;
		transition: background 0.2s var(--tmk-ease), border-color 0.2s var(--tmk-ease);
	}

body.tmk-redesign .tmk-nav-panel__action:hover,
body.tmk-redesign .tmk-nav-panel__action:focus-visible {
	background: rgba(35, 131, 139, 0.14);
		border-color: rgba(35, 131, 139, 0.4);
	}

/* Список: вертикальный аккордеон */

body.tmk-redesign .tmk-nav-list {
	flex-direction: column;
		align-items: stretch;
		justify-content: flex-start;
		width: 100%;
		gap: 2px;
	}

body.tmk-redesign .tmk-nav-list > li.menu-item-has-children::before,
body.tmk-redesign .tmk-nav-list > li.tmk-menu-chevron::before,
body.tmk-redesign .tmk-nav-list .sub-menu li.tmk-submenu-open::after {
	display: none;
	}

body.tmk-redesign .tmk-nav-list > li > a {
	width: 100%;
		min-height: 50px;
		padding: 13px 14px;
		font-size: 16px;
		font-weight: 600;
		color: var(--tmk-text) !important;
		border-radius: 10px;
		justify-content: space-between;
		white-space: normal;
	}

body.tmk-redesign .tmk-nav-list > li:hover > a,
body.tmk-redesign .tmk-nav-list > li:focus-within > a,
body.tmk-redesign .tmk-nav-list > li.tmk-submenu-open > a,
body.tmk-redesign .tmk-nav-list > li.current-menu-item > a,
body.tmk-redesign .tmk-nav-list > li.current-menu-ancestor > a {
	color: var(--tmk-primary-dark) !important;
		background: rgba(35, 131, 139, 0.09);
	}

/* Внутри белой панели белая обводка фокуса не видна */

body.tmk-redesign .tmk-nav-panel__body a:focus-visible,
body.tmk-redesign .tmk-nav-panel__foot button:focus-visible {
	outline-color: var(--tmk-primary);
	}

/* Аккордеон: 0fr→1fr у самого ul, не у пункта (1fr на li растягивал всю панель) */

body.tmk-redesign .tmk-nav-list .sub-menu,
body.tmk-redesign .tmk-nav-list .sub-menu.tmk-sub--scroll {
	position: static;
		display: grid;
		grid-template-rows: 0fr;
		width: auto;
		min-width: 0;
		max-width: none;
		overflow: hidden;
		margin: 0 0 0 14px;
		padding: 0;
		background: transparent;
		border: 0;
		border-left: 2px solid transparent;
		border-radius: 0;
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		pointer-events: none;
		transform: none;
		transition: grid-template-rows var(--tmk-accordion-duration) var(--tmk-ease), border-color var(--tmk-accordion-duration) var(--tmk-ease);
	}

body.tmk-redesign .tmk-nav-list li.tmk-submenu-open > .sub-menu {
	grid-template-rows: 1fr;
		margin-top: 12px;
		padding: 0 0 0 10px;
		border-left-color: rgba(35, 131, 139, 0.16);
		pointer-events: auto;
		transform: none;
		/* Иначе десктопный transition (opacity/transform) срывает раскрытие. */
		transition: grid-template-rows var(--tmk-accordion-duration) var(--tmk-ease), border-color var(--tmk-accordion-duration) var(--tmk-ease), margin-top var(--tmk-accordion-duration) var(--tmk-ease);
	}

body.tmk-redesign .tmk-nav-list .tmk-acc-inner {
	min-height: 0;
		overflow: hidden;
	}

body.tmk-redesign .tmk-nav-list .sub-menu a {
	min-height: 46px;
		padding: 11px 12px;
		font-size: 15px;
		font-weight: 500;
		line-height: 1.35;
		color: var(--tmk-muted) !important;
		border-radius: 8px;
	}

body.tmk-redesign .tmk-nav-list .sub-menu .sub-menu a {
	font-size: 14px;
	}

/* На узком экране маркер-полоска не нужна — иерархию задаёт линия уровня */

body.tmk-redesign .tmk-nav-list .sub-menu a::before {
	display: none;
	}

@media (hover: hover) {
	body.tmk-redesign .tmk-nav-list .sub-menu a:hover {
	color: var(--tmk-primary-dark) !important;
			background: rgba(35, 131, 139, 0.09);
		}

}

body.tmk-redesign .tmk-nav-list .sub-menu a:focus-visible,
body.tmk-redesign .tmk-nav-list .sub-menu li.tmk-submenu-open > a,
body.tmk-redesign .tmk-nav-list .sub-menu .current-menu-item > a {
	color: var(--tmk-primary-dark) !important;
		background: rgba(35, 131, 139, 0.09);
	}

body.tmk-redesign .tmk-nav-list .sub-menu .menu-item-has-children > a {
	padding-right: 40px;
	}

body.tmk-redesign .tmk-nav-list .sub-menu .menu-item-has-children > a::after {
	right: 16px;
		transform: translateY(-50%) rotate(45deg);
	}

body.tmk-redesign .tmk-nav-list .sub-menu .menu-item-has-children.tmk-submenu-open > a::after {
	right: 16px;
		margin-top: 2px;
		transform: translateY(-50%) rotate(225deg);
	}

/* Как обычный пункт: без своего фона, иначе светится и из свёрнутого списка */

body.tmk-redesign .tmk-nav-list .tmk-nav-overview {
	display: block;
		width: 100%;
		margin: 0;
	}

body.tmk-redesign .tmk-nav-list .tmk-nav-overview > a {
	display: flex;
		align-items: center;
		width: 100%;
		min-height: 46px;
		padding: 11px 12px;
		font-size: 13px;
		font-weight: 600;
		letter-spacing: 0.02em;
		text-transform: uppercase;
		color: var(--tmk-primary) !important;
		background: transparent;
		border-radius: 8px;
	}

body.tmk-redesign .tmk-nav-list .tmk-nav-overview > a::after {
	content: "→";
		margin-left: 8px;
		font-size: 14px;
		line-height: 1;
	}

}

/* Планшет книжной ориентации */

@media (max-width: 900px) {
	body.tmk-redesign {
	--tmk-header-h: 64px;
	}

body.tmk-redesign .tmk-site-header__name {
	font-size: 14px;
	}

}

/* Телефоны */

@media (max-width: 600px) {
	body.tmk-redesign {
	--tmk-header-h: 60px;
		--tmk-drawer-w: min(360px, 92vw);
	}

body.tmk-redesign .tmk-site-header__inner {
	gap: 8px;
	}

body.tmk-redesign .tmk-site-header__brand {
	gap: 10px;
	}

body.tmk-redesign .tmk-site-header__brand .custom-logo-link {
	width: 38px;
		height: 38px;
		padding: 5px;
		border-radius: 9px;
	}

body.tmk-redesign .tmk-site-header__brand .custom-logo {
	width: 28px;
		height: 28px;
		max-width: 28px;
		max-height: 28px;
	}

body.tmk-redesign .tmk-site-header__name {
	font-size: 13px;
		line-height: 1.2;
	}

body.tmk-redesign .tmk-site-header__search,
body.tmk-redesign .tmk-site-header__a11y {
	width: 42px;
		height: 42px;
		min-width: 42px;
		min-height: 42px;
		flex: 0 0 42px;
	}

body.tmk-redesign .tmk-search {
	flex: 0 0 42px;
		width: 42px;
	}

body.tmk-redesign .tmk-site-header__toggle {
	width: 42px;
		height: 42px;
	}

body.tmk-redesign .tmk-nav-panel__body {
	padding: 8px 10px 18px;
	}

body.tmk-redesign .tmk-nav-list > li > a {
	font-size: 15px;
		min-height: 48px;
	}

}

/* Узкие телефоны: колледж в одну строку не помещается, режем лишнее */

@media (max-width: 400px) {
	body.tmk-redesign {
	--tmk-drawer-w: 100vw;
	}

body.tmk-redesign .tmk-site-header__name {
	font-size: 12px;
	}

}

/* Телефон в альбомной ориентации: панель низкая, шапке нужна компактность */

@media (max-height: 480px) and (orientation: landscape) and (max-width: 1199px) {
	body.tmk-redesign {
	--tmk-header-h: 54px;
	}

body.tmk-redesign .tmk-nav-panel__head {
	min-height: 54px;
		padding-top: calc(6px + env(safe-area-inset-top));
		padding-bottom: 6px;
	}

body.tmk-redesign .tmk-nav-list > li > a {
	min-height: 44px;
		padding: 10px 14px;
	}

body.tmk-redesign .tmk-nav-list .sub-menu a {
	min-height: 40px;
		padding: 9px 12px;
	}

}

/* Блокировка прокрутки, пока открыто мобильное меню */

body.tmk-nav-lock {
	overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
	body.tmk-redesign .tmk-site-header *,
	body.tmk-redesign .tmk-site-header *::before,
	body.tmk-redesign .tmk-site-header *::after {
	transition: none !important;
	}

}

/* Hero */

.tmk-hero-frame {
	width: 100%;
	max-width: 100%;
	overflow: hidden;
	container-type: inline-size;
}

.tmk-hero {
	position: relative;
	display: block;
	width: 100%;
	max-width: none;
	margin: 0;
	overflow: clip;
	overflow-clip-margin: 140px;
	background: #fff;

	--u: min(100cqw, 2002px);
	--u-x: max(0px, calc((100cqw - var(--u)) / 2));
	min-height: calc(var(--u) * 0.3517);

	--art-w: 1483;
	--art-h: 960;
	--panel-clip: polygon(
		calc(var(--u) * 0.5825) 0,
		100% 0,
		100% 100%,
		calc(var(--u) * 0.5179) 100%
	);
}

.tmk-hero__pattern {
	position: absolute;
	inset: 0;
	overflow: hidden;
	pointer-events: none;
	color: rgba(35, 131, 139, 0.14);
	z-index: 0;
}

.tmk-hero__mark {
	position: absolute;
	display: block;
}

.tmk-hero__stage {
	position: absolute;
	top: 0;
	bottom: 0;
	left: var(--u-x);
	right: 0;
	width: auto;
	pointer-events: none;
}

.tmk-hero__stage--clip {
	z-index: 1;
	overflow: hidden;
	clip-path: var(--panel-clip);
	background: linear-gradient(150deg, #3aa7b0 0%, var(--tmk-primary) 45%, #134b52 100%);
}

.tmk-hero__stage--free {
	z-index: 2;
	overflow: visible;
}

/* Если текст вытянул кадр, артборд растёт от центра — тот же кроп, что на десктопе. */
.tmk-hero__board {
	position: absolute;
	top: 50%;
	left: calc(var(--u) * (0.3776 + 0.4795 * 1483 / 960 / 2));
	height: calc(100% * 0.4795 / 0.3517);
	width: auto;
	aspect-ratio: var(--art-w) / var(--art-h);
	translate: -50% calc(-50% - 0.0060 / 0.4795 * 100%);
}

.tmk-hero__layer {
	position: absolute;
	height: auto;
}

.tmk-hero__layer--arc    { left: 16.12%; top:  0%;     width: 46.93%; z-index: 1; }
.tmk-hero__layer--swoosh { left: 32.91%; top: 47.4%;   width: 67.09%; z-index: 0; rotate: -15deg; }
.tmk-hero__layer--ribbon { left:  9.37%; top: 61.98%;  width: 92.77%; z-index: 1; }
.tmk-hero__layer--mark   { left:  7%;    top: 16.21%;  width: 67.12%; z-index: 3; }

.tmk-hero__stage--free > .tmk-hero__board:first-child {
	z-index: 1;
}

.tmk-hero__cast-clip {
	position: absolute;
	inset: 0;
	z-index: 2;
	overflow: hidden;
	clip-path: var(--panel-clip);
	pointer-events: none;
}

.tmk-hero__cast-clip .tmk-hero__layer--mark {
	aspect-ratio: 1448 / 1086;
}

.tmk-hero__stage--free > .tmk-hero__board:last-child {
	z-index: 3;
}

.tmk-hero__logo-cast {
	position: absolute;
	z-index: 2;
	top: -90px;
	right: -110px;
	bottom: -110px;
	left: -90px;
	-webkit-mask-image: linear-gradient(118deg, transparent 28%, #000 48%);
	mask-image: linear-gradient(118deg, transparent 28%, #000 48%);
}

.tmk-hero__logo--cast {
	position: absolute;
	top: 90px;
	left: 90px;
	width: calc(100% - 200px);
	height: auto;
	filter:
		drop-shadow(-6px 10px 8px rgba(6, 32, 34, 0.55))
		drop-shadow(-18px 28px 36px rgba(11, 75, 78, 0.6))
		drop-shadow(-28px 48px 72px rgba(6, 28, 30, 0.42));
}

.tmk-hero__inner {
	position: relative;
	z-index: 3;
	display: flex;
	align-items: center;
	box-sizing: border-box;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: calc(var(--u) * 0.028) 0 calc(var(--u) * 0.028)
		calc(var(--u-x)
			+ max(0px, (var(--u) - var(--tmk-container-max)) / 2)
			+ var(--tmk-container-pad));
	min-height: calc(var(--u) * 0.3517);
}

.tmk-hero__content {
	width: calc(var(--u) * 0.44);
	max-width: none;
	padding: 0;
}

.tmk-hero__status {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 20px;
	font-size: calc(var(--u) * 0.0075);
	color: var(--tmk-primary-dark);
}

.tmk-hero__status i {
	flex: 0 0 auto;
	width: 34px;
	height: 1.5px;
	background: var(--tmk-primary);
}

.tmk-hero__title {
	margin: 0;
	font-size: calc(var(--u) * 0.0440);
	font-weight: 500;
	line-height: 1.02;
	letter-spacing: -0.03em;
	color: var(--tmk-text);
	text-wrap: balance;
}

.tmk-hero__tagline {
	margin: calc(var(--u) * 0.0120) 0 0;
	width: 100%;
	max-width: calc(var(--u) * 0.34);
	font-size: calc(var(--u) * 0.0110);
	font-weight: 400;
	line-height: 1.5;
	letter-spacing: -0.01em;
	color: var(--tmk-muted);
	white-space: normal;
	text-wrap: pretty;
}

.tmk-hero__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px;
	width: 100%;
	max-width: calc(var(--u) * 0.39);
	margin: calc(var(--u) * 0.0200) 0 0;
}

.tmk-hero__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	flex: 1 1 0;
	height: calc(var(--u) * 0.0330);
	padding: 0 calc(var(--u) * 0.0170);
	border-radius: 12px;
	font-size: calc(var(--u) * 0.0095);
	font-weight: 600;
	letter-spacing: -0.012em;
	line-height: 1;
	text-decoration: none !important;
	box-sizing: border-box;
	transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.tmk-hero__btn--primary {
	background: var(--tmk-primary);
	color: #fff !important;
	border: 1.5px solid var(--tmk-primary);
}

.tmk-hero__btn--primary:hover,
.tmk-hero__btn--primary:focus {
	background: var(--tmk-primary-dark);
	border-color: var(--tmk-primary-dark);
	color: #fff !important;
}

.tmk-hero__btn--outline {
	background: var(--tmk-card);
	color: var(--tmk-primary-dark) !important;
	border: 1.5px solid rgba(35, 131, 139, 0.35);
}

.tmk-hero__btn--outline:hover,
.tmk-hero__btn--outline:focus {
	background: #eef6f6;
	border-color: var(--tmk-primary);
	color: var(--tmk-primary-dark) !important;
}

.tmk-hero__note {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 10px;
	width: 100%;
	max-width: 860px;
	margin: calc(var(--u) * 0.0150) 0 0;
	padding-top: calc(var(--u) * 0.0130);
	border-top: 1px solid rgba(35, 131, 139, 0.16);
	font-size: calc(var(--u) * 0.0075);
	line-height: 1.5;
	color: var(--tmk-muted);
}

.tmk-hero__note b {
	font-weight: 600;
	color: var(--tmk-primary-dark);
}

.tmk-hero__note a {
	color: var(--tmk-primary-dark) !important;
	text-decoration: none !important;
	border-bottom: 1px solid rgba(26, 107, 114, 0.35);
}

.tmk-hero__note a:hover,
.tmk-hero__note a:focus-visible {
	border-bottom-color: var(--tmk-primary-dark);
}

/* Узкий планшет: полный кроп по высоте, картинка чуть правее — текст не наезжает, крест в кадре. */
@media (max-width: 860px) {
	.tmk-hero__board {
		translate: -42% calc(-50% - 0.0060 / 0.4795 * 100%);
	}
}

/* Телефон: один плакат, не баннер + статья */
@media (max-width: 767px) {
	.tmk-hero {
		width: 100%;
		background: linear-gradient(165deg, #3aa7b0 0%, var(--tmk-primary) 46%, #134b52 100%);
		min-height: 0;
	}

	.tmk-hero__pattern {
		color: rgba(210, 246, 242, 0.09);
	}

	.tmk-hero__stage {
		display: none;
	}

	.tmk-hero__mark:nth-child(2) {
		left: auto !important;
		right: -14px !important;
		top: 4px !important;
		bottom: auto !important;
		width: 168px !important;
		height: 168px !important;
		transform: rotate(8deg) !important;
	}

	.tmk-hero__mark:nth-child(n+3) {
		display: none;
	}

	.tmk-hero__inner {
		display: flex;
		align-items: center;
		min-height: 0;
		padding: 36px 20px 48px;
	}

	.tmk-hero__content {
		width: 100%;
		max-width: none;
	}

	body.tmk-redesign .tmk-hero__status {
		margin-bottom: 10px;
		gap: 8px;
		font-size: 11px !important;
		font-weight: 500;
		letter-spacing: 0.01em;
		line-height: 1.3;
		color: rgba(255, 255, 255, 0.78);
	}

	.tmk-hero__status i {
		width: 18px;
		background: rgba(255, 255, 255, 0.7);
	}

	body.tmk-redesign .tmk-hero__title {
		font-size: clamp(32px, 8.8vw, 42px);
		font-weight: 600;
		line-height: 1.05;
		letter-spacing: -0.038em;
		color: #fff;
		text-shadow: 0 12px 32px rgba(6, 28, 30, 0.28);
	}

	body.tmk-redesign .tmk-hero__tagline {
		margin-top: 12px;
		font-size: 14px !important;
		font-weight: 400;
		line-height: 1.4;
		letter-spacing: 0;
		color: rgba(255, 255, 255, 0.72);
	}

	.tmk-hero__status,
	.tmk-hero__tagline,
	.tmk-hero__actions,
	.tmk-hero__note {
		max-width: none;
	}

	.tmk-hero__tagline br {
		display: none;
	}

	.tmk-hero__actions {
		margin-top: 22px;
		gap: 10px;
	}

	.tmk-hero__btn {
		flex: 1 1 100%;
		height: 52px;
		font-size: 16px;
	}

	.tmk-hero__btn--primary {
		background: #fff;
		border-color: #fff;
		color: var(--tmk-primary-dark) !important;
	}

	.tmk-hero__btn--primary:hover,
	.tmk-hero__btn--primary:focus {
		background: #eef6f6;
		border-color: #eef6f6;
		color: var(--tmk-primary-deep) !important;
	}

	.tmk-hero__btn--outline {
		background: transparent;
		border-color: rgba(255, 255, 255, 0.55);
		color: #fff !important;
	}

	.tmk-hero__btn--outline:hover,
	.tmk-hero__btn--outline:focus {
		background: rgba(255, 255, 255, 0.1);
		border-color: #fff;
		color: #fff !important;
	}

	.tmk-hero__note {
		margin-top: 20px;
		padding-top: 16px;
		border-top-color: rgba(255, 255, 255, 0.22);
		font-size: 14px;
		color: rgba(255, 255, 255, 0.78);
	}

	.tmk-hero__note b {
		color: #fff;
	}

	.tmk-hero__note a {
		color: #fff !important;
		border-bottom-color: rgba(255, 255, 255, 0.45);
	}

	.tmk-hero__note a:hover,
	.tmk-hero__note a:focus-visible {
		border-bottom-color: #fff;
	}
}

@media (max-width: 767px) and (max-height: 700px) {
	.tmk-hero__inner {
		padding-top: 36px;
		padding-bottom: 40px;
	}

	body.tmk-redesign .tmk-hero__title {
		font-size: clamp(30px, 8.4vw, 36px);
	}

	body.tmk-redesign .tmk-hero__tagline {
		font-size: 14px !important;
	}
}

@media (max-width: 375px) {
	.tmk-hero__inner {
		padding-left: 16px;
		padding-right: 16px;
	}
}

@media (prefers-contrast: more) {
	.tmk-hero__pattern {
		display: none;
	}
}

/* ТМК в цифрах */

.tmk-figures {
	position: relative;
	background: var(--tmk-bg);
	padding: 44px 0 0;
}

.tmk-figures__grid {
	display: grid;
	grid-template-columns: clamp(300px, 25vw, 420px) minmax(0, 1fr);
	gap: clamp(20px, 1.6vw, 28px);
	align-items: stretch;
}

/* левая колонка на той же белой подложке, что и ячейки справа */

.tmk-figures__aside {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	gap: clamp(26px, 2.2vw, 34px);
	min-width: 0;
	padding: clamp(28px, 2.2vw, 36px) clamp(26px, 2vw, 34px) clamp(28px, 2.2vw, 34px);
	background: #fff;
	border: 1px solid #e6eced;
	border-radius: var(--tmk-corner) 0 0 0;
	box-sizing: border-box;
}

.tmk-figures__lead {
	margin: 0;
	max-width: none;
	font-family: var(--tmk-font-serif);
	font-size: clamp(18px, 1.15vw, 20px);
	line-height: 1.5;
	letter-spacing: -0.008em;
	color: #232c30;
	text-wrap: pretty;
}

.tmk-figures__lead::before {
	content: "";
	display: block;
	width: 44px;
	height: 2px;
	margin-bottom: 20px;
	background: var(--tmk-primary);
}

/* ось времени */

.tmk-era {
	display: block;
	margin: 0;
	overflow: visible;
	text-decoration: none !important;
	color: inherit !important;
}

.tmk-era__list {
	position: relative;
	list-style: none;
	margin: 0;
	padding: 0 0 0 40px;
	overflow: visible;
}

.tmk-era__list::before {
	content: "";
	position: absolute;
	left: 5px;
	top: 19.5px;
	bottom: 19.5px;
	width: 2px;
	border-radius: 2px;
	background: #c2d0d2;
}

.tmk-era__item {
	position: relative;
	display: grid;
	grid-template-columns: 5ch minmax(0, 1fr);
	align-items: center;
	column-gap: 18px;
	min-height: 39px;
	margin: 0;
	padding: 0;
}

.tmk-era__item::before {
	content: "";
	position: absolute;
	left: -40px;
	top: 50%;
	width: 12px;
	height: 12px;
	margin-top: -6px;
	border-radius: 50%;
	background: #fff;
	border: 2px solid #9cadb0;
	box-sizing: border-box;
	box-shadow: 0 0 0 5px #fff, 0 0 0 5px rgba(35, 131, 139, 0);
	transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.22s ease;
}

.tmk-era__year {
	font-family: var(--tmk-font-serif);
	font-size: 22px;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: -0.01em;
	font-variant-numeric: tabular-nums lining-nums;
	color: #7b8a90;
	transition: color 0.18s ease;
}

.tmk-era__text {
	font-size: 15px;
	line-height: 1.3;
	letter-spacing: -0.01em;
	color: #46525c;
	transition: color 0.18s ease;
}

/* подсвечивается только тот пункт, на который наведён курсор */

.tmk-era__item:hover::before {
	border-color: var(--tmk-primary);
	box-shadow: 0 0 0 5px #fff, 0 0 0 9px rgba(35, 131, 139, 0.13);
}

.tmk-era__item:hover .tmk-era__year {
	color: var(--tmk-primary);
}

.tmk-era__item:hover .tmk-era__text {
	color: var(--tmk-text);
}

.tmk-era__item--now::before {
	background: var(--tmk-primary-dark);
	border-color: var(--tmk-primary-dark);
	box-shadow: 0 0 0 5px #fff, 0 0 0 10px rgba(26, 107, 114, 0.16);
}

.tmk-era__item--now:hover::before {
	background: var(--tmk-primary);
	border-color: var(--tmk-primary);
	box-shadow: 0 0 0 5px #fff, 0 0 0 12px rgba(26, 107, 114, 0.2);
}

.tmk-era__item--now .tmk-era__year {
	color: var(--tmk-primary-dark);
}

.tmk-era__item--now .tmk-era__text {
	color: var(--tmk-text);
	font-weight: 600;
}

.tmk-era__more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 22px;
	padding-left: 0;
	font-size: 14px;
	font-weight: 500;
	color: var(--tmk-primary);
}

.tmk-era__more::after {
	content: "→";
	transition: transform 0.15s ease;
}

.tmk-era:hover .tmk-era__more::after {
	transform: translateX(3px);
}

.tmk-era:focus-visible {
	outline: 2px solid var(--tmk-primary);
	outline-offset: 6px;
	border-radius: 4px;
}

/* сетка цифр */

.tmk-figures__set {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	grid-auto-rows: 1fr;
	border-top: 1px solid #e6eced;
	border-left: 1px solid #e6eced;
	border-radius: 0 var(--tmk-corner) 0 0;
	overflow: hidden;
}

.tmk-fig {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: clamp(196px, 13vw, 228px);
	padding: clamp(22px, 1.7vw, 30px) clamp(22px, 1.7vw, 32px);
	border-right: 1px solid var(--tmk-line, #dde5e6);
	border-bottom: 1px solid var(--tmk-line, #dde5e6);
	background: #fff;
	color: inherit !important;
	text-decoration: none !important;
	box-sizing: border-box;
	transition: background 0.18s ease;
}

.tmk-fig:hover {
	background: rgba(35, 131, 139, 0.05);
}

.tmk-fig:focus-visible {
	outline: 2px solid var(--tmk-primary);
	outline-offset: -2px;
}

.tmk-fig__num {
	display: flex;
	align-items: baseline;
	gap: 0.16em;
	white-space: nowrap;
	font-family: var(--tmk-font-serif);
	font-size: clamp(46px, 3.9vw, 72px);
	font-weight: 500;
	line-height: 1;
	letter-spacing: -0.018em;
	font-variant-numeric: tabular-nums lining-nums;
	color: var(--tmk-primary-dark);
}

.tmk-fig__unit {
	font-family: var(--tmk-font);
	font-size: clamp(16px, 1.15vw, 19px);
	font-weight: 600;
	letter-spacing: -0.01em;
	color: var(--tmk-primary);
	transform: translateY(-0.04em);
}

.tmk-fig__label {
	display: block;
	margin: auto 0 0;
	padding-top: 20px;
	max-width: 26ch;
	font-size: 17px;
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: -0.017em;
	color: var(--tmk-text);
	text-wrap: balance;
}

.tmk-fig__text {
	display: block;
	margin: 7px 0 0;
	max-width: 40ch;
	padding-right: 40px;
	font-size: 14px;
	line-height: 1.45;
	letter-spacing: -0.005em;
	color: var(--tmk-muted);
	text-wrap: pretty;
}

.tmk-fig__go {
	position: absolute;
	right: clamp(20px, 1.5vw, 28px);
	bottom: clamp(20px, 1.5vw, 28px);
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: rgba(35, 131, 139, 0.1);
	color: var(--tmk-primary);
	opacity: 0;
	transform: translateY(4px);
	transition: opacity 0.18s ease, transform 0.18s ease;
}

.tmk-fig:hover .tmk-fig__go,
.tmk-fig:focus-visible .tmk-fig__go {
	opacity: 1;
	transform: none;
}

/* акцентная ячейка */

.tmk-fig--accent {
	background: #16575c;
	border-right-color: #16575c;
	border-bottom-color: #16575c;
}

.tmk-fig--accent:hover {
	background: #12484d;
}

.tmk-fig--accent,
.tmk-fig--accent .tmk-fig__num,
.tmk-fig--accent .tmk-fig__label {
	color: #fff !important;
}

.tmk-fig--accent .tmk-fig__unit {
	color: #8fd3d8;
}

.tmk-fig--accent .tmk-fig__text {
	color: rgba(255, 255, 255, 0.74);
}

.tmk-fig--accent .tmk-fig__go {
	background: #fff;
	color: #16575c;
}

@media (max-width: 1280px) {
	.tmk-figures__grid {
	grid-template-columns: 1fr;
		gap: 20px;
	}

.tmk-figures__aside {
	border-radius: var(--tmk-corner) 0 0 0;
	}

.tmk-figures__lead {
		max-width: 60ch;
	}

	/* Две колонки: ось и точка живут внутри пункта, не наезжают на соседа */
	.tmk-era__list {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: 28px;
		row-gap: 0;
		padding-left: 0;
		overflow: hidden;
	}

	.tmk-era__list::before {
		display: none;
	}

	.tmk-era__item {
		min-width: 0;
		padding: 8px 4px 8px 28px;
		align-items: start;
	}

	.tmk-era__item::before {
		left: 0;
		z-index: 1;
	}

	.tmk-era__item::after {
		content: "";
		position: absolute;
		left: 5px;
		top: 0;
		bottom: 0;
		width: 2px;
		border-radius: 2px;
		background: #c2d0d2;
		z-index: 0;
	}

	.tmk-era__item:nth-child(-n+2)::after {
		top: 50%;
	}

	.tmk-era__item:nth-last-child(-n+2)::after {
		bottom: 50%;
	}

	.tmk-era__year,
	.tmk-era__text {
		min-width: 0;
	}

}

@media (max-width: 820px) {
	.tmk-figures__set {
	grid-template-columns: repeat(2, minmax(0, 1fr));
		border-radius: 0 24px 0 0;
	}

}

@media (max-width: 560px) {
	.tmk-figures__set {
		grid-template-columns: 1fr;
	}

	.tmk-fig {
		min-height: 0;
	}

	.tmk-era__list {
		display: block;
		padding-left: 28px;
		overflow: visible;
	}

	.tmk-era__list::before {
		display: block;
		left: 4px;
		top: 16px;
		bottom: 16px;
	}

	.tmk-era__item {
		padding: 4px 0;
	}

	.tmk-era__item::before {
		left: -28px;
	}

	.tmk-era__item::after {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.tmk-fig,
	.tmk-fig__go,
	.tmk-era__item::before,
	.tmk-era__year,
	.tmk-era__text,
	.tmk-era__more::after {
	transition: none;
	}

}

/* Официальная информация — над блоком «ТМК в цифрах» */

.tmk-official {
	background: var(--tmk-bg);
	padding: 44px 0 0;
}

.tmk-official__board {
	display: grid;
	grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
	align-items: stretch;
	border: 1px solid #e6eced;
	border-radius: var(--tmk-corner) var(--tmk-corner) 0 0;
	overflow: hidden;
	background: #fff;
}

.tmk-official__main,
.tmk-official__org {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	min-width: 0;
	box-sizing: border-box;
	text-decoration: none !important;
	transition: background 0.18s ease;
}

.tmk-official__main,
.tmk-official__main:visited,
.tmk-official__main:hover,
.tmk-official__main:focus {
	min-height: 100%;
	padding: clamp(26px, 2vw, 34px) clamp(24px, 2vw, 36px) clamp(24px, 1.8vw, 32px);
	background: #16575c;
	color: #fff !important;
}

.tmk-official__main:hover,
.tmk-official__main:focus-visible {
	background: #12484d;
}

.tmk-official__main:focus-visible,
.tmk-official__org:focus-visible {
	outline: 2px solid var(--tmk-primary);
	outline-offset: -2px;
}

.tmk-official__main:focus-visible {
	outline-color: #fff;
}

.tmk-official__main .tmk-official__kicker {
	color: #8fd3d8;
}

.tmk-official__main .tmk-official__name {
	font-family: var(--tmk-font-serif);
	font-size: clamp(26px, 2vw, 34px);
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: -0.015em;
	color: #fff;
}

.tmk-official__main .tmk-official__note {
	margin-top: auto;
	padding-top: 22px;
	max-width: 36ch;
	font-size: 15px;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.78);
}

.tmk-official__orgs {
	display: grid;
	grid-template-columns: 1fr 1fr;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tmk-official__orgs li {
	display: flex;
	margin: 0;
	padding: 0;
	list-style: none;
	min-width: 0;
}

.tmk-official__orgs li::before {
	content: none;
	display: none;
}

.tmk-official__org,
.tmk-official__org:visited {
	flex: 1;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	width: 100%;
	min-height: 164px;
	padding: 18px 22px 18px 22px;
	background: #fff;
	color: inherit !important;
	border-left: 1px solid #e6eced;
}

.tmk-official__copy {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.tmk-official__mark {
	position: relative;
	flex: 0 0 96px;
	width: 96px;
	height: 96px;
	border-radius: 50%;
	background: #eef4f4;
	overflow: visible;
}

.tmk-official__mark img {
	position: absolute;
	top: 50%;
	left: 50%;
	display: block;
	width: auto;
	height: auto;
	max-width: 128px;
	max-height: 128px;
	transform: translate(-50%, -50%);
	object-fit: contain;
	object-position: center;
	filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.12));
}

.tmk-official__orgs li:nth-child(-n+2) .tmk-official__org {
	border-bottom: 1px solid #e6eced;
}

.tmk-official__org:hover {
	background: rgba(35, 131, 139, 0.05);
}

.tmk-official__org .tmk-official__kicker,
.tmk-official__org .tmk-official__name {
	padding-right: 0;
}

.tmk-official__kicker {
	display: block;
	padding-right: 44px;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: -0.01em;
	color: var(--tmk-primary);
}

.tmk-official__name {
	display: block;
	margin-top: 8px;
	font-size: 17px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: -0.017em;
	color: var(--tmk-text);
	text-wrap: balance;
}

.tmk-official__go {
	position: absolute;
	top: 18px;
	right: 18px;
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: rgba(35, 131, 139, 0.1);
	color: var(--tmk-primary);
	transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.tmk-official__main .tmk-official__go {
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
}

.tmk-official__org:hover .tmk-official__go,
.tmk-official__org:focus-visible .tmk-official__go {
	background: var(--tmk-primary);
	color: #fff;
	transform: translate(2px, -2px);
}

.tmk-official__main:hover .tmk-official__go,
.tmk-official__main:focus-visible .tmk-official__go {
	background: #fff;
	color: #16575c;
	transform: translate(2px, -2px);
}

@media (max-width: 980px) {
	.tmk-official__board {
		grid-template-columns: 1fr;
	}

	.tmk-official__main,
	.tmk-official__main:visited,
	.tmk-official__main:hover,
	.tmk-official__main:focus {
		min-height: 0;
	}

	.tmk-official__main .tmk-official__note {
		margin-top: 16px;
		padding-top: 0;
		max-width: 52ch;
	}

	.tmk-official__org,
	.tmk-official__org:visited,
	.tmk-official__orgs li:nth-child(-n+2) .tmk-official__org {
		border-left: 0;
		border-top: 1px solid #e6eced;
		border-bottom: 0;
	}

	.tmk-official__orgs li:nth-child(even) .tmk-official__org {
		border-left: 1px solid #e6eced;
	}
}

@media (max-width: 640px) {
	.tmk-official__orgs {
		grid-template-columns: 1fr;
	}

	.tmk-official__org,
	.tmk-official__org:visited,
	.tmk-official__orgs li:nth-child(even) .tmk-official__org {
		min-height: 0;
		border-left: 0;
	}

	.tmk-official__name {
		font-size: 16px;
	}

	.tmk-official__main .tmk-official__name {
		font-size: 24px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.tmk-official__main,
	.tmk-official__org,
	.tmk-official__go {
		transition: none;
	}
}

/* Поступление — тёмная полоса под hero */

.tmk-admission {
	position: relative;
	overflow: hidden;
	background: #16575c;
	color: #fff;
	margin-top: 52px;
	padding: clamp(52px, 5vw, 76px) 0;
}

/* Отступ снаружи блока. Фон обёртки Elementor иначе белый и просвечивает в этом зазоре. */
body.home.tmk-home-redesign .tmk-home .elementor-element:has(.tmk-admission) {
	background-color: var(--tmk-bg) !important;
}

.tmk-mark-pattern--admission {
	color: rgba(255, 255, 255, 0.07);
}

.tmk-admission__inner {
	position: relative;
	z-index: 2;
}

.tmk-admission__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) clamp(290px, 25vw, 460px);
	gap: clamp(24px, 3vw, 48px);
	align-items: center;
}

/* светлый заголовок — по той же схеме, что у .tmk-contacts */

.tmk-admission .tmk-shead__title {
	color: #fff;
}

.tmk-admission .tmk-admission__head::before {
	background: #fff;
}

.tmk-admission .tmk-shead__title::after {
	background-image: radial-gradient(circle at center, rgba(255, 255, 255, 0.3) 1.4px, transparent 1.5px);
}

.tmk-admission__status {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 22px;
	padding: 9px 20px 9px 14px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.1);
	font-size: 15px;
}

.tmk-admission__dot {
	flex: none;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: #5bd6a0;
	box-shadow: 0 0 0 4px rgba(91, 214, 160, 0.22);
}

.tmk-admission__lead {
	margin: 0 0 34px;
	max-width: 76ch;
	font-size: clamp(16px, 1.1vw, 18px);
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.78);
}

.tmk-admission__links {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	margin-bottom: 32px;
}

.tmk-admission__link {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 18px 20px;
	border: 1px solid rgba(255, 255, 255, 0.13);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.07);
	color: #fff !important;
	font-size: 15.5px;
	font-weight: 500;
	line-height: 1.35;
	text-decoration: none !important;
	transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.tmk-admission__link:hover,
.tmk-admission__link:focus-visible {
	background: rgba(255, 255, 255, 0.14);
	border-color: rgba(255, 255, 255, 0.34);
	transform: translateY(-2px);
}

.tmk-admission__link-icon {
	flex: none;
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.12);
	color: #a8e2e6;
}

.tmk-admission__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 34px;
	padding-top: 26px;
	border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.tmk-admission__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 18px;
}

.tmk-admission__actions-title {
	margin: 0;
	font-size: 14px;
	color: rgba(255, 255, 255, 0.6);
}

.tmk-admission__action-row {
	display: contents;
}

.tmk-admission__action,
.tmk-admission__action:visited {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: inherit;
	text-decoration: none !important;
}

.tmk-admission__action-kicker {
	display: none;
}

.tmk-admission__action-icon {
	flex: none;
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 11px;
	background: rgba(255, 255, 255, 0.12);
	color: #a8e2e6;
}

.tmk-admission__action--phone .tmk-admission__action-value {
	font-size: 22px;
	font-weight: 600;
	color: #fff !important;
}

.tmk-admission__action--mail .tmk-admission__action-value {
	font-size: 15px;
	color: #a8e2e6 !important;
	border-bottom: 1px solid rgba(168, 226, 230, 0.4);
	padding-bottom: 1px;
}

.tmk-admission__all {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin-left: auto;
	padding: 15px 28px;
	border-radius: var(--tmk-radius);
	background: #fff;
	color: #16575c !important;
	font-size: 16px;
	font-weight: 600;
	text-decoration: none !important;
	transition: background 0.18s ease;
}

.tmk-admission__all:hover,
.tmk-admission__all:focus-visible {
	background: #dff1f2;
}

.tmk-admission__art {
	display: flex;
	align-items: center;
	justify-content: center;
}

.tmk-admission__art img {
	width: min(100%, 460px);
}

/* Студентам — светлая панель между новостями и жизнью колледжа */

.tmk-students {
	background: #fff;
	padding: clamp(52px, 5vw, 78px) 0;
}

.tmk-students__panel {
	position: relative;
	overflow: hidden;
	padding: clamp(34px, 3.6vw, 54px) clamp(26px, 3vw, 54px);
	border-radius: 26px;
	background: #eaf3f4;
}

.tmk-mark-pattern--students {
	color: rgba(35, 131, 139, 0.07);
}

.tmk-students__pluses {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
}

.tmk-students__pluses i {
	position: absolute;
	width: 34px;
	height: 34px;
	background: rgba(35, 131, 139, 0.12);
	clip-path: polygon(37.5% 0, 62.5% 0, 62.5% 37.5%, 100% 37.5%, 100% 62.5%, 62.5% 62.5%, 62.5% 100%, 37.5% 100%, 37.5% 62.5%, 0 62.5%, 0 37.5%, 37.5% 37.5%);
}

.tmk-students__pluses i:nth-child(1) {
	top: 8%; right: 6%; transform: rotate(12deg); }

.tmk-students__pluses i:nth-child(2) {
	bottom: 12%; right: 14%; width: 22px; height: 22px; transform: rotate(-16deg); }

.tmk-students__pluses i:nth-child(3) {
	top: 22%; left: 38%; width: 18px; height: 18px; transform: rotate(8deg); }

.tmk-students__inner {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: clamp(310px, 28vw, 480px) minmax(0, 1fr);
	gap: clamp(20px, 3vw, 54px);
	align-items: center;
}

.tmk-students__art {
	display: flex;
	justify-content: center;
}

.tmk-students__art img {
	width: min(100%, 480px);
	transform: rotate(4deg);
}

.tmk-students__lead {
	margin: 0 0 28px;
	max-width: 56ch;
	font-size: 16px;
	line-height: 1.55;
	color: var(--tmk-muted);
}

.tmk-students__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

/* News */

.tmk-news {
	padding: 44px 0 0;
	background: var(--tmk-bg);
}

.shead,
.tmk-news__head,
.tmk-life__head,
.tmk-board__head,
.tmk-extra__head,
.tmk-contacts__head,
.tmk-students__head {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 32px;
	flex-wrap: nowrap;
}

.tmk-official__head,
.tmk-figures__head,
.tmk-news__head {
	margin-bottom: 28px;
}

.shead::before {
	content: "";
	flex: none;
	width: 14px;
	height: 14px;
	background: var(--tmk-mod);
	clip-path: polygon(
		37.5% 0,
		62.5% 0,
		62.5% 37.5%,
		100% 37.5%,
		100% 62.5%,
		62.5% 62.5%,
		62.5% 100%,
		37.5% 100%,
		37.5% 62.5%,
		0 62.5%,
		0 37.5%,
		37.5% 37.5%
	);
}

.tmk-shead__title {
	display: flex;
	align-items: center;
	gap: 14px;
	flex: 1;
	min-width: 0;
	white-space: nowrap;
	font-size: clamp(26px, 2vw, 34px);
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: -0.01em;
	text-transform: none;
	color: var(--tmk-text);
	margin: 0;
}

.tmk-shead__title::after {
	content: "";
	flex: 1;
	min-width: 24px;
	height: 9px;
	background-image: radial-gradient(circle at center, var(--tmk-line, #dde5e6) 1.4px, transparent 1.5px);
	background-size: 14px 9px;
}

.tmk-shead__link,
.tmk-shead__link:visited {
	flex: none;
	padding: 0;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.3;
	color: var(--tmk-primary) !important;
	text-decoration: none !important;
	white-space: nowrap;
}

.tmk-shead__link:hover,
.tmk-shead__link:focus-visible {
	color: var(--tmk-primary-dark) !important;
}

.tmk-students__head {
	margin-bottom: 12px;
}

@media (max-width: 640px) {
	.shead,
	.tmk-news__head,
	.tmk-life__head,
	.tmk-board__head,
	.tmk-extra__head,
	.tmk-contacts__head,
	.tmk-students__head,
	.tmk-admission__head,
	.tmk-figures__head {
		flex-wrap: nowrap;
		align-items: center;
		gap: 10px;
	}

	.shead::before {
		align-self: center;
	}

	.tmk-shead__title {
		display: flex;
		align-items: center;
		flex: 1 1 auto;
		min-width: 0;
		white-space: nowrap;
		overflow-wrap: normal;
		font-size: 22px;
	}

	.tmk-shead__title::after {
		display: none;
	}

	.tmk-shead__label {
		display: none;
	}

	.tmk-shead__link,
	.tmk-shead__link:visited,
	.tmk-shead__link:hover,
	.tmk-shead__link:focus-visible {
		flex: none;
		align-self: center;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: auto;
		height: 32px;
		margin: 0;
		padding: 0 14px;
		max-width: none;
		border: 0;
		border-radius: 999px;
		background: #fff;
		color: var(--tmk-primary) !important;
		font-size: 0;
		font-weight: 500;
		line-height: 0;
		gap: 0;
		white-space: nowrap;
	}

	body.tmk-redesign .tmk-shead__link::after,
	body.tmk-redesign .tmk-shead__link:hover::after,
	body.tmk-redesign .tmk-shead__link:focus-visible::after {
		content: "Все";
		display: block;
		width: auto;
		height: auto;
		background: none;
		clip-path: none;
		font-size: 15px;
		font-weight: 500;
		line-height: 1;
		color: inherit;
		transform: none;
	}
}

.tmk-news__posts {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 20px;
	align-items: stretch;
}

.tmk-news-card {
	position: relative;
	background: #fff;
	border: 1px solid #e3e9ea;
	border-radius: 0 var(--tmk-corner) 0 0;
	overflow: hidden;
	box-shadow: none;
	padding: 0;
	text-decoration: none !important;
	color: inherit !important;
	display: flex;
	flex-direction: column;
	height: 100%;
	min-width: 0;
	min-height: 0;
	transition: border-color 0.15s ease;
}

.tmk-news-card:hover,
.tmk-news-card:focus-visible {
	border-color: #23838b;
	transform: none;
	box-shadow: none;
}

.tmk-news-card:focus-visible {
	outline: 2px solid var(--tmk-primary);
	outline-offset: 3px;
}

.tmk-news-card__img {
	flex: none;
	aspect-ratio: 4 / 3;
	background: #ece6d8;
	overflow: hidden;
	border-radius: 0 var(--tmk-corner) 0 0;
}

.tmk-news-card__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
	display: block;
	border-radius: 0 var(--tmk-corner) 0 0;
}

.tmk-news-card__body {
	flex: 1 1 auto;
	padding: 16px 18px 18px;
	min-width: 0;
}

.tmk-news-card__date {
	display: block;
	font-size: 12px;
	line-height: 1.3;
	color: #6b7780;
	margin-bottom: 10px;
}

.tmk-news-card__heading {
	font-size: 15px;
	font-weight: 500;
	line-height: 1.45;
	margin: 0;
	color: var(--tmk-text);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

@media (max-width: 1400px) {
	.tmk-news__posts {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	}

}

@media (max-width: 900px) {
	.tmk-news__posts {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	}

}

@media (max-width: 700px) {
	.tmk-news__posts {
	grid-template-columns: 1fr;
	}

}

/* Жизнь колледжа */

.tmk-life {
	padding: 72px 0;
	background: #fff;
	border-top: 1px solid #e3e9ea;
}

.tmk-life__grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 20px;
	align-items: stretch;
}

.tmk-life-card {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	min-width: 0;
	background: #fff;
	border: 1px solid #e3e9ea;
	border-radius: 0 var(--tmk-corner) 0 0;
	overflow: hidden;
	box-shadow: none;
	padding: 0;
	text-decoration: none !important;
	color: inherit !important;
	transition: border-color 0.15s ease;
}

.tmk-life-card:hover,
.tmk-life-card:focus-visible {
	border-color: #23838b;
	transform: none;
	box-shadow: none;
}

.tmk-life-card:focus-visible {
	outline: 2px solid var(--tmk-primary);
	outline-offset: 3px;
}

.tmk-life-card__img {
	flex: 0 0 auto;
	aspect-ratio: 4 / 3;
	background: #ece6d8;
	overflow: hidden;
	border-radius: 0 var(--tmk-corner) 0 0;
}

.tmk-life-card__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	border-radius: 0 var(--tmk-corner) 0 0;
}

.tmk-life-card__body {
	flex: 1 1 auto;
	display: flex;
	align-items: flex-end;
	padding: 14px 16px 16px;
}

.tmk-life-card__title {
	display: block;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.35;
	color: var(--tmk-text);
}

.tmk-card-go {
	position: absolute;
	top: 14px;
	right: 14px;
	z-index: 2;
	width: 34px;
	height: 34px;
	display: grid;
	place-items: center;
	border: 1.5px solid #cfe0e0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.9);
	color: var(--tmk-primary, #23838b);
	pointer-events: none;
	transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.tmk-news-card:hover .tmk-card-go,
.tmk-news-card:focus-visible .tmk-card-go,
.tmk-life-card:hover .tmk-card-go,
.tmk-life-card:focus-visible .tmk-card-go,
.tmk-entry-card:hover .tmk-card-go,
.tmk-entry-card:focus-visible .tmk-card-go {
	background: var(--tmk-primary, #23838b);
	border-color: var(--tmk-primary, #23838b);
	color: #fff;
}

@media (prefers-reduced-motion: reduce) {
	.tmk-card-go {
	transition: none;
	}

}

@media (max-width: 620px) {
	:root {
	--tmk-corner: 22px;
	}

.tmk-card-go {
	top: 10px;
		right: 10px;
		width: 30px;
		height: 30px;
	}

}



.tmk-entry-card,
.tmk-students .tmk-entry-card {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	min-height: 196px;
	min-width: 0;
	padding: 22px;
	background: #fff;
	border: 1px solid #dfe7e8;
	border-radius: 0 var(--tmk-corner) 0 0;
	box-sizing: border-box;
	overflow: hidden;
	text-decoration: none !important;
	color: inherit !important;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.tmk-entry-card__icon {
	display: block;
	width: 26px;
	height: 26px;
	margin-bottom: auto;
	color: var(--tmk-primary);
}

.tmk-entry-card__icon svg {
	display: block; }

.tmk-students .tmk-entry-card__icon {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 10px;
	background: #e8f2f2;
	color: var(--tmk-primary);
}

.tmk-students .tmk-entry-card__icon svg {
	display: block;
	width: 22px;
	height: 22px;
}

.tmk-entry-card__title {
	display: block;
	margin-top: 24px;
	font-size: 17px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--tmk-text);
}

.tmk-entry-card__text {
	display: block;
	margin-top: 8px;
	font-size: 14px;
	line-height: 1.4;
	color: var(--tmk-muted);
}

.tmk-entry-card .tmk-card-go,
.tmk-students .tmk-card-go {
	position: absolute;
	top: 18px;
	right: 18px;
	transform: none;
	width: 34px;
	height: 34px;
	display: grid;
	place-items: center;
	border: 1.5px solid #cfe0e0;
	border-radius: 50%;
	background: transparent;
	color: var(--tmk-primary);
	pointer-events: none;
	transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.tmk-entry-card:hover,
.tmk-entry-card:focus-visible,
.tmk-students .tmk-entry-card:hover,
.tmk-students .tmk-entry-card:focus-visible {
	background: #fff;
	border-color: var(--tmk-primary);
	box-shadow: inset 0 0 0 1px var(--tmk-primary);
}

.tmk-entry-card:hover .tmk-card-go,
.tmk-entry-card:focus-visible .tmk-card-go {
	background: var(--tmk-primary);
	border-color: var(--tmk-primary);
	color: #fff;
}

.tmk-entry-card:focus-visible {
	outline: 2px solid var(--tmk-primary);
	outline-offset: 3px;
}

.tmk-entry-card--ext .tmk-card-go {
	border-style: dashed; }

/* ---- Заголовки секций: воздух перед пунктиром, стрелка у ссылки ---- */

.shead {
	gap: 16px; }

.tmk-shead__title::after {
	margin-left: 6px; }

.tmk-shead__link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.tmk-shead__link::after {
	content: "→";
	font-size: 15px;
	line-height: 1;
	transition: transform 0.15s ease;
}

.tmk-shead__link:hover::after,
.tmk-shead__link:focus-visible::after {
	transform: translateX(3px); }

@media (max-width: 620px) {
	.tmk-entry-card,
	.tmk-students .tmk-entry-card {
		min-height: 0;
		padding: 20px;
	}

	.tmk-entry-card__title {
		margin-top: 18px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.tmk-entry-card,
	.tmk-card-go,
	.tmk-shead__link::after {
	transition: none; }

.tmk-shead__link:hover::after {
	transform: none; }

}

/* Разделы сайта — карточки по смыслу */

.tmk-extra {
	padding: 40px 0 64px;
	background: var(--tmk-bg);
}

.tmk-extra__title {
	padding: 0;
}

.tmk-extra__map {
	transition: color 0.15s ease, opacity 0.15s ease;
}

.tmk-extra__map:focus-visible,
.tmk-extra__link:focus-visible {
	outline: 2px solid var(--tmk-primary);
	outline-offset: 3px;
	border-radius: 4px;
}

.tmk-extra__cards {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
	align-items: stretch;
}

.tmk-extra__card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	padding: 22px 22px 14px;
	background: var(--tmk-card);
	border: 1px solid rgba(35, 131, 139, 0.14);
	border-radius: 0 var(--tmk-corner) 0 0;
	box-shadow: none;
	box-sizing: border-box;
}

.tmk-extra__card-head {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 12px;
	padding-bottom: 14px;
	border-bottom: 1px solid #e8ecee;
}

.tmk-extra__card-icon {
	flex: none;
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 10px;
	background: #e8f2f2;
	color: var(--tmk-primary);
}

.tmk-extra__card-icon svg {
	display: block; }

.tmk-extra__card-title {
	flex: 1;
	min-width: 0;
	margin: 0;
	padding: 0;
	border-bottom: 0;
	font-size: 1.0625rem;
	font-weight: 600;
	line-height: 1.3;
	color: var(--tmk-text);
}

.tmk-extra__card-count {
	flex: none;
	font-size: 13px;
	font-weight: 400;
	color: #8b97a0;
	font-variant-numeric: tabular-nums;
}

.tmk-extra__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.tmk-extra__list li {
	margin: 0;
	padding: 0;
}

.tmk-extra__link,
.tmk-extra__link:visited {
	position: relative;
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 8px 0 8px 22px;
	font-size: 0.9375rem;
	font-weight: 400;
	line-height: 1.4;
	color: #2c333a !important;
	text-decoration: none !important;
	overflow-wrap: anywhere;
	transition: color 0.15s ease;
}

.tmk-extra__link::before,
.tmk-extra a[href$='.pdf']::before,
.tmk-extra a[href$='.doc']::before,
.tmk-extra a[href$='.docx']::before {
	content: none !important;
	padding: 0 !important;
	margin: 0 !important;
	font: inherit !important;
}

.tmk-extra__link::after {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	width: 14px;
	height: 14px;
	margin-top: -7px;
	background: currentColor;
	opacity: 0;
	transform: translateX(-4px);
	transition: opacity 0.15s ease, transform 0.15s ease;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h13M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h13M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
}

.tmk-extra__link:hover,
.tmk-extra__link:focus-visible {
	color: var(--tmk-primary) !important;
}

.tmk-extra__link:hover::after,
.tmk-extra__link:focus-visible::after {
	opacity: 1;
	transform: translateX(0);
}

.tmk-extra__ext {
	flex: none;
	color: #8b97a0;
	line-height: 0;
}

@media (max-width: 1199px) {
	.tmk-extra {
	padding: 32px 0 48px;
	}

.tmk-extra__cards {
	grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 16px;
	}

}

@media (max-width: 700px) {
	.tmk-extra {
	padding: 24px 0 40px;
	}

.tmk-extra__cards {
	grid-template-columns: 1fr;
		gap: 12px;
	}

.tmk-extra__card {
	padding: 18px 18px 12px;
	}

}

@media (max-width: 400px) {
	.tmk-extra__card {
	padding: 16px 14px 10px;
	}

.tmk-extra__card-title {
	font-size: 1rem;
	}

.tmk-extra__link {
	font-size: 0.9rem;
	}

}

@media (max-width: 900px) and (orientation: landscape) and (max-height: 500px) {
	.tmk-extra__cards {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	}

.tmk-extra__head {
	flex-direction: row;
		align-items: center;
	}

.tmk-extra__link {
	min-height: 40px;
		padding: 6px 0 6px 22px;
	}

}

@media (prefers-reduced-motion: reduce) {
	.tmk-extra__map,
	.tmk-extra__link,
	.tmk-extra__link::after {
	transition: none;
	}

}

/* Контакты — панель перед футером */

.tmk-contacts {
	--tmk-contacts-bg: #16575c;
	position: relative;
	overflow: hidden;
	background: var(--tmk-contacts-bg);
	color: #fff;
	padding: 64px 0 64px;
	box-shadow: 0 2px 0 var(--tmk-contacts-bg);
}

.tmk-mark-pattern {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	z-index: 0;
}

.tmk-mark-pattern--contacts {
	color: rgba(255, 255, 255, 0.09);
}

.tmk-contacts > .tmk-home__inner {
	position: relative;
	z-index: 1;
}

.tmk-contacts .tmk-contacts__head {
	margin-bottom: 48px;
}

.tmk-contacts__title,
.tmk-contacts .tmk-shead__title {
	color: #fff;
}

.tmk-contacts .tmk-contacts__head::before {
	background: #fff;
}

.tmk-contacts .tmk-shead__title::after {
	background-image: radial-gradient(circle at center, rgba(255, 255, 255, 0.3) 1.4px, transparent 1.5px);
}

.tmk-contacts__panel {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(420px, 54%);
	background: #fff;
	color: var(--tmk-text);
	border-radius: 0 var(--tmk-corner) 0 0;
	overflow: hidden;
}

.tmk-contacts__body {
	min-width: 0;
	padding: 32px 36px 28px;
}

.tmk-contacts__address {
	display: flex;
	align-items: center;
	gap: 12px;
	padding-bottom: 22px;
	margin-bottom: 24px;
	border-bottom: 1px solid #e0e8e9;
}

.tmk-contacts__address-icon {
	flex: none;
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 11px;
	background: #e8f2f2;
	color: var(--tmk-primary);
}

.tmk-contacts__address-icon svg {
	display: block; }

.tmk-contacts__address-main {
	margin: 0;
	font-size: 1rem;
	font-weight: 500;
	line-height: 1.35;
	color: var(--tmk-text);
}

.tmk-contacts__address-sub {
	margin: 3px 0 0;
	font-size: 0.8125rem;
	line-height: 1.4;
	color: #6b7780;
}

.tmk-contacts__depts {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 0;
	row-gap: 26px;
	align-items: stretch;
}

.tmk-contacts__dept {
	min-width: 0;
	padding: 0;
	background: none;
	border-radius: 0;
}

.tmk-contacts__dept:nth-child(odd) {
	padding-right: 32px;
	border-right: 1px solid #e8ecee;
}

.tmk-contacts__dept:nth-child(even) {
	padding-left: 32px;
	border-right: 0;
	background: none;
}

.tmk-contacts__dept-head {
	display: flex;
	align-items: center;
	gap: 9px;
	margin-bottom: 10px;
	color: var(--tmk-primary);
}

.tmk-contacts__dept-head svg {
	flex: none;
	display: block;
}

.tmk-contacts__dept-title,
a.tmk-contacts__dept-title {
	margin: 0;
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.3;
	color: var(--tmk-text) !important;
	text-decoration: none !important;
}

a.tmk-contacts__dept-title:hover,
a.tmk-contacts__dept-title:focus-visible {
	color: var(--tmk-primary) !important;
}

.tmk-contacts__row,
.tmk-contacts__row:visited {
	display: block;
	padding: 0;
	text-decoration: none !important;
}

.tmk-contacts__row-value {
	display: block;
	font-size: 1.0625rem;
	font-weight: 500;
	line-height: 1.5;
	letter-spacing: -0.01em;
	font-variant-numeric: tabular-nums;
	color: var(--tmk-contacts-bg) !important;
}

.tmk-contacts__row--mail .tmk-contacts__row-value {
	display: inline-block;
	margin-top: 6px;
	font-size: 0.875rem;
	font-weight: 400;
	line-height: 1.4;
	color: var(--tmk-primary) !important;
}

.tmk-contacts__row-note,
.tmk-contacts__row-btn {
	display: none;
}

.tmk-contacts__mail:hover,
.tmk-contacts__mail:focus-visible {
	text-decoration: underline !important;
	text-underline-offset: 3px;
}

.tmk-contacts__foot {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 14px 24px;
	margin-top: 28px;
	padding-top: 22px;
	border-top: 1px solid #e0e8e9;
}

.tmk-contacts__hours {
	display: flex;
	align-items: center;
	gap: 9px;
	font-size: 0.875rem;
	line-height: 1.4;
	color: var(--tmk-muted);
}

.tmk-contacts__hours svg {
	flex: none;
	display: block;
	color: var(--tmk-primary);
}

.tmk-contacts__social {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 0;
	margin-left: auto;
}

.tmk-contacts__social-label {
	font-size: 0.8125rem;
	color: #6b7780;
}

.tmk-contacts__social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	padding: 0;
	overflow: hidden;
	border: 0;
	border-radius: 10px;
	text-decoration: none !important;
	transition: opacity 0.15s ease;
}

.tmk-contacts__social-link .tmk-social-icon {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
}

.tmk-contacts__social-link:hover,
.tmk-contacts__social-link:focus-visible {
	opacity: 0.86;
}

.tmk-contacts__map {
	position: relative;
	min-width: 0;
	min-height: 420px;
	background: #e0e8e9;
}

.tmk-contacts__map iframe {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 420px;
	border: 0;
}

.tmk-contacts a:focus-visible {
	outline: 2px solid #8fd4d0;
	outline-offset: 3px;
	border-radius: 4px;
}

.tmk-contacts__panel a:focus-visible {
	outline-color: var(--tmk-primary);
}

@media (max-width: 1100px) {
	.tmk-contacts {
	padding: 56px 0 56px;
	}

.tmk-contacts .tmk-contacts__head {
	margin-bottom: 40px;
	}

.tmk-contacts__panel {
	grid-template-columns: 1fr;
	}

.tmk-contacts__body {
	padding: 26px 24px 24px;
	}

.tmk-contacts__dept:nth-child(odd) {
	padding-right: 24px; }

.tmk-contacts__dept:nth-child(even) {
	padding-left: 24px; }

.tmk-contacts__map,
.tmk-contacts__map iframe {
	min-height: 320px;
	}

}

@media (max-width: 900px) {
	.tmk-contacts {
		padding: 48px 0;
	}

	.tmk-mark-pattern,
	.tmk-students__pluses {
		display: none;
	}
}

@media (max-width: 700px) {
	.tmk-contacts {
	padding: 40px 0;
	}

.tmk-contacts__depts {
	grid-template-columns: 1fr;
		row-gap: 22px;
	}

.tmk-contacts__dept:nth-child(odd) {
	padding: 14px 16px 8px;
		border-right: 0;
	}

.tmk-contacts__dept:nth-child(even) {
	padding: 14px 16px 8px;
	}

.tmk-contacts__dept,
.tmk-contacts__dept:nth-child(odd),
.tmk-contacts__dept:nth-child(even) {
	background: #f4f8f8;
	border-radius: 16px;
	border-right: 0;
}

.tmk-contacts__row,
.tmk-contacts__row:visited {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 0;
}

.tmk-contacts__row-text {
	min-width: 0;
}

.tmk-contacts__row-value,
.tmk-contacts__row--mail .tmk-contacts__row-value {
	display: block;
	margin-top: 0;
	font-size: 1.0625rem;
	font-weight: 700;
	line-height: 1.3;
	color: var(--tmk-contacts-bg) !important;
	overflow-wrap: anywhere;
}

.tmk-contacts__row-note {
	display: block;
	margin-top: 2px;
	font-size: 0.8125rem;
	line-height: 1.3;
	font-weight: 400;
	color: #8b9399;
}

.tmk-contacts__row-btn {
	display: grid;
	place-items: center;
	flex: none;
	width: 40px;
	height: 40px;
	border: 1.5px solid #b7d4d6;
	border-radius: 50%;
	background: #fff;
	color: var(--tmk-primary);
}

.tmk-contacts__row:hover .tmk-contacts__row-btn,
.tmk-contacts__row:focus-visible .tmk-contacts__row-btn {
	background: var(--tmk-primary);
	border-color: var(--tmk-primary);
	color: #fff;
}

.tmk-contacts__social {
	margin-left: 0;
	}

.tmk-contacts__map,
.tmk-contacts__map iframe {
	min-height: 260px;
	}

}

@media (max-width: 400px) {
	.tmk-contacts__body {
	padding: 22px 18px 20px;
	}

.tmk-contacts__social-link {
	width: 40px;
		height: 40px;
	}

}

@media (max-width: 900px) and (orientation: landscape) and (max-height: 500px) {
	.tmk-contacts__panel {
	grid-template-columns: 1.1fr 1fr;
	}

.tmk-contacts__depts {
	column-gap: 0;
		row-gap: 18px;
	}

.tmk-contacts__dept:nth-child(odd) {
	padding-right: 18px; }

.tmk-contacts__dept:nth-child(even) {
	padding-left: 18px; }

.tmk-contacts__map,
.tmk-contacts__map iframe {
	min-height: 280px;
	}

}

@media (prefers-reduced-motion: reduce) {
	.tmk-contacts__phone,
	.tmk-contacts__social-link,
	.tmk-extra__link,
	.tmk-extra__link::after {
	transition: none;
	}

}

@media (prefers-contrast: more) {
	.tmk-mark-pattern {
		display: none;
	}
}

body.pojo-a11y-high-contrast .tmk-mark-pattern,
body.pojo-a11y-high-contrast .tmk-hero__pattern {
	display: none;
}

@media (max-width: 1199px) {
	.tmk-life__grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	}

}

@media (max-width: 900px) {
	.tmk-life__grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	}

}

@media (max-width: 560px) {
	.tmk-life__grid {
	grid-template-columns: 1fr;
	}

}

@media (prefers-reduced-motion: reduce) {
	.tmk-news-card,
	.tmk-life-card,
	.tmk-entry-card {
		transition: none;
	}
}

@media (max-width: 1400px) {
	.tmk-admission__links {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	}

}

@media (max-width: 1280px) {
	.tmk-students__grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	}

}

@media (max-width: 1024px) {
	.tmk-admission__grid,
.tmk-students__inner {
	grid-template-columns: 1fr;
	}

.tmk-admission__art,
.tmk-students__art {
	order: -1;
	}

.tmk-admission__art img {
	width: min(76%, 330px);
	}

.tmk-students__art img {
	width: min(72%, 340px);
	}

}

@media (max-width: 760px) {
	.tmk-admission__links,
.tmk-students__grid {
	grid-template-columns: 1fr;
	}

.tmk-admission__all {
		margin-left: 0;
		width: 100%;
		justify-content: center;
	}
}

@media (prefers-reduced-motion: reduce) {
	.tmk-admission__link,
	.tmk-admission__all {
		transition: none;
	}

	.tmk-admission__link:hover {
		transform: none;
	}
}

/* ============================================================
   Мобильный адаптив: телефоны, Fold, узкие окна
   Не даём заголовкам, сеткам и декорам наезжать друг на друга.
   ============================================================ */

@media (max-width: 900px) {
	body.tmk-redesign {
		--tmk-container-pad: clamp(16px, 4.2vw, 32px);
	}

	.tmk-home {
		overflow-wrap: break-word;
	}

	.tmk-shead__title,
	.tmk-shead__link,
	.tmk-news-card__heading,
	.tmk-life-card__title,
	.tmk-entry-card__title,
	.tmk-extra__link,
	.tmk-extra__card-title,
	.tmk-fig__label,
	.tmk-fig__text,
	.tmk-official__name,
	.tmk-official__note {
		overflow-wrap: anywhere;
	}

	.tmk-era__text {
		overflow-wrap: break-word;
	}

	.tmk-figures,
	.tmk-official,
	.tmk-news,
	.tmk-admission,
	.tmk-students,
	.tmk-life,
	.tmk-extra,
	.tmk-contacts {
		overflow-x: clip;
	}

	.tmk-figures__lead {
		max-width: none;
	}

	.tmk-admission__status {
		max-width: 100%;
		white-space: normal;
		box-sizing: border-box;
	}

	.tmk-students__panel {
		padding: 28px 20px 32px;
		border-radius: 20px;
	}
}

@media (max-width: 640px) {
	.tmk-figures,
	.tmk-official {
		padding: 36px 0 0;
	}

	.tmk-official__board {
		border-radius: 22px 22px 0 0;
	}

	.tmk-figures__aside {
		padding: 20px 16px 22px;
		gap: 18px;
		border-radius: 22px 0 0 0;
	}

	.tmk-figures__lead {
		font-size: 15px;
	}

	.tmk-era__item {
		grid-template-columns: 4.6ch minmax(0, 1fr);
		column-gap: 10px;
		min-height: 34px;
	}

	.tmk-era__item::before {
		width: 10px;
		height: 10px;
		margin-top: -5px;
	}

	.tmk-era__item::after {
		left: 4px;
	}

	.tmk-era__year {
		font-size: 17px;
		padding-top: 1px;
	}

	.tmk-era__text {
		font-size: 13px;
		line-height: 1.35;
	}

	.tmk-era__more {
		margin-top: 16px;
	}

	.tmk-fig {
		padding: 18px 16px 20px;
		min-height: 0;
	}

	.tmk-fig__num {
		font-size: clamp(36px, 11vw, 46px);
	}

	.tmk-fig__label {
		padding-top: 14px;
		font-size: 15px;
		max-width: none;
	}

	.tmk-fig__text {
		padding-right: 0;
		font-size: 13px;
	}

	.tmk-shead__title {
		font-size: clamp(22px, 6.2vw, 26px);
	}

	.tmk-admission__links {
		gap: 10px;
	}

	.tmk-admission__link {
		padding: 14px 14px;
		font-size: 15px;
	}

	.tmk-admission__actions {
		flex-direction: column;
		align-items: stretch;
		gap: 10px;
		width: 100%;
	}

	.tmk-admission__actions-title {
		font-size: 13px;
	}

	.tmk-admission__action-row {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 10px;
	}

	.tmk-admission__action,
	.tmk-admission__action:visited {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		gap: 6px;
		min-width: 0;
		padding: 12px 14px 14px;
		border-radius: 14px;
		background: rgba(255, 255, 255, 0.1);
	}

	.tmk-admission__action-kicker {
		display: block;
		font-size: 13px;
		line-height: 1.2;
		color: rgba(255, 255, 255, 0.65);
	}

	.tmk-admission__action-icon {
		width: 36px;
		height: 36px;
		border-radius: 10px;
	}

	.tmk-admission__action--phone .tmk-admission__action-value,
	.tmk-admission__action--mail .tmk-admission__action-value {
		font-size: 16px;
		font-weight: 700;
		line-height: 1.2;
		color: #fff !important;
		border: 0;
		padding: 0;
		overflow-wrap: anywhere;
	}

	.tmk-admission__foot {
		gap: 16px;
	}

	.tmk-students {
		padding: 40px 0;
	}

	.tmk-students__panel {
		padding: 20px 14px 22px;
		border-radius: 16px;
	}

	.tmk-students__lead {
		margin-bottom: 18px;
		font-size: 15px;
	}

	.tmk-life {
		padding: 40px 0;
	}

	.tmk-news {
		padding: 36px 0 0;
	}

	.tmk-admission {
		margin-top: 40px;
	}

	.tmk-contacts__address,
	.tmk-contacts__foot,
	.tmk-contacts__hours {
		align-items: flex-start;
	}

	.tmk-contacts__social {
		margin-left: 0;
		width: 100%;
	}
}

@media (max-width: 480px) {
	body.tmk-redesign {
		--tmk-container-pad: 16px;
		--tmk-header-h: 58px;
	}

	body.tmk-redesign .tmk-site-header__a11y {
		display: none;
	}

	body.tmk-redesign .tmk-site-header__inner {
		gap: 6px;
	}

	body.tmk-redesign .tmk-site-header__name {
		font-size: 12px;
		line-height: 1.15;
	}

	body.tmk-redesign .tmk-site-header__search,
	body.tmk-redesign .tmk-site-header__toggle,
	body.tmk-redesign .tmk-search {
		width: 38px;
		height: 38px;
		min-width: 38px;
		min-height: 38px;
		flex: 0 0 38px;
	}

	.tmk-hero__mark:nth-child(2) {
		width: 120px !important;
		height: 120px !important;
		right: -18px !important;
		top: -6px !important;
	}

	.tmk-hero__inner {
		padding: 28px 16px 36px;
	}

	body.tmk-redesign .tmk-hero__title {
		padding-right: 36px;
	}

	.tmk-figures__set {
		border-radius: 0 18px 0 0;
	}

	.tmk-admission__status {
		padding: 8px 14px 8px 12px;
		font-size: 13px;
	}

	.tmk-extra__card-head {
		flex-wrap: wrap;
		gap: 8px;
	}
}

@media (max-width: 360px) {
	body.tmk-redesign {
		--tmk-container-pad: 14px;
	}

	body.tmk-redesign .tmk-site-header__brand .custom-logo-link {
		width: 34px;
		height: 34px;
		padding: 4px;
	}

	body.tmk-redesign .tmk-site-header__brand .custom-logo {
		width: 26px;
		height: 26px;
		max-width: 26px;
		max-height: 26px;
	}

	body.tmk-redesign .tmk-site-header__name {
		font-size: 11px;
	}

	.tmk-hero__mark:nth-child(2) {
		width: 96px !important;
		height: 96px !important;
	}

	body.tmk-redesign .tmk-hero__title {
		font-size: clamp(28px, 8vw, 34px) !important;
		padding-right: 28px;
	}

	.tmk-shead__title {
		font-size: 20px;
	}

	.tmk-shead__link,
	.tmk-shead__link:visited {
		margin: 0;
		max-width: none;
		font-size: 0;
	}

	.tmk-fig__num {
		font-size: 34px;
	}

	.tmk-era__item {
		grid-template-columns: 4.2ch minmax(0, 1fr);
		column-gap: 8px;
	}

	.tmk-era__year {
		font-size: 16px;
	}

	.tmk-era__text {
		font-size: 12.5px;
	}
}

@media (hover: none) {
	.tmk-fig__go {
		opacity: 1;
		transform: none;
	}
}

/* Баннеры и короткие ссылки */

.tmk-board {
	background: var(--tmk-bg);
	padding: 36px 0 28px;
	border-bottom: 1px solid #e3e9ea;
}

.tmk-board__block + .tmk-board__block {
	margin-top: 28px;
}

.tmk-board__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	column-gap: 24px;
	row-gap: 32px;
	align-items: start;
}

.tmk-board__layout > .tmk-board__head {
	grid-column: 1 / -1;
	grid-row: 1;
	margin-bottom: 0;
}

.tmk-board__main {
	grid-column: 1;
	grid-row: 2;
	min-width: 0;
}

.tmk-board__layout:not(:has(> .tmk-board__head)) .tmk-board__main,
.tmk-board__layout:not(:has(> .tmk-board__head)) .tmk-board__aside {
	grid-row: 1;
}

.tmk-board__aside {
	position: sticky;
	top: min(calc(var(--tmk-header-h, 76px) + 12px), calc(100vh - 100% - 16px));
	display: flex;
	flex-direction: column;
	gap: 12px;
	grid-column: 2;
	grid-row: 2;
	width: 320px;
	max-width: 100%;
	align-self: start;
}

.tmk-board__aside .tmk-board-official {
	grid-column: auto;
	grid-row: auto;
	width: 100%;
	border-radius: 12px;
	overflow: hidden;
}

.tmk-board__aside .tmk-board-banner,
.tmk-board__aside .tmk-board-banner:visited {
	position: static;
	inset: auto;
	height: auto;
	display: block;
}

.tmk-board__aside .tmk-board-banner__media {
	position: static;
	inset: auto;
	height: auto;
	aspect-ratio: auto;
	background: transparent;
}

.tmk-board__aside .tmk-board-banner__media img {
	width: 100%;
	height: auto;
	max-height: none;
	object-fit: contain;
}

.tmk-board__aside .tmk-board-embed {
	display: block;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	line-height: 0;
	font-size: 0;
	border-radius: 12px;
	overflow: hidden;
}

.tmk-board__aside .tmk-board-embed p {
	margin: 0;
}

.tmk-board__aside .tmk-board-embed iframe {
	display: block;
	width: 100%;
	max-width: 100%;
	margin: 0;
	border: 0;
}

.tmk-board__head {
	margin-bottom: 32px;
}

.tmk-board__posters {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
}

.tmk-board-card,
.tmk-board-card:visited {
	display: flex;
	flex-direction: column;
	min-width: 0;
	height: 100%;
	padding: 12px 14px 14px;
	background: #fff;
	border: 1px solid #e3e9ea;
	border-radius: 14px;
	overflow: hidden;
	color: var(--tmk-text) !important;
	text-decoration: none !important;
	position: relative;
}

.tmk-board-card--accent,
.tmk-board-card--accent:visited,
.tmk-board-card--accent:hover,
.tmk-board-card--accent:focus-visible {
	padding: 12px 14px 14px;
	background: #fff;
	border-color: #e3e9ea;
	color: var(--tmk-text) !important;
}

.tmk-board-card__copy {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding-right: 36px;
}

.tmk-board-card__top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	margin-bottom: 8px;
}

.tmk-board-card__mark {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 10px;
	background: #e7f3f4;
	color: var(--tmk-primary);
}

.tmk-board-card__mark svg {
	width: 20px;
	height: 20px;
}

.tmk-board-card--accent .tmk-board-card__mark {
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
}

.tmk-board-card__kicker {
	display: block;
	height: 1.3em;
	margin-bottom: 2px;
	overflow: hidden;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.3;
	white-space: nowrap;
	text-overflow: ellipsis;
	color: var(--tmk-muted);
}

.tmk-board-card--accent .tmk-board-card__kicker,
.tmk-board-card--accent .tmk-board-card__text {
	color: var(--tmk-muted);
}

.tmk-board-card--accent .tmk-board-card__title {
	color: var(--tmk-text);
}

.tmk-board-card__text {
	display: block;
	margin-top: 4px;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.4;
	color: var(--tmk-muted);
}

.tmk-board-card--accent .tmk-board-card__go {
	background: #fff;
	border-color: #cfe0e0;
	color: var(--tmk-primary);
}

.tmk-board-card:hover,
.tmk-board-card:focus-visible {
	border-color: var(--tmk-primary);
}

.tmk-board-card:focus-visible {
	outline: 2px solid var(--tmk-primary);
	outline-offset: 3px;
}

.tmk-board-card__media {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	flex: none;
	aspect-ratio: 16 / 10;
	margin: 0 0 8px;
	border-radius: 8px;
	background: #e4ecee;
	overflow: hidden;
}

.tmk-board-card--accent .tmk-board-card__media {
	margin: 0 0 8px;
	background: #e4ecee;
}

.tmk-board-card__blur {
	position: absolute;
	inset: -12%;
	width: 124%;
	height: 124%;
	object-fit: cover;
	filter: blur(18px);
	transform: scale(1.08);
}

.tmk-board-card__photo {
	position: relative;
	z-index: 1;
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.tmk-board-card__media .tmk-board-card__go {
	position: absolute;
	top: auto;
	right: 8px;
	bottom: 8px;
	z-index: 2;
	background: #fff;
}

.tmk-board-card--accent .tmk-board-card__media .tmk-board-card__go {
	background: #fff;
	border-color: #cfe0e0;
	color: var(--tmk-primary);
}

.tmk-board-card__body {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 10px 10px;
}

.tmk-board-card__title {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	height: calc(1.3em * 2);
	min-width: 0;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--tmk-text);
}

.tmk-board-card:hover .tmk-board-card__title,
.tmk-board-card:focus-visible .tmk-board-card__title {
	color: var(--tmk-primary-dark);
}

.tmk-board-card--accent:hover,
.tmk-board-card--accent:focus-visible {
	border-color: var(--tmk-primary);
}

.tmk-board-card--accent:hover .tmk-board-card__title,
.tmk-board-card--accent:focus-visible .tmk-board-card__title {
	color: var(--tmk-primary-dark);
}

.tmk-board-card__go {
	flex: none;
	display: grid;
	place-items: center;
	width: 26px;
	height: 26px;
	border: 1.5px solid #cfe0e0;
	border-radius: 50%;
	color: var(--tmk-primary);
}

.tmk-board-card:hover .tmk-board-card__go,
.tmk-board-card:focus-visible .tmk-board-card__go,
.tmk-board-link:hover .tmk-board-card__go,
.tmk-board-link:focus-visible .tmk-board-card__go,
.tmk-board-banner:hover .tmk-board-card__go,
.tmk-board-banner:focus-visible .tmk-board-card__go {
	background: var(--tmk-primary);
	border-color: var(--tmk-primary);
	color: #fff;
}

.tmk-board-card--accent:hover .tmk-board-card__go,
.tmk-board-card--accent:focus-visible .tmk-board-card__go {
	background: var(--tmk-primary);
	border-color: var(--tmk-primary);
	color: #fff;
}

.tmk-board-carousel__nav {
	display: flex;
	align-items: center;
	gap: 8px;
	flex: none;
}

.tmk-board-carousel__count {
	margin-right: 4px;
	font-size: 14px;
	font-weight: 500;
	color: var(--tmk-muted);
	white-space: nowrap;
}

.tmk-board-carousel__btn {
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	padding: 0;
	border: 1px solid #d5e0e2;
	border-radius: 50%;
	background: #fff;
	color: var(--tmk-primary);
	cursor: pointer;
}

.tmk-board-carousel__btn:hover,
.tmk-board-carousel__btn:focus-visible {
	border-color: var(--tmk-primary);
	background: var(--tmk-primary);
	color: #fff;
}

.tmk-board-carousel__btn[disabled] {
	opacity: 0.4;
	cursor: default;
	background: #fff;
	color: var(--tmk-primary);
}

.tmk-board-carousel__track {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.tmk-board-carousel__track::-webkit-scrollbar {
	display: none;
}

.tmk-board-carousel__slide {
	position: relative;
	flex: 0 0 calc((100% - 36px) / 4);
	min-width: 0;
	aspect-ratio: 16 / 9;
	scroll-snap-align: start;
}

.tmk-board-services__item {
	position: relative;
	min-width: 0;
	min-height: 140px;
}

.tmk-board-services {
	display: grid;
	grid-template-columns: minmax(640px, 2fr) repeat(3, minmax(0, 1fr));
	gap: 12px;
	align-items: stretch;
}

.tmk-board-official {
	grid-column: 1;
	grid-row: 1;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	margin: 0;
	border-radius: 12px;
	overflow: hidden;
}

.tmk-board-official #js-show-iframe-wrapper {
	width: 100%;
	max-width: 100%;
	border-radius: 12px;
}

.tmk-board-banner,
.tmk-board-banner:visited {
	position: absolute;
	inset: 0;
	display: block;
	height: auto;
	min-height: 0;
	background: #fff;
	border: 1px solid #e3e9ea;
	border-radius: 12px;
	overflow: hidden;
	color: var(--tmk-text) !important;
	text-decoration: none !important;
}

.tmk-board-banner:hover,
.tmk-board-banner:focus-visible {
	border-color: var(--tmk-primary);
}

.tmk-board-banner__media {
	position: absolute;
	inset: 0;
	display: block;
	background: #eef3f3;
	overflow: hidden;
}

.tmk-board-banner__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.tmk-board-banner__body {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 10px;
	background: rgba(255, 255, 255, 0.94);
}

.tmk-board-banner__copy {
	display: flex;
	flex-direction: column;
	gap: 2px;
	flex: 1;
	min-width: 0;
}

.tmk-board-banner__title {
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
}

.tmk-board-banner__text {
	font-size: 13px;
	line-height: 1.35;
	color: var(--tmk-muted);
}


.tmk-board__links {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 10px;
}

.tmk-board-link,
.tmk-board-link:visited {
	position: relative;
	display: block;
	height: 175px;
	min-width: 0;
	padding: 14px 16px;
	background: #fff;
	border: 1px solid #e3e9ea;
	border-radius: 14px;
	overflow: hidden;
	color: var(--tmk-text) !important;
	text-decoration: none !important;
	transition: background 0.2s ease, border-color 0.2s ease, transform 0.25s ease;
}

.tmk-board-link:hover,
.tmk-board-link:focus-visible {
	background: #e4ecee;
	border-color: var(--tmk-primary);
	transform: translate3d(0, -3px, 0);
}

.tmk-board-link:focus-visible {
	outline: 2px solid var(--tmk-primary);
	outline-offset: 3px;
}

.tmk-board-link__title {
	position: absolute;
	top: 16px;
	left: 16px;
	z-index: 2;
	width: fit-content;
	max-width: calc(100% - 58px);
}

.tmk-board-link__title > span {
	position: relative;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.25;
	text-wrap: balance;
	color: var(--tmk-text);
	text-shadow:
		0 0 1px #fff,
		0 0 3px #fff,
		0 0 6px #fff;
}

.tmk-board-link:hover .tmk-board-link__title > span,
.tmk-board-link:focus-visible .tmk-board-link__title > span {
	text-shadow:
		0 0 1px #e4ecee,
		0 0 3px #e4ecee,
		0 0 6px #e4ecee;
}

.tmk-board-link__art {
	position: absolute;
	right: 8px;
	bottom: 8px;
	z-index: 0;
	width: 124px;
	height: 124px;
	background: none;
	color: var(--tmk-primary);
	pointer-events: none;
}

.tmk-board-link__art::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 88px;
	height: 88px;
	border-radius: 50%;
	background: #dfe7e9;
	transform: translate(-50%, -50%);
}

.tmk-board-link:hover .tmk-board-link__art::before,
.tmk-board-link:focus-visible .tmk-board-link__art::before {
	background: #d3dfe2;
}

.tmk-board-link__art img,
.tmk-board-link__art svg {
	position: absolute;
	left: 50%;
	top: 50%;
	z-index: 1;
	width: 124px;
	height: 124px;
	object-fit: contain;
	object-position: center;
	opacity: 1;
	transform: translate(calc(-50% - 4px), calc(-50% - 4px));
	transform-origin: center;
	transition: transform 0.25s ease;
}

.tmk-board-link__art svg {
	width: 48px;
	height: 48px;
}

.tmk-board-link:hover .tmk-board-link__art img,
.tmk-board-link:focus-visible .tmk-board-link__art img,
.tmk-board-link:hover .tmk-board-link__art svg,
.tmk-board-link:focus-visible .tmk-board-link__art svg {
	transform: translate(calc(-50% - 1px), calc(-50% - 1px)) scale(1.06);
}

.tmk-board-link__arrow {
	position: absolute;
	top: 16px;
	right: 14px;
	z-index: 2;
	display: grid;
	place-items: center;
	color: var(--tmk-primary);
	opacity: 1;
	transition: transform 0.2s ease;
}

.tmk-board-link__arrow svg {
	display: block;
}

.tmk-board-link:hover .tmk-board-link__arrow,
.tmk-board-link:focus-visible .tmk-board-link__arrow {
	transform: translateX(3px);
}

@media (prefers-reduced-motion: reduce) {
	.tmk-board-link,
	.tmk-board-link__art img,
	.tmk-board-link__art svg,
	.tmk-board-link__arrow {
		transition: none;
	}

	.tmk-board-link:hover,
	.tmk-board-link:focus-visible,
	.tmk-board-link:hover .tmk-board-link__arrow,
	.tmk-board-link:focus-visible .tmk-board-link__arrow {
		transform: none;
	}

	.tmk-board-link:hover .tmk-board-link__art img,
	.tmk-board-link:focus-visible .tmk-board-link__art img,
	.tmk-board-link:hover .tmk-board-link__art svg,
	.tmk-board-link:focus-visible .tmk-board-link__art svg {
		transform: translate(calc(-50% - 4px), calc(-50% - 4px));
	}
}

.tmk-news--inboard {
	padding: 28px 0 0;
	background: transparent;
}

.tmk-board__main .tmk-news__posts {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 1100px) {
	.tmk-board__layout {
		grid-template-columns: 1fr;
	}

	.tmk-board__layout > .tmk-board__head,
	.tmk-board__main,
	.tmk-board__aside {
		grid-column: 1;
		grid-row: auto;
	}

	.tmk-board__aside {
		position: static;
		width: 100%;
		top: auto;
	}

	.tmk-board-services {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.tmk-board-official {
		grid-column: 1 / -1;
		grid-row: auto;
	}

	.tmk-board__posters {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.tmk-board__links {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.tmk-board-carousel__slide {
		flex-basis: calc((100% - 12px) / 2);
	}
}

@media (max-width: 980px) {
	.tmk-board-card--accent {
		grid-row: auto;
	}
}

@media (max-width: 640px) {
	.tmk-board {
		padding: 20px 0;
	}

	.tmk-board__posters {
		grid-template-columns: 1fr;
	}

	.tmk-board__links {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.tmk-board-link__title {
		left: 14px;
		right: 36px;
		width: auto;
		max-width: none;
	}

	.tmk-board-link__title > span {
		width: 100%;
		font-size: 14px;
		-webkit-line-clamp: 4;
		text-wrap: wrap;
		overflow-wrap: break-word;
		word-break: normal;
	}

	.tmk-board-carousel__slide {
		flex-basis: 100%;
	}

	.tmk-board-carousel__count {
		display: none;
	}
}

/* Elementor только несёт секции главной: его отступы и ширина 1140px не должны сдвигать макет. */

body.home.tmk-home-redesign .tmk-home > .elementor,
body.home.tmk-home-redesign .tmk-home .elementor-section,
body.home.tmk-home-redesign .tmk-home .elementor-container,
body.home.tmk-home-redesign .tmk-home .elementor-column,
body.home.tmk-home-redesign .tmk-home .elementor-widget-wrap,
body.home.tmk-home-redesign .tmk-home .elementor-element-populated,
body.home.tmk-home-redesign .tmk-home .elementor-widget,
body.home.tmk-home-redesign .tmk-home .elementor-widget-container {
	max-width: none !important;
	width: 100%;
	padding: 0 !important;
	margin: 0 !important;
	overflow: visible;
}

body.home.tmk-home-redesign .tmk-home .elementor-section.elementor-section-boxed > .elementor-container {
	max-width: none !important;
}

body.home.tmk-home-redesign .tmk-home .elementor-widget:not(:last-child) {
	margin-bottom: 0 !important;
}