/* Раздел «Статьи» и «Авторы» felante.ru. SEOIDEA, 24.09.2026.
   Всё под .fst — остальные страницы сайта файл не задевает (подключается только на страницах раздела).
   Токены сняты с живого сайта: фон #001629 (--color-dark), белые панели радиусом 32px (.white__bg-block),
   синий градиент первого экрана radial #0054A5 → #04D3F3, шрифт Winston, кнопки-«таблетки» calc(100 * var(--u)).
   Своё: «стежок» — пунктир по контуру синей карточки и нитка активного оглавления. */

.fst, .fst-bar {
  --u: 1px;
  --fst-navy: #001629;
  --fst-ink: #0f2233;
  --fst-muted: #52606e;      /* 6,3:1 на белом */
  --fst-link: #0054a5;       /* 7,4:1 на белом */
  --fst-link-h: #003a73;
  --fst-cyan: #04d3f3;       /* только декор: контраст на белом 1,8 */
  --fst-mist: #eef3f8;
  --fst-line: #d6dfe8;
  --fst-grad: radial-gradient(circle at 25% 100%, #0054a5 16%, #04d3f3);
  --fst-r: calc(32 * var(--u));
  --fst-r-sm: calc(20 * var(--u));
  --fst-frame: calc(1104 * var(--u)); /* 740 текст + 64 + 300 колонка */
}
@media (min-width: 1441px) { .fst, .fst-bar { --u: calc(1rem / 16); } }
.fst { font-family: Winston, Arial, sans-serif; color: var(--fst-ink); font-size: calc(18 * var(--u)); line-height: 1.65; font-weight: 400; }
.fst *, .fst *::before, .fst *::after, .fst-bar, .fst-bar * { box-sizing: border-box; }
.fst p { margin: 0 0 1em; }
.fst a { color: var(--fst-link); text-decoration: none; }
.fst a:hover { color: var(--fst-link-h); }
/* custom.css сайта гасит outline у всех элементов — фокус с клавиатуры возвращаем явно */
.fst a:focus-visible, .fst button:focus-visible, .fst-bar button:focus-visible, .fst-bar a:focus-visible { outline: calc(3 * var(--u)) solid var(--fst-cyan) !important; outline-offset: calc(2 * var(--u)); border-radius: calc(4 * var(--u)); }
.fst img { pointer-events: auto; }
.fst ol, .fst ul { margin: 0; padding: 0; list-style: none; }

/* ---------- секции и панели ---------- */
.fst-sec { padding-top: calc(24 * var(--u)); }
.fst-sec:last-child { padding-bottom: calc(96 * var(--u)); }
.fst-panel { background: #fff; color: var(--fst-ink); border-radius: var(--fst-r); padding: calc(56 * var(--u)) max(calc(64 * var(--u)), calc((100% - var(--fst-frame)) / 2)); }

/* ---------- синяя карточка-шапка со «стежком» ---------- */
.fst-hero {
  position: relative; margin-top: calc(24 * var(--u)); padding: calc(40 * var(--u)) max(calc(64 * var(--u)), calc((100% - var(--fst-frame)) / 2)) calc(44 * var(--u)); border-radius: var(--fst-r);
  background: var(--fst-grad); color: #fff;
  outline: calc(1.5 * var(--u)) dashed rgba(255, 255, 255, .55); outline-offset: calc(-12 * var(--u));
}
.fst .fst-hero a { color: #fff; }
.fst-crumbs { font-size: calc(14 * var(--u)); line-height: 1.4; margin: 0 0 calc(28 * var(--u)); color: rgba(255, 255, 255, .8); }
.fst-crumbs ol { display: flex; flex-wrap: wrap; align-items: baseline; gap: calc(4 * var(--u)) 0; }
.fst-crumbs li + li::before { content: "/"; margin: 0 calc(8 * var(--u)); color: rgba(255, 255, 255, .55); }
.fst .fst-crumbs a { color: rgba(255, 255, 255, .85); }
.fst .fst-crumbs a:hover { color: #fff; text-decoration: underline; text-underline-offset: .2em; }
.fst-crumbs [aria-current] { color: #fff; }

.fst-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: calc(10 * var(--u)) calc(16 * var(--u)); font-size: calc(15 * var(--u)); line-height: 1.3; margin-bottom: calc(14 * var(--u)); }
.fst .fst-rubric { display: inline-block; padding: calc(7 * var(--u)) calc(16 * var(--u)) calc(6 * var(--u)); border-radius: calc(100 * var(--u)); background: rgba(0, 22, 41, .28); color: #fff; font-weight: 500; }
.fst .fst-rubric:hover { background: rgba(0, 22, 41, .45); color: #fff; }
.fst-readtime { color: rgba(255, 255, 255, .85); }

.fst .fst-h1 {
  font-family: Winston, Arial, sans-serif; font-weight: 600; color: #fff; text-transform: none;
  font-size: calc(44 * var(--u)); line-height: 1.12; letter-spacing: -.01em; margin: 0 0 calc(28 * var(--u)); max-width: calc(900 * var(--u)); text-wrap: balance;
  word-break: normal;
}
.fst .fst-h1--caps { text-transform: uppercase; font-size: calc(56 * var(--u)); line-height: 1.1; letter-spacing: 0; margin-bottom: calc(18 * var(--u)); }

.fst-byline { display: flex; align-items: center; gap: calc(14 * var(--u)); }
.fst-byline p { margin: 0; font-size: calc(15 * var(--u)); line-height: 1.45; }
.fst-byline__who { color: rgba(255, 255, 255, .85); }
.fst .fst-byline__who a { color: #fff; font-weight: 600; }
.fst .fst-byline__who a:hover { text-decoration: underline; text-underline-offset: .2em; }
.fst-byline__dates { color: rgba(255, 255, 255, .85); display: flex; flex-wrap: wrap; gap: 0 calc(18 * var(--u)); }
.fst-byline .fst-ava { box-shadow: 0 0 0 calc(2 * var(--u)) rgba(255, 255, 255, .7); }

.fst-hero__lead { max-width: calc(760 * var(--u)); font-size: calc(20 * var(--u)); line-height: 1.55; color: #fff; font-weight: 500; }
.fst-hero__lead p:last-child { margin-bottom: 0; }
.fst-hero__authors { display: flex; align-items: center; flex-wrap: wrap; gap: calc(8 * var(--u)) calc(12 * var(--u)); margin: calc(22 * var(--u)) 0 0 !important; font-size: calc(15 * var(--u)); line-height: 1.4; color: rgba(255, 255, 255, .9); }
.fst .fst-hero__authors a { text-decoration: underline; text-underline-offset: .2em; font-weight: 600; }
.fst-faces { display: inline-flex; }
.fst-faces .fst-ava { box-shadow: 0 0 0 calc(2 * var(--u)) #fff; }
.fst-faces .fst-ava + .fst-ava { margin-left: calc(-10 * var(--u)); }

/* аватар: фото или инициалы */
.fst-ava { display: inline-block; border-radius: 50%; object-fit: cover; flex: none; vertical-align: middle; }
.fst-ava--initials { display: inline-flex; align-items: center; justify-content: center; background: var(--fst-navy); color: #fff; font-weight: 600; font-size: calc(15 * var(--u)); line-height: 1; letter-spacing: .02em; }
.fst-author .fst-ava--initials, .fst-person .fst-ava--initials { font-size: calc(30 * var(--u)); }
.fst-ava--xl.fst-ava--initials { font-size: calc(48 * var(--u)); background: rgba(0, 22, 41, .35); box-shadow: 0 0 0 calc(3 * var(--u)) rgba(255, 255, 255, .7); }
.fst-ava--xl { box-shadow: 0 0 0 calc(3 * var(--u)) rgba(255, 255, 255, .7); }

/* ---------- сетка статьи ---------- */
.fst-grid { display: grid; grid-template-columns: minmax(0, calc(740 * var(--u))) calc(300 * var(--u)); justify-content: start; gap: calc(64 * var(--u)); align-items: start; }
.fst-article { min-width: 0; }
.fst-aside { align-self: stretch; }
.fst-aside__inner { position: sticky; top: calc(var(--fst-hdr, calc(79 * var(--u))) + calc(24 * var(--u))); display: flex; flex-direction: column; gap: calc(22 * var(--u)); }
.fst-aside--static .fst-aside__inner { position: static; }
.fst-aside__title, .fst-after__title { font-weight: 600; font-size: calc(17 * var(--u)); line-height: 1.3; color: var(--fst-navy); margin: 0 0 calc(12 * var(--u)) !important; }

/* лид */
.fst-lead { font-size: calc(21 * var(--u)); line-height: 1.55; color: var(--fst-navy); font-weight: 500; margin-bottom: calc(32 * var(--u)); }
.fst-lead p:last-child { margin-bottom: 0; }

/* статичное содержание */
.fst-toc { margin: 0 0 calc(36 * var(--u)); padding: calc(26 * var(--u)) calc(30 * var(--u)) calc(16 * var(--u)); background: var(--fst-mist); border-radius: var(--fst-r-sm); }
.fst-toc__title { font-weight: 600; font-size: calc(19 * var(--u)); line-height: 1.3; color: var(--fst-navy); margin: 0 0 calc(14 * var(--u)) !important; }
.fst-toc__list { counter-reset: fst-toc; }
.fst-toc__list > li { counter-increment: fst-toc; position: relative; padding-left: calc(40 * var(--u)); margin: 0 0 calc(12 * var(--u)); font-size: calc(17 * var(--u)); line-height: 1.4; }
.fst-toc__list > li::before {
  content: counter(fst-toc); position: absolute; left: 0; top: calc(-1 * var(--u)); width: calc(27 * var(--u)); height: calc(27 * var(--u)); border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center; background: #fff; color: var(--fst-navy);
  font-size: calc(13 * var(--u)); font-weight: 600; border: calc(1.5 * var(--u)) dashed rgba(0, 84, 165, .45);
}
.fst .fst-toc__list a { padding-block: calc(7 * var(--u)); /* строчный элемент: область нажатия больше, строки не раздвигаются */ color: var(--fst-ink); text-decoration: underline; text-decoration-color: rgba(0, 84, 165, .35); text-underline-offset: .2em; }
.fst .fst-toc__list a:hover { color: var(--fst-link); text-decoration-color: currentColor; }

/* обложка */
.fst-cover { margin: 0 0 calc(36 * var(--u)); }
.fst-cover img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--fst-r-sm); }
.fst figcaption { font-size: calc(14 * var(--u)); line-height: 1.45; color: var(--fst-muted); margin-top: calc(10 * var(--u)); text-align: left; }

/* ---------- текст статьи ---------- */
.fst-body { overflow-wrap: break-word; }
.fst-body p, .fst-body li { text-wrap: pretty; }
.fst .fst-body h2 {
  font-weight: 700; color: var(--fst-navy); text-transform: none; font-size: calc(30 * var(--u)); line-height: 1.2; margin: 1.8em 0 .6em;
  text-wrap: balance; scroll-margin-top: calc(var(--fst-hdr, calc(79 * var(--u))) + calc(24 * var(--u))); word-break: normal;
}
.fst .fst-body h3 { font-weight: 600; color: var(--fst-navy); font-size: calc(22 * var(--u)); line-height: 1.3; margin: 1.5em 0 .5em; scroll-margin-top: calc(var(--fst-hdr, calc(79 * var(--u))) + calc(24 * var(--u))); }
.fst .fst-body > h2:first-child, .fst .fst-body > h3:first-child { margin-top: 0; }
.fst .fst-body a { color: var(--fst-link); text-decoration: underline; text-decoration-color: rgba(0, 84, 165, .4); text-underline-offset: .18em; }
.fst .fst-body a:hover { text-decoration-color: currentColor; }
.fst-body strong, .fst-body b { font-weight: 600; color: var(--fst-navy); }
.fst .fst-body ul, .fst .fst-body ol { margin: 0 0 1.1em; }
.fst .fst-body ul > li { position: relative; padding-left: calc(28 * var(--u)); margin-bottom: .5em; }
.fst .fst-body ul > li::before { content: ""; position: absolute; left: calc(4 * var(--u)); top: .62em; width: calc(9 * var(--u)); height: calc(9 * var(--u)); border-radius: 50%; background: var(--fst-link); }
.fst .fst-body ol { counter-reset: fst-ol; }
.fst .fst-body ol > li { counter-increment: fst-ol; position: relative; padding-left: calc(42 * var(--u)); margin-bottom: .6em; }
.fst .fst-body ol > li::before {
  content: counter(fst-ol); position: absolute; left: 0; top: .08em; width: calc(28 * var(--u)); height: calc(28 * var(--u)); border-radius: 50%;
  background: var(--fst-navy); color: #fff; font-size: calc(14 * var(--u)); font-weight: 600; line-height: calc(28 * var(--u)); text-align: center;
}
.fst-body img { max-width: 100%; height: auto; border-radius: var(--fst-r-sm); }
.fst-body figure { margin: 1.6em 0; max-width: 100%; }
.fst-body figure img { display: block; width: 100%; }
.fst-body blockquote { margin: 1.6em 0; padding: calc(4 * var(--u)) 0 calc(4 * var(--u)) calc(24 * var(--u)); border-left: calc(3 * var(--u)) solid var(--fst-link); font-size: calc(20 * var(--u)); line-height: 1.5; color: var(--fst-navy); }

/* врезки: .fst-note (совет) и .fst-note--warn (внимание) — классы для текста статьи */
.fst-note { margin: 1.6em 0; padding: calc(22 * var(--u)) calc(26 * var(--u)) calc(20 * var(--u)); background: var(--fst-mist); border-radius: var(--fst-r-sm); border: calc(1.5 * var(--u)) dashed rgba(0, 84, 165, .4); font-size: calc(17 * var(--u)); line-height: 1.55; }
.fst-note--warn { background: #fff6e8; border-color: rgba(199, 122, 0, .55); }
.fst-note > :last-child { margin-bottom: 0; }
.fst-note__title { display: block; font-weight: 600; color: var(--fst-navy); margin-bottom: calc(4 * var(--u)); }

/* таблицы: своя прокрутка на телефоне */
.fst-table { margin: 1.6em 0; overflow-x: auto; -webkit-overflow-scrolling: touch; border: calc(1 * var(--u)) solid var(--fst-line); border-radius: calc(16 * var(--u)); }
.fst .fst-table table { width: 100%; min-width: calc(560 * var(--u)); border-collapse: collapse; margin: 0; font-size: calc(16 * var(--u)); line-height: 1.45; }
.fst .fst-table caption { caption-side: top; text-align: left; padding: calc(14 * var(--u)) calc(18 * var(--u)) 0; font-weight: 600; color: var(--fst-navy); }
.fst .fst-table th, .fst .fst-table td { padding: calc(12 * var(--u)) calc(18 * var(--u)); border-bottom: calc(1 * var(--u)) solid var(--fst-line); text-align: left; vertical-align: top; background: #fff; color: var(--fst-ink); }
.fst .fst-table thead th { background: var(--fst-mist); font-weight: 600; color: var(--fst-navy); }
.fst .fst-table tr:last-child td, .fst .fst-table tr:last-child th { border-bottom: 0; }
.fst .fst-table tbody th { font-weight: 600; color: var(--fst-navy); }

/* FAQ: вопросы раздела «Частые вопросы» разделены линией */
.fst .fst-body h2#voprosy ~ h3 { border-top: calc(1 * var(--u)) solid var(--fst-line); padding-top: calc(20 * var(--u)); margin-top: calc(20 * var(--u)); }

.fst-history { font-size: calc(15 * var(--u)); line-height: 1.5; color: var(--fst-muted); border-top: calc(1 * var(--u)) solid var(--fst-line); padding-top: calc(16 * var(--u)); margin-top: calc(36 * var(--u)) !important; }

/* ---------- плитка тегов (21.10.2026): одна строка, зацикленная карусель без стрелок (stati.js), на телефоне скрыта;
   плашка — таблетка с пунктиром-«стежком», как контур синей карточки; наведение — заливка голубым, как плитка направлений ---------- */
.fst-tegi { margin: calc(40 * var(--u)) 0 0; overflow: hidden; position: relative; }
.fst-tegi.is-scroll { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 48 * var(--u)), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 48 * var(--u)), transparent); cursor: grab; }
.fst-tegi.is-scroll.is-moved { -webkit-mask-image: linear-gradient(90deg, transparent, #000 calc(48 * var(--u)), #000 calc(100% - 48 * var(--u)), transparent); mask-image: linear-gradient(90deg, transparent, #000 calc(48 * var(--u)), #000 calc(100% - 48 * var(--u)), transparent); }
.fst-tegi.is-drag { cursor: grabbing; }
.fst-article > .fst-tegi:first-child { margin: 0 0 calc(28 * var(--u)); } /* FST_TEGI_TOP: плитка первой строкой колонки, над лидом */
.fst-tegi__track { display: flex; gap: calc(8 * var(--u)); width: max-content; will-change: transform; touch-action: pan-y; }
.fst .fst-teg {
  display: inline-flex; align-items: center; height: calc(44 * var(--u)); padding: 0 calc(20 * var(--u)); white-space: nowrap;
  font-size: calc(15 * var(--u)); line-height: 1; font-weight: 600; color: var(--fst-navy); background: #fff;
  border: calc(1.5 * var(--u)) dashed rgba(0, 84, 165, .45); border-radius: calc(100 * var(--u));
  -webkit-user-drag: none; user-select: none; transition: background-color .25s, border-color .25s;
}
.fst .fst-teg:hover { background: var(--fst-cyan); border-color: var(--fst-cyan); color: var(--fst-navy); }
.fst a.fst-teg:focus-visible { outline-offset: calc(-5 * var(--u)); border-radius: calc(100 * var(--u)); } /* контейнер с overflow:hidden срезал бы внешнюю обводку */

/* ---------- «Поделиться»: стандарт значками (info-statya, share-blok.html; 23.09.2026) ---------- */
.fst-share { --fst-sh-util: var(--fst-link); margin: calc(44 * var(--u)) 0 0; padding: calc(24 * var(--u)) 0 0; border-top: calc(1 * var(--u)) solid var(--fst-line); }
.fst-share__title { font-weight: 600; font-size: calc(18 * var(--u)); line-height: 1.3; color: var(--fst-navy); margin: 0 0 calc(14 * var(--u)) !important; }
.fst .fst-sh__list { display: flex; flex-wrap: wrap; gap: calc(10 * var(--u)); margin: 0; padding: 0; list-style: none; }
.fst .fst-sh__list > li { margin: 0; padding: 0; background: none; }
.fst .fst-sh__list > li::before, .fst .fst-sh__list > li::after { content: none !important; display: none !important; }
.fst .fst-sh__list > li[hidden] { display: none !important; }
.fst .fst-sh__i { display: flex; align-items: center; justify-content: center; width: calc(44 * var(--u)); height: calc(44 * var(--u)); padding: 0; margin: 0;
  border: 0; border-radius: 50%; color: #fff; text-decoration: none; cursor: pointer; box-shadow: none; transition: transform .15s ease, filter .15s ease; }
.fst .fst-sh__i svg { width: 50%; height: 50%; display: block; flex: none; }
.fst .fst-sh__i--tg svg { width: 77%; height: 77%; margin-left: -7%; }
.fst .fst-sh__i--vk svg { width: 68%; height: 68%; }
.fst .fst-sh__i--max svg { width: 55%; height: 55%; }
.fst .fst-sh__i--ok svg { width: 45%; height: 45%; }
.fst .fst-sh__i--util svg, .fst .fst-sh__i--util svg * { fill: none !important; }
.fst .fst-sh__i:hover { transform: translateY(calc(-2 * var(--u))); filter: brightness(1.08); color: #fff; }
.fst .fst-sh__i--tg { background: #26a5e4; }
.fst .fst-sh__i--max { background: linear-gradient(135deg, #00c6ff 0%, #1591ff 35%, #3c22fe 70%, #8419ff 100%); }
.fst .fst-sh__i--vk { background: #0077ff; }
.fst .fst-sh__i--ok { background: #ee8208; }
.fst .fst-sh__i--util { background: var(--fst-sh-util); }
.fst .fst-sh__ico-ok { display: none !important; }
.fst .fst-sh__i.is-done .fst-sh__ico-link { display: none; }
.fst .fst-sh__i.is-done .fst-sh__ico-ok { display: block !important; }
.fst-sh__note { display: block; margin-top: calc(10 * var(--u)); font-size: calc(15 * var(--u)); color: var(--fst-muted); }
.fst-sh__note:empty { display: none; }

/* ---------- карточка автора под статьёй ---------- */
.fst-author { display: grid; grid-template-columns: calc(96 * var(--u)) 1fr; gap: calc(24 * var(--u)); margin: calc(32 * var(--u)) 0 0; padding: calc(30 * var(--u)); background: var(--fst-mist); border-radius: var(--fst-r-sm); }
.fst-author .fst-ava { width: calc(96 * var(--u)); height: calc(96 * var(--u)); }
.fst-author p { margin: 0 !important; }
.fst-author__label { font-size: calc(14 * var(--u)); line-height: 1.3; color: var(--fst-muted); }
.fst-author .fst-author__name { font-weight: 600; font-size: calc(23 * var(--u)); line-height: 1.25; margin-top: calc(2 * var(--u)) !important; }
.fst .fst-author__name a { color: var(--fst-navy); }
.fst .fst-author__name a:hover { color: var(--fst-link); text-decoration: underline; text-underline-offset: .15em; }
.fst-author .fst-author__job { font-size: calc(15 * var(--u)); line-height: 1.4; color: var(--fst-muted); margin-top: calc(2 * var(--u)) !important; }
.fst-author .fst-author__bio { font-size: calc(16 * var(--u)); line-height: 1.55; margin-top: calc(12 * var(--u)) !important; }
.fst-author .fst-btn { margin-top: calc(18 * var(--u)); }

/* ---------- кнопки ---------- */
.fst .fst-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: calc(52 * var(--u)); padding: calc(10 * var(--u)) calc(30 * var(--u)); border: 0; border-radius: calc(100 * var(--u));
  background: var(--fst-navy); color: #fff; font-family: Winston, Arial, sans-serif; font-weight: 500; font-size: calc(16 * var(--u)); line-height: 1.2;
  cursor: pointer; text-align: center; transition: background-color .2s ease;
}
.fst .fst-btn:hover { background: #062d4f; color: #fff; }
.fst .fst-btn--line { background: #fff; color: var(--fst-navy); box-shadow: inset 0 0 0 calc(1.5 * var(--u)) var(--fst-navy); min-height: calc(46 * var(--u)); font-size: calc(15 * var(--u)); }
.fst .fst-btn--line:hover { background: var(--fst-navy); color: #fff; }

/* ---------- колонка: промо и заявка ---------- */
.fst-promo__list { display: flex; flex-direction: column; gap: calc(10 * var(--u)); }
.fst .fst-promo__list a { display: grid; grid-template-columns: calc(76 * var(--u)) 1fr; gap: calc(14 * var(--u)); align-items: center; color: var(--fst-ink); font-size: calc(15 * var(--u)); line-height: 1.3; font-weight: 500; }
.fst-promo__list img, .fst-promo__noimg { width: calc(76 * var(--u)); height: calc(57 * var(--u)); object-fit: cover; border-radius: calc(12 * var(--u)); display: block; background: var(--fst-mist); }
.fst .fst-promo__list a:hover span { color: var(--fst-link); text-decoration: underline; text-underline-offset: .15em; }
.fst-aside--short .fst-promo__list li:nth-child(n+3) { display: none; }
.fst-aside--nopromo .fst-promo { display: none; }

.fst-order { background: var(--fst-mist); padding: calc(22 * var(--u)) calc(22 * var(--u)) calc(20 * var(--u)); border-radius: var(--fst-r-sm); }
.fst-order p { margin: 0; }
.fst-order .fst-order__title { font-weight: 600; font-size: calc(19 * var(--u)); line-height: 1.25; color: var(--fst-navy); margin: 0 0 calc(6 * var(--u)); }
.fst-order .fst-order__text { font-size: calc(15 * var(--u)); line-height: 1.45; margin: 0 0 calc(16 * var(--u)); }
.fst-order .fst-btn { width: 100%; }
.fst-order__contacts { margin-top: calc(16 * var(--u)); }
.fst .fst-order__phone { display: inline-block; font-weight: 600; font-size: calc(21 * var(--u)); line-height: 1.2; color: var(--fst-navy); white-space: nowrap; }
.fst .fst-order__phone:hover { color: var(--fst-link); }
.fst-order .fst-order__hours { font-size: calc(14 * var(--u)); line-height: 1.4; color: var(--fst-muted); margin-top: calc(2 * var(--u)); }
.fst-order .felante-msg { display: flex; gap: calc(10 * var(--u)); margin-top: calc(12 * var(--u)); }
.fst-order .felante-msg__link { display: inline-flex; width: calc(36 * var(--u)); height: calc(36 * var(--u)); border-radius: 50%; background: #fff; align-items: center; justify-content: center; }
.fst-order .felante-msg__link svg { width: calc(22 * var(--u)); height: calc(22 * var(--u)); }
.fst-aside--compact .fst-order__text { display: none; }

/* закреплённое содержание — «нитка» (ставит скрипт) */
.fst-stoc { position: relative; }
.fst-stoc__wrap { position: relative; }
.fst-stoc ol { position: relative; max-height: calc(280 * var(--u)); overflow-y: auto; padding-left: calc(20 * var(--u)); scrollbar-width: thin; }
.fst-stoc__rail { position: absolute; left: calc(3 * var(--u)); top: calc(4 * var(--u)); bottom: calc(4 * var(--u)); width: 0; border-left: calc(2 * var(--u)) dashed rgba(0, 84, 165, .3); }
.fst-stoc__fill { position: absolute; left: calc(2 * var(--u)); top: calc(4 * var(--u)); width: calc(4 * var(--u)); height: 0; border-radius: calc(2 * var(--u)); background: linear-gradient(to bottom, var(--fst-cyan), var(--fst-link)); transition: height .15s linear; }
.fst-stoc li { margin: 0; }
.fst .fst-stoc a { display: block; padding: calc(5 * var(--u)) 0; font-size: calc(15 * var(--u)); line-height: 1.35; color: var(--fst-muted); }
.fst .fst-stoc a:hover { color: var(--fst-link); }
.fst .fst-stoc a.is-current { color: var(--fst-navy); font-weight: 600; }

/* ---------- блок после статьи: на компьютере его заменяет колонка ---------- */
.fst-after-sec { display: none; }
.fst-promo__list--grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: calc(14 * var(--u)) calc(24 * var(--u)); margin-bottom: calc(24 * var(--u)); }

.fst-order--wide { display: grid; grid-template-columns: 1fr auto; column-gap: calc(32 * var(--u)); row-gap: 0; align-items: center; padding: calc(28 * var(--u)) calc(32 * var(--u)); }
.fst-order--wide .fst-order__title { grid-column: 1; grid-row: 1; }
.fst-order--wide .fst-order__text { grid-column: 1; grid-row: 2; margin: 0; }
.fst-order--wide .fst-btn { grid-column: 2; grid-row: 1 / 3; width: auto; }
.fst-order--wide .fst-order__contacts { grid-column: 1 / -1; grid-row: 3; display: flex; flex-wrap: wrap; align-items: center; gap: calc(6 * var(--u)) calc(20 * var(--u)); margin-top: calc(18 * var(--u)); padding-top: calc(18 * var(--u)); border-top: calc(1 * var(--u)) dashed rgba(0, 84, 165, .3); }
.fst-order--wide .fst-order__hours { margin: 0; }
.fst-order--wide .felante-msg { margin: 0; }

/* ---------- карточки статей ---------- */
.fst-related__title { font-weight: 600 !important; font-size: calc(30 * var(--u)) !important; line-height: 1.2 !important; color: var(--fst-navy); text-transform: none !important; margin: 0 0 calc(28 * var(--u)) !important; }
.fst-related--inpanel { margin-top: calc(56 * var(--u)); padding-top: calc(44 * var(--u)); border-top: calc(1 * var(--u)) solid var(--fst-line); }
.fst-cards { display: grid; gap: calc(40 * var(--u)) calc(28 * var(--u)); }
.fst-cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fst-card { display: flex; flex-direction: column; min-width: 0; }
.fst-card__img { display: block; aspect-ratio: 16 / 9; background: var(--fst-mist); border-radius: var(--fst-r-sm); overflow: hidden; margin-bottom: calc(16 * var(--u)); }
.fst-card__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.fst-card__meta { display: flex; flex-wrap: wrap; gap: calc(4 * var(--u)) calc(14 * var(--u)); font-size: calc(13 * var(--u)); line-height: 1.3; color: var(--fst-muted); margin: 0 0 calc(8 * var(--u)) !important; }
.fst-card__rubric { color: var(--fst-link); font-weight: 600; }
.fst .fst-card__title { font-weight: 600; font-size: calc(20 * var(--u)); line-height: 1.3; margin: 0 0 calc(8 * var(--u)); text-transform: none; }
.fst .fst-card__title a { color: var(--fst-navy); }
.fst .fst-card__title a:hover { color: var(--fst-link); text-decoration: underline; text-underline-offset: .15em; }
.fst .fst-card__text { font-size: calc(15 * var(--u)); line-height: 1.5; color: #3e4c59; margin: 0; }
.fst-card__by { display: flex; align-items: center; gap: calc(12 * var(--u)); margin: calc(18 * var(--u)) 0 0 !important; font-size: calc(14 * var(--u)); line-height: 1.35; color: var(--fst-muted); }
.fst-card__by .fst-ava--initials { font-size: calc(13 * var(--u)); }

.fst-card--lead { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: calc(40 * var(--u)); align-items: center; margin-bottom: calc(52 * var(--u)); }
.fst-card--lead .fst-card__img { margin: 0; }
.fst .fst-card--lead .fst-card__title { font-size: calc(30 * var(--u)); line-height: 1.18; margin-bottom: calc(14 * var(--u)); }
.fst .fst-card--lead .fst-card__text { font-size: calc(17 * var(--u)); line-height: 1.55; }
.fst-card--lead .fst-card__meta { font-size: calc(14 * var(--u)); margin-bottom: calc(12 * var(--u)) !important; }

/* ---------- хаб ---------- */
.fst-filter { display: flex; flex-wrap: wrap; gap: calc(10 * var(--u)); margin: 0 0 calc(36 * var(--u)); }
.fst .fst-chip {
  min-height: calc(42 * var(--u)); padding: 0 calc(20 * var(--u)); border-radius: calc(100 * var(--u)); border: calc(1.5 * var(--u)) solid var(--fst-line); background: #fff; color: var(--fst-navy);
  font-family: Winston, Arial, sans-serif; font-size: calc(15 * var(--u)); font-weight: 500; line-height: 1; cursor: pointer;
}
.fst .fst-chip:hover { border-color: var(--fst-navy); }
.fst .fst-chip.is-active { background: var(--fst-navy); border-color: var(--fst-navy); color: #fff; }
.fst-hub .fst-order--wide { margin-top: calc(56 * var(--u)); }
.fst-hubtext { max-width: calc(760 * var(--u)); margin-top: calc(48 * var(--u)); }
.fst-empty { color: var(--fst-muted); }

/* ---------- авторы ---------- */
.fst-people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: calc(28 * var(--u)); }
.fst-people--one { grid-template-columns: minmax(0, calc(900 * var(--u))); }
.fst-person { display: grid; grid-template-columns: calc(120 * var(--u)) 1fr; gap: calc(28 * var(--u)); padding: calc(32 * var(--u)); background: var(--fst-mist); border-radius: var(--fst-r-sm); }
.fst-person .fst-ava { width: calc(120 * var(--u)); height: calc(120 * var(--u)); }
.fst-person p { margin: 0 !important; }
.fst .fst-person__name { font-weight: 600; font-size: calc(26 * var(--u)); line-height: 1.2; margin: 0 0 calc(4 * var(--u)); text-transform: none; }
.fst .fst-person__name a { color: var(--fst-navy); }
.fst .fst-person__name a:hover { color: var(--fst-link); text-decoration: underline; text-underline-offset: .15em; }
.fst-person__job { font-size: calc(15 * var(--u)); line-height: 1.4; color: var(--fst-muted); }
.fst-person .fst-person__bio { font-size: calc(16 * var(--u)); line-height: 1.55; margin-top: calc(14 * var(--u)) !important; }
.fst-person .fst-person__count { margin-top: calc(20 * var(--u)) !important; padding-top: calc(16 * var(--u)); border-top: calc(1 * var(--u)) dashed rgba(0, 84, 165, .3); font-size: calc(15 * var(--u)); line-height: 1.4; }
.fst .fst-person__count a { font-weight: 600; }
.fst-tags { display: flex; flex-wrap: wrap; gap: calc(8 * var(--u)); margin: calc(16 * var(--u)) 0 0 !important; }
.fst-tags li { padding: calc(5 * var(--u)) calc(14 * var(--u)) calc(4 * var(--u)); border-radius: calc(100 * var(--u)); background: #fff; font-size: calc(14 * var(--u)); line-height: 1.4; color: var(--fst-navy); }
.fst-tags--lg li { background: var(--fst-mist); font-size: calc(15 * var(--u)); padding: calc(7 * var(--u)) calc(16 * var(--u)) calc(6 * var(--u)); }
.fst-policy { max-width: calc(760 * var(--u)); margin-top: calc(56 * var(--u)); padding-top: calc(44 * var(--u)); border-top: calc(1 * var(--u)) solid var(--fst-line); }

/* ---------- страница автора ---------- */
.fst-profile { display: grid; grid-template-columns: calc(168 * var(--u)) minmax(0, 1fr); gap: calc(36 * var(--u)); align-items: center; }
.fst-profile .fst-ava { width: calc(168 * var(--u)); height: calc(168 * var(--u)); }
.fst-profile .fst-h1 { margin: 0 0 calc(10 * var(--u)); }
.fst-profile p { margin: 0; }
.fst-profile__job { font-size: calc(18 * var(--u)); line-height: 1.4; color: #fff; font-weight: 500; }
.fst-profile__exp { font-size: calc(16 * var(--u)); line-height: 1.4; color: rgba(255, 255, 255, .85); margin-top: calc(4 * var(--u)) !important; }
.fst-profile-main { max-width: calc(760 * var(--u)); }
.fst-topics__title { font-weight: 600; font-size: calc(17 * var(--u)); color: var(--fst-navy); margin: 0 0 calc(4 * var(--u)) !important; }
.fst-profile-main .fst-tags { margin: calc(8 * var(--u)) 0 calc(28 * var(--u)) !important; }
.fst-bio { max-width: calc(760 * var(--u)); margin-top: calc(48 * var(--u)); }

/* ---------- мобильная полоса содержания (ставит скрипт в конец body) ---------- */
.fst-bar {
  position: fixed; left: 0; right: 0; top: var(--fst-hdr, 0); z-index: 9; background: #fff; font-family: Winston, Arial, sans-serif;
  box-shadow: 0 calc(6 * var(--u)) calc(18 * var(--u)) rgba(0, 22, 41, .12); transform: translateY(-120%); visibility: hidden;
  transition: transform .2s ease, visibility 0s linear .2s; border-radius: 0 0 calc(20 * var(--u)) calc(20 * var(--u));
}
.fst-bar.is-on { transform: none; visibility: visible; transition: transform .2s ease, visibility 0s; }
@media (min-width: 1024px) { .fst-bar { display: none; } }
.fst-bar__btn { display: flex; align-items: center; gap: calc(12 * var(--u)); width: 100%; min-height: calc(56 * var(--u)); padding: calc(8 * var(--u)) calc(18 * var(--u)); border: 0; background: none; text-align: left; cursor: pointer; color: var(--fst-ink); font-family: inherit; }
.fst-bar__label { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.fst-bar__small { font-size: calc(12 * var(--u)); line-height: 1.2; color: var(--fst-muted); }
.fst-bar__cur { font-weight: 600; font-size: calc(15 * var(--u)); line-height: 1.3; color: var(--fst-navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fst-bar__num { font-size: calc(13 * var(--u)); color: var(--fst-muted); white-space: nowrap; }
.fst-bar__chev { width: calc(11 * var(--u)); height: calc(11 * var(--u)); border-right: calc(2 * var(--u)) solid var(--fst-navy); border-bottom: calc(2 * var(--u)) solid var(--fst-navy); transform: rotate(45deg) translateY(calc(-3 * var(--u))); transition: transform .2s; flex: none; }
.fst-bar.is-open .fst-bar__chev { transform: rotate(-135deg) translateY(calc(-2 * var(--u))); }
.fst-bar__progress { position: relative; height: calc(3 * var(--u)); margin: 0 calc(18 * var(--u)) calc(8 * var(--u)); border-top: calc(2 * var(--u)) dashed rgba(0, 84, 165, .3); }
.fst-bar__fill { position: absolute; left: 0; top: calc(-2 * var(--u)); height: calc(3 * var(--u)); width: 0; border-radius: calc(2 * var(--u)); background: linear-gradient(to right, var(--fst-cyan), var(--fst-link)); }
.fst-bar ol { display: none; max-height: 60vh; overflow-y: auto; margin: 0; padding: calc(4 * var(--u)) 0 calc(12 * var(--u)); list-style: none; border-top: calc(1 * var(--u)) solid var(--fst-line); }
.fst-bar li { margin: 0; padding: 0; }
.fst-bar li::before { content: none; }
.fst-bar.is-open ol { display: block; }
.fst-bar a { display: block; padding: calc(10 * var(--u)) calc(18 * var(--u)); font-size: calc(16 * var(--u)); line-height: 1.35; color: var(--fst-ink); text-decoration: none; }
.fst-bar a.is-current { font-weight: 600; color: var(--fst-navy); background: var(--fst-mist); }

/* ---------- ширины ---------- */
@media (max-width: 1279px) {
  .fst-panel { padding: calc(48 * var(--u)); }
  .fst-hero { padding: calc(36 * var(--u)) calc(48 * var(--u)) calc(40 * var(--u)); }
  .fst-grid { grid-template-columns: minmax(0, 1fr) calc(280 * var(--u)); gap: calc(48 * var(--u)); }
}
@media (max-width: 1023px) {
  .fst-grid { display: block; }
  .fst-aside { display: none; }
  .fst-article, .fst-after > * { max-width: calc(740 * var(--u)); margin-left: auto; margin-right: auto; }
  .fst-after-sec { display: block; }
  .fst .fst-body h2, .fst .fst-body h3 { scroll-margin-top: calc(var(--fst-hdr, calc(60 * var(--u))) + calc(80 * var(--u))); }
  .fst-cards--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fst-card--lead { grid-template-columns: 1fr; gap: calc(20 * var(--u)); }
  .fst-people { grid-template-columns: 1fr; }
  .fst .fst-h1 { font-size: calc(38 * var(--u)); }
  .fst .fst-h1--caps { font-size: calc(44 * var(--u)); }
}
@media (max-width: 767px) {
  .fst-tegi { display: none; } /* плитка тегов на телефоне скрыта всегда (CLAUDE.md), ссылки остаются в HTML */
  .fst-sec { padding-top: calc(12 * var(--u)); }
  .fst-sec:last-child { padding-bottom: calc(56 * var(--u)); }
  .fst-panel { padding: calc(28 * var(--u)) calc(20 * var(--u)); border-radius: calc(24 * var(--u)); }
  .fst-hero { margin-top: calc(12 * var(--u)); padding: calc(24 * var(--u)) calc(22 * var(--u)) calc(28 * var(--u)); border-radius: calc(24 * var(--u)); outline-offset: calc(-8 * var(--u)); }
  .fst-crumbs { margin-bottom: calc(18 * var(--u)); font-size: calc(13 * var(--u)); }
  .fst-crumbs li:last-child { display: none; } /* текущая страница = H1 — на телефоне только путь */
  .fst { font-size: calc(17 * var(--u)); }
  .fst .fst-h1 { font-size: calc(29 * var(--u)); line-height: 1.15; margin-bottom: calc(20 * var(--u)); }
  .fst .fst-h1--caps { font-size: calc(34 * var(--u)); }
  .fst-hero__lead { font-size: calc(17 * var(--u)); }
  .fst-lead { font-size: calc(19 * var(--u)); line-height: 1.5; margin-bottom: calc(26 * var(--u)); }
  .fst-byline { align-items: flex-start; }
  .fst-byline__dates { flex-direction: column; }
  .fst .fst-body h2 { font-size: calc(24 * var(--u)); margin-top: 1.6em; }
  .fst .fst-body h3 { font-size: calc(19 * var(--u)); }
  .fst-toc { margin: 0 calc(-8 * var(--u)) calc(28 * var(--u)); padding: calc(20 * var(--u)) calc(18 * var(--u)) calc(10 * var(--u)); }
  .fst-toc__list > li { font-size: calc(16 * var(--u)); }
  .fst-cover { margin: 0 calc(-8 * var(--u)) calc(28 * var(--u)); }
  .fst-cover img { border-radius: calc(16 * var(--u)); }
  .fst-note { padding: calc(18 * var(--u)) calc(18 * var(--u)) calc(16 * var(--u)); font-size: calc(16 * var(--u)); }
  .fst-cards--3 { grid-template-columns: 1fr; }
  .fst-related__title { font-size: calc(24 * var(--u)) !important; margin-bottom: calc(20 * var(--u)) !important; }
  .fst .fst-card--lead .fst-card__title { font-size: calc(23 * var(--u)); }
  .fst-filter { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(-20 * var(--u)) calc(26 * var(--u)); padding: 0 calc(20 * var(--u)) calc(4 * var(--u)); scrollbar-width: none; }
  .fst-filter::-webkit-scrollbar { display: none; }
  .fst .fst-chip { flex: none; }
  .fst-promo__list--grid { grid-template-columns: 1fr; }
  .fst-order--wide { display: block; padding: calc(22 * var(--u)) calc(20 * var(--u)); }
  .fst-order--wide .fst-order__text { margin-bottom: calc(16 * var(--u)); }
  .fst-order--wide .fst-btn { width: 100%; }
  .fst-author { grid-template-columns: calc(64 * var(--u)) 1fr; gap: calc(16 * var(--u)); padding: calc(22 * var(--u)) calc(18 * var(--u)); }
  .fst-author .fst-ava { width: calc(64 * var(--u)) !important; height: calc(64 * var(--u)) !important; }
  .fst-author .fst-ava--initials { font-size: calc(22 * var(--u)); }
  .fst-author .fst-btn { width: 100%; }
  /* «Поделиться»: колонки по числу видимых значков — 7, с «Отправить» 8 */
  .fst .fst-sh__list { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: calc(6 * var(--u)); justify-items: center; }
  .fst .fst-sh__list > li { width: 100%; display: flex; justify-content: center; align-items: center; }
  .fst .fst-sh__i { width: 100%; max-width: calc(44 * var(--u)); height: auto; aspect-ratio: 1 / 1; min-width: 0; min-height: 0; overflow: hidden; flex: none; align-self: center; }
  /* авторы: фото и имя в ряд, остальное во всю ширину */
  .fst-person { grid-template-columns: calc(72 * var(--u)) 1fr; column-gap: calc(16 * var(--u)); row-gap: 0; padding: calc(22 * var(--u)) calc(18 * var(--u)); }
  .fst-person__ava { grid-row: 1 / span 2; align-self: center; }
  .fst-person__body { display: contents; }
  .fst .fst-person__name { grid-column: 2; align-self: end; font-size: calc(21 * var(--u)); margin: 0 0 calc(2 * var(--u)); }
  .fst-person__job { grid-column: 2; align-self: start; }
  .fst-person .fst-person__bio, .fst-person .fst-tags, .fst-person .fst-person__count { grid-column: 1 / -1; }
  .fst-person .fst-ava { width: calc(72 * var(--u)) !important; height: calc(72 * var(--u)) !important; }
  .fst-person .fst-ava--initials { font-size: calc(24 * var(--u)); }
  /* профиль автора: фото над именем — в ряд имя и должность зажимались в узкую колонку */
  .fst-profile { grid-template-columns: 1fr; gap: calc(16 * var(--u)); }
  .fst-profile .fst-ava { width: calc(88 * var(--u)) !important; height: calc(88 * var(--u)) !important; }
  .fst-ava--xl.fst-ava--initials { font-size: calc(30 * var(--u)); }
  .fst-profile__job { font-size: calc(16 * var(--u)); }
  .fst-profile-main .fst-btn { width: 100%; }
}
@media (max-width: 359px) { .fst .fst-sh__list { gap: calc(4 * var(--u)); } }
@media (prefers-reduced-motion: reduce) {
  .fst-bar, .fst-stoc__fill, .fst .fst-sh__i, .fst .fst-teg { transition: none; }
  .fst .fst-sh__i:hover { transform: none; }
}
@media print {
  .header, .footer, .fst-aside, .fst-after-sec, .fst-share, .fst-related, .fst-bar, .fst-order, .modal-wrapper { display: none !important; }
  body, .fst-panel { background: #fff !important; }
  .fst-hero { background: none; color: #000; outline: 0; padding: 0; }
  .fst .fst-hero a, .fst .fst-h1, .fst-byline__who, .fst-byline__dates, .fst-crumbs { color: #000 !important; }
  .fst-grid { display: block; }
}

/* FST_KOMPONENTY_BINI 21.10.2026 — силуэты (.fst-sil) и тройка кадров (.fst-tri) для текста статьи; подписи из data-*, в HTML текста нет */
.fst-body .fst-sil, .fst-body .fst-tri { margin: 1.6em 0; padding: calc(24 * var(--u)); background: var(--fst-mist); border-radius: var(--fst-r-sm); display: grid; grid-template-columns: repeat(3, 1fr); gap: calc(24 * var(--u)) calc(16 * var(--u)); }
.fst-sil__i, .fst-tri__i { margin: 0; text-align: center; }
.fst-sil__i svg { display: block; width: 100%; max-width: calc(132 * var(--u)); height: auto; margin: 0 auto; overflow: visible; }
.fst-sil__i .h { fill: none; stroke: #a9b8c6; stroke-width: 1.6; stroke-dasharray: 3 4; stroke-linecap: round; }
.fst-sil__i .s { fill: #fff; stroke: var(--fst-navy); stroke-width: 2.5; stroke-linejoin: round; }
.fst-sil__i .r { fill: none; stroke: var(--fst-navy); stroke-width: 1.2; opacity: .35; stroke-linecap: round; }
.fst-sil__i .p { fill: #fff; stroke: var(--fst-link); stroke-width: 2; stroke-dasharray: 2 3; }
.fst-sil__i span, .fst-tri__i span { display: block; margin-top: calc(10 * var(--u)); line-height: 1.4; }
.fst-sil__i span::before, .fst-tri__i span::before { content: attr(data-n); display: block; font-size: calc(15 * var(--u)); font-weight: 600; color: var(--fst-navy); }
.fst-sil__i span::after, .fst-tri__i span::after { content: attr(data-k); display: block; font-size: calc(14 * var(--u)); color: var(--fst-muted); }
.fst-tri__i img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: calc(16 * var(--u)); background: #fff; }
@media (max-width: 767px) {
  .fst-body .fst-sil { grid-template-columns: repeat(2, 1fr); padding: calc(18 * var(--u)) calc(14 * var(--u)); gap: calc(18 * var(--u)) calc(12 * var(--u)); }
  .fst-body .fst-tri { grid-template-columns: 1fr; padding: calc(14 * var(--u)); gap: calc(18 * var(--u)); }
  .fst-tri__i img { aspect-ratio: 16 / 9; object-position: 50% 80%; }
}
