/* ===== Оқытушы профилі (single-teachers.php, inc/teacher-profile.php) — 2026-10-16; 2026-10-19 — визитка баннерде =====
   Баннер 2 бағанды: сол жақта дөңгелек фото + бөлімше, аты-жөні, лауазымы; оң жақта «шыны» карточка — ғылыми профильдер
   мен байланыстар; төменгі жағында сандар жолы. Астында қойындылар мен бөлім — толық енде (бүйір визитка жоқ).
   Телефонда баннер бір бағанда, ортада: фото → бөлімше → аты-жөні → лауазымы → карточка → сандар.
   Бүйір визиткалы бұрынғы нұсқа: _backups/2026-10-19-teacher-banner/ */

.tcp { --b: #0052a5; --ink: #0a1628; --mut: #64748b; --line: #e3e9f1; --gold: linear-gradient(135deg, #f5c46b, #e0a526);
    background: #f4f7fb; color: var(--ink); }
.tcp *, .tcp *::before, .tcp *::after { box-sizing: border-box; }
.tcp a { text-decoration: none; }
.tcp svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tcp-ui { font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }

/* --- Баннер --- */
.tcp-hero { position: relative; padding: 36px 0 0; color: #fff;
    background: #0b2f63 url(../images/1wkau-1920.webp) center 30% / cover no-repeat; }
.tcp-hero::before { content: ""; position: absolute; inset: 0;
    background: linear-gradient(120deg, rgba(10, 22, 40, .92) 0%, rgba(11, 47, 99, .86) 50%, rgba(0, 82, 165, .72) 100%); }
.tcp-hero .container { position: relative; }
.tcp .tcp-hero__name { margin: 0 0 8px; font-size: 34px !important; line-height: 1.2; font-weight: 700; color: #fff !important; }
.tcp-hero__pos { margin: 0 0 14px; font-size: 17px; color: rgba(255, 255, 255, .92); }
/* Бөлімше батырмасы (2026-10-19; лауазымның астында — 3-жол): «шыны» карточка — алтын белгіше, атауы, дөңгелек көрсеткі; «Бөлімше» жазуы жоқ — институт, факультет, орталық, кафедра атауы өзі түсіндіреді */
/* Бірнеше бірлікте жұмыс істесе (Бейшова: Ғылым басқармасы + Сынау орталығы) — батырмалар қатар, лауазымдағы ретпен */
.tcp-hero__depts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tcp .tcp-hero__dept { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; margin: 0; padding: 5px 6px 5px 5px; border-radius: 14px;
    background: linear-gradient(135deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .07)); border: 1px solid rgba(255, 255, 255, .24);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: 0 10px 26px -16px rgba(0, 0, 0, .55);
    color: #fff; text-decoration: none; transition: background .2s, border-color .2s, transform .2s; }
.tcp .tcp-hero__dept:hover { background: linear-gradient(135deg, rgba(255, 255, 255, .24), rgba(255, 255, 255, .12)); border-color: rgba(245, 196, 107, .7); color: #fff; transform: translateY(-1px); }
.tcp-hero__dept-ic { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 10px;
    background: linear-gradient(135deg, #f5c46b, #e0a526); color: #0a1628; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45); }
.tcp .tcp-hero__dept-ic svg { width: 19px; height: 19px; stroke-width: 1.9; }
.tcp-hero__dept-t { display: flex; flex-direction: column; min-width: 0; font: 600 14.5px/1.35 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
.tcp-hero__dept-go { display: grid; place-items: center; flex: none; width: 28px; height: 28px; margin-left: 4px; border-radius: 50%;
    background: rgba(255, 255, 255, .14); transition: background .2s, transform .2s; }
.tcp .tcp-hero__dept-go svg { width: 15px; height: 15px; }
.tcp .tcp-hero__dept:hover .tcp-hero__dept-go { background: #fff; color: #0a1628; transform: translateX(2px); }
/* Сандар жолы — баннердің төменгі жағында */
.tcp-stats { display: flex; margin-top: 28px; border-top: 1px solid rgba(255, 255, 255, .18); }
.tcp-stat { flex: 1; padding: 16px 10px; text-align: center; border-left: 1px solid rgba(255, 255, 255, .12); }
.tcp-stat:first-child { border-left: 0; }
.tcp-stat b { display: block; font-size: 28px; line-height: 1.1; font-weight: 700;
    background: var(--gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tcp-stat span { font: 600 12.5px system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; color: rgba(255, 255, 255, .85); }
.tcp-hero:not(:has(.tcp-stats)) { padding-bottom: 36px; }

/* Баннер торы: визитка (фото + аты-жөні) | профильдер мен байланыстар карточкасы */
.tcp-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); gap: 36px; align-items: center; }
.tcp-hero__grid--solo { grid-template-columns: minmax(0, 1fr); }
.tcp-hero__id { display: flex; align-items: center; gap: 28px; min-width: 0; }
.tcp-hero__txt { min-width: 0; }
.tcp-hero__txt .tcp-hero__pos { margin-bottom: 0; }
.tcp-hero__card { padding: 16px 18px 8px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 16px;
    background: linear-gradient(135deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .05)); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.tcp-card { background: #fff; border: 1px solid #edf1f6; border-radius: 16px; box-shadow: 0 10px 30px -22px rgba(16, 46, 90, .45); }

/* Дөңгелек фото, бет ортада (2026-10-19): <img> шаршы ішінде пайызбен жылжиды (wkau_tcp_avatar); баннерде — алтын жиек */
.tcp-ava { position: relative; flex: none; width: 176px; aspect-ratio: 1; margin: 0; border-radius: 50%; overflow: hidden; background: #eef3f9;
    border: 4px solid rgba(255, 255, 255, .95); box-shadow: 0 0 0 3px rgba(245, 196, 107, .75), 0 22px 44px -18px rgba(0, 0, 0, .7); box-sizing: border-box; }
.tcp-ava img { position: absolute; display: block; max-width: none; height: auto; margin: 0; border-radius: 0; }
.tcp-ava--fit img, .tcp-ava--none img { inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.tcp-ava--none img { object-fit: contain; padding: 22%; box-sizing: border-box; }
.tcp-profs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.tcp .tcp-prof { display: inline-flex; align-items: center; gap: 8px; padding: 8px 11px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 10px;
    background: rgba(255, 255, 255, .95); color: var(--ink); font: 600 13.5px system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; transition: border-color .2s, background .2s; }
.tcp .tcp-prof:hover { border-color: #b9cbe3; background: #f8fafd; color: var(--ink); }
.tcp-prof svg { width: 13px; height: 13px; color: var(--mut); }
.tcp-prof i { width: 20px; height: 20px; flex: none; border-radius: 5px; background: var(--b) center / 100% no-repeat; }
.tcp-prof--orcid i { border-radius: 50%; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%23A6CE39'/%3E%3Cpath fill='%23fff' d='M8 7.2a.9.9 0 1 1 0 1.8.9.9 0 0 1 0-1.8M7.3 10h1.4v7H7.3zm3.2 0h3.1c2.9 0 4.2 2.1 4.2 3.5 0 1.9-1.5 3.5-4.2 3.5h-3.1zm1.4 1.3v4.4h1.6c2.3 0 2.9-1.6 2.9-2.2 0-1-.6-2.2-2.8-2.2z'/%3E%3C/svg%3E"); }
.tcp-prof--li i { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect width='24' height='24' rx='4' fill='%230A66C2'/%3E%3Cpath fill='%23fff' d='M7 9.5h2.4V18H7zm1.2-3.8a1.4 1.4 0 1 1 0 2.8 1.4 1.4 0 0 1 0-2.8M10.9 9.5h2.3v1.2c.3-.6 1.1-1.4 2.4-1.4 2.5 0 3 1.6 3 3.8V18h-2.4v-4.3c0-1 0-2.3-1.4-2.3s-1.6 1.1-1.6 2.2V18h-2.3z'/%3E%3C/svg%3E"); }
.tcp-prof--scopus i { background: #e9711c; }
.tcp-prof--wos i { background: #5e33bf; }
.tcp-prof--scholar i { background: #4285f4; }
.tcp-prof--rg i { background: #00ccbb; }
/* Байланыстар — қараңғы баннерде: ақ мәтін, алтын белгіше */
.tcp-ct { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid rgba(255, 255, 255, .16); color: #fff; font-size: 14.5px; word-break: break-word; }
.tcp-ct:first-child { border-top: 0; }
.tcp-cts:only-child .tcp-ct:first-child { padding-top: 2px; }
.tcp-profs + .tcp-cts .tcp-ct:first-child { border-top: 1px solid rgba(255, 255, 255, .16); }
.tcp-ct > svg { color: #f5c46b; }
.tcp-ct small { display: block; font: 600 11px system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .62); }
.tcp a.tcp-ct { color: #fff; }
.tcp a.tcp-ct:hover { color: #f5c46b; }

/* Қойындылар */
.tcp-main { display: flex; flex-direction: column; gap: 18px; min-width: 0; margin: 20px 0 64px; }
/* Қойындылар жолы — баннердің астында, толық енде. Барлық экранда тақталар: белгі үстінде, атауы астында (ортада),
   сан — жоғарғы оң бұрышта; қаріп — сайттыкі (2026-10-17). Компьютерде бір жол, телефонда 2 баған (төменде) */
.tcp > .container > .tcp-tabs { margin-top: 24px; }
.tcp-tabs { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; padding: 8px; }
.tcp .tcp-tab { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px;
    min-height: 82px; padding: 14px 12px 12px; border: 1px solid var(--line); border-radius: 14px; background: #f8fafd; color: var(--ink);
    font-family: inherit; font-size: 14px; font-weight: 700; line-height: 1.3; text-align: center; white-space: normal; cursor: pointer;
    transition: background .2s, border-color .2s, box-shadow .2s; }
.tcp-tab svg { width: 22px; height: 22px; color: var(--b); }
.tcp .tcp-tab b { position: absolute; top: 7px; right: 7px; padding: 0 7px; border-radius: 999px; background: #eef4fb; color: var(--b);
    font-family: inherit; font-size: 11.5px; font-weight: 700; line-height: 19px; }
.tcp-tab:hover:not(.is-active) { background: #eef4fb; border-color: #cfdcec; }
.tcp .tcp-tab.is-active { border-color: var(--b); background: var(--b); color: #fff; box-shadow: 0 10px 20px -14px rgba(0, 82, 165, .9); }
.tcp-tab.is-active svg { color: #fff; }
.tcp .tcp-tab.is-active b { background: rgba(255, 255, 255, .2); color: #fff; }
.tcp-tab:focus-visible { outline: 3px solid rgba(0, 82, 165, .35); outline-offset: 2px; }
.tcp-pane { display: none; padding: 26px 28px; }
.tcp-pane.is-active { display: block; }
.tcp-main > .tcp-pane:only-child, .tcp-main > .tcp-pane:first-child:last-child { display: block; }

.tcp .tcp-h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; font-size: 20px !important; line-height: 1.3; font-weight: 700; color: var(--ink); }
.tcp-h2 i { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: #eef4fb; color: var(--b); flex: none; }
.tcp-h2 small { margin-left: auto; font: 600 13px system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; color: var(--mut); }
.tcp-h3 { margin: 20px 0 10px; font-size: 16px; font-weight: 700; }
.tcp-rich { font-size: 15px; line-height: 1.65; }
.tcp-rich + *, * + .tcp-rich { margin-top: 14px; }
.tcp-rich > :last-child { margin-bottom: 0; }

.tcp-year { flex: none; align-self: flex-start; padding: 3px 9px; border-radius: 999px; background: #eef4fb; color: var(--b);
    font: 700 12px/1.4 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
.tcp .tcp-file { display: flex; align-items: center; gap: 6px; width: max-content; max-width: 100%; margin-top: 8px; padding: 5px 11px;
    border: 1px solid #cfdcec; border-radius: 8px; color: var(--b); font: 600 13px system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
.tcp .tcp-file:hover { background: #eef4fb; color: var(--b); }
.tcp-file svg { width: 15px; height: 15px; }

/* Жарияланымдар */
.tcp-pubs { list-style: none; margin: 0; padding: 0; }
.tcp-pub { display: flex; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.6; }
.tcp-pub:first-child { border-top: 0; padding-top: 4px; }
.tcp-pub__n { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--b); color: #fff;
    font: 700 12px system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
.tcp-pub__body { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.tcp-pub__body strong { color: var(--ink); }

/* Жобалар, оқу құралдары, патенттер */
.tcp-items { display: flex; flex-direction: column; gap: 10px; }
.tcp-item { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: #f8fafd; font-size: 15px; line-height: 1.6; }
.tcp-item > svg { color: var(--b); margin-top: 3px; }
.tcp-item > div { flex: 1; min-width: 0; overflow-wrap: anywhere; }

/* Жетістіктер */
.tcp-ach { display: flex; flex-direction: column; gap: 10px; }  /* әр жетістік — толық енді бір жол (2026-10-17, бұрын 2 бағанды тар карточкалар) */
.tcp-ach__card { display: flex; gap: 14px; align-items: center; padding: 12px 16px; border: 1px solid #f3e1b5; border-radius: 12px; background: #fffaf0; font-size: 15px; line-height: 1.55; }
.tcp-ach__card > svg { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--gold); stroke: #fff; }
.tcp-ach__card > div { flex: 1; min-width: 0; overflow-wrap: anywhere; }

/* Біліктілік арттыру — уақыт сызығы */
.tcp-tl { list-style: none; margin: 0; padding: 0; position: relative; }
.tcp-tl::before { content: ""; position: absolute; left: 31px; top: 8px; bottom: 8px; width: 2px; background: #d8e3f1; }
.tcp-tl__item { position: relative; display: flex; gap: 18px; align-items: flex-start; padding-bottom: 16px; }
.tcp-tl__item:last-child { padding-bottom: 0; }
.tcp-tl__year { position: relative; z-index: 1; flex: none; width: 64px; padding: 4px 0; border-radius: 999px; background: var(--b); color: #fff; text-align: center;
    font: 700 13px system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
.tcp-tl__year--none { width: 14px; height: 14px; padding: 0; margin: 6px 25px 0; border: 3px solid #fff; box-shadow: 0 0 0 2px var(--b); }
.tcp-tl__card { flex: 1; min-width: 0; display: flex; flex-direction: column; padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; background: #f8fafd;
    font-size: 15px; line-height: 1.6; overflow-wrap: anywhere; }

.tcp-skills { display: flex; flex-wrap: wrap; gap: 8px; }
.tcp-skill { padding: 6px 12px; border-radius: 999px; background: #eef4fb; color: var(--b); font: 600 13px system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }

/* h-index (Scopus, Web of Science) — батырма ішінде */
.tcp-prof em { padding: 1px 6px; border-radius: 6px; background: #eef4fb; color: var(--b); font: 700 11.5px system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; font-style: normal; }

/* Кестелер (inc/teacher-profile.php → wkau_tcp_tables): бекітілген ендер алынған, бет кеңеймейді */
.tcp-table { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 14px 0; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.tcp .tcp-table table { width: 100% !important; min-width: 0; margin: 0 !important; border: 0; border-collapse: collapse; font-size: 14.5px; line-height: 1.5; }
.tcp .tcp-table td, .tcp .tcp-table th { width: auto !important; padding: 10px 14px; border: 0; border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; overflow-wrap: break-word; } /* anywhere емес: тар бағанда сөз ортасынан бөлінетін («Караш|а») */
.tcp .tcp-table tr:last-child > td, .tcp .tcp-table tr:last-child > th { border-bottom: 0; }
.tcp .tcp-table td + td, .tcp .tcp-table th + th, .tcp .tcp-table th + td { border-left: 1px solid var(--line); }
.tcp .tcp-table .tcp-thead > td, .tcp .tcp-table th { background: #f4f7fb; color: var(--ink); font-weight: 700; }
.tcp .tcp-table p { margin: 0; }
.tcp .tcp-table p + p { margin-top: 4px; }
.tcp .tcp-brk { word-break: break-all; } /* ұзын код/URL (wkau_tcp_tables) — кесте кеңеймесін */

/* ===== Қойындылар ішіндегі қаріп стандарты (2026-10-17) =====
   Бұрын: құрылымды блоктар 15px, редактордан келген абзацтар 18px (news-page__text — жаңалық бетінің стилі),
   мазмұндағы тақырыптар 24–36px (h2.wkau-ch1, has-large-font-size), кестелер 14.5px.
   Енді: мәтін — 15px / 1.65; мазмұндағы тақырыптар — h1–h2 18px, h3 16.5px, h4–h6 15px (қалың); кесте — 14.5px;
   ұсақ мәліметтер (жыл, батырма, сан) — 12–13px. Редактор/Word өлшемдері (класс, style="font-size") қойынды ішінде еленбейді. */
.tcp-pane { font-size: 15px; line-height: 1.65; }
.tcp .tcp-pane .tcp-rich { font-size: 15px; line-height: 1.65; color: #1f2a37; }
.tcp .tcp-pane .tcp-rich :is(p, li, span, a, strong, b, em, i, u, s, sub, sup, small, font, div, pre, blockquote, code, mark, label) {
    font-size: inherit !important;
    line-height: inherit !important;
}
.tcp .tcp-pane .tcp-rich :is(sub, sup) { font-size: .75em !important; line-height: 0 !important; }
.tcp .tcp-pane .tcp-rich p { margin: 0 0 10px; }
.tcp .tcp-pane .tcp-rich pre { white-space: pre-wrap; font-family: inherit; background: none; padding: 0; margin: 0 0 10px; }
.tcp .tcp-pane .tcp-rich :is(h1, h2) { font-size: 18px !important; line-height: 1.35 !important; margin: 22px 0 10px !important; font-weight: 700; color: var(--ink); }
.tcp .tcp-pane .tcp-rich h3 { font-size: 16.5px !important; line-height: 1.4 !important; margin: 18px 0 8px !important; font-weight: 700; color: var(--ink); }
.tcp .tcp-pane .tcp-rich :is(h4, h5, h6) { font-size: 15px !important; line-height: 1.5 !important; margin: 16px 0 6px !important; font-weight: 700; color: var(--ink); }
.tcp .tcp-pane .tcp-rich :is(h1, h2, h3, h4, h5, h6) :is(span, strong, b, a, em, u) { font-size: inherit !important; line-height: inherit !important; }
.tcp .tcp-pane .tcp-rich > :first-child { margin-top: 0 !important; }
.tcp .tcp-pane .tcp-table :is(td, th, td *, th *) { font-size: 14.5px !important; line-height: 1.5 !important; }
.tcp .tcp-pane :is(.tcp-pub, .tcp-item, .tcp-ach__card, .tcp-tl__card) { font-size: 15px; line-height: 1.65; }
.tcp .tcp-pane :is(.tcp-pub__body, .tcp-item > div, .tcp-ach__card > div, .tcp-tl__card) :is(span, a:not(.tcp-file), strong, b, em, i, u, font) { font-size: inherit !important; line-height: inherit !important; }

/* --- Планшет --- */
/* «Негізгі ақпарат»: ACF «Негізгі мәліметтер» өрістері — белгішелі карточкалар, ғылыми бағыты — белгілер (2026-10-17) */
.tcp-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0 0 6px; }
/* белгіше dt ішінде (жарамды <dl>), сол жақ бос орынға шығарылады: 16 + 38 + 12 */
.tcp-fact { position: relative; min-height: 38px; padding: 14px 16px 14px 66px; border: 1px solid var(--line); border-radius: 12px; background: #f8fafc; min-width: 0; }
.tcp-fact--wide { grid-column: 1 / -1; }
.tcp-fact__ic { position: absolute; left: 16px; top: 14px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: rgba(0, 82, 165, .08); color: var(--b); }
.tcp-fact__ic svg { width: 20px; height: 20px; }
.tcp .tcp-fact dt { margin: 0 0 3px; font-size: 12.5px; line-height: 1.4; font-weight: 600; color: var(--mut); }
.tcp .tcp-fact dd { margin: 0; font-size: 15px; line-height: 1.55; font-weight: 500; color: var(--ink); overflow-wrap: break-word; }
.tcp .tcp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 0; padding: 0; list-style: none; }
.tcp .tcp-chips li { margin: 0; padding: 5px 12px; border: 1px solid #cfe0f3; border-radius: 999px; background: #fff; color: var(--b); font-size: 13.5px; line-height: 1.4; font-weight: 500; }
.tcp .tcp-chips li::before { content: none !important; display: none !important; }
.tcp .tcp-more { margin: 26px 0 12px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.4; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--mut); }

/* Компьютерде breadcrumbs баннер үстінде (2026-10-19, сайттағы «breadcrumbs on hero» үлгісі — new-style.css,
   admission-new.css): ақ мәтін, баннер жоғары созылып, сәл биіктейді (+50px breadcrumbs жолы, +14px). Телефонда — бұрынғыдай. */
@media (min-width: 992px) {
    section.breadcrumbs:has(+ .tcp) { position: relative; z-index: 10; margin-bottom: -50px; background: transparent; }
    section.breadcrumbs:has(+ .tcp) .breadcrumbs__inner a { color: rgba(255, 255, 255, .85) !important; text-decoration: none; }
    section.breadcrumbs:has(+ .tcp) .breadcrumbs__inner a:hover { color: #fff !important; text-decoration: underline; }
    section.breadcrumbs:has(+ .tcp) .breadcrumbs__inner span { color: rgba(255, 255, 255, .85) !important; }
    section.breadcrumbs:has(+ .tcp) .breadcrumbs__inner > [property="itemListElement"]:last-child,
    section.breadcrumbs:has(+ .tcp) .breadcrumbs__inner > [property="itemListElement"]:last-child span { color: rgba(255, 255, 255, .6) !important; }
    section.breadcrumbs:has(+ .tcp) + .tcp .tcp-hero { padding-top: 84px; }
    section.breadcrumbs:has(+ .tcp) + .tcp .tcp-hero:not(:has(.tcp-stats)) { padding-bottom: 44px; }
}

@media (max-width: 1100px) {
    .tcp-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(260px, 320px); gap: 24px; }
    .tcp-hero__id { gap: 22px; }
    .tcp-ava { width: 148px; }
}
/* --- Телефон / тар планшет --- */
@media (max-width: 991px) {
    .tcp-hero { padding-top: 24px; }
    .tcp-hero__depts { flex-direction: column; }
    .tcp .tcp-hero__dept { display: flex; }
    .tcp-hero__dept-go { margin-left: auto; }
    .tcp .tcp-hero__name { font-size: 26px !important; }
    .tcp-hero__pos { font-size: 15.5px; }
    .tcp-stats { flex-wrap: wrap; margin-top: 20px; }
    .tcp-stat { flex: 1 1 25%; padding: 12px 4px; }
    .tcp-stat b { font-size: 22px; }
    .tcp-stat span { font-size: 11.5px; }
    /* Баннер бір бағанда, ортада: фото → бөлімше, аты-жөні, лауазымы → профильдер (ортада) мен байланыстар карточкасы */
    .tcp-hero__grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
    .tcp-hero__id { flex-direction: column; gap: 16px; text-align: center; }
    .tcp-hero__txt { width: 100%; }
    .tcp-ava { width: 136px; }
    .tcp-hero__card { padding: 14px 14px 6px; }
    .tcp-profs { justify-content: center; }
    .tcp > .container > .tcp-tabs { margin-top: 16px; }
    .tcp-main { margin: 16px 0 48px; }
    /* Қойындылар телефонда — 2 баған; тақ сан болса — соңғысы толық енде, бір жолда */
    .tcp-tabs { grid-template-columns: 1fr 1fr; }
    .tcp .tcp-tab { min-height: 74px; padding: 12px 10px 10px; font-size: 13px; gap: 6px; }
    .tcp .tcp-tab:last-child:nth-child(odd) { grid-column: 1 / -1; min-height: 58px; flex-direction: row; }
    .tcp .tcp-tab:last-child:nth-child(odd) b { position: static; }
    .tcp-pane { padding: 20px 16px; }
    .tcp-pub { gap: 10px; }
    .tcp-pub .tcp-year { display: none; }
    /* Кесте телефонда: әр жол — карточка, ұяшық алдында баған атауы (data-label) */
    .tcp-table--stack { border: 0; background: transparent; overflow: visible; }
    .tcp .tcp-table--stack table, .tcp .tcp-table--stack tbody, .tcp .tcp-table--stack tr, .tcp .tcp-table--stack td { display: block; width: 100% !important; }
    .tcp .tcp-table--stack .tcp-thead { display: none; }
    .tcp .tcp-table--stack tr { margin-bottom: 10px; padding: 4px 0; border: 1px solid var(--line); border-radius: 12px; background: #f8fafd; }
    .tcp .tcp-table--stack td { padding: 6px 14px; border: 0 !important; }
    .tcp .tcp-table--stack td::before { content: attr(data-label); display: block; margin-bottom: 2px; font: 600 11px system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; letter-spacing: .04em; text-transform: uppercase; color: var(--mut); }
    .tcp .tcp-table--stack td[data-label=""]::before { display: none; }
    .tcp .tcp-table--stack td:empty { display: none; }
    .tcp .tcp-table--stack td.tcp-td-inl::before { display: inline; margin: 0 8px 0 0; }
    /* Жетістік: жыл мәтіннің үстінде — мәтін карточканың толық енін алады */
    .tcp-ach__card { display: grid; grid-template-columns: 30px minmax(0, 1fr); column-gap: 12px; row-gap: 4px; align-items: start; }
    .tcp-ach__card > svg { grid-row: 1 / 3; }
    .tcp-ach__card .tcp-year { grid-column: 2; grid-row: 1; justify-self: start; }
    .tcp-ach__card > div { grid-column: 2; grid-row: 2; }
    .tcp-ach__card:not(:has(.tcp-year)) > div { grid-row: 1; }
    .tcp-tl::before { left: 23px; }
    .tcp-tl__year { width: 48px; font-size: 12px; }
    .tcp-tl__year--none { margin: 6px 17px 0; }
    .tcp-tl__item { gap: 10px; }
}
@media (max-width: 480px) {
    .tcp-stat { flex-basis: 50%; }
    .tcp-stat:nth-child(3) { border-left: 0; }
    .tcp-stat:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .12); }
}
@media (max-width: 640px) {
    .tcp-facts { grid-template-columns: 1fr; gap: 10px; }
    .tcp-fact { padding: 12px 14px 12px 60px; }
    .tcp-fact__ic { left: 14px; top: 12px; width: 34px; height: 34px; }
    .tcp .tcp-chips li { border-radius: 10px; }
}
@media (prefers-reduced-motion: reduce) { .tcp * { transition: none !important; } }

/* Бірде-бір бөлімі толтырылмаған профиль (2026-10-28) — бос ақ жолақтың орнына қысқа хабарлама */
.tcp .tcp-main > .tcp-pane.tcp-empty { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; color: var(--muted, #5a6a80); }
.tcp-empty p { margin: 0; }
.tcp-empty__go { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 10px; background: #eef5ff; color: #0052A5; font-weight: 700; text-decoration: none; }
.tcp-empty__go:hover { background: #0052A5; color: #fff; text-decoration: none; }
.tcp-empty__go svg { width: 16px; height: 16px; }
