/* UA: Блоги порталу (2026-10-29): стрічка /blog/, рубрика, блог користувача, пост. Шаблони template/b2b-b2c/static/blog*.htm.
 * EN: The portal's blogs (2026-10-29): the /blog/ feed, a rubric, a user's blog, a post. The templates are template/b2b-b2c/static/blog*.htm.
   Блок автора/оцінки/коментарів під постом — file/script/blogpost.css (спільний із вітринами). */
.bp { gap: 22px; --blw-a: var(--c-primary); --blw-line: var(--c-line); --blw-bg: var(--c-surface); --blw-bg2: var(--c-surface-2); }
/* UA: аватари й позначка перевірки — як у file/script/blogpost.css (там вони для блоку під постом) | EN: the avatars and the verification mark — as in file/script/blogpost.css (where they serve the block under a post) */
.bp .blw-ava{flex:none;display:inline-grid;place-items:center;width:40px;height:40px;border-radius:50%;overflow:hidden;background:var(--blw-bg2);color:var(--blw-a);font-weight:800;font-size:16px;line-height:1}
.bp .blw-ava img{width:100%;height:100%;object-fit:cover;display:block}
.bp .blw-ava--ph{background:color-mix(in srgb,var(--blw-a) 14%,var(--blw-bg));}
.bp .blw-ava--sm{width:34px;height:34px;font-size:14px}
.bp .blw-ava--lg{width:60px;height:60px;font-size:24px}
.bp .blw-ava--sq{border-radius:12px;width:44px;height:44px;background:#fff;box-shadow:inset 0 0 0 1px var(--blw-line)}
.bp .blw-ava--sq img{object-fit:contain;padding:3px}
.bp .blw-ver{display:inline-block;width:16px;height:16px;vertical-align:-3px;border-radius:50%;background:var(--blw-a,#1E6B52) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/11px no-repeat;background-color:var(--blw-a,var(--c-primary,#1E6B52))}
.bp a { text-decoration: none; }
.bp-k { display: block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--c-muted); }

/* UA: шапка стрічки | EN: the feed's header */
.bp-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 440px); align-items: end; gap: 18px 32px; }
.bp-head h1 { margin: 0; font-family: var(--f-display); font-size: clamp(30px, 4.2vw, 44px); line-height: 1.08; letter-spacing: -.02em; color: var(--c-ink); }
.bp-head h1 small { font-size: 16px; font-weight: 600; color: var(--c-muted); letter-spacing: 0; }
.bp-head p { margin: 10px 0 0; max-width: 60ch; color: var(--c-muted); font-size: 16px; line-height: 1.55; }
.bp-search { display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 14px; border: 1px solid var(--c-line-strong); border-radius: 14px; background: var(--c-surface); color: var(--c-muted); }
.bp-search:focus-within { border-color: var(--c-primary); box-shadow: 0 0 0 3px var(--c-focus, rgba(30, 107, 82, .18)); }
.bp-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 15px; color: var(--c-ink); padding: 8px 0; }
.bp-search .am-btn { min-height: 40px; width: 44px; padding: 0; }

/* UA: шапка блогу користувача | EN: the header of the user's blog */
.bp-owner { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 20px 24px; padding: 24px; border: 1px solid var(--c-line); border-radius: var(--r-xl, 22px); background: var(--c-surface); }
.bp-owner .bp-owner__logo { width: 88px; height: 88px; border-radius: 20px; font-size: 34px; }
.bp-owner h1 { margin: 4px 0 6px; font-family: var(--f-display); font-size: clamp(24px, 3.2vw, 34px); line-height: 1.12; color: var(--c-ink); }
.bp-owner__n { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 0; font-weight: 700; color: var(--c-text); }
.bp-owner__n span { font-weight: 500; color: var(--c-muted); }
.bp-owner__p { margin: 10px 0 0; max-width: 72ch; color: var(--c-text-2); line-height: 1.6; }

/* UA: рубрики-чипи | EN: the rubric chips */
.bp-chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 6px; margin: 0 -2px; scrollbar-width: thin; }
.bp-chips a { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--c-line); border-radius: 999px; background: var(--c-surface); color: var(--c-ink); font-size: 14px; font-weight: 600; white-space: nowrap; transition: border-color .2s, color .2s, background .2s; }
.bp-chips a span { font-size: 12px; font-weight: 700; color: var(--c-muted); }
.bp-chips a:hover { border-color: var(--c-primary); color: var(--c-primary); }
.bp-chips a[aria-current] { background: var(--c-primary); border-color: var(--c-primary); color: var(--c-on-primary); }
.bp-chips a[aria-current] span { color: inherit; opacity: .8; }

/* UA: розкладка | EN: the layout */
.bp-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; }
.bp-feed { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.bp-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
.bp-sort { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 12px; background: var(--c-surface-2); }
.bp-sort a { padding: 7px 12px; border-radius: 9px; color: var(--c-text-2); font-size: 14px; font-weight: 600; }
.bp-sort a:hover { color: var(--c-ink); }
.bp-sort a[aria-selected="true"] { background: var(--c-surface); color: var(--c-ink); box-shadow: 0 1px 3px rgba(16, 24, 40, .12); }
.bp-found { margin: 0; color: var(--c-muted); font-size: 14px; }
.bp-found a { margin-left: 8px; color: var(--c-primary); font-weight: 700; }

/* UA: обкладинка | EN: cover */
.bp-cov { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 10; border-radius: 14px; background: var(--c-surface-2); }
.bp-cov img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.bp-cov__ph { display: grid; place-items: center; width: 100%; height: 100%; background: linear-gradient(135deg, var(--c-primary), color-mix(in srgb, var(--c-primary) 60%, #000)); color: rgba(255, 255, 255, .92); font-family: var(--f-display); font-size: clamp(40px, 5vw, 64px); font-weight: 800; }
.bp-badge { position: absolute; left: 12px; top: 12px; max-width: calc(100% - 24px); padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, .94); color: #14202c; font-size: 12px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; box-shadow: 0 4px 14px rgba(0, 0, 0, .12); }
.bp-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 0; color: var(--c-muted); font-size: 13px; font-weight: 500; }
.bp-meta i { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .6; }
.bp-ex { margin: 0; color: var(--c-text-2); font-size: 15px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* UA: головний пост | EN: the main post */
.bp-feat { display: grid; grid-template-columns: 1.25fr 1fr; gap: 24px; align-items: center; padding: 12px; border: 1px solid var(--c-line); border-radius: var(--r-xl, 22px); background: var(--c-surface); transition: box-shadow .3s, transform .3s; }
.bp-feat:hover { box-shadow: 0 18px 50px -26px rgba(16, 24, 40, .4); }
.bp-feat:hover .bp-cov img, .bp-card:hover .bp-cov img { transform: scale(1.04); }
.bp-feat__b { display: flex; flex-direction: column; gap: 12px; padding: 8px 12px 8px 0; min-width: 0; }
.bp-feat h2 { margin: 0; font-family: var(--f-display); font-size: clamp(22px, 2.5vw, 30px); line-height: 1.2; letter-spacing: -.01em; }
.bp-feat h2 a, .bp-card h3 a { color: var(--c-ink); }
.bp-feat h2 a:hover, .bp-card h3 a:hover { color: var(--c-primary); }
.bp-feat .bp-ex { -webkit-line-clamp: 4; font-size: 16px; }

/* UA: картки | EN: cards */
.bp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.bp-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bp-card { display: flex; flex-direction: column; gap: 12px; padding: 10px; border: 1px solid var(--c-line); border-radius: 18px; background: var(--c-surface); transition: box-shadow .3s, transform .3s; min-width: 0; }
.bp-card:hover { box-shadow: 0 16px 40px -26px rgba(16, 24, 40, .45); transform: translateY(-2px); }
.bp-card__b { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 2px 6px 6px; min-width: 0; }
.bp-card h3 { margin: 0; font-size: 18px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* UA: підпис: автор + компанія + лічильники | EN: the byline: the author plus the company plus the counters */
.bp-by { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--c-line); }
.bp-by__a { display: flex; align-items: center; gap: 10px; min-width: 0; }
.bp-by__a > span { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.bp-by__a b { font-size: 14px; color: var(--c-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bp-by__a a, .bp-by__a small { font-size: 13px; color: var(--c-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bp-by__a a:hover { color: var(--c-primary); }
.bp-stats { display: flex; flex: none; gap: 10px; color: var(--c-muted); font-size: 13px; font-weight: 600; }
.bp-stats span { display: inline-flex; align-items: center; gap: 4px; }
.bp-stats svg { width: 15px; height: 15px; }
.bp-stats .st svg { color: #E8A317; }

/* UA: порожньо / пагінація | EN: empty / the pagination */
.bp-empty { display: grid; justify-items: center; gap: 14px; padding: 48px 20px; border: 1px dashed var(--c-line-strong); border-radius: 18px; text-align: center; color: var(--c-muted); }
.bp-empty .am-ico { width: 40px; height: 40px; }
.bp-empty p { margin: 0; font-size: 16px; }
.bp-pages { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; padding-top: 6px; }
.bp-pages a, .bp-pages span { min-width: 40px; height: 40px; display: inline-grid; place-items: center; padding: 0 10px; border: 1px solid var(--c-line); border-radius: 10px; background: var(--c-surface); color: var(--c-ink); font-weight: 600; }
.bp-pages a:hover { border-color: var(--c-primary); color: var(--c-primary); }
.bp-pages a[aria-current] { background: var(--c-primary); border-color: var(--c-primary); color: var(--c-on-primary); }
.bp-pages span { border-color: transparent; background: none; color: var(--c-muted); }

/* UA: бокова колонка | EN: the side column */
.bp-side { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 90px; }
.bp-box, .bp-cta { padding: 20px; border: 1px solid var(--c-line); border-radius: 18px; background: var(--c-surface); }
.bp-box h2, .bp-cta h2 { margin: 0 0 12px; font-size: 17px; color: var(--c-ink); }
.bp-cta { background: linear-gradient(160deg, color-mix(in srgb, var(--c-primary) 12%, var(--c-surface)), var(--c-surface) 70%); }
.bp-cta .am-ico { width: 28px; height: 28px; color: var(--c-primary); margin-bottom: 8px; }
.bp-cta p { margin: 0 0 16px; color: var(--c-text-2); font-size: 14px; line-height: 1.55; }
.bp-cats, .bp-authors, .bp-mini { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.bp-cats a { display: flex; justify-content: space-between; gap: 10px; padding: 8px 10px; border-radius: 10px; color: var(--c-text); font-size: 14px; font-weight: 500; }
.bp-cats a:hover { background: var(--c-surface-2); color: var(--c-primary); }
.bp-cats span { color: var(--c-muted); font-weight: 700; font-size: 13px; }
.bp-authors a, .bp-mini a { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 12px; color: var(--c-text); }
.bp-authors a:hover, .bp-mini a:hover { background: var(--c-surface-2); }
.bp-authors a > span, .bp-mini a > span { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.bp-authors b, .bp-mini b { font-size: 14px; color: var(--c-ink); overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.bp-authors small, .bp-mini small { color: var(--c-muted); font-size: 12px; }
.bp-mini img, .bp-mini .bp-cov__ph { flex: none; width: 64px; height: 48px; border-radius: 10px; object-fit: cover; font-size: 20px; }

/* UA: пост | EN: the post */
.bp-art { min-width: 0; padding: clamp(18px, 3.5vw, 40px); border: 1px solid var(--c-line); border-radius: var(--r-xl, 22px); background: var(--c-surface); }
.bp-art__h { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 24px; }
.bp-tag { padding: 5px 12px; border-radius: 999px; background: color-mix(in srgb, var(--c-primary) 12%, transparent); color: var(--c-primary); font-size: 13px; font-weight: 700; }
.bp-art h1 { margin: 0; font-family: var(--f-display); font-size: clamp(26px, 3.6vw, 40px); line-height: 1.15; letter-spacing: -.015em; color: var(--c-ink); }
.bp-art__m { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; }
.bp-note { margin: 0 0 18px; padding: 12px 14px; border-radius: 12px; background: var(--c-surface-2); color: var(--c-text-2); font-size: 14px; }
.bp-prose { color: var(--c-text); font-size: 17px; line-height: 1.75; overflow-wrap: anywhere; }
.bp-prose > :first-child { margin-top: 0; }
.bp-prose h2, .bp-prose h3 { margin: 1.6em 0 .6em; color: var(--c-ink); line-height: 1.25; }
.bp-prose p, .bp-prose ul, .bp-prose ol { margin: 0 0 1.1em; }
.bp-prose img { max-width: 100%; height: auto; border-radius: 14px; }
.bp-prose a { color: var(--c-primary); text-decoration: underline; text-underline-offset: 3px; }
.bp-prose table { max-width: 100%; display: block; overflow-x: auto; border-collapse: collapse; }
.bp-prose td, .bp-prose th { padding: 8px 10px; border: 1px solid var(--c-line); }
.bp-prose blockquote { margin: 1.2em 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--c-primary); color: var(--c-text-2); }
.bp-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 28px 0 0; padding-top: 20px; border-top: 1px solid var(--c-line); }
.bp-share > span { margin-right: 4px; color: var(--c-muted); font-weight: 600; font-size: 14px; }
.bp-share a, .bp-share button { padding: 7px 12px; border: 1px solid var(--c-line); border-radius: 999px; background: var(--c-surface); color: var(--c-text); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.bp-share a:hover, .bp-share button:hover { border-color: var(--c-primary); color: var(--c-primary); }
.bp-org__h { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; color: var(--c-ink); }
.bp-org__h > span { display: flex; flex-direction: column; min-width: 0; }
.bp-org__h small { color: var(--c-muted); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.bp-org__h b { font-size: 17px; }
.bp-org .bp-org__logo { width: 56px; height: 56px; border-radius: 14px; font-size: 22px; }
.bp-org__t { margin: 0 0 6px; font-weight: 700; color: var(--c-ink); }
.bp-org__p { margin: 0 0 14px; color: var(--c-text-2); font-size: 14px; line-height: 1.55; }
.bp-org .am-btn + .am-btn { margin-top: 8px; }
.bp-related { display: flex; flex-direction: column; gap: 16px; }
.bp-sec { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.bp-sec h2 { margin: 0; font-size: 22px; color: var(--c-ink); }
.bp-sec a { color: var(--c-primary); font-weight: 700; }

@media (max-width: 1080px) {
  .bp-layout { grid-template-columns: minmax(0, 1fr); }
  .bp-side { position: static; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
  .bp-grid--3 { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
}
@media (max-width: 760px) {
  .bp-head { grid-template-columns: minmax(0, 1fr); }
  .bp-feat { grid-template-columns: minmax(0, 1fr); padding: 10px; }
  .bp-feat__b { padding: 4px 6px 6px; }
  .bp-owner { grid-template-columns: auto minmax(0, 1fr); padding: 18px; }
  .bp-owner .bp-owner__logo { width: 64px; height: 64px; font-size: 26px; }
  .bp-owner > .am-btn { grid-column: 1 / -1; }
  .bp-prose { font-size: 16px; }
}
@media (max-width: 420px) {
  .bp-stats span:last-child { display: none; }
}

/* UA: ---- 2026-11-13: блог порталу (редакція) ---- | EN: ---- 2026-11-13: the portal's blog (the editorial one) ---- */
.bp-chips .bp-chip--p { border-color: color-mix(in srgb, var(--c-primary) 42%, transparent); color: var(--c-primary); font-weight: 700; }
.bp-portal { margin: 0 0 26px; padding: 20px 22px 22px; border: 1px solid color-mix(in srgb, var(--c-primary) 26%, var(--c-line)); border-radius: var(--r-xl, 22px); background: color-mix(in srgb, var(--c-primary) 5%, var(--c-surface)); }
.bp-portal__h { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.bp-portal__h h2 { display: flex; align-items: center; gap: 10px; margin: 0; font-family: var(--f-display); font-size: clamp(19px, 2.4vw, 25px); line-height: 1.15; color: var(--c-ink); }
.bp-portal__h a { font-weight: 700; color: var(--c-primary); white-space: nowrap; }
.bp-pico { width: 22px; height: 22px; flex: none; border-radius: 7px; background: var(--c-primary); position: relative; }
.bp-pico::after { content: ""; position: absolute; inset: 5px; border-radius: 3px; border: 2px solid #fff; border-bottom-color: transparent; }
.bp-portal__s { margin: 6px 0 16px; color: var(--c-muted); font-size: 14.5px; max-width: 70ch; }
.bp-portal__g { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.bp-pcard { display: flex; flex-direction: column; border: 1px solid var(--c-line); border-radius: var(--r-lg, 16px); background: var(--c-surface); overflow: hidden; }
.bp-pcard .bp-cov { aspect-ratio: 16 / 9; }
.bp-pcard__b { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px 16px; }
.bp-pcard h3 { margin: 0; font-size: 16.5px; line-height: 1.3; }
.bp-pcard h3 a { color: var(--c-ink); }
.bp-pcard h3 a:hover { color: var(--c-primary); }
.bp-plabel { align-self: flex-start; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--c-primary); background: color-mix(in srgb, var(--c-primary) 12%, transparent); border-radius: 999px; padding: 3px 10px; }
.bp-badge--p { background: var(--c-primary); color: #fff; }
.bp-card.is-portal { border-color: color-mix(in srgb, var(--c-primary) 34%, var(--c-line)); }
@media (max-width: 680px) { .bp-portal { padding: 16px; } .bp-portal__h { flex-direction: column; gap: 6px; } }

/* UA: ---- 2026-11-13: особиста сторінка блогу /blog/u/<логін>/ (bu-*) ----
 * EN: ---- 2026-11-13: the personal blog page /blog/u/<login>/ (bu-*) ----
   Базова розмітка; оформлення (дизайни all_blog_style) — skin/b2b-b2c/css/blogskin/<назва>.css,
   три розкладки списку: bu--lay-grid | bu--lay-list | bu--lay-mag. */
.bu { --bu-accent: var(--c-primary); --bu-ink: var(--c-ink); --bu-card: var(--c-surface); --bu-line: var(--c-line); --bu-radius: var(--r-xl, 22px); --bu-font: inherit; }
.bu-hero { position: relative; margin: 0 0 22px; border: 1px solid var(--bu-line); border-radius: var(--bu-radius); background: var(--bu-card); background-size: cover; background-position: center; overflow: hidden; }
.bu-hero__in { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 18px 24px; padding: 26px 26px; }
.bu-hero.has-cover { border: 0; }
.bu-hero.has-cover .bu-hero__in { padding: 56px 26px 26px; color: #fff; }
.bu-hero.has-cover .bp-k, .bu-hero.has-cover .bu-who, .bu-hero.has-cover .bu-about, .bu-hero.has-cover h1 { color: #fff; }
.bu-hero .bu-ava { width: 86px; height: 86px; border-radius: 22px; font-size: 32px; }
.bu-hero h1 { margin: 4px 0 6px; font-family: var(--bu-font, var(--f-display)); font-size: clamp(24px, 3.4vw, 36px); line-height: 1.1; letter-spacing: -.01em; color: var(--bu-ink); }
.bu-who { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 0; font-weight: 700; color: var(--c-text); }
.bu-who span { font-weight: 500; color: var(--c-muted); }
.bu-about { margin: 8px 0 0; max-width: 72ch; color: var(--c-muted); line-height: 1.55; }
.bu-acts { display: flex; flex-direction: column; gap: 8px; }
.bu-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.bu-chips a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border: 1px solid var(--bu-line); border-radius: 999px; color: var(--bu-ink); font-size: 14px; font-weight: 600; background: var(--bu-card); }
.bu-chips a[aria-current], .bu-chips a:hover { border-color: var(--bu-accent); color: var(--bu-accent); }
.bu-chips span { font-size: 12px; color: var(--c-muted); }
.bu-bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 0 0 18px; }
.bu-page { color: var(--c-muted); font-size: 14px; }
.bu-list { display: grid; gap: 20px; }
.bu-item { display: flex; flex-direction: column; border: 1px solid var(--bu-line); border-radius: var(--r-lg, 16px); background: var(--bu-card); overflow: hidden; }
.bu-item h2 { margin: 0; font-family: var(--bu-font, inherit); font-size: 20px; line-height: 1.25; }
.bu-item h2 a { color: var(--bu-ink); }
.bu-item h2 a:hover { color: var(--bu-accent); }
.bu-item__b { display: flex; flex-direction: column; gap: 10px; padding: 16px 18px 18px; }
.bu-cov { aspect-ratio: 16 / 9; }
.bu-more { align-self: flex-start; font-weight: 700; color: var(--bu-accent); }
.bu-item.is-portal { border-color: color-mix(in srgb, var(--bu-accent) 36%, var(--bu-line)); }
/* UA: розкладки | EN: the layouts */
.bu--lay-grid .bu-list { grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.bu--lay-list .bu-list { grid-template-columns: 1fr; gap: 14px; }
.bu--lay-list .bu-item { flex-direction: row; align-items: stretch; }
.bu--lay-list .bu-cov { flex: none; width: 240px; aspect-ratio: 4 / 3; }
.bu--lay-list .bu-item__b { flex: 1; }
.bu--lay-mag .bu-list { grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.bu--lay-mag .bu-item:first-child { grid-column: 1 / -1; flex-direction: row; }
.bu--lay-mag .bu-item:first-child .bu-cov { flex: none; width: 52%; aspect-ratio: auto; }
.bu--lay-mag .bu-item:first-child h2 { font-size: clamp(22px, 2.8vw, 32px); }
.bu--lay-mag .bu-item:first-child .bu-item__b { justify-content: center; padding: 26px 28px; }
@media (max-width: 860px) {
  .bu-hero__in { grid-template-columns: auto minmax(0, 1fr); }
  .bu-acts { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; }
  .bu--lay-list .bu-cov, .bu--lay-mag .bu-item:first-child .bu-cov { width: 160px; }
}
@media (max-width: 560px) {
  .bu-hero__in { grid-template-columns: 1fr; padding: 18px; }
  .bu-hero .bu-ava { width: 64px; height: 64px; border-radius: 18px; font-size: 24px; }
  .bu--lay-list .bu-item, .bu--lay-mag .bu-item:first-child { flex-direction: column; }
  .bu--lay-list .bu-cov, .bu--lay-mag .bu-item:first-child .bu-cov { width: 100%; aspect-ratio: 16 / 9; }
}
.bp-tag--p { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }
.bp-art.is-portal .bp-art__h { border-left: 3px solid var(--c-primary); padding-left: 16px; }

/* UA: ---- 2026-11-13: правки верстки ---- | EN: ---- 2026-11-13: the layout fixes ---- */
/* UA: роздільник у метарядку — псевдоелементом, щоб крапка не зависала в кінці рядка при переносі | EN: the separator in the meta line is a pseudo-element, so the dot does not hang at the end of the line when it wraps */
.bp-meta > *:not(:first-child)::before { content: "·"; margin-right: 10px; opacity: .55; }
.bp-meta i { display: none; }
/* UA: чипи рубрик: на широких екранах переносимо рядок, а не ховаємо хвіст за краєм вікна | EN: the rubric chips: on wide screens we wrap the line rather than hide its tail past the window's edge */
@media (min-width: 861px) { .bp-chips { flex-wrap: wrap; overflow: visible; margin: 0; padding: 2px 0; } }
/* UA: головний пост: текстова колонка не вужча за обкладинку | EN: the main post: the text column is no narrower than the cover */
.bp-feat { grid-template-columns: 1fr 1.1fr; }
/* UA: особиста сторінка: вертикальні відступи дає gap контейнера .bp, власні margin зайві | EN: the personal page: the vertical spacing comes from the .bp container's gap, so its own margins are unnecessary */
.bu-hero, .bu-chips, .bu-bar { margin-bottom: 0; }
/* UA: лічильники в форматі «публікацій: 3» — перша літера з великої | EN: the counters in the "publications: 3" form — the first letter capitalized */
.bu-who span, .bp-owner__n span, .bp-authors small, .bp-mini small { display: inline-block; }
.bu-who span::first-letter, .bp-owner__n span::first-letter, .bp-authors small::first-letter { text-transform: uppercase; }

/* ===== UA: головна сайту новин natsiya.com (template/b2b-b2c/index.htm) =====
   EN: the home page of the natsiya.com news site (template/b2b-b2c/index.htm) */
.nt-hero { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.nt-hero__main { margin: 0; }
.nt-lead { display: flex; flex-direction: column; gap: 14px; }
.nt-lead__i { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--c-line); }
.nt-lead__i:last-child { padding-bottom: 0; border-bottom: 0; }
.nt-lead__cov { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3; border-radius: 12px; background: var(--c-surface-2); }
.nt-lead__cov img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nt-lead__cov .bp-cov__ph { font-size: 26px; }
.nt-lead__b { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.nt-lead__k { align-self: start; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--c-primary); }
.nt-lead__b h3 { margin: 0; font-size: 16px; line-height: 1.35; letter-spacing: -.01em; }
.nt-lead__b h3 a { color: var(--c-ink); }
.nt-lead__b h3 a:hover { color: var(--c-primary); }

.nt-sec { display: flex; align-items: baseline; justify-content: space-between; gap: 12px 20px; margin: 0 0 16px; }
.nt-sec h2 { margin: 0; font-family: var(--f-display); font-size: clamp(20px, 2.4vw, 26px); line-height: 1.2; color: var(--c-ink); }
.nt-sec a { flex: none; font-size: 14px; font-weight: 700; color: var(--c-primary); }

.nt-ad { display: flex; justify-content: center; align-items: center; min-height: 60px; padding: 8px; border: 1px dashed var(--c-line); border-radius: 14px; background: var(--c-surface-2); overflow: hidden; }
.nt-ad img { max-width: 100%; height: auto; }
.nt-ad--v { min-height: 120px; }

.nt-list { margin: 0; padding: 0; list-style: none; counter-reset: nt; display: flex; flex-direction: column; }
.nt-list li { counter-increment: nt; border-top: 1px solid var(--c-line); }
.nt-list li:first-child { border-top: 0; }
.nt-list a { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; padding: 11px 0; }
.nt-list a::before { content: counter(nt); font-family: var(--f-display); font-size: 16px; font-weight: 700; color: color-mix(in srgb, var(--c-primary) 55%, var(--c-muted)); line-height: 1.4; }
.nt-list b { display: block; font-size: 15px; font-weight: 650; line-height: 1.35; color: var(--c-ink); }
.nt-list a:hover b { color: var(--c-primary); }
.nt-list small { display: block; margin-top: 3px; font-size: 12.5px; color: var(--c-muted); }

@media (max-width: 1000px) {
  .nt-hero { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .nt-lead__i { grid-template-columns: 84px minmax(0, 1fr); }
  .nt-lead__b h3 { font-size: 15px; }
}
