/* =========================================================================
   BrokerInsights
   Заголовки и абзацы не получают собственных классов — оформление задаётся
   через контейнеры.
   ====================================================================== */

:root {
	--ink: #101a17;
	--ink-2: #33433d;
	--muted: #66776f;
	--faint: #8b9a93;

	--brand: #16855c;
	--brand-dark: #0f6344;
	--brand-soft: #e7f4ee;

	--good: #16855c;
	--warn: #b06d00;
	--bad: #c02f2f;

	--bg: #f4f7f5;
	--surface: #ffffff;
	--line: #e0e8e4;
	--line-soft: #eef3f0;

	--radius: 14px;
	--radius-sm: 9px;
	--shadow: 0 1px 2px rgba(16, 26, 23, .05), 0 8px 24px -12px rgba(16, 26, 23, .16);
	--shadow-lg: 0 2px 4px rgba(16, 26, 23, .05), 0 18px 46px -18px rgba(16, 26, 23, .28);

	--wrap: 1200px;
	--gutter: 20px;

	--sans: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img,
svg,
video {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--brand-dark);
	text-decoration-color: color-mix(in srgb, var(--brand) 35%, transparent);
	text-underline-offset: 3px;
}

a:hover {
	color: var(--brand);
}

button,
input,
select,
textarea {
	font: inherit;
	color: inherit;
}

:focus-visible {
	outline: 2px solid var(--brand);
	outline-offset: 2px;
	border-radius: 4px;
}

.wrap {
	width: 100%;
	max-width: var(--wrap);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 100;
	background: var(--surface);
	padding: 12px 18px;
	border-radius: 0 0 var(--radius-sm) 0;
	box-shadow: var(--shadow);
}

.skip-link:focus {
	left: 0;
}

.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

/* ---------------------------------------------------------------- Шапка */

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(10, 45, 33, .96);
	backdrop-filter: saturate(1.6) blur(12px);
	border-bottom: 1px solid rgba(255, 255, 255, .1);
	color: #fff;
	transition: background .18s ease, border-color .18s ease;
}

/* При открытом поиске светлеет вся шапка, а не только полоса внутри
   контейнера — иначе по краям широкого экрана остаётся зелёный фон. */
.site-header.is-searching {
	background: var(--surface);
	border-bottom-color: var(--line);
}

.site-header > .wrap {
	position: relative;
	display: flex;
	align-items: center;
	gap: 18px;
	min-height: 70px;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-weight: 700;
	font-size: 1.12rem;
	letter-spacing: -.015em;
	color: #fff;
	text-decoration: none;
	flex: 0 0 auto;
}

.brand:hover {
	color: rgba(255, 255, 255, .82);
}

.brand img {
	max-height: 38px;
	width: auto;
	flex: 0 0 auto;
}

.brand span {
	white-space: nowrap;
}

/* Кнопки-иконки: лупа, бургер, закрытие */

.icon-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	flex: 0 0 auto;
	background: rgba(255, 255, 255, .1);
	border: 1px solid rgba(255, 255, 255, .2);
	border-radius: var(--radius-sm);
	color: #fff;
	cursor: pointer;
}

.icon-btn:hover {
	background: rgba(255, 255, 255, .2);
}

.site-nav {
	margin-left: auto;
	/* На всю высоту шапки, чтобы подменю открывалось точно под ней. */
	align-self: stretch;
}

.site-nav > ul {
	display: flex;
	align-items: center;
	height: 100%;
	gap: 4px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-nav li {
	position: relative;
}

.site-nav > ul > li {
	display: flex;
	align-items: center;
	height: 100%;
}

.site-nav a {
	display: block;
	padding: 9px 14px;
	border-radius: 999px;
	font-size: .96rem;
	font-weight: 500;
	color: rgba(255, 255, 255, .82);
	text-decoration: none;
	white-space: nowrap;
}

.site-nav a:hover {
	background: rgba(255, 255, 255, .12);
	color: #fff;
}

.site-nav .current-menu-item > a,
.site-nav .current_page_item > a {
	background: rgba(255, 255, 255, .15);
	color: #fff;
}

/* Пункт с классом no-link: заголовок подменю, не ссылка. */

.site-nav .menu-heading {
	display: block;
	padding: 9px 14px;
	border-radius: 999px;
	font-size: .96rem;
	font-weight: 500;
	color: rgba(255, 255, 255, .82);
	white-space: nowrap;
	cursor: default;
}

.site-nav .menu-item-has-children > a,
.site-nav .menu-item-has-children > .menu-heading {
	padding-right: 30px;
}

.site-nav .menu-item-has-children > a::after,
.site-nav .menu-item-has-children > .menu-heading::after {
	content: "";
	position: absolute;
	right: 14px;
	top: 50%;
	width: 6px;
	height: 6px;
	margin-top: -4px;
	border-right: 1.6px solid currentColor;
	border-bottom: 1.6px solid currentColor;
	transform: rotate(45deg);
	opacity: .7;
}

.site-nav .menu-item-has-children:hover > a,
.site-nav .menu-item-has-children:hover > .menu-heading,
.site-nav .menu-item-has-children:focus-within > a,
.site-nav .menu-item-has-children:focus-within > .menu-heading {
	background: rgba(255, 255, 255, .12);
	color: #fff;
}

/* Выпадающее подменю */

.site-nav .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 3;
	min-width: 248px;
	margin: 0;
	padding: 8px;
	list-style: none;
	background: #0a2d21;
	border: 1px solid rgba(255, 255, 255, .12);
	border-radius: var(--radius-sm);
	box-shadow: var(--shadow-lg);
	opacity: 0;
	/* Не visibility: hidden — иначе ссылки нельзя сфокусировать
	   и :focus-within никогда не сработает, то есть с клавиатуры
	   до подменю не добраться. */
	pointer-events: none;
	transform: translateY(6px);
	transition: opacity .16s ease, transform .16s ease;
}

.site-nav li:hover > .sub-menu,
.site-nav li:focus-within > .sub-menu {
	opacity: 1;
	pointer-events: auto;
	transform: none;
}

.site-nav .sub-menu a {
	padding: 9px 12px;
	border-radius: 7px;
	font-weight: 500;
	white-space: normal;
}

.header-tools {
	display: flex;
	align-items: center;
	gap: 10px;
	flex: 0 0 auto;
	margin-left: auto;
}

.site-nav + .header-tools {
	margin-left: 0;
}

.header-tools .social-row {
	gap: 6px;
	padding-right: 6px;
	margin-right: 2px;
	border-right: 1px solid rgba(255, 255, 255, .16);
}

.header-tools .social-row a {
	width: 32px;
	height: 32px;
}

.header-tools .social-row img {
	width: 15px;
	height: 15px;
}

.burger {
	display: none;
}

/* Поиск перекрывает шапку целиком */

.header-search {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: flex;
	align-items: center;
	gap: 10px;
	padding-inline: var(--gutter);
	/* Светлая полоса: при открытом поиске шапка перестаёт быть зелёной. */
	background: var(--surface);
	opacity: 0;
	transition: opacity .18s ease;
}

.header-search.is-open {
	opacity: 1;
}

.header-search[hidden] {
	display: none;
}

/* Поле поиска светлое — на тёмной шапке так понятнее, что это поле ввода. */

.header-search .searchform {
	flex: 1 1 auto;
	min-width: 0;
	background: var(--bg);
	border-color: var(--line);
	box-shadow: none;
}

/* Кнопка закрытия на светлой полосе. */
.header-search .icon-btn {
	background: var(--bg);
	border-color: var(--line);
	color: var(--ink-2);
}

.header-search .icon-btn:hover {
	background: var(--line-soft);
	color: var(--ink);
}

.header-search .searchform input[type="search"] {
	flex: 1 1 auto;
	min-width: 0;
	color: var(--ink);
}

.header-search .searchform input[type="search"]::placeholder {
	color: var(--faint);
}

/* ------------------------------------------------- Выезжающее меню */

body.is-locked {
	overflow: hidden;
}

.drawer-backdrop {
	position: fixed;
	inset: 0;
	z-index: 90;
	background: rgba(6, 22, 16, .55);
	opacity: 0;
	transition: opacity .3s ease;
}

.drawer-backdrop.is-open {
	opacity: 1;
}

.drawer {
	position: fixed;
	inset: 0 auto 0 0;
	z-index: 100;
	width: min(330px, 86vw);
	display: flex;
	flex-direction: column;
	background: #0a2d21;
	color: rgba(255, 255, 255, .78);
	transform: translateX(-102%);
	transition: transform .3s cubic-bezier(.4, 0, .2, 1);
	overflow-y: auto;
	overscroll-behavior: contain;
}

.drawer.is-open {
	transform: none;
	box-shadow: var(--shadow-lg);
}

.drawer-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 15px 18px;
	border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.drawer-search {
	padding: 16px 18px 6px;
}

.drawer-search .searchform {
	background: rgba(255, 255, 255, .08);
	border-color: rgba(255, 255, 255, .16);
	box-shadow: none;
	padding-left: 14px;
}

.drawer-search .searchform input[type="search"] {
	flex: 1 1 auto;
	min-width: 0;
	color: #fff;
}

.drawer-search .searchform input[type="search"]::placeholder {
	color: rgba(255, 255, 255, .5);
}

.drawer-nav {
	padding: 10px 18px 18px;
}

.drawer-nav ul {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 2px;
}

.drawer-nav a {
	display: block;
	padding: 12px 13px;
	border-radius: var(--radius-sm);
	font-size: 1rem;
	font-weight: 600;
	color: rgba(255, 255, 255, .85);
	text-decoration: none;
}

.drawer-nav .menu-heading {
	display: block;
	margin: 14px 0 4px;
	padding: 0 13px;
	color: rgba(255, 255, 255, .5);
	font-size: .76rem;
	font-weight: 700;
	letter-spacing: .07em;
	text-transform: uppercase;
}

.drawer-nav .sub-menu {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 2px;
}

.drawer-nav .sub-menu a {
	font-size: .95rem;
	font-weight: 500;
	padding-block: 10px;
}

.drawer-nav a:hover {
	background: rgba(255, 255, 255, .09);
	color: #fff;
}

.drawer-nav .current-menu-item > a,
.drawer-nav .current_page_item > a {
	background: var(--brand);
	color: #fff;
}

.drawer-foot {
	margin-top: auto;
	padding: 16px 18px 20px;
	border-top: 1px solid rgba(255, 255, 255, .1);
}

.drawer-foot-title {
	display: block;
	margin-bottom: 11px;
	color: rgba(255, 255, 255, .5);
	font-size: .76rem;
	font-weight: 700;
	letter-spacing: .07em;
	text-transform: uppercase;
}

/* Форма поиска */


.searchform {
	display: flex;
	align-items: center;
	gap: 8px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 999px;
	padding: 4px 4px 4px 16px;
	box-shadow: var(--shadow);
}

.searchform input[type="search"] {
	border: 0;
	background: transparent;
	padding: 8px 0;
	min-width: 170px;
	font-size: .95rem;
}

.searchform input[type="search"]:focus {
	outline: none;
}

.searchform button {
	border: 0;
	background: var(--brand);
	color: #fff;
	border-radius: 999px;
	padding: 9px 18px;
	font-size: .9rem;
	font-weight: 600;
	cursor: pointer;
	white-space: nowrap;
}

.searchform button:hover {
	background: var(--brand-dark);
}

/* ----------------------------------------------------------------- Герой */

.hero {
	position: relative;
	overflow: hidden;
	background: linear-gradient(135deg, #0a2d21 0%, #125c41 55%, #16855c 100%);
	color: #fff;
	border-bottom: 1px solid var(--line);
}

.hero-media {
	position: absolute;
	inset: 0;
}

.hero-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: .85;
}

/* Затемнение только слева, под текстом: справа фотография видна почти чисто. */
.hero-media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(100deg, rgba(7, 34, 25, .92) 0%, rgba(8, 42, 31, .82) 34%, rgba(9, 50, 37, .45) 58%, rgba(10, 58, 43, .12) 80%, rgba(10, 58, 43, 0) 100%);
}

.hero-inner {
	position: relative;
	padding: clamp(56px, 9vw, 104px) 0;
	max-width: 760px;
}

.hero-inner h1 {
	margin: 0;
	font-size: clamp(2rem, 5.2vw, 3.3rem);
	line-height: 1.08;
	letter-spacing: -.03em;
	font-weight: 800;
}

.hero-inner p {
	margin: 18px 0 0;
	font-size: clamp(1.02rem, 2vw, 1.22rem);
	line-height: 1.55;
	color: rgba(255, 255, 255, .88);
	max-width: 58ch;
}

.hero-note {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 20px;
	padding: 7px 15px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .13);
	border: 1px solid rgba(255, 255, 255, .22);
	font-size: .85rem;
	font-weight: 600;
	letter-spacing: .02em;
	text-transform: uppercase;
}

/* -------------------------------------------------------------- Разметка */

/* Отступ сверху даёт не сам <main>, а его содержимое — иначе
   между шапкой и первым экраном появляется светлая полоса. */
.site-main {
	padding: 0 0 64px;
}

.site-main > .wrap {
	padding-top: 40px;
}

.hero + .wrap {
	padding-top: 44px;
}

.layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 40px;
	align-items: start;
}

.layout-full {
	display: block;
}

/* Заголовок раздела */

.section-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 22px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--line);
}

.section-head h1,
.section-head h2 {
	margin: 0;
	font-size: clamp(1.45rem, 3vw, 2rem);
	line-height: 1.2;
	letter-spacing: -.022em;
	font-weight: 750;
}

.section-head p {
	margin: 8px 0 0;
	color: var(--muted);
	font-size: .97rem;
}

.section-count {
	flex: 0 0 auto;
	color: var(--faint);
	font-size: .88rem;
	font-weight: 600;
	white-space: nowrap;
}

/* --------------------------------------------------------------- Карточки */

.card-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.card {
	display: flex;
	flex-direction: column;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow);
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.card:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow-lg);
	border-color: color-mix(in srgb, var(--brand) 28%, var(--line));
}

.card-media {
	position: relative;
	display: block;
	aspect-ratio: 16 / 9;
	background: var(--line-soft);
	overflow: hidden;
}

.card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .4s ease;
}

.card:hover .card-media img {
	transform: scale(1.04);
}

.card-body {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 18px 20px 20px;
	flex: 1;
}

.card-terms {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.card-terms a,
.chip {
	display: inline-block;
	padding: 4px 11px;
	border-radius: 999px;
	background: var(--brand-soft);
	color: var(--brand-dark);
	font-size: .76rem;
	font-weight: 650;
	letter-spacing: .01em;
	text-decoration: none;
	line-height: 1.5;
}

.card-terms a:hover,
.chip:hover {
	background: color-mix(in srgb, var(--brand) 20%, var(--brand-soft));
}

/* Цвет ярлыка задаётся полем «Цвет» на рубрике или метке.
   Селекторы специфичнее базового .card-terms a, иначе цвет не применится. */

.card-terms a.tone-good,
.chip.tone-good {
	background: #e7f4ee;
	color: #0f6344;
}

.card-terms a.tone-good:hover,
.chip.tone-good:hover {
	background: #d3ebdf;
	color: #0f6344;
}

.card-terms a.tone-warn,
.chip.tone-warn {
	background: #fdf2e0;
	color: #8f5800;
}

.card-terms a.tone-warn:hover,
.chip.tone-warn:hover {
	background: #f9e6c8;
	color: #8f5800;
}

.card-terms a.tone-bad,
.chip.tone-bad {
	background: #fdeaea;
	color: #a92727;
}

.card-terms a.tone-bad:hover,
.chip.tone-bad:hover {
	background: #f9d8d8;
	color: #a92727;
}

.card-terms a.tone-info,
.chip.tone-info {
	background: #e8f0fb;
	color: #1f4f8f;
}

.card-terms a.tone-info:hover,
.chip.tone-info:hover {
	background: #d7e5f7;
	color: #1f4f8f;
}

.card-terms a.tone-violet,
.chip.tone-violet {
	background: #f0ebfa;
	color: #553a97;
}

.card-terms a.tone-violet:hover,
.chip.tone-violet:hover {
	background: #e4dbf6;
	color: #553a97;
}

.card-terms a.tone-neutral,
.chip.tone-neutral {
	background: #eef1f0;
	color: #4a5a54;
}

.card-terms a.tone-neutral:hover,
.chip.tone-neutral:hover {
	background: #e2e7e5;
	color: #4a5a54;
}

.card-body h2,
.card-body h3 {
	margin: 0;
	font-size: 1.1rem;
	line-height: 1.35;
	letter-spacing: -.012em;
	font-weight: 700;
}

.card-body h2 a,
.card-body h3 a {
	color: var(--ink);
	text-decoration: none;
}

.card-body h2 a:hover,
.card-body h3 a:hover {
	color: var(--brand-dark);
}

.card-body p {
	margin: 0;
	color: var(--muted);
	font-size: .94rem;
	line-height: 1.6;
}

.card-foot {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px 14px;
	margin-top: auto;
	padding-top: 14px;
	border-top: 1px solid var(--line-soft);
	color: var(--faint);
	font-size: .82rem;
}

.card-foot .more {
	margin-left: auto;
	color: var(--brand-dark);
	font-weight: 650;
	text-decoration: none;
	white-space: nowrap;
}

.card-foot .more:hover {
	text-decoration: underline;
}

.meta-item {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	white-space: nowrap;
}

/* ---------------------------------------------------------------- Обзор */

.review {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	overflow: hidden;
}

.review-head {
	padding: 30px clamp(20px, 4vw, 40px) 26px;
	border-bottom: 1px solid var(--line-soft);
}

.review-head h1 {
	margin: 0;
	font-size: clamp(1.7rem, 3.6vw, 2.5rem);
	line-height: 1.16;
	letter-spacing: -.028em;
	font-weight: 800;
}

.breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-bottom: 14px;
	font-size: .85rem;
	color: var(--faint);
}

.breadcrumbs a {
	color: var(--muted);
	text-decoration: none;
}

.breadcrumbs a:hover {
	color: var(--brand-dark);
}

.breadcrumbs span[aria-hidden="true"] {
	color: var(--line);
}

.review-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 18px;
	margin-top: 16px;
	color: var(--muted);
	font-size: .88rem;
}

.verdict {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 6px 14px;
	border-radius: 999px;
	font-size: .84rem;
	font-weight: 700;
	letter-spacing: .01em;
	border: 1px solid transparent;
}

.verdict::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: currentColor;
}

.verdict.good {
	background: #e7f4ee;
	color: var(--good);
	border-color: #c5e5d6;
}

.verdict.warn {
	background: #fdf2e0;
	color: var(--warn);
	border-color: #f2ddb6;
}

.verdict.bad {
	background: #fdeaea;
	color: var(--bad);
	border-color: #f4c9c9;
}

.verdict.neutral {
	background: #eef2f0;
	color: var(--ink-2);
	border-color: var(--line);
}

.rating {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	font-size: .88rem;
	color: var(--muted);
}

.rating b {
	font-size: 1.05rem;
	color: var(--ink);
}

.stars {
	position: relative;
	display: inline-block;
	font-size: 1rem;
	line-height: 1;
	letter-spacing: 2px;
	color: var(--line);
}

.stars i {
	position: absolute;
	inset: 0;
	overflow: hidden;
	color: #e8a33d;
	font-style: normal;
	white-space: nowrap;
}

.review-figure {
	margin: 0;
	border-bottom: 1px solid var(--line-soft);
}

.review-figure img {
	width: 100%;
	max-height: 460px;
	object-fit: cover;
}

.review-figure figcaption {
	padding: 10px clamp(20px, 4vw, 40px);
	color: var(--faint);
	font-size: .84rem;
}

/* Факты, плюсы и минусы */

.panel {
	padding: 26px clamp(20px, 4vw, 40px);
	border-bottom: 1px solid var(--line-soft);
}

.panel > h2 {
	margin: 0 0 16px;
	font-size: 1.12rem;
	letter-spacing: -.012em;
	font-weight: 750;
}

.facts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
	gap: 1px;
	margin: 0;
	background: var(--line-soft);
	border: 1px solid var(--line-soft);
	border-radius: var(--radius-sm);
	overflow: hidden;
}

.facts > div {
	background: var(--surface);
	padding: 14px 16px;
}

.facts dt {
	color: var(--faint);
	font-size: .78rem;
	font-weight: 650;
	letter-spacing: .04em;
	text-transform: uppercase;
	margin-bottom: 4px;
}

.facts dd {
	margin: 0;
	font-weight: 600;
	font-size: .98rem;
	line-height: 1.45;
}

.proscons {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 18px;
}

.proscons section {
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	padding: 18px 20px;
}

.proscons section.pros {
	background: #f4fbf7;
	border-color: #cfe9dc;
}

.proscons section.cons {
	background: #fdf6f6;
	border-color: #f0d4d4;
}

.proscons h2 {
	margin: 0 0 12px;
	font-size: .98rem;
	font-weight: 750;
	letter-spacing: -.01em;
}

.proscons section.pros h2 {
	color: var(--good);
}

.proscons section.cons h2 {
	color: var(--bad);
}

.proscons ul {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 9px;
}

.proscons li {
	position: relative;
	padding-left: 26px;
	font-size: .95rem;
	line-height: 1.55;
}

.proscons li::before {
	position: absolute;
	left: 0;
	top: 0;
	font-weight: 700;
}

.proscons section.pros li::before {
	content: "+";
	color: var(--good);
}

.proscons section.cons li::before {
	content: "−";
	color: var(--bad);
}

.cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
	padding: 22px clamp(20px, 4vw, 40px);
	background: var(--brand-soft);
	border-bottom: 1px solid var(--line-soft);
}

.cta p {
	margin: 0;
	color: var(--ink-2);
	font-size: .88rem;
	max-width: 46ch;
}

.btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 24px;
	border-radius: 999px;
	background: var(--brand);
	color: #fff;
	font-weight: 650;
	font-size: .96rem;
	text-decoration: none;
	border: 0;
	cursor: pointer;
}

.btn:hover {
	background: var(--brand-dark);
	color: #fff;
}

.btn-ghost {
	background: transparent;
	color: var(--brand-dark);
	border: 1px solid color-mix(in srgb, var(--brand) 40%, transparent);
}

.btn-ghost:hover {
	background: var(--surface);
	color: var(--brand-dark);
}

/* ---------------------------------------------------------- Текст статьи */

.prose {
	padding: 30px clamp(20px, 4vw, 40px) 36px;
	font-size: 1.04rem;
	line-height: 1.75;
	color: var(--ink-2);
	overflow-wrap: break-word;
}

.prose > *:first-child {
	margin-top: 0;
}

.prose > *:last-child {
	margin-bottom: 0;
}

.prose p {
	margin: 0 0 1.15em;
}

.prose h2 {
	margin: 0 0 .6em;
	font-size: 1.42rem;
	line-height: 1.28;
	letter-spacing: -.018em;
	font-weight: 750;
	color: var(--ink);
}

.prose h3 {
	margin: 0 0 .5em;
	font-size: 1.16rem;
	line-height: 1.35;
	font-weight: 700;
	color: var(--ink);
}

.prose h4 {
	margin: 0 0 .4em;
	font-size: 1.02rem;
	font-weight: 700;
	color: var(--ink);
}

.prose ul,
.prose ol {
	margin: 0 0 1.15em;
	padding-left: 1.3em;
}

.prose li {
	margin-bottom: .45em;
}

.prose li::marker {
	color: var(--brand);
}

.prose img,
.prose figure img {
	border-radius: var(--radius-sm);
	border: 1px solid var(--line);
}

.prose figure {
	margin: 1.7em 0;
}

.prose figcaption {
	margin-top: 8px;
	color: var(--faint);
	font-size: .86rem;
	text-align: center;
}

.prose blockquote {
	margin: 1.6em 0;
	padding: 4px 0 4px 22px;
	border-left: 3px solid var(--brand);
	color: var(--ink);
	font-style: italic;
}

.prose a {
	font-weight: 500;
}

.prose table {
	width: 100%;
	border-collapse: collapse;
	margin: 1.5em 0;
	font-size: .95rem;
}

.prose th,
.prose td {
	border: 1px solid var(--line);
	padding: 10px 13px;
	text-align: left;
}

.prose th {
	background: var(--line-soft);
	font-weight: 650;
}

.prose code {
	background: var(--line-soft);
	padding: 2px 6px;
	border-radius: 5px;
	font-size: .92em;
}

/* Метки под статьёй */

.tag-list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	padding: 20px clamp(20px, 4vw, 40px) 26px;
	border-top: 1px solid var(--line-soft);
}

.tag-list > span {
	color: var(--faint);
	font-size: .84rem;
	font-weight: 650;
	margin-right: 4px;
}

/* ------------------------------------------------------------- Боковая */

.sidebar {
	display: grid;
	gap: 22px;
	position: sticky;
	top: 90px;
}

.widget {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 20px 22px;
	box-shadow: var(--shadow);
}

.widget > h2 {
	margin: 0 0 14px;
	font-size: .8rem;
	font-weight: 750;
	letter-spacing: .07em;
	text-transform: uppercase;
	color: var(--faint);
}

.widget ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.term-list li + li {
	border-top: 1px solid var(--line-soft);
}

.term-list a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 9px 0;
	color: var(--ink-2);
	font-size: .95rem;
	font-weight: 500;
	text-decoration: none;
}

.term-list a:hover {
	color: var(--brand-dark);
}

.term-list a span {
	flex: 0 0 auto;
	min-width: 26px;
	text-align: center;
	padding: 1px 7px;
	border-radius: 999px;
	background: var(--line-soft);
	color: var(--faint);
	font-size: .76rem;
	font-weight: 650;
}

.term-list a:hover span {
	background: var(--brand-soft);
	color: var(--brand-dark);
}

.tag-cloud {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
}

.recent li + li {
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px solid var(--line-soft);
}

.recent a {
	display: flex;
	gap: 12px;
	align-items: center;
	color: var(--ink);
	text-decoration: none;
}

.recent a > span {
	min-width: 0;
}

.recent a:hover {
	color: var(--brand-dark);
}

.recent img {
	flex: 0 0 64px;
	width: 64px;
	height: 52px;
	object-fit: cover;
	border-radius: 8px;
}

.recent strong {
	display: block;
	font-size: .91rem;
	font-weight: 600;
	line-height: 1.4;
}

.recent time {
	display: block;
	margin-top: 3px;
	color: var(--faint);
	font-size: .79rem;
	font-weight: 500;
}

/* --------------------------------------------------------- Комментарии */

.comments {
	margin-top: 32px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 26px clamp(20px, 4vw, 40px) 30px;
	box-shadow: var(--shadow);
}

.comments > h2 {
	margin: 0 0 20px;
	font-size: 1.2rem;
	font-weight: 750;
	letter-spacing: -.015em;
}

.comment-list {
	margin: 0 0 28px;
	padding: 0;
	list-style: none;
}

.comment-list ul.children {
	margin: 16px 0 0 clamp(14px, 4vw, 40px);
	padding: 0;
	list-style: none;
	border-left: 2px solid var(--line-soft);
	padding-left: clamp(12px, 3vw, 22px);
}

.comment-list li.comment {
	margin-bottom: 18px;
}

.comment-body {
	background: #fafcfb;
	border: 1px solid var(--line-soft);
	border-radius: var(--radius-sm);
	padding: 16px 18px;
}

.comment-head {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px 12px;
	margin-bottom: 8px;
}

.comment-head strong {
	font-size: .95rem;
	font-weight: 700;
}

.comment-head time {
	color: var(--faint);
	font-size: .8rem;
}

.comment-body p {
	margin: 0 0 .7em;
	font-size: .96rem;
	line-height: 1.6;
	color: var(--ink-2);
}

.comment-body p:last-child {
	margin-bottom: 0;
}

.comment-reply-link {
	display: inline-block;
	margin-top: 8px;
	font-size: .84rem;
	font-weight: 650;
	color: var(--brand-dark);
	text-decoration: none;
}

.comment-reply-link:hover {
	text-decoration: underline;
}

.comment-respond {
	border-top: 1px solid var(--line-soft);
	padding-top: 24px;
}

.comment-respond .comment-reply-title {
	margin: 0 0 6px;
	font-size: 1.08rem;
	font-weight: 750;
}

.comment-form {
	display: grid;
	gap: 14px;
}

.comment-form p {
	margin: 0;
}

.comment-form label {
	display: block;
	margin-bottom: 5px;
	font-size: .86rem;
	font-weight: 650;
	color: var(--ink-2);
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 11px 14px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	font-size: .96rem;
}

.comment-form textarea {
	min-height: 130px;
	resize: vertical;
}

.comment-form input:focus,
.comment-form textarea:focus {
	outline: none;
	border-color: var(--brand);
	box-shadow: 0 0 0 3px var(--brand-soft);
}

.comment-form .form-submit input[type="submit"] {
	padding: 12px 28px;
	border: 0;
	border-radius: 999px;
	background: var(--brand);
	color: #fff;
	font-weight: 650;
	cursor: pointer;
}

.comment-form .form-submit input[type="submit"]:hover {
	background: var(--brand-dark);
}

.comment-form .comment-form-cookies-consent {
	display: flex;
	align-items: flex-start;
	gap: 9px;
}

.comment-form .comment-form-cookies-consent label {
	margin: 0;
	font-weight: 500;
	font-size: .86rem;
	color: var(--muted);
}

.comment-notes,
.logged-in-as {
	color: var(--muted);
	font-size: .87rem;
}

/* ------------------------------------------------- Поддержать проект */

.support {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px 28px;
	margin-top: 32px;
	padding: 26px clamp(20px, 4vw, 36px);
	border-radius: var(--radius);
	background: linear-gradient(135deg, #0f6344 0%, #16855c 100%);
	color: #fff;
	box-shadow: var(--shadow);
}

.support-copy {
	flex: 1 1 320px;
	min-width: 0;
}

.support-copy h2 {
	margin: 0;
	font-size: 1.22rem;
	font-weight: 750;
	letter-spacing: -.015em;
	color: #fff;
}

.support-copy p {
	margin: 8px 0 0;
	font-size: .93rem;
	line-height: 1.6;
	color: rgba(255, 255, 255, .82);
	max-width: 56ch;
}

.btn-light {
	background: #fff;
	color: var(--brand-dark);
	flex: 0 0 auto;
	min-width: 190px;
	justify-content: center;
}

.btn-light:hover {
	background: rgba(255, 255, 255, .88);
	color: var(--brand-dark);
}

/* ----------------------------------------------------- Кнопка «наверх» */

.to-top {
	position: fixed;
	right: clamp(14px, 3vw, 28px);
	bottom: clamp(14px, 3vw, 28px);
	z-index: 60;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border: 1px solid var(--line);
	border-radius: 50%;
	background: var(--surface);
	color: var(--brand-dark);
	box-shadow: var(--shadow-lg);
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateY(8px);
	transition: opacity .2s ease, transform .2s ease, background .2s ease, visibility .2s;
}

.to-top.is-visible {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: none;
}

.to-top[hidden] {
	display: none;
}

.to-top:hover {
	background: var(--brand);
	border-color: var(--brand);
	color: #fff;
}

/* ------------------------------------------------------------ Пагинация */

.pagination {
	margin-top: 36px;
}

.pagination ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 7px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pagination a,
.pagination span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding: 0 14px;
	border-radius: var(--radius-sm);
	background: var(--surface);
	border: 1px solid var(--line);
	color: var(--ink-2);
	font-size: .93rem;
	font-weight: 600;
	text-decoration: none;
}

.pagination a:hover {
	border-color: var(--brand);
	color: var(--brand-dark);
}

.pagination .current {
	background: var(--brand);
	border-color: var(--brand);
	color: #fff;
}

.pagination .dots {
	border-color: transparent;
	background: transparent;
}

/* ---------------------------------------------------------------- Пусто */

.empty {
	background: var(--surface);
	border: 1px dashed var(--line);
	border-radius: var(--radius);
	padding: clamp(36px, 7vw, 72px) 28px;
	text-align: center;
}

.empty h1,
.empty h2 {
	margin: 0 0 10px;
	font-size: clamp(1.3rem, 3vw, 1.8rem);
	letter-spacing: -.02em;
	font-weight: 750;
}

.empty p {
	margin: 0 auto 22px;
	max-width: 50ch;
	color: var(--muted);
}

.empty .searchform {
	max-width: 440px;
	margin: 0 auto;
}

/* ---------------------------------------------------------------- Подвал */

.site-footer {
	background: #0c1f19;
	color: rgba(255, 255, 255, .72);
	padding: 54px 0 26px;
	font-size: .94rem;
}

.footer-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.6fr) repeat(auto-fit, minmax(190px, 1fr));
	gap: 36px;
	padding-bottom: 34px;
	border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.footer-brand .brand {
	margin-bottom: 16px;
	font-size: 1.18rem;
	color: #fff;
}

.footer-brand .brand:hover {
	color: rgba(255, 255, 255, .82);
}

.footer-brand .brand img {
	max-height: 40px;
	width: auto;
}

.footer-grid p {
	margin: 0;
	line-height: 1.65;
	color: rgba(255, 255, 255, .66);
	max-width: 46ch;
}

.footer-grid h2 {
	margin: 0 0 14px;
	color: #fff;
	font-size: .82rem;
	font-weight: 700;
	letter-spacing: .07em;
	text-transform: uppercase;
}

.footer-grid ul {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 10px;
}

.footer-grid a {
	color: rgba(255, 255, 255, .78);
	text-decoration: none;
}

.footer-grid a:hover {
	color: #fff;
	text-decoration: underline;
}

.footer-contact a,
.footer-contact span {
	display: inline-flex;
	align-items: center;
	gap: 9px;
}

.footer-contact img {
	width: 18px;
	height: 18px;
	object-fit: contain;
	filter: brightness(0) invert(1);
	opacity: .8;
}

.social-row {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.social-row a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .09);
	border: 1px solid rgba(255, 255, 255, .14);
}

.social-row a:hover {
	background: var(--brand);
	border-color: var(--brand);
}

.social-row img {
	width: 18px;
	height: 18px;
	object-fit: contain;
	filter: brightness(0) invert(1);
}

.footer-bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding-top: 22px;
	color: rgba(255, 255, 255, .5);
	font-size: .86rem;
}

.footer-bottom p {
	margin: 0;
}

.footer-bottom ul {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer-bottom a {
	color: rgba(255, 255, 255, .62);
	text-decoration: none;
}

.footer-bottom a:hover {
	color: #fff;
}

/* ------------------------------------------------------------ Адаптив */

@media (max-width: 1040px) {
	.layout {
		grid-template-columns: minmax(0, 1fr);
	}

	.sidebar {
		position: static;
		grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	}
}

@media (max-width: 860px) {
	body {
		font-size: 16px;
	}

	/* Меню и соцсети уезжают в выезжающую панель. */
	.site-nav,
	.header-tools .social-row {
		display: none;
	}

	.burger {
		display: inline-flex;
	}

	/* .site-nav скрыт, но остаётся соседом в разметке — возвращаем
	   кнопки к правому краю. */
	.site-nav + .header-tools {
		margin-left: auto;
	}

	.card-grid {
		grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
		gap: 18px;
	}

	.footer-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 28px;
	}
}

@media (max-width: 520px) {
	:root {
		--gutter: 16px;
	}

	.card-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.review-meta {
		gap: 8px 12px;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: .01ms !important;
		transition-duration: .01ms !important;
		scroll-behavior: auto !important;
	}
}
