/* === TRITEC 06.11.2026: страница курса (макет G2) ===
   07.11.2026 (8): факты курса в строке вендора/кода; облегчены шрифты схемы,
   программы и «Рекомендуем также»; подсветка кнопки после выбора даты.
   07.11.2026 (7): отступ заголовка 50px; панель записи из трёх зон; формат и
   статус в карточках дат без жирного.
   07.11.2026 (6): до 1000px Программа под Целями, Схема обучения под Программой.
   07.11.2026 (5): плитка картинки по центру заголовка, заглушка Трайтек,
   «Хит» надстрочно; схема обучения — лента шагов.
   07.11.2026 (2): margin-bottom 74px у title bar; вендор и код курса; разные
   виды цен; «Требования» панелью; строка СДО; модули и часы в программе.
   07.11.2026: сброс стилей темы для <button> (карточки дат и переключатель
   «плыли» — тема задаёт button высоту 52px и line-height 50px); классы кнопок
   удвоены (.tcp-btn.tcp-btn) для веса; исправлены недопустимые font-шорткаты.
   Шаблон: tutor/content-single-course-02.php. Всё внутри .tcp,
   модальные окна — .tcp-modal (выводятся в wp_footer). */

.tcp, .tcp-modal {
	--tcp-ink: #031f42; --tcp-text: #1f2a3d; --tcp-text-2: #5d6b80; --tcp-muted: #8a94a3;
	--tcp-blue: #0071dc; --tcp-blue-d: #005bb3;
	--tcp-yellow: #ffc221; --tcp-yellow-l: #fff8e2; --tcp-yellow-b: #f3d488;
	--tcp-green: #12a150; --tcp-green-l: #e7f6ee;
	--tcp-page: #f8f8f8; --tcp-plate: #f2f4f7; --tcp-line: #e3e7ee;
	--tcp-hit: linear-gradient(135deg, #7b5cff, #ff5ea8 55%, #ff9a44);
	--tcp-r: 14px;
	color: var(--tcp-text);
	font-size: 15px;
	line-height: 1.6;
}
.tcp { background: var(--tcp-page); }
.tcp *, .tcp-modal, .tcp-modal * { box-sizing: border-box; }
.tcp h2, .tcp h3, .tcp-modal h2 { color: var(--tcp-ink); margin: 0; line-height: 1.2; letter-spacing: -.01em; }
.tcp h2 { font-size: 26px; font-weight: 700; }
.tcp h3 { font-size: 18px; font-weight: 600; margin-bottom: 12px; }
.tcp :focus-visible, .tcp-modal :focus-visible { outline: 3px solid var(--tcp-blue); outline-offset: 2px; border-radius: 6px; }
.tcp-wrap { max-width: 1200px; margin: 0 auto; padding: 0 15px; }


/* ---------- сброс стилей темы для <button> (07.11.2026) ----------
   Edumall задаёт всем button высоту 52px, line-height 50px, padding 0 41px,
   рамку, жирный шрифт и цвета из Customizer (button:not(:where(...)) и :hover),
   Elementor kit может добавить свои. Из-за этого карточки дат сжимались до 52px
   и содержимое вылезало наружу. Сбрасываем всё здесь (body + класс + button
   сильнее правил темы и kit), а сами кнопки страницы задаются ниже удвоенными
   классами (.tcp-btn.tcp-btn) — они сильнее этого сброса. */
body :is(.tcp, .tcp-modal) button {
	height: auto; min-height: 0; max-height: none; width: auto;
	margin: 0; padding: 0;
	line-height: inherit; font-size: inherit; font-weight: inherit; font-family: inherit;
	letter-spacing: normal; text-transform: none; text-align: inherit; text-shadow: none;
	color: inherit; background: none; border: 0; border-radius: 0; box-shadow: none;
}
body :is(.tcp, .tcp-modal) button:hover {
	color: inherit; background-color: transparent; border-color: transparent;
}

/* Тема даёт .page-content отступы 80px сверху и снизу — у страницы курса свои. */
body.single-courses .page-content.tcp { margin-top: 0; margin-bottom: 0; }

/* Хлебные крошки темы (title bar 04) — светлые, продолжают шапку курса */
body.single-courses .page-title-bar-04 .page-title-bar-bg { background: #fff !important; background-image: none !important; }
/* Customizer задаёт .page-title-bar-04 { margin-bottom: 74px } — шапка курса уезжала вниз от крошек. */
body.single-courses .page-title-bar-04 { margin-bottom: 0 !important; }
body.single-courses .page-title-bar-04 .page-title-bar-inner { border-bottom: 0; padding: 0 !important; min-height: 0 !important; }
body.single-courses .page-title-bar-04 .page-breadcrumb { padding: 20px 0 0 !important; margin: 0 !important; }
body.single-courses .page-title-bar-04 .insight_core_breadcrumb a,
body.single-courses .page-title-bar-04 .insight_core_breadcrumb li { color: var(--tcp-muted, #8a94a3) !important; font-size: 13px; }

/* ---------- кнопки ---------- */
.tcp-btn.tcp-btn { text-align: center; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 10px; font-weight: 600; font-size: 15px; line-height: 1; font-family: inherit; border: 0; cursor: pointer; white-space: nowrap; text-decoration: none; transition: background-color .15s, box-shadow .15s, transform .1s; }
.tcp-btn.tcp-btn:active { transform: scale(.98); }
.tcp-btn--yellow.tcp-btn--yellow { background: var(--tcp-yellow); color: var(--tcp-ink); }
.tcp-btn--yellow.tcp-btn--yellow:hover { background: #ffb800; color: var(--tcp-ink); }
.tcp-btn--blue.tcp-btn--blue { background: var(--tcp-blue); color: #fff; }
.tcp-btn--blue.tcp-btn--blue:hover { background: var(--tcp-blue-d); color: #fff; }
.tcp-btn--ghost.tcp-btn--ghost { background: #fff; color: var(--tcp-ink); box-shadow: inset 0 0 0 1.5px var(--tcp-line); }
.tcp-btn--ghost.tcp-btn--ghost:hover { background: #fff; box-shadow: inset 0 0 0 1.5px var(--tcp-ink); color: var(--tcp-ink); }
.tcp-btn--tg.tcp-btn--tg { width: 48px; padding: 0; color: #229ed9; background: #fff; box-shadow: inset 0 0 0 1.5px var(--tcp-line); }
.tcp-btn--tg.tcp-btn--tg:hover { background: #fff; box-shadow: inset 0 0 0 1.5px #229ed9; color: #229ed9; }
.tcp-btn--sm.tcp-btn--sm { height: 38px; padding: 0 16px; font-size: 14px; }
.tcp-link.tcp-link { background: none; border: 0; padding: 0; font-weight: 600; font-size: 14px; line-height: 1.4; font-family: inherit; color: var(--tcp-blue); cursor: pointer; display: inline-flex; margin-top: 8px; }
.tcp-link.tcp-link:hover { color: var(--tcp-blue-d); text-decoration: underline; }

/* ---------- шапка ---------- */
.tcp-hero { background: #fff; border-bottom: 1px solid var(--tcp-line); padding: 50px 0 32px; }
.tcp-tags { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 14px; }
.tcp-tag { font-size: 13px; color: var(--tcp-text-2); background: var(--tcp-plate); padding: 3px 12px; border-radius: 20px; }
.tcp-tag--sale { background: #fdecec; color: #b3141b; }
.tcp-hit { display: inline-flex; font-size: 12px; font-weight: 700; color: #fff; background: var(--tcp-hit); padding: 3px 10px; border-radius: 20px; }
.tcp-title { font-size: 36px; font-weight: 700; letter-spacing: -.02em; color: var(--tcp-ink); max-width: 900px; margin: 0; line-height: 1.15; }
.tcp-lead { font-size: 17px; margin: 16px 0 0; max-width: 760px; line-height: 1.55; }
.tcp-keyf { display: flex; flex-wrap: wrap; gap: 8px 34px; margin-top: 20px; font-size: 14px; color: var(--tcp-text-2); }
.tcp-keyf b { color: var(--tcp-ink); font-weight: 600; }
.tcp-keyf__link { color: var(--tcp-blue); text-decoration: none; border-bottom: 1px dashed currentColor; }
.tcp-keyf__link:hover { color: var(--tcp-blue-d); }

.tcp-run.tcp-run { text-align: left; font: inherit; color: inherit; background: #fff; border: 0; border-radius: var(--tcp-r); box-shadow: 0 0 0 1px var(--tcp-line); padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; cursor: pointer; transition: box-shadow .15s; text-decoration: none; }
.tcp-run.tcp-run:hover { background: #fff; color: inherit; box-shadow: 0 0 0 1px #b9c3d1; }
.tcp-run.tcp-run.is-on { box-shadow: 0 0 0 2px var(--tcp-ink), 0 8px 20px rgba(3, 31, 66, .08); }
.tcp-run__day { font-size: 24px; font-weight: 700; color: var(--tcp-ink); line-height: 1; letter-spacing: -.02em; }
.tcp-run__mon { color: var(--tcp-ink); font-weight: 500; font-size: 14px; }
.tcp-run__row { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.tcp-run__row .tcp-fmt, .tcp-run__row .tcp-st { font-weight: 400; }
/* скидка даты — в правом верхнем углу карточки, чтобы карточки были одной высоты */
.tcp-run.tcp-run { position: relative; }
.tcp-run .tcp-disc { position: absolute; top: 14px; right: 14px; }
.tcp-run--all.tcp-run--all { background: transparent; box-shadow: none; border: 1.5px dashed #cfd6e0; justify-content: center; gap: 4px; }
.tcp-run--all.tcp-run--all:hover { background: transparent; box-shadow: none; border-color: var(--tcp-blue); }
.tcp-run--all.tcp-run--all b { color: var(--tcp-blue); }
.tcp-run--consult.tcp-run--consult { background: var(--tcp-yellow-l); border-color: var(--tcp-yellow-b); border-style: solid; }
.tcp-run--consult.tcp-run--consult:hover { background: var(--tcp-yellow-l); border-color: var(--tcp-yellow); }
.tcp-run--consult.tcp-run--consult b { color: var(--tcp-ink); }
.tcp-run--all.tcp-run--all span { font-size: 13px; color: var(--tcp-text-2); line-height: 1.4; }

.tcp-fmt { display: inline-flex; font-size: 12px; padding: 2px 9px; border-radius: 20px; background: var(--tcp-plate); color: var(--tcp-text-2); font-weight: 500; white-space: nowrap; }
.tcp-st { display: inline-flex; align-items: center; font-size: 12px; font-weight: 600; padding: 2px 10px; border-radius: 20px; white-space: nowrap; }
.tcp-st--ok { background: var(--tcp-green-l); color: #0b7a3b; }
.tcp-st--wait { background: var(--tcp-yellow-l); color: #8a5a00; box-shadow: inset 0 0 0 1px var(--tcp-yellow-b); }

.tcp-cta { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 28px; }
.tcp-price { font-size: 24px; font-weight: 700; color: var(--tcp-ink); margin-right: 8px; white-space: nowrap; }
.tcp-price small { font-size: 13px; font-weight: 400; color: var(--tcp-text-2); }
.tcp-price__old { font-size: 15px; font-weight: 400; color: var(--tcp-muted); margin-left: 4px; }
.tcp-price__old[hidden] { display: none; }
.tcp-disc { display: inline-flex; font-size: 12px; font-weight: 700; color: #fff; background: #d31819; padding: 2px 8px; border-radius: 20px; white-space: nowrap; }
.tcp-dot .tcp-disc { margin-left: 4px; }
.tcp-sum__old { display: block; font-size: 12px; font-weight: 400; color: var(--tcp-muted); text-decoration: line-through; text-align: right; }
.tcp-payer.tcp-payer { background: var(--tcp-plate); border-radius: 12px; padding: 4px; display: inline-grid; grid-template-columns: 1fr 1fr; gap: 4px; width: 250px; }
.tcp-payer.tcp-payer button { text-align: center; border: 0; background: transparent; font-weight: 500; font-size: 14px; line-height: 1; font-family: inherit; padding: 11px 8px; border-radius: 9px; color: var(--tcp-text-2); cursor: pointer; }
.tcp-payer.tcp-payer button[aria-pressed="true"] { background: #fff; color: var(--tcp-ink); font-weight: 600; box-shadow: 0 1px 3px rgba(3, 31, 66, .14); }

/* Верх шапки (07.11.2026, вариант 5): плитка с картинкой курса слева,
   по центру заголовка; «Хит» — надстрочной меткой сразу после заголовка. */
.tcp-hero__head { display: flex; align-items: center; gap: 28px; }
/* 17.11.2026: картинка курса справа от заголовка */
.tcp-hero__titlebox { min-width: 0; flex: 1 1 auto; }
.tcp-hero__thumb { flex: 0 0 112px; margin: 0 0 0 auto; width: 112px; height: 112px; border-radius: 20px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px var(--tcp-line), 0 6px 16px rgba(3, 31, 66, .06); display: grid; place-items: center; padding: 10px; }
/* Вариант C: справа карточка записи — картинка остаётся слева от заголовка */
.tcp-hero--c .tcp-hero__thumb { order: -1; margin: 0; }
.tcp-hero__thumb img { display: block; width: 100%; height: 100%; object-fit: contain; }
.tcp-hero__thumb.is-ph, .tcp-rel__img.is-ph, .tcp-mini__img.is-ph { padding: 0; }
.tcp-hero__thumb.is-ph img, .tcp-rel__img.is-ph img, .tcp-mini__img.is-ph img { object-fit: cover; }
.tcp-hit--sup { position: relative; top: -1.05em; margin-left: 8px; font-size: 12px; line-height: 1; letter-spacing: 0; padding: 4px 9px; vertical-align: baseline; }
.tcp-title .tcp-tag--sale.tcp-hit--sup { font-weight: 600; }

/* Вендор и код курса — строкой под заголовком */
.tcp-ids { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 20px; }
/* факты курса в той же строке, что вендор и код */
.tcp-ids .tcp-keyf { margin: 0 0 0 12px; gap: 6px 26px; }
.tcp-ids__item { display: flex; align-items: center; gap: 12px; padding: 10px 16px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--tcp-line); }
.tcp-ids__item--vendor { background: var(--tcp-yellow-l); box-shadow: inset 0 0 0 1px var(--tcp-yellow-b); }
.tcp-ids__logo { flex: 0 0 auto; width: auto; height: 32px; max-width: 96px; object-fit: contain; display: block; }
.tcp-ids__item:has(.tcp-ids__ic) { padding-left: 10px; }
.tcp-ids__ic { flex: 0 0 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; background: var(--tcp-ink); color: var(--tcp-yellow); }
.tcp-ids__ic--code { background: var(--tcp-plate); color: var(--tcp-ink); font-weight: 700; font-size: 16px; }
.tcp-ids__txt { display: flex; flex-direction: column; line-height: 1.25; }
.tcp-ids__k { font-size: 12px; color: var(--tcp-text-2); }
.tcp-ids__txt b { font-size: 16px; font-weight: 700; color: var(--tcp-ink); letter-spacing: .01em; }
.tcp-ids__link { margin-left: 8px; padding-left: 14px; border-left: 1px solid var(--tcp-yellow-b); font-size: 13px; font-weight: 600; color: var(--tcp-blue); text-decoration: none; white-space: nowrap; }
.tcp-ids__link:hover { color: var(--tcp-blue-d); text-decoration: underline; }

.tcp-link--max.tcp-link--max { text-decoration: none; }

/* Разные виды цен — строкой на месте основной цены (07.11.2026) */
.tcp-prices { display: flex; flex-wrap: wrap; align-items: stretch; gap: 8px; margin-right: 8px; }
.tcp-prices__it.tcp-prices__it { display: inline-flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; min-height: 48px; padding: 6px 14px; border-radius: 10px; background: var(--tcp-plate); cursor: pointer; font-size: 12px; line-height: 1.25; color: var(--tcp-text-2); text-align: left; transition: background-color .15s, box-shadow .15s; }
.tcp-prices__it.tcp-prices__it:hover { background: var(--tcp-yellow-l); color: var(--tcp-text-2); }
.tcp-prices__it.tcp-prices__it.is-on { background: #fff; box-shadow: inset 0 0 0 2px var(--tcp-ink); }
.tcp-prices__it b { color: var(--tcp-ink); font-size: 17px; font-weight: 700; white-space: nowrap; }
.tcp-prices__it s { color: var(--tcp-muted); font-size: 12px; }

/* ---------- якорное меню ---------- */
.tcp-anchors { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--tcp-line); }
.admin-bar .tcp-anchors { top: 32px; }
.tcp-anchors .tcp-wrap { display: flex; align-items: center; gap: 16px; }
.tcp-anchors ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none; }
.tcp-anchors ul::-webkit-scrollbar { display: none; }
.tcp-anchors.tcp-anchors li { margin: 0 !important; padding: 0 !important; list-style: none; line-height: 20px; display: flex; }
.tcp-anchors.tcp-anchors li::before { display: none !important; }
.tcp-anchors.tcp-anchors a { display: block; margin: 0; line-height: 20px; padding: 16px 13px 14px; color: var(--tcp-text-2); font-weight: 500; font-size: 14px; white-space: nowrap; border-bottom: 2px solid transparent; text-decoration: none; }
.tcp-anchors a:hover { color: var(--tcp-ink); }
.tcp-anchors a.is-on { color: var(--tcp-ink); border-color: var(--tcp-yellow); }
.tcp-anchors__mini { margin-left: auto; display: flex; opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .2s, transform .2s, visibility 0s .2s; align-items: center; gap: 12px; font-size: 13px; color: var(--tcp-text-2); white-space: nowrap; }
.tcp-anchors.is-mini .tcp-anchors__mini { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .2s; }
.tcp-anchors__mini b { color: var(--tcp-ink); font-size: 15px; }

/* ---------- тело ---------- */
.tcp-body { padding: 44px 0 0; }
.tcp-body section { scroll-margin-top: 70px; }
.tcp-cols { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; }
.tcp-main > * + * { margin-top: 24px; }
.tcp-side { position: sticky; top: 76px; display: flex; flex-direction: column; gap: 20px; }
.tcp-panel { background: #fff; border-radius: var(--tcp-r); box-shadow: 0 0 0 1px var(--tcp-line); padding: 30px 32px; }
.tcp-side .tcp-panel { padding: 24px; }
.tcp-panel > h2 { margin-bottom: 20px; }
.tcp-aside { font-size: 14px; color: var(--tcp-text-2); }

/* Блоки Tutor внутри панелей: их заголовки заменены нашими h2 */
.tcp-panel .tutor-single-course-segment { margin: 0; padding: 0; border: 0; background: none; }
.tcp-panel .tutor-segment-title { display: none; }
.tcp-about .tutor-course-content-content p { max-width: 70ch; margin: 0 0 12px; }
.tcp-about .tutor-course-content-content > :last-child { margin-bottom: 0; }

/* Цели обучения (course-benefits.php): 2 колонки с жёлтыми галочками.
   07.11.2026: перебиваем сетку темы (у списка margin 0 -20px, у пунктов
   padding 0 20px и width 50%) — галочки вылезали за край блока. */
.tcp .tcp-goals .tutor-course-benefits-wrap { border: 0; padding: 0; margin: 0; border-radius: 0; }
.tcp .tcp-goals .tutor-course-benefits-items { display: block; columns: 2; column-gap: 40px; margin: 0; padding: 0; }
.tcp .tcp-goals .tutor-course-benefit-item { display: block; break-inside: avoid; width: auto !important; padding: 0; margin: 0 0 14px; }
.tcp .tcp-goals .benefit-content { display: block; position: relative; padding: 0 0 0 30px; }
.tcp .tcp-goals .benefit-text { font-weight: 400; line-height: 1.5; }
.tcp .tcp-goals .benefit-icon { position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border: 0; border-radius: 5px; font-size: 0; color: transparent; background: var(--tcp-yellow-l) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23031f42' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/11px no-repeat; box-shadow: inset 0 0 0 1px var(--tcp-yellow-b); }
.tcp .tcp-goals .benefit-icon::before { display: none; content: none; }
.tcp .tcp-goals.is-cut .tutor-course-benefit-item.is-extra { display: none; }
.tcp .tcp-goals [data-tcp-more] { margin-top: 6px; }

/* Для кого (course-target-audience.php): плашки 2×N */
.tcp-audience ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.tcp-audience li { background: var(--tcp-plate); border-radius: 12px; padding: 14px 16px; font-size: 14px; margin: 0; }
.tcp .tcp-audience li { padding: 14px 16px; }
.tcp .tcp-audience li::before { display: none; content: none; }

/* Что включено в обучение (course_material_includes) */
.tcp-mat.tcp-mat { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px 24px; }
.tcp-mat.tcp-mat li { position: relative; margin: 0; padding: 0 0 0 30px; line-height: 1.5; }
.tcp-mat.tcp-mat li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 6px; background: var(--tcp-green-l) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312a150' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat; font-family: inherit; }

/* Требования (course-requirements.php) — отдельной панелью с заголовком */
.tcp .tcp-requirements .tutor-course-requirements-wrap, .tcp .tcp-requirements .tutor-single-course-segment { border: 0; padding: 0; margin: 0; }
.tcp .tcp-requirements .course-requirements-title { display: none; }
.tcp .tcp-requirements ul { list-style: none; margin: 0; padding: 0; }
.tcp .tcp-requirements li { position: relative; margin: 0 0 10px; padding: 0 0 0 26px; line-height: 1.5; }
.tcp .tcp-requirements li:last-child { margin-bottom: 0; }
.tcp .tcp-requirements li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--tcp-blue); font-family: inherit; }

/* Схема обучения — лента шагов (07.11.2026, вариант 5) */
.tcp-path-sec { margin-top: 48px; }
.tcp-path-sec .tcp-h2row { margin-bottom: 20px; }
.tcp-track { list-style: none; margin: 0; padding: 24px; display: grid; gap: 28px; background: #fff; border-radius: var(--tcp-r); box-shadow: 0 0 0 1px var(--tcp-line); }
.tcp-track--3 { grid-template-columns: 1fr 1fr 1fr; }
.tcp-track--2 { grid-template-columns: 1fr 1fr; }
.tcp-track--1 { grid-template-columns: 1fr; }
.tcp-track.tcp-track li { margin: 0; padding: 0; list-style: none; }
.tcp-track.tcp-track li::before { display: none; }
.tcp-track__step { position: relative; min-width: 0; }
.tcp-track__head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
/* линия к следующему шагу: от кружка до конца колонки и через зазор */
.tcp-track__step:not(:last-child) .tcp-track__head::after { content: ""; flex: 1 1 auto; height: 2px; margin-right: -28px; background: repeating-linear-gradient(90deg, #c6d0de 0 6px, transparent 6px 11px); }
.tcp-track__dot { flex: 0 0 30px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 14px; background: var(--tcp-plate); color: var(--tcp-text-2); box-shadow: inset 0 0 0 1.5px var(--tcp-line); }
.tcp-track__step--me .tcp-track__dot { background: var(--tcp-yellow); color: var(--tcp-ink); box-shadow: 0 0 0 5px var(--tcp-yellow-l); }
.tcp-track__step--pre .tcp-track__dot { background: #fff; color: var(--tcp-ink); box-shadow: inset 0 0 0 1.5px var(--tcp-ink); }
.tcp-track__k { font-size: 13px; font-weight: 600; color: var(--tcp-text-2); white-space: nowrap; }
.tcp-track__step--me .tcp-track__k { color: var(--tcp-ink); }
.tcp-track__body { display: flex; flex-direction: column; gap: 8px; }
.tcp-track__note { font-size: 12px; color: var(--tcp-muted); padding-left: 4px; }
.tcp-mini { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: var(--tcp-page); text-decoration: none; color: var(--tcp-ink); transition: background-color .15s, box-shadow .15s; }
a.tcp-mini:hover { background: #fff; box-shadow: 0 0 0 1px var(--tcp-blue); color: var(--tcp-ink); }
a.tcp-mini:hover .tcp-mini__t { color: var(--tcp-blue); }
.tcp-mini__img { flex: 0 0 36px; width: 36px; height: 36px; border-radius: 9px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px var(--tcp-line); padding: 3px; display: grid; place-items: center; }
.tcp-mini__img img { display: block; width: 100%; height: 100%; object-fit: contain; }
.tcp-mini__t { font-size: 13px; font-weight: 400; line-height: 1.4; min-width: 0; }
.tcp-mini__txt { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.tcp-mini--me { background: var(--tcp-yellow-l); box-shadow: inset 0 0 0 2px var(--tcp-yellow); padding: 14px; }
.tcp-mini--me .tcp-mini__img { flex-basis: 44px; width: 44px; height: 44px; }
.tcp-mini--me .tcp-mini__t { font-size: 14px; font-weight: 600; }
.tcp-mini__here { align-self: flex-start; font-size: 11px; font-weight: 700; color: var(--tcp-ink); background: var(--tcp-yellow); padding: 2px 8px; border-radius: 20px; line-height: 1.4; }

/* Документы */
.tcp-docs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.tcp-docs li { display: flex; gap: 12px; align-items: center; font-size: 14px; color: var(--tcp-ink); font-weight: 500; line-height: 1.35; margin: 0; }
.tcp-docs__img { flex: 0 0 64px; width: 64px; height: 48px; border-radius: 6px; border: 1px solid var(--tcp-line); overflow: hidden; background: repeating-linear-gradient(45deg, #eef1f5 0 6px, #f7f8fa 6px 12px); display: block; }
.tcp-docs__img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Все даты */
.tcp-dl { list-style: none; margin: 0; padding: 0; }
.tcp-dl__yr { font-size: 12px; color: var(--tcp-muted); padding: 12px 0 2px; margin: 0; }
.tcp-dl__yr:first-child { padding-top: 0; }
.tcp-dl__it { display: grid; grid-template-columns: 1fr auto; gap: 0 10px; align-items: center; padding: 9px 0; border-top: 1px solid var(--tcp-line); margin: 0; }
.tcp-dl__yr + .tcp-dl__it { border-top: 0; }
.tcp-dl__pick.tcp-dl__pick { text-align: left; background: none; border: 0; padding: 0; font: inherit; cursor: pointer; display: flex; flex-direction: column; }
.tcp-dl__pick.tcp-dl__pick b { color: var(--tcp-ink); font-weight: 600; font-size: 14px; }
.tcp-dl__pick.tcp-dl__pick small { color: var(--tcp-text-2); font-size: 12px; }
.tcp-dl__pick.tcp-dl__pick:hover b { color: var(--tcp-blue); }
.tcp-dl__it.is-sel .tcp-dl__pick.tcp-dl__pick b { color: var(--tcp-blue); }
.tcp-dot { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--tcp-text-2); white-space: nowrap; }
.tcp-dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #e3b341; }
.tcp-dot--ok { color: #0b7a3b; }
.tcp-dot--ok::before { background: var(--tcp-green); }
.tcp-notify.tcp-notify { grid-column: 1 / -1; justify-self: start; display: none; align-items: center; gap: 5px; font-weight: 600; font-size: 12px; line-height: 1.3; font-family: inherit; color: var(--tcp-blue); background: none; border: 0; padding: 4px 0 0; cursor: pointer; }
.tcp-notify.tcp-notify:hover { color: var(--tcp-blue-d); text-decoration: underline; }
.tcp-dl__it:hover .tcp-notify.tcp-notify, .tcp-dl__it.is-sel .tcp-notify.tcp-notify, .tcp-notify.tcp-notify:focus-visible { display: inline-flex; }
@media (hover: none) { .tcp-notify.tcp-notify { display: inline-flex; } }
.tcp-foot { font-size: 13px; color: var(--tcp-text-2); margin: 14px 0 0; padding-top: 14px; border-top: 1px solid var(--tcp-line); line-height: 1.45; }
.tcp-foot p { margin: 0 0 8px; }
.tcp-foot p:last-child { margin: 0; }
.tcp-foot b { color: var(--tcp-ink); font-weight: 600; }
.tcp-btn--block.tcp-btn--block { width: 100%; margin-top: 18px; white-space: normal; text-align: center; height: auto; min-height: 48px; padding: 12px 16px; line-height: 1.25; }
.tcp-help { font-size: 14px; }
.tcp-help b { display: block; color: var(--tcp-ink); margin-bottom: 4px; }

/* Программа (course-topics.php — аккордеон Tutor) */
.tcp-program { margin-top: 48px; }
.tcp-h2row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.tcp-h2row .tcp-link.tcp-link { margin: 0; }
.tcp-h2row__r { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; }
.tcp-program .tutor-course-topics-header { display: none; }
.tcp-program .tutor-course-topics-wrap { margin: 0; padding: 0; border: 0; }
.tcp-program .tutor-course-topics-contents { background: #fff; border-radius: var(--tcp-r); box-shadow: 0 0 0 1px var(--tcp-line); overflow: hidden; }
.tcp-program .tutor-course-topic { border: 0; border-top: 1px solid var(--tcp-line); margin: 0; border-radius: 0; background: #fff; }
.tcp-program .tutor-course-topic:first-child { border-top: 0; }
.tcp-program .tutor-course-title { padding: 16px 20px; cursor: pointer; }
.tcp-program .tutor-course-title h4 { font-size: 15px; font-weight: 500; color: var(--tcp-ink); margin: 0; display: flex; align-items: center; gap: 12px; }
.tcp-program .tutor-course-title h4 .tutor-icon-plus { order: 3; margin-left: auto; color: var(--tcp-text-2); }
.tcp-program .tutor-course-lessons { padding: 0 20px 16px 20px; color: var(--tcp-text-2); font-size: 14px; }
.tcp-program .tutor-course-lesson { padding: 4px 0; border: 0; }
.tcp-pdf { display: flex; align-items: center; gap: 16px; margin-top: 16px; padding: 16px 18px; border-radius: var(--tcp-r); background: #fff; box-shadow: 0 0 0 1px var(--tcp-line); }
.tcp-pdf__ic { flex: 0 0 40px; height: 48px; border-radius: 6px; background: var(--tcp-plate); display: grid; place-items: center; font-size: 11px; font-weight: 700; color: #d0021b; }
.tcp-pdf p { margin: 0; font-size: 14px; color: var(--tcp-text-2); }
.tcp-pdf p b { display: block; color: var(--tcp-ink); font-size: 15px; }
.tcp-pdf .tcp-btn.tcp-btn { margin-left: auto; }
.tcp-extra { margin-top: 32px; }

/* «Рекомендуем также» (07.11.2026) */
.tcp-related { margin-top: 56px; }
.tcp-related > h2 { margin-bottom: 20px; }
.tcp-rel { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tcp-rel__card { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px; border-radius: var(--tcp-r); background: #fff; box-shadow: 0 0 0 1px var(--tcp-line), 0 2px 6px rgba(3, 31, 66, .04); color: var(--tcp-text); text-decoration: none; transition: background-color .15s, box-shadow .15s; }
.tcp-rel__card:hover { background: var(--tcp-yellow-l); box-shadow: 0 0 0 1px var(--tcp-yellow-b), 0 8px 20px rgba(3, 31, 66, .08); color: var(--tcp-text); }
.tcp-rel__top { display: flex; align-items: center; gap: 10px; }
.tcp-rel__top .tcp-hit { margin-left: auto; }
.tcp-rel__img { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 10px; background: #fff; box-shadow: 0 0 0 1px var(--tcp-line); padding: 4px; display: grid; place-items: center; }
.tcp-rel__img img { display: block; width: 100%; height: 100%; object-fit: contain; }
.tcp-rel__cat { font-size: 12px; color: var(--tcp-text-2); }
.tcp-rel__title { color: var(--tcp-ink); font-size: 15px; line-height: 1.4; font-weight: 400; }
.tcp-rel__m { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--tcp-line); font-size: 13px; color: var(--tcp-text-2); }
.tcp-rel__m strong { color: var(--tcp-ink); font-size: 15px; font-weight: 500; white-space: nowrap; }

/* Повтор записи */
.tcp-again { margin: 56px 0 0; background: var(--tcp-ink); border-radius: var(--tcp-r); padding: 28px 32px; display: grid; grid-template-columns: 1fr auto; gap: 20px 30px; align-items: center; color: #c9d3e1; }
.tcp-again h2 { color: #fff; font-size: 24px; }
.tcp-again p { margin: 6px 0 0; }
.tcp-again__row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.tcp-again select { height: 48px; border-radius: 10px; border: 0; padding: 0 14px; font: inherit; font-size: 14px; color: var(--tcp-ink); min-width: 260px; background: #fff; }
.tcp > .tcp-wrap:last-of-type { padding-bottom: 56px; }

/* Мобильная панель */
.tcp-mbar { display: none; }

/* ---------- модальные окна ---------- */
.tcp-modal { border: 0; padding: 26px; border-radius: 18px; width: min(440px, calc(100vw - 24px)); max-height: calc(100vh - 24px); overflow: auto; box-shadow: 0 30px 80px rgba(3, 31, 66, .25); background: #fff; }
.tcp-modal::backdrop { background: rgba(3, 31, 66, .45); }
.tcp-modal h2 { font-size: 22px; margin-bottom: 6px; padding-right: 30px; }
.tcp-modal__sub { font-size: 14px; color: var(--tcp-text-2); margin: 0 0 16px; }
.tcp-modal__x.tcp-modal__x:hover { background: var(--tcp-line); color: var(--tcp-ink); }
.tcp-modal__x.tcp-modal__x { position: absolute; top: 18px; right: 18px; width: 32px; height: 32px; border-radius: 50%; border: 0; background: var(--tcp-plate); color: var(--tcp-text-2); font-size: 18px; line-height: 1; cursor: pointer; }
.tcp-sum { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 12px 14px; border-radius: 12px; background: var(--tcp-plate); margin-bottom: 16px; font-size: 13px; color: var(--tcp-text-2); }
.tcp-sum[hidden] { display: none; }
.tcp-sum b { color: var(--tcp-ink); font-size: 14px; }
.tcp-sum__pr { grid-row: 1 / 3; grid-column: 2; align-self: center; font-weight: 700; color: var(--tcp-ink); font-size: 16px; white-space: nowrap; }
.tcp-sum a { grid-column: 1; font-size: 13px; color: var(--tcp-blue); }
/* поля CF7 внутри окна */
.tcp-modal .wpcf7-form p { margin: 0 0 10px; }
.tcp-modal .wpcf7-form label { display: block; font-size: 13px; font-weight: 500; color: var(--tcp-text); }
.tcp-modal .wpcf7-form input[type="text"], .tcp-modal .wpcf7-form input[type="tel"], .tcp-modal .wpcf7-form input[type="email"], .tcp-modal .wpcf7-form input[type="number"] { width: 100%; height: 46px; border-radius: 10px; border: 1px solid #cfd6e0; padding: 0 14px; font: inherit; font-size: 15px; color: var(--tcp-ink); margin-top: 4px; background: #fff; }
.tcp-modal .wpcf7-form textarea { width: 100%; min-height: 84px; border-radius: 10px; border: 1px solid #cfd6e0; padding: 10px 14px; font: inherit; font-size: 15px; color: var(--tcp-ink); margin-top: 4px; background: #fff; resize: vertical; }
.tcp-modal .wpcf7-form textarea:focus { outline: none; border-color: var(--tcp-blue); box-shadow: 0 0 0 3px rgba(0, 113, 220, .15); }
.tcp-modal .wpcf7-form [data-tcp-only] { margin: 0 0 10px; }
.tcp-modal .wpcf7-form input:focus { outline: none; border-color: var(--tcp-blue); box-shadow: 0 0 0 3px rgba(0, 113, 220, .15); }
.tcp-modal .wpcf7-acceptance { font-size: 12px; color: var(--tcp-text-2); line-height: 1.45; }
.tcp-modal .wpcf7-submit { width: 100%; height: 48px; border-radius: 10px; border: 0; background: var(--tcp-yellow); color: var(--tcp-ink); font-weight: 600; font-size: 15px; line-height: 1; font-family: inherit; cursor: pointer; }
.tcp-modal.is-company .wpcf7-submit, .tcp-modal.is-email .wpcf7-submit { background: var(--tcp-blue); color: #fff; }
.tcp-modal [data-tcp-only] { display: none; }
.tcp-modal.is-company [data-tcp-only~="company"], .tcp-modal.is-person [data-tcp-only~="person"], .tcp-modal.is-consult [data-tcp-only~="consult"],
.tcp-modal.is-notify [data-tcp-only~="notify"], .tcp-modal.is-pdf [data-tcp-only~="pdf"] { display: block; }
.tcp-done__ok { width: 48px; height: 48px; border-radius: 50%; background: var(--tcp-green-l); color: var(--tcp-green); display: grid; place-items: center; margin-bottom: 14px; }
.tcp-steps { list-style: none; margin: 16px 0; padding: 0; display: flex; flex-direction: column; gap: 12px; counter-reset: tcps; }
.tcp-steps li { position: relative; padding-left: 34px; font-size: 14px; }
.tcp-steps li::before { counter-increment: tcps; content: counter(tcps); position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--tcp-ink); color: #fff; font-size: 12px; display: grid; place-items: center; }
.tcp-row2 { display: flex; flex-wrap: wrap; gap: 8px; }
.tcp-row2 .tcp-btn.tcp-btn { flex: 1 1 170px; font-size: 14px; padding: 0 10px; }
.tcp-ups { padding: 14px; border-radius: 12px; background: var(--tcp-yellow-l); box-shadow: inset 0 0 0 1px var(--tcp-yellow-b); font-size: 13px; margin-top: 14px; }
.tcp-ups[hidden] { display: none; }
.tcp-modal__done .tcp-btn.tcp-btn[hidden] { display: none; }
.tcp-modal__done > .tcp-btn.tcp-btn { width: 100%; margin-top: 4px; }
.tcp-ups b { color: var(--tcp-ink); display: block; font-size: 14px; margin-bottom: 2px; }

/* Кнопка записи под «Все даты» — короткая подсветка после выбора даты */
@keyframes tcp-pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 194, 33, .7); } 100% { box-shadow: 0 0 0 12px rgba(255, 194, 33, 0); } }
.tcp-btn.tcp-btn.is-pulse { animation: tcp-pulse .9s ease-out 1; }
@media (prefers-reduced-motion: reduce) { .tcp-btn.tcp-btn.is-pulse { animation: none; } }

/* Загрузка PDF (как у кнопки плагина course-to-pdf) */
.tcp-pdf-wait { position: fixed; inset: 0; z-index: 100000; background: rgba(3, 31, 66, .45); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; color: #fff; font-size: 15px; }
.tcp-pdf-wait i { width: 44px; height: 44px; border-radius: 50%; border: 4px solid rgba(255, 255, 255, .35); border-top-color: var(--tcp-yellow); animation: tcp-spin .9s linear infinite; }
@keyframes tcp-spin { to { transform: rotate(360deg); } }

/* ---------- адаптив ---------- */
@media (max-width: 1000px) {
	/* 07.11.2026: порядок блоков в одну колонку — Программа сразу под Целями,
	   Схема обучения — под Программой. Колонки «распускаем» (display: contents),
	   чтобы блоки основной колонки, программа и схема стали соседями в одном
	   flex-потоке и их можно было переставить через order. Разметка та же. */
	.tcp-body > .tcp-wrap { display: flex; flex-direction: column; }
	.tcp-cols.tcp-cols, .tcp-main { display: contents; }
	.tcp-about { order: 1; }
	.tcp-goals { order: 2; }
	.tcp-program { order: 3; }
	.tcp-path-sec { order: 4; }
	.tcp-audience { order: 5; }
	.tcp-materials { order: 6; }
	.tcp-requirements { order: 7; }
	.tcp-side { order: 8; margin-top: 32px; }
	.tcp-extra { order: 9; }
	.tcp-related { order: 10; }
	.tcp-main > .tcp-goals, .tcp-main > .tcp-audience, .tcp-main > .tcp-materials, .tcp-main > .tcp-requirements { margin-top: 24px; }
	.tcp-program, .tcp-path-sec { margin-top: 40px; }
	/* меню разделов — в том же порядке, что и блоки */
	.tcp-anchors li:has(> a[href="#tcp-about"]) { order: 1; }
	.tcp-anchors li:has(> a[href="#tcp-goals"]) { order: 2; }
	.tcp-anchors li:has(> a[href="#tcp-program"]) { order: 3; }
	.tcp-anchors li:has(> a[href="#tcp-path"]) { order: 4; }
	.tcp-anchors li:has(> a[href="#tcp-docs"]) { order: 5; }
	.tcp-anchors li:has(> a[href="#tcp-dates"]) { order: 6; }
	.tcp-cols { grid-template-columns: 1fr; }
	.tcp-side { position: static; }
	.tcp-rel { grid-template-columns: 1fr 1fr; }
	.tcp-track--3, .tcp-track--2 { grid-template-columns: 1fr; gap: 0; }
	.tcp-track__step { padding: 0 0 22px 0 !important; }
	.tcp-track__step:last-child { padding-bottom: 0 !important; }
	.tcp-track__step:not(:last-child) .tcp-track__head::after { display: none; }
	/* вертикальная линия между кружками */
	.tcp-track__step:not(:last-child)::after { content: ""; position: absolute; left: 14px; top: 34px; bottom: 4px; width: 2px; background: repeating-linear-gradient(180deg, #c6d0de 0 6px, transparent 6px 11px); }
	.tcp-track__body { padding-left: 40px; }
}
@media (max-width: 767px) {
	.tcp-hero { padding-top: 24px; }
	.tcp-ids .tcp-keyf { margin: 4px 0 0; flex-basis: 100%; }
	.tcp-hit--sup { top: -.3em; font-size: 11px; padding: 3px 8px; }
	.tcp-hero__head { gap: 14px; }
	.tcp-hero__thumb { flex-basis: 64px; width: 64px; height: 64px; border-radius: 12px; padding: 6px; }
	.tcp-track { padding: 18px; }
	.tcp-prices { width: 100%; margin-right: 0; }
	.tcp-prices__it.tcp-prices__it { flex: 1 1 140px; }
	.tcp-ids__item { flex: 1 1 100%; }
	.tcp-ids__link { margin-left: auto; }
	.tcp-title { font-size: 24px; }
	.tcp-lead { font-size: 15px; }
	.tcp-cta .tcp-btn.tcp-btn, .tcp-price, .tcp-payer.tcp-payer { width: 100%; }
	.tcp-cta .tcp-btn--ghost.tcp-btn--ghost { flex: 1 1 0; width: auto; }
	.tcp-cta .tcp-btn--tg.tcp-btn--tg { flex: 0 0 48px; width: 48px; }
	.tcp .tcp-goals .tutor-course-benefits-items { columns: 1; }
	.tcp-rel { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: 15px; margin: 0 -15px; padding: 4px 15px 8px; scrollbar-width: none; }
	.tcp-rel__card { flex: 0 0 78%; scroll-snap-align: start; }
	.tcp-panel { padding: 22px 20px; }
	.tcp-audience ul { grid-template-columns: 1fr; }
	.tcp-pdf { flex-wrap: wrap; }
	.tcp-pdf .tcp-btn.tcp-btn { width: 100%; margin: 0; }
	.tcp-again { grid-template-columns: 1fr; padding: 22px; }
	.tcp-again select, .tcp-again .tcp-btn.tcp-btn { width: 100%; min-width: 0; }
	.tcp-mbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #fff; box-shadow: 0 -6px 20px rgba(3, 31, 66, .12); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); gap: 12px; align-items: center; }
	.tcp-mbar__p { font-weight: 700; color: var(--tcp-ink); font-size: 18px; line-height: 1.1; }
	.tcp-mbar__p small { display: block; font-size: 12px; color: var(--tcp-text-2); font-weight: 400; }
	.tcp-mbar .tcp-btn.tcp-btn { margin-left: auto; height: 44px; }
	body.single-courses { padding-bottom: 72px; }
}
@media (prefers-reduced-motion: reduce) {
	.tcp *, .tcp-modal * { transition: none !important; scroll-behavior: auto !important; }
}

/* 16.11.2026 (вариант A): «Для себя / От организации» — в окне заявки */
.tcp-modal .tcp-payer--modal.tcp-payer--modal { display: grid; width: 100%; margin: 4px 0 16px; }
.tcp-modal .tcp-payer--modal[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) { .tcp-anchors__mini { transition: none !important; } }
/* карточка без строки плашек — дата по центру по вертикали */
.tcp-run.tcp-run:not(.tcp-run--all) { justify-content: center; }


/* =====================================================================
   16.11.2026: блок записи — шапка A (одной строкой) и C (карточка справа)
   ===================================================================== */
.tcp-book__all.tcp-book__all { all: unset; box-sizing: border-box; cursor: pointer; font-size: 14px; line-height: 1.3; color: var(--tcp-text-2); }
.tcp-book__all b { color: var(--tcp-blue); font-weight: 600; }
.tcp-book__all:hover b { text-decoration: underline; }
.tcp-book__links { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.tcp-book__links .tcp-link.tcp-link { margin: 0; font-weight: 500; font-size: 14px; gap: 6px; align-items: center; white-space: nowrap; }
.tcp-book .tcp-price { margin: 0; line-height: 1.1; white-space: nowrap; }
.tcp-book .tcp-btn--yellow.tcp-btn--yellow { height: 52px; padding: 0 26px; font-size: 16px; }

/* --- A: [даты | цена | кнопка] --- */
.tcp-book--row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; margin-top: 26px; background: #fff; border-radius: var(--tcp-r); box-shadow: inset 0 0 0 1px var(--tcp-line); }
.tcp-book--row > * { display: flex; align-items: center; padding: 14px 20px; min-width: 0; }
.tcp-book--row > * + * { border-left: 1px solid var(--tcp-line); }
.tcp-book--row.no-dates { grid-template-columns: auto 1fr; }
.tcp-book--row.no-dates .tcp-book__act { justify-content: flex-end; }
.tcp-book--row .tcp-book__dates { gap: 12px; padding: 12px; }
.tcp-book--row .tcp-runs { display: flex; gap: 8px; flex: 1 1 auto; min-width: 0; }
.tcp-book--row .tcp-run.tcp-run { flex: 1 1 0; min-width: 0; padding: 10px 12px; border-radius: 10px; gap: 5px; justify-content: center; }
.tcp-book--row .tcp-run__day { font-size: 18px; }
.tcp-book--row .tcp-run__mon { font-size: 13px; }
.tcp-book--row .tcp-run__row .tcp-fmt, .tcp-book--row .tcp-run__row .tcp-st { font-size: 11px; padding: 2px 7px; }
.tcp-book--row .tcp-run .tcp-disc { top: -9px; right: -6px; font-size: 11px; padding: 1px 7px; }
.tcp-book--row .tcp-book__all { flex: 0 0 auto; padding: 0 6px; text-align: center; }
.tcp-book--row .tcp-book__all b, .tcp-book--row .tcp-book__all span { display: block; }
.tcp-book--row .tcp-book__all span { font-size: 12px; }
.tcp-book--row .tcp-book__price .tcp-price { font-size: 24px; }
.tcp-book--row .tcp-book__price .tcp-price small { display: block; margin: 4px 0 0; }
.tcp-book--row .tcp-book__act { gap: 18px; }
/* разные виды цен не помещаются в строку — даты сверху, цены и кнопка ниже */
.tcp-book--row.has-prices { grid-template-columns: minmax(0, 1fr) auto; }
.tcp-book--row.has-prices .tcp-book__dates { grid-column: 1 / -1; border-bottom: 1px solid var(--tcp-line); }
.tcp-book--row.has-prices .tcp-book__price { border-left: 0; }

/* --- C: две колонки --- */
.tcp-split { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 48px; align-items: start; }
.tcp-hero--c .tcp-lead { max-width: 680px; }
.tcp-lead__more { display: inline-block; margin-top: 6px; font-size: 14px; font-weight: 600; color: var(--tcp-blue); text-decoration: none; }
.tcp-lead__more:hover { text-decoration: underline; }
.tcp-learn { margin-top: 26px; }
.tcp .tcp-learn__h { font-size: 16px; font-weight: 600; margin: 0 0 12px; }
.tcp-learn ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px; }
.tcp-learn li { margin: 0 !important; position: relative; padding-left: 28px; font-size: 15px; line-height: 1.45; }
.tcp-learn li::before { content: ""; position: absolute; left: 0; top: 1px; width: 18px; height: 18px; border-radius: 5px; background: var(--tcp-yellow-l) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23031f42' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/11px no-repeat; box-shadow: inset 0 0 0 1px var(--tcp-yellow-b); }
.tcp-learn__all { display: inline-block; margin-top: 12px; font-size: 14px; font-weight: 600; color: var(--tcp-blue); text-decoration: none; }
.tcp-book--card { background: #fff; border-radius: 16px; box-shadow: 0 0 0 1px var(--tcp-line), 0 12px 32px rgba(3, 31, 66, .08); padding: 22px 22px 18px; }
.tcp .tcp-book__h { font-size: 16px; font-weight: 600; margin: 0 0 12px; }
.tcp-book--card .tcp-runs { display: flex; flex-direction: column; gap: 8px; }
.tcp-book--card .tcp-run.tcp-run { display: grid; grid-template-columns: 1fr auto; column-gap: 12px; row-gap: 6px; align-items: center; padding: 12px 14px; border-radius: 12px; width: 100%; }
.tcp-book--card .tcp-run__when { grid-column: 1; grid-row: 1; white-space: nowrap; }
.tcp-book--card .tcp-run__row { grid-column: 1; grid-row: 2; }
.tcp-book--card .tcp-run__day { font-size: 18px; }
.tcp-book--card .tcp-run::after { content: ""; grid-column: 2; grid-row: 1 / span 2; width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 2px #c6d0de; }
.tcp-book--card .tcp-run.is-on::after { box-shadow: inset 0 0 0 5px var(--tcp-ink); }
.tcp-book--card .tcp-run .tcp-disc { top: 12px; right: 46px; }
.tcp-book--card .tcp-book__all { display: block; margin: 10px 2px 0; }
.tcp-book__empty { margin: 0; font-size: 14px; color: var(--tcp-text-2); }
.tcp-book--card .tcp-book__price { margin: 18px 0 12px; padding-top: 16px; border-top: 1px solid var(--tcp-line); }
.tcp-book--card .tcp-price { font-size: 28px; }
.tcp-book--card .tcp-prices { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); gap: 6px; }
.tcp-book--card .tcp-prices__it.tcp-prices__it { min-width: 0; padding: 6px 10px; }
.tcp-book--card .tcp-prices__it span { white-space: normal; }
.tcp-book--card .tcp-book__payer.tcp-payer { display: grid; width: 100%; margin: 0 0 12px; }
.tcp-book--card .tcp-btn--yellow.tcp-btn--yellow { width: 100%; }
.tcp-book--card .tcp-book__links { flex-direction: row; justify-content: center; gap: 28px; margin-top: 12px; }

/* --- блок доверия после «О курсе» --- */
.tcp .tcp-trust.tcp-trust { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 20px 24px; }
.tcp .tcp-trust.tcp-trust li { display: flex; gap: 12px; align-items: flex-start; margin: 0; font-size: 13px; line-height: 1.4; color: var(--tcp-text-2); }
.tcp-trust b { display: block; color: var(--tcp-ink); font-size: 14px; font-weight: 600; }
.tcp-trust__ic { flex: 0 0 32px; height: 32px; border-radius: 9px; background: var(--tcp-yellow-l); box-shadow: inset 0 0 0 1px var(--tcp-yellow-b); display: grid; place-items: center; color: var(--tcp-ink); font-weight: 600; }
.tcp .tcp-trust__a.tcp-trust__a { all: unset; cursor: pointer; color: var(--tcp-blue); }
.tcp .tcp-trust__a.tcp-trust__a:hover { text-decoration: underline; }

@media (max-width: 1000px) {
	.tcp-split { grid-template-columns: 1fr; gap: 24px; }
	/* C на планшете/телефоне: описание → карточка записи → «Чему научитесь» */
	.tcp-split, .tcp-split__main { display: flex; flex-direction: column; gap: 0; align-items: stretch; }
	.tcp-split__main { display: contents; }
	.tcp-split__main > * { order: 1; }
	.tcp-split > .tcp-book { order: 2; margin-top: 22px; }
	.tcp-split__main > .tcp-learn { order: 3; }
	.tcp-book--row { grid-template-columns: minmax(0, 1fr) auto; }
	.tcp-book--row .tcp-book__dates { grid-column: 1 / -1; border-bottom: 1px solid var(--tcp-line); }
	.tcp-book--row .tcp-book__price { border-left: 0; }
	.tcp-anchors__mini { display: none; }
}
@media (max-width: 767px) {
	.tcp-book--row, .tcp-book--row.has-prices, .tcp-book--row.no-dates { grid-template-columns: 1fr; }
	.tcp-book--row > * + * { border-left: 0; border-top: 1px solid var(--tcp-line); }
	.tcp-book--row .tcp-book__dates { border-bottom: 0; flex-wrap: wrap; }
	.tcp-book--row .tcp-runs { flex: 1 1 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 10px 2px 2px; margin-top: -8px; }
	.tcp-book--row .tcp-run.tcp-run { flex: 0 0 44%; scroll-snap-align: start; }
	.tcp-book--row .tcp-book__all { padding: 2px 4px; text-align: left; }
	.tcp-book--row .tcp-book__all b, .tcp-book--row .tcp-book__all span { display: inline; }
	.tcp-book--row .tcp-book__act { flex-direction: column; align-items: stretch; gap: 12px; }
	.tcp-book .tcp-btn--yellow.tcp-btn--yellow { width: 100%; }
	.tcp-book--row .tcp-book__links { flex-direction: row; justify-content: center; gap: 24px; }
	.tcp-learn ul { grid-template-columns: 1fr; }
	.tcp .tcp-trust.tcp-trust { grid-template-columns: 1fr; }
	.tcp-book--card { padding: 18px 16px 16px; }
}
@media (max-width: 1000px) { .tcp-split__main > .tcp-lead__more { align-self: flex-start; } }

/* =====================================================================
   17.11.2026: меньше линий в шапке; формат и статус на карточках дат
   ===================================================================== */
/* шапка без нижней линии — её даёт якорное меню */
.tcp-hero { border-bottom: 0; }
/* вендор и код — заливкой, без рамок */
.tcp-ids__item { box-shadow: none; background: var(--tcp-plate); }
.tcp-ids__item--vendor { box-shadow: none; background: var(--tcp-yellow-l); }
.tcp-ids__ic.tcp-ids__ic--code { background: #fff; }

/* блок записи A: светлая подложка вместо рамки, без разделителей */
.tcp-book--row { background: var(--tcp-plate); box-shadow: none; padding: 8px; gap: 0 8px; }
.tcp-book--row > * + *,
.tcp-book--row.has-prices .tcp-book__dates { border: 0; }
.tcp-book--row > * { padding: 8px 14px; }
.tcp-book--row .tcp-book__dates { padding: 0; }
.tcp-book--row .tcp-run.tcp-run { box-shadow: 0 1px 2px rgba(3, 31, 66, .06); padding: 10px 12px 11px; justify-content: flex-start; }
.tcp-book--row .tcp-run.tcp-run:hover { box-shadow: 0 0 0 1px #b9c3d1; }
.tcp-book--row .tcp-run.tcp-run.is-on { box-shadow: 0 0 0 2px var(--tcp-ink), 0 6px 16px rgba(3, 31, 66, .08); }
.tcp-book--row.has-prices .tcp-book__dates { margin-bottom: 4px; }

/* формат — серым текстом, статус — точкой с подписью: без лишних плашек */
.tcp-book--row .tcp-run__row { flex-direction: column; align-items: flex-start; gap: 3px; }
.tcp-book--row .tcp-run__row .tcp-fmt.tcp-fmt,
.tcp-book--row .tcp-run__row .tcp-st.tcp-st { background: none; box-shadow: none; padding: 0; font-size: 12px; line-height: 1.3; border-radius: 0; white-space: normal; }
.tcp-book--row .tcp-run__row .tcp-fmt { color: var(--tcp-text-2); }
.tcp-book--row .tcp-run__row .tcp-st { gap: 6px; font-weight: 500; }
.tcp-book--row .tcp-run__row .tcp-st::before { content: ""; width: 7px; height: 7px; border-radius: 50%; flex: 0 0 7px; background: currentColor; }
.tcp-book--row .tcp-run__row .tcp-st--wait { color: #9a6700; }
.tcp-book--row .tcp-run__row .tcp-st--ok { color: #0b7a3b; }
/* статус «Идёт набор» в остальных местах — без рамки */
.tcp-st--wait { box-shadow: none; }

@media (max-width: 1000px) {
	.tcp-book--row .tcp-book__dates { border: 0; margin-bottom: 4px; }
}
@media (max-width: 767px) {
	.tcp-book--row > * + * { border-top: 0; }
	.tcp-book--row .tcp-runs { padding: 10px 2px 4px; }
}
/* статус и формат — в одну строку, без переносов */
.tcp-book--row .tcp-run.tcp-run { padding-left: 11px; padding-right: 10px; }
.tcp-book--row .tcp-run__row .tcp-fmt.tcp-fmt,
.tcp-book--row .tcp-run__row .tcp-st.tcp-st { white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.tcp-book--row .tcp-book__act { gap: 16px; }
/* цены по формату на серой подложке — белые плашки, как карточки дат */
.tcp-book--row .tcp-prices__it.tcp-prices__it { background: #fff; box-shadow: 0 1px 2px rgba(3, 31, 66, .06); }
.tcp-book--row .tcp-prices__it.tcp-prices__it.is-on { box-shadow: 0 0 0 2px var(--tcp-ink); }
/* карточка даты не уже, чем нужно для «Старт подтверждён» */
.tcp-book--row .tcp-run.tcp-run { min-width: 156px; }
.tcp-book--row .tcp-book .tcp-btn--yellow.tcp-btn--yellow, .tcp-book--row .tcp-btn--yellow.tcp-btn--yellow { padding: 0 22px; }
@media (max-width: 767px) {
	.tcp-book--row .tcp-run.tcp-run { flex: 0 0 162px; }
}
/* «Задать вопрос» — под кнопкой, чтобы даты, цена и кнопка уместились в строку */
.tcp-book--row .tcp-book__act { flex-direction: column; justify-content: center; align-items: stretch; gap: 6px; }
.tcp-book--row .tcp-book__links { flex-direction: row; justify-content: center; gap: 20px; }
.tcp-book--row .tcp-book__links .tcp-link.tcp-link { font-size: 13px; }
/* на узких экранах даты — отдельной строкой сверху */
@media (max-width: 1220px) {
	.tcp-book--row { grid-template-columns: minmax(0, 1fr) auto; }
	.tcp-book--row .tcp-book__dates { grid-column: 1 / -1; margin-bottom: 4px; }
	.tcp-book--row .tcp-book__act { flex-direction: row; align-items: center; gap: 18px; }
}
@media (max-width: 767px) {
	.tcp-book--row, .tcp-book--row.has-prices, .tcp-book--row.no-dates { grid-template-columns: 1fr; }
	.tcp-book--row .tcp-book__act { flex-direction: column; align-items: stretch; gap: 12px; }
}
/* факты курса при переносе — без отступа слева */
.tcp-ids .tcp-keyf { margin-left: 4px; }

/* =====================================================================
   17.11.2026 (2): правки UX
   ===================================================================== */
/* «Все даты» справа: длинный список свёрнут */
.tcp-dl.is-cut .tcp-dl__more { display: none; }
.tcp-link.tcp-dl__toggle { margin: 4px 0 6px; }
/* «Целевая аудитория»: тема добавляла отступ li + li — карточки сползали */
.tcp .tcp-audience ul > li { margin: 0; }
.tcp .tcp-audience ul { align-items: stretch; }
.tcp .tcp-audience li { display: flex; align-items: center; }
@media (max-width: 1000px) {
	/* блок доверия — после «О курсе», как на десктопе */
	.tcp-main > .tcp-trust { order: 1; margin-top: 24px; }
}
@media (max-width: 767px) {
	/* вендор и код курса — в одну строку */
	.tcp-ids { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 8px; align-items: stretch; }
	.tcp-ids .tcp-keyf { grid-column: 1 / -1; }
	.tcp-ids__item { padding: 10px 12px; gap: 10px; min-width: 0; }
	.tcp-ids__item--vendor { flex-wrap: wrap; row-gap: 2px; }
	.tcp-ids__item--vendor .tcp-ids__link { padding: 0; border: 0; margin: 0; flex-basis: 100%; font-size: 12px; }
	.tcp-ids__ic.tcp-ids__ic--code { display: none; }
	.tcp-ids:has(> .tcp-ids__item:only-of-type) { grid-template-columns: 1fr; }
}

/* =====================================================================
   17.11.2026 (3): «Записаться» в карточках, подсказки «?», свёртка на телефоне
   ===================================================================== */
/* «Рекомендуем также»: вся карточка — ссылка на курс (через заголовок), кнопка — поверх */
.tcp-rel__card { position: relative; }
.tcp-rel__card:has(.tcp-rel__go:hover) { background: #fff; box-shadow: 0 0 0 1px var(--tcp-line), 0 2px 6px rgba(3, 31, 66, .04); }
.tcp .tcp-rel__title { color: var(--tcp-ink); text-decoration: none; }
.tcp .tcp-rel__title::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.tcp .tcp-rel__title:focus-visible { outline: none; }
.tcp .tcp-rel__title:focus-visible::after { box-shadow: 0 0 0 2px var(--tcp-blue); }
.tcp-rel__go.tcp-rel__go { position: relative; z-index: 1; width: 100%; margin-top: 2px; }
.tcp-rel__card:hover .tcp-rel__go.tcp-rel__go { box-shadow: inset 0 0 0 1.5px var(--tcp-yellow-b); }
.tcp-rel__card .tcp-rel__go.tcp-rel__go:hover { background: var(--tcp-yellow); box-shadow: none; }

/* подсказка «?» */
.tcp-tip { position: relative; display: inline-flex; vertical-align: middle; }
.tcp .tcp-tip__btn.tcp-tip__btn { width: 18px; height: 18px; min-width: 0; padding: 0; margin: 0; border: 0; border-radius: 50%; background: var(--tcp-plate); color: var(--tcp-text-2); font: 600 11px/18px inherit; font-family: inherit; text-align: center; cursor: help; box-shadow: none; }
.tcp .tcp-tip__btn.tcp-tip__btn:hover, .tcp-tip.is-open .tcp-tip__btn.tcp-tip__btn { background: var(--tcp-ink); color: #fff; }
.tcp-tip__box { position: absolute; z-index: 30; top: calc(100% + 8px); left: -10px; width: 280px; padding: 12px 14px; border-radius: 10px; background: var(--tcp-ink); color: #fff; font-size: 13px; font-weight: 400; line-height: 1.45; letter-spacing: 0; text-align: left; box-shadow: 0 12px 28px rgba(3, 31, 66, .22); opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .15s, transform .15s, visibility .15s; }
.tcp-tip__box b { color: #fff; font-weight: 600; }
.tcp-tip:hover .tcp-tip__box, .tcp-tip:focus-within .tcp-tip__box, .tcp-tip.is-open .tcp-tip__box { opacity: 1; visibility: visible; transform: none; }
@media (hover: none) { .tcp-tip:hover:not(.is-open) .tcp-tip__box, .tcp-tip:focus-within:not(.is-open) .tcp-tip__box { opacity: 0; visibility: hidden; } }
@media (prefers-reduced-motion: reduce) { .tcp-tip__box { transition: none; } }
.tcp .tcp-h-tip { display: flex; align-items: center; gap: 8px; }
/* абзаца пояснений больше нет — отступ кнопки под списком */
#tcp-dates .tcp-btn--block.tcp-btn--block { margin-top: 16px; }

/* свёртка блоков (кнопка-заголовок; на десктопе выглядит как обычный заголовок) */
.tcp .tcp-fold__btn.tcp-fold__btn { all: unset; box-sizing: border-box; display: block; width: 100%; font: inherit; color: inherit; cursor: default; }
@media (max-width: 767px) {
	.tcp .tcp-fold__btn.tcp-fold__btn { cursor: pointer; position: relative; padding-right: 36px; }
	.tcp .tcp-fold__btn.tcp-fold__btn::after { content: ""; position: absolute; right: 0; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%; background: var(--tcp-plate) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23031f42' stroke-width='2.4' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") center/14px no-repeat; transition: transform .2s; }
	.tcp .tcp-fold.is-open .tcp-fold__btn.tcp-fold__btn::after { transform: rotate(180deg); }
	.tcp .tcp-fold:not(.is-open) > h2 { margin-bottom: 0; }
	.tcp .tcp-fold .tcp-fold__btn:focus-visible { outline: 2px solid var(--tcp-blue); outline-offset: 4px; border-radius: 4px; }
	.tcp-main > .tcp-fold.tcp-panel { padding-top: 18px; padding-bottom: 18px; }
	.tcp-main > .tcp-fold.tcp-panel h2 { font-size: 20px; }
	.tcp-main > .tcp-fold + .tcp-fold { margin-top: 10px; }
}
@media (max-width: 767px) {
	.tcp-tip__box { width: min(290px, calc(100vw - 40px)); }
}

/* =====================================================================
   17.11.2026 (4)
   ===================================================================== */
/* крестик окна — ровно по центру круга */
.tcp-modal__x.tcp-modal__x { display: grid; place-items: center; padding: 0; margin: 0; min-width: 0; min-height: 0; font-size: 0; line-height: 0; }
.tcp-modal__x.tcp-modal__x svg { display: block; }

/* выбранная дата — тонкая тёмная обводка */
.tcp-book--row .tcp-run.tcp-run.is-on { box-shadow: 0 0 0 1px #000, 0 6px 16px rgba(3, 31, 66, .08); }

/* картинка курса — горизонтальная плитка */
.tcp-hero__thumb { flex: 0 0 176px; width: 176px; height: 110px; border-radius: 16px; padding: 12px 16px; }
@media (max-width: 767px) {
	.tcp-hero__thumb { flex-basis: 96px; width: 96px; height: 60px; border-radius: 12px; padding: 6px 8px; }
}

/* форматы обучения и статусы — под кнопкой в «Все даты» */
.tcp-formats { margin-top: 16px; padding: 14px 16px; border-radius: 12px; background: var(--tcp-plate); font-size: 13px; line-height: 1.45; color: var(--tcp-text-2); }
.tcp .tcp-formats__h { margin: 0 0 8px; font-size: 13px; font-weight: 600; color: var(--tcp-ink); }
.tcp-formats dl { margin: 0 0 10px; }
.tcp-formats dt { font-weight: 600; color: var(--tcp-ink); margin: 0; }
.tcp-formats dd { margin: 0 0 8px; }
.tcp-formats dd:last-child { margin-bottom: 0; }
.tcp .tcp-formats__st { margin: 0; padding-top: 10px; border-top: 1px solid var(--tcp-line); }
.tcp-formats__st .tcp-dot { font-weight: 500; }
.tcp-formats__st .tcp-dot { display: inline-flex; font-size: 13px; }
.tcp-book--row .tcp-prices__it.tcp-prices__it.is-on { box-shadow: 0 0 0 1px #000; }
/* 18.11.2026: если «О курсе» нет, первым в колонке идёт другой блок — без верхнего отступа */
.tcp-main > :first-child { margin-top: 0; }

/* =====================================================================
   19.11.2026: вендор и код без жирного, «Статус партнёра» — второй строкой;
   «Цена по запросу»
   ===================================================================== */
.tcp-ids__txt b { font-weight: 500; letter-spacing: 0; }
.tcp-ids__item--vendor { align-items: center; }
.tcp-ids__txt .tcp-ids__link.tcp-ids__link { margin: 2px 0 0; padding: 0; border: 0; font-size: 12px; font-weight: 400; line-height: 1.3; }
.tcp-ids__logo { height: 34px; max-width: 110px; }
@media (max-width: 767px) {
	.tcp-ids__item--vendor .tcp-ids__link { flex-basis: auto; }
}

/* нет цены — подпись обычным весом, как текст, а не как сумма */
.tcp-price.tcp-price--req,
.tcp-book--row .tcp-book__price .tcp-price.tcp-price--req { font-size: 17px; font-weight: 500; line-height: 1.25; white-space: normal; max-width: 130px; }
.tcp-rel__m strong.is-req { font-size: 13px; color: var(--tcp-text-2); font-weight: 400; }
.tcp-sum__pr.is-req { font-size: 14px; font-weight: 500; white-space: normal; text-align: right; max-width: 110px; line-height: 1.3; }
@media (max-width: 767px) {
	.tcp-price.tcp-price--req, .tcp-book--row .tcp-book__price .tcp-price.tcp-price--req { max-width: none; white-space: nowrap; }
}

/* 19.11.2026: логотип вендора — в рамке 104×44, картинка вписывается целиком
   (файлы в vendors/ могут быть любого размера; тема ставит img { height: auto }) */
.tcp .tcp-ids__logo-box { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; width: 104px; height: 44px; overflow: hidden; }
.tcp .tcp-ids__logo-box img.tcp-ids__logo { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; margin: 0; object-fit: contain; }
.tcp .tcp-ids__item--vendor { flex-wrap: nowrap; }
.tcp .tcp-ids__item--vendor .tcp-ids__txt { min-width: 0; }
.tcp .tcp-ids__item--vendor .tcp-ids__txt b { white-space: nowrap; }
@media (max-width: 767px) {
	.tcp .tcp-ids__logo-box { width: 64px; height: 34px; }
	.tcp .tcp-ids__item--vendor .tcp-ids__txt b { white-space: normal; }
}

/* 19.11.2026: «Хит» переносится вместе с последним словом заголовка */
.tcp-title__tail { white-space: nowrap; }

/* 19.11.2026 (2): «О курсе» — как «Цели обучения»: тот же размер и мягкий цвет
   (оба блока задаём явно, чтобы тема не делала их разными) */
.tcp { --tcp-body: #3d4859; }
.tcp .tcp-about :is(p, li, td, dd),
.tcp .tcp-goals :is(.benefit-text, .tutor-course-benefit-item, li) { font-size: 15px; line-height: 1.6; font-weight: 400; color: var(--tcp-body); }
.tcp .tcp-about :is(p, li) :is(span:not([class]), strong, b) { color: inherit; }
.tcp .tcp-about :is(strong, b) { font-weight: 600; }

/* 19.11.2026: разные цены — плашки растянуты на всю строку до кнопки (без пустоты по центру):
   название слева, цена справа */
.tcp-book--row.has-prices .tcp-book__price { min-width: 0; }
.tcp-book--row.has-prices .tcp-prices { width: 100%; margin: 0; flex-wrap: nowrap; }
.tcp-book--row.has-prices .tcp-prices__it.tcp-prices__it { flex: 1 1 0; min-width: 0; flex-direction: row; align-items: center; justify-content: space-between; gap: 6px 12px; min-height: 52px; padding: 8px 16px; font-size: 13px; }
.tcp-book--row.has-prices .tcp-prices__it span { min-width: 0; white-space: normal; line-height: 1.25; }
.tcp-book--row.has-prices .tcp-prices__it s { margin-left: auto; }
@media (max-width: 1000px) {
	.tcp-book--row.has-prices .tcp-prices { flex-wrap: wrap; }
	.tcp-book--row.has-prices .tcp-prices__it.tcp-prices__it { flex: 1 1 200px; }
}
.tcp-book--row.has-prices .tcp-prices__it s { white-space: nowrap; }

/* 19.11.2026: программа обучения — мягче: обычный вес у занятий, без серых полос,
   при наведении на модуль — как у карточек «Рекомендуем также» (светло-жёлтый фон) */
.tcp .tcp-program .tutor-course-title { transition: background-color .15s; }
.tcp .tcp-program .tutor-course-title:hover,
.tcp .tcp-program .tutor-course-title:focus-within { background: var(--tcp-yellow-l); }
.tcp .tcp-program .tutor-course-title:hover h4,
.tcp .tcp-program .tutor-course-title:hover h4 * { color: var(--tcp-ink); }
.tcp .tcp-program .tutor-course-title h4 { font-weight: 500; }
.tcp .tcp-program .tutor-course-lesson,
.tcp .tcp-program .tutor-course-lesson:nth-child(odd),
.tcp .tcp-program .tutor-course-lesson:nth-child(even) { background: transparent; border-radius: 0; }
.tcp .tcp-program .tutor-course-lesson,
.tcp .tcp-program .tutor-course-lesson :is(h5, h6, a, span, .lesson-title) { font-size: 14px; font-weight: 400; color: var(--tcp-text-2); }
.tcp .tcp-program .tutor-course-lesson a:hover { color: var(--tcp-ink); }
.tcp .tcp-program .tutor-course-lessons { padding-top: 2px; }
.tcp .tcp-program .tutor-course-lesson > *, .tcp .tcp-program .tutor-course-lesson h5 { background: transparent; }

/* =====================================================================
   19.11.2026: визуальные доработки (иконки, метки разделов, документы,
   «Не уверены…», нижний блок записи)
   ===================================================================== */
/* 1. Полоса доверия: линейные иконки вместо букв */
.tcp .tcp-trust__ic:is(.tcp-trust__ic--license, .tcp-trust__ic--vendor, .tcp-trust__ic--legal) { font-size: 0; color: transparent; background-color: var(--tcp-yellow-l); background-position: center; background-repeat: no-repeat; background-size: 18px; }
.tcp .tcp-trust__ic--license { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23031f42' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 4.5 6v6c0 4.5 3.2 7.7 7.5 9 4.3-1.3 7.5-4.5 7.5-9V6z'/%3E%3Cpath d='m8.8 12 2.3 2.3 4.2-4.3'/%3E%3C/svg%3E"); }
.tcp .tcp-trust__ic--vendor { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23031f42' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='9' r='6'/%3E%3Cpath d='m8.5 14 -1.5 7 5-2.5 5 2.5-1.5-7'/%3E%3C/svg%3E"); }
.tcp .tcp-trust__ic--legal { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23031f42' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3h9l4 4v14H6z'/%3E%3Cpath d='M15 3v4h4M9 12h7M9 16h5'/%3E%3C/svg%3E"); }

/* 2. Факты курса под заголовком — с маленькими иконками */
.tcp .tcp-keyf > .tcp-keyf__it { display: inline-block; }
.tcp .tcp-keyf > .tcp-keyf__it::before { content: ""; display: inline-block; vertical-align: -3px; margin-right: 7px; width: 16px; height: 16px; background: center/16px no-repeat; opacity: .75; }
.tcp .tcp-keyf > .tcp-keyf__it--dur::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235d6b80' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='13' r='7.5'/%3E%3Cpath d='M12 9.5V13l2.5 1.5M9.5 3h5'/%3E%3C/svg%3E"); }
.tcp .tcp-keyf > .tcp-keyf__it--fmt::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235d6b80' stroke-width='2' stroke-linecap='round'%3E%3Crect x='3' y='4' width='18' height='12' rx='2'/%3E%3Cpath d='M8.5 20h7M12 16v4'/%3E%3C/svg%3E"); }
.tcp .tcp-keyf > .tcp-keyf__it--doc::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235d6b80' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3h9l4 4v14H6z'/%3E%3Cpath d='M15 3v4h4'/%3E%3C/svg%3E"); }

/* 3. Заголовки разделов — короткая жёлтая метка слева: ритм страницы */
.tcp .tcp-main > .tcp-panel > h2,
.tcp .tcp-h2row > h2 { position: relative; padding-left: 16px; }
.tcp .tcp-main > .tcp-panel > h2::before,
.tcp .tcp-h2row > h2::before { content: ""; position: absolute; left: 0; top: .18em; bottom: .18em; width: 4px; border-radius: 2px; background: var(--tcp-yellow); }

/* 4. Документы справа — как листы бумаги: крупнее, с тенью */
.tcp .tcp-docs__img { width: 76px; height: 56px; flex: 0 0 76px; border-radius: 6px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px var(--tcp-line), 0 4px 10px rgba(3, 31, 66, .08); transform: rotate(-2deg); transition: transform .2s; }
.tcp .tcp-docs li:nth-child(2) .tcp-docs__img { transform: rotate(1.5deg); }
.tcp .tcp-docs__img:hover { transform: none; }
.tcp .tcp-docs__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tcp .tcp-docs li { gap: 14px; padding: 6px 0; }

/* 5. «Не уверены…» — иконка вопроса и мягкая подложка */
.tcp .tcp-help { position: relative; padding-left: 64px; background: var(--tcp-blue-l, #e8f2fd); box-shadow: none; }
.tcp .tcp-help::before { content: "?"; position: absolute; left: 20px; top: 22px; width: 30px; height: 30px; border-radius: 50%; background: #fff; color: var(--tcp-blue); font-weight: 700; font-size: 16px; display: grid; place-items: center; box-shadow: 0 2px 6px rgba(3, 31, 66, .08); }

/* 6. Нижний блок записи — мягкий декоративный круг, как акцент */
.tcp .tcp-again { position: relative; overflow: hidden; }
.tcp .tcp-again::after { content: ""; position: absolute; right: -60px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 194, 33, .22), rgba(255, 194, 33, 0) 70%); pointer-events: none; }
.tcp .tcp-again > * { position: relative; z-index: 1; }

/* «Показать ещё N дат»: после раскрытия списка кнопка скрыта (тема задаёт кнопкам display) */
.tcp [data-tcp-dl-more][hidden] { display: none !important; }

/* =====================================================================
   19.11.2026: фоновая графика «Мягкие пятна» — размытое жёлтое и голубое
   свечение в шапке, светло-голубая полоса под «Схемой обучения»,
   жёлтое пятно у «Рекомендуем также». Чисто декоративно, без картинок.
   ===================================================================== */
.tcp .tcp-hero { position: relative; overflow: hidden; isolation: isolate; }
/* 19.11.2026 (2): пятна гаснут внутри шапки — без резкого обреза снизу */
.tcp .tcp-hero::before { content: ""; position: absolute; z-index: -1; right: 0; top: 0; width: 60%; height: 100%; pointer-events: none; background: radial-gradient(ellipse 46% 44% at 86% 46%, rgba(255, 194, 33, .26), rgba(255, 194, 33, .08) 48%, rgba(255, 194, 33, 0) 74%); }
.tcp .tcp-hero::after { content: ""; position: absolute; z-index: -1; left: 0; top: 0; width: 50%; height: 100%; pointer-events: none; background: radial-gradient(ellipse 42% 48% at 6% 58%, rgba(0, 113, 220, .11), rgba(0, 113, 220, 0) 72%); }
.tcp .tcp-path-sec, .tcp .tcp-program { position: relative; }
.tcp .tcp-path-sec::before { content: ""; position: absolute; z-index: 0; left: 50%; transform: translateX(-50%); width: 100vw; top: -32px; height: calc(100% + 64px); background: linear-gradient(180deg, rgba(232, 242, 253, 0), rgba(232, 242, 253, .7) 18%, rgba(232, 242, 253, .7) 82%, rgba(232, 242, 253, 0)); pointer-events: none; }
.tcp .tcp-path-sec > * { position: relative; z-index: 1; }
.tcp .tcp-related { position: relative; }
.tcp .tcp-related::before { content: ""; position: absolute; z-index: 0; right: -140px; top: -60px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 194, 33, .16), rgba(255, 194, 33, 0) 65%); pointer-events: none; }
.tcp .tcp-related > * { position: relative; z-index: 1; }
/* фоновые элементы шире колонки — обрезаем по краю окна (clip не ломает «липкое» меню) */
.tcp.page-content, .tcp { overflow-x: clip; }
@media (max-width: 767px) {
	.tcp .tcp-hero::before { width: 100%; background: radial-gradient(ellipse 70% 40% at 100% 12%, rgba(255, 194, 33, .22), rgba(255, 194, 33, 0) 72%); }
	.tcp .tcp-hero::after { width: 100%; background: radial-gradient(ellipse 70% 30% at 0% 70%, rgba(0, 113, 220, .09), rgba(0, 113, 220, 0) 72%); }
	.tcp .tcp-related::before { display: none; }
}
@media (prefers-reduced-transparency: reduce) {
	.tcp .tcp-hero::before, .tcp .tcp-hero::after, .tcp .tcp-path-sec::before, .tcp .tcp-related::before { display: none; }
}

/* 19.11.2026 (2): точечная сетка (из варианта «Геометрия») — в левом верхнем углу шапки,
   в углу «Схемы обучения» и в нижнем тёмном блоке; растворяется по диагонали */
.tcp .tcp-hero > .tcp-wrap { position: relative; }
.tcp .tcp-hero > .tcp-wrap::before { content: ""; position: absolute; z-index: -1; left: calc(50% - 50vw); top: -50px; width: 320px; height: 260px; pointer-events: none;
	background-image: radial-gradient(rgba(3, 31, 66, .16) 1.5px, transparent 1.7px); background-size: 18px 18px;
	-webkit-mask-image: linear-gradient(135deg, #000 10%, transparent 72%); mask-image: linear-gradient(135deg, #000 10%, transparent 72%); }
.tcp .tcp-path-sec::after { content: ""; position: absolute; z-index: 0; right: -36px; top: -36px; width: 220px; height: 150px; pointer-events: none;
	background-image: radial-gradient(rgba(0, 113, 220, .24) 1.5px, transparent 1.7px); background-size: 16px 16px;
	-webkit-mask-image: linear-gradient(225deg, #000 10%, transparent 70%); mask-image: linear-gradient(225deg, #000 10%, transparent 70%); }
.tcp .tcp-again::before { content: ""; position: absolute; left: 0; bottom: 0; width: 260px; height: 130px; pointer-events: none;
	background-image: radial-gradient(rgba(255, 255, 255, .16) 1.5px, transparent 1.7px); background-size: 16px 16px;
	-webkit-mask-image: linear-gradient(45deg, #000 10%, transparent 75%); mask-image: linear-gradient(45deg, #000 10%, transparent 75%); }
@media (max-width: 767px) {
	.tcp .tcp-hero > .tcp-wrap::before { left: -20px; top: -24px; width: 200px; height: 160px; }
	.tcp .tcp-path-sec::after { right: -16px; width: 140px; height: 110px; }
}
@media (prefers-reduced-transparency: reduce) {
	.tcp .tcp-hero > .tcp-wrap::before, .tcp .tcp-path-sec::after, .tcp .tcp-again::before { display: none; }
}

/* 19.11.2026: выключатели фоновой графики (TRITEC_CP_DECOR / TRITEC_CP_DECOR_DOTS в course-page.php) */
.tcp.tcp--no-decor .tcp-hero::before, .tcp.tcp--no-decor .tcp-hero::after,
.tcp.tcp--no-decor .tcp-path-sec::before, .tcp.tcp--no-decor .tcp-related::before,
.tcp.tcp--no-decor .tcp-again::after { display: none; }
.tcp.tcp--no-dots .tcp-hero > .tcp-wrap::before,
.tcp.tcp--no-dots .tcp-path-sec::after,
.tcp.tcp--no-dots .tcp-again::before { display: none; }
