/* ==========================================================================
   BRINKO Modern — шар стилів поверх Blocksy
   Чорний, білий і фірмовий червоний; Source Serif 4 для тексту й заголовків,
   Golos Text для навігації та службових підписів. Усе вирівняно по лівому краю.
   ========================================================================== */

:root {
	--bm-ink: #111111;
	--bm-ink-2: #2b2b2b;
	--bm-muted: #6a6a6a;
	--bm-line: #e4e1dc;
	--bm-line-strong: #111111;
	--bm-paper: #ffffff;
	--bm-soft: #f5f3ef;
	--bm-red: #d12b22;
	--bm-red-dark: #a3150f;
	--bm-serif: "Source Serif 4", "Source Serif Pro", Georgia, "Times New Roman", serif;
	--bm-sans: "Golos Text", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
	--bm-wrap: 1240px;
	--bm-gutter: 24px;
	--bm-radius: 2px;

	/* змінні Blocksy */
	--theme-font-family: var(--bm-sans);
	--theme-text-color: var(--bm-ink-2);
	--theme-headings-color: var(--bm-ink);
	--theme-link-hover-color: var(--bm-red);
}

/* ---------- База ---------- */
html body.bm {
	font-family: var(--bm-sans);
	color: var(--bm-ink-2);
	background: var(--bm-paper);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
body.bm h1, body.bm h2, body.bm h3, body.bm h4, body.bm h5, body.bm h6 {
	font-family: var(--bm-serif);
	color: var(--bm-ink);
	letter-spacing: -0.01em;
	text-wrap: balance;
}
body.bm a { text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
body.bm :focus-visible { outline: 2px solid var(--bm-red); outline-offset: 2px; }

.bm-wrap {
	max-width: var(--bm-wrap);
	margin-inline: auto;
	padding-inline: var(--bm-gutter);
	box-sizing: content-box;
}

.bm-icon { flex: none; }

/* ---------- Верхня смуга ---------- */
.bm-topbar {
	background: var(--bm-ink);
	color: #d9d9d9;
	font: 500 13px/1 var(--bm-sans);
}
.bm-topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 36px;
}
.bm-topbar__date::first-letter { text-transform: uppercase; }
.bm-topbar__links { display: flex; align-items: center; gap: 20px; }
.bm-topbar a { color: #fff; text-decoration: none; }
.bm-topbar a:hover { color: #fff; text-decoration: underline; }
.bm-topbar__tg { display: inline-flex; align-items: center; gap: 6px; }
.bm-topbar__tg .bm-icon { color: #4fb4ec; }

/* ---------- Шапка Blocksy ---------- */
html body.bm #header [data-row="middle"] {
	border-bottom: 1px solid var(--bm-line-strong);
}
html body.bm #header [data-row="middle"] > .ct-container { min-height: 76px; }
html body.bm #header .site-logo-container {
	--logo-max-height: 48px !important;
}
html body.bm #header .site-logo-container img,
html body.bm header#site-header img {
	max-height: 48px !important;
	width: auto !important;
	height: 48px !important;
}
html body.bm .ct-header .menu > li > a {
	font-family: var(--bm-sans);
	font-size: 15px;
	font-weight: 600;
	text-transform: none;
	letter-spacing: 0;
	color: var(--bm-ink);
	padding: 12px 12px;
}
html body.bm .ct-header .menu > li > a::after {
	left: 12px;
	bottom: 4px;
	height: 3px;
	background-color: var(--bm-red);
}
html body.bm .ct-header .menu > li > a:hover::after,
html body.bm .ct-header .menu > li.current-menu-item > a::after,
html body.bm .ct-header .menu > li.current-menu-ancestor > a::after {
	width: calc(100% - 24px);
}
html body.bm .ct-header .menu > li > a:hover { color: var(--bm-ink); }
html body.bm .ct-header .sub-menu {
	font-family: var(--bm-sans);
	border-top: 3px solid var(--bm-red);
	box-shadow: 0 12px 32px rgba(0, 0, 0, .12);
}
html body.bm .ct-header .sub-menu a { font-size: 14px; font-weight: 500; }

/* старий кастомний CSS зсував пункти-сторінки меню («Вся стрічка») */
html body.bm .menu-item-object-page.menu-item { padding-left: 0; }

/* ---------- Мітки, мета, кнопки ---------- */
.bm-kicker-row { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.bm-kicker {
	font: 700 12px/1.2 var(--bm-sans);
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--bm-red);
	text-decoration: none;
}
a.bm-kicker:hover { color: var(--bm-red-dark); text-decoration: underline; }
.bm-lang {
	font: 700 10px/1 var(--bm-sans);
	letter-spacing: .06em;
	color: var(--bm-muted);
	border: 1px solid currentColor;
	border-radius: var(--bm-radius);
	padding: 2px 4px;
}
.bm-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 14px;
	font: 400 13px/1.3 var(--bm-sans);
	color: var(--bm-muted);
}
.bm-label {
	font: 700 13px/1 var(--bm-sans) !important;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--bm-ink) !important;
	margin: 0 0 4px;
	padding-bottom: 12px;
	border-bottom: 3px solid var(--bm-ink);
}
.bm-more {
	display: inline-block;
	font: 600 14px/1.2 var(--bm-sans);
	color: var(--bm-red);
	text-decoration: none;
}
.bm-more:hover { color: var(--bm-red-dark); text-decoration: underline; }
.bm-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 20px;
	font: 600 15px/1 var(--bm-sans);
	text-decoration: none !important;
	border-radius: var(--bm-radius);
	white-space: nowrap;
	transition: background-color .15s ease;
}
.bm-btn--tg { background: var(--bm-red); color: #fff !important; }
.bm-btn--tg:hover { background: var(--bm-red-dark); }

/* ---------- Картки ---------- */
.bm-card { position: relative; }
.bm-card__title { margin: 0; font-weight: 600; line-height: 1.2; }
.bm-card__title a { color: inherit; text-decoration: none; }
.bm-card__title a:hover { text-decoration: underline; text-decoration-color: var(--bm-red); }
.bm-card__excerpt {
	margin: 10px 0 12px;
	font: 400 17px/1.55 var(--bm-serif);
	color: var(--bm-ink-2);
}
.bm-card__media { display: block; }
.bm-thumb {
	display: block;
	overflow: hidden;
	background: var(--bm-soft);
	aspect-ratio: 3 / 2;
}
.bm-thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .4s ease;
}
.bm-card:hover .bm-thumb img { transform: scale(1.02); }
.bm-thumb--empty {
	background: var(--bm-soft) linear-gradient(135deg, transparent 49.5%, var(--bm-line) 49.5%, var(--bm-line) 50.5%, transparent 50.5%);
}

.bm-card--lead .bm-thumb { aspect-ratio: 16 / 9; }
.bm-card--lead .bm-card__body { padding-top: 18px; }
.bm-card--lead .bm-card__title {
	font-size: clamp(28px, 3.1vw, 44px);
	line-height: 1.1;
	font-weight: 700;
	letter-spacing: -0.015em;
}
.bm-card--lead .bm-card__excerpt { font-size: 19px; max-width: 62ch; }

.bm-card--feature .bm-card__body { padding-top: 14px; }
.bm-card--feature .bm-card__title { font-size: clamp(22px, 2vw, 27px); line-height: 1.15; font-weight: 700; }

.bm-card--compact {
	display: grid;
	grid-template-columns: 1fr 120px;
	gap: 16px;
	padding: 16px 0;
	border-top: 1px solid var(--bm-line);
}
.bm-card--compact:first-child { border-top: 0; padding-top: 0; }
.bm-card--compact .bm-card__title { font-size: 18px; margin-bottom: 6px; }
.bm-card--compact .bm-thumb { aspect-ratio: 1 / 1; }

.bm-card--line {
	display: grid;
	grid-template-columns: 52px 1fr;
	gap: 12px;
	padding: 14px 0;
	border-top: 1px solid var(--bm-line);
}
.bm-card--line:first-child { border-top: 0; }
.bm-card--line .bm-meta { font-weight: 600; color: var(--bm-red); padding-top: 2px; }
.bm-card--line .bm-kicker-row { margin-bottom: 4px; }
.bm-card--line .bm-kicker { color: var(--bm-muted); font-size: 11px; }
.bm-card--line .bm-card__title { font-size: 18px; line-height: 1.25; }

.bm-card--row {
	display: grid;
	grid-template-columns: 96px 1fr;
	gap: 16px;
	align-items: start;
	padding: 16px 0;
	border-top: 1px solid var(--bm-line);
}
.bm-card--row .bm-thumb { aspect-ratio: 1 / 1; }
.bm-card--row .bm-card__title { font-size: 18px; margin-bottom: 6px; }
.bm-card--row .bm-kicker-row { margin-bottom: 4px; }

/* ---------- Головна ---------- */
.bm-home-main { padding: 0 0 56px; }

.bm-strap {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 6px 24px;
	padding: 18px 0 18px;
	margin-bottom: 28px;
	border-bottom: 1px solid var(--bm-line);
}
html body.bm .bm-strap__title {
	margin: 0;
	font: 600 15px/1.3 var(--bm-sans);
	letter-spacing: .02em;
	color: var(--bm-ink);
}
.bm-strap__link { font: 500 14px/1.3 var(--bm-sans); color: var(--bm-muted); text-decoration: none; }
.bm-strap__link:hover { color: var(--bm-red); text-decoration: underline; }

.bm-lead {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
	gap: 40px;
	padding-bottom: 48px;
}
.bm-lead__side {
	border-left: 1px solid var(--bm-line);
	padding-left: 32px;
}
.bm-latest { margin-bottom: 16px; }

.bm-section {
	padding: 0 0 48px;
}
.bm-section__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	border-top: 3px solid var(--bm-ink);
	padding-top: 14px;
	margin-bottom: 24px;
}
html body.bm .bm-section__title {
	margin: 0;
	font: 700 26px/1.1 var(--bm-sans);
	letter-spacing: -0.01em;
}
.bm-section__title a { color: var(--bm-ink); text-decoration: none; }
.bm-section__title a:hover { color: var(--bm-red); }
.bm-section__title::before {
	content: "";
	display: inline-block;
	width: 10px;
	height: 10px;
	margin-right: 10px;
	background: var(--bm-red);
	vertical-align: 0.12em;
}
.bm-section__all { font: 600 14px/1.2 var(--bm-sans); color: var(--bm-red); text-decoration: none; white-space: nowrap; }
.bm-section__all:hover { text-decoration: underline; }
.bm-section__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
	gap: 40px;
}
.bm-rows {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 40px;
}
.bm-rows .bm-card--row:nth-child(-n+2) { border-top: 0; padding-top: 0; }

/* ---------- Плашка Telegram ---------- */
.bm-subscribe {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px 40px;
	background: var(--bm-ink);
	color: #e8e8e8;
	padding: 32px 40px;
	margin: 0 0 56px;
	border-left: 6px solid var(--bm-red);
}
.bm-subscribe p { margin: 0; }
html body.bm .bm-subscribe__title {
	font: 700 26px/1.15 var(--bm-serif);
	color: #fff;
	margin-bottom: 8px;
}
.bm-subscribe__lead { font: 400 16px/1.5 var(--bm-sans); max-width: 60ch; }
.bm-subscribe--inline {
	margin: 48px 0 8px;
	padding: 24px 28px;
}
html body.bm .bm-subscribe--inline .bm-subscribe__title { font-size: 21px; }

/* ---------- Маніфест «NE МОВЧИ» ---------- */
.bm-manifest {
	display: grid;
	grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
	gap: 48px;
	align-items: center;
	background: var(--bm-ink);
	color: #e8e8e8;
	margin: 0 0 56px;
	padding: 40px;
}
.bm-manifest__poster { margin: 0; }
.bm-manifest__poster img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; }
html body.bm .bm-manifest__label {
	color: #a9a9a9 !important;
	border-bottom-color: var(--bm-red);
	display: inline-block;
	margin-bottom: 20px;
}
html body.bm .bm-manifest__title {
	font: 800 clamp(40px, 5vw, 64px)/1 var(--bm-sans);
	letter-spacing: -0.02em;
	text-transform: uppercase;
	color: #fff;
	margin: 0 0 24px;
}
html body.bm .bm-manifest__quote {
	margin: 0 0 28px;
	padding: 0 0 0 20px;
	border-left: 4px solid var(--bm-red);
	font: italic 400 22px/1.5 var(--bm-serif);
	color: #f2f2f2;
}
.bm-manifest__quote p { margin: 0 0 10px; }
.bm-manifest__quote p[lang="en"] { font-size: 17px; color: #a9a9a9; }
.bm-btn--outline { border: 1px solid #fff; color: #fff !important; }
.bm-btn--outline:hover { background: #fff; color: var(--bm-ink) !important; }
@media (max-width: 860px) {
	.bm-manifest { grid-template-columns: 1fr; gap: 24px; padding: 0 0 28px; }
	.bm-manifest__text { padding: 0 20px; }
	html body.bm .bm-manifest__quote { font-size: 19px; }
}

/* ---------- «Зараз популярно» (Blocksy Companion) ---------- */
html body.bm .ct-trending-block {
	background: var(--bm-soft);
	border-top: 1px solid var(--bm-line);
	padding: 32px 0;
}
html body.bm .ct-trending-block .ct-module-title {
	display: flex;
	align-items: center;
	gap: 10px;
	font: 700 13px/1 var(--bm-sans);
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--bm-ink);
	margin-bottom: 20px;
}
html body.bm .ct-trending-block .ct-module-title svg { color: var(--bm-red); }
/* лише одна рубрика, як у картках головної */
html body.bm .ct-trending-block .entry-meta {
	border-left: 0;
	padding-left: 0;
	margin-bottom: 6px;
	font-family: var(--bm-sans);
}
html body.bm .ct-trending-block .entry-meta .meta-categories {
	display: block;
	font-size: 0; /* ховає текстові роздільники « / » між рубриками */
}
html body.bm .ct-trending-block .entry-meta .meta-categories a {
	font: 700 11px/1.3 var(--bm-sans) !important;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--bm-red) !important;
	border: 0 !important;
	text-decoration: none;
	padding: 0;
}
html body.bm .ct-trending-block .entry-meta .meta-categories a:not(:first-child),
html body.bm .ct-trending-block .entry-meta .meta-categories a ~ *,
html body.bm .ct-trending-block .entry-meta .meta-categories .ct-meta-separator { display: none; }
html body.bm .ct-trending-block .ct-trending-block-item-content > a,
html body.bm .ct-trending-block .ct-trending-block-item-content .ct-post-title {
	font: 600 16px/1.3 var(--bm-serif);
	color: var(--bm-ink);
	text-transform: none;
}
html body.bm .ct-trending-block .ct-post-title,
html body.bm .ct-trending-block a {
	font-family: var(--bm-serif);
	font-weight: 600;
	color: var(--bm-ink);
}

/* ---------- Стаття ---------- */
body.bm.single-post .hero-section { padding-top: 40px; }
@media (max-width: 600px) { body.bm.single-post .hero-section { padding-top: 24px; } }
body.bm.single-post .hero-section .entry-header {
	text-align: left;
	align-items: flex-start;
}
html body.bm .hero-section .page-title,
html body.bm .entry-header .page-title {
	font-family: var(--bm-serif);
	font-size: clamp(30px, 4vw, 48px);
	line-height: 1.1;
	font-weight: 700;
	letter-spacing: -0.015em;
	text-align: left;
	color: var(--bm-ink);
	max-width: 22em;
	margin: 0 0 16px;
	padding: 0;
	border: 0;
}
html body.bm .entry-header .entry-meta {
	font-family: var(--bm-sans);
	font-size: 14px;
	text-transform: none;
	letter-spacing: 0;
	color: var(--bm-muted);
	border-left: 0;
	padding-left: 0;
}
html body.bm .entry-header .entry-meta .meta-categories a {
	color: var(--bm-red);
	font-weight: 600;
	text-decoration: none;
}
html body.bm .entry-header .entry-meta .meta-author a { color: var(--bm-ink); font-weight: 600; }
html body.bm .ct-breadcrumbs { font: 400 13px/1.4 var(--bm-sans); color: var(--bm-muted); text-transform: none; }
html body.bm .ct-breadcrumbs a { color: var(--bm-muted); text-decoration: none; }
html body.bm .ct-breadcrumbs a:hover { color: var(--bm-red); }
html body.bm.archive .hero-section[data-type="type-2"] { margin-bottom: 32px; }

body.bm.single-post .entry-content {
	font-family: var(--bm-serif);
	font-size: 20px;
	line-height: 1.7;
	color: var(--bm-ink-2);
}
body.bm.single-post .entry-content > *,
body.bm.single-post .entry-content .bm-prose > * {
	max-width: 680px;
}
html body.bm .entry-content p {
	font-size: inherit;
	line-height: inherit;
	margin: 0 0 1.05em;
}
html body.bm .entry-content .bm-prose p.bm-strong { margin-top: 1.6em; }
html body.bm .entry-content .bm-prose p.bm-strong strong { font-weight: 700; color: var(--bm-ink); }
html body.bm .entry-content h2 { font-size: 30px; line-height: 1.2; margin: 1.6em 0 .6em; }
html body.bm .entry-content h3 { font-size: 24px; line-height: 1.25; margin: 1.4em 0 .5em; }
html body.bm .entry-content a { color: var(--bm-red-dark); }
html body.bm .entry-content blockquote,
html body.bm .entry-content .wp-block-quote {
	border-left: 3px solid var(--bm-red);
	padding-left: 24px;
	margin: 1.6em 0;
	font-style: italic;
}

/* Преформатований текст поза статтею (стрічки, віджети) — без моноширинного шрифту. */
html body.bm .wp-block-preformatted,
html body.bm .entry-content pre.wp-block-preformatted {
	font-family: var(--bm-serif);
	font-size: inherit;
	line-height: 1.7;
	white-space: pre-wrap;
	word-break: normal;
	overflow-wrap: anywhere;
	background: none;
	border: 0;
	padding: 0;
	color: inherit;
}

/* Вірші: зберігаємо рядки, але друкарським шрифтом, а не «кодом». */
html body.bm .wp-block-verse {
	font-family: var(--bm-serif);
	font-size: 20px;
	line-height: 1.75;
	white-space: pre-wrap;
	overflow-wrap: anywhere;
	background: none;
	border: 0;
	padding: 0;
	color: inherit;
}

html body.bm .ct-featured-image img { border-radius: 0; }
html body.bm .ct-featured-image figcaption { font: 400 13px/1.4 var(--bm-sans); color: var(--bm-muted); text-align: left; }

html body.bm .ct-share-box,
html body.bm .post-navigation,
html body.bm .ct-related-posts { font-family: var(--bm-sans); }
html body.bm .ct-related-posts .ct-module-title,
html body.bm .ct-related-posts-label {
	font: 700 13px/1 var(--bm-sans);
	letter-spacing: .08em;
	text-transform: uppercase;
	text-align: left;
	border-top: 3px solid var(--bm-ink);
	padding-top: 14px;
}
html body.bm .ct-related-posts .related-entry-title {
	font-family: var(--bm-serif);
	font-size: 19px;
	line-height: 1.25;
	font-weight: 600;
}

/* ---------- Рубрики й архіви ---------- */
html body.bm .archive-title,
html body.bm .category-title,
html body.bm.archive .page-title,
html body.bm.search .page-title,
html body.bm.blog .page-title {
	font-family: var(--bm-sans);
	font-size: clamp(30px, 4vw, 44px);
	font-weight: 700;
	text-align: left;
	margin: 24px 0 8px;
	padding: 14px 0 0;
	border-bottom: 0;
	border-top: 3px solid var(--bm-ink);
}
body.bm.archive .hero-section .entry-header { text-align: left; align-items: flex-start; }

html body.bm .entries[data-cards="boxed"] .entry-card {
	box-shadow: none;
	border-radius: 0;
	background: transparent;
	padding: 0;
}
html body.bm .entries .entry-card {
	border-bottom: 1px solid var(--bm-line);
	padding-bottom: 28px;
}
html body.bm .entries[data-layout="simple"] .entry-card {
	display: grid;
	grid-template-columns: minmax(0, 320px) 1fr;
	gap: 28px;
	align-items: start;
}
html body.bm .entries[data-layout="simple"] .entry-card .ct-media-container {
	margin: 0;
	width: 100% !important;
	max-width: none !important;
}
html body.bm .entries[data-layout="simple"] .entry-card .ct-media-container img { width: 100% !important; height: auto; }
/* шапка рубрики: на всю ширину контейнера, без сірої плашки */
html body.bm.archive .hero-section[data-type="type-2"] {
	background: transparent !important;
	padding: 0;
}
html body.bm.archive .hero-section[data-type="type-2"] .entry-header {
	max-width: var(--theme-normal-container-max-width, 1290px) !important;
	width: calc(100% - 2 * var(--bm-gutter));
	margin-inline: auto;
	padding: 24px 0 8px;
}
html body.bm .entries[data-layout="simple"] .entry-card .ct-media-container img { aspect-ratio: 3 / 2 !important; object-fit: cover; }
html body.bm .entries .entry-card .entry-title {
	font-family: var(--bm-serif);
	font-size: clamp(21px, 2vw, 26px);
	line-height: 1.2;
	font-weight: 700;
	text-align: left;
}
html body.bm .entries .entry-card .entry-title a { text-decoration: none; color: var(--bm-ink); }
html body.bm .entries .entry-card .entry-title a:hover { text-decoration: underline; text-decoration-color: var(--bm-red); }
html body.bm .entries .entry-card .entry-excerpt { font: 400 17px/1.55 var(--bm-serif); color: var(--bm-ink-2); }
html body.bm .entries .entry-card .entry-meta {
	font: 400 13px/1.3 var(--bm-sans);
	text-transform: none;
	letter-spacing: 0;
	border-left: 0;
	padding-left: 0;
	color: var(--bm-muted);
}
html body.bm .entries .entry-card .entry-meta .meta-categories a {
	color: var(--bm-red);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .06em;
	font-size: 12px;
}
html body.bm .entries .entry-card .entry-button,
html body.bm .more-link {
	font-family: var(--bm-sans);
	text-transform: none;
	letter-spacing: 0;
}

/* ---------- Футер ---------- */
html body.bm #footer [data-row="middle"] { display: none; }
html body.bm #footer [data-row="top"],
html body.bm #footer [data-row="bottom"] {
	background: var(--bm-ink);
	color: #bdbdbd;
}
html body.bm #footer [data-row="top"] > .ct-container {
	grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) auto;
	gap: 48px;
	padding-top: 48px;
	padding-bottom: 40px;
	align-items: start;
}
html body.bm #footer [data-row="bottom"] > .ct-container {
	border-top: 1px solid #2c2c2c;
	padding-top: 20px;
	padding-bottom: 24px;
}
html body.bm #footer .ct-footer-copyright,
html body.bm #footer .ct-footer-copyright p {
	font: 400 13px/1.55 var(--bm-sans);
	color: #8f8f8f;
	text-align: left;
	max-width: 900px;
}
html body.bm #footer a { color: #fff; }
.bm-foot-brand__name {
	font: 800 28px/1 var(--bm-sans);
	letter-spacing: .02em;
	color: #fff;
	margin: 0 0 6px;
}
.bm-foot-brand__name::after { content: ""; display: inline-block; width: 7px; height: 22px; margin-left: 6px; background: var(--bm-red); vertical-align: -1px; }
.bm-foot-brand__tagline { font: 500 14px/1.4 var(--bm-sans); color: #bdbdbd; margin: 0 0 20px; }
html body.bm .bm-manifest-quote {
	margin: 0 0 16px;
	padding: 0 0 0 16px;
	border-left: 3px solid var(--bm-red);
	font: italic 400 18px/1.5 var(--bm-serif);
	color: #f2f2f2;
}
.bm-manifest-quote p { margin: 0 0 8px; }
.bm-manifest-quote p[lang="en"] { font-size: 15px; color: #a9a9a9; }
html body.bm #footer .bm-more { color: #ff6b62; }
.bm-foot-title {
	font: 700 12px/1 var(--bm-sans);
	letter-spacing: .1em;
	text-transform: uppercase;
	color: #8f8f8f;
	margin: 4px 0 14px;
}
.bm-foot-nav ul { list-style: none; margin: 0 0 24px; padding: 0; columns: 2; column-gap: 24px; }
.bm-foot-nav li { margin: 0 0 10px; break-inside: avoid; }
html body.bm #footer .bm-foot-nav a { font: 500 15px/1.3 var(--bm-sans); color: #fff; text-decoration: none; }
html body.bm #footer .bm-foot-nav a:hover { text-decoration: underline; }
/* Соцмережі: 6 іконок рівною сіткою 3×2 — і на ПК, і на телефоні */
html body.bm #footer .ct-footer-socials .ct-social-box {
	display: grid !important;
	grid-template-columns: repeat(3, max-content);
	gap: 8px !important;
	max-width: none;
	justify-content: start;
}
html body.bm #footer .ct-footer-socials .ct-social-box > a { margin: 0 !important; }
html body.bm #footer [data-column="socials"] { align-self: start; }

/* ---------- Cookie ---------- */
html body.bm .cookie-notification {
	font: 400 14px/1.4 var(--bm-sans);
	max-width: none;
}
html body.bm .cookie-notification .ct-cookies-content { font-size: 14px; color: var(--bm-ink-2); }
html body.bm .cookie-notification { border-top: 3px solid var(--bm-red); border-radius: 0; }
html body.bm .cookie-notification .ct-button,
html body.bm .cookie-notification .ct-cookies-accept-button {
	background: var(--bm-ink) !important;
	color: #fff !important;
	border-radius: var(--bm-radius);
	font-family: var(--bm-sans);
	font-weight: 600;
}
html body.bm .cookie-notification .ct-cookies-decline-button {
	background: transparent !important;
	color: var(--bm-ink) !important;
	border: 1px solid var(--bm-line) !important;
	border-radius: var(--bm-radius);
	font-family: var(--bm-sans);
}
html body.bm .cookie-notification[data-type="type-1"] .ct-container {
	padding-top: 12px;
	padding-bottom: 12px;
}

/* ---------- Адаптив ---------- */
@media (max-width: 1100px) {
	.bm-lead { gap: 28px; }
	.bm-lead__side { padding-left: 24px; }
	.bm-section__grid { gap: 28px; }
}

@media (max-width: 860px) {
	:root { --bm-gutter: 16px; }
	.bm-lead,
	.bm-section__grid { grid-template-columns: 1fr; }
	.bm-lead__side { border-left: 0; padding-left: 0; }
	.bm-rows { grid-template-columns: 1fr; }
	.bm-rows .bm-card--row:nth-child(2) { border-top: 1px solid var(--bm-line); padding-top: 16px; }
	.bm-subscribe { flex-direction: column; align-items: flex-start; padding: 24px 20px; }
	html body.bm #footer [data-row="top"] > .ct-container { grid-template-columns: 1fr; gap: 32px; padding-top: 36px; }
	/* соцмережі на телефоні — по лівому краю, як решта футера */
	html body.bm #footer [data-column="socials"],
	html body.bm #footer .ct-footer-socials {
		justify-content: flex-start !important;
		justify-items: start !important;
		align-items: flex-start !important;
		text-align: left;
		margin-left: 0;
	}
	html body.bm .entries[data-layout="simple"] .entry-card { grid-template-columns: 1fr; gap: 14px; }
}

@media (max-width: 600px) {
	.bm-topbar__date { display: none; }
	.bm-topbar__inner { justify-content: flex-end; }
	html body.bm #header .site-logo-container img { height: 36px !important; max-height: 36px !important; }
	html body.bm #header [data-row="middle"] > .ct-container { min-height: 60px; }
	.bm-strap { padding: 12px 0; margin-bottom: 18px; }
	html body.bm .bm-strap__title { font-size: 13px; }
	.bm-strap__link { font-size: 13px; }
	.bm-card--lead .bm-card__excerpt,
	.bm-card--feature .bm-card__excerpt {
		font-size: 17px;
		display: -webkit-box;
		-webkit-line-clamp: 3;
		-webkit-box-orient: vertical;
		overflow: hidden;
	}
	.bm-card--compact { grid-template-columns: 1fr 88px; gap: 12px; }
	.bm-card--compact .bm-card__title,
	.bm-card--line .bm-card__title,
	.bm-card--row .bm-card__title { font-size: 17px; }
	.bm-card--row { grid-template-columns: 72px 1fr; gap: 12px; }
	.bm-section { padding-bottom: 36px; }
	html body.bm .bm-section__title { font-size: 22px; }
	body.bm.single-post .entry-content { font-size: 18px; }
	html body.bm .wp-block-verse { font-size: 18px; }
	html body.bm .cookie-notification[data-type="type-1"] .ct-container { flex-direction: row; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
	.bm-thumb img { transition: none; }
	.bm-card:hover .bm-thumb img { transform: none; }
}
