/* Школа Таро · шлифовка вёрстки (plg_system_tcschoolpolish 1.0.0, 10.11.2026)
   Только поверх tc4.css. Ядро, шаблон и чужие расширения не правятся. */

/* 992–1199 px: template.css даёт .container поля 20px!important при width:100% —
   шапка уезжала вправо на 20px (почта и соцсети обрезались). */
@media (min-width: 992px) and (max-width: 1199.98px) {
	body.site .container { margin-left: auto !important; margin-right: auto !important; max-width: 100% !important; }
	body.site #sp-header .sp-megamenu-parent > li > a,
	body.site #sp-header .sp-megamenu-parent > li > span { padding-left: 9px !important; padding-right: 9px !important; letter-spacing: .05em !important; }
	body.site #sp-logo-right .sp-column > .sp-module { margin-left: 12px; }
}

/* Телефон и планшет (< 992 px): шапка в три аккуратных ряда —
   логотип; телефон и почта; соцсети с поиском. Без лишних полос. */
@media (max-width: 991.98px) {
	body.site #sp-logo-wrap { padding-bottom: 6px !important; }
	body.site #sp-logo-right .sp-column { padding-top: 8px !important; gap: 8px 12px; align-items: center; justify-content: flex-start !important; }
	/* пункты списка контактов становятся соседями соцсетей: почта и иконки в одном ряду */
	body.site #sp-logo-right .sp-contact-info { display: contents; }
	body.site #sp-logo-right .sp-contact-info li { margin: 0 !important; font-size: 14px !important; line-height: 1.3; }
	body.site #sp-logo-right .sp-contact-info li a { display: inline-flex; align-items: center; min-height: 32px; }
	body.site #sp-logo-right .sp-column > .sp-module { margin: 0 !important; }
	body.site #sp-logo-right .sp-contact-phone { flex: 1 0 100%; }
	body.site #sp-logo-right #mod-custom155 { margin-left: auto; }
	body.site #sp-logo-right .sp-column > .sp-module:has(#mod-custom155) { margin-left: auto !important; }
	body.site #sp-logo-right #mod-custom155 { display: flex; gap: 8px; }
	body.site #sp-logo-right #mod-custom155 a { width: 40px; height: 40px; display: inline-flex !important; align-items: center; justify-content: center; margin: 0 !important; }
	body.site #sp-section-1:empty,
	body.site #sp-section-1 .row:empty { display: none; }
}
@media (min-width: 600px) and (max-width: 991.98px) {
	body.site #sp-logo-right .sp-contact-phone { flex: 0 0 auto; }
}
/* узкие телефоны 360: заголовок школы не должен давить на логотип */
@media (max-width: 400px) {
	body.site #sp-logo .logo-slogan, body.site #sp-logo .logo-text { font-size: 1.35rem !important; }
}

/* Тароша: то же поведение, что у клуба (перенесено из tcplus клуба 10.11): компактнее, в углу, при прокрутке вниз уходит к краю */
body.site .tc-tw-q{display:none!important}
/* 10.11 Тароша на телефонах и планшетах: компактнее, в самом углу, при чтении уходит к краю и не закрывает текст */
@media (max-width:700px){
 body.site .tc-tw.tc-3d{--t3-w:64px!important;--t3-h:82px!important}
 body.site .tc-tw:not(.tc-3d) .tc-tw-btn{width:48px;height:48px}
 body.site .tc-tw:not(.tc-c-tl):not(.tc-c-tr){bottom:calc(6px + env(safe-area-inset-bottom,0px))!important}
 body.site .tc-tw:not(.tc-c-bl):not(.tc-c-tl){right:calc(6px + env(safe-area-inset-right,0px))!important}
 body.site .tc-tw.tc-c-bl,body.site .tc-tw.tc-c-tl{left:calc(6px + env(safe-area-inset-left,0px))!important}
 body.site #sp-footer{padding-bottom:calc(92px + env(safe-area-inset-bottom,0px))}
}
@media (min-width:701px) and (max-width:1199px){
 body.site .tc-tw.tc-3d{--t3-w:100px!important;--t3-h:128px!important}
 body.site .tc-tw:not(.tc-c-tl):not(.tc-c-tr){bottom:calc(10px + env(safe-area-inset-bottom,0px))!important}
 body.site .tc-tw:not(.tc-c-bl):not(.tc-c-tl){right:calc(10px + env(safe-area-inset-right,0px))!important}
 body.site #sp-footer{padding-bottom:120px}
}
@media (max-width:1199px){
 body.site .tc-tw{transition:transform .35s cubic-bezier(.2,.8,.2,1),opacity .35s}
 html.tc-tw-tuck body.site .tc-tw:not(.tc-open){transform:translateX(calc(100% - 20px));opacity:.55}
 html.tc-tw-tuck body.site .tc-tw.tc-c-bl:not(.tc-open),html.tc-tw-tuck body.site .tc-tw.tc-c-tl:not(.tc-open){transform:translateX(calc(-100% + 20px))}
 html.tc-tw-tuck body.site .tc-tw .tc-tw-q{opacity:0;pointer-events:none}
}
@media (prefers-reduced-motion:reduce){body.site .tc-tw{transition:none}}
/* 10.11 кнопка «наверх» на телефонах и планшетах стоит на постоянном месте слева от Тароши и не прыгает, когда он уходит к краю */
@media (max-width:700px){html body.site:has(#tc-tw:not(.tc-c-bl):not(.tc-c-tl):not(.tc-c-tr)) a.sp-scroll-up{right:calc(80px + env(safe-area-inset-right,0px))!important;bottom:calc(16px + env(safe-area-inset-bottom,0px))!important}}
@media (min-width:701px) and (max-width:1199px){html body.site:has(#tc-tw:not(.tc-c-bl):not(.tc-c-tl):not(.tc-c-tr)) a.sp-scroll-up{right:calc(124px + env(safe-area-inset-right,0px))!important;bottom:calc(22px + env(safe-area-inset-bottom,0px))!important}}

/* Полоса-меню над страницами курсов (секция без контейнера): ряды Bootstrap/SPPB не вылезают за край экрана */
#sp-section-9 > .row{margin-left:0!important;margin-right:0!important}
#sp-section-9 > .row > [class*="col-"]{padding-left:0;padding-right:0}
#sp-section-9 .sppb-section{overflow-x:clip}

/* Обложки-баннеры с надписями (афиша, страница события, статьи): картинка целиком, текст на ней не обрезается */
body.site .tcaf-cover img,body.site .tc-cover img{object-fit:contain!important;object-position:center!important;background:#EEF2F6}
body.site .tcaf-cover,body.site .tc-cover{background:#EEF2F6}
body.site .tc-article .tc-ahead + .tc-atitle.tc-plate{margin-top:-22px!important}
@media (max-width:767px){body.site .tc-article .tc-ahead + .tc-atitle.tc-plate{margin-top:-12px!important}}

/* 1200–1399: пункты меню помещаются в одну строку (раньше «ЧаВо» уходил на вторую) */
@media (min-width:1200px) and (max-width:1399px){
 body.site #sp-menu .sp-megamenu-parent > li > a,body.site #sp-menu .sp-megamenu-parent > li > span{padding-left:11px!important;padding-right:11px!important}
}

/* ===== Школа Таро · дизайн-правки 17.11.2026 (tcschoolpolish) ===== */
/* 1) Без лупы поиска в шапке (Minitek Live Search, модуль «Поиск по сайту»).
   Кнопка в logo-right, модальное окно и само поле. Тарошу и поиск по каталогу Guru не трогаем. */
body.site .btn_live,
body.site .sp-module.btn_live,
body.site #mlsModal,
body.site button[data-bs-target="#mlsModal"],
body.site #sp-logo-right button.btn[data-bs-target="#mlsModal"],
body.site .mls.mls-modal,
body.site form.mls-form {
	display: none !important;
}

/* 2) Категории Guru (Видеокурсы и др.): вводный блок, поиск, карточки */
body.view-gurupcategs { --sd-navy:#22374D; --sd-navy2:#35516E; --sd-gold:#C69F58; --sd-gold2:#B48A44; --sd-line:#E3E8EF; --sd-mute:#6B7A8C; }
body.view-gurupcategs #guru-component { max-width:1180px; margin:0 auto; font-family:Manrope, system-ui, sans-serif; color:var(--sd-navy); }
body.view-gurupcategs #guru-component *, body.view-gurupcategs #guru-component *::before, body.view-gurupcategs #guru-component *::after { box-sizing:border-box; }
body.view-gurupcategs .gru-cat { padding:28px 34px !important; border-radius:22px !important; background:rgba(255,255,255,.9) !important; border:1px solid #fff !important; box-shadow:0 22px 40px -30px rgba(34,55,77,.45) !important; margin:0 0 28px !important; }
body.view-gurupcategs .gru-cat-ct h3 { margin:0 0 14px; font:500 34px/1.15 'Cormorant Garamond', Georgia, serif; color:var(--sd-navy); }
body.view-gurupcategs .gru-cat-ct p { padding-left:0 !important; margin:0 0 10px; font-size:16px !important; line-height:1.65; color:#3C4D61; text-align:left !important; }
body.view-gurupcategs .gru-cat-ct p span, body.view-gurupcategs .gru-cat-ct p strong, body.view-gurupcategs .gru-cat-ct p em { font-size:inherit !important; }
body.view-gurupcategs .gru-cat-ct p span[style*="color"] { color:var(--sd-navy) !important; }
body.view-gurupcategs .gru-cat-ct hr, body.view-gurupcategs .gru-cat-ct p:empty { display:none; }
body.view-gurupcategs .gru-cat-ct p:has(> span > strong > a[href^="mailto"]), body.view-gurupcategs .gru-cat-ct p:has(strong > span) { display:inline-block; margin:8px 16px 0 0; padding:8px 16px; border-radius:999px; background:#F3F6FA; font-size:15px !important; }
body.view-gurupcategs .gru-cat-ct p:has(> span > strong > a[href^="mailto"]) *, body.view-gurupcategs .gru-cat-ct p:has(strong > span) * { font-size:15px !important; }
body.view-gurupcategs .gru-page-subtitle { margin:0 0 14px !important; font:500 26px/1.2 'Cormorant Garamond', Georgia, serif !important; color:var(--sd-navy); }
body.view-gurupcategs .gru-page-filters { margin:0 0 26px !important; }
body.view-gurupcategs .gru-filter-item { display:flex; align-items:stretch; gap:10px; max-width:520px; }
body.view-gurupcategs .gru-filter-item input[name="guru_search"] { flex:1 1 auto; width:auto !important; max-width:none !important; height:46px !important; padding:0 18px !important; border-radius:999px !important; border:1px solid var(--sd-line) !important; background:#fff !important; font:500 15px/1 Manrope, sans-serif; color:var(--sd-navy); box-shadow:inset 0 1px 2px rgba(34,55,77,.06); }
body.view-gurupcategs .gru-filter-item input[name="guru_search"]:focus { outline:0; border-color:var(--sd-gold) !important; box-shadow:0 0 0 3px rgba(198,159,88,.2); }
body.view-gurupcategs .gru-filter-item button { flex:0 0 auto; display:inline-flex !important; align-items:center; justify-content:center; height:46px !important; min-width:110px; padding:0 22px !important; margin:0 !important; line-height:1 !important; border-radius:999px !important; border:0 !important; background:linear-gradient(180deg,#D5B26E,var(--sd-gold2)) !important; color:#1E2E40 !important; font:700 13px/1 Manrope, sans-serif !important; letter-spacing:.06em; text-transform:uppercase; box-shadow:0 10px 18px -12px rgba(150,110,40,.8); }
body.view-gurupcategs .gru-courses-grid { display:grid !important; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; margin:0 !important; }
body.view-gurupcategs .gru-courses-grid > .gru-course-item { width:auto !important; max-width:none !important; padding:0 !important; margin:0 !important; float:none !important; display:flex; }
body.view-gurupcategs .gru-courses-grid > .gru-course-item > div { display:flex; width:100%; }
body.view-gurupcategs .gru-course-item .uk-panel { position:relative; display:flex !important; flex-direction:column; width:100%; padding:0 !important; border-radius:20px !important; overflow:hidden; background:#fff !important; border:1px solid #fff !important; box-shadow:0 22px 40px -30px rgba(34,55,77,.5) !important; transition:transform .2s ease, box-shadow .2s ease; }
body.view-gurupcategs .gru-course-item .uk-panel:hover { transform:translateY(-3px); box-shadow:0 28px 46px -28px rgba(34,55,77,.6) !important; }
body.view-gurupcategs .gru-course-cover { position:relative; margin:0 !important; aspect-ratio:2.64/1 !important; overflow:hidden; background:#EEF2F6; }
body.view-gurupcategs .gru-course-cover img { display:block; width:100% !important; height:100% !important; max-width:none !important; object-fit:cover; }
body.view-gurupcategs .gru-course-cover a { position:absolute; inset:0; }
body.view-gurupcategs .gru-course-cover picture { display:block; width:100%; height:100%; }
body.view-gurupcategs .gru-course-item .name_guru { display:flex; flex-direction:column; gap:10px; padding:20px 22px 0; }
body.view-gurupcategs .gru-course-item .name_guru h3 { margin:0 !important; padding:0 !important; font:600 22px/1.2 'Cormorant Garamond', Georgia, serif !important; white-space:normal !important; overflow:visible !important; text-overflow:clip !important; max-width:none !important; }
body.view-gurupcategs .gru-course-item .name_guru h3 a { color:var(--sd-navy) !important; text-decoration:none; }
body.view-gurupcategs .gru-course-item .name_guru h3 a:hover { color:var(--sd-gold2) !important; }
body.view-gurupcategs .gru-course-item .uk-panel-badge { position:static !important; align-self:flex-start; display:inline-flex; align-items:center; min-height:28px; padding:4px 12px !important; border-radius:999px !important; background:#FBF1DC !important; border:1px solid #EAD6A8; color:#7A5A1E !important; font:700 13px/1.2 Manrope, sans-serif !important; letter-spacing:.01em; box-shadow:none !important; text-shadow:none !important; white-space:normal; }
body.view-gurupcategs .gru-course-item .gru-author-list { padding:12px 22px 0; }
body.view-gurupcategs .gru-course-item .guru-author-link { display:inline-flex; align-items:center; gap:10px; color:var(--sd-mute) !important; font:600 14px/1.2 Manrope, sans-serif; text-decoration:none; }
body.view-gurupcategs .gru-course-item .guru-author-avatar { width:36px !important; height:36px !important; border-radius:50%; object-fit:cover; margin:0 !important; }
body.view-gurupcategs .gru-course-item .description_guru { flex:1 1 auto; padding:12px 22px 0; }
body.view-gurupcategs .gru-course-item .description_guru p { margin:0; font-size:14px; line-height:1.6; color:#4A5A6D; display:-webkit-box; -webkit-line-clamp:5; -webkit-box-orient:vertical; overflow:hidden; }
body.view-gurupcategs .gru-course-item .gru-readmore { padding:16px 22px 0; text-align:left !important; float:none !important; }
body.view-gurupcategs .gru-course-item .gru-readmore .uk-button { display:inline-flex; align-items:center; height:42px; padding:0 22px; border-radius:999px; background:var(--sd-navy) !important; color:#fff !important; border:0; font:700 12px/1 Manrope, sans-serif; letter-spacing:.06em; text-transform:uppercase; box-shadow:none; }
body.view-gurupcategs .gru-course-item .gru-readmore .uk-button:hover { background:var(--sd-navy2) !important; }
body.view-gurupcategs .gru-course-item .gru-course-meta { margin-top:18px; padding:12px 22px 16px; border-top:1px solid var(--sd-line); }
body.view-gurupcategs .gru-course-item .gru-course-meta ul { display:flex; justify-content:space-between; gap:10px; margin:0; padding:0; list-style:none; color:var(--sd-mute); font:600 13px/1.2 Manrope, sans-serif; }
body.view-gurupcategs .gru-course-item .gru-course-meta li { float:none !important; margin:0 !important; display:inline-flex; align-items:center; gap:6px; }
@media (max-width:1023px){ body.view-gurupcategs .gru-courses-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; } }
@media (max-width:640px){
  body.view-gurupcategs .gru-courses-grid { grid-template-columns:1fr; }
  body.view-gurupcategs .gru-cat { padding:20px 18px !important; }
  body.view-gurupcategs .gru-cat-ct h3 { font-size:28px; }
  body.view-gurupcategs .gru-cat-ct p { font-size:15px !important; }
  body.view-gurupcategs .gru-filter-item { max-width:none; }
}

/* 3) Регистрация / настройки профиля Guru: подпись над полем, поля во всю ширину */
body.com-guru .gru-register, body.com-guru #guru-component form.uk-form-horizontal { max-width:760px; margin:0 auto; }
body.com-guru #guru-component form.uk-form-horizontal { padding:30px 34px; border-radius:22px; background:rgba(255,255,255,.92); border:1px solid #fff; box-shadow:0 22px 40px -30px rgba(34,55,77,.45); }
body.com-guru #guru-component form.uk-form-horizontal fieldset { border:0; margin:0; padding:0; min-width:0; }
body.com-guru #guru-component form.uk-form-horizontal legend { float:none; width:100%; margin:6px 0 18px; padding:0 0 10px; border:0; border-bottom:1px solid #E3E8EF; font:500 26px/1.2 'Cormorant Garamond', Georgia, serif; color:#22374D; text-transform:none; letter-spacing:0; }
body.com-guru #guru-component form.uk-form-horizontal legend ~ legend { margin-top:26px; }
body.com-guru #guru-component form.uk-form-horizontal .uk-form-row { display:block; margin:0 0 16px; padding:0; clear:both; }
body.com-guru #guru-component form.uk-form-horizontal .uk-form-row::after { content:none; }
body.com-guru #guru-component form.uk-form-horizontal .uk-form-label { display:block; float:none !important; width:auto !important; margin:0 0 6px !important; padding:0 !important; text-align:left !important; font:600 14px/1.3 Manrope, sans-serif; color:#3C4D61; }
body.com-guru #guru-component form.uk-form-horizontal .uk-form-controls { margin:0 !important; float:none !important; width:100% !important; }
body.com-guru #guru-component form.uk-form-horizontal .uk-form-controls > input.inputbox, body.com-guru #guru-component form.uk-form-horizontal .uk-form-controls input[type="text"], body.com-guru #guru-component form.uk-form-horizontal .uk-form-controls input[type="password"], body.com-guru #guru-component form.uk-form-horizontal .uk-form-controls input[type="email"], body.com-guru #guru-component form.uk-form-horizontal .uk-form-controls select, body.com-guru #guru-component form.uk-form-horizontal .uk-form-controls textarea { display:block; float:none !important; width:100% !important; max-width:none !important; height:46px; padding:0 16px; border-radius:12px; border:1px solid #D9DFE7; background:#fff; font:500 15px/1.2 Manrope, sans-serif; color:#22374D; box-shadow:inset 0 1px 2px rgba(34,55,77,.05); }
body.com-guru #guru-component form.uk-form-horizontal textarea { height:auto; min-height:110px; padding:12px 16px; }
body.com-guru #guru-component form.uk-form-horizontal .uk-form-controls input:focus { outline:0; border-color:#C69F58; box-shadow:0 0 0 3px rgba(198,159,88,.2); }
body.com-guru #guru-component form.uk-form-horizontal .uk-form-controls.input-group { display:flex; flex-wrap:nowrap; }
body.com-guru #guru-component form.uk-form-horizontal .uk-form-controls.input-group > input { border-radius:12px 0 0 12px; }
body.com-guru #guru-component form.uk-form-horizontal .uk-form-controls.input-group > .input-group-addon { display:inline-flex; align-items:center; justify-content:center; width:48px; flex:0 0 48px; border:1px solid #D9DFE7; border-left:0; border-radius:0 12px 12px 0; background:#F6F8FB; color:#6B7A8C; cursor:pointer; }
body.com-guru #guru-component form.uk-form-horizontal .g_level_remark { display:block; margin-top:6px; color:#6B7A8C; font-size:12.5px !important; line-height:1.4; }
body.com-guru #guru-component form.uk-form-horizontal .validation-alert { margin:-8px 0 8px; }
body.com-guru #guru-component form.uk-form-horizontal .validation-alert .uk-form-label { display:none; }
body.com-guru #guru-component form.uk-form-horizontal .validation-alert .alert { float:none !important; margin:0; padding:8px 12px; border-radius:10px; font-size:13px; }
body.com-guru #guru-component form.uk-form-horizontal #authorImageSelected img[src$="blank.png"] { display:none; }
body.com-guru #guru-component form.uk-form-horizontal .uk-form-row:last-child, body.com-guru #guru-component form.uk-form-horizontal .uk-form-row:has(> .uk-form-controls > .uk-button), body.com-guru #guru-component form.uk-form-horizontal .uk-form-row:has(input[type="submit"]) { display:flex; flex-wrap:wrap; gap:12px; align-items:center; margin-top:24px; }
body.com-guru #guru-component form.uk-form-horizontal input[type="submit"], body.com-guru #guru-component form.uk-form-horizontal button[type="submit"], body.com-guru #guru-component form.uk-form-horizontal .uk-button-primary, body.com-guru #guru-component form.uk-form-horizontal .uk-button-success { display:inline-flex; align-items:center; justify-content:center; height:48px; padding:0 28px; border-radius:999px; border:0; background:linear-gradient(180deg,#D5B26E,#B48A44) !important; color:#1E2E40 !important; font:700 13px/1 Manrope, sans-serif; letter-spacing:.06em; text-transform:uppercase; box-shadow:0 12px 20px -14px rgba(150,110,40,.8); }
body.com-guru #guru-component form.uk-form-horizontal .uk-button-danger, body.com-guru #guru-component form.uk-form-horizontal input[value="Отменить"], body.com-guru #guru-component form.uk-form-horizontal button.uk-button-danger { display:inline-flex; align-items:center; height:48px; padding:0 24px; border-radius:999px; border:1px solid #D9DFE7 !important; background:#fff !important; color:#3C4D61 !important; font:600 14px/1 Manrope, sans-serif; box-shadow:none; }
@media (max-width:640px){ body.com-guru #guru-component form.uk-form-horizontal { padding:22px 16px; border-radius:18px; } body.com-guru #guru-component form.uk-form-horizontal legend { font-size:23px; } body.com-guru #guru-component form.uk-form-horizontal input[type="submit"], body.com-guru #guru-component form.uk-form-horizontal .uk-button-danger { width:100%; } }

/* 4) Вход Joomla (com_users): без героя главной, форма — карточкой */
body.com-users.view-login #sp-section-3, body.com-users.view-remind #sp-section-3, body.com-users.view-reset #sp-section-3, body.com-users.view-registration #sp-section-3, body.com-users.view-profile #sp-section-3 { display:none !important; }
body.com-users .com-users-login, body.com-users .com-users-remind, body.com-users .com-users-reset, body.com-users .com-users-registration, body.com-users .com-users-profile { max-width:480px; margin:24px auto 48px; padding:30px 32px; border-radius:22px; background:rgba(255,255,255,.92); border:1px solid #fff; box-shadow:0 22px 40px -30px rgba(34,55,77,.45); font-family:Manrope, system-ui, sans-serif; color:#22374D; }
body.com-users .com-users-registration, body.com-users .com-users-profile { max-width:760px; }
body.com-users .com-users-login .control-group, body.com-users form .control-group { display:block; margin:0 0 16px; }
body.com-users form .control-label { display:block; float:none; width:auto; margin:0 0 6px; padding:0; text-align:left; }
body.com-users form .control-label label { font:600 14px/1.3 Manrope, sans-serif; color:#3C4D61; }
body.com-users form .controls { margin:0 !important; }
body.com-users form input.form-control, body.com-users form input[type="text"], body.com-users form input[type="password"], body.com-users form input[type="email"] { display:block; width:100% !important; max-width:none; height:46px; padding:0 16px; border-radius:12px; border:1px solid #D9DFE7; background:#fff; font:500 15px/1.2 Manrope, sans-serif; color:#22374D; box-shadow:inset 0 1px 2px rgba(34,55,77,.05); }
body.com-users form .password-group .input-group { display:flex; flex-wrap:nowrap; }
body.com-users form .password-group .input-group > input { border-radius:12px 0 0 12px; }
body.com-users form .password-group .input-group > .input-password-toggle, body.com-users form .password-group .input-group > button { width:48px; flex:0 0 48px; border:1px solid #D9DFE7; border-left:0; border-radius:0 12px 12px 0; background:#F6F8FB; color:#6B7A8C; }
body.com-users form input:focus { outline:0; border-color:#C69F58; box-shadow:0 0 0 3px rgba(198,159,88,.2); }
body.com-users form .com-users-login__remember, body.com-users form .form-check { display:flex; align-items:center; gap:8px; margin:4px 0 18px; }
body.com-users form button[type="submit"], body.com-users form .btn-primary { display:flex; align-items:center; justify-content:center; width:100%; height:48px; border-radius:999px; border:0; background:linear-gradient(180deg,#D5B26E,#B48A44) !important; color:#1E2E40 !important; font:700 13px/1 Manrope, sans-serif; letter-spacing:.06em; text-transform:uppercase; box-shadow:0 12px 20px -14px rgba(150,110,40,.8); }
body.com-users .com-users-login__options, body.com-users .com-users-login .list-group { display:flex; flex-wrap:wrap; gap:8px 18px; justify-content:center; margin:18px 0 0; padding:0; border:0; }
body.com-users .com-users-login__options .list-group-item, body.com-users .com-users-login .list-group-item { padding:0; border:0 !important; background:transparent; font:600 13px/1.4 Manrope, sans-serif; color:#35516E; text-decoration:underline; text-underline-offset:3px; }
@media (max-width:640px){ body.com-users .com-users-login, body.com-users .com-users-registration, body.com-users .com-users-profile, body.com-users .com-users-remind, body.com-users .com-users-reset { margin:12px 0 32px; padding:22px 16px; border-radius:18px; } }
/* ===== /дизайн-правки 17.11.2026 ===== */
/* доп. правки после проверки */
body.view-gurupcategs .gru-courses-grid::before, body.view-gurupcategs .gru-courses-grid::after { content:none !important; display:none !important; }
body.view-gurupcategs .gru-cat-ct hr ~ p { display:none; }
body.com-guru #guru-component form.uk-form-horizontal legend { border-bottom:0; }
body.com-guru #guru-component form.uk-form-horizontal .uk-form-controls:not(.input-group) { display:block !important; }
body.com-guru #guru-component form.uk-form-horizontal .uk-form-controls:not(.input-group) > input { width:100% !important; flex:none !important; }
body.com-guru #guru-component form.uk-form-horizontal .g_level_remark { display:block !important; float:none !important; width:auto !important; padding:0 !important; }
body.com-guru #guru-component form.uk-form-horizontal .validation-alert:not(:has(.alert:not([style*="none"]))) { display:none; }
/* ===== /дизайн-правки 17.11.2026 (2) ===== */
body.com-users #sp-component { flex:0 0 100% !important; max-width:100% !important; }
body.com-users .com-users-login > .row { margin:0; display:block; }
body.com-users .com-users-login > .row > [class*="col-"] { width:100% !important; max-width:none !important; flex:none !important; padding:0 !important; }
body.com-users .com-users-login .page-header h1 { margin:0 0 20px; font:500 30px/1.15 'Cormorant Garamond', Georgia, serif; color:#22374D; text-align:center; }
body.com-users .com-users-login form.well { padding:0; margin:0; border:0; background:transparent; box-shadow:none; }
body.com-users .com-users-login form > .mb-3 > label { display:block; margin:0 0 6px; font:600 14px/1.3 Manrope, sans-serif; color:#3C4D61; }
body.com-users form .password-group .input-group > input { flex:1 1 auto; width:1% !important; min-width:0; }
body.com-users .com-users-login__options .list-group-item:first-child, body.com-users .com-users-login__options .list-group-item:last-child { border-radius:0; }
/* ===== /дизайн-правки 17.11.2026 (3) ===== */
body.com-users #sp-component .com-users-login *, body.com-users #sp-component .com-users-login *::before, body.com-users #sp-component .com-users-login *::after { box-sizing:border-box; }
body.com-users #sp-component .com-users-login input.form-control { display:block; width:100% !important; max-width:none !important; height:46px !important; margin:0 !important; padding:0 16px !important; border-radius:12px !important; border:1px solid #D9DFE7 !important; background:#fff !important; box-shadow:inset 0 1px 2px rgba(34,55,77,.05) !important; }
body.com-users #sp-component .com-users-login .password-group .input-group { display:flex !important; flex-wrap:nowrap !important; width:100%; }
body.com-users #sp-component .com-users-login .password-group .input-group > input.form-control { flex:1 1 auto !important; width:1% !important; border-radius:12px 0 0 12px !important; }
body.com-users #sp-component .com-users-login .password-group .input-group > .input-password-toggle { display:inline-flex !important; align-items:center; justify-content:center; height:46px; width:48px; flex:0 0 48px; padding:0; border:1px solid #D9DFE7 !important; border-left:0 !important; border-radius:0 12px 12px 0 !important; background:#F6F8FB !important; color:#6B7A8C !important; }
/* ===== /дизайн-правки 17.11.2026 (4) ===== */
@media (max-width:640px){ body.view-gurupcategs .gru-cat-ct p:has(> span > strong > a[href^="mailto"]), body.view-gurupcategs .gru-cat-ct p:has(strong > span) { display:block; border-radius:14px; margin-right:0; } }

/* ===== SP LMS: каталог «Видеокурсы» и категории (17.11.2026) ===== */
/* Карточки курса уже рисует courses.css (tcschoolcourses). Здесь только сетка. */
body.view-coursescategories #splms .splms-course-category-wrapper.splms-row,
body.view-coursescategories #splms .splms-course-category-wrapper {
	display:flex !important; flex-wrap:wrap !important; gap:24px; margin:0 0 24px !important;
	align-items:stretch; justify-content:flex-start;
}
body.view-coursescategories #splms .splms-course-category,
body.view-coursescategories #splms [class*="splms-col-"].splms-course-category {
	flex:0 0 calc(25% - 18px) !important; width:calc(25% - 18px) !important; max-width:calc(25% - 18px) !important;
	padding:0 !important; float:none !important; margin:0 !important;
}
body.view-coursescategories #splms .splms-coursescategory-wrapper {
	display:flex; flex-direction:column; height:100%; overflow:hidden;
	border-radius:20px; background:rgba(255,255,255,.9); border:1px solid #fff;
	box-shadow:0 22px 40px -30px rgba(34,55,77,.5); transition:transform .2s ease, box-shadow .2s ease;
}
body.view-coursescategories #splms .splms-coursescategory-wrapper:hover { transform:translateY(-3px); box-shadow:0 28px 46px -28px rgba(34,55,77,.6); }
body.view-coursescategories #splms .splms-cat-icon { margin:0; aspect-ratio:16/9; overflow:hidden; background:#EEF2F6; }
body.view-coursescategories #splms .splms-cat-icon a { display:block; width:100%; height:100%; }
body.view-coursescategories #splms .splms-cat-icon img,
body.view-coursescategories #splms .splms-cat-icon picture { display:block; width:100%; height:100%; }
body.view-coursescategories #splms .splms-cat-icon img { object-fit:cover; width:100% !important; height:100% !important; max-width:none !important; }
body.view-coursescategories #splms .splms-cat-title {
	display:block; padding:18px 20px 0; font:600 22px/1.25 'Cormorant Garamond', Georgia, serif;
	color:#22374D !important; text-decoration:none;
}
body.view-coursescategories #splms .splms-cat-title:hover { color:#B48A44 !important; }
body.view-coursescategories #splms .splms-cat-count {
	display:inline-flex; align-items:center; margin-left:8px; padding:3px 10px;
	border-radius:999px; background:#FBF1DC; border:1px solid #EAD6A8;
	color:#7A5A1E; font:700 13px/1.2 Manrope, sans-serif;
}
body.view-coursescategories #splms .splms-coursescategory-wrapper > a.btn,
body.view-coursescategories #splms .splms-coursescategory-wrapper .btn { align-self:flex-start; margin:16px 20px 20px; }

/* Список курсов: три колонки, отключаем абсолютную вёрстку shuffle */
body.view-coursescategory #splms .splms-courses-list,
body.view-courses #splms .splms-courses-list { width:100%; }
body.view-coursescategory #splms .splms-courses-list .splms-row.splms-popular-course-wrapper,
body.view-courses #splms .splms-courses-list .splms-row.splms-popular-course-wrapper,
body.view-coursescategory #splms .splms-popular-course-wrapper,
body.view-courses #splms .splms-popular-course-wrapper {
	display:flex !important; flex-wrap:wrap !important; gap:24px !important;
	margin:0 !important; position:static !important; height:auto !important; transform:none !important;
}
body.view-coursescategory #splms .splms-popular-course-wrapper > [class*="splms-col"],
body.view-courses #splms .splms-popular-course-wrapper > [class*="splms-col"] {
	flex:0 0 calc(33.333% - 16px) !important; width:calc(33.333% - 16px) !important; max-width:calc(33.333% - 16px) !important;
	padding:0 !important; margin:0 !important; float:none !important;
	position:static !important; left:auto !important; top:auto !important; transform:none !important;
}
body.view-coursescategory #splms .splms-course,
body.view-courses #splms .splms-course { height:100%; margin-bottom:0; }
body.view-coursescategory #splms .pagination,
body.view-courses #splms .pagination { display:none; }

@media (max-width:991.98px) {
	body.view-coursescategories #splms .splms-course-category,
	body.view-coursescategories #splms [class*="splms-col-"].splms-course-category {
		flex-basis:calc(50% - 12px) !important; width:calc(50% - 12px) !important; max-width:calc(50% - 12px) !important;
	}
	body.view-coursescategory #splms .splms-popular-course-wrapper > [class*="splms-col"],
	body.view-courses #splms .splms-popular-course-wrapper > [class*="splms-col"] {
		flex-basis:calc(50% - 12px) !important; width:calc(50% - 12px) !important; max-width:calc(50% - 12px) !important;
	}
}
@media (max-width:640px) {
	body.view-coursescategories #splms .splms-course-category,
	body.view-coursescategories #splms [class*="splms-col-"].splms-course-category,
	body.view-coursescategory #splms .splms-popular-course-wrapper > [class*="splms-col"],
	body.view-courses #splms .splms-popular-course-wrapper > [class*="splms-col"] {
		flex-basis:100% !important; width:100% !important; max-width:100% !important;
	}
}
/* ===== /SP LMS каталог 17.11.2026 ===== */

/* ===== 17.11.2026: мобильная шапка — подпись только в липкой шапке после прокрутки. Откат: удалить этот блок. =====
   Подпись правится в плагине «Школа Таро: шлифовка…», поле «Подпись рядом с логотипом».
   Вверху страницы (большая шапка видна) плашка как раньше: «Меню», без «Школа Таро».
   После прокрутки Helix вешает .header-sticky — подпись плавно появляется рядом со значком.
   display:flex перекрывает правило tcfront sticky.css, которое прятало ::after. */
@media (max-width:991.98px){
	body.site #sp-header:not(.header-sticky) .sp-megamenu-wrapper::before{display:none}
	body.site #sp-header:not(.header-sticky) .sp-megamenu-wrapper::after{
		content:"Меню";
		padding-left:14px;
		font-family:var(--sans,Manrope,system-ui,sans-serif);
		font-size:12px;
		font-weight:700;
		letter-spacing:.16em;
		text-transform:uppercase;
		color:var(--ink-2,#5a6b7d);
		animation:none;
	}
	html body.site #sp-header.header-sticky .sp-megamenu-wrapper::after{
		content:var(--tcs-wordmark,"Школа Таро");
		display:flex;
		order:-1;
		flex:1 1 auto;
		min-width:0;
		align-items:center;
		min-height:46px;
		padding-left:0;
		font-family:var(--serif,"Cormorant Garamond",Georgia,serif);
		font-size:clamp(18px,7.2vw,26px);
		font-weight:600;
		line-height:1;
		letter-spacing:-.01em;
		text-transform:none;
		color:var(--navy,#22374D);
		white-space:nowrap;
		overflow:hidden;
		animation:tcs-word-in .35s ease;
	}
}
@keyframes tcs-word-in{
	from{opacity:0;transform:translateX(-8px)}
	to{opacity:1;transform:none}
}
@media (prefers-reduced-motion:reduce){
	html body.site #sp-header.header-sticky .sp-megamenu-wrapper::after{animation:none}
}
/* ===== /мобильная подпись 17.11.2026 ===== */

/* ===== 17.11.2026: нормализация типографики школы (tcs-typo). Откат: удалить этот блок. =====
   Базовая шкала заголовков и кегль текста. Inline-размеры и шрифты из редактора не сбрасываются (29.11.2026). */
body.site #sp-component{
	--tcs-fs:16.5px;
	--tcs-lh:1.6;
}
@media (min-width:992px){
	body.site #sp-component{--tcs-fs:17px;--tcs-lh:1.65}
}

/* область текста: статьи, блоки конструктора, правовые страницы, FAQ */
body.site #sp-component .tc-prose,
body.site #sp-component .article-body,
body.site #sp-component .article-details,
body.site #sp-component [itemprop="articleBody"],
body.site #sp-component .com-content-article__body,
body.site #sp-component .sppb-addon-text-block,
body.site #sp-component .sppb-addon-text-block .sppb-addon-content,
body.site #sp-component .sppb-addon-content,
body.site #sp-component .sppb-addon-accordion .sppb-panel-body{
	font-family:var(--sans,Manrope,system-ui,sans-serif);
	font-size:var(--tcs-fs);
	line-height:var(--tcs-lh);
	font-weight:400;
	font-style:normal;
	color:var(--ink,#2A323B);
	max-width:none;
}

/* 29.11.2026: сброс inline-стилей (размер, семейство, начертание) снят —
   размеры и курсив из редактора снова действуют. Базовая шкала заголовков и кегль текста сохранены.
   Откат этого снятия: вернуть блок из бэкапа ~/cursor-backups/20261129-school-typo/polish.css */
body.site #sp-component .tc-prose :is(strong,b),
body.site #sp-component .article-body :is(strong,b),
body.site #sp-component .article-details :is(strong,b),
body.site #sp-component [itemprop="articleBody"] :is(strong,b),
body.site #sp-component .sppb-addon-text-block :is(strong,b),
body.site #sp-component .sppb-addon-content :is(strong,b){
	font-style:normal;
	font-weight:600;
	font-size:inherit;
	line-height:inherit;
}
/* не сбивать иконки Font Awesome */
body.site #sp-component :is(i,span,em).fa,
body.site #sp-component :is(i,span,em)[class*="fa-"],
body.site #sp-component .tc-btn i,
body.site #sp-component .sppb-btn i{font-style:normal}

/* заголовки: перекрываем и глобальный line-height:1.1, и правила конструктора
   вроде font-size:36px;line-height:18px и font-size:80px;line-height:70px */
body.site #sp-component :is(h1,h2,h3,h4,h5,h6,.sppb-addon-title),
body.site #sp-component [id^="sppb-addon-"] :is(h1,h2,h3,h4,h5,h6,.sppb-addon-title),
body.site #sp-component [id^="sppb-addon-"] .sppb-addon-header .sppb-addon-title{
	font-family:var(--serif,"Cormorant Garamond",Georgia,serif)!important;
	font-weight:500!important;
	font-style:normal!important;
	color:var(--navy,#22374D)!important;
	text-transform:none!important;
	letter-spacing:-.01em!important;
	line-height:1.25!important;
	padding-left:0!important;
	padding-right:0!important;
	max-width:42.5rem;
}
/* 29.11.2026: сброс размеров и цвета внутри заголовков снят, чтобы работали ручные span из редактора. */
body.site #sp-component h1,
body.site #sp-component .article-header h1,
body.site #sp-component [id^="sppb-addon-"] h1,
body.site #sp-component [id^="sppb-addon-"] h1.sppb-addon-title{
	font-size:clamp(1.7rem,4.6vw,2.25rem)!important;
	line-height:1.2!important;
	margin:0 0 .5em;
}
body.site #sp-component h2,
body.site #sp-component [id^="sppb-addon-"] h2,
body.site #sp-component [id^="sppb-addon-"] h2.sppb-addon-title{
	font-size:clamp(1.4rem,3.4vw,1.85rem)!important;
	line-height:1.25!important;
	margin:1.15em 0 .45em;
}
body.site #sp-component h3,
body.site #sp-component h3.sppb-addon-title,
body.site #sp-component .sppb-addon-header .sppb-addon-title,
body.site #sp-component [id^="sppb-addon-"] h3,
body.site #sp-component [id^="sppb-addon-"] .sppb-addon-header .sppb-addon-title,
body.site #sp-component [id^="sppb-addon-"] h3.sppb-addon-title{
	font-size:clamp(1.2rem,2.8vw,1.5rem)!important;
	line-height:1.25!important;
	margin:.9em 0 .4em;
}
body.site #sp-component :is(h4,h5,h6),
body.site #sp-component [id^="sppb-addon-"] :is(h4,h5,h6){
	font-size:clamp(1.05rem,2vw,1.25rem)!important;
	line-height:1.3!important;
	margin:.8em 0 .35em;
}

/* плашки: на телефоне 16–20px, не 44–56 */
body.site #sp-component .tc-prose .tc-plate,
body.site #sp-component .tc-prose .tc-callout,
body.site #sp-component .sppb-addon-text-block,
body.site #sp-page-builder .sppb-addon-text-block,
body.site.tcsfx-legacy #sp-page-builder .sppb-addon-text-block{
	padding:20px 24px!important;
	box-sizing:border-box;
	max-width:42.5rem;
	margin-left:auto;
	margin-right:auto;
}
@media (max-width:767.98px){
	body.site #sp-component .tc-prose .tc-plate,
	body.site #sp-component .tc-prose .tc-callout,
	body.site #sp-component .sppb-addon-text-block,
	body.site #sp-page-builder .sppb-addon-text-block,
	body.site.tcsfx-legacy #sp-page-builder .sppb-addon-text-block,
	body.site #sp-page-builder .sppb-addon-accordion .sppb-panel-heading,
	body.site #sp-page-builder .sppb-addon-accordion .sppb-panel-body{
		padding:16px 18px!important;
	}
	body.site #sp-component .sppb-addon-text-block .sppb-addon-text-block,
	body.site #sp-page-builder .sppb-addon-text-block .sppb-addon-text-block{padding:0!important}
}
/* вложенный блок не копится отступами */
body.site #sp-component .sppb-addon-text-block .sppb-addon-text-block,
body.site #sp-page-builder .sppb-addon-text-block .sppb-addon-text-block{
	padding:0!important;
	background:none!important;
	border:0!important;
	box-shadow:none!important;
	max-width:none;
}

/* не ломаем карточки афиши/вебинаров, кнопки и сетки курсов */
body.site #sp-component .tcp-cards,
body.site #sp-component .tc-acard,
body.site #sp-component .tcs-web .tc-acard,
body.site #sp-component .splms-popular-course-wrapper,
body.site #sp-component .splms-course-category{max-width:none}
body.site #sp-component .tc-acard :is(h1,h2,h3,h4,.sppb-addon-title),
body.site #sp-component .tcp-cards :is(h1,h2,h3,h4){max-width:none;padding-left:0!important}
body.site #sp-component .tc-btn,
body.site #sp-component .sppb-btn,
body.site #sp-component .tc-chip,
body.site #sp-component .tcp-date{max-width:none;font-family:inherit}

/* tch-addons: не сжимаем блоки главной (tcs-typo 42.5rem) 17.11.2026 */
body.site #sp-component .tch-addon,
body.site #sp-component .tch-addon .sppb-addon-content,
body.site #sp-component .sppb-addon-wrapper[class*="addon-root-tch-"],
body.site #sp-component .tc-sec.tch-sec .sppb-addon-content,
body.site #sp-component .tc-hero,
body.site #sp-component .tch-hero,
body.site #sp-component .mod_tchero,
body.site #sp-component .tc-sh{max-width:none}
body.site #sp-component .tch-addon :is(h1,h2,h3,h4,h5,h6,.sppb-addon-title),
body.site #sp-component .tc-sh :is(h1,h2,h3,h4),
body.site #sp-component .tch-hero :is(h1,h2,h3),
body.site #sp-component .tc-hero :is(h1,h2,h3),
body.site #sp-component .page-header h1{max-width:none;padding-left:0!important;padding-right:0!important}

/* Главная: заголовок страницы Joomla скрыт — H1 стоит в блоке героя конструктора. Откат: удалить это правило и вернуть «Показывать заголовок» у пункта меню 101. */
body.tcs-home #sp-component > .page-header,
body.tcs-home .page-header{display:none}

/* Главная: старый слайдер в позиции slide (модуль 205) скрыт — первый экран теперь в конструкторе. Модуль не удаляется и не меняется. Откат: удалить это правило. */
body.tcs-home #sp-section-3,
body.tcs-home #sp-slide{display:none!important}

/* ===== /tcs-typo 17.11.2026 ===== */

/* ===== school-1117b, шаги 1–2 (17.11.2026). Откат: удалить этот блок. Не трогать cabinet.css. ===== */

/* --- шаг 1: контраст на тёмных блоках (tcs-typo ставит navy !important на заголовки) --- */
body.site #sp-component .tc-dark :is(h1,h2,h3,h4,h5,h6,.sppb-addon-title),
body.site #sp-component .tc-dark :is(h1,h2,h3,h4,h5,h6,.sppb-addon-title) :is(span,font,b,strong,em,i){
	color:#F1F5F9 !important;
}
body.site #sp-component .tc-dark .tc-kicker,
body.site #sp-component .tc-dark .tc-kicker :is(span,font){
	color:#E6CE97 !important;
}
body.site #sp-component .tc-dark .tc-n,
body.site #sp-component .tc-dark .tc-fraud{
	color:#F1F5F9 !important;
}
body.site #sp-component .tc-dark .tc-link,
body.site #sp-component .tc-dark .tc-docs a{
	color:#E6CE97 !important;
}

/* --- шаг 1: скрыть сломанные Skills / Education («0% / Array») на странице мастера --- */
body.tcs-splms-teacher #splms .splms-section:has(.splms-person-skills),
body.tcs-splms-teacher #splms .splms-section:has(.splms-person-education),
body.tcsfx-lms-teacher #splms .splms-section:has(.splms-person-skills),
body.tcsfx-lms-teacher #splms .splms-section:has(.splms-person-education){
	display:none !important;
}

/* --- шаг 2: золотые чипы на странице курса (вместо голубого --acc-t) --- */
body.tcs-splms-course #splms .course-info li,
body.tcs-splms #splms .tcs-cat-count{
	background:#F3E6C8 !important;
	color:#765A22 !important;
	border:1px solid #EAD6A8;
}
/* шапка курса: li.splms-course-teacher не должен становиться большой карточкой из fix.css */
body.tcs-splms-course #splms .course-info li.splms-course-teacher,
body.tcsfx-lms-course #splms .course-info li.splms-course-teacher{
	display:inline-flex !important;
	align-items:center;
	gap:.35em;
	grid-template-columns:none !important;
	padding:.3em .9em !important;
	background:#F3E6C8 !important;
	color:#765A22 !important;
	border-radius:999px !important;
	box-shadow:none !important;
	width:auto !important;
}
body.tcsfx-lms-course #splms .course-info li.splms-course-teacher > a:first-child{
	display:inline !important;
	width:auto !important;
	height:auto !important;
	border-radius:0 !important;
	grid-row:auto !important;
	box-shadow:none !important;
}
body.tcsfx-lms-course #splms .course-info li.splms-course-teacher h4::after{
	content:none !important;
	display:none !important;
}

/* --- шаг 2: сетка 3/2/1 для /videokursy и списков категорий; clearfix и кнопка внизу карточки --- */
body.view-coursescategories #splms .splms-course-category-wrapper.splms-row::before,
body.view-coursescategories #splms .splms-course-category-wrapper.splms-row::after,
body.view-coursescategories #splms .splms-course-category-wrapper::before,
body.view-coursescategories #splms .splms-course-category-wrapper::after,
body.view-coursescategory #splms .splms-popular-course-wrapper::before,
body.view-coursescategory #splms .splms-popular-course-wrapper::after,
body.view-courses #splms .splms-popular-course-wrapper::before,
body.view-courses #splms .splms-popular-course-wrapper::after{
	content:none !important;
	display:none !important;
}
body.view-coursescategories #splms .splms-course-category,
body.view-coursescategories #splms [class*="splms-col-"].splms-course-category{
	flex:0 0 calc(25% - 18px) !important;
	width:calc(25% - 18px) !important;
	max-width:calc(25% - 18px) !important;
}
body.view-coursescategories #splms .splms-coursescategory-wrapper > a.btn,
body.view-coursescategories #splms .splms-coursescategory-wrapper .btn{
	align-self:flex-start;
	margin-top:auto !important;
}
@media (max-width:991.98px){
	body.view-coursescategories #splms .splms-course-category,
	body.view-coursescategories #splms [class*="splms-col-"].splms-course-category{
		flex-basis:calc(50% - 12px) !important;
		width:calc(50% - 12px) !important;
		max-width:calc(50% - 12px) !important;
	}
}
@media (max-width:640px){
	body.view-coursescategories #splms .splms-course-category,
	body.view-coursescategories #splms [class*="splms-col-"].splms-course-category{
		flex-basis:100% !important;
		width:100% !important;
		max-width:100% !important;
	}
}

/* --- 18.11: обложки курсов в списках снова 16/10, object-fit:cover (как в courses.css).
   Прежний override «целиком без обрезки» снят. --- */

/* ===== /school-1117b шаги 1–2 ===== */

/* ===== school-1117b, шаг 3 (17.11.2026). Откат: удалить этот блок. Кабинет не трогаем. ===== */

/* Один холст: max-width 1400, на экране 1440 получается ≈ 1380, как у клуба.
   Не применяем к кабинету (com_tcschoolcabinet / com_guru) — его ведёт параллельная задача. */
body.site:not(.com_tcschoolcabinet):not(.com_guru) #sp-main-body > .container {
	max-width:1400px !important;
	width:100% !important;
}
body.site:not(.com_tcschoolcabinet):not(.com_guru) #sp-main-body .sppb-row-container {
	max-width:1400px;
}
/* Шире 1440 (Retina MacBook и т.п.): колонка контента как шапка (97%), по центру.
   До 1440 включительно остаётся прежняя крышка 1400px. */
@media (min-width: 1441px) {
	body.site:not(.com_tcschoolcabinet):not(.com_guru) #sp-main-body {
		margin-left: 0 !important;
		margin-right: 0 !important;
	}
	body.site:not(.com_tcschoolcabinet):not(.com_guru) #sp-main-body > .container,
	body.site:not(.com_tcschoolcabinet):not(.com_guru) #sp-main-body .sppb-row-container {
		max-width: 97% !important;
		width: 100% !important;
		margin-left: auto !important;
		margin-right: auto !important;
	}
	/* внутренние крышки tc4/polish (1347 / 1400), чтобы контент совпал с меню */
	body.site .tc-article,
	body.site .tc-blog,
	body.site .tcs-page,
	body.site.tcs-polish-page #sp-component .tcs-page,
	body.site.tcs-polish-page #sp-page-builder,
	body.site.tcs-past-webinar #sp-page-builder .sppb-row-container,
	body.site .tc-sec > .sppb-container > .sppb-row,
	body.site .tc-sec .sppb-addon-text-block .sppb-addon-content {
		max-width: none !important;
		width: 100%;
		margin-left: 0;
		margin-right: 0;
	}
}

/* 42.5rem — только колонка длинной статьи, не все блоки конструктора и не заголовки. */
body.site #sp-component .sppb-addon-content,
body.site #sp-component .sppb-addon-text-block,
body.site #sp-component .sppb-addon-text-block .sppb-addon-content,
body.site #sp-component .sppb-addon-accordion .sppb-panel-body,
body.site #sp-component :is(h1,h2,h3,h4,h5,h6,.sppb-addon-title),
body.site #sp-component [id^="sppb-addon-"] :is(h1,h2,h3,h4,h5,h6,.sppb-addon-title),
body.site #sp-page-builder .sppb-addon-text-block,
body.site.tcsfx-legacy #sp-page-builder .sppb-addon-text-block {
	max-width:none;
}
body.site #sp-component .tc-prose,
body.site #sp-component .article-body,
body.site #sp-component .article-details,
body.site #sp-component [itemprop="articleBody"],
body.site #sp-component .com-content-article__body {
	max-width:none;
}

/* ===== /school-1117b шаг 3 ===== */

/* ===== school-1117b шаг 5 (17.11.2026): флаг памяти Феликса Эльдемурова.
   Серое фото, рамка, подпись «Светлая память». Годы — только если их выведут в разметке.
   Биографию не переписываем. Курсы на странице мастера остаются. Откат: удалить блок. ===== */
body.site .tcs-mem-flag {
	margin: 0.35em 0 0;
	font: 600 0.78rem/1.35 var(--sans, Manrope, system-ui, sans-serif);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #5c6166;
}
body.site .tcs-mem-flag a {
	color: inherit;
	text-decoration: none;
	border-bottom: 1px solid rgba(92, 97, 102, 0.45);
}
body.site .tcs-mem-flag a:hover,
body.site .tcs-mem-flag a:focus-visible {
	color: var(--navy, #22374D);
	border-bottom-color: currentColor;
}
body.site .tcs-mem-years {
	text-transform: none;
	letter-spacing: 0;
	font-weight: 500;
	margin-left: 0.35em;
	color: #6a6f74;
}

/* список мастеров и страница преподавателя: обесцвеченное фото в серой рамке */
body.site .splms-person.tcs-memoriam .splms-person-details picture,
body.site .splms-person.tcs-memoriam .splms-person-img,
body.site.tcs-memoriam .splms-person-profile-image,
body.site.tcs-memoriam .splms-person-profile-image picture {
	display: block;
	border: 2px solid #8b9096;
	border-radius: 8px;
	overflow: hidden;
	background: #e6e7e8;
	box-shadow: none;
}
body.site .splms-person.tcs-memoriam .splms-person-img,
body.site .splms-person.tcs-memoriam picture img,
body.site.tcs-memoriam .splms-person-profile-image img,
body.site.tcs-memoriam .splms-person-image {
	filter: grayscale(1) contrast(1.04);
}
body.site.tcs-memoriam .tcsb-sticky,
body.site.tcs-memoriam [data-tcsb-apply],
body.site.tcs-memoriam .pwebcontact_toggler,
body.site.tcs-memoriam .creativecontactform_wrapper,
body.site.tcs-memoriam .splms-section:has(.splms-person-skills),
body.site.tcs-memoriam .splms-section:has(.splms-person-education) {
	display: none !important;
}

/* ===== /school-1117b шаг 5 ===== */

/* ===== school-1117b шаг 6 (17.11.2026): прошедшие вебинары, О школе, сертификация,
   подарочный сертификат, контакты. Откат: удалить блок. Кабинет не трогаем. ===== */

/* когда правая колонка скрыта, контент на всю ширину холста */
@media (min-width: 992px) {
	body.site.tcs-past-webinar #sp-component.col-lg-9,
	body.site.tcs-polish-page #sp-component.col-lg-9,
	body.site.tcsfx-legacy #sp-component.col-lg-9 {
		flex: 0 0 100%;
		max-width: 100%;
		width: 100%;
	}
}

/* прошедшие вебинары: без предзаписи и «Поделиться», типографика к стилю сайта */
body.site.tcs-past-webinar .tcs-past-cta,
body.site.tcs-past-webinar .creativecontactform_wrapper,
body.site.tcs-past-webinar .creativecontactform_loading_wrapper,
body.site.tcs-past-webinar .tc-share,
body.site.tcs-gift-cert .tc-share {
	display: none !important;
}
body.site.tcs-past-webinar #sp-page-builder .sppb-row-container {
	max-width: 1400px;
	width: 100%;
}
body.site.tcs-past-webinar #sp-component :is(h1, h2, h3, h4, .sppb-addon-title, .sppb-image-layout-title) {
	color: var(--navy, #22374D);
	font-family: var(--serif, "Cormorant Garamond", Georgia, serif);
	letter-spacing: 0;
	text-transform: none;
}
body.site.tcs-past-webinar #sp-component,
body.site.tcs-polish-page #sp-component {
	color: var(--ink, #2a323b);
}

/* О школе, сертификация, контакты — ритм и заголовки, сам текст не меняем */
body.site.tcs-polish-page #sp-component .tcs-page,
body.site.tcs-polish-page #sp-page-builder {
	max-width: 1400px;
}
body.site.tcs-polish-page #sp-component h1,
body.site.tcs-polish-page #sp-component h2,
body.site.tcs-polish-page #sp-component h3 {
	color: var(--navy, #22374D);
}

/* подарочный сертификат: шире текст, крупнее изображение, списки */
body.site.tcs-gift-cert #sp-component .tc-prose {
	max-width: none;
}
body.site.tcs-gift-cert .tc-prose > p:first-child:has(img),
body.site.tcs-gift-cert .tc-prose > p:first-child:has(picture) {
	float: none;
	width: min(420px, 100%);
	max-width: 420px;
	margin: 0 0 1.4rem auto;
}
body.site.tcs-gift-cert .tc-prose > p:first-child:has(img) img,
body.site.tcs-gift-cert .tc-prose > p:first-child:has(picture) img {
	float: none;
	width: 100%;
	height: auto;
	max-width: 100%;
	margin: 0;
	border-radius: 8px;
}
@media (max-width: 700px) {
	body.site.tcs-gift-cert .tc-prose > p:first-child:has(img),
	body.site.tcs-gift-cert .tc-prose > p:first-child:has(picture) {
		width: min(360px, 100%);
		max-width: 360px;
		margin: 0 auto 1.1rem;
		display: block;
	}
}
body.site.tcs-gift-cert .tcs-cert-list {
	margin: 0 0 1.1rem 1.2rem;
	padding: 0;
	max-width: 46rem;
	list-style: disc;
}
body.site.tcs-gift-cert .tcs-cert-list li {
	margin: 0 0 0.35em;
	font-size: 1.05rem;
	line-height: 1.55;
	color: var(--ink, #2a323b);
}
body.site.tcs-gift-cert #tc-toc-list a:empty,
body.site.tcs-gift-cert .tc-prose h5 {
	display: none;
}

/* ===== /school-1117b шаг 6 ===== */

/* ===== 18.11.2026: правки по отзыву Татьяны. Откат: удалить этот блок. ===== */

/* 1) Заголовки наших аддонов: крупный serif и курсив <em>.
   tcs-typo выше сжимает все h2 в #sp-component и сбрасывает font-style у em.
   Контраст тёмных блоков (шаг 1 school-1117b) оставляем. */
html body.site #sp-component .tc-sh h2,
html body.site #sp-component .tch-addon .tc-sh h2,
html body.site #sp-component .tch-addon h2,
html body.site #sp-component .tc-rleft h2,
html body.site #sp-component .tc-rg h2 {
	font-family: var(--serif, "Cormorant Garamond", Georgia, serif) !important;
	font-weight: 500 !important;
	font-style: normal !important;
	color: var(--navy, #22374D) !important;
	font-size: clamp(34px, 4vw, 54px) !important;
	line-height: 1.1 !important;
	letter-spacing: -.01em !important;
	max-width: none !important;
	margin: 12px 0 14px !important;
	text-transform: none !important;
}
html body.site #sp-component .tch-hero h1,
html body.site #sp-component .tc-hero.tch-hero h1 {
	font-family: var(--serif, "Cormorant Garamond", Georgia, serif) !important;
	font-weight: 500 !important;
	font-style: normal !important;
	color: var(--navy, #22374D) !important;
	font-size: clamp(40px, min(4.6vw, 8vh), 68px) !important;
	line-height: 1.1 !important;
	letter-spacing: -.01em !important;
	max-width: none !important;
	margin: 14px 0 14px !important;
	text-transform: none !important;
}
html body.site #sp-component .tc-sh h2 em,
html body.site #sp-component .tch-addon h2 em,
html body.site #sp-component .tc-rleft h2 em,
html body.site #sp-component .tc-rg h2 em,
html body.site #sp-component .tch-hero h1 em,
html body.site #sp-component .tc-hero.tch-hero h1 em {
	font-style: italic !important;
	font-family: inherit !important;
	font-weight: inherit !important;
	font-size: inherit !important;
	line-height: inherit !important;
	letter-spacing: inherit !important;
	color: #5A7A9C !important;
	text-transform: none !important;
}
html body.site #sp-component .tc-dark .tc-sh h2,
html body.site #sp-component .tc-dark .tch-addon h2,
html body.site #sp-component .tc-dark .tc-rg h2,
html body.site #sp-component .tc-dark .tch-hero h1 {
	color: #F1F5F9 !important;
}
html body.site #sp-component .tc-dark .tc-sh h2 em,
html body.site #sp-component .tc-dark .tch-addon h2 em,
html body.site #sp-component .tc-dark .tc-rg h2 em,
html body.site #sp-component .tc-dark .tch-hero h1 em {
	color: #E6CE97 !important;
}

/* 2) Первый экран: больше воздуха между текстом и кнопками */
html body.site .tch-hero .tc-lead {
	margin-bottom: 22px !important;
}
html body.site .tch-hero .tc-ctas {
	margin-top: 4px;
}
@media (min-width: 992px) and (max-height: 760px) {
	html body.site .tch-hero .tc-lead { margin-bottom: 16px !important; }
}

/* 3) Преподаватели: компактная сетка на 4 колонки (класс tch-n4 уже есть) */
html body.site .tc-masters.tch-masters.tch-n4 {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}
html body.site .tch-masters.tch-n4 .tc-master {
	padding: 14px 12px 12px;
	gap: 10px;
}
html body.site .tch-masters.tch-n4 .tc-master .tc-ph {
	width: 56px;
	height: 56px;
	flex: 0 0 56px;
}
@media (max-width: 1199.98px) {
	html body.site .tc-masters.tch-masters.tch-n4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767.98px) {
	html body.site .tc-masters.tch-masters.tch-n4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
}
@media (max-width: 479.98px) {
	html body.site .tc-masters.tch-masters.tch-n4 { grid-template-columns: minmax(0, 1fr); }
}

/* 4) Афиша / вебинары: плитки заполняют рамку; большая обложка события — целиком */
body.site .tc-acard .tc-cover img,
body.site .tc-acard .tcaf-cover img,
body.site .tcaf-card .tcaf-cover img,
body.tcsfx-afisha .tc-acard .tc-cover img {
	object-fit: cover !important;
	object-position: center center !important;
	background: transparent;
}
/* страница события (анонс): обложка заполняет рамку и обрезается по краям, без серого фона */
body.site .tcp-announce .tc-ahead .tc-cover,
body.site article.tcp-announce .tc-cover {
	background: transparent;
}
body.site .tcp-announce .tc-ahead .tc-cover img,
body.site article.tcp-announce .tc-cover img {
	object-fit: cover !important;
	object-position: center center !important;
	background: transparent;
}
/* обычные статьи оставляем как было: картинка целиком */
body.site .tc-article:not(.tcp-announce) .tc-ahead .tc-cover img {
	object-fit: contain !important;
	object-position: center !important;
	background: #EEF2F6;
}

/* 6) Логотип: анимированная звезда не сплющивается inline-height:70px */
html body.site #sp-logo .logo-image,
html body.site #sp-logo .logo-image-phone {
	height: auto !important;
	width: 112px !important;
	max-height: none !important;
	object-fit: contain;
}
@media (max-width: 991.98px) {
	html body.site #sp-logo .logo-image,
	html body.site #sp-logo .logo-image-phone {
		width: 72px !important;
	}
}

/* 7) Полоса «Партнёры Таро-Клуба» перед подвалом */
body.site #sp-bottom4 {
	padding: 8px 0 12px;
}
body.site #sp-bottom4 .mod_sppagebuilder,
body.site #sp-bottom4 .sp-module {
	margin: 0 0 8px;
}
/* заголовок «Партнеры Таро-Клуба»: тот же крупный serif, что на клубе */
body.site #sp-bottom4 .sppb-addon-header .sppb-addon-title {
	font-family: "Cormorant Garamond", Georgia, serif !important;
	font-size: clamp(32px, 3.8vw, 52px) !important;
	font-weight: 500 !important;
	line-height: 1.08 !important;
	color: #22374D !important;
	text-align: center;
	margin: 0 0 18px !important;
	max-width: none !important;
}
body.site #sp-bottom4 .tc-sh {
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 18px;
}
body.site #sp-bottom4 .sppb-addon-clients .sppb-row,
body.site #sp-bottom4 .sppb-addon-clients .sppb-addon-content > .sppb-row {
	display: flex !important;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 12px 24px;
	margin-left: 0 !important;
	margin-right: 0 !important;
}
body.site #sp-bottom4 .sppb-addon-clients [class*="sppb-col-"] {
	flex: 0 1 220px;
	max-width: 260px;
	width: auto !important;
	float: none !important;
	display: flex;
	justify-content: center;
	align-items: center;
	padding-left: 12px;
	padding-right: 12px;
}
body.site #sp-bottom4 .sppb-addon-clients,
body.site #sp-bottom4 .sppb-addon-clients .sppb-addon-content {
	text-align: center !important;
}
body.site #sp-bottom4 .sppb-addon-clients img,
body.site #sp-bottom4 .sppb-clients img,
body.site #sp-bottom4 .sppb-addon-clients-image {
	max-height: 72px;
	width: auto;
	object-fit: contain;
	filter: none !important;
}



/* 10) Тароша: панель как в клубе (только CSS). Модель .glb и тексты «Карта дня» не трогаем.
   Школьный tarosha-panel 1.7 сжимает окно; возвращаем размеры и крестик из tc4/tarosha3d клуба. */
html body.site .tc-tw-panel{
	width:min(332px,calc(100vw - 32px)) !important;
	max-height:calc(100vh - 120px) !important;
	padding:18px !important;
	border-radius:28px !important;
}
html body.site .tc-tw-h{gap:12px !important;margin-bottom:12px !important;padding-right:34px !important}
html body.site .tc-tw-h img{width:40px !important;height:40px !important}
html body.site .tc-tw-h b{font-size:22px !important}
html body.site .tc-tw-p{font-size:13.5px !important;line-height:1.55 !important;margin-bottom:12px !important}
html body.site .tc-tw-menu{gap:8px !important}
html body.site .tc-tw-menu button{padding:11px 14px !important;gap:12px !important;border-radius:18px !important;font-size:14px !important;font-weight:600}
html body.site .tc-tw-menu span.tc-i{width:30px !important;height:30px !important}
html body.site .tc-tw-menu svg{width:16px !important;height:16px !important}
html body.site .tc-tw .tc-tw-panel > .tc-tw-x,
html body.site .tc-tw-x{
	position:absolute !important;
	top:12px !important;
	right:12px !important;
	z-index:6 !important;
	width:36px !important;
	height:36px !important;
	padding:0 !important;
	display:flex !important;
	align-items:center !important;
	justify-content:center !important;
	font-size:20px !important;
	line-height:1 !important;
	pointer-events:auto !important;
}
@media (max-width:700px){
	html body.site .tc-tw-panel{
		max-height:min(70dvh, calc(100dvh - 110px)) !important;
		padding:16px !important;
	}
}

/* ===== /18.11.2026 ===== */

/* ===== 18.11.2026 design4: нижнее меню, обложки курса, видеотека ===== */

/* Нижнее меню (позиция section-bottom): показать несмотря на tcsfx-nostrip,
   светлая пилюля как у нижнего меню клуба, скрыть на xs. Ссылки не меняются. */
body.site #sp-section-bottom,
body.site.tcsfx-nostrip #sp-section-bottom,
body.site.tcsfx-nostrip section:has(> .container #sp-section-bottom),
body.site.tcsfx-nostrip section:has(> .row #sp-section-bottom) {
	display: block !important;
}
body.site section:has(> .row #sp-section-bottom),
body.site #sp-section-9,
body.site #sp-section-bottom,
body.site #sp-section-bottom.sp-header {
	background: transparent !important;
	position: static !important;
	height: auto !important;
	min-height: 0 !important;
	padding: 4px 0 16px !important;
	margin: 0 !important;
	border: 0 !important;
	box-shadow: none !important;
}
body.site #sp-section-bottom,
body.site #sp-section-bottom.sp-header {
	padding: 0 !important;
}
body.site #sp-section-bottom > .sp-column,
body.site #sp-section-bottom .mod-sppagebuilder,
body.site #sp-section-bottom .sp-module,
body.site #sp-section-bottom .page-content,
body.site #sp-section-bottom .sppb-section,
body.site #sp-section-bottom .sppb-row,
body.site #sp-section-bottom .sppb-column,
body.site #sp-section-bottom .sppb-addon-wrapper,
body.site #sp-section-bottom [id^="sppb-addon"],
body.site #sp-section-bottom .sppb-container-inner,
body.site #sp-section-bottom .sp-column {
	background: transparent !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	margin: 0 !important;
	padding: 0 !important;
	width: 100%;
	max-width: none;
}
body.site #sp-section-bottom .sppb-link-list-wrap ul,
body.site #sp-section-bottom #nav-menu {
	display: flex !important;
	flex-wrap: nowrap;
	justify-content: center;
	align-items: center;
	gap: 0;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
	width: 100%;
	max-width: none;
}
body.site #sp-section-bottom .sppb-link-list-wrap li {
	margin: 0 !important;
	padding: 0 !important;
	float: none !important;
	flex: 0 0 auto;
	background: transparent !important;
	background-color: transparent !important;
}
body.site #sp-section-bottom .sppb-link-list-wrap li:hover,
body.site #sp-section-bottom .sppb-link-list-wrap li:active,
body.site #sp-section-bottom .sppb-link-list-wrap ul :hover,
body.site #sp-section-bottom .sppb-link-list-wrap.sppb-link-list-nav ul li :active,
body.site #sp-section-bottom #nav-menu li:hover,
body.site #sp-section-bottom #nav-menu li:active {
	background: transparent !important;
	background-color: transparent !important;
}
body.site #sp-section-bottom .sppb-row-column,
body.site #column-wrap-id-1683733880945 {
	padding-left: 10px !important;
	padding-right: 10px !important;
	max-width: 100% !important;
	flex-basis: 100% !important;
	box-sizing: border-box;
}
body.site #sp-section-bottom .sppb-addon-wrapper {
	background: transparent !important;
	box-shadow: none !important;
	width: 100% !important;
	max-width: none !important;
	padding: 0 !important;
	margin: 0 !important;
	box-sizing: border-box;
}
body.site #sp-section-bottom .sppb-addon-wrapper > [id^="sppb-addon"] {
	background: rgba(255, 255, 255, 0.55) !important;
	border-radius: 999px !important;
	box-shadow: inset 0 1px 0 #fff, 0 10px 24px -14px rgba(38, 58, 84, 0.4) !important;
	padding: 6px 10px !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	box-sizing: border-box;
}
body.site #sp-section-bottom .sppb-link-list-wrap a,
body.site #sp-section-bottom #nav-menu a {
	display: block !important;
	color: #22374D !important;
	background: transparent !important;
	font-family: Manrope, system-ui, -apple-system, "Segoe UI", sans-serif !important;
	font-size: 11px !important;
	font-weight: 600 !important;
	line-height: 1 !important;
	letter-spacing: 1.32px;
	text-transform: uppercase !important;
	padding: 12px 16px !important;
	border-radius: 999px !important;
	white-space: nowrap;
	text-decoration: none !important;
}
body.site #sp-section-bottom .sppb-link-list-wrap a:hover,
body.site #sp-section-bottom .sppb-link-list-wrap a:focus,
body.site #sp-section-bottom .sppb-link-list-wrap a:active,
body.site #sp-section-bottom #nav-menu a:hover,
body.site #sp-section-bottom #nav-menu a:focus,
body.site #sp-section-bottom #nav-menu a:active,
body.site #sppb-addon-1683733909246 li a:hover,
body.site #sppb-addon-1683733909246 li a:focus,
body.site #sppb-addon-1683733909246 li a:active {
	background: #D6E1EC !important;
	background-color: #D6E1EC !important;
	color: #35516E !important;
	border-radius: 999px !important;
}
@media (max-width: 575.98px) {
	body.site #sp-section-bottom,
	body.site.tcsfx-nostrip #sp-section-bottom,
	body.site section:has(#sp-section-bottom),
	body.site.tcsfx-nostrip section:has(#sp-section-bottom),
	body.site section:has(> .row #sp-section-bottom),
	body.site.tcsfx-nostrip section:has(> .row #sp-section-bottom),
	body.site section:has(> .container #sp-section-bottom),
	body.site.tcsfx-nostrip section:has(> .container #sp-section-bottom) {
		display: none !important;
	}
}

/* Страница курса: баннер 16:9, object-fit cover, скругление как на сайте */
body.tcs-splms-course #splms .splms-course-banner,
body.com_splms.view-course #splms .splms-course-banner {
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: 26px;
	background: transparent;
	box-shadow: var(--tcs-shadow, 0 22px 40px -30px rgba(34,55,77,.5));
}
body.tcs-splms-course #splms .splms-course-banner .course-thumbnail,
body.com_splms.view-course #splms .splms-course-banner .course-thumbnail {
	display: block;
	width: 100%;
	height: 100%;
	overflow: hidden;
	background: transparent;
}
body.tcs-splms-course #splms .splms-course-banner .course-thumbnail img,
body.tcs-splms-course #splms .splms-course-banner img,
body.com_splms.view-course #splms .splms-course-banner .course-thumbnail img,
body.com_splms.view-course #splms .splms-course-banner img {
	display: block;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover;
	object-position: center center;
	background: transparent;
}

/* Видеотека /videoteka (itemid-732): шапка и сетка Rutube на одной ширине 1400,
   отступ от «Главная — Видеотека», без обрезки текста в .tcs-head. */
body.itemid-732 #sp-main-body > .container {
	max-width: 1400px !important;
	width: 100% !important;
}
body.itemid-732 #sp-component .tcs-page,
body.itemid-732 article.tcs-page {
	max-width: 1400px;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	padding-left: 0;
	padding-right: 0;
}
body.itemid-732 .tcs-page .tcs-crumbs,
body.itemid-732 article.tcs-page .tc-crumbs {
	margin-top: 26px;
	margin-bottom: 32px;
}
body.itemid-732 .tcs-head {
	overflow: visible;
	margin-top: 0;
}
body.itemid-732 .tcs-head::after {
	overflow: hidden;
	pointer-events: none;
}
body.itemid-732 .tcs-head h1,
body.itemid-732 .tcs-head .tcs-sub {
	max-width: none;
}
body.itemid-732 #sp-component .sp-module-content-bottom,
body.itemid-732 #sp-component .sp-module-content-bottom .sp-module,
body.itemid-732 #sp-component .sp-module-content-bottom .sp-module-content,
body.itemid-732 #sp-component .tcrt,
body.itemid-732 #sp-component .tcrt-grid {
	max-width: none;
	width: 100%;
	margin-left: 0;
	margin-right: 0;
	padding-left: 0;
	padding-right: 0;
	float: none;
}
body.itemid-732 .tcs-head,
body.itemid-732 .tcs-page .tcs-crumbs {
	width: 100%;
	box-sizing: border-box;
}

/* ===== /18.11.2026 design4 ===== */

/* ===== 20.11.2026 teachers cards: рамка фото целиком внутри карточки ===== */
/* Причина: tcp-mc задаёт фото 150px в контейнере 56×56 с overflow:visible,
   из-за min-width:auto и place-items:center рамка вылезает за левый край.
   Карточка Эльдемурова из-за этого становилась шире остальных. Откат: удалить блок. */
html body.site .tch-masters .tc-master {
	box-sizing: border-box;
	min-width: 0;
	width: 100%;
	max-width: 100%;
}
html body.site .tch-masters .tc-master > div {
	min-width: 0;
	flex: 1 1 auto;
}
html body.site .tch-masters .tc-master b,
html body.site .tch-masters .tc-master span,
html body.site .tch-masters .tc-master .tcs-mem-name {
	overflow-wrap: anywhere;
	word-break: break-word;
	white-space: normal;
}
html body.site.tcp-mc .tch-masters .tc-master .tc-ph,
html body.site .tch-masters.tch-n4 .tc-master .tc-ph {
	box-sizing: border-box;
	flex: 0 0 64px;
	width: 64px;
	height: auto;
	aspect-ratio: 2 / 3;
	max-width: 64px;
	min-width: 0;
	margin: 0;
	padding: 0;
	overflow: hidden;
	display: grid;
	place-items: center;
	border-radius: 12px;
}
html body.site.tcp-mc .tch-masters .tc-master .tc-ph img,
html body.site.tcp-mc .tch-masters .tc-master .tc-ph img:not([src*="/mastera/"]) {
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	height: auto;
	aspect-ratio: 2 / 3;
	min-width: 0;
	justify-self: stretch;
	align-self: stretch;
	display: block;
}
html body.site .tch-masters .tc-master.tcs-memoriam {
	width: 100%;
	max-width: 100%;
	margin-left: 0;
	margin-right: 0;
	box-sizing: border-box;
}
html body.site .tch-masters .tc-master.tcs-memoriam .tc-ph {
	border: 2px solid #8b9096;
	background: #e6e7e8;
}
@media (max-width: 767.98px) {
	html body.site .tch-masters .tc-master {
		padding-left: 18px;
		padding-right: 16px;
		gap: 14px;
	}
	html body.site.tcp-mc .tch-masters .tc-master .tc-ph,
	html body.site .tch-masters.tch-n4 .tc-master .tc-ph {
		flex: 0 0 68px;
		width: 68px;
		max-width: 68px;
	}
}
/* ===== /20.11.2026 teachers cards ===== */

/* ===== 20.11.2026 Tarosha school panel: меню в 2 колонки, панель не закрывает страницу ===== */
/* Только школа (модуль 359 / #tc-tw). Параметры модуля, тексты и JS не трогаем.
   Откат: удалить этот блок. */
html body.site .tc-tarosha-mod .tc-tw-panel,
html body.site #tc-tw .tc-tw-panel {
	max-height: min(80vh, 80dvh) !important;
	overflow: auto !important;
	overscroll-behavior: contain;
}
html body.site .tc-tarosha-mod .tc-tw-menu,
html body.site #tc-tw .tc-tw-menu {
	display: grid !important;
	grid-template-columns: 1fr 1fr !important;
	gap: 6px !important;
}
html body.site .tc-tarosha-mod .tc-tw-menu button,
html body.site #tc-tw .tc-tw-menu button {
	min-width: 0 !important;
	width: 100%;
	box-sizing: border-box;
	display: flex !important;
	align-items: flex-start !important;
	gap: 8px !important;
	padding: 8px !important;
	white-space: normal !important;
	overflow-wrap: break-word;
	word-break: normal;
	hyphens: manual;
	text-align: left;
	line-height: 1.25;
	font-size: 13px !important;
}
html body.site .tc-tarosha-mod .tc-tw-menu span.tc-i,
html body.site #tc-tw .tc-tw-menu span.tc-i {
	flex: 0 0 auto;
}
/* стрелка занимала узкую колонку и рвала слова посередине */
html body.site .tc-tarosha-mod .tc-tw-menu button em,
html body.site #tc-tw .tc-tw-menu button em {
	display: none !important;
}
/* ===== /20.11.2026 Tarosha school panel ===== */

/* Значок «глаз» справа у поля пароля. Касание не меньше 44px. */
:root {
  --tcpw-eye: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M2 12s3.6-6 10-6 10 6 10 6-3.6 6-10 6S2 12 2 12z'/><circle cx='12' cy='12' r='2.6'/></svg>");
  --tcpw-eye-off: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M3 4.5 20.5 20'/><path d='M10.2 6.3A11 11 0 0 1 12 6c6.4 0 10 6 10 6a17 17 0 0 1-3.4 3.9'/><path d='M6 7C3.7 8.6 2.2 10.7 2 12c0 0 3.6 6 10 6 1.6 0 3-.3 4.2-.9'/><path d='M9.8 9.9a2.8 2.8 0 0 0 4.1 4.1'/></svg>");
}
.tcpw {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
}
.tcs-cab-form .tcs-cab-field span.tcpw {
  display: block;
  margin: 0;
}
.tcpw > input {
  width: 100%;
  box-sizing: border-box;
  padding-right: 48px;
}
.tcs-cab-form .tcpw > input[type="text"],
.tcs-cab-form .tcpw > input[type="password"] {
  padding-right: 48px;
}
.tcpw-btn {
  position: absolute;
  right: 2px;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #35516E;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.tcpw-btn:hover,
.tcpw-btn:focus-visible {
  color: #7A5A28;
  outline: 2px solid rgba(198, 159, 88, .55);
  outline-offset: 1px;
}
.tcpw-btn svg {
  width: 22px;
  height: 22px;
  display: block;
}
.tcpw-btn .tcpw-off { display: none; }
.tcpw-btn[aria-pressed="true"] .tcpw-on { display: none; }
.tcpw-btn[aria-pressed="true"] .tcpw-off { display: block; }
.password-group .input-group,
.input-group:has(> .input-password-toggle) {
  position: relative;
  width: 100%;
}
.password-group .input-group > input.form-control,
.input-group:has(> .input-password-toggle) > input {
  width: 100% !important;
  border-radius: 12px !important;
  padding-right: 48px !important;
}
button.input-password-toggle {
  position: absolute;
  right: 1px;
  top: 1px;
  bottom: 1px;
  width: 44px;
  min-width: 44px;
  height: auto;
  margin: 0;
  padding: 0;
  border: 0 !important;
  border-radius: 12px;
  background: transparent !important;
  color: #35516E;
  box-shadow: none !important;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
button.input-password-toggle:hover,
button.input-password-toggle:focus-visible {
  color: #7A5A28;
  background: transparent !important;
  outline: 2px solid rgba(198, 159, 88, .55);
  outline-offset: -2px;
}
button.input-password-toggle .icon-eye::before,
button.input-password-toggle .icon-eye-slash::before,
#show-password.fa::before {
  content: "" !important;
  font-size: 0 !important;
  display: block;
  width: 22px;
  height: 22px;
  background-color: currentColor;
  -webkit-mask: var(--tcpw-eye) center / contain no-repeat;
  mask: var(--tcpw-eye) center / contain no-repeat;
}
button.input-password-toggle .icon-eye-slash::before,
#show-password.fa-eye-slash::before {
  -webkit-mask-image: var(--tcpw-eye-off);
  mask-image: var(--tcpw-eye-off);
}
#show-password.fa {
  font-size: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: #35516E;
  cursor: pointer;
}
.uk-form-controls.input-group > .input-group-addon,
.wk-form-controls.input-group > .input-group-addon {
  min-width: 44px;
  min-height: 44px;
}

@media (min-width: 1441px) {
	body.itemid-732 #sp-main-body > .container,
	body.itemid-732 #sp-component .tcs-page,
	body.itemid-732 article.tcs-page {
		max-width: 97% !important;
		width: 100% !important;
		margin-left: auto !important;
		margin-right: auto !important;
	}
}
