/* LLMCASE v4 — журнал «Нейрокейсы» (11.10.2026; 14.10 — новая главная-первая полоса и подборки /zhurnal/*, префикс zp-). Префикс zh-. Поверх v4.css.
   ⛔ Отступы только из шкалы --s4 · --s8 · --s12 · --s16 · --s24 · --s32 · --s48 · --s64 · --s96.
   ⛔ Инлайн-стилей нет, показ и скрытие: атрибут hidden и классы. Ширины колонок только через minmax(0, 1fr). */

/* ── Обложка журнала ───────────────────────────────────────────── */
.zh-mast { padding-bottom: 0; }
.zh-mast .lc-hero__bg { height: 520px; }
.zh-mast .lc-kpi { max-width: 100%; }
.zh-mast__act { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s12); margin-top: var(--s32); }
.zh-mast__stat { margin-top: var(--s24); font-size: 14px; line-height: 1.5; color: var(--muted); }

/* ── Главный материал и мероприятия ────────────────────────────── */
.zh-top { position: relative; margin-top: var(--s48); }
.zh-top__grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: var(--s24); align-items: start; }
.zh-main { display: flex; min-width: 0; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; overflow: hidden; box-shadow: var(--sh);
  transition: border-color .3s, box-shadow .3s; }
.zh-main:hover { border-color: var(--acc); box-shadow: var(--sh-float); }
.zh-main__a { display: flex; flex-direction: column; width: 100%; text-decoration: none; color: inherit; }
.zh-main__body { display: flex; flex: 1; flex-direction: column; gap: var(--s12); padding: var(--s24); }
.zh-main h2 { font-size: 28px; line-height: 1.2; font-weight: 500; letter-spacing: -.01em; color: var(--ink-2); max-width: none;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; text-wrap: pretty; }
.zh-main__lead { font-size: 16px; line-height: 1.55; color: var(--muted);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.zh-main .zh-card__meta { margin-top: auto; }
.zh-kicker { display: inline-flex; align-items: center; height: 24px; padding: 0 var(--s8); border-radius: var(--r-xs); background: var(--ink-2); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .02em; }

/* ── Карточка материала ────────────────────────────────────────── */
.zh-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s24); }
.zh-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.zh-grid.zh-grid--4 { list-style: none; }
.zh-card { display: flex; min-width: 0; border: 1px solid var(--line); border-radius: var(--r-card); background: #fff; overflow: hidden;
  transition: border-color .3s, box-shadow .3s, transform .3s var(--ease); }
.zh-card:hover { border-color: var(--acc); box-shadow: var(--sh); transform: translateY(calc(var(--s4) * -1)); }
.zh-card__a { display: flex; flex-direction: column; width: 100%; text-decoration: none; color: inherit; }
.zh-card__img { display: block; aspect-ratio: 1200 / 630; background: var(--ground); overflow: hidden; }
.zh-card__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.zh-card__body { display: flex; flex: 1; flex-direction: column; gap: var(--s12); padding: var(--s24); }
.zh-card h3 { font-size: 18px; line-height: 1.35; font-weight: 500; color: var(--ink-2);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; text-wrap: pretty; }
.zh-card__tags { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s8); min-width: 0; }
.zh-tag { display: inline-flex; align-items: center; height: 24px; padding: 0 var(--s8); border-radius: var(--r-xs); background: var(--acc-soft); color: var(--acc); font-size: 12px; font-weight: 600; white-space: nowrap; }
.zh-tag[data-f="razbor"] { background: var(--pos-bg); color: var(--pos); }
.zh-tag[data-f="gayd"] { background: var(--warn-bg); color: var(--warn); }
.zh-tag[data-f="cifry"] { background: var(--ground); color: var(--ink); }
.zh-tag[data-f="konferencii"] { background: var(--ground); color: var(--acc); }
.zh-step { font-size: 12px; font-weight: 600; color: var(--faint); text-transform: uppercase; letter-spacing: .04em; }
.zh-niche { min-width: 0; font-size: 13px; line-height: 1.4; color: var(--muted); }
.zh-card__meta { display: flex; flex-wrap: wrap; gap: var(--s4) var(--s12); margin-top: auto; font-size: 13px; color: var(--faint); }
.zh-card__meta span + span::before { content: '·'; margin-right: var(--s12); color: var(--line-strong); }

/* ── Мероприятия ───────────────────────────────────────────────── */
.zh-ev { align-self: start; display: flex; flex-direction: column; min-width: 0; padding: var(--s24); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--ground); }
.zh-ev h2 { font-size: 24px; line-height: 1.25; font-weight: 500; max-width: none; }
.zh-ev__list { margin-top: var(--s8); }
.zh-evrow + .zh-evrow { border-top: 1px solid var(--line); }
.zh-evrow__a { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: var(--s16); align-items: start; padding: var(--s16) 0; text-decoration: none; color: inherit; }
.zh-evrow__date { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: var(--r-icon); background: #fff; color: var(--acc); box-shadow: var(--sh); }
.zh-evrow__date b { font-size: 20px; line-height: 1.1; font-weight: 600; }
.zh-evrow__date i { margin-top: var(--s4); font-size: 12px; font-style: normal; line-height: 1; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.zh-evrow__txt { display: flex; flex-direction: column; gap: var(--s4); min-width: 0; }
.zh-evrow__txt b { font-size: 16px; line-height: 1.35; font-weight: 500; color: var(--ink-2);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.zh-evrow__txt span { font-size: 13px; line-height: 1.4; color: var(--muted); overflow-wrap: anywhere; }
.zh-evrow__a:hover b { color: var(--acc); }
.zh-ev__empty { margin-top: var(--s12); font-size: 15px; line-height: 1.5; color: var(--muted); }
.zh-ev__all { align-self: flex-start; margin-top: var(--s8); padding-top: var(--s8); font-size: 15px; font-weight: 600; }
.lc a.zh-ev__all { border-bottom: 0; }

/* ── Лента: фильтры ────────────────────────────────────────────── */
.lc-nojs .zh-tools { display: none; }
.zh-tools { display: flex; align-items: center; gap: var(--s16); margin-bottom: var(--s24); }
.zh-chips { display: flex; flex: 1; gap: var(--s8); min-width: 0; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; padding: var(--s4); margin: calc(var(--s4) * -1); }
.zh-chips::-webkit-scrollbar { display: none; }
.zh-chip { flex: none; display: inline-flex; align-items: center; gap: var(--s8); height: 44px; padding: 0 var(--s16); font: 500 15px/1 'Onest', Arial, sans-serif; color: var(--ink-2);
  background: #fff; border: 2px solid var(--line); border-radius: var(--r-btn); cursor: pointer; white-space: nowrap; transition: background .2s, border-color .2s, color .2s; }
.zh-chip small { font-size: 12px; font-weight: 600; color: var(--faint); }
.zh-chip:hover { border-color: var(--line-strong); }
.zh-chip.is-on { background: var(--acc-soft); border-color: var(--acc); color: var(--acc); }
.zh-chip.is-on small { color: var(--acc); }
.zh-nsel { flex: none; display: flex; align-items: center; flex-direction: row; gap: var(--s12); }
.zh-nsel > span { flex: none; }
.zh-nsel select { width: 240px; }
.zh-empty { padding: var(--s32) 0; text-align: center; font-size: 16px; color: var(--muted); }
.zh-more { display: flex; justify-content: center; margin-top: var(--s32); }

/* ── Ниши ──────────────────────────────────────────────────────── */
.zh-niches { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s16); }
.zh-nt { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s4); min-width: 0; padding: var(--s24); text-align: left; text-decoration: none;
  font-family: inherit; color: var(--ink-2); background: #fff; border: 2px solid var(--line); border-radius: var(--r-card); cursor: pointer; transition: border-color .2s, background .2s, box-shadow .2s; }
.zh-nt b { font-size: 18px; line-height: 1.3; font-weight: 600; }
.zh-nt span { font-size: 14px; line-height: 1.45; color: var(--muted); }
.zh-nt:hover { border-color: var(--acc); box-shadow: var(--sh); }
.zh-nt.is-on { border-color: var(--acc); background: var(--acc-soft); }
.zh-nt.is-on b { color: var(--acc); }
.zh-nt--ask { border-style: dashed; background: var(--ground); }

/* ── Форматы ───────────────────────────────────────────────────── */
.zh-fmts { border-top: 1px solid var(--line); }
.zh-fmt { border-bottom: 1px solid var(--line); }
.zh-fmt > a, .zh-fmt--soon { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr) minmax(0, 1fr); gap: var(--s24); align-items: baseline; padding: var(--s24) 0; text-decoration: none; color: inherit; }
.zh-fmt > a { display: grid; }
.zh-fmt__n { font-size: 20px; line-height: 1.3; font-weight: 500; color: var(--ink-2); }
.zh-fmt__d { font-size: 16px; line-height: 1.5; color: var(--muted); }
.zh-fmt__c { justify-self: end; font-size: 14px; font-weight: 600; color: var(--acc); }
.zh-fmt__c em { font-style: normal; color: var(--faint); }
.zh-fmt > a:hover .zh-fmt__n { color: var(--acc); }
.zh-fmt--soon .zh-fmt__n { color: var(--muted); }

/* ── Автор, Telegram, внедрение ────────────────────────────────── */
.zh-author { display: flex; align-items: center; gap: var(--s16); padding: var(--s24); border: 1px solid var(--line); border-radius: var(--r-card); background: #fff; }
.zh-author__ph { flex: none; width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.zh-author__txt { flex: 1; min-width: 0; }
.zh-author__txt b { display: block; font-size: 17px; line-height: 1.35; font-weight: 600; color: var(--ink-2); }
.zh-author__txt p { margin-top: var(--s4); font-size: 15px; line-height: 1.5; color: var(--muted); }
.zh-author .lc-btn { flex: none; }
.zh-tg, .zh-impl { display: flex; align-items: center; justify-content: space-between; gap: var(--s32); padding: var(--s48); border-radius: var(--r-panel); }
.zh-tg { background: var(--acc-soft); }
.zh-impl { background: var(--ink-2); color: #fff; }
.lc .zh-tg h2, .lc .zh-impl h2 { max-width: none; font-size: 32px; }
.lc .zh-impl h2 { color: #fff; }
.zh-tg__txt p, .zh-impl__txt p { margin-top: var(--s12); max-width: 640px; font-size: 17px; line-height: 1.55; color: var(--muted); }
.zh-impl__txt p { color: var(--on-dark); }
.zh-tg .lc-btn, .zh-impl .lc-btn { flex: none; }
.lc a.zh-impl .lc-btn, .zh-impl .lc-btn { background: #fff; border-color: #fff; color: var(--ink-2); box-shadow: none; }
.lc .zh-impl a.lc-btn, .lc .zh-impl a.lc-btn:visited { color: var(--ink-2); }
.zh-impl .lc-btn:hover { background: var(--acc-soft); border-color: var(--acc-soft); }

/* ── Адаптив ───────────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .zh-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .zh-tools { flex-direction: column; align-items: stretch; }
  .zh-nsel { justify-content: space-between; }
  .zh-nsel select { width: 100%; }
}
@media (max-width: 960px) {
  .zh-top__grid { grid-template-columns: minmax(0, 1fr); }
  .zh-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .zh-niches { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .zh-fmt > a, .zh-fmt--soon { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
  .zh-fmt__c { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 820px) {
  .zh-top { margin-top: var(--s32); }
  .zh-tg, .zh-impl { flex-direction: column; align-items: stretch; padding: var(--s32) var(--s16); border-radius: 20px; }
  .lc .zh-tg h2, .lc .zh-impl h2 { font-size: 26px; }
  .zh-tg .lc-btn, .zh-impl .lc-btn { min-height: 52px; }
  .zh-author { flex-wrap: wrap; }
  .zh-author .lc-btn { width: 100%; }
}
@media (max-width: 640px) {
  .zh-grid, .zh-grid--4 { grid-template-columns: minmax(0, 1fr); gap: var(--s16); }
  .zh-card__body { padding: var(--s16); }
  .zh-main__body { padding: var(--s16); }
  .zh-main h2 { font-size: 24px; }
  .zh-ev { padding: var(--s16); }
  .zh-mast__act { flex-direction: column; align-items: stretch; margin-top: var(--s24); }
  .zh-mast__act .lc-btn { min-height: 52px; }
  .zh-niches { gap: var(--s8); }
  .zh-nt { padding: var(--s16); }
  .zh-nt b { font-size: 16px; }
  .zh-fmt > a, .zh-fmt--soon { grid-template-columns: minmax(0, 1fr); gap: var(--s8); padding: var(--s16) 0; }
  .zh-fmt__c { justify-self: start; }
  .zh-author { padding: var(--s16); }
}
@media (max-width: 640px) {
  .zh-mast .lc-kpi { height: auto; min-height: 36px; padding: var(--s8) var(--s16) var(--s8) var(--s8); text-align: left; line-height: 1.3; }
}
@media (max-width: 400px) {
  .zh-mast .lc-hero h1, .zh-mast h1 { font-size: 40px; }
}

/* ══ 14.10.2026: главная как первая полоса и подборки по задачам (макет одобрен владельцем, прототип zhurnal-proto.html) ══ */

.zp-kicker { font-size: 13px; line-height: 1.3; font-weight: 600; letter-spacing: .02em; color: var(--acc); }
.zp-meta { font-size: 13px; line-height: 1.4; color: var(--faint); }

/* ── 1. Шапка выпуска: голубое свечение как в первом экране v4, название крупно слева, счётчики журнала справа ── */
.zp-hero { position: relative; overflow-x: clip; }
.zp-hero .lc-hero__bg { height: 760px; }
.zp-mast { position: relative; padding-top: var(--s64); }
.zp-mast__row { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s32); padding-bottom: var(--s32); border-bottom: 2px solid var(--ink-2); }
.zp-mast__txt { display: grid; justify-items: start; gap: var(--s16); min-width: 0; }
.lc .zp-mast h1 { margin-top: var(--s8); font-size: 96px; line-height: .95; font-weight: 600; letter-spacing: -.045em; color: var(--ink-2); }
.lc .zp-mast__sub { max-width: 560px; font-size: 20px; line-height: 1.45; color: var(--muted); }
.zp-mast__nums { display: grid; grid-template-columns: repeat(3, auto); gap: var(--s32); }
.zp-mast__nums > div { display: grid; gap: var(--s4); }
.zp-mast__nums dt { font-size: 40px; line-height: 1; font-weight: 600; letter-spacing: -.03em; color: var(--acc); }
.zp-mast__nums dd { max-width: 140px; margin: 0; font-size: 14px; line-height: 1.4; color: var(--muted); }
.zp-front { position: relative; }

/* ── 2. Первая полоса ── */
.zp-front { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: var(--s32); align-items: start; margin-top: var(--s32); }
.zp-front__main { display: grid; gap: var(--s24); min-width: 0; }

.zp-lead { border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; overflow: hidden; box-shadow: var(--sh); transition: border-color .3s; }
.zp-lead:hover { border-color: var(--acc); }
.zp-lead__a { display: grid; text-decoration: none; color: inherit; }
.zp-lead__img { display: block; aspect-ratio: 1200 / 630; background: var(--ground); overflow: hidden; }
.zp-lead__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.zp-lead__body { display: grid; gap: var(--s12); padding: var(--s24) var(--s32) var(--s32); }
.lc .zp-lead h2 { max-width: none; font-size: 34px; line-height: 1.2; color: var(--ink-2); }
.zp-lead__ex { font-size: 17px; line-height: 1.55; color: var(--muted); }

.zp-fresh { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s24); }
.zp-fresh__a { display: grid; gap: var(--s8); padding-top: var(--s16); border-top: 2px solid var(--ink-2); text-decoration: none; color: inherit; }
.zp-fresh__a b { font-size: 18px; line-height: 1.35; font-weight: 600; color: var(--ink-2); transition: color .3s; }
.zp-fresh__a:hover b { color: var(--acc); }

.zp-news { display: flex; flex-direction: column; min-width: 0; padding: var(--s24); border-radius: var(--r-lg); background: var(--ground); }
.lc .zp-news h2 { font-size: 22px; line-height: 1.3; font-weight: 600; color: var(--ink-2); }
.zp-news__list { margin-top: var(--s8); }
.zp-news__list li + li { border-top: 1px solid var(--line); }
.zp-news__a { display: grid; gap: var(--s4); padding: var(--s16) 0; text-decoration: none; color: inherit; }
.zp-news__a time { font-size: 13px; line-height: 1.3; color: var(--faint); }
.zp-news__a span { font-size: 15px; line-height: 1.45; font-weight: 500; color: var(--ink-2); transition: color .3s; }
.zp-news__a:hover span { color: var(--acc); }
.zp-news__all { align-self: flex-start; padding-top: var(--s8); font-size: 15px; font-weight: 600; }

/* ── 3. По задачам: продуктовые карточки — иконка, цифра из статьи подборки, два материала, кнопка. Первая — тёмная, как главная в бенто ── */
.zp-tasks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s24); }
.zp-task { display: flex; flex-direction: column; gap: var(--s16); min-width: 0; padding: var(--s24); border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; transition: border-color .3s, box-shadow .3s, transform .3s var(--ease); }
.zp-task:hover { border-color: var(--acc); box-shadow: var(--sh); transform: translateY(-4px); }
.zp-task__head { display: flex; align-items: center; gap: var(--s12); }
.zp-task__ico { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r-icon); background: var(--acc-soft); color: var(--acc); }
.zp-task__ico svg { width: 22px; height: 22px; }
.lc .zp-task h3 { font-size: 18px; line-height: 1.3; font-weight: 600; color: var(--ink-2); }
.zp-task__fig { display: grid; gap: var(--s8); padding: var(--s16); border-radius: var(--r-card); background: var(--ground); text-decoration: none; color: inherit; }
.zp-task__fig b { font-size: 36px; line-height: 1; font-weight: 600; letter-spacing: -.03em; color: var(--acc); }
.zp-task__fig span { font-size: 14px; line-height: 1.4; color: var(--ink); }
.zp-task__list { display: grid; }
.zp-task__list li + li { border-top: 1px solid var(--line); }
.zp-task__list a { display: grid; gap: var(--s4); padding: var(--s12) 0; text-decoration: none; color: inherit; }
.zp-task__fmt { font-size: 12px; line-height: 1.3; font-weight: 600; color: var(--faint); }
.zp-task__t { font-size: 15px; line-height: 1.4; color: var(--ink-2); transition: color .3s; }
.zp-task__list a:hover .zp-task__t { color: var(--acc); }
.zp-task__all { display: flex; align-items: center; justify-content: center; min-height: 44px; margin-top: auto; border: 2px solid var(--line); border-radius: var(--r-btn); font-size: 15px; font-weight: 600; color: var(--ink-2); text-decoration: none; transition: border-color .3s, color .3s; }
.zp-task__all:hover { border-color: var(--acc); color: var(--acc); }
/* главная карточка: тёмная */
.zp-task--main { border-color: var(--ink-2); background: var(--ink-2); }
.lc .zp-task--main h3 { color: #fff; }
.zp-task--main .zp-task__ico { background: rgba(255, 255, 255, .12); color: #fff; }
.zp-task--main .zp-task__fig { background: var(--acc); }
.zp-task--main .zp-task__fig b, .zp-task--main .zp-task__fig span { color: #fff; }
.zp-task--main .zp-task__list li + li { border-color: rgba(255, 255, 255, .16); }
.zp-task--main .zp-task__fmt { color: var(--on-dark); }
.zp-task--main .zp-task__t { color: #fff; }
.zp-task--main .zp-task__all { border-color: rgba(255, 255, 255, .35); color: #fff; }
.zp-task--main .zp-task__all:hover { border-color: #fff; color: #fff; }

/* ── 4. Калькулятор ── */
.zp-tool .lc-top .zp-kicker { display: block; margin-bottom: var(--s12); }

/* ── 5–6. Заголовок секции со ссылкой справа; мероприятия строкой ── */
.zp-top-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s16) var(--s24); }
.zp-top-row .lc-link { font-weight: 600; }
.zp-ev { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s24); }
.zp-ev__a { display: flex; align-items: flex-start; gap: var(--s16); height: 100%; padding: var(--s16); border: 1px solid var(--line); border-radius: var(--r-card); background: #fff; text-decoration: none; color: inherit; transition: border-color .3s; }
.zp-ev__a:hover { border-color: var(--acc); }
.zp-ev .zh-evrow__date { flex: none; background: var(--acc-soft); box-shadow: none; }
.zp-ev__t { display: grid; gap: var(--s4); min-width: 0; }
.zp-ev__t b { font-size: 15px; line-height: 1.35; font-weight: 600; color: var(--ink-2); }
.zp-ev__t span { font-size: 13px; line-height: 1.4; color: var(--muted); }

@media (max-width: 1080px) {
  .zp-tasks, .zp-ev { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .zp-front { grid-template-columns: minmax(0, 1fr); }
  .zp-mast__row { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .zp-mast { padding-top: var(--s24); }
  .lc .zp-mast h1 { font-size: 52px; }
  .lc .zp-mast__sub { font-size: 17px; }
  .zp-mast__row { padding-bottom: var(--s24); }
  .zp-mast__nums { gap: var(--s16); }
  .zp-mast__nums dt { font-size: 28px; }
  .zp-mast__nums dd { font-size: 13px; }
  .zp-front { gap: var(--s24); margin-top: var(--s24); }
  .zp-lead__body { padding: var(--s12) var(--s16) var(--s16); }
  .lc .zp-lead h2 { font-size: 24px; }
  .zp-lead__ex { font-size: 16px; }
  .zp-fresh, .zp-tasks, .zp-ev { grid-template-columns: minmax(0, 1fr); gap: var(--s16); }
  .zp-news, .zp-task { padding: var(--s16); }
  .zp-task:hover { transform: none; }
}

/* ── Подборка задачи и разборы (/zhurnal/*): шапка как у главной, сетка карточек, другие темы ── */
.zp-hub { position: relative; padding-top: var(--s48); }
.zp-hub__back { font-size: 14px; font-weight: 600; color: var(--acc); text-decoration: none; }
.zp-hub__back:hover { text-decoration: underline; text-underline-offset: 3px; }
.zp-hub__row { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s32); margin-top: var(--s16); padding-bottom: var(--s32); border-bottom: 2px solid var(--ink-2); }
.zp-hub__txt { min-width: 0; }
.zp-hub__title { display: flex; align-items: center; gap: var(--s16); }
.zp-task__ico.zp-hub__ico { width: 56px; height: 56px; border-radius: var(--r-card); }
.zp-hub__ico svg { width: 28px; height: 28px; }
.lc .zp-hub h1 { font-size: 56px; line-height: 1.05; font-weight: 600; letter-spacing: -.035em; color: var(--ink-2); }
.lc .zp-hub__lead { max-width: 640px; margin-top: var(--s16); font-size: 19px; line-height: 1.5; color: var(--muted); }
.zp-task__fig.zp-hub__fig { flex: none; width: 280px; background: #fff; box-shadow: var(--sh); }
.zp-hub__list { position: relative; margin-top: var(--s32); }
.lc .zp-hub__count { margin-bottom: var(--s16); font-size: 14px; color: var(--muted); }
.zp-chips { display: flex; flex-wrap: wrap; gap: var(--s12); }
.zp-chip { display: inline-flex; align-items: center; gap: var(--s8); min-height: 44px; padding: 0 var(--s16) 0 var(--s8); border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 15px; font-weight: 600; color: var(--ink-2); text-decoration: none; transition: border-color .3s, color .3s; }
.zp-chip:hover { border-color: var(--acc); color: var(--acc); }
.zp-chip__ico { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--acc-soft); color: var(--acc); }
.zp-chip__ico svg { width: 16px; height: 16px; }
.zp-task h3 a { color: inherit; text-decoration: none; }
.zp-task h3 a:hover { color: var(--acc); }
.zp-task--main h3 a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 960px) {
  .zp-hub__row { flex-direction: column; align-items: stretch; }
  .zp-task__fig.zp-hub__fig { width: auto; }
}
@media (max-width: 640px) {
  .zp-hub { padding-top: var(--s24); }
  .lc .zp-hub h1 { font-size: 34px; }
  .zp-task__ico.zp-hub__ico { width: 44px; height: 44px; border-radius: var(--r-icon); }
  .zp-hub__ico svg { width: 24px; height: 24px; }
  .lc .zp-hub__lead { font-size: 17px; }
  .zp-hub__row { padding-bottom: var(--s24); }
}
/* узкие телефоны (320–360): «Нейрокейсы» 52 px = 295 px не влезает в колонку 288 (замер 14.10 на 300 px: выход за край на 11 px) */
@media (max-width: 360px) {
  .lc .zp-mast h1 { font-size: 44px; }
  .lc .zp-hub h1 { font-size: 30px; }
}
