/* Блог Мастер Офис (16.11.2026): лента «как у Дзена» — шапка канала, вкладки, карточки, подборки справа; страница статьи. */
.bp { background: #F6F4F4; padding-top: 14px; }
.bp .wrap { max-width: 1400px; }   /* 16.11: шире — лента в 3 колонки (Иван: «по три, а то долго листать») */
.bp .crumbs { margin-bottom: 12px; }

/* ---------- шапка канала */
/* 16.11 v2 (Иван: «скучно — интереснее и информативнее»): белая карточка без розовой полосы — слева текст, цифры, фабрики, поиск;
   справа коллаж свежих обложек; снизу вкладки рубрик со значками и счётчиками */
.bh { margin-bottom: 22px; background: #fff; border-radius: 22px; overflow: hidden; position: relative;
  background-image: radial-gradient(70% 120% at 100% 0%, #fbeef3 0%, rgba(251,238,243,0) 60%); }
.bh__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 420px); gap: clamp(18px, 3vw, 44px); align-items: center;
  padding: clamp(20px, 2.6vw, 34px) clamp(16px, 3vw, 36px) clamp(18px, 2vw, 24px); }
.bh__txt { min-width: 0; }
.bh__kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--pink);
  background: #fff; border: 1px solid #f1dfe6; padding: 5px 12px 5px 6px; border-radius: 999px; }
.bh__kicker img { width: 20px; height: 20px; }
.bh__h1 { font-size: clamp(28px, 3.2vw, 42px); font-weight: 700; line-height: 1.1; margin: 12px 0 8px; color: #1b1b1f; letter-spacing: -.01em; }
.bh__lead { margin: 0 0 18px; color: #3d3f45; font-size: 16px; line-height: 1.55; max-width: 640px; }
.bh__facts { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.bh__facts li { display: grid; grid-template-columns: auto auto; grid-template-rows: auto auto; column-gap: 10px; align-items: center;
  background: #F6F4F4; border-radius: 14px; padding: 10px 14px 10px 10px; min-width: 150px; }
.bh__fi { grid-row: 1 / 3; width: 38px; height: 38px; border-radius: 10px; background: #fff; display: grid; place-items: center; color: var(--pink); }
.bh__fi svg, .bh__tabs svg, .bh__search svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bh__facts b { font-size: 20px; line-height: 1.1; color: #1b1b1f; }
.bh__facts small { font-size: 12.5px; color: var(--muted); line-height: 1.2; }
.bh__fab { margin: 0 0 16px; font-size: 13.5px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.bh__fab span { background: #292C32; color: #fff; border-radius: 999px; padding: 3px 11px; font-size: 12.5px; font-weight: 600; }
.bh__search { position: relative; max-width: 520px; display: flex; align-items: center; }
.bh__search svg { position: absolute; left: 14px; color: var(--muted); pointer-events: none; }
.bh__search input { width: 100%; height: 46px; border-radius: 999px; border: 1.5px solid #e6dfe1; background: #fff; padding: 0 120px 0 44px; font: inherit; font-size: 15px; outline: none; transition: border-color .15s, box-shadow .15s; }
.bh__search input:focus { border-color: var(--pink); box-shadow: 0 0 0 4px rgba(164,38,84,.1); }
.bh__found { position: absolute; right: 16px; font-size: 12.5px; color: var(--muted); }
/* коллаж свежих обложек */
.bh__mosaic { position: relative; display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; aspect-ratio: 4 / 3; }
.bh__tile { position: relative; border-radius: 14px; overflow: hidden; background: #ece8e8; display: block; }
.bh__tile--0 { grid-row: 1 / 3; }
.bh__tile--3 { display: none; }
.bh__tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.bh__tile:hover img { transform: scale(1.05); }
.bh__tile i { position: absolute; left: 50%; top: 50%; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; background: rgba(20,20,24,.55); }
.bh__tile i::after { content: ""; position: absolute; left: 16px; top: 12px; border-style: solid; border-width: 8px 0 8px 12px; border-color: transparent transparent transparent #fff; }
.bh__tile--0 i { width: 54px; height: 54px; margin: -27px 0 0 -27px; }
.bh__tile--0 i::after { left: 21px; top: 16px; border-width: 11px 0 11px 17px; }
.bh__new { position: absolute; left: 12px; top: 12px; background: var(--pink); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; box-shadow: 0 4px 12px rgba(164,38,84,.3); }
/* вкладки рубрик */
.bh__tabs { display: flex; gap: 8px; padding: 14px clamp(16px, 3vw, 36px) 16px; overflow-x: auto; scrollbar-width: none; border-top: 1px solid #f0ecec; background: #fff; }
.bh__tabs::-webkit-scrollbar { display: none; }
.bh__tabs a { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 9px 12px 9px 14px; border-radius: 999px; background: #F2EFEF; color: #292C32;
  font-size: 14px; font-weight: 600; text-decoration: none; transition: background .15s, color .15s; }
.bh__tabs a b { background: #fff; color: #292C32; border-radius: 999px; font-size: 12px; padding: 2px 8px; min-width: 24px; text-align: center; }
.bh__tabs a:hover { background: #e8e2e2; }
.bh__tabs a.is-on { background: #292C32; color: #fff; }
.bh__tabs a.is-on b { background: var(--pink); color: #fff; }
@media (max-width: 960px) { .bh__in { grid-template-columns: minmax(0, 1fr); } .bh__mosaic { max-width: 560px; } }
/* v3 (16.11): справа — цифры и поиск; под шапкой — «Категории» */
.bh__in { grid-template-columns: minmax(0, 1fr) minmax(300px, 460px); }
.bh__side { display: flex; flex-direction: column; gap: 12px; }
.bh__side .bh__facts { margin: 0; }
.bh__side .bh__facts li { flex: 1 1 0; }
.bh__side .bh__search { max-width: none; }
.bh__lead { margin-bottom: 0; }
.bh__cats { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 0 clamp(16px, 3vw, 36px) 18px; }
.bh__cats span { font-size: 13px; color: var(--muted); margin-right: 2px; }
.bh__cats button { border: 1px solid #e3dcde; background: #fff; color: #292C32; border-radius: 10px; padding: 7px 12px; font: inherit; font-size: 13.5px; cursor: pointer;
  transition: border-color .15s, background .15s, color .15s; }
.bh__cats button b { font-weight: 600; color: var(--muted); }
.bh__cats button:hover { border-color: var(--pink); }
.bh__cats button.is-on { background: var(--pink); border-color: var(--pink); color: #fff; }
.bh__cats button.is-on b { color: #fff; }
@media (max-width: 960px) { .bh__in { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) { .bh__search { flex-wrap: wrap; } .bh__search svg { top: 13px; } .bh__search input { padding-right: 16px; font-size: 14px; }
  .bh__found { position: static; width: 100%; padding: 6px 0 0 16px; font-size: 12px; } .bh__found:empty { display: none; } .bh__cats { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; } .bh__cats button { flex: none; } .bh__cats span { flex: none; } }
.bp-card.is-hidden { display: none; }
.bp-feed.is-search .bp-card--big { grid-column: auto; flex-direction: column; }
.bp-feed.is-search .bp-card--big .bp-card__ph { flex: none; aspect-ratio: 16 / 9; min-height: 0; }
.bp-feed.is-search .bp-card--big .bp-card__body { padding: 12px 14px 14px; }
.bp-feed.is-search .bp-card--big .bp-card__t { font-size: 16px; }
.bp-feed__none { grid-column: 1 / -1; background: #fff; border-radius: 18px; padding: 28px; text-align: center; color: var(--muted); }

/* ---------- лента + правая колонка */
.bp-grid, .bp-art-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; align-items: start; }
.bp-feed { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
/* в ленте 3 колонки — карточки компактнее: меньше отступы, заголовок 16px, анонс 2 строки */
.bp-feed .bp-card:not(.bp-card--big) .bp-card__body { padding: 12px 14px 14px; gap: 6px; }
.bp-feed .bp-card:not(.bp-card--big) .bp-card__t { font-size: 16px; }
.bp-feed .bp-card:not(.bp-card--big) .bp-card__x { font-size: 13.5px; -webkit-line-clamp: 2; }
.bp-feed--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bp-card { background: #fff; border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.bp-card:hover { box-shadow: 0 10px 30px rgba(41,44,50,.12); transform: translateY(-2px); }
.bp-card__ph { display: block; position: relative; aspect-ratio: 16 / 9; background: #ece8e8; overflow: hidden; }
.bp-card__ph img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.bp-card:hover .bp-card__ph img { transform: scale(1.03); }
.bp-card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.bp-card__t { font-size: 18px; line-height: 1.3; font-weight: 700; margin: 0; }
.bp-card__t a { color: #1b1b1f; text-decoration: none; }
.bp-card__t a::after { content: ""; position: absolute; inset: 0; }
.bp-card { position: relative; }
.bp-card .bp-chip { position: relative; z-index: 1; }
.bp-card__x { margin: 0; color: #4a4c52; font-size: 14.5px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bp-card .bp-meta { margin-top: auto; }
/* первая карточка — широкая, фото слева */
.bp-card--big { grid-column: 1 / -1; flex-direction: row; }
.bp-card--big .bp-card__ph { flex: 0 0 58%; aspect-ratio: auto; min-height: 320px; }
.bp-card--big .bp-card__body { padding: 28px 30px; justify-content: center; }
.bp-card--big .bp-card__t { font-size: clamp(22px, 2.2vw, 30px); }
.bp-card--big .bp-card__x { -webkit-line-clamp: 5; font-size: 16px; }
.bp-card__play, .bp-video__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 64px; height: 64px; border-radius: 50%;
  background: rgba(20,20,24,.62); backdrop-filter: blur(4px); display: grid; place-items: center; border: 0; cursor: pointer; transition: background .2s, transform .2s; }
.bp-card__play i, .bp-video__play i { width: 0; height: 0; border-style: solid; border-width: 11px 0 11px 18px; border-color: transparent transparent transparent #fff; margin-left: 4px; }
.bp-card:hover .bp-card__play, .bp-video:hover .bp-video__play { background: var(--pink); transform: translate(-50%, -50%) scale(1.06); }

.bp-chip { align-self: flex-start; display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .02em; color: var(--pink); background: #fbeef3;
  padding: 4px 10px; border-radius: 999px; text-decoration: none; }
.bp-chip:hover { background: #f6dde7; }
.bp-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; color: var(--muted); font-size: 13px; }
.bp-meta > * + *::before { content: "·"; margin-right: 14px; color: #c9c0c1; }
.bp-meta__ch { display: inline-flex; align-items: center; gap: 8px; color: #1b1b1f; font-weight: 600; text-decoration: none; }
.bp-meta__ch img { width: 28px; height: 28px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px #eee; padding: 3px; }
.bp-meta > .bp-meta__ch + *::before { content: ""; margin: 0; }

/* правая колонка */
.bs { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 16px; }
.bs-box { background: #fff; border-radius: 18px; padding: 18px; }
.bs-h { font-size: 17px; font-weight: 700; margin: 0 0 12px; }
.bs-col { display: flex; align-items: center; gap: 12px; padding: 8px; margin: 0 -8px; border-radius: 12px; text-decoration: none; color: inherit; }
.bs-col:hover { background: #F6F4F4; }
.bs-col img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; flex: none; }
.bs-col b { display: block; font-size: 15px; color: #1b1b1f; }
.bs-col small { color: var(--muted); font-size: 13px; }
.bs-help { background: linear-gradient(160deg, #292C32, #43262f); color: #fff; }
.bs-help p { color: #e6dfe1; font-size: 14px; line-height: 1.5; margin: 0 0 14px; }
.bs-help .btn { width: 100%; border-radius: 999px; text-align: center; background: var(--pink); color: #fff; }
.bs-help .btn:hover { background: #8e1f48; }
.bs-help__cat { display: block; margin-top: 12px; color: #fff; opacity: .85; font-size: 14px; text-align: center; }
/* 17.11: колонка тянется на всю высоту ленты и не прилипает целиком; прилипают «Поможем с выбором» + ВК (.bs-stick) */
@media (min-width: 1101px) {
  .bp-grid > .bs, .bp-art-grid > .bs { position: static; align-self: stretch; }
  .bs-stick { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 16px; }
}
@media (max-width: 1100px) { .bs-stick { display: contents; } }
/* Карточка ВКонтакте (Иван 17.11.2026, вариант 2 из preview-blog-vk.html; разметка — Blog.php side()) */
.bs-vk { position: relative; overflow: hidden; color: #fff; background: linear-gradient(150deg, #1a6cf0 0%, #0a4fc0 55%, #2b2a4a 100%); padding: 20px 18px 18px; }
.bs-vk__num { position: absolute; right: -6px; top: -18px; font-size: 118px; font-weight: 800; line-height: 1; color: rgba(255,255,255,.09); letter-spacing: -.04em; pointer-events: none; }
.bs-vk__top { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.bs-vk__top svg { width: 40px; height: 40px; flex: none; fill: #fff; }
.bs-vk__top span { font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .8; }
.bs-vk .bs-h { position: relative; margin: 0 0 6px; font-size: 19px; line-height: 1.25; color: #fff; }
.bs-vk p { position: relative; margin: 0 0 14px; font-size: 13.5px; line-height: 1.5; color: #dbe7ff; }
.bs-vk__btn { position: relative; display: block; text-align: center; border-radius: 999px; padding: 10px 16px; background: #fff; color: #0a4fc0; font-weight: 700; font-size: 14px; transition: transform .2s, box-shadow .2s; }
.bs-vk__btn:hover { color: #0a4fc0; transform: translateY(-2px); box-shadow: 0 8px 18px rgba(0,0,0,.22); }

/* ---------- статья */
.bp-art { background: #fff; border-radius: 20px; padding: clamp(20px, 3.4vw, 44px); min-width: 0; }
.bp-art__h1 { font-size: clamp(26px, 3.2vw, 40px); line-height: 1.15; font-weight: 700; margin: 12px 0 14px; color: #1b1b1f; }
.bp-art__lead { font-size: 19px; line-height: 1.55; color: #2f3136; margin: 18px 0 20px; font-weight: 500; }
.bp-art__cover { margin: 0 0 24px; }
.bp-art__cover img { width: 100%; border-radius: 16px; display: block; aspect-ratio: 16 / 9; object-fit: cover; }
.bp-art__cover figcaption, .bp-fig figcaption { color: var(--muted); font-size: 13px; margin-top: 8px; }
.bp-video { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #111; margin: 0 0 24px; cursor: pointer; }
.bp-video img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .9; }
.bp-video--own { cursor: default; }
.bp-video video { position: absolute; inset: 0; width: 100%; height: 100%; background: #000; object-fit: contain; }
.bp-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.bp-video__src { position: absolute; left: 14px; bottom: 12px; color: #fff; font-size: 12px; background: rgba(0,0,0,.5); padding: 3px 8px; border-radius: 6px; }
.bp-toc { background: #F6F4F4; border-radius: 14px; padding: 16px 20px; margin: 0 0 26px; }
.bp-toc b { display: block; margin-bottom: 8px; }
.bp-toc ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 5px; }
.bp-toc li { padding-left: 16px; position: relative; }
.bp-toc li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--pink); }
.bp-toc a { color: #292C32; }
.bp-toc a:hover { color: var(--pink); }
.bp-text { font-size: 17px; line-height: 1.7; color: #26282c; max-width: 760px; }
.bp-text h2 { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.25; margin: 36px 0 12px; scroll-margin-top: 90px; color: #1b1b1f; }
.bp-text h3 { font-size: 20px; margin: 26px 0 8px; }
.bp-text p { margin: 0 0 16px; }
.bp-text ul, .bp-text ol { margin: 0 0 18px; padding-left: 24px; }
.bp-text li { margin-bottom: 6px; }
.bp-text a { color: var(--pink); text-decoration: underline; text-underline-offset: 3px; }
.bp-text hr { border: 0; border-top: 1px solid var(--line); margin: 30px 0; }
.bp-note { margin: 22px 0; padding: 16px 20px 16px 52px; background: #fbeef3; border-radius: 14px; position: relative; color: #3a2a30; }
.bp-note::before { content: "💡"; position: absolute; left: 18px; top: 15px; font-size: 20px; }
.bp-fig { margin: 24px 0; }
.bp-fig img { width: 100%; height: auto; border-radius: 14px; display: block; }

.bp-prods { margin: 34px 0 10px; }
.bp-prods h2 { font-size: 22px; margin: 0 0 14px; }
/* 18.11 (Иван: «не компактно и не красиво»): карточка-строка — квадратное фото 84 px слева, тип мелко, модель, цена */
.bp-prods__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 10px; }
.bp-prod { display: flex; align-items: center; gap: 12px; padding: 10px; border: 1px solid var(--line); border-radius: 14px; background: #fff; text-decoration: none; color: inherit; transition: border-color .2s, box-shadow .2s; }
.bp-prod:hover { border-color: var(--pink); box-shadow: 0 6px 18px rgba(164,38,84,.1); }
.bp-prod__ph { flex: none; width: 76px; height: 76px; border-radius: 10px; background: #fff; border: 1px solid #f0eaea; overflow: hidden; display: grid; place-items: center; }
.bp-prod__ph img { width: 100%; height: 100%; object-fit: contain; }   /* кресло целиком, интерьер — полосой по центру */
.bp-prod__b { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.bp-prod__k { font-size: 11.5px; line-height: 1.25; color: #8a8c92; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bp-prod__n { font-size: 14px; font-weight: 500; line-height: 1.3; color: #2a2c31; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bp-prod:hover .bp-prod__n { color: var(--pink); }
.bp-prod__p { font-size: 15px; color: #1b1b1f; margin-top: 2px; }

.bp-cta { display: flex; align-items: center; gap: 18px; justify-content: space-between; flex-wrap: wrap; margin: 30px 0 22px; padding: 22px 24px;
  border-radius: 16px; background: linear-gradient(120deg, #fbeef3, #f6f4f4); }
.bp-cta b { font-size: 19px; }
.bp-cta p { margin: 6px 0 0; color: #4a4c52; max-width: 560px; }
.bp-cta .btn { border-radius: 999px; padding: 12px 24px; }
.bp-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; }
.bp-share span { color: var(--muted); margin-right: 4px; }
.bp-share a, .bp-share button { padding: 7px 14px; border-radius: 999px; background: #F2EFEF; color: #292C32; text-decoration: none; border: 0; font: inherit; cursor: pointer; }
.bp-share a:hover, .bp-share button:hover { background: #292C32; color: #fff; }
.bp-more { margin-top: 34px; }
.bp-more > h2 { font-size: 24px; margin: 0 0 16px; }

/* ---------- узкие экраны */
@media (max-width: 1260px) and (min-width: 1101px) {
  .bp-feed { grid-template-columns: repeat(2, minmax(0, 1fr)); }   /* рядом с правой колонкой 3 не помещаются */
}
@media (max-width: 860px) {
  .bp-feed { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
  .bp-grid, .bp-art-grid { grid-template-columns: minmax(0, 1fr); }
  .bs { position: static; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
  .bp-feed--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .bp { padding-top: 8px; }
  .bh { border-radius: 16px; }
  .bh__in { grid-template-columns: minmax(0, 1fr); }
  .bh__mosaic { order: -1; aspect-ratio: 16 / 9; }
  .bh__facts li { min-width: 0; flex: 1 1 calc(50% - 10px); padding: 8px 10px 8px 8px; }
  .bh__fi { width: 32px; height: 32px; }
  .bh__facts b { font-size: 17px; }
  .bh__lead { font-size: 15px; }
  .bp-feed, .bp-feed--3 { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .bp-card--big { flex-direction: column; }
  .bp-card--big .bp-card__ph { flex: none; aspect-ratio: 16 / 9; min-height: 0; }
  .bp-card--big .bp-card__body { padding: 16px 18px 18px; }
  .bp-art { border-radius: 16px; }
  .bp-art .bp-meta__ch { flex-basis: 100%; }
  .bp-art .bp-meta__ch + * + *::before { content: "·"; margin-right: 14px; }
  .bp-art .bp-meta__ch + *::before { content: none; }
  .bp-art__lead { font-size: 17px; }
  .bp-text { font-size: 16px; }
  .bp-prods__grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- таблицы в статьях (16.11: SEO-статьи — сравнения, размеры, комплекты) */
.bp-table { margin: 18px 0 22px; overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 14px; border: 1px solid #ece6e6; background: #fff; }
.bp-table table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.45; min-width: 520px; }
.bp-table th, .bp-table td { padding: 10px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid #f0eaea; }
.bp-table th { background: #F6F2F2; font-weight: 600; color: #292C32; white-space: nowrap; }
.bp-table tr:last-child td { border-bottom: 0; }
.bp-table td:first-child { font-weight: 500; }
/* предпросмотр черновика из админки */
.bp-draft { margin: -14px 0 14px; background: #292C32; color: #fff; text-align: center; padding: 10px 16px; font-size: 14px; }

/* Смета (18.11, рубрика «Сметы»): таблица комплекта из каталога, итог, «в корзину», «скачать для Excel» */
.bp-smeta { margin: 22px 0 26px; border: 1px solid #ece6e6; border-radius: 16px; background: #fff; overflow: hidden; }
.bp-smeta__head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px 18px; flex-wrap: wrap; padding: 16px 20px; background: #F6F2F2; }
.bp-smeta__head b { font-size: 18px; color: #292C32; }
.bp-smeta__head span { font-size: 15px; color: #4a4c52; }
.bp-smeta__head strong { font-size: 20px; color: var(--pink); white-space: nowrap; }
.bp-smeta__t { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.bp-smeta table { width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 1.4; min-width: 560px; }
.bp-smeta th, .bp-smeta td { padding: 10px 12px; text-align: right; vertical-align: middle; border-bottom: 1px solid #f0eaea; white-space: nowrap; }
.bp-smeta th { font-size: 12.5px; font-weight: 600; color: #6b6d73; text-transform: uppercase; letter-spacing: .03em; }
.bp-smeta th:nth-child(-n+2), .bp-smeta td:nth-child(-n+2) { text-align: left; }
.bp-smeta td:first-child { color: #9a9ca2; width: 28px; }
.bp-smeta__n { white-space: normal !important; min-width: 260px; }
.bp-smeta__n > div { display: flex; align-items: center; gap: 12px; }
.bp-smeta__n img { width: 56px; height: 56px; flex: none; object-fit: contain; border-radius: 10px; background: #f7f5f5; }
.bp-smeta__n a { color: #292C32; text-decoration: none; font-weight: 500; }
.bp-smeta__n a:hover { color: var(--pink); text-decoration: underline; }
.bp-smeta__n small { display: block; margin-top: 3px; font-size: 12.5px; color: #8a8c92; }
.bp-smeta tr.is-off td { color: #9a9ca2; }
.bp-smeta tfoot td { border-bottom: 0; background: #fbf9f9; font-size: 15.5px; color: #292C32; }
.bp-smeta tfoot td:first-child { color: #292C32; font-weight: 600; text-align: left; }
.bp-smeta tfoot b { color: var(--pink); font-size: 17px; }
.bp-smeta__act { display: flex; align-items: center; gap: 10px 12px; flex-wrap: wrap; padding: 14px 20px 18px; }
.bp-smeta__act .btn { border-radius: 999px; padding: 11px 20px; font-size: 15px; cursor: pointer; border: 1px solid transparent; }
.bp-smeta__act .bp-smeta__xls { background: #fff; border-color: #d9d2d2; color: #292C32; }
.bp-smeta__act .bp-smeta__xls:hover { border-color: var(--pink); color: var(--pink); }
.bp-smeta__act a.btn { text-decoration: none; }
.bp-smeta__act small { flex-basis: 100%; font-size: 12.5px; color: #8a8c92; }
@media (max-width: 640px) {   /* телефон: строка сметы — карточка «фото, название / 5 шт. × цена = сумма» */
  .bp-smeta__head, .bp-smeta__act { padding-left: 14px; padding-right: 14px; }
  .bp-smeta__act .btn { width: 100%; text-align: center; }
  .bp-smeta table { min-width: 0; }
  .bp-smeta thead { display: none; }
  .bp-smeta tbody tr { display: grid; grid-template-columns: auto auto 1fr; align-items: baseline; gap: 6px 8px; padding: 12px 14px; border-bottom: 1px solid #f0eaea; }
  .bp-smeta tbody td { padding: 0; border: 0; text-align: left; }
  .bp-smeta tbody td:first-child { display: none; }
  .bp-smeta tbody .bp-smeta__n { grid-column: 1 / -1; min-width: 0; }
  .bp-smeta tbody td:nth-child(3)::after { content: " шт. ×"; color: #8a8c92; }
  .bp-smeta tbody td:nth-child(4) { color: #6b6d73; }
  .bp-smeta tbody td:last-child { text-align: right; }
  .bp-smeta tbody tr.is-off td:last-child { grid-column: 2 / -1; text-align: left; }
  .bp-smeta tfoot tr { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 14px; background: #fbf9f9; }
  .bp-smeta tfoot td { padding: 0; background: none; }
}

/* 18.11 (Иван «делай 1–6»): лента — сразу 24 карточки, остальные по кнопке «Показать ещё» (при поиске видны все найденные) */
.bp-col { min-width: 0; }
.bp-feed:not(.is-all):not(.is-search) .bp-card.is-more { display: none; }
.bp-morebtn { display: block; margin: 22px auto 0; padding: 12px 26px; border: 1px solid #d9d9de; border-radius: 999px; background: #fff; color: #1d1d1f; font: inherit; font-weight: 600; cursor: pointer; transition: border-color .15s, color .15s; }
.bp-morebtn:hover, .bp-morebtn:focus-visible { border-color: #981F4C; color: #981F4C; }
.bp-feed.is-all + .bp-morebtn, .bp-feed.is-search + .bp-morebtn { display: none; }

/* ===== Шапка ленты «Тёмный медиаканал» — вариант 1 (Иван 18.11.2026). Источник: site_tools/claude_blog_head_variants_2026-11-18.py ===== */
/*bhv-common*/
.bhv .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.bhv svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.bhv .bh__h1 { margin: 10px 0 8px; }
.bhv-in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 500px); gap: clamp(18px, 3vw, 44px); align-items: center;
  padding: clamp(20px, 2.6vw, 34px) clamp(16px, 3vw, 36px) clamp(18px, 2vw, 24px); }
.bhv-txt { min-width: 0; position: relative; z-index: 2; }
/* «Категории» — одна строка, остальное по «Ещё» (blog-head-variants.js) */
.bhv .bh__cats { padding-top: 2px; }
.bhv .bh__cats button.bhv-x { display: none; }
.bhv .bh__cats.is-open button.bhv-x { display: inline-flex; }
.bhv .bh__cats .bhv-more { border-style: dashed; color: var(--pink); font-weight: 600; }
/* счётчики */
.bhv-stats { list-style: none; margin: 16px 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.bhv-stats li { display: grid; grid-template-columns: auto auto; column-gap: 10px; align-items: center; padding: 8px 14px 8px 8px; border-radius: 14px; background: #F6F2F3; }
.bhv-stats .bhv-ic { grid-row: 1 / 3; width: 36px; height: 36px; border-radius: 10px; background: #fff; display: grid; place-items: center; color: var(--pink); }
.bhv-stats b { font-size: 20px; line-height: 1.1; color: #1b1b1f; font-variant-numeric: tabular-nums; }
.bhv-stats small { font-size: 12.5px; color: var(--muted); line-height: 1.2; }
/* обложка-карточка со значком рубрики */
.bhv-cv { position: relative; display: block; overflow: hidden; border-radius: 14px; background: #ece8e8; }
.bhv-cv img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.bhv-cv:hover img { transform: scale(1.06); }
.bhv-tag { position: absolute; left: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 5px; font-style: normal; font-size: 11.5px; font-weight: 700;
  background: rgba(255,255,255,.94); color: #292C32; padding: 4px 9px 4px 6px; border-radius: 999px; box-shadow: 0 4px 12px rgba(0,0,0,.12); }
.bhv-tag svg { width: 14px; height: 14px; color: var(--pink); stroke-width: 2.2; }
.bhv-play { position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: rgba(164,38,84,.92);
  box-shadow: 0 0 0 0 rgba(164,38,84,.5); animation: bhvPing 2.2s infinite; }
.bhv-play i { position: absolute; left: 18px; top: 14px; border-style: solid; border-width: 9px 0 9px 14px; border-color: transparent transparent transparent #fff; }
@keyframes bhvPing { 0% { box-shadow: 0 0 0 0 rgba(164,38,84,.5); } 70%, 100% { box-shadow: 0 0 0 16px rgba(164,38,84,0); } }
@keyframes bhvUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.bhv .bh__h1, .bhv .bh__lead, .bhv-say, .bhv-stats, .bhv .bh__search { animation: bhvUp .6s both cubic-bezier(.2,.7,.2,1); }
.bhv .bh__lead, .bhv-say { animation-delay: .08s; } .bhv-stats { animation-delay: .16s; } .bhv .bh__search { animation-delay: .24s; }
@media (max-width: 960px) { .bhv-in { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) { .bhv-stats { gap: 6px; flex-wrap: nowrap; } .bhv-stats li { flex: 1 1 0; min-width: 0; grid-template-columns: minmax(0, 1fr); padding: 8px 10px; }
  .bhv-stats .bhv-ic { display: none; } .bhv-stats b { font-size: 18px; } .bhv-stats small { font-size: 11.5px; } }
/*/bhv-common*/
/*bhv-1*/
/* 1 — тёмный медиаканал: живой градиент, аватар «в эфире», сменяющиеся слова, веер обложек */
.bhv--1 { background: #fff; }
.bhv--1 .bhv-in { background: #1f2126; color: #fff; overflow: hidden; isolation: isolate; }
.bhv--1 .bhv-in::before, .bhv--1 .bhv-in::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(60px); opacity: .55; pointer-events: none; }
.bhv--1 .bhv-in::before { width: 420px; height: 420px; left: -120px; top: -180px; background: #A42654; animation: bhvBlobA 14s ease-in-out infinite alternate; }
.bhv--1 .bhv-in::after { width: 360px; height: 360px; right: 8%; bottom: -220px; background: #5b3bd1; opacity: .35; animation: bhvBlobB 17s ease-in-out infinite alternate; }
@keyframes bhvBlobA { to { transform: translate(260px, 90px) scale(1.2); } }
@keyframes bhvBlobB { to { transform: translate(-240px, -70px) scale(.9); } }
.bhv-chan { display: flex; align-items: center; gap: 12px; }
.bhv-chan b { display: block; font-size: 15px; }
.bhv-chan small { display: block; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: #f3a9c4; font-weight: 700; }
.bhv-ava { position: relative; width: 46px; height: 46px; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.bhv-ava img { width: 26px; height: 26px; }
.bhv-ava::before { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid transparent;
  background: conic-gradient(from var(--bhv-a, 0deg), #A42654, #ff7aa8, #5b3bd1, #A42654) border-box;
  -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: bhvSpin 4s linear infinite; }
@property --bhv-a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes bhvSpin { to { --bhv-a: 360deg; } }
.bhv--1 .bh__h1 { color: #fff; font-size: clamp(30px, 3.4vw, 46px); }
.bhv-say { margin: 0; font-size: clamp(17px, 1.6vw, 21px); color: rgba(255,255,255,.75); display: flex; gap: 8px; flex-wrap: wrap; align-items: baseline; }
.bhv-rot { position: relative; display: inline-block; height: 1.35em; overflow: hidden; vertical-align: bottom; min-width: 12ch; }
.bhv-rot i { display: block; font-style: normal; font-weight: 700; color: #fff; height: 1.35em; line-height: 1.35em; white-space: nowrap;
  background: linear-gradient(90deg, #ff8fb6, #fff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: bhvRot 12.5s infinite; }
@keyframes bhvRot { 0%, 16% { transform: translateY(0); } 20%, 36% { transform: translateY(-100%); } 40%, 56% { transform: translateY(-200%); }
  60%, 76% { transform: translateY(-300%); } 80%, 96% { transform: translateY(-400%); } 100% { transform: translateY(0); } }
.bhv--1 .bhv-stats li { background: rgba(255,255,255,.08); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.1); }
.bhv--1 .bhv-stats .bhv-ic { background: rgba(255,255,255,.12); color: #ff8fb6; }
.bhv--1 .bhv-stats b { color: #fff; } .bhv--1 .bhv-stats small { color: rgba(255,255,255,.65); }
.bhv--1 .bh__search input { background: rgba(255,255,255,.96); border-color: transparent; }
.bhv--1 .bh__search { max-width: 560px; }
.bhv-fan { position: relative; height: 290px; }
.bhv-fan .bhv-cv { position: absolute; width: 62%; aspect-ratio: 4 / 3; box-shadow: 0 18px 40px rgba(0,0,0,.45); border: 3px solid rgba(255,255,255,.9);
  transition: transform .5s cubic-bezier(.2,.7,.2,1), z-index 0s; animation: bhvIn .8s both cubic-bezier(.2,.7,.2,1); }
.bhv-fan .bhv-cv--0 { left: 0; top: 40px; --r: -8deg; transform: rotate(var(--r)); animation-delay: .15s; }
.bhv-fan .bhv-cv--1 { left: 19%; top: 0; --r: 0deg; z-index: 2; transform: rotate(var(--r)); animation-delay: .3s; }
.bhv-fan .bhv-cv--2 { right: 0; top: 52px; --r: 8deg; transform: rotate(var(--r)); animation-delay: .45s; }
.bhv-fan .bhv-cv img { animation: bhvFloat 6s ease-in-out infinite alternate; }
.bhv-fan .bhv-cv--1 img { animation-delay: -2s; } .bhv-fan .bhv-cv--2 img { animation-delay: -4s; }
@keyframes bhvFloat { from { transform: scale(1.04) translateY(-4px); } to { transform: scale(1.1) translateY(4px); } }
@keyframes bhvIn { from { opacity: 0; transform: translateY(40px) rotate(0deg) scale(.9); } }
.bhv-fan:hover .bhv-cv--0 { transform: rotate(-12deg) translateX(-18px); }
.bhv-fan:hover .bhv-cv--2 { transform: rotate(12deg) translateX(18px); }
.bhv-fan .bhv-cv:hover { z-index: 3; transform: rotate(0) scale(1.05) !important; }
@media (max-width: 960px) { .bhv-fan { height: 220px; max-width: 520px; width: 100%; margin: 0 auto; } }
@media (max-width: 600px) { .bhv-fan { display: none; } .bhv--1 .bhv-stats li { flex: 1 1 calc(50% - 10px); } }
.bhv-say--lead { display: block; font-size: 16px; line-height: 1.55; max-width: 640px; }   /* страницы рубрик: описание вместо сменяющихся слов */
/*/bhv-1*/
@media (prefers-reduced-motion: reduce) {
  .bhv *, .bhv *::before, .bhv *::after, .bhv-in::before, .bhv-in::after { animation: none !important; transition: none !important; }
  .bhv-rot i:not(:first-child) { display: none; }
}

