/* ==========================================================================
   Articles: секция Recommended, архив, страница статьи, рейтинг.
   Цвета вынесены в переменные, меняйте их под свою тему в одном месте.
   ========================================================================== */

:root {
	--art-bg: #0a0a0a;
	--art-text: #ffffff;
	--art-muted: #a5a5a5;
	--art-line: #2b2b2b;
	--art-pill-border: #5a5a5a;
	--art-btn-bg: #ffffff;
	--art-btn-text: #0a0a0a;
	--art-star: #e5322d;
	--art-radius: 14px;
}

/* ---------- Контейнеры ---------- */
.art-section {
	background: var(--art-bg);
	color: var(--art-text);
	padding: 72px 0;
}

.art-container {
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 24px;
}

.art-container--narrow {
	max-width: 820px;
}

.art-section__title {
	margin: 0 0 56px;
	font-size: 40px;
	font-weight: 300;
	line-height: 1.15;
	color: var(--art-text);
}

/* ---------- Список карточек ---------- */
.art-list {
	display: flex;
	flex-direction: column;
}

.art-card {
	display: grid;
	grid-template-columns: minmax(0, 462px) minmax(0, 1fr);
	gap: 17px;
	padding-bottom: 32px;
	margin-bottom: 32px;
	border-bottom: 1px solid var(--art-line);
}

.art-card:last-child {
	margin-bottom: 0;
	border-bottom: 0;
	padding-bottom: 0;
}

.art-card__thumb {
	display: block;
	aspect-ratio: 462 / 242;
	overflow: hidden;
	border-radius: var(--art-radius);
	background: #151515;
}

.art-card__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.art-card:hover .art-card__thumb img {
	transform: scale(1.03);
}

.art-card__thumb-placeholder {
	display: block;
	width: 100%;
	height: 100%;
}

.art-card__body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	min-width: 0;
}

/* ---------- Бейджи ---------- */
.art-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 17px;
	margin: 0 0 16px;
	padding: 0;
	list-style: none;
}

.art-badge {
	padding: 4px 12px;
	border: 1px solid var(--art-pill-border);
	border-radius: 8px;
	font-size: 10px;
	line-height: 1.4;
	color: var(--art-muted);
}

/* ---------- Заголовок и кнопка ---------- */
.art-card__title {
	margin: 0 0 24px;
	font-size: 24px;
	font-weight: 600;
	line-height: 1.25;
}

.art-card__title a {
	color: var(--art-text);
	text-decoration: none;
}

.art-card__title a:hover {
	text-decoration: underline;
	text-underline-offset: 4px;
}

.art-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 9px 20px;
	border-radius: 8px;
	background: var(--art-btn-bg);
	color: var(--art-btn-text);
	font-size: 16px;
	line-height: 1.4;
	text-decoration: none;
	transition: opacity 0.2s ease;
}

.art-btn:hover {
	opacity: 0.85;
	color: var(--art-btn-text);
}

.art-btn .art-icon {
	width: 20px;
	height: 20px;
}

/* ---------- Мета-строка ---------- */
.art-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	margin: auto 0 0;
	padding: 0;
	list-style: none;
	font-size: 12px;
	color: var(--art-text);
}

.art-card__body .art-btn + .art-meta {
	padding-top: 24px;
}

.art-meta__item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 0 10px;
	border-left: 1px solid #3a3a3a;
	line-height: 1.6;
}

.art-meta__item:first-child {
	padding-left: 0;
	border-left: 0;
}

.art-meta__item a {
	color: var(--art-text);
	text-decoration: none;
}

.art-meta__item a:hover {
	text-decoration: underline;
}

.art-icon {
	flex: none;
	color: var(--art-muted);
}

/* ---------- Звёзды ---------- */
.art-stars {
	display: inline-flex;
	gap: 1px;
	font-size: 13px;
	line-height: 1;
	letter-spacing: 0;
}

.art-stars__star.is-on {
	color: var(--art-star);
}

/* ---------- Фильтр по рубрикам ---------- */
.art-filter {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: -24px 0 48px;
}

.art-filter__link {
	padding: 6px 16px;
	border: 1px solid var(--art-pill-border);
	border-radius: 999px;
	font-size: 14px;
	color: var(--art-muted);
	text-decoration: none;
	transition: all 0.2s ease;
}

.art-filter__link:hover,
.art-filter__link.is-active {
	background: var(--art-btn-bg);
	border-color: var(--art-btn-bg);
	color: var(--art-btn-text);
}

/* ---------- Пагинация ---------- */
.art-archive .navigation.pagination {
	margin-top: 48px;
}

.art-archive .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.art-archive .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border: 1px solid var(--art-pill-border);
	border-radius: 8px;
	color: var(--art-text);
	text-decoration: none;
}

.art-archive .page-numbers.current,
.art-archive a.page-numbers:hover {
	background: var(--art-btn-bg);
	border-color: var(--art-btn-bg);
	color: var(--art-btn-text);
}

/* ---------- Страница статьи (светлая) ---------- */
.art-single {
	--art-star: #ef4335;
	--art-font-head: "Inter", sans-serif;
	--art-font-text: "Inter Tight", "Inter", sans-serif;
	background: #fff;
	color: #000;
}

.art-container--wide {
	box-sizing: border-box;
	width: 100%;
	max-width: 1648px; /* 1600 контент + 2x24 поля */
}

.art-article {
	padding: 100px 0 0;
}

.art-article__layout {
	display: grid;
	grid-template-columns: 382px minmax(0, 1fr);
	column-gap: 158px;
}

/* ----- Левая колонка ----- */
.art-aside {
	display: flex;
	flex-direction: column;
	gap: 24px;
	min-width: 0;
}

.art-back {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	gap: 12px;
	font: 400 14px/24px var(--art-font-head);
	color: #585757;
	text-decoration: none;
}

.art-back__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border: 1px solid #000;
	border-radius: 50%;
	color: #000;
	transition: background 0.2s ease, color 0.2s ease;
}

.art-back:hover .art-back__icon {
	background: #000;
	color: #fff;
}

.art-article__title {
	margin: 0;
	font: 600 48px/64px var(--art-font-head);
	color: #000;
}

.art-aside__sticky {
	position: sticky;
	top: 120px; /* подправьте под высоту вашей шапки */
	display: flex;
	flex-direction: column;
	gap: 24px;
}

/* Оглавление */
.art-toc {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 24px 18px;
	background: #f4f4f5;
	border-radius: 18px;
}

.art-toc__list {
	display: flex;
	flex-direction: column;
	gap: 8px;
	max-height: calc(100vh - 460px);
	margin: 0;
	padding: 0;
	overflow-y: auto;
	overscroll-behavior: contain;
	list-style: none;
}

.art-toc__link {
	display: block;
	font: 400 15px/22px var(--art-font-text);
	color: #9b9b9b;
	text-decoration: none;
	transition: color 0.2s ease;
}

.art-toc__item.is-active .art-toc__link,
.art-toc__link:hover {
	color: #3d3d3d;
}

.art-toc__progress {
	height: 14px;
	margin-top: 8px;
	overflow: hidden;
	background: #fafafa;
	border-radius: 22px;
}

.art-toc__bar {
	display: block;
	width: 0;
	min-width: 14px;
	height: 100%;
	background: #000;
	border-radius: 8px;
	transition: width 0.15s linear;
}

/* CTA-карточка */
.art-cta {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 24px;
	min-height: 171px;
	padding: 14px 24px 22px;
	background: #9b9b9b;
	border-radius: 18px;
	color: #fff;
}

.art-cta__text {
	max-width: 262px;
	margin: 0;
	font: 500 24px/36px var(--art-font-head);
}

.art-cta__btn {
	align-self: flex-start;
	padding: 10px 26px;
	border: 1px solid #ececee;
	border-radius: 8px;
	background: linear-gradient(0deg, #f9f9f9 0%, #fff 100%);
	color: #000;
	font: 400 15px/24px var(--art-font-head);
	text-decoration: none;
	transition: opacity 0.2s ease;
}

.art-cta__btn:hover {
	opacity: 0.85;
	color: #000;
}

/* ----- Правая колонка ----- */
.art-article__main {
	display: flex;
	flex-direction: column;
	gap: 36px;
	min-width: 0;
	scroll-margin-top: 120px;
}

.art-article__cover {
	margin: 0;
	overflow: hidden;
	border-radius: 18px;
}

.art-article__cover img {
	display: block;
	width: 100%;
	height: 440px;
	object-fit: cover;
}

/* Мета-строка (светлая версия, справа) */
.art-single .art-meta {
	justify-content: flex-end;
	margin: 0;
	font: 400 18px/30px var(--art-font-text);
	letter-spacing: 0.36px;
	color: #585757;
}

.art-single .art-meta__item {
	gap: 6px;
	padding: 0 7px;
	border-left: 1px solid #9b9b9b;
}

.art-single .art-meta__item:first-child {
	padding-left: 0;
	border-left: 0;
}

.art-single .art-meta__item a {
	color: inherit;
}

.art-single .art-icon {
	width: 24px;
	height: 24px;
	color: #9b9b9b;
}

.art-single .art-stars {
	gap: 4px;
	font-size: 16px;
}

.art-single .art-stars__star {
	color: #d4d4d8;
}

.art-single .art-stars__star.is-on {
	color: var(--art-star);
}

/* Preview */
.art-preview {
	padding: 18px 24px;
	border-radius: 18px;
	background: rgba(239, 239, 241, 0.8);
	font: 400 18px/32px var(--art-font-text);
	letter-spacing: 0.36px;
	color: #000;
}

.art-preview p {
	margin: 0 0 1em;
}

.art-preview p:last-child {
	margin-bottom: 0;
}

.art-preview .art-preview__label {
	margin: 0 0 18px;
	font-weight: 600;
	color: #ef4335;
}

/* Текст статьи */
.art-article__content {
	margin: 0;
	font: 400 18px/32px var(--art-font-text);
	letter-spacing: 0.36px;
	color: #3d3d3d;
}

.art-article__content > :first-child {
	margin-top: 0;
}

.art-article__content p {
	margin: 0 0 24px;
}

.art-article__content h2 {
	margin: 54px 0 18px;
	font: 500 32px/48px var(--art-font-head);
	letter-spacing: 0;
	color: #000;
	scroll-margin-top: 120px;
}

.art-article__content h3 {
	margin: 36px 0 12px;
	font: 500 24px/36px var(--art-font-head);
	letter-spacing: 0;
	color: #000;
	scroll-margin-top: 120px;
}

/* В макете списки жирные, 20px */
.art-article__content ul,
.art-article__content ol {
	margin: 0 0 24px;
	padding-left: 1.2em;
	font: 700 20px/35px var(--art-font-head);
	letter-spacing: 0;
}

.art-article__content strong,
.art-article__content b {
	font-weight: 700;
}

.art-article__content a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.art-article__content figure {
	margin: 36px 0;
}

.art-article__content img {
	display: block;
	max-width: 100%;
	height: auto;
	border-radius: 18px;
}

/* ---------- Оценка статьи ---------- */
.art-rate-wrap {
	margin-bottom: 120px;
}

.art-rating {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 300px;
	margin: 0;
	padding: 40px 24px;
	border: 0;
	border-radius: 18px;
	background: #e7f0f8;
	text-align: center;
}

.art-rating__title {
	margin: 0;
	font: 500 20px/35px var(--art-font-head);
	color: #111827;
}

.art-rating__stars {
	display: inline-flex;
	gap: 6px;
}

.art-rating__btn {
	padding: 0;
	border: 0;
	background: none;
	font-size: 34px;
	line-height: 1.3;
	color: #c3d1e0;
	cursor: pointer;
	transition: color 0.15s ease, transform 0.15s ease;
}

.art-rating__btn.is-hover,
.art-rating__btn.is-on {
	color: var(--art-star);
}

.art-rating__btn:hover {
	transform: scale(1.1);
}

.art-rating__btn:disabled {
	cursor: default;
	transform: none;
}

.art-rating__summary,
.art-rating__msg {
	margin: 0;
	font: 400 18px/30px var(--art-font-text);
	letter-spacing: 0.36px;
	color: #374151;
}

.art-rating__msg:empty {
	display: none;
}
/* ---------- Адаптив ---------- */
@media (max-width: 900px) {
	.art-section {
		padding: 48px 0;
	}

	.art-section__title {
		margin-bottom: 32px;
		font-size: 32px;
	}

	.art-card {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.art-card__title {
		margin-bottom: 16px;
		font-size: 22px;
	}

	.art-card__body .art-btn + .art-meta {
		padding-top: 20px;
	}

	.art-meta {
		row-gap: 8px;
	}

	.art-article {
		padding-top: 48px;
	}

	.art-article__title {
		font-size: 32px;
	}

	.art-article__content {
		font-size: 17px;
	}
}
@media (max-width: 1280px) {
	.art-article__layout {
		grid-template-columns: 300px minmax(0, 1fr);
		column-gap: 64px;
	}

	.art-article__title {
		font-size: 40px;
		line-height: 1.2;
	}
}

@media (max-width: 900px) {
	.art-article {
		padding-top: 48px;
	}

	/* порядок на мобильном: Back, заголовок, статья, CTA (оглавление скрыто) */
	.art-article__layout {
		display: flex;
		flex-direction: column;
		gap: 24px;
	}

	.art-aside,
	.art-aside__sticky {
		display: contents;
	}

	.art-back { order: 1; }
	.art-article__title { order: 2; font-size: 32px; line-height: 1.25; }
	.art-article__main { order: 3; }
	.art-cta { order: 4; }
	.art-toc { display: none; }

	.art-article__cover img {
		height: auto;
		aspect-ratio: 16 / 9;
	}

	.art-single .art-meta {
		justify-content: flex-start;
		row-gap: 8px;
		font-size: 16px;
	}

	.art-article__content {
		font-size: 17px;
		line-height: 1.7;
	}

	.art-article__content h2 {
		margin-top: 40px;
		font-size: 26px;
		line-height: 1.3;
	}

	.art-article__content ul,
	.art-article__content ol {
		font-size: 18px;
		line-height: 1.6;
	}

	.art-rate-wrap { margin-bottom: 64px; }
	.art-rating { min-height: 220px; }
}
/* ==========================================================================
   Архив статей: два варианта (/blog/ и рубрика). Вставьте в конец articles.css.
   Всё привязано к .art-archive, остальные страницы не затрагивается.
   ========================================================================== */

.art-archive {
	--art-bg: #09090b;
	--art-card: #121213;
	--art-muted: #9b9b9b;
	--art-tile-line: #3c3c3c;
	--art-font-head: "Inter", sans-serif;
	--art-font-text: "Inter Tight", "Inter", sans-serif;
	padding: 100px 0 120px;
	background: var(--art-bg);
	color: var(--art-text);
}

.art-archive__layout {
	display: grid;
	grid-template-columns: 262px minmax(0, 1fr);
	column-gap: 144px;
	align-items: start;
}

.art-archive__main {
	display: flex;
	flex-direction: column;
	gap: 54px;
	min-width: 0;
}

.art-archive .art-icon {
	width: 24px;
	height: 24px;
}

/* ---------- Левая колонка ---------- */
.art-nav {
	position: sticky;
	top: 120px; /* подправьте под высоту вашей шапки */
	display: flex;
	flex-direction: column;
	gap: 54px;
	min-width: 0;
}

.art-nav__back {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	gap: 12px;
	font: 400 14px/24px var(--art-font-head);
	color: var(--art-muted);
	text-decoration: none;
}

.art-nav__back-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border: 1px solid #fff;
	border-radius: 50%;
	color: #fff;
	transition: background 0.2s ease, color 0.2s ease;
}

.art-nav__back:hover .art-nav__back-icon {
	background: #fff;
	color: #000;
}

.art-nav__list {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.art-nav__link {
	padding: 4px 0;
	font: 500 20px/35px var(--art-font-head);
	color: var(--art-muted);
	text-decoration: none;
	transition: color 0.2s ease;
}

.art-nav__link:hover,
.art-nav__link.is-active {
	color: #fff;
}

/* ---------- Заголовок ---------- */
.art-head {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.art-head__title {
	margin: 0;
	font: 400 48px/64px var(--art-font-head);
	color: #fff;
}

.art-head__sub {
	margin: 0;
	padding: 4px 0;
	font: 500 20px/35px var(--art-font-head);
	color: var(--art-muted);
}

/* ---------- Плитки: общее ---------- */
.art-tile {
	position: relative;
	min-width: 0;
}

.art-tile__thumb {
	display: block;
	overflow: hidden;
	border-radius: 18px;
	background: #151515;
}

.art-tile__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.art-tile:hover .art-tile__thumb img {
	transform: scale(1.03);
}

.art-tile__thumb-placeholder {
	display: block;
	width: 100%;
	height: 100%;
}

.art-tile__body {
	min-width: 0;
}

.art-tile__title {
	margin: 0;
	font: 500 20px/35px var(--art-font-head);
}

.art-tile__title a {
	color: #fff;
	text-decoration: none;
}

.art-tile__title a:hover {
	text-decoration: underline;
	text-underline-offset: 4px;
}

.art-tile__date {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font: 400 18px/30px var(--art-font-text);
	letter-spacing: 0.36px;
	color: #fff;
}

.art-tile__excerpt {
	display: -webkit-box;
	margin: 0;
	overflow: hidden;
	font: 400 15px/22px var(--art-font-text);
	color: var(--art-muted);
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
}

.art-archive .art-tile__go {
	position: absolute;
	right: 17px;
	bottom: 24px;
	display: inline-flex;
	color: var(--art-tile-line);
	transition: color 0.2s ease;
}

.art-archive .art-tile__go .art-icon {
	width: 32px;
	height: 32px;
}

.art-archive .art-tile__go:hover {
	color: #fff;
}

/* Мета-строка (feature) */
.art-archive .art-meta {
	margin: 0;
	row-gap: 4px;
	font: 400 18px/30px var(--art-font-text);
	letter-spacing: 0.36px;
}

.art-archive .art-meta__item {
	padding: 0 7px;
	border-left: 1px solid var(--art-muted);
}

.art-archive .art-meta__item:first-child {
	padding-left: 0;
	border-left: 0;
}

.art-archive .art-stars {
	gap: 4px;
	font-size: 16px;
}

.art-archive .art-stars__star {
	color: #e2e2e2;
}

.art-archive .art-stars__star.is-on {
	color: var(--art-star);
}

/* ---------- Вариант 1: Recommended ---------- */
.art-rec {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.art-rec__grid {
	display: grid;
	grid-template-columns: minmax(0, 788fr) minmax(0, 382fr);
	gap: 24px;
	padding-bottom: 14px;
	border-bottom: 1px solid #a1a1aa;
}

.art-rec__side {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.art-tile--feature,
.art-tile--side {
	display: flex;
	flex-direction: column;
}

.art-tile--feature .art-tile__thumb {
	aspect-ratio: 788 / 400;
	margin-bottom: 16px;
}

.art-tile--feature .art-tile__body {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.art-tile--feature .art-tile__title {
	font-size: 32px;
	line-height: 48px;
}

.art-tile--side .art-tile__thumb {
	aspect-ratio: 382 / 188;
	margin-bottom: 8px;
}

.art-tile--side .art-tile__body {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.art-tile--side .art-tile__title {
	font-size: 18px;
	line-height: 28px;
}

/* ---------- Вариант 1: блоки рубрик ---------- */
.art-blocks {
	display: flex;
	flex-direction: column;
	gap: 54px;
}

.art-block {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.art-block__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.art-block__title {
	margin: 0;
	font: 500 24px/36px var(--art-font-head);
	color: #fff;
}

.art-block__all {
	flex: none;
	font: 400 14px/24px var(--art-font-head);
	color: var(--art-muted);
	text-decoration: none;
	transition: color 0.2s ease;
}

.art-block__all:hover {
	color: #fff;
}

.art-tile--block {
	display: grid;
	grid-template-columns: minmax(0, 653fr) minmax(0, 517fr);
	gap: 25px;
	align-items: start;
}

.art-tile--block .art-tile__thumb,
.art-tile--wide .art-tile__thumb {
	aspect-ratio: 653 / 306;
}

.art-tile--block .art-tile__body {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.art-tile--block .art-tile__excerpt,
.art-tile--wide .art-tile__excerpt {
	margin-top: 6px;
}

.art-block--list .art-block__body {
	max-width: 520px;
}

.art-list-compact {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.art-tile--compact {
	display: flex;
	align-items: flex-start;
	gap: 24px;
}

.art-tile--compact .art-tile__thumb {
	flex: none;
	width: 170px;
	aspect-ratio: 170 / 95;
	border-radius: 8px;
}

.art-tile--compact .art-tile__body {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.art-tile--compact .art-tile__title {
	font: 600 15px/22px var(--art-font-text);
}

.art-tile--compact .art-tile__date {
	font-size: 15px;
	line-height: 22px;
	letter-spacing: 0;
}

/* ---------- Вариант 2: рубрика ---------- */
.art-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 54px 24px;
}

.art-tile--grid {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-radius: 18px;
	background: var(--art-card);
}

.art-tile--grid .art-tile__thumb {
	aspect-ratio: 585 / 335;
}

.art-tile--grid .art-tile__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 14px;
	padding: 24px 17px;
}

.art-tile--grid .art-tile__date {
	margin-top: auto;
}

.art-grid .art-tile--wide {
	grid-column: 1 / -1;
}

.art-tile--wide {
	display: grid;
	grid-template-columns: minmax(0, 653fr) minmax(0, 517fr);
	gap: 25px;
	border-radius: 18px;
	background: var(--art-card);
}

.art-tile--wide .art-tile__body {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 12px 17px 56px 0;
}

/* Show more */
.art-more-wrap {
	display: flex;
	justify-content: flex-end;
}

.art-archive .art-more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 12px 28px;
	border-radius: 17px;
	background: #fff;
	color: #000;
	font: 400 24px/30px var(--art-font-head);
	text-decoration: none;
	transition: opacity 0.2s ease;
}

.art-archive .art-more:hover {
	opacity: 0.85;
	color: #000;
}

.art-archive .art-more .art-icon {
	width: 28px;
	height: 28px;
	color: var(--art-tile-line);
}

.art-archive .art-more.is-loading {
	opacity: 0.5;
	pointer-events: none;
}

/* ---------- Адаптив ---------- */
@media (max-width: 1280px) {
	.art-archive__layout {
		grid-template-columns: 220px minmax(0, 1fr);
		column-gap: 48px;
	}

	.art-head__title {
		font-size: 40px;
		line-height: 1.2;
	}
}

@media (max-width: 900px) {
	.art-archive {
		padding: 48px 0 72px;
	}

	.art-archive__layout {
		grid-template-columns: minmax(0, 1fr);
		row-gap: 32px;
	}

	.art-archive__main {
		gap: 40px;
	}

	/* Сайдбар -> горизонтальная полоса рубрик */
	.art-nav {
		position: static;
		gap: 24px;
	}

	.art-nav__list {
		flex-direction: row;
		gap: 8px;
		margin: 0 -24px;
		padding: 0 24px 4px;
		overflow-x: auto;
		scrollbar-width: none;
	}

	.art-nav__list::-webkit-scrollbar {
		display: none;
	}

	.art-nav__link {
		flex: none;
		padding: 6px 16px;
		border: 1px solid var(--art-tile-line);
		border-radius: 999px;
		font-size: 15px;
		line-height: 24px;
		white-space: nowrap;
	}

	.art-nav__link:hover,
	.art-nav__link.is-active {
		border-color: #fff;
	}

	.art-head__title {
		font-size: 32px;
		line-height: 1.25;
	}

	.art-head__sub {
		font-size: 17px;
		line-height: 1.5;
	}

	.art-rec__grid {
		grid-template-columns: 1fr;
	}

	.art-rec__side {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.art-tile--feature .art-tile__title {
		font-size: 24px;
		line-height: 1.35;
	}

	.art-archive .art-meta {
		font-size: 15px;
		line-height: 1.6;
	}

	.art-blocks {
		gap: 40px;
	}

	.art-tile--block,
	.art-tile--wide {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.art-tile--wide {
		gap: 0;
	}

	.art-tile--wide .art-tile__body {
		padding: 16px 17px 64px;
	}

	.art-block--list .art-block__body {
		max-width: none;
	}

	.art-tile--compact {
		gap: 16px;
	}

	.art-tile--compact .art-tile__thumb {
		width: 120px;
	}

	.art-grid {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.art-more-wrap {
		justify-content: center;
	}

	.art-archive .art-more {
		font-size: 20px;
	}
}

@media (max-width: 520px) {
	.art-rec__side {
		grid-template-columns: 1fr;
	}
}
/*TINY-MCE*/
/* Подпись к изображению */
.art-article__content figcaption,
.art-article__content .wp-caption-text,
.art-article__content .art-caption,
.art-caption {
	margin: 12px 0 0;
	font: 400 18px/32px var(--art-font-text, "Inter Tight", "Inter", sans-serif);
	letter-spacing: 0.36px;
	color: #3d3d3d;
}

/* Классический редактор задаёт .wp-caption inline-ширину, сбрасываем */
.art-article__content .wp-caption {
	width: auto !important;
	max-width: 100%;
}

@media (max-width: 900px) {
	.art-article__content figcaption,
	.art-article__content .wp-caption-text,
	.art-article__content .art-caption,
	.art-caption {
		font-size: 16px;
		line-height: 1.6;
	}
}