/* Quadro Extreme — оформление статьи блога (лонгрид).
   Все селекторы заскоуплены под .article внутри .single-post__content —
   ничего глобального не переопределяется. Токены (цвета, шрифты, clip-path)
   взяты из существующей дизайн-системы темы. */

.article {
	--a-line: rgba(255, 255, 255, 0.08);
	--a-card: rgba(255, 255, 255, 0.03);
	--a-green-tint: rgba(107, 255, 42, 0.05);
	--a-green-line: rgba(107, 255, 42, 0.22);
	--a-red: #ff5a4d;
}

/* Заголовки внутри статьи наследуют .page-content h2/h3, добавляем ритм и
   тонкий разделитель у H2 — «дышащая» структура лонгрида. */
.article h2 {
	margin-top: 48px;
	padding-top: 26px;
	border-top: 1px solid var(--a-line);
	scroll-margin-top: 90px;
}
.article > h2:first-child,
.article .article-meta + h2 {
	border-top: none;
	padding-top: 0;
	margin-top: 32px;
}
.article h3 {
	margin-top: 24px;
}

/* ── Мета-строка (чтение · категория · автор) ── */
.article-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 16px;
	font-family: "Barlow Condensed", sans-serif;
	font-size: 14px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--muted);
	margin: 0 0 24px;
}
.article-meta__item {
	display: inline-flex;
	align-items: center;
	gap: 7px;
}
.article-meta__item svg {
	width: 15px;
	height: 15px;
	stroke: var(--green);
	flex: none;
}
.article-meta__sep {
	color: var(--green);
	opacity: 0.5;
}

/* ── Лид-абзац (подзаголовок под hero) ── */
.article-lead {
	font-family: "Montserrat", sans-serif;
	font-size: 18px;
	line-height: 1.7;
	color: #e4e4e4;
	margin: 0 0 8px;
	padding-left: 18px;
	border-left: 3px solid var(--green);
}

/* ── Callout / инфо-блок / акцент / доверие ── */
.article-callout {
	display: flex;
	gap: 16px;
	background: var(--a-green-tint);
	border: 1px solid var(--a-green-line);
	border-radius: 14px;
	padding: 22px 24px;
	margin: 24px 0;
}
.article-callout__icon {
	flex: none;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(107, 255, 42, 0.12);
	font-size: 22px;
	line-height: 1;
}
.article-callout__icon svg {
	width: 22px;
	height: 22px;
	stroke: var(--green);
}
.article-callout__body {
	flex: 1;
	min-width: 0;
}
.article-callout__title {
	font-family: "Barlow Condensed", sans-serif;
	font-size: 20px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: #fff;
	margin: 2px 0 8px;
}
.article-callout__body > p:last-child,
.article-callout__body ul:last-child {
	margin-bottom: 0;
}
.article-callout--accent {
	background: linear-gradient(135deg, rgba(107, 255, 42, 0.08), rgba(107, 255, 42, 0.02));
	border-color: var(--a-green-line);
}
.article-callout--muted {
	background: var(--a-card);
	border-color: var(--a-line);
}
.article-callout--muted .article-callout__icon {
	background: rgba(255, 255, 255, 0.06);
}

/* ── Карточка «Подойдёт / Не рекомендуется» ── */
.article-dodont {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin: 24px 0;
}
.article-dodont__col {
	background: var(--a-card);
	border: 1px solid var(--a-line);
	border-radius: 14px;
	padding: 22px 22px 20px;
}
.article-dodont__col--yes {
	border-color: var(--a-green-line);
	background: var(--a-green-tint);
}
.article-dodont__col--no {
	border-color: rgba(255, 90, 77, 0.25);
	background: rgba(255, 90, 77, 0.05);
}
.article-dodont__title {
	font-family: "Barlow Condensed", sans-serif;
	font-size: 18px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	margin: 0 0 14px;
}
.article-dodont__col--yes .article-dodont__title {
	color: var(--green);
}
.article-dodont__col--no .article-dodont__title {
	color: var(--a-red);
}
.article-dodont ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.article-dodont li {
	position: relative;
	padding-left: 28px;
	margin-bottom: 10px;
	font-size: 15px;
	color: #d6d6d6;
}
.article-dodont li:last-child {
	margin-bottom: 0;
}
.article-dodont li::before {
	position: absolute;
	left: 0;
	top: -1px;
	font-weight: 700;
}
.article-dodont__col--yes li::before {
	content: "✔";
	color: var(--green);
}
.article-dodont__col--no li::before {
	content: "✕";
	color: var(--a-red);
}

/* ── Карточки «что взять с собой» ── */
.article-cards {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 14px;
	margin: 24px 0;
}
.article-card {
	background: var(--a-card);
	border: 1px solid var(--a-line);
	border-radius: 14px;
	padding: 22px 20px;
	transition: border-color 0.2s, transform 0.2s, background 0.2s;
}
.article-card:hover {
	border-color: var(--a-green-line);
	background: var(--a-green-tint);
	transform: translateY(-3px);
}
.article-card__icon {
	font-size: 28px;
	line-height: 1;
	margin-bottom: 12px;
}
.article-card__title {
	font-family: "Barlow Condensed", sans-serif;
	font-size: 19px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	color: #fff;
	margin: 0 0 6px;
}
.article-card__text {
	font-size: 14px;
	line-height: 1.55;
	color: var(--muted);
	margin: 0;
}

/* ── Чек-лист (что входит / экипировка) ── */
.article-check {
	list-style: none;
	margin: 20px 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 10px 24px;
}
.article-check li {
	position: relative;
	padding-left: 30px;
	margin: 0;
	font-size: 15.5px;
	color: #d6d6d6;
}
.article-check li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 3px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: rgba(107, 255, 42, 0.14);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236bff2a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
	background-size: 12px 12px;
	background-position: center;
	background-repeat: no-repeat;
}

/* ── Вопросы новичка (список) ── */
.article-qlist {
	list-style: none;
	margin: 16px 0 20px;
	padding: 0;
}
.article-qlist li {
	position: relative;
	padding-left: 24px;
	margin-bottom: 9px;
	color: #d6d6d6;
}
.article-qlist li::before {
	content: "?";
	position: absolute;
	left: 0;
	top: 0;
	font-family: "Barlow Condensed", sans-serif;
	font-weight: 900;
	color: var(--green);
}

/* ── Итоговый CTA-блок ── */
.article-cta {
	text-align: center;
	background: radial-gradient(circle at 50% 0%, rgba(107, 255, 42, 0.1), rgba(107, 255, 42, 0.02) 60%), var(--dark);
	border: 1px solid var(--a-green-line);
	border-radius: 16px;
	padding: 40px 32px;
	margin: 32px 0 8px;
}
.article-cta__title {
	font-family: "Barlow Condensed", sans-serif;
	font-size: clamp(28px, 4vw, 38px);
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	color: #fff;
	line-height: 1.05;
	margin: 0 0 12px;
	padding-top: 0;
	border-top: none;
}
.article-cta__text {
	max-width: 520px;
	margin: 0 auto 24px;
	color: #cfcfcf;
	font-size: 16px;
	line-height: 1.7;
}
.article-cta__actions {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
}
.article-cta__secondary {
	font-family: "Barlow Condensed", sans-serif;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--muted);
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: color 0.2s, border-color 0.2s;
}
.article-cta__secondary:hover {
	color: var(--green);
	border-color: var(--green);
}

/* ── Блок «Не нашли ответ?» (перелинковка на FAQ) ── */
.article-note {
	display: flex;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;
	background: var(--a-card);
	border: 1px solid var(--a-line);
	border-left: 3px solid var(--green);
	border-radius: 14px;
	padding: 22px 26px;
	margin: 32px 0 8px;
}
.article-note__body {
	flex: 1;
	min-width: 240px;
}
.article-note__title {
	font-family: "Barlow Condensed", sans-serif;
	font-size: 20px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: #fff;
	margin: 0 0 6px;
}
.article-note__text {
	margin: 0;
	color: var(--muted);
	font-size: 15px;
	line-height: 1.6;
}
.article-note .btn-outline {
	flex: none;
}

/* Кнопки: вернуть корректный цвет текста. Иначе .page-content a (0,1,1) из
   gallery.css перекрывает .btn-primary (0,1,0) и красит подпись в зелёный —
   на зелёной кнопке текст пропадает. */
.article .btn-primary {
	color: var(--black);
}
.article .btn-outline {
	color: var(--green);
}
.article .btn-outline:hover {
	color: var(--green);
}

/* Ссылки в тексте статьи — подчёркнутые, зелёные (как в .page-content), но
   с плавным ховером. */
.article a:not(.btn-primary):not(.btn-outline):not(.article-cta__secondary) {
	color: var(--green);
	text-decoration: underline;
	text-underline-offset: 2px;
	text-decoration-color: rgba(107, 255, 42, 0.4);
	transition: text-decoration-color 0.2s;
}
.article a:not(.btn-primary):not(.btn-outline):not(.article-cta__secondary):hover {
	text-decoration-color: var(--green);
}

/* ── Адаптив ── */
@media (max-width: 720px) {
	.article-cards {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (max-width: 560px) {
	.article-dodont {
		grid-template-columns: 1fr;
	}
	.article-check {
		grid-template-columns: 1fr;
	}
	.article-lead {
		font-size: 16.5px;
	}
	.article-callout {
		padding: 20px;
	}
	.article-cta {
		padding: 32px 22px;
	}
	.article-note {
		padding: 20px;
	}
}
@media (max-width: 400px) {
	.article-cards {
		grid-template-columns: 1fr;
	}
}
