/**
 * RKTM design tokens + базовые правила для всего сайта.
 *
 * Компонентная вёрстка шапки/главной/мегаменю — только в rktm-pixel.css.
 * Здесь остаются токены, читаемость body и минимальная совместимость с Elementor.
 *
 * Локальные шрифты: Manrope + Barlow Condensed (woff2 в assets/fonts/).
 * Сгенерировано из Google Fonts CSS2 API; URL в @font-face — ../fonts/*.woff2
 */

/* vietnamese */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/HTxwL3I-JCGChYJ8VI-L6OO_au7B4873z3nWuZEC.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/HTxwL3I-JCGChYJ8VI-L6OO_au7B4873z3jWuZEC.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/HTxwL3I-JCGChYJ8VI-L6OO_au7B4873z3bWuQ.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/HTxwL3I-JCGChYJ8VI-L6OO_au7B46r2z3nWuZEC.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/HTxwL3I-JCGChYJ8VI-L6OO_au7B46r2z3jWuZEC.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/HTxwL3I-JCGChYJ8VI-L6OO_au7B46r2z3bWuQ.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/HTxwL3I-JCGChYJ8VI-L6OO_au7B47b1z3nWuZEC.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/HTxwL3I-JCGChYJ8VI-L6OO_au7B47b1z3jWuZEC.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/HTxwL3I-JCGChYJ8VI-L6OO_au7B47b1z3bWuQ.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/xn7gYHE41ni1AdIRggqxSuXd.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/xn7gYHE41ni1AdIRggOxSuXd.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/xn7gYHE41ni1AdIRggSxSuXd.woff2") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/xn7gYHE41ni1AdIRggixSuXd.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/xn7gYHE41ni1AdIRggmxSuXd.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/xn7gYHE41ni1AdIRggexSg.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/xn7gYHE41ni1AdIRggqxSuXd.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/xn7gYHE41ni1AdIRggOxSuXd.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/xn7gYHE41ni1AdIRggSxSuXd.woff2") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/xn7gYHE41ni1AdIRggixSuXd.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/xn7gYHE41ni1AdIRggmxSuXd.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/xn7gYHE41ni1AdIRggexSg.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/xn7gYHE41ni1AdIRggqxSuXd.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/xn7gYHE41ni1AdIRggOxSuXd.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/xn7gYHE41ni1AdIRggSxSuXd.woff2") format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/xn7gYHE41ni1AdIRggixSuXd.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/xn7gYHE41ni1AdIRggmxSuXd.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/xn7gYHE41ni1AdIRggexSg.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
	--rktm-color-bg: #ffffff;
	--rktm-color-text: #000000;
	--rktm-color-text-soft: #757575;
	--rktm-color-heading: #000000;
	--rktm-color-brand: #e31e24;
	--rktm-color-brand-warm: #e9472c;
	--rktm-color-brand-orange: #f39200;
	--rktm-color-brand-yellow: #ffdb57;
	--rktm-color-surface: #f4f4f4;
	--rktm-color-surface-muted: #f1f4f7;
	--rktm-color-border: #acacac;
	--rktm-color-line: #f2f2f2;
	--rktm-color-white: #ffffff;
	--rktm-color-nav-active: #262626;

	--rktm-gradient-brand: radial-gradient(circle at 82% 48%, #ffdb57 0%, #fdd053 6%, #f9b44b 14%, #f2863e 25%, #e9472c 39%, #e41f21 46%, #e31e24 100%);
	--rktm-gradient-hero-blobs: radial-gradient(ellipse 70% 55% at 88% 35%, #ffdb57 0%, transparent 55%),
		radial-gradient(ellipse 45% 40% at 78% 65%, #e31e24 0%, transparent 50%);

	--rktm-font-heading: "Barlow Condensed", "Arial Narrow", "Arial", sans-serif;
	--rktm-font-body: "Manrope", "Segoe UI", "Arial", sans-serif;

	--rktm-container-width: 1296px;
	--rktm-container: min(var(--rktm-container-width), calc(100vw - 48px));
	--rktm-grid-column: 86px;
	--rktm-grid-gutter: 24px;

	--rktm-radius-control: 6px;
	--rktm-radius-card: 18px;
	--rktm-radius-input: 5px;

	--rktm-header-top-offset: 53px;
	--rktm-header-nav-offset: 191px;
	--rktm-control-height: 42px;
	--rktm-button-height: 42px;
	--rktm-tag-height: 24px;
	--rktm-space-section: clamp(4.5rem, 7vw, 7.5rem);
}

body {
	background-color: var(--rktm-color-bg);
	color: var(--rktm-color-text);
	font-family: var(--rktm-font-body);
	font-size: 18px;
	line-height: 1.35;
}

h1,
h2,
h3,
h4,
h5,
h6,
.rktm-heading {
	color: var(--rktm-color-heading);
	font-family: var(--rktm-font-heading);
	font-weight: 700;
	line-height: 1.05;
}

h1,
.rktm-heading-xl {
	font-size: clamp(2.5rem, 3.333vw, 4rem);
}

h2,
.rktm-heading-lg {
	font-size: clamp(2rem, 1.875vw, 2.25rem);
}

body .rktm-figma-container {
	margin-left: auto;
	margin-right: auto;
	max-width: var(--rktm-container);
	padding-left: 0;
	padding-right: 0;
}

.site-content,
#main,
#content {
	scroll-margin-top: 5rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="search"],
textarea,
select {
	background: var(--rktm-color-white);
	border: 1px solid var(--rktm-color-border);
	border-radius: var(--rktm-radius-input);
	color: var(--rktm-color-text);
	font-family: var(--rktm-font-body);
	font-size: 14px;
	line-height: 20px;
	padding: 12px 14px;
}

input[type="search"] {
	background-color: var(--rktm-color-surface-muted);
	border-color: transparent;
	min-height: var(--rktm-control-height);
}

@media (max-width: 767px) {
	:root {
		--rktm-container: min(100% - 32px, var(--rktm-container-width));
	}

	body {
		font-size: 16px;
	}

	body .rktm-figma-container {
		padding-left: 0;
		padding-right: 0;
	}
}

/* --- Elementor: сетка и типографика без «второй шапки» --- */
.elementor-section.elementor-section-boxed > .elementor-container {
	max-width: var(--rktm-container-width) !important;
}

.elementor-widget-heading .elementor-heading-title {
	font-family: var(--rktm-font-heading) !important;
	font-weight: 700 !important;
}

.elementor-widget-text-editor,
.elementor-widget-text-editor .elementor-text-editor,
.elementor-widget-theme-post-content {
	font-family: var(--rktm-font-body) !important;
}

.rktm-button,
.rktm-figma-button,
.wp-block-button__link,
.elementor-button,
.wpcf7-submit {
	align-items: center;
	background: var(--rktm-gradient-brand);
	border: 0;
	border-radius: var(--rktm-radius-control);
	color: var(--rktm-color-white);
	display: inline-flex;
	font-family: var(--rktm-font-body);
	font-size: 14px;
	font-weight: 600;
	justify-content: center;
	line-height: 1.2;
	min-height: var(--rktm-button-height);
	padding: 0 18px;
	text-decoration: none;
}

.rktm-button:hover,
.rktm-figma-button:hover,
.wp-block-button__link:hover,
.elementor-button:hover,
.wpcf7-submit:hover {
	color: var(--rktm-color-white);
	filter: brightness(0.96);
}

/* RKTM: скрыть пустой бейдж специальности без кода/срока */
.rktm-prog-card__badges .rktm-tag:empty,.rktm-program-row__tags .rktm-tag:empty{display:none}

/* RKTM: вернуть кнопку «Расписание» в мобильной шапке (по умолчанию скрывалась вместе с .rktm-pixel-nav__pill) */
@media (max-width: 960px) {
  .rktm-pixel-nav .rktm-pixel-nav__pill--outline { display: inline-flex; }
}

/* Кнопка документов под карточкой специальности */
.rktm-programs-section__list .rktm-program-item{display:flex;flex-direction:column;gap:.6rem}
.rktm-program-row__docs{align-self:flex-start}
@media (max-width:640px){.rktm-program-row__docs{align-self:stretch}}
