/* Страница статьи — раскладка «Колонка с оглавлением» (решение владельца
   от 17.11.2026, макет docs/design/blog/article-page.html, В1).
   Подключается только статьёй (article.blade.php), в общую склейку не
   входит: другим страницам эти правила не нужны.

   Шапка статьи (крошки, H1, строка «рубрика · Обновлено · время чтения»,
   «Что вы узнаете») — на всю ширину. Ниже на компьютере две колонки:
   слева липкое оглавление с линией прогресса, справа колонка текста; на
   телефоне и планшете оглавление — липкая плашка над текстом с номером
   раздела и полосой прогресса. */

/* Шапка статьи — по левому краю: колонка текста ниже начинается от края,
   и центрованный H1 над ней висел бы сам по себе.
   id в селекторе — потому что style.css центрует #information-contact h1. */
#information-contact.is-blog-article h1.blog-article__h1 { text-align: left; margin: 6px 0 0; max-width: 960px; }

.art-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 10px 0 20px; font-size: 13.5px; color: #667085; }
.art-meta__rubric { color: #0B4FA8; font-weight: 700; }
.art-meta__rubric:hover { color: #033E8C; }
/* Метка общего путеводителя — бренд «от нас», тоном рубрики, но плашкой. */
.art-meta__guide { display: inline-flex; align-items: center; gap: 6px; padding: 1px 10px; border-radius: 999px; background: #E8F0FB; color: #0B4FA8; font-weight: 700; }
.art-meta__guide::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #0B4FA8; }
/* Подпись издания у остальных статей: знак и имя, тёмным. */
.art-meta__by { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: #0A2B4A; }
.art-meta__by img { width: 18px; height: 18px; border-radius: 5px; }

/* «Почему InsideClinics» в конце текста. Вес селекторов — как у стилей
   текста статьи (.is-blog-article .art-col .typo__wrap): иначе маркер списка
   и размер абзаца текста перебивали карточку. */
.is-blog-article .art-col .typo__wrap .art-why { margin: 32px 0; padding: 24px; border: 1px solid #E3EAF6; border-radius: 20px; background: #fff; box-shadow: 0 1px 2px rgba(16,24,40,.04), 0 6px 16px rgba(83,89,154,.08); }
.is-blog-article .art-col .typo__wrap .art-why__h { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 20px; line-height: 1.3; font-weight: 700; color: #0A2B4A; }
.is-blog-article .art-col .typo__wrap .art-why__h img { width: 28px; height: 28px; border-radius: 8px; margin: 0; }
.is-blog-article .art-col .typo__wrap ul.art-why__list { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 12px; }
.is-blog-article .art-col .typo__wrap ul.art-why__list > li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; margin: 0; padding: 0; font-size: 15px; line-height: 1.45; color: #3A4A60; }
.is-blog-article .art-col .typo__wrap ul.art-why__list > li::before { content: ""; position: static; width: 22px; height: 22px; margin: 0; border-radius: 50%; background: #E7F4DA url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2 5 8.5l4.5-5' fill='none' stroke='%235A8F23' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat; }
.is-blog-article .art-col .typo__wrap ul.art-why__list b { display: block; color: #0A2B4A; }
/* Кнопка переносит текст на узком экране: поля сверху и снизу и выравнивание по центру, иначе две строки липнут к краям и уходят влево (проверка 375 px, 04.12.2026). */
.is-blog-article .art-col .typo__wrap a.art-why__btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 11px 22px; text-align: center; line-height: 1.3; border-radius: 12px; background: linear-gradient(125deg, #033E8C 0%, #0B4FA8 55%, #0071e3 100%); color: #fff; font-size: 15px; font-weight: 700; text-decoration: none; }
.is-blog-article .art-col .typo__wrap a.art-why__btn:hover { color: #fff; filter: brightness(1.08); }
@media (max-width: 767.98px) {
    .is-blog-article .art-col .typo__wrap .art-why { padding: 20px 18px; }
    .is-blog-article .art-col .typo__wrap a.art-why__btn { width: 100%; }
}

/* ── шапка с обложкой (решение владельца от 24.11.2026) ──
   Обложка компактно справа от заголовка: видна, но не занимает первый
   экран и не отодвигает текст. На телефоне — под заголовком и строкой
   рубрики, перед «Что вы узнаете». Без обложки шапка как была. */
/* Обложка без пустоты (владелец 26.11.2026: «на всех статьях блога делать
   изображение в заголовке так, чтоб не было пустого места»): колонка текста —
   по ширине его содержимого (вступление 62ch, карточка «Коротко о лечении»
   660 px), обложка забирает остальную ширину и тянется на всю высоту шапки.
   Кадр обрезается по центру (object-fit), поэтому главный предмет — в
   середине кадра (правило обложек, docs/content/blog.md §7). Прежде обложка
   стояла колонкой 288 px в 16:9, и под ней и справа от карточки зияло место. */
.art-head.has-cover { display: grid; grid-template-columns: minmax(0, 700px) minmax(288px, 1fr); gap: 12px 32px; align-items: stretch; margin-bottom: 20px; }
.art-head.has-cover .art-meta { margin-bottom: 0; }
.art-head__cover { position: relative; display: block; overflow: hidden; min-height: 168px; margin-top: 6px; border-radius: 16px; background: #EAF1FB; }
.art-head__cover img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.art-head__lead { margin: 12px 0 0; max-width: 62ch; color: #033E8C; font-size: 18px; font-weight: 500; line-height: 1.42; }
@media (max-width: 991px) {
    .art-head.has-cover { grid-template-columns: minmax(0, 1fr) 260px; gap: 12px 24px; }
}
@media (max-width: 767px) {
    .art-head.has-cover { grid-template-columns: minmax(0, 1fr); gap: 10px; margin-bottom: 14px; }
    /* Порядок на телефоне (решение владельца от 24.11.2026): заголовок,
       строка рубрики, обложка, вступление. */
    .art-head.has-cover .art-head__text { display: contents; }
    .art-head.has-cover .blog-article__h1 { order: 1; }
    .art-head.has-cover .art-meta { order: 2; }
    /* На телефоне обложка во всю ширину — снова 16:9 по своей ширине. */
    .art-head__cover { order: 3; margin-top: 2px; min-height: 0; aspect-ratio: 16 / 9; }
    .art-head__lead { order: 4; margin-top: 2px; font-size: 16.5px; }
}

/* ── раскладка ── */
.art-layout { margin-top: 8px; }
.art-col { min-width: 0; }

/* ── текст: «Журнальная колонка» ──
   Т1, решение владельца от 18.11.2026 (макет
   docs/design/blog/article-typography.html): без белой карточки, прямо на
   фоне страницы, строка ~66 знаков, заголовки — цветом бренда. Межстрочный,
   абзацы и отступы заголовков — общее правило сайта (text-rhythm.css);
   здесь только колонка, кегль и цвет. */
.art-col .typo { background: none; box-shadow: none; border-radius: 0; padding: 0; margin: 0; }
.is-blog-article .art-col .typo__wrap { max-width: 680px; margin: 0; padding: 0; color: #24324A; }
.is-blog-article .art-col .typo__wrap p,
.is-blog-article .art-col .typo__wrap li { font-size: 17px; color: #24324A; text-wrap: pretty; }
/* Компьютер от 1200 px: текст и ВСЕ блоки статьи — одной ширины, 800 px,
   кегль 18 (владелец 26.11.2026, вариант 1, «для всех эталонов блога»). При
   680 px справа в колонке статьи (910 px) пустовало 230 px и текст выглядел
   узким, а блок «Коротко», растянутый на всю колонку, давал второй правый
   край. 800 px при 18 px — те же ~75 знаков в строке, что и 680 при 17:
   читается так же, шрифт крупнее. Ни один блок шире текста не делаем — на
   экране около 1200 px колонка уже 910 px, и широкий блок вылезал за экран. */
@media (min-width: 1200px) {
    /* Страница статьи — ровно оглавление 300 + отступ 40 + текст 800 = 1140 px:
       обложка, «Что вы узнаете», текст и все блоки кончаются на одной линии.
       Было 1250 — справа от текста висела пустая полоса 110 px, и правые края
       шапки и текста «гуляли» (владелец 26.11.2026). */
    main.container:has(> .container.is-blog-article) { max-width: 1170px; }
    /* Вложенные контейнеры темы (шапка статьи, «Другие статьи») держат свою
       ширину 1280 px, а mobile-fixes.css (#content.container .container) даёт им
       −15 px справа — здесь они ровно по ширине страницы статьи. */
    #content.container:has(> .container.is-blog-article) .container { width: auto; max-width: none; margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; }
    .is-blog-article .art-col .typo__wrap { max-width: 800px; }
    .is-blog-article .art-col .typo__wrap p,
    .is-blog-article .art-col .typo__wrap li { font-size: 18px; }
}
.is-blog-article .art-col .typo__wrap h2 { font-size: 26px !important; font-weight: 700; letter-spacing: -.01em; color: #033E8C; text-wrap: balance; }
.is-blog-article .art-col .typo__wrap h3 { font-size: 19px !important; font-weight: 700; color: #0A2B4A; text-wrap: balance; }
.is-blog-article .art-col .typo__wrap strong,
.is-blog-article .art-col .typo__wrap b { font-weight: 700; color: #0A2B4A; }
.is-blog-article .art-col .blog-article__lead { font-size: 19px !important; font-weight: 500; color: #033E8C !important; margin-bottom: 1.2em !important; }
.is-blog-article .art-col .typo__wrap ul { list-style: none; padding: 0; }
.is-blog-article .art-col .typo__wrap ul > li { position: relative; padding-left: 24px; }
.is-blog-article .art-col .typo__wrap ul > li::before { content: ""; position: absolute; left: 6px; top: .56em; width: 7px; height: 7px; border-radius: 50%; background: #8BC34A; }
/* Переход по оглавлению не прячет заголовок под закреплённой шапкой сайта. */
.art-col .typo h2[id] { scroll-margin-top: calc(var(--ic-header-h, 132px) + 24px); }

/* ── оглавление ── */
.art-toc__head { display: flex; align-items: center; gap: 8px; width: 100%; padding: 0; border: 0; background: none; text-align: left; cursor: default; }
.art-toc__title { font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #667085; }
.art-toc__count { font-size: 12.5px; font-weight: 700; color: #419047; }
.art-toc__chev { display: none; margin-left: auto; color: #033E8C; transition: transform .2s ease; }
.art-toc__list { position: relative; list-style: none; margin: 10px 0 0; padding: 0 0 0 16px; }
.art-toc__list::before { content: ""; position: absolute; left: 4px; top: 6px; bottom: 6px; width: 2px; border-radius: 1px; background: #E3EAF6; }
.art-toc__fill { position: absolute; left: 4px; top: 6px; width: 2px; height: 0; border-radius: 1px; background: linear-gradient(#8BC34A, #419047); }
.art-toc__list li { margin: 0; }
.art-toc__list a { display: block; padding: 6px 0; font-size: 14px; line-height: 1.35; color: #3A4A60; text-decoration: none; transition: color .2s ease; }
.art-toc__list a:hover { color: #033E8C; }
.art-toc__list a.is-active { color: #033E8C; font-weight: 700; }
.art-toc__bar { display: none; height: 3px; margin-top: 8px; border-radius: 2px; background: #E3EAF6; overflow: hidden; }
.art-toc__bar i { display: block; width: 0; height: 100%; background: linear-gradient(90deg, #8BC34A, #419047); }

/* Липкая карточка заявки под оглавлением (владелец, 04.12.2026): на
   компьютере колонка «оглавление + карточка» липнет целиком, само оглавление
   внутри неё уже не липкое и не прокручивается отдельно — иначе карточка
   уезжала бы из-под длинного списка. На телефоне колонки нет (contents),
   оглавление остаётся липкой плашкой, а карточку заменяет круглая кнопка. */
.art-side__card { position: relative; overflow: hidden; display: grid; justify-items: start; gap: 8px; margin-top: 18px; padding: 16px; border-radius: 18px; color: #fff; background: linear-gradient(135deg, #033E8C 0%, #0B4FA8 65%, #1560C4 100%); }
.art-side__card::after { content: ""; position: absolute; right: -80px; top: -110px; width: 200px; height: 200px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .14); pointer-events: none; }
.art-side__t { margin: 2px 0 0; font-size: 17px; font-weight: 700; line-height: 1.3; color: #fff; }
.art-side__s { margin: 0; font-size: 13px; line-height: 1.45; color: #CFE0FA; }
.art-side__btn { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; width: 100%; min-height: 44px; margin-top: 4px; padding: 8px 16px; border-radius: 12px; font-size: 14.5px; font-weight: 700; line-height: 1.25; text-align: center; color: #033E8C; background: #fff; box-shadow: 0 6px 16px rgba(0, 20, 60, .22); text-decoration: none; transition: transform .15s ease; }
.art-side__btn:hover { color: #033E8C; transform: translateY(-1px); }
.art-side__m { display: none; }

@media (min-width: 992px) {
    /* Высота колонки — в экран: длинное оглавление прокручивается внутри,
       а карточка внизу видна всегда, и на ноутбуке с экраном в 768 px. */
    .art-side { position: sticky; top: calc(var(--ic-header-h, 132px) + 24px); align-self: start; display: flex; flex-direction: column; max-height: calc(100vh - var(--ic-header-h, 132px) - 48px); }
    .art-side .art-toc { position: static; flex: 0 1 auto; min-height: 0; max-height: none; }
    .art-side__card { flex: none; }
}

@media (max-width: 991.98px) {
    .art-side { display: contents; }
    .art-side__card { display: none; }
    .art-side .art-toc.is-js { padding-right: 58px; }
    .art-side .art-toc.is-js .art-side__m { position: absolute; top: 6px; right: 8px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, #033E8C, #0B4FA8); box-shadow: 0 4px 10px rgba(3, 62, 140, .25); }
    .art-side__m span { width: 22px; height: 22px; background: #fff; -webkit-mask: url(../image/med-icons/specialties-medical-records.svg) center / contain no-repeat; mask: url(../image/med-icons/specialties-medical-records.svg) center / contain no-repeat; }
}

@media (min-width: 992px) {
    .art-layout.has-toc { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 36px; align-items: start; }
    .art-toc { position: sticky; top: calc(var(--ic-header-h, 132px) + 24px); max-height: calc(100vh - var(--ic-header-h, 132px) - 48px); overflow-y: auto; scrollbar-width: thin; padding-right: 4px; }
}

/* Широкий экран: шире оглавление. */
@media (min-width: 1200px) {
    .art-layout.has-toc { grid-template-columns: 300px minmax(0, 1fr); gap: 40px; }
}

/* Планшет и телефон: оглавление — липкая плашка над текстом. Список
   сворачивается, только когда работает скрипт (is-js): без него он виден
   обычным списком ссылок. */
@media (max-width: 991.98px) {
    /* z-index выше 99: столько у .typo в общих стилях, и текст ложился поверх плашки. */
    .art-toc { position: sticky; top: calc(var(--ic-header-h, 64px) + 8px); z-index: 100; margin: 0 0 12px; padding: 10px 14px; border-radius: 14px; background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 6px 16px rgba(83, 89, 154, .1); }
    .art-toc.is-js .art-toc__head { cursor: pointer; min-height: 28px; }
    .art-toc.is-js .art-toc__chev { display: block; }
    .art-toc.is-js .art-toc__bar { display: block; }
    .art-toc.is-js:not(.is-open) .art-toc__list { display: none; }
    .art-toc.is-open .art-toc__chev { transform: rotate(180deg); }
    .art-toc.is-open .art-toc__list { max-height: 50vh; overflow-y: auto; }
    /* Переход по оглавлению: заголовок встаёт под шапку и плашку, а не под них. */
    .art-col .typo h2[id] { scroll-margin-top: calc(var(--ic-header-h, 64px) + 72px); }

    /* У body overflow-x: hidden (общие стили): так body становится
       контейнером прокрутки, который сам не прокручивается, и sticky у
       плашки не срабатывал — она уезжала вместе с текстом. clip так же не
       даёт странице ездить вбок, но контейнером прокрутки не становится.
       Файл подключён только у статьи — другие страницы не задеты. */
    body { overflow-x: clip; }
}

@media (max-width: 767.98px) {
    .art-meta { margin-bottom: 14px; }
    .is-blog-article .art-col .typo__wrap p,
    .is-blog-article .art-col .typo__wrap li { font-size: 16px !important; }
    .is-blog-article .art-col .typo__wrap h2 { font-size: 22px !important; }
    .is-blog-article .art-col .typo__wrap h3 { font-size: 18px !important; }
}

/* ── блоки по меткам в тексте (BLOG.md §10.0–10.1) ──
   Вид — по утверждённой раскладке (макет docs/design/blog/article-page.html:
   ④ таблица методов, ⑤ «Текст проявляется», ⑥ «Кто это делает»). Блок
   стоит в колонке текста и не шире её. Селекторы длинные, потому что
   колонка текста задаёт свои размеры абзацам и ссылкам с !important. */
.art-col .typo__wrap .art-blk { margin: 22px 0 26px; }
.art-col .typo__wrap .art-blk__lbl { margin: 0 0 10px; font-size: 15px; font-weight: 800; line-height: 1.3; color: #033E8C; }
.art-col .typo__wrap .art-blk__note { margin: 10px 0 0; padding: 8px 12px; border-radius: 10px; background: #F3F6FC; font-size: 13px; line-height: 1.42; color: #3A4A60; }

/* ④ таблица методов — на белой карточке: в макете раскладки она стояла
   на белом листе текста, а у «Журнальной колонки» (Т1) текст лежит прямо
   на фоне страницы, и без карточки примечание и кнопки сливались с ним.
   Кнопки ситуаций — на всю строку, как ряды вкладок сайта
   (VISUAL-STANDARD.md); на телефоне переносятся, каждая строка полная. */
.art-col .typo__wrap .art-mt { padding: 14px 16px 16px; border: 1px solid #E3EAF6; border-radius: 16px; background: #fff; box-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 6px 16px rgba(83, 89, 154, .08); }
.art-seg { display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 6px; padding: 4px; border-radius: 12px; background: #EEF4FF; }
.art-seg button { flex: 1 1 auto; min-height: 34px; padding: 7px 12px; border: 0; border-radius: 9px; background: none; font-size: 13px; font-weight: 700; line-height: 1.25; color: #3A4A60; cursor: pointer; transition: background-color .2s ease, color .2s ease, box-shadow .2s ease; }
.art-seg button:hover { color: #033E8C; }
.art-seg button[aria-pressed="true"] { background: #fff; color: #033E8C; box-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 6px 16px rgba(83, 89, 154, .08); }
.art-seg button:focus-visible { outline: 2px solid #0B4FA8; outline-offset: 1px; }
.art-mt__t { width: 100%; margin: 0; border-collapse: collapse; font-size: 14px; line-height: 1.42; }
.art-mt__t th { padding: 8px 10px 6px; border-bottom: 1px solid #E3EAF6; text-align: left; font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #667085; white-space: nowrap; }
.art-mt__t td { padding: 11px 10px; border-bottom: 1px solid #E3EAF6; vertical-align: top; color: #3A4A60; transition: opacity .3s ease; }
.art-col .typo__wrap .art-mt__name a { font-weight: 700; color: #0B4FA8; text-decoration: none; }
.art-col .typo__wrap .art-mt__name a:hover { color: #033E8C; text-decoration: underline; }
.art-mt__name small { display: block; margin-top: 2px; font-size: 12px; color: #667085; }
.art-mt__pr { font-weight: 800; color: #033E8C !important; white-space: nowrap; }
.art-mt__days { white-space: nowrap; }
.art-mt__t tr.is-off td { opacity: .3; }
/* Строки появляются по очереди, когда таблица дошла до экрана. Прячет их
   только скрипт (is-js) — без него таблица видна сразу. */
.art-mt.is-js tbody tr { opacity: 0; transform: translateY(8px); }
.art-mt.is-js.is-in tbody tr { opacity: 1; transform: none; transition: opacity .45s cubic-bezier(.2, .7, .2, 1), transform .45s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--i, 0) * 70ms); }

/* ⑤ «Текст проявляется»: одна главная мысль крупно; слова загораются по
   мере чтения. Без скрипта и при «уменьшить движение» — сразу целиком. */
.is-blog-article .art-col .typo__wrap p.art-thought { max-width: 30ch; margin: 24px 0 28px !important; padding: 6px 0 6px 18px; border-left: 3px solid #8BC34A; font-size: 26px !important; font-weight: 800; line-height: 1.35 !important; letter-spacing: -.01em; color: #033E8C; text-wrap: balance; }
.art-thought.is-js .art-thought__w { color: #C9D3E3; transition: color .3s ease; }
.art-thought.is-js .art-thought__w.is-on { color: #033E8C; }

/* ⑥ «Кто это делает»: три врача в ряд в колонке текста, на телефоне — столбиком. */
.art-docs__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(196px, 100%), 1fr)); gap: 10px; }
.art-col .typo__wrap a.art-doc { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 12px; border: 1px solid #E3EAF6; border-radius: 14px; background: #fff; color: inherit; text-decoration: none; transition: border-color .2s ease, box-shadow .2s ease; }
.art-col .typo__wrap a.art-doc:hover { border-color: #C6DAF5; box-shadow: 0 2px 4px rgba(16, 24, 40, .05), 0 14px 30px rgba(83, 89, 154, .12); }
.art-doc__photo { position: relative; flex: 0 0 52px; width: 52px; height: 52px; }
.art-doc__photo > img:first-child { display: block; width: 52px; height: 52px; border-radius: 50%; object-fit: cover; background: #E7EDF6; }
/* Клиника — фото здания квадратом со скруглением, как у карточек клиник
   в «Похожих»: круг остаётся знаком врача. */
.art-doc__photo--sq > img:first-child { border-radius: 12px; }
/* Названия клиник длиннее имён врачей («Hisar Intercontinental Hospital»
   в плитке 220 px — три строки): две строки обрезали бы его многоточием. */
.art-docs--clinics .art-doc__body b { -webkit-line-clamp: 3; }
.art-doc__flag { position: absolute; right: -4px; bottom: -4px; width: 20px; height: 20px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px #fff; }
/* mobile-fixes.css даёт картинкам текста на телефоне .typo__wrap img { margin: 12px 0 }
   — фото в плитке съезжало на 12 px вниз из своей рамки, флаг — вверх. */
.art-col .typo__wrap .art-doc__photo img { margin: 0; }
.art-doc__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.art-doc__body b { font-size: 14px; line-height: 1.3; color: #0A2B4A; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.art-doc__body small { font-size: 12.5px; line-height: 1.35; color: #667085; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
/* Признаки выбора в статье о цене (владелец 26.11.2026: вариант 1 «Плашка и
   цена», компактный вид «Строка снизу»): плашка справочника и цена «от» —
   строкой во всю ширину плитки, под фото и текстом; фото меньше (44 px).
   В тексте плашка переносилась на две строки — в плитке на три колонки у
   текста 130 px, а у строки снизу вся ширина плитки. */
.art-col .typo__wrap .art-docs--factors a.art-doc { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 8px 10px; align-items: center; padding: 10px 12px; }
.art-docs--factors .art-doc__photo, .art-docs--factors .art-doc__photo > img:first-child { width: 44px; height: 44px; }
.art-doc__row { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 8px; padding-top: 7px; border-top: 1px solid #EEF2F8; }
/* Название плашки целиком, без многоточия: не влезает рядом с ценой —
   цена уходит строкой ниже. */
.art-doc__badge { white-space: nowrap; padding: 1px 6px; border-radius: 5px; background: var(--badge-bg, #2B05C3); color: #fff; font-size: 11px; font-weight: 700; line-height: 1.6; cursor: help; }
.art-doc__price { font-size: 13px; font-weight: 800; line-height: 1.35; color: #033E8C; white-space: nowrap; }

@media (max-width: 767.98px) {
    /* Таблица на телефоне — строка карточкой: метод и цена в первой
       строке, «Кому подходит» и «В стране» под ними с подписью. */
    .art-col .typo__wrap .art-mt { padding: 10px 12px 12px; }
    .art-mt__t thead { display: none; }
    .art-mt__t, .art-mt__t tbody { display: block; }
    .art-mt__t tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding: 10px 0; border-bottom: 1px solid #E3EAF6; }
    .art-mt__t td { display: block; padding: 0; border: 0; }
    .art-mt__name { grid-column: 1; grid-row: 1; }
    .art-mt__pr { grid-column: 2; grid-row: 1; text-align: right; }
    .art-mt__fit, .art-mt__days { grid-column: 1 / -1; font-size: 13px; white-space: normal; }
    .art-mt__fit::before, .art-mt__days::before { content: attr(data-l) ": "; color: #667085; }
    .is-blog-article .art-col .typo__wrap p.art-thought { font-size: 21px !important; padding-left: 14px; }
}

@media (prefers-reduced-motion: reduce) {
    .art-toc__chev, .art-toc__list a { transition: none; }
    .art-seg button, .art-mt__t td, .art-col .typo__wrap a.art-doc { transition: none; }
    .art-mt.is-js tbody tr, .art-mt.is-js.is-in tbody tr { opacity: 1; transform: none; transition: none; }
    .art-thought.is-js .art-thought__w { color: #033E8C; transition: none; }
}

/* Полоса «Сколько стоит» статьи о цене — вместо плиток «Что вы узнаете»
   (владелец 26.11.2026, круг 2, версия 1 «Одна полоса»): цены, шкала с
   серединой и кнопка — одной строкой, мысли статьи — строкой ссылок под ней.
   На телефоне строка складывается: шкала уходит, кнопка — во всю ширину. */
.art-ps { margin: 0 0 18px; }
.art-ps__bar { display: flex; align-items: center; gap: 18px; padding: 12px 12px 12px 18px; border: 1px solid #E3EAF6; border-radius: 14px; background: #fff; box-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 8px 20px rgba(83, 89, 154, .08); }
.art-ps__k { flex: none; font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: #18864B; }
.art-ps__s { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 16px; min-width: 0; }
.art-ps__s > span { font-size: 13px; color: #667085; white-space: nowrap; }
.art-ps__s b { margin-left: 4px; font-size: 16px; color: #033E8C; }
.art-ps__s .is-mid b { font-size: 19px; }
.art-ps__scale { position: relative; flex: 1 1 80px; min-width: 60px; height: 5px; border-radius: 3px; background: linear-gradient(90deg, #C6DAF5, #033E8C); }
.art-ps__scale i { position: absolute; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border: 2px solid #fff; border-radius: 50%; background: #18864B; box-shadow: 0 1px 3px rgba(16, 24, 40, .25); }
.art-ps__btn { flex: none; display: inline-flex; align-items: center; justify-content: center; padding: 10px 16px; border-radius: 12px; background: linear-gradient(135deg, #033E8C 0%, #2B05C3 100%); color: #fff; font-weight: 800; font-size: 14.5px; white-space: nowrap; text-decoration: none; }
.art-ps__btn:hover, .art-ps__btn:focus { color: #fff; text-decoration: none; box-shadow: 0 6px 18px rgba(16, 24, 40, .18); }
.art-ps__learn { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin: 8px 2px 0; font-size: 13.5px; line-height: 1.42; }
.art-ps__learn b { font-weight: 700; color: #033E8C; }
.art-ps__learn a { color: #0A2B4A; font-weight: 600; text-decoration: none; border-bottom: 1px dashed #9DB6DA; }
.art-ps__learn a::after { content: " ↓"; color: #0071e3; font-weight: 800; }
.art-ps__learn a:hover { color: #033E8C; border-bottom-color: #033E8C; text-decoration: none; }
@media (max-width: 767px) {
    .art-ps__bar { flex-wrap: wrap; gap: 10px 14px; padding: 12px 14px; }
    .art-ps__scale { display: none; }
    .art-ps__s { gap: 4px 14px; }
    .art-ps__btn { width: 100%; }
}
/* Ссылка на ленту темы под текстом статьи (правило эталонов блога, 27.11.2026):
   простой строкой, без карточки — это продолжение чтения, а не призыв. */
.is-blog-article .art-col .typo__wrap .art-topic-all { margin: 26px 0 0 !important; }
.is-blog-article .art-col .typo__wrap .art-topic-all a { font-weight: 700; color: #033E8C; text-decoration: none; border-bottom: 1px solid #B7C8E6; }
.is-blog-article .art-col .typo__wrap .art-topic-all a:hover { color: #0B4FA8; border-color: #0B4FA8; }

/* «Данные InsideClinics» — метка {данные} (partials/article/data). Вид —
   комбинация 1 «Мягкий синий», выбор владельца 29.11.2026
   (docs/design/blog/compare-data-combos.local.html). */
.art-col .typo__wrap .art-data { position: relative; display: block; padding: 18px 20px 16px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px #E3EAF6, 0 10px 28px rgba(83, 89, 154, .10); overflow: hidden; }
.art-data::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, #033E8C, #2B05C3); }
.art-data__k { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #18864B; }
.is-blog-article .art-col .typo__wrap p.art-data__t { margin: 6px 0 14px; font-size: 16px; font-weight: 800; line-height: 1.35; color: #0A2B4A; }
.art-data__nums { display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: 10px; }
.art-data__n { padding: 12px 14px; border-radius: 14px; background: #F3F7FD; }
.art-data__n small { display: block; font-size: 12.5px; color: #667085; }
.is-blog-article .art-col .typo__wrap .art-data__n b { font-size: 20px; color: #033E8C; white-space: nowrap; font-variant-numeric: tabular-nums; }
/* Цена — компонент x-money со своим цветом: в карточке он берёт цвет числа (на синем — белый). */
.art-data__n b .ic-money { color: inherit; }
.art-data__n.is-mid { background: linear-gradient(135deg, #033E8C 0%, #2B05C3 100%); box-shadow: 0 8px 18px rgba(43, 5, 195, .22); }
.art-data__n.is-mid small { color: rgba(255, 255, 255, .92); }
.is-blog-article .art-col .typo__wrap .art-data__n.is-mid b { font-size: 24px; color: #fff; }
.art-data__bar { position: relative; display: block; height: 6px; margin: 16px 4px 4px; border-radius: 3px; background: linear-gradient(90deg, #C6DAF5, #033E8C); }
.art-data__bar i { position: absolute; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border: 3px solid #fff; border-radius: 50%; background: #18864B; box-shadow: 0 1px 4px rgba(16, 24, 40, .3); }
.is-blog-article .art-col .typo__wrap p.art-data__how { margin: 12px 0 0; font-size: 12.5px; line-height: 1.45; color: #667085; }
.art-data__how a { color: #0071e3; font-weight: 700; text-decoration: none; white-space: nowrap; }

/* Таблица сравнения в тексте — тот же вид (комбинация 1): автор ставит
   <div class="etb-cmp etb-cmp--soft"><table>…, лучшее значение —
   <td class="etb-cmp__win">. Шапка — светлая сине-сиреневая, строки через
   одну, у лучшего — зелёная галочка. На телефоне — раскладка etb-cmp. */
.is-blog-article .art-col .typo__wrap .etb-cmp--soft table { border: 0; border-radius: 16px; box-shadow: 0 0 0 1px #E3EAF6, 0 8px 24px rgba(83, 89, 154, .08); font-size: 15px; }
.is-blog-article .art-col .typo__wrap .etb-cmp--soft thead th { padding: 14px 16px; background: linear-gradient(135deg, #EEF4FF 0%, #F3EEFF 100%); font-size: 14px; }
.is-blog-article .art-col .typo__wrap .etb-cmp--soft thead th:first-child { color: #4E5B70; font-weight: 700; font-size: 13px; }
.is-blog-article .art-col .typo__wrap .etb-cmp--soft tbody th,
.is-blog-article .art-col .typo__wrap .etb-cmp--soft tbody td { padding: 13px 16px; vertical-align: middle; }
.is-blog-article .art-col .typo__wrap .etb-cmp--soft tbody tr:nth-child(even) > * { background: #FAFBFE; }
.etb-cmp--soft .etb-cmp__win { color: #18864B; }
/* Подпись таблицы — видимым заголовком над ней; на телефоне таблица
   становится блоками (etb-cmp), и подпись в «ячейке» сжималась в столбик. */
.is-blog-article .art-col .typo__wrap .etb-cmp--soft caption { caption-side: top; padding: 0 0 10px; text-align: left; font-size: 15px; font-weight: 800; color: #033E8C; }
.etb-cmp--soft .etb-cmp__win::after { content: "✓"; display: inline-grid; place-items: center; width: 20px; height: 20px; margin-left: 8px; border-radius: 50%; background: #E8F5EC; color: #136C3C; font-size: 12px; font-weight: 900; vertical-align: 1px; }

/* Подпись над таблицей срезалась по первой букве (бой, 04.12.2026): у table
   overflow: hidden со скруглением 16 px (etb-cmp в article-etalon.css), а
   Chrome обрезает этим скруглением и caption — она стоит вплотную к левому
   краю, в зоне угла. Причина — обрезка, поэтому таблица больше не режет
   содержимое, а углы скругляют сами крайние ячейки: шапка сверху, последняя
   строка снизу. Рамка — тенью таблицы, она и так идёт по скруглению.
   Двойной класс — потому что article-etalon.css подключён позже и тем же
   весом возвращал overflow: hidden. */
.is-blog-article .art-col .typo__wrap .etb-cmp.etb-cmp--soft table { overflow: visible; }
.is-blog-article .art-col .typo__wrap .etb-cmp--soft thead tr > :first-child { border-top-left-radius: 16px; }
.is-blog-article .art-col .typo__wrap .etb-cmp--soft thead tr > :last-child { border-top-right-radius: 16px; }
.is-blog-article .art-col .typo__wrap .etb-cmp--soft tbody tr:last-child > :first-child { border-bottom-left-radius: 16px; }
.is-blog-article .art-col .typo__wrap .etb-cmp--soft tbody tr:last-child > :last-child { border-bottom-right-radius: 16px; }

/* Телефон — вид В1 «Мягкий синий для всех, на телефоне — карточки» (владелец
   04.12.2026, docs/design/blog/library-2026-12-04/c-design.html, блок 3):
   каждая строка — карточка, название строки на градиенте шапки, под ним
   значения с подписью столбца. Подписи (data-l) ставит article-etalon.js
   из шапки и включает карточки классом is-cards. Без скрипта — обычная
   таблица с прокруткой вбок, как любая таблица текста (mobile-fixes.css):
   прежняя раскладка etb-cmp в две колонки без подписей столбцов терялась. */
@media (max-width: 575.98px) {
    .is-blog-article .art-col .typo__wrap .etb-cmp--soft caption { display: block; padding: 0 0 10px; }
    .is-blog-article .art-col .typo__wrap .etb-cmp--soft:not(.is-cards):not(.etb-cmp--2) table { display: block; overflow-x: auto; table-layout: auto; }
    .is-blog-article .art-col .typo__wrap .etb-cmp--soft:not(.is-cards):not(.etb-cmp--2) thead { display: table-header-group; }
    .is-blog-article .art-col .typo__wrap .etb-cmp--soft:not(.is-cards):not(.etb-cmp--2) tbody { display: table-row-group; }
    .is-blog-article .art-col .typo__wrap .etb-cmp--soft:not(.is-cards):not(.etb-cmp--2) tr { display: table-row; }
    .is-blog-article .art-col .typo__wrap .etb-cmp--soft:not(.is-cards):not(.etb-cmp--2) thead th:first-child { display: table-cell; }
    .is-blog-article .art-col .typo__wrap .etb-cmp--soft:not(.is-cards):not(.etb-cmp--2) tbody th { padding-bottom: 13px; font-size: 13.5px; color: #3A4A60; }
    .is-blog-article .art-col .typo__wrap .etb-cmp--soft:not(.is-cards):not(.etb-cmp--2) tbody td { padding-top: 13px; border-top: 1px solid #EEF2F8; }

    .is-blog-article .art-col .typo__wrap .etb-cmp--soft.is-cards table { display: block; overflow: visible; border: 0; border-radius: 0; background: none; box-shadow: none; }
    .is-blog-article .art-col .typo__wrap .etb-cmp--soft.is-cards thead { display: none; }
    .is-blog-article .art-col .typo__wrap .etb-cmp--soft.is-cards tbody { display: flex; flex-direction: column; gap: 10px; }
    .is-blog-article .art-col .typo__wrap .etb-cmp--soft.is-cards tr { display: block; overflow: hidden; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px #E3EAF6, 0 6px 16px rgba(83, 89, 154, .08); }
    .is-blog-article .art-col .typo__wrap .etb-cmp--soft.is-cards tbody tr > * { border-radius: 0; background: none; }
    .is-blog-article .art-col .typo__wrap .etb-cmp--soft.is-cards tbody th { display: block; width: auto; padding: 11px 14px; border: 0; background: linear-gradient(135deg, #EEF4FF 0%, #F3EEFF 100%) !important; font-size: 15.5px; font-weight: 800; color: #033E8C; }
    .is-blog-article .art-col .typo__wrap .etb-cmp--soft.is-cards tbody td { display: block; padding: 9px 14px 10px; border-top: 1px solid #EEF2F8; font-size: 15px; }
    .is-blog-article .art-col .typo__wrap .etb-cmp--soft.is-cards tbody td[data-l]::before { content: attr(data-l); display: block; margin-bottom: 2px; font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; line-height: 1.35; color: #667085; }
}

@media (max-width: 600px) {
    .art-data__nums { grid-template-columns: 1fr; }
    .is-blog-article .art-col .typo__wrap .etb-cmp--soft tbody tr:nth-child(even) > * { background: #fff; }
}
/* «Избранное» Google (В8, опция А; владелец 02.12.2026: «прям очень
   минималистичной») — строка мельче текста, без рамки и фона, под лентой
   темы. Звезда — того же цвета, что и ссылка. */
.is-blog-article .art-col .typo__wrap .art-fav { margin: 10px 0 0 !important; font-size: 13.5px !important; line-height: 1.4 !important; }
.is-blog-article .art-col .typo__wrap .art-fav a { display: inline-flex; align-items: center; gap: 6px; color: #5a6b86; text-decoration: none; font-weight: 500; }
.is-blog-article .art-col .typo__wrap .art-fav a:hover { color: #033E8C; }
.is-blog-article .art-col .typo__wrap .art-fav svg { flex: none; color: #8aa3c9; }
.is-blog-article .art-col .typo__wrap .art-fav a:hover svg { color: #033E8C; }
