/* BLS — раздел «Блог» (архив + статья). См. docs/tz_blog.md.
   Переиспользует общие примитивы из bls-home.css: .bls-btn(--dark/--outline/--accent),
   .bls-eyebrow, .bls-section-title, .bls-underline. Здесь — то, что специфично
   для блога/статьи. */

.bls-blog-archive, .bls-blog-single {
    font-family: 'Golos Text', system-ui, sans-serif;
    color: #262626;
}

/* ── Хлебные крошки (общие для архива и статьи) ──────────────────────── */
.bls-blog-crumbs { font-size: 12px; color: #a29a92; letter-spacing: .04em; margin: 0 0 26px; }
.bls-blog-crumbs a { color: #a29a92; }
.bls-blog-crumbs a:hover { color: #eb732d; }
.bls-blog-crumbs .cur { color: #6b5d54; }

/* ── Архив: хиро ──────────────────────────────────────────────────────── */
.bls-blog-hero { border-bottom: 1px solid #e6e4e0; background: #fff; }
.bls-blog-hero__inner { max-width: 1240px; margin: 0 auto; padding: 60px 32px 56px; }
.bls-blog-badge { display: inline-block; margin: 0 0 20px; padding: 7px 15px; border: 1px solid #d8cfc8; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #6b5d54; }
.bls-blog-hero h1 { font-size: 50px; line-height: 1.08; font-weight: 800; letter-spacing: -.01em; margin: 0 0 24px; color: #1c1c1c; text-wrap: balance; max-width: 820px; }
.bls-blog-hero p { font-size: 18px; line-height: 1.55; color: #4a4a4a; margin: 0; max-width: 680px; text-wrap: pretty; }

/* ── Архив: лента ─────────────────────────────────────────────────────── */
.bls-blog-feed { padding: 56px 0 90px; }
.bls-blog-feed__inner { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.bls-blog-feed__grid { display: grid; grid-template-columns: 232px 1fr; gap: 64px; align-items: start; }

.bls-blog-sidebar { position: sticky; top: 112px; }
.bls-blog-sidebar__label { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #a29a92; margin: 0 0 18px; }
.bls-blog-cats { display: flex; flex-direction: column; }
.bls-blog-cat { display: block; text-align: left; padding: 9px 0; font-size: 15px; color: #5a534d; font-weight: 500; border-left: 3px solid transparent; padding-left: 0; transition: color .12s, border-color .12s, padding-left .12s; }
.bls-blog-cat:hover { color: #3e1109; }
.bls-blog-cat.is-active { color: #3e1109; font-weight: 700; border-left-color: #eb732d; padding-left: 14px; }

.bls-blog-posts-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 30px; padding-bottom: 18px; border-bottom: 1px solid #eee; }
.bls-blog-posts-head h2 { font-size: 22px; font-weight: 800; margin: 0; color: #1c1c1c; }

.bls-blog-posts { display: flex; flex-direction: column; }
.bls-blog-post { display: block; padding: 30px 0; border-bottom: 1px solid #eee; }
.bls-blog-post__cat { font-size: 13px; font-weight: 700; letter-spacing: .04em; color: #eb732d; margin-bottom: 12px; text-transform: uppercase; }
.bls-blog-post__title { font-size: 24px; line-height: 1.22; font-weight: 800; color: #1c1c1c; margin: 0 0 12px; text-wrap: balance; }
.bls-blog-post:hover .bls-blog-post__title { color: #eb732d; }
.bls-blog-post__excerpt { font-size: 15px; line-height: 1.6; color: #6a6a6a; margin: 0 0 16px; max-width: 760px; text-wrap: pretty; }
.bls-blog-post__meta { display: flex; align-items: center; gap: 14px; font-size: 13px; color: #a49a92; }
.bls-blog-post__meta .sep { width: 1px; height: 12px; background: #d8cfc8; }

.bls-blog-empty { color: #6a6a6a; padding: 20px 0; }

.bls-blog-load { display: flex; justify-content: center; margin-top: 44px; }
.bls-blog-load__btn { background: none; border: none; padding: 6px 4px; font-family: inherit; font-size: 15px; font-weight: 700; letter-spacing: .01em; color: #3e1109; cursor: pointer; border-bottom: 2px solid #eb732d; }
.bls-blog-load__btn:hover { color: #eb732d; }
.bls-blog-load.is-hidden { display: none; }

/* ── Статья: крошки-обёртка (свой верхний паддинг, без хиро над ними) ──── */
.bls-post-crumbs-wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.bls-post-crumbs-wrap .bls-blog-crumbs { padding-top: 48px; margin-bottom: 30px; }

/* ── Статья: сетка (сайдбар-оглавление + тело) ──────────────────────────── */
.bls-post-art { padding-bottom: 90px; }
.bls-post-art__inner { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.bls-post-art__grid { display: grid; grid-template-columns: 240px 1fr; gap: 72px; align-items: start; }

.bls-post-toc { position: sticky; top: 108px; }
.bls-post-toc__label { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #a29a92; margin: 0 0 16px; }
.bls-post-toc nav { display: flex; flex-direction: column; }
.bls-post-toc a { font-size: 14px; line-height: 1.4; padding: 8px 0 8px 14px; border-left: 2px solid #e6e2dc; color: #8a827c; font-weight: 500; transition: color .12s, border-color .12s; }
.bls-post-toc a:hover { color: #3e1109; }
.bls-post-toc a.is-active { color: #3e1109; font-weight: 700; border-left-color: #eb732d; }

/* ── Статья: тело ────────────────────────────────────────────────────── */
.bls-post-body { min-width: 0; max-width: 780px; }
.bls-post-body__eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .04em; color: #eb732d; margin-bottom: 16px; text-transform: uppercase; }
.bls-post-body h1 { font-size: 42px; line-height: 1.14; font-weight: 800; letter-spacing: -.01em; color: #1c1c1c; margin: 0 0 22px; text-wrap: balance; }
.bls-post-body__meta { display: flex; align-items: center; gap: 14px; font-size: 14px; color: #8a827c; margin: 0 0 34px; padding-bottom: 30px; border-bottom: 1px solid #eee; flex-wrap: wrap; }
.bls-post-body__meta .author { font-weight: 700; color: #3e1109; }
.bls-post-body__meta .sep { width: 1px; height: 13px; background: #d8cfc8; }

.bls-post-body h2 { font-size: 28px; font-weight: 800; color: #1c1c1c; margin: 52px 0 20px; letter-spacing: -.01em; text-wrap: balance; scroll-margin-top: 108px; }
.bls-post-body h3 { font-size: 21px; font-weight: 800; color: #1c1c1c; margin: 40px 0 16px; letter-spacing: -.01em; }
.bls-post-body p { font-size: 17px; line-height: 1.72; color: #2f2b28; margin: 0 0 22px; text-wrap: pretty; }
.bls-post-body strong { font-weight: 700; color: #1c1c1c; }
.bls-post-body ul, .bls-post-body ol { margin: 0 0 22px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.bls-post-body ul li, .bls-post-body ol li { position: relative; padding-left: 26px; font-size: 17px; line-height: 1.6; color: #2f2b28; }
.bls-post-body ul li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 8px; height: 8px; background: #eb732d; }
.bls-post-body a { color: #3e1109; text-decoration: underline; text-underline-offset: 2px; }
.bls-post-body a:hover { color: #eb732d; }

/* Изображения и таблицы, вставленные автором через блочный редактор */
.bls-post-body figure { margin: 0 0 30px; }
.bls-post-body figure img { width: 100%; height: auto; display: block; }
.bls-post-body figcaption { font-size: 13px; color: #8a827c; margin-top: 10px; line-height: 1.5; }

.bls-post-body table { width: 100%; border-collapse: collapse; font-size: 15px; }
.bls-post-body table th { text-align: left; padding: 13px 16px; background: #271b19; color: #fff; font-weight: 700; font-size: 13px; letter-spacing: .02em; }
.bls-post-body table td { padding: 13px 16px; color: #2f2b28; }
.bls-post-body table tbody tr { border-bottom: 1px solid #ececec; }
.bls-post-body table tbody tr:nth-child(even) { background: #faf8f5; }
.bls-post-body .wp-block-table { overflow-x: auto; margin: 0 0 30px; }

/* Обычная цитата (core/quote), если статья без «именной» цитаты ниже */
.bls-post-body blockquote { border-left: 4px solid #c3a55f; padding: 8px 0 8px 30px; margin: 0 0 30px; }
.bls-post-body blockquote p { font-size: 20px; line-height: 1.5; font-style: italic; color: #1c1c1c; }
.bls-post-body blockquote cite { font-style: normal; font-size: 14px; color: #8a827c; }

/* ── Паттерн: «Читай также» ──────────────────────────────────────────── */
.bls-post-readalso { border-left: 3px solid #eb732d; background: #faf7f3; padding: 20px 26px; margin: 0 0 30px; }
.bls-post-readalso__label { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #eb732d; margin: 0 0 6px; }
.bls-post-readalso a, .bls-post-readalso p { font-size: 18px; font-weight: 700; color: #1c1c1c; line-height: 1.3; margin: 0; }
.bls-post-readalso a:hover { color: #eb732d; }

/* ── Паттерн: цитата с именем и должностью ───────────────────────────── */
.bls-post-quote { border-left: 4px solid #c3a55f; padding: 8px 0 8px 30px; margin: 0 0 30px; }
.bls-post-quote p { margin: 0 0 18px; font-size: 22px; line-height: 1.5; font-style: italic; color: #1c1c1c; text-wrap: pretty; }
.bls-post-quote__name { font-size: 15px !important; font-weight: 800 !important; color: #1c1c1c !important; font-style: normal !important; line-height: 1.3 !important; margin: 0 !important; }
.bls-post-quote__role { font-size: 13px !important; color: #8a827c !important; font-style: normal !important; margin: 0 !important; }

/* ── Паттерн: тёмный CTA-блок ─────────────────────────────────────────── */
.bls-post-cta { scroll-margin-top: 108px; margin: 56px 0 0; background: #271b19; color: #e8e0da; padding: 46px 48px; }
.bls-post-cta__label { font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #eb732d; margin: 0 0 14px; }
.bls-post-cta h2, .bls-post-cta h3 { font-size: 27px; font-weight: 800; color: #fff; margin: 0 0 16px; line-height: 1.22; }
.bls-post-cta p { font-size: 16px; line-height: 1.65; color: #b7ada6; margin: 0 0 14px; }
.bls-post-cta p:last-of-type { margin-bottom: 30px; }
.bls-post-cta .wp-block-buttons, .bls-post-cta__btns { display: flex; gap: 14px; flex-wrap: wrap; margin: 0; }
.bls-post-cta .bls-btn--outline-light { background: transparent; border: 1px solid rgba(255,255,255,.28); color: #fff; padding: 14px 30px; font-size: 15px; font-weight: 700; }
.bls-post-cta .bls-btn--outline-light:hover { border-color: #fff; color: #fff; }
.bls-post-cta .bls-btn--accent { padding: 14px 30px; font-size: 15px; }

/* ── Статья: «Другие статьи по теме» ─────────────────────────────────── */
.bls-post-related { background: #f4f4f2; border-top: 1px solid #e6e2dc; padding: 74px 0 84px; }
.bls-post-related__inner { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.bls-post-related h2 { font-size: 28px; font-weight: 800; margin: 0 0 8px; text-transform: uppercase; color: #1c1c1c; }
.bls-post-related__bar { display: block; width: 48px; height: 4px; background: #eb732d; margin: 0 0 44px; }
.bls-post-related__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.bls-post-related__card { display: flex; flex-direction: column; background: #fff; border: 1px solid #e6e2dc; padding: 26px 24px 24px; transition: border-color .15s; }
.bls-post-related__card:hover { border-color: #3e1109; }
.bls-post-related__card .cat { font-size: 12px; font-weight: 700; letter-spacing: .04em; color: #eb732d; text-transform: uppercase; margin-bottom: 10px; }
.bls-post-related__card h3 { font-size: 17px; font-weight: 800; color: #1c1c1c; margin: 0 0 10px; line-height: 1.3; }
.bls-post-related__card p { font-size: 13px; line-height: 1.55; color: #6a6a6a; margin: 0 0 18px; flex: 1; }
.bls-post-related__card .more { font-size: 14px; font-weight: 700; color: #3e1109; }

/* ── Адаптив ──────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
    .bls-blog-feed__grid { grid-template-columns: 1fr; gap: 32px; }
    .bls-blog-sidebar { position: static; }
    .bls-blog-hero h1 { font-size: 34px; }

    .bls-post-art__grid { grid-template-columns: 1fr; gap: 32px; }
    .bls-post-toc { position: static; }
    .bls-post-body h1 { font-size: 30px; }
    .bls-post-cta { padding: 32px 26px; }
    .bls-post-related__cards { grid-template-columns: 1fr; }
}
