/* BH_ARTICLE_2026_10_07 — сетка и набор страницы статьи, а с 07.10 вечера и рейтингов, обзоров, акций (блок CPT ниже; набор — общий через body.single) (владелец 07.10 выбрал вариант «c»: левый край, крупнее,
   «всё выравнивать… учитывать оглавление и все остальные блоки на странице»).
   Колонка 680 px (~74 знака при 17 px; было 720 при 18 px — вариант «c»; WCAG ≤ 80) + оглавление 300 px, вся пара по центру экрана; каждый блок статьи — во всю
   ширину колонки и по одному левому краю; одна шкала кеглей и отступов. Шрифт задают токены bh-fonts.css
   (--bh-font-text / --bh-font-display), этот файл гарнитуру не выбирает. Основание — audits/logs/2026-10-07_typography_research.md.
   Шкала (с 07.10 вечера одинакова на компьютере и телефоне): текст 17/1.55 (телефон 17/1.5 — владелец 07.10 «сделай 1.5»), между абзацами 1.25 кегля · врезки и вопросы FAQ 16 · таблицы 15 (телефон 14) · подписи, источники, автор 14 ·
   H2 30 (24) · H3 22 (20) · H4 19 (18). Выключки по ширине нет нигде.
   07.10 вечером: интерлиньяж 1.6→1.55 и абзацы 1em→1.25em — по замеру 18 изданий (audits/logs/2026-10-07_body_text_spacing_bench.md):
   было — абзацы разделены слабее, чем у 3/4 сайтов (шаг 1,62–1,64 строки против медианы 1,80–1,83).
   07.10 вечером, владелец: текст на компьютере 18→17 («17», после сравнения с Investopedia: у них строчные 8,8 px, у нас было 9,6);
   колонка 720→680, чтобы строка осталась ~74 знака (при 17 px в 720 выходило 79 — край WCAG 80). */

:root{--a-col:680px;--a-side:300px;--a-gap:56px;--a-fs:17px;--a-lh:1.55;--a-pg:calc(var(--a-fs) * 1.25);--a-fs-b:16px;--a-fs-t:15px;--a-fs-s:14px;
  --a-mu:#5b6472;--a-line:#e3e7ec;--a-g:#95ce5a;--a-gd:#3d7a1c;--a-gbg:#f3f8ec}
/* Телефон (владелец 07.10, вариант «Б»): текст 16/25 — Plex шире Source Sans, и 17 px ощущался крупнее Forbes (18 px Source Sans:
   на одном абзаце у нас 36 знаков в строке и 11 строк, у них 40 и 10). 16/25 даёт те же 40 знаков и тот же воздух (интерлиньяж к высоте
   строчных 2,92 против 2,95 у Forbes). Врезки, вопросы FAQ, «Главное» — 15, на шаг меньше текста, как 17/16 на компьютере. */
@media (max-width:768px){:root{--a-fs:16px;--a-lh:1.5625;--a-fs-b:15px;--a-fs-t:14px}}
/* BH_WIDE_COL_2026_10_08 — владелец 08.10: «мне кажется у форбс строки длиннее» → вариант «А». От 1280 px колонка 760 и текст 18
   (77 знаков в строке против 73 у 680/17; потолок нормы ~80; у Forbes.ru резиновая колонка: 69 знаков на 1440, 93 на 1920),
   врезки на шаг меньше — 17. Сетка 760 + 56 + 300 = 1116 px входит в 1280 с полями. Ниже 1280 — прежние 680/17. Откат — удалить строку.
   Тот же день, владелец: «уменьши до 17» — текст 17 (врезки 16) и в колонке 760, это ~82 знака в строке. */
@media (min-width:1280px){:root{--a-col:760px}}

/* ── Сетка: колонка статьи + оглавление, по центру ─────────────────────────────────────────── */
@media (min-width:1025px){
  /* зазор — отступом оглавления, не column-gap: clearfix-псевдоэлементы контейнера темы тоже флекс-элементы и получили бы свои зазоры */
  html body.single-post #content.site-content{justify-content:center;padding-left:32px;padding-right:32px}
  html body.single-post #primary{flex:0 1 var(--a-col);max-width:var(--a-col);min-width:0;padding-right:0}
  html body.single-post #secondary{flex:0 0 var(--a-side);width:var(--a-side);margin-left:var(--a-gap)}
  /* «Похожие материалы» — во всю ширину пары колонок, как и раньше уходит под оглавление */
  html body.single-post .related-articles-section{margin-right:calc(-1 * (var(--a-side) + var(--a-gap)))!important;width:auto!important}
}
@media (min-width:769px) and (max-width:1024.98px){
  html body.single-post #primary,html body.single-post #secondary{float:none;width:auto;max-width:var(--a-col);margin-left:auto;margin-right:auto;padding-right:0}
  html body.single-post .related-articles-section{margin-right:0!important;width:100%!important}
}

/* Телефон: все блоки статьи — на тех же полях 15 px, что и текст (тема давала автору, источникам и раскрытию 10 px,
   «Рекомендуем» — 95 % ширины) */
@media (max-width:768px){
  html body.single-post article :is(.author-full-block,.share-sources-container,.financial-disclaimer){width:auto!important;max-width:none!important;margin-left:15px!important;margin-right:15px!important}
  html body.single-post .entry-content .recommended-block{width:auto!important}
  /* шапка (крошки, автор и даты), FAQ, баннер Telegram и «Похожие» — тоже на 15 px (были 0 и 10 px) */
  html body.single-post article :is(nav.breadcrumb-nav,.article-meta-block,.surfearner-faq-section,.tg-banner,.tgc,.related-articles-section){margin-left:15px!important;margin-right:15px!important;width:auto!important;max-width:none!important}
  html body.single-post article .surfearner-faq-container{margin-left:0!important;margin-right:0!important}
  /* тест в статье: у темы на телефоне поля −4 px — выходил за край текста */
  html body.single-post .entry-content .bhq{margin-left:0!important;margin-right:0!important}
  html body.single-post article .related-articles-header{padding-left:0!important;padding-right:0!important}
  html body.single-post article .related-articles-grid{margin-left:0!important;margin-right:0!important;width:auto!important}
}

/* ── Рейтинги, обзоры, акции (service_rating, expert_review, stock_review) ─────────────────────
   Владелец 07.10: «статьи в рейтингах и других cpt отображаются по старому на большую ширину». Та же сетка, что у статьи
   (колонка --a-col + оглавление --a-side через --a-gap, пара по центру), но разметка своя:
   main.expert-review-page > .container > [тёмная шапка во всю ширину] [виджет: рейтинг / курс / котировки во всю ширину]
   [автор и даты] article > .expert-review-content, дальше FAQ, источники, автор, раскрытие, Telegram, «Похожие».
   Оглавление #secondary здесь position:fixed — его ставит скрипт sidebar.php от .expert-review-content: правый внутренний
   отступ блока текста (--a-side + --a-gap) и есть место оглавления (скрипт читает --a-side; без этого файла — прежние 900 px).
   Тёмная шапка и виджет (рейтинг / курс / котировки) остаются как в теме — во всю ширину, содержимое до 1300 px:
   владелец 07.10 «в cpt не надо было сужать херо, надо было только сами статьи (контентную часть)». */
html body:is(.single-expert_review,.single-service_rating,.single-stock_review){--a-grid:calc(var(--a-col) + var(--a-gap) + var(--a-side))}
@media (min-width:769px) and (max-width:1024.98px){html body:is(.single-expert_review,.single-service_rating,.single-stock_review){--a-grid:var(--a-col)}}
@media (min-width:769px){
  html body:is(.single-expert_review,.single-service_rating,.single-stock_review) #content.site-content{padding-left:32px!important;padding-right:32px!important}
  html body:is(.single-expert_review,.single-service_rating,.single-stock_review) .expert-review-page>.container{max-width:var(--a-grid)!important;width:auto!important;margin-left:auto!important;margin-right:auto!important;padding-left:0!important;padding-right:0!important;box-sizing:border-box}
}
@media (min-width:1025px){
  /* колонка текста; правый внутренний отступ — место фиксированного оглавления */
  html body:is(.single-expert_review,.single-service_rating,.single-stock_review) .expert-review-main>.expert-review-content{padding-left:0!important;padding-right:calc(var(--a-side) + var(--a-gap))!important}
  /* автор и даты над текстом и всё после текста до «Похожих» — в колонку (оглавление висит до «Похожих») */
  html body:is(.single-expert_review,.single-service_rating,.single-stock_review) .expert-review-page>.container>:is([class*="author-byline"],.expert-review-main~*:not(.related-articles-section)){max-width:none!important;width:auto!important;margin-left:0!important;margin-right:calc(var(--a-side) + var(--a-gap))!important}
  /* оглавление в тексте не нужно — справа своё (тема прятала его только от 1300 px) */
  html body:is(.single-expert_review,.single-service_rating,.single-stock_review) .expert-review-content .toc-container{display:none!important}
}
@media (min-width:769px) and (max-width:1024.98px){
  html body:is(.single-expert_review,.single-service_rating,.single-stock_review) .expert-review-main>.expert-review-content{padding-left:0!important;padding-right:0!important}
  html body:is(.single-expert_review,.single-service_rating,.single-stock_review) .expert-review-page>.container>:is([class*="author-byline"],.expert-review-main~*){max-width:none!important;width:auto!important;margin-left:0!important;margin-right:0!important}
}
/* Тема (cpt-styles.css) держит у обзоров свою колонку 900 px правилами с !important: от 1300 px центрированным абзацам,
   абзацам с картинкой и картинкам с подписью — width:900px; центрированным абзацам — text-align:center.
   Здесь — та же логика, что у статьи: медиа во всю колонку и по её центру, текст и подписи таблиц — слева. */
html body:is(.single-expert_review,.single-service_rating,.single-stock_review) .expert-review-page .expert-review-content :is(p[style*="center"],p:has(img.aligncenter),figure.wp-caption,.wp-caption.aligncenter,.wp-block-image.aligncenter){width:auto!important;max-width:100%!important;margin-left:0!important;margin-right:0!important}
html body:is(.single-expert_review,.single-service_rating,.single-stock_review) .expert-review-page .expert-review-content>p[style*="center"]:not(:has(img,iframe,video,picture,.fasc-button)){text-align:left!important}

/* Телефон: всё после текста — на тех же полях 15 px, что и текст (тема давала источникам, автору и раскрытию 10 px, Telegram — 0) */
@media (max-width:768px){
  html body:is(.single-expert_review,.single-service_rating,.single-stock_review) .expert-review-page>.container>:is(.share-sources-container,.author-full-block,.financial-disclaimer,.tgc,.tg-banner){width:auto!important;max-width:none!important;margin-left:15px!important;margin-right:15px!important}
  /* FAQ и «Похожие» у темы стояли вплотную к краю экрана (заголовок FAQ — 0 px, «Похожие» — 10 px) */
  html body:is(.single-expert_review,.single-service_rating,.single-stock_review) .expert-review-page>.container>:is(.surfearner-faq-section,.related-articles-section){width:auto!important;max-width:none!important;margin-left:15px!important;margin-right:15px!important}
  html body:is(.single-expert_review,.single-service_rating,.single-stock_review) .surfearner-faq-section .surfearner-faq-container{margin-left:0!important;margin-right:0!important}
  html body:is(.single-expert_review,.single-service_rating,.single-stock_review) .related-articles-section .related-articles-header{padding-left:0!important;padding-right:0!important}
  html body:is(.single-expert_review,.single-service_rating,.single-stock_review) .related-articles-section .related-articles-grid{margin-left:0!important;margin-right:0!important;width:auto!important}
  html body:is(.single-expert_review,.single-service_rating,.single-stock_review) .expert-review-content :is(.bhq){margin-left:0!important;margin-right:0!important}
  html body:is(.single-expert_review,.single-service_rating,.single-stock_review) .expert-review-content .recommended-block{width:auto!important}
  /* автор и даты под виджетом — тоже на 15 px (у темы 10) */
  html body:is(.single-expert_review,.single-service_rating,.single-stock_review) .expert-review-page>.container>[class*="author-byline"]{width:auto!important;max-width:none!important;margin-left:15px!important;margin-right:15px!important}
}
/* таблица в раскрывающейся «Методологии» рейтинга шире телефона, а блок режет лишнее (overflow:hidden) — даём ей прокрутку */
html body:is(.single-expert_review,.single-service_rating,.single-stock_review) .methodology-collapsible .table-wrapper{overflow-x:auto!important;-webkit-overflow-scrolling:touch}

/* ── Страницы инструментов: текстовый блок под инструментом ───────────────────────────────────
   Владелец 07.10: «все правки надо также применить и в контентных блоках страниц инструментов». Класс bh-tool-page ставит
   mu-plugins/bh-article-layout.php на шаблонах инструментов; набор текста — общие правила этого файла (body:is(.single,.bh-tool-page),
   контейнеры .bh-tool-article и .cpt-content-inner). Здесь — только колонка. Четыре вида блока:
   калькуляторы, скринеры, календари, стресс-индекс, риск-профиль — .bh-tool-content-inner (текст из шаблона, рассылка, FAQ);
   финжурнал, живой график, журнал сделок — .cpt-article-wrapper > .cpt-content-inner (текст страницы);
   учёт инвестиций, курсы валют, дивиденды по тикерам — .bh-acb-shell (текст + оглавление; тема сама даёт им классы single-post);
   симулятор — .tsim-article-section .entry-content. Колонка та же 680, у блока с оглавлением — та же пара 680 + 56 + 300. */
html body.bh-tool-page .bh-tool-content-inner{max-width:var(--a-col)!important}
html body.bh-tool-page .bh-tool-article>:first-child,html body.bh-tool-page .bh-tool-article>.entry-content>:first-child{margin-top:0!important}
html body.bh-tool-page .cpt-article-wrapper{max-width:calc(var(--a-col) + 40px)!important}
html body.bh-tool-page .tsim-article-section .entry-content{max-width:var(--a-col)!important;padding-left:0!important;padding-right:0!important;margin-left:auto!important;margin-right:auto!important}
@media (min-width:1025px){
  html body.bh-tool-page .bh-acb-shell{max-width:calc(var(--a-col) + var(--a-gap) + var(--a-side) + 64px)!important;padding-left:32px!important;padding-right:32px!important;gap:0!important;justify-content:center}
  html body.bh-tool-page .bh-acb-wrap{flex:0 1 var(--a-col)!important;max-width:var(--a-col)!important}
  html body.bh-tool-page .bh-acb-shell :is(#secondary,.widget-area){flex:0 0 var(--a-side)!important;width:var(--a-side)!important;margin-left:var(--a-gap)!important}
}
@media (min-width:769px) and (max-width:1024.98px){
  html body.bh-tool-page .bh-acb-wrap{max-width:var(--a-col)!important;margin-left:auto!important;margin-right:auto!important}
}
/* телефон: текст на 15 px от края, как в статье (у обёрток свои поля поверх внутренних: 20 + 15 и 14 + 15) */
@media (max-width:768px){
  html body.bh-tool-page .cpt-article-wrapper{padding-left:0!important;padding-right:0!important}
  html body.bh-tool-page .cpt-article-wrapper>.cpt-content{padding-left:15px!important;padding-right:15px!important}
  html body.bh-tool-page .bh-acb-shell{padding-left:0!important;padding-right:0!important}
}
/* пустой <p></p>, который браузер сам ставит вокруг блока внутри абзаца, — без места (фильтр его не видит: в тексте его нет) */
html body.bh-tool-page :is(.cpt-content-inner,.bh-tool-article,.entry-content)>p:empty{display:none!important}
/* у заголовков в блоке страницы тема на телефоне ставит padding-left 15 — заголовок уезжал правее текста */
html body.bh-tool-page :is(.cpt-content-inner,.bh-tool-article,.entry-content)>:is(h2,h3,h4){padding-left:0!important;padding-right:0!important}

/* строки новостей в карточке Telegram: тема ставит всем li выключку по ширине (у статьи карточка внутри article и уже сброшена) */
html body:is(.single,.bh-tool-page) .tgc :is(li,p){text-align:left!important}

/* ── Шапка статьи ──────────────────────────────────────────────────────────────────────────── */
html body.single-post .entry-title{font-size:36px;line-height:1.18;letter-spacing:-.01em;text-align:left}
@media (max-width:768px){html body.single-post .entry-title{font-size:26px;line-height:1.22}}

/* ── Основной текст ────────────────────────────────────────────────────────────────────────── */
/* Тема ставит всем абзацам статьи выключку и красную строку (article p {justify; indent 30px}, li {justify}).
   Сброс — с той же силой селектора, чтобы виджеты внутри статьи (карточки акций, тесты, рассылка) сохранили своё. */
/* (на экранах до 1023 px тема добавляет article p {text-indent:15px!important} — поэтому отступ снимается с !important) */
:where(body.single,body.bh-tool-page) article :is(p,li){text-align:left;text-indent:0!important}
/* Текст статьи — прямые абзацы и списки колонки; кегль и выравнивание сильнее встроенных style="text-align:center" */
html body:is(.single,.bh-tool-page) :is(.entry-content,.expert-review-content,.bh-tool-article,.cpt-content-inner)>p,
html body:is(.single,.bh-tool-page) :is(.entry-content,.expert-review-content,.bh-tool-article,.cpt-content-inner)>:is(ul,ol) li,
html body:is(.single,.bh-tool-page) :is(.entry-content,.expert-review-content,.bh-tool-article,.cpt-content-inner)>blockquote :is(p,li){font-size:var(--a-fs)!important;line-height:var(--a-lh)!important;text-align:left!important;text-indent:0!important}
html body:is(.single,.bh-tool-page) :is(.entry-content,.expert-review-content,.bh-tool-article,.cpt-content-inner)>p{margin:0 0 var(--a-pg)!important}
/* Переносы на телефоне (владелец 07.10: «8·3·3, на телефон»). В строке ~37 знаков длинное слово целиком уходит вниз, и без переносов
   23–30 % строк заполнены меньше чем на 85 %. Переносится слово от 8 букв, по 3 буквы до и после: переносом кончаются 16–21 % строк
   (Forbes — 49 %), недозаполненных 6–8 %. Нужен lang у <html> (ru-RU / ru-BY есть); Safari берёт ограничения из -webkit-hyphenate-limit-*.
   Замер rag/ в audits/data/raw/2026-10-07. Оглавление внутри статьи не переносится. overflow-wrap — страховка: цепочка с неразрывными пробелами
   (фильтр BH_NBSP в bh-article-layout.php) или длинный адрес длиннее строки переносится, а не вылезает за край. */
@media (max-width:768px){
  html body:is(.single,.bh-tool-page) :is(.entry-content,.expert-review-content,.bh-tool-article,.cpt-content-inner) :is(p,li):not(.toc-container *){-webkit-hyphens:auto;hyphens:auto;hyphenate-limit-chars:8 3 3;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;overflow-wrap:break-word}
}
/* абзац с картинкой, видео или кнопкой остаётся по центру */
html body:is(.single,.bh-tool-page) :is(.entry-content,.expert-review-content,.bh-tool-article,.cpt-content-inner)>p:has(img,iframe,video,picture,.fasc-button){text-align:center!important}
/* подпись таблицы: центрированный абзац прямо перед таблицей («Таблица: …» в старых статьях) — подпись, а не текст.
   Обычный абзац перед таблицей (без центровки) остаётся текстом. */
html body:is(.single,.bh-tool-page) :is(.entry-content,.expert-review-content,.bh-tool-article,.cpt-content-inner)>p[style*="center"]:has(+ .table-scroll,+ figure.wp-block-table,+ table,+ div table.auto-enhanced){font-size:var(--a-fs-t)!important;font-weight:600!important;line-height:1.4!important;margin:28px 0 10px!important;color:#121820}
html body:is(.single,.bh-tool-page) :is(.entry-content,.expert-review-content,.bh-tool-article,.cpt-content-inner)>p[style*="center"]:has(+ .table-scroll,+ figure.wp-block-table,+ table,+ div table.auto-enhanced)+:is(.table-scroll,figure.wp-block-table,table),
html body:is(.single,.bh-tool-page) :is(.entry-content,.expert-review-content,.bh-tool-article,.cpt-content-inner)>p[style*="center"]:has(+ div table.auto-enhanced)+div .table-scroll{margin-top:0!important}
/* списки с галочками и крестиками — текст на том же отступе, что у обычных списков */
html body:is(.single,.bh-tool-page) :is(.entry-content,.expert-review-content,.bh-tool-article,.cpt-content-inner)>ul:is(.content-pros-list,.content-cons-list){padding-left:0!important;margin:0 0 var(--a-pg)!important}
html body:is(.single,.bh-tool-page) :is(.entry-content,.expert-review-content,.bh-tool-article,.cpt-content-inner)>ul:is(.content-pros-list,.content-cons-list)>li{padding-left:1.35em!important}
html body:is(.single,.bh-tool-page) :is(.entry-content,.expert-review-content,.bh-tool-article,.cpt-content-inner)>:is(ul,ol):not([class*="pros"]):not([class*="cons"]){padding-left:1.35em!important;margin:0 0 var(--a-pg)!important}
html body:is(.single,.bh-tool-page) :is(.entry-content,.expert-review-content,.bh-tool-article,.cpt-content-inner)>:is(ul,ol)>li{margin:0 0 .45em!important}
html body:is(.single,.bh-tool-page) :is(.entry-content,.expert-review-content,.bh-tool-article,.cpt-content-inner) li>:is(ul,ol){margin-top:.45em!important}
html body:is(.single,.bh-tool-page) :is(.entry-content,.expert-review-content,.bh-tool-article,.cpt-content-inner)>blockquote{margin:28px 0!important;padding:4px 0 4px 20px!important;border-left:3px solid var(--a-g)!important}
html body:is(.single,.bh-tool-page) :is(.entry-content,.expert-review-content,.bh-tool-article,.cpt-content-inner) iframe{max-width:100%}

/* ── Подзаголовки ──────────────────────────────────────────────────────────────────────────── */
/* Отступы по замеру изданий 07.10 (audits/logs/2026-10-07_body_text_spacing_bench.md): над H2 у Финама, Forbes, Myfin, Morningstar 1,3–1,5 строки текста,
   под — 0,7–0,9. Здесь над H2 ≈1,8 строки (компьютер 48 px, телефон 42), под ≈0,7 (21/17 px); H3 — 33/30 над, 12/11 под.
   Пустой абзац <p>&nbsp;</p> перед заголовком (правило промта статей «тема не задаёт margin-top») срезает при выводе bh-article-layout.php. */
html body:is(.single,.bh-tool-page) :is(.entry-content,.expert-review-content,.bh-tool-article,.cpt-content-inner)>:is(h2,h3,h4){text-align:left!important;font-family:var(--bh-font-display,inherit)}
html body:is(.single,.bh-tool-page) :is(.entry-content,.expert-review-content,.bh-tool-article,.cpt-content-inner)>h2{font-size:30px!important;line-height:1.2!important;margin:1.6em 0 .7em!important}
html body:is(.single,.bh-tool-page) :is(.entry-content,.expert-review-content,.bh-tool-article,.cpt-content-inner)>h3{font-size:22px!important;line-height:1.3!important;margin:1.5em 0 .55em!important}
html body:is(.single,.bh-tool-page) :is(.entry-content,.expert-review-content,.bh-tool-article,.cpt-content-inner)>h4{font-size:19px!important;line-height:1.35!important;margin:1.4em 0 .4em!important}
@media (max-width:768px){
  html body:is(.single,.bh-tool-page) :is(.entry-content,.expert-review-content,.bh-tool-article,.cpt-content-inner)>h2{font-size:24px!important;line-height:1.25!important;margin-top:1.75em!important}
  html body:is(.single,.bh-tool-page) :is(.entry-content,.expert-review-content,.bh-tool-article,.cpt-content-inner)>h3{font-size:20px!important}
  html body:is(.single,.bh-tool-page) :is(.entry-content,.expert-review-content,.bh-tool-article,.cpt-content-inner)>h4{font-size:18px!important}
}

/* ── Врезки: идея, внимание, пример, риск, история, формула ───────────────────────────────── */
html body:is(.single,.bh-tool-page) :is(.entry-content,.expert-review-content,.bh-tool-article,.cpt-content-inner) [class*="premium-"][class$="-block"]{margin:28px 0!important}
html body:is(.single,.bh-tool-page) :is(.entry-content,.expert-review-content,.bh-tool-article,.cpt-content-inner) [class*="premium-"][class$="-block"] .block-header{padding:20px 24px 4px!important}
html body:is(.single,.bh-tool-page) :is(.entry-content,.expert-review-content,.bh-tool-article,.cpt-content-inner) [class*="premium-"][class$="-block"] .block-title{font-size:var(--a-fs-b)!important;font-weight:700!important;line-height:1.35!important}
html body:is(.single,.bh-tool-page) :is(.entry-content,.expert-review-content,.bh-tool-article,.cpt-content-inner) [class*="premium-"][class$="-block"] .block-content{padding:16px 24px 20px!important}
html body:is(.single,.bh-tool-page) :is(.entry-content,.expert-review-content,.bh-tool-article,.cpt-content-inner) [class*="premium-"][class$="-block"] .block-header+.block-content{padding-top:8px!important}
html body:is(.single,.bh-tool-page) :is(.entry-content,.expert-review-content,.bh-tool-article,.cpt-content-inner) [class*="premium-"][class$="-block"] :is(.block-content,.block-content p,.block-content li){font-size:var(--a-fs-b)!important;line-height:1.55!important;text-align:left!important}
html body:is(.single,.bh-tool-page) :is(.entry-content,.expert-review-content,.bh-tool-article,.cpt-content-inner) [class*="premium-"][class$="-block"] .block-content p:last-child{margin-bottom:0!important}
html body:is(.single,.bh-tool-page) :is(.entry-content,.expert-review-content,.bh-tool-article,.cpt-content-inner) .formula-expression{text-align:left!important;font-size:var(--a-fs-t)!important;overflow-x:auto}
@media (max-width:768px){
  html body:is(.single,.bh-tool-page) :is(.entry-content,.expert-review-content,.bh-tool-article,.cpt-content-inner) [class*="premium-"][class$="-block"] .block-header{padding:16px 16px 4px!important}
  html body:is(.single,.bh-tool-page) :is(.entry-content,.expert-review-content,.bh-tool-article,.cpt-content-inner) [class*="premium-"][class$="-block"] .block-content{padding:14px 16px 16px!important}
}

/* ── «Главные факты», предупреждение о рисках, раскрытие о рекламе ────────────────────────── */
/* на страницах инструментов — только внутри текстового блока: у живого графика под самим инструментом стоит своё предупреждение */
html body:is(.single,.bh-tool-page) .key-takeaways-block .kt-list li{font-size:var(--a-fs-b)!important;line-height:1.5!important;text-align:left!important}
html body.single .risk-notice-block :is(p,.risk-notice-content),
html body.bh-tool-page :is(.cpt-content-inner,.bh-tool-article,.entry-content) .risk-notice-block :is(p,.risk-notice-content){font-size:var(--a-fs-t)!important;line-height:1.55!important;text-align:left!important}
/* внутренний отступ текста в карточках — как у врезок: 26 px от рамки на компьютере, 18 px на телефоне */
html body.single :is(.risk-notice-block,.financial-disclaimer),
html body.bh-tool-page :is(.cpt-content-inner,.bh-tool-article,.entry-content) :is(.risk-notice-block,.financial-disclaimer){padding-left:23px!important;padding-right:23px!important}
@media (max-width:768px){
  html body:is(.single,.bh-tool-page) .key-takeaways-block{padding-left:14px!important;padding-right:14px!important}
  html body.single :is(.risk-notice-block,.financial-disclaimer),
  html body.bh-tool-page :is(.cpt-content-inner,.bh-tool-article,.entry-content) :is(.risk-notice-block,.financial-disclaimer){padding-left:15px!important;padding-right:15px!important}
}
html body.single .financial-disclaimer p,
html body.bh-tool-page :is(.cpt-content-inner,.bh-tool-article,.entry-content) .financial-disclaimer p{font-size:var(--a-fs-s)!important;line-height:1.55!important;text-align:left!important}

/* ── Таблицы ───────────────────────────────────────────────────────────────────────────────── */
html body:is(.single,.bh-tool-page) :is(.entry-content,.expert-review-content,.bh-tool-article,.cpt-content-inner) :is(table.auto-enhanced,.wp-block-table>table){width:100%!important;margin-left:0!important;margin-right:0!important}
html body:is(.single,.bh-tool-page) :is(.entry-content,.expert-review-content,.bh-tool-article,.cpt-content-inner) :is(table.auto-enhanced,.wp-block-table>table) td{font-size:var(--a-fs-t)!important;line-height:1.45!important}
html body:is(.single,.bh-tool-page) :is(.entry-content,.expert-review-content,.bh-tool-article,.cpt-content-inner) :is(table.auto-enhanced,.wp-block-table>table) th{font-size:13px!important;line-height:1.3!important}
html body:is(.single,.bh-tool-page) :is(.entry-content,.expert-review-content,.bh-tool-article,.cpt-content-inner) :is(.table-scroll,figure.wp-block-table){margin:24px 0!important}
@media (max-width:768px){html body:is(.single,.bh-tool-page) :is(.entry-content,.expert-review-content,.bh-tool-article,.cpt-content-inner) :is(table.auto-enhanced,.wp-block-table>table) th{font-size:12px!important}}

/* ── Картинки и подписи ────────────────────────────────────────────────────────────────────── */
html body:is(.single,.bh-tool-page) :is(.entry-content,.expert-review-content,.bh-tool-article,.cpt-content-inner) figure.wp-caption{width:auto!important;max-width:100%!important;margin:28px 0!important}
html body:is(.single,.bh-tool-page) :is(.entry-content,.expert-review-content,.bh-tool-article,.cpt-content-inner) figure.wp-caption img{display:block;max-width:100%;height:auto;margin:0 auto}
html body:is(.single,.bh-tool-page) :is(.entry-content,.expert-review-content,.bh-tool-article,.cpt-content-inner) img{max-width:100%;height:auto}
html body:is(.single,.bh-tool-page) :is(.entry-content,.expert-review-content,.bh-tool-article,.cpt-content-inner) .wp-caption-text{font-size:var(--a-fs-s)!important;line-height:1.45!important;font-style:normal!important;color:var(--a-mu)!important;text-align:left!important;margin:10px 0 0!important}

/* ── Плюсы и минусы, «Рекомендуем» ─────────────────────────────────────────────────────────── */
html body:is(.single,.bh-tool-page) .rc-pros-cons .rc-pc-item{font-size:var(--a-fs-t)!important;line-height:1.5!important}
html body:is(.single,.bh-tool-page) .recommended-block :is(.recommended-text,.recommended-title){text-align:left!important}
@media (min-width:601px){
  html body:is(.single,.bh-tool-page) :is(.entry-content,.expert-review-content,.bh-tool-article,.cpt-content-inner) .recommended-block-inner{align-items:flex-start}
  html body:is(.single,.bh-tool-page) :is(.entry-content,.expert-review-content,.bh-tool-article,.cpt-content-inner) .recommended-text{align-self:stretch;display:flex;flex-direction:column;justify-content:center;padding:56px 24px 18px!important}
  html body:is(.single,.bh-tool-page) :is(.entry-content,.expert-review-content,.bh-tool-article,.cpt-content-inner) .recommended-title{margin:0!important;padding:0!important;font-size:var(--a-fs-b)!important;line-height:1.4!important}
}

/* ── После статьи: FAQ, источники, автор, похожие ──────────────────────────────────────────── */
html body:is(.single,.bh-tool-page) .surfearner-faq-section .surfearner-section-heading{font-family:var(--bh-font-display,inherit)!important;font-size:30px!important;font-weight:700!important;line-height:1.2!important}
html body:is(.single,.bh-tool-page) .surfearner-faq-section .surfearner-faq-question{font-family:var(--bh-font-text,inherit)!important;font-size:var(--a-fs-b)!important;font-weight:600!important;line-height:1.4!important;text-align:left!important}
html body:is(.single,.bh-tool-page) .surfearner-faq-section .surfearner-faq-answer :is(p,li,div){font-size:var(--a-fs-b)!important;line-height:1.55!important;text-align:left!important;text-indent:0!important}
html body:is(.single,.bh-tool-page) .share-sources-container .sources-title{font-size:24px!important;line-height:1.25!important}
html body:is(.single,.bh-tool-page) .share-sources-container .sources-list li{font-size:var(--a-fs-s)!important;line-height:1.5!important;text-align:left!important}
html body:is(.single,.bh-tool-page) .author-full-block .author-card-bio{font-size:15px!important;line-height:1.55!important;text-align:left!important}
html body:is(.single,.bh-tool-page) .related-articles-section :is(.related-articles-header,.related-articles-title){text-align:left!important}
html body:is(.single,.bh-tool-page) .related-articles-section .related-articles-title{font-size:24px!important}
html body:is(.single,.bh-tool-page) .related-articles-section .related-articles-title::after{margin-left:0!important;left:0!important;transform:none!important}
@media (max-width:768px){
  html body:is(.single,.bh-tool-page) .surfearner-faq-section .surfearner-section-heading{font-size:24px!important}
}

/* ── Оглавление: справа на компьютере, раскрывающееся в тексте на телефоне ─────────────────── */
html body:is(.single,.bh-tool-page) #secondary.sidebar-v2{font-family:var(--bh-font-text,inherit)!important}
html body:is(.single,.bh-tool-page) #secondary .stoc-block{border-top-color:var(--a-g)!important}
html body:is(.single,.bh-tool-page) #secondary .stoc-header{font-size:12px!important;letter-spacing:.12em!important}
html body:is(.single,.bh-tool-page) #secondary .stoc-link{font-size:14px!important;line-height:1.4!important;color:#4a5260!important}
html body:is(.single,.bh-tool-page) #secondary .stoc-link:hover{color:#121820!important}
html body:is(.single,.bh-tool-page) #secondary .stoc-l3{font-size:13px!important}
html body:is(.single,.bh-tool-page) #secondary .stoc-num{color:var(--a-gd)!important}
html body:is(.single,.bh-tool-page) #secondary .stoc-l3 .stoc-num{color:#9ca3af!important}
html body:is(.single,.bh-tool-page) #secondary .stoc-link.stoc-active{color:var(--a-gd)!important;border-left-color:var(--a-g)!important;background:var(--a-gbg)!important}
html body:is(.single,.bh-tool-page) #secondary .stoc-active .stoc-num{color:var(--a-gd)!important}
html body:is(.single,.bh-tool-page) #secondary .stoc-progress-bar{background:var(--a-g)!important}
html body:is(.single,.bh-tool-page) .toc-container{font-family:var(--bh-font-text,inherit)}
html body:is(.single,.bh-tool-page) .toc-container li{text-align:left!important;text-indent:0!important}
html body:is(.single,.bh-tool-page) .toc-container .toc-level-2{font-size:16px!important;line-height:1.45!important}
html body:is(.single,.bh-tool-page) .toc-container .toc-level-3{font-size:15px!important;line-height:1.45!important}

/* BH_RELATED_BAND_2026_10_07 — «Похожие» полосой на всю ширину перед подвалом; карточки и кнопки — как в ленте главной «Новое в редакции» (home-final.css .q16-rb).
   Разметку собирает bh_rel_band() в mu-plugins/bh-article-layout.php; без неё правила ничего не делают. */
/* фон — как у страницы (владелец 07.10: «а ты уверен что фон должен отличаться»); полоса стоит в сетке статьи: левый край = край текста, правый = край оглавления, лента уходит к правому краю экрана; от статьи отделяет тонкая линия по ширине сетки */
html body .bh-rel{--tx:#0c0f15;--mu:#566070;--ln:rgba(12,15,21,.1);--ln2:rgba(12,15,21,.28);--g:#95ce5a;--gut:32px;--bh-rel-max:calc(var(--a-col,680px) + var(--a-gap,56px) + var(--a-side,300px));display:block;clear:both;width:100%;box-sizing:border-box;margin:0;padding:0 0 clamp(56px,6vw,96px);background:none;color:var(--tx);font-family:var(--bh-font-text,inherit);overflow:hidden}
@media (max-width:1024.98px){html body .bh-rel{--bh-rel-max:var(--a-col,680px)}}
html body .bh-rel *{box-sizing:border-box}
/* тема выключает строки пунктов списка по ширине (li: justify) — в карточках это дыры между словами */
html body .bh-rel :is(.bh-rel__c,.bh-rel__c *,.bh-rel__head,.bh-rel__head *){text-align:left!important}
/* у подвала отступ 20 px сверху — белая щель между светлой полосой и тёмным подвалом */
html body .bh-rel~.site-footer{margin-top:0!important}
html body .bh-rel .bh-rel__w{max-width:calc(var(--bh-rel-max) + 2 * var(--gut));margin:0 auto;padding:0 var(--gut)}
html body .bh-rel .bh-rel__w::before{content:"";display:block;height:1px;margin:0 0 clamp(48px,5vw,80px);background:var(--ln)}
html body .bh-rel .bh-rel__head{margin:0 0 clamp(28px,3vw,44px);padding:0}
html body .bh-rel .bh-rel__k{display:flex;align-items:center;gap:12px;margin:0 0 14px;font-size:12px;line-height:1.3;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--mu)}
html body .bh-rel .bh-rel__k::before{content:"";flex:0 0 auto;width:22px;height:2px;background:var(--g)}
html body .bh-rel .bh-rel__h{margin:0!important;padding:0!important;border:0!important;background:none!important;font-family:var(--bh-font-display,inherit)!important;font-size:clamp(28px,2.6vw,38px)!important;line-height:1.1!important;font-weight:800!important;letter-spacing:-.014em!important;color:var(--tx)!important;text-align:left!important;text-transform:none!important;text-wrap:balance;max-width:26ch}
html body .bh-rel .bh-rel__h::before,html body .bh-rel .bh-rel__h::after{content:none!important;display:none!important}
html body .bh-rel .bh-rel__rb{--bh-rel-l:calc(var(--gut) + max(0px,(100vw - var(--bh-rel-max) - 2 * var(--gut)) / 2));--bh-rel-r:var(--bh-rel-l)}
html body .bh-rel .bh-rel__row{display:flex;gap:24px;margin:0 calc(var(--bh-rel-r) * -1) 0 calc(var(--bh-rel-l) * -1)!important;padding:4px 0 6px var(--bh-rel-l)!important;list-style:none!important;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scroll-padding-left:var(--bh-rel-l);scrollbar-width:none}
html body .bh-rel .bh-rel__row::-webkit-scrollbar{display:none}
html body .bh-rel .bh-rel__row::after{content:"";flex:0 0 calc(var(--bh-rel-r) - 24px)}
html body .bh-rel .bh-rel__c{flex:0 0 clamp(260px,23.5vw,360px);min-width:0;margin:0!important;padding:0!important;list-style:none!important;scroll-snap-align:start}
html body .bh-rel .bh-rel__c::before,html body .bh-rel .bh-rel__c::marker{content:none!important}
html body .bh-rel .bh-rel__c a{display:flex;flex-direction:column;gap:10px;height:100%;color:var(--tx)!important;text-decoration:none!important;border:0!important;box-shadow:none!important;background:none!important}
html body .bh-rel .bh-rel__img{display:block;margin:0 0 6px;border-radius:0;overflow:hidden;background:#080b0f;box-shadow:0 0 0 1px var(--ln)}
html body .bh-rel .bh-rel__img img{display:block;width:100%!important;max-width:none!important;height:auto!important;aspect-ratio:768/403;object-fit:cover;margin:0!important;border-radius:0!important;box-shadow:none!important;transition:transform .9s cubic-bezier(.2,.7,.2,1)}
html body .bh-rel .bh-rel__img.is-empty{display:flex;align-items:flex-end;aspect-ratio:768/403;padding:16px;font-size:13px;line-height:1.3;color:var(--g)}
html body .bh-rel .bh-rel__c a:hover .bh-rel__img img{transform:scale(1.04)}
html body .bh-rel .bh-rel__m{display:flex;flex-wrap:wrap;gap:4px 12px;font-size:13px;line-height:1.3;color:var(--mu)}
html body .bh-rel .bh-rel__m span{font-weight:600;color:#38414e}
html body .bh-rel .bh-rel__t{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;font-size:18px;line-height:1.4;font-weight:500;letter-spacing:-.004em;color:var(--tx);text-wrap:pretty}
html body .bh-rel .bh-rel__c a:is(:hover,:focus-visible) .bh-rel__t{text-decoration:underline;text-decoration-color:var(--g);text-decoration-thickness:2px;text-underline-offset:4px}
html body .bh-rel .bh-rel__c a:focus-visible{outline:none}
html body .bh-rel .bh-rel__c a:focus-visible .bh-rel__img{box-shadow:0 0 0 3px var(--g)}
html body .bh-rel .bh-rel__f{display:flex;align-items:center;gap:8px;margin-top:auto;font-size:13px;line-height:1.55;color:var(--mu)}
html body .bh-rel .bh-rel__f i{font-style:normal;color:var(--tx);opacity:0;transform:translateX(-6px);transition:opacity .25s,transform .25s}
html body .bh-rel .bh-rel__c a:hover .bh-rel__f i{opacity:1;transform:none}
html body .bh-rel .bh-rel__nav{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:28px}
html body .bh-rel .bh-rel__more{display:inline-flex;align-items:center;gap:10px;padding-bottom:5px;font-size:15.5px;line-height:1.3;font-weight:700;color:var(--tx)!important;text-decoration:none!important;border-bottom:2px solid var(--g)!important}
html body .bh-rel .bh-rel__more i{font-style:normal;transition:transform .25s cubic-bezier(.2,.7,.2,1)}
html body .bh-rel .bh-rel__more:hover i{transform:translateX(4px)}
html body .bh-rel .bh-rel__btns{display:flex;gap:10px;margin-left:auto}
html body .bh-rel .bh-rel__btns button{all:unset;box-sizing:border-box;display:grid!important;place-items:center;width:46px!important;height:46px!important;padding:0!important;border-radius:50%!important;border:1px solid var(--ln2)!important;background:none!important;color:var(--tx)!important;cursor:pointer;transition:background .2s,border-color .2s,opacity .2s}
html body .bh-rel .bh-rel__btns button:hover:not(:disabled){border-color:var(--tx)!important;background:var(--tx)!important;color:#fff!important}
html body .bh-rel .bh-rel__btns button:disabled{opacity:.3;cursor:default}
html body .bh-rel .bh-rel__btns button:focus-visible{outline:2px solid var(--g);outline-offset:3px}
@media (max-width:760px){
  html body .bh-rel{--gut:15px;padding-bottom:48px}
  html body .bh-rel .bh-rel__w::before{margin-bottom:40px}
  html body .bh-rel .bh-rel__h{font-size:27px!important}
  html body .bh-rel .bh-rel__row{gap:14px}
  html body .bh-rel .bh-rel__row::after{flex-basis:calc(var(--bh-rel-r) - 14px)}
  html body .bh-rel .bh-rel__c{flex-basis:78vw}
  html body .bh-rel .bh-rel__t{font-size:17px}
  html body .bh-rel .bh-rel__btns{display:none}
}
@media (prefers-reduced-motion:reduce){html body .bh-rel :is(.bh-rel__img img,.bh-rel__f i,.bh-rel__more i){transition:none}}

/* BH_BLOCKS_680_2026_10_07 — блоки внутри колонки 680 (владелец: «у некоторых блоков после смены шрифта и сужения блока поехала вёрстка. проверь все блоки и исправь»).
   Обход 125 страниц, 88 типов блоков (сырьё audits/data/raw/2026-10-07/blocks/). Колонка теперь не шире 680 на любом экране, поэтому блоки,
   у которых узкая раскладка включалась только на узком экране (≤768–840), получают её всегда, когда стоят в колонке. */
/* подписка (плагин buyhold-newsletter, полоса в середине статьи): текст над формой; заголовок без межстрочного абзаца; согласие обычным начертанием */
html body:is(.single,.bh-tool-page) .bh-mr-band .bh-band__inner{flex-direction:column!important;align-items:stretch!important;gap:18px!important}
html body:is(.single,.bh-tool-page) .bh-mr-band .bh-band__form{flex:1 1 auto!important;width:100%!important}
html body:is(.single,.bh-tool-page) .bh-mr-band .bh-band__sub{max-width:none!important}
html body:is(.single,.bh-tool-page) .bh-mr-band .bh-band__title{line-height:1.25!important}
html body:is(.single,.bh-tool-page) .bh-newsletter .bh-mr__ctext{font-weight:400!important}
/* калькуляторы вклада и P2P в тексте статьи: две колонки (360 + остаток) давали итогу 254 px — «Чистыми = 8 483 ₽ за срок» по слову в строке */
html body.single :is(.entry-content,.expert-review-content,.cpt-content-inner) :is(.dep-grid,.p2p-grid){grid-template-columns:minmax(0,1fr)!important}
/* аккордеон рейтинга: кнопки (333 px) оставляли описанию брокера 38 px — по слогу в строке. Кнопки — отдельной строкой под названием */
@media (min-width:769px){
  html body:is(.single,.bh-tool-page) .ib-accordion-rating .broker__header{flex-wrap:wrap!important;row-gap:12px!important}
  html body:is(.single,.bh-tool-page) .ib-accordion-rating .broker__info{flex:1 1 0%!important;min-width:0!important}
  html body:is(.single,.bh-tool-page) .ib-accordion-rating .broker__actions{flex:1 1 100%!important;order:3!important;justify-content:flex-end!important}
  html body:is(.single,.bh-tool-page) .ib-accordion-rating .rating--aligned .broker__actions{justify-content:end!important}
  /* карточки отзывов в рейтинге: плашка «★ …» (до 514 px) закрывала «Ключевые характеристики» справа */
  html body:is(.single,.bh-tool-page) .expert-review-content .rc-header-right{padding-top:60px!important}
}
/* кошельки: в две колонки по 332 px не входили шапка (лого 115 + название + цена) и оценки «9.9/10» — карточки в одну колонку */
html body:is(.single,.bh-tool-page) .coin-wallets-container .wallets-grid{grid-template-columns:minmax(0,1fr)!important}
/* карточки [cards]: картинка была фиксированной высоты 170 px с обрезкой — при карточке 210 px превью резалось с боков; теперь пропорция превью */
html body:is(.single,.bh-tool-page) .premium-card-group .card-link{display:flex!important;flex-direction:column!important}
html body:is(.single,.bh-tool-page) .premium-card-group .card-image{height:auto!important;aspect-ratio:1200/630;background-size:cover!important;background-position:center!important}
html body:is(.single,.bh-tool-page) .premium-card-group .card-content{height:auto!important;flex:1 1 auto!important}
/* виджеты TradingView с жёсткой шириной (850 px) заходили под оглавление, у других обрезалась шкала цены справа */
html body:is(.single,.bh-tool-page) :is(.entry-content,.expert-review-content,.cpt-content-inner,.bh-tool-article) .tradingview-widget-container{width:100%!important;max-width:100%!important}
html body:is(.single,.bh-tool-page) :is(.entry-content,.expert-review-content,.cpt-content-inner,.bh-tool-article) .tradingview-widget-container :is(iframe,.tradingview-widget-container__widget){width:100%!important;max-width:100%!important}
/* «Нашли ошибку?» на телефоне выходила за блок на 4 px */
html body:is(.single,.bh-tool-page) .share-sources-container .bh-fb-inline{max-width:100%!important;box-sizing:border-box!important}
/* карточки отзывов на телефоне: под плашку отведено 44 px (одна строка), длинная плашка в две строки закрывала логотип и название брокера */
html body:is(.single,.bh-tool-page) .expert-review-content .rc-badge{line-height:1.35!important}
@media (max-width:768px){html body:is(.single,.bh-tool-page) .expert-review-content .rc-header-left{padding-top:68px!important}}
/* таблицы без переносов слов (владелец 07.10: «убери переносы в таблице»). Переносы в ячейках ставило правило «Дополнительных стилей» WordPress
   для .table-scroll на экране ≤600 px; без них таблица шире и листается вбок в своей обёртке */
html body:is(.single,.bh-tool-page) :is(.entry-content,.expert-review-content,.cpt-content-inner,.bh-tool-article) :is(td,th,td *,th *){-webkit-hyphens:manual!important;hyphens:manual!important;overflow-wrap:normal!important}
/* overflow-wrap:break-word в ячейке Chrome учитывает при расчёте ширины колонки — «Широкофюзеляжные» рвалось без дефиса; ссылкам разрыв оставлен, чтобы адрес не вылезал из ячейки */
html body:is(.single,.bh-tool-page) :is(.entry-content,.expert-review-content,.cpt-content-inner,.bh-tool-article) :is(td,th) a{overflow-wrap:anywhere!important}
/* числовые ячейки (.is-num, без переноса строки) ограничивались 200 px — «13/15% удерживает брокер сразу» вылезало за ячейку; пусть растут по тексту */
html body:is(.single,.bh-tool-page) :is(.entry-content,.expert-review-content,.cpt-content-inner,.bh-tool-article) .table-scroll table td.is-num{max-width:none!important}
/* таблицы с жёсткой раскладкой колонок (table-layout:fixed: методика рейтинга 3 × 98 px на телефоне, сравнение DEX 77 px на компьютере) без переносов не вмещали «Безопасность», «PancakeSwap»: ширина колонок по тексту, лишнее листается в обёртке */
html body:is(.single,.bh-tool-page) :is(.entry-content,.expert-review-content,.cpt-content-inner,.bh-tool-article) table{table-layout:auto!important}

/* ── BH_LP_ROUTE_TOC_2026_10_07 → BH_LP_ROUTE_DARK_2026_10_08: шаг маршрута Академии — в оглавлении, а не строкой в тексте ──
   Владелец 08.10: светлый вариант «выглядит дёшево… может надо тёмным, учитывай дизайн главной, шторок и меню». Карточка = «Продолжить»
   из шторки (css/site-drawer.css .bhd-go__c): подложка #121820 с зелёным отливом, срез угла 16 px, рамка rgba зелёного, надзаголовок
   11/.16em зелёный, название Inter Tight, крупная цифра шага, шкала. Компьютер — отдельной карточкой над «Содержанием» (sidebar.php);
   телефон и планшет — верхом тёмного «Содержания» в начале статьи (шаблон и скрипт — inc/learning-paths.php); без оглавления — в начале
   текста. Шкала: текущий шаг ярко-зелёный, пройденные в Академии (прогресс из браузера) — приглушённо-зелёные, остальные серые. */
.bh-lpr{--lpr-tx:#eef2f6;--lpr-mu:#8e99a5;--lpr-mu2:#6b7682;--lpr-ln:rgba(255,255,255,.08);--lpr-g:#95ce5a;display:block;font-family:var(--bh-font-text,inherit);text-align:left;-webkit-font-smoothing:antialiased}
html body #secondary .bh-lpr--side,html body .entry-content a.bh-lpr--solo{position:relative;background:linear-gradient(135deg,rgba(149,206,90,.13),rgba(149,206,90,.02) 55%),#121820!important;color:var(--lpr-tx)!important;clip-path:polygon(0 0,100% 0,100% calc(100% - 16px),calc(100% - 16px) 100%,0 100%)}
html body #secondary .bh-lpr--side::after,html body .entry-content a.bh-lpr--solo::after{content:"";position:absolute;inset:0;pointer-events:none;box-shadow:inset 0 0 0 1px rgba(149,206,90,.22)}
html body #secondary .bh-lpr--side{margin:0 0 14px}
html body a.bh-lpr__c{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:4px 16px;padding:16px 18px 15px;color:var(--lpr-tx)!important;text-decoration:none!important;border:0!important;box-shadow:none!important}
.bh-lpr .bh-lpr__k{grid-column:1 / -1;font-size:11px;line-height:1.3;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:var(--lpr-g)}
.bh-lpr .bh-lpr__t2{font-family:var(--bh-font-display,inherit);font-size:17px;line-height:1.22;font-weight:600;letter-spacing:-.012em;color:#fff}
.bh-lpr .bh-lpr__pc{grid-row:2 / span 2;grid-column:2;align-self:center;font-family:var(--bh-font-display,inherit);font-size:28px;line-height:1;font-weight:700;letter-spacing:-.03em;color:#fff;font-variant-numeric:tabular-nums;white-space:nowrap}
.bh-lpr .bh-lpr__pc small{font-size:15px;font-weight:600;letter-spacing:0;color:var(--lpr-mu)}
.bh-lpr .bh-lpr__m{font-size:13px;line-height:1.35;color:var(--lpr-mu);transition:color .2s}
.bh-lpr .bh-lpr__m span{color:var(--lpr-g)}
html body a.bh-lpr__c:hover .bh-lpr__m{color:#fff}
.bh-lpr .bh-lpr__bar{grid-column:1 / -1;display:grid;grid-template-columns:repeat(var(--n,10),minmax(0,1fr));gap:2px;height:3px;margin-top:10px}
.bh-lpr .bh-lpr__bar i{display:block;background:rgba(255,255,255,.1)}
.bh-lpr .bh-lpr__bar i.d{background:rgba(149,206,90,.42)}
.bh-lpr .bh-lpr__bar i.c{background:var(--lpr-g);box-shadow:0 0 8px rgba(149,206,90,.55)}
/* «Дальше»: следующий шаг строкой под карточкой, как ряды под «Продолжить» в шторке */
html body #secondary .bh-lpr__nx{display:flex;align-items:baseline;gap:12px;margin:0 18px;padding:12px 0 17px;border-top:1px solid var(--lpr-ln);font-size:14px;line-height:1.35;color:var(--lpr-tx)!important;text-decoration:none!important}
html body #secondary .bh-lpr__nx small{flex:none;font-size:11px;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:var(--lpr-mu2)}
html body #secondary .bh-lpr__nx span{flex:1;min-width:0}
html body #secondary .bh-lpr__nx b{flex:none;font-weight:400;color:var(--lpr-g);transition:transform .25s}
html body #secondary a.bh-lpr__nx:hover span{color:#fff}
html body #secondary a.bh-lpr__nx:hover b{transform:translateX(3px)}
html body #secondary .bh-lpr__nx.is-last span{color:var(--lpr-mu)}
.bh-lpr :is(a.bh-lpr__c,a.bh-lpr__nx):focus-visible,a.bh-lpr.bh-lpr__c:focus-visible{outline:2px solid var(--lpr-g);outline-offset:-3px}
/* блок «Содержание»: «C» (RADIUS_C2, 09.10) — верх с зелёной полосой прямой, низ 8 px (было 0 в паре с прямыми карточками главной, до того 10 px) */
html body #secondary .stoc-block{border-radius:0 0 8px 8px!important}
/* оглавление липкое вместе с карточкой: список укорачивается на её высоту (--lpr-h ставит скрипт на .stoc) */
#secondary .stoc-block.has-lpr .stoc-nav{max-height:calc(100vh - 144px - var(--lpr-h,190px))!important}
/* телефон и планшет: верх тёмного блока «Содержание» */
html body .entry-content .toc-container a.bh-lpr--toc{background:linear-gradient(135deg,rgba(149,206,90,.14),rgba(149,206,90,.02) 60%),#0a0d12!important;border-bottom:1px solid #1f2630!important;padding:16px 20px 15px}
html body .entry-content .toc-container a.bh-lpr--toc .bh-lpr__t2{font-size:16px}
html body .entry-content .toc-container a.bh-lpr--toc .bh-lpr__pc{font-size:26px}
/* без «Содержания» — карточкой в начале текста */
html body .entry-content a.bh-lpr--solo{margin:0 0 24px}
@media (min-width:1025px){html body.single-post .entry-content a.bh-lpr--solo{display:none}}
@media (prefers-reduced-motion:reduce){.bh-lpr *{transition:none!important}}

/* ── BH_COVER_FLAT_2026_10_08: обложка статьи без скругления и тени, на телефоне от края до края ──
   Владелец: «может на мобильном превью в статьях не закруглять, а расширить на весь экран, как это сделано у форбс? загругленные
   углы не удешевляют вид?» → «делай все». Скруглённая картинка в полях читалась как карточка приложения и спорила с прямыми
   углами карточек главной; на телефоне обложка стала шире на 30 px (390 против 360), как у Forbes, NYT, Guardian. */
html body.single-post .entry-content .featured-image-wrapper,html body.single-post .entry-content .featured-image-wrapper :is(.featured-image-container,img){border-radius:0!important;box-shadow:none!important}
@media (max-width:768px){html body.single-post .entry-content .featured-image-wrapper{width:auto!important;max-width:none!important;margin-left:calc(50% - 50vw)!important;margin-right:calc(50% - 50vw)!important}}

/* ── BH_HEAD_SERIF_2026_10_08: заголовки статей — IBM Plex Serif 600 ──
   Владелец 08.10: «заголовки на пк и мобильном… не слишком ли по-детски и не строго? может отдельный шрифт?» → из шести вариантов
   на живой статье выбрал «вариант4». Inter Tight 700 в кириллице плотный и круглый: в заголовке статьи он читался как интерфейс
   приложения. Plex Serif — пара к тексту IBM Plex Sans (одна суперсемья, общие пропорции): заголовок с засечками над рубленым
   текстом, как в деловой прессе. Где: H1 статей, обзоров, рейтингов и акций (h1.simple-title), H2–H4 текста (прямые потомки колонки,
   включая текст страниц инструментов), заголовок FAQ. Не тронуты: главная, шторка, меню, «Похожие», карточки маршрута и сервисов,
   интерфейс инструментов и их H1 — там Inter Tight. Размеры прежние; цвет на светлом фоне #0c0f15 вместо #333 (тёмные шапки обзоров
   свой белый сохраняют). Файлы свои (SIL OFL, home-v6x/fonts/plex-serif-600-*): расширенная кириллица, кириллица, расширенная
   латиница, латиница. Откат — удалить блок. */
@font-face{font-family:'IBM Plex Serif';font-style:normal;font-weight:600;font-display:swap;src:url(../home-v6x/fonts/plex-serif-600-bb612b9d89.woff2) format('woff2');unicode-range:U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F}
@font-face{font-family:'IBM Plex Serif';font-style:normal;font-weight:600;font-display:swap;src:url(../home-v6x/fonts/plex-serif-600-4ce2e29ed3.woff2) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116}
@font-face{font-family:'IBM Plex Serif';font-style:normal;font-weight:600;font-display:swap;src:url(../home-v6x/fonts/plex-serif-600-9ce0e454b3.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'IBM Plex Serif';font-style:normal;font-weight:600;font-display:swap;src:url(../home-v6x/fonts/plex-serif-600-396d53ed9d.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
:root{--bh-font-head:'IBM Plex Serif',Georgia,'Times New Roman',serif}
html body:is(.single,.bh-tool-page) h1.simple-title,html body:is(.single,.bh-tool-page) :is(.entry-content,.expert-review-content,.bh-tool-article,.cpt-content-inner)>:is(h2,h3,h4),html body:is(.single,.bh-tool-page) .surfearner-faq-section .surfearner-section-heading{font-family:var(--bh-font-head)!important;font-weight:600!important;letter-spacing:-.005em!important}
html body.single-post h1.simple-title,html body:is(.single,.bh-tool-page) :is(.entry-content,.expert-review-content,.bh-tool-article,.cpt-content-inner)>:is(h2,h3,h4),html body:is(.single,.bh-tool-page) .surfearner-faq-section .surfearner-section-heading{color:#0c0f15!important}
html body:is(.single,.bh-tool-page) :is(h1.simple-title,:is(.entry-content,.expert-review-content,.bh-tool-article,.cpt-content-inner)>:is(h2,h3,h4)) :is(strong,b){font-weight:inherit}
