/* === ЭТАП 2: блог (archive-blog.php, taxonomy-blog_cat.php, single-blog.php, blog-11096.php) === */
/* Переиспользует .stl2-hero/.stl2-container/.stl2-btn--red/.stl2-pagination-паттерн
   из page-flexible-content.css. Карточка новости — .stl2-news-card, тот же
   класс, что используется в inc/news.php на Главной, но стили здесь
   продублированы локально (та же логика, что и в other местах: не тянуть
   зависимость между несвязанными страницами через enqueue). */

.stl2-blog-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 32px;
}
.stl2-blog-tab {
	display: inline-flex;
	align-items: center;
	padding: 10px 20px;
	border-radius: 24px;
	border: 1px solid #E5E7EB;
	color: #444;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	font-family: Montserrat, sans-serif;
	white-space: nowrap;
	transition: background .15s, color .15s, border-color .15s;
}
.stl2-blog-tab:hover {
	border-color: #F34423;
	color: #F34423;
}
.stl2-blog-tab.active {
	background: #F34423;
	border-color: #F34423;
	color: #fff;
}

.stl2-news-grid.stl2-blog-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin-bottom: 32px;
}
.stl2-news-card {
	background: #fff;
	border: 1px solid #E5E7EB;
	border-radius: 14px;
	overflow: hidden;
}
.stl2-news-card__img {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 160px;
	background-color: #1A1A1A;
	background-size: cover;
	background-position: center;
	color: rgba(255, 255, 255, .3);
	font-size: 32px;
}
.stl2-news-card__body {
	padding: 20px;
}
.stl2-news-card__date {
	font-size: 12px;
	color: #9CA3AF;
	font-family: Montserrat, sans-serif;
	margin-bottom: 8px;
}
.stl2-news-card__title {
	display: block;
	font-size: 15px;
	font-weight: 700;
	color: #1A1A1A;
	text-decoration: none;
	font-family: Montserrat, sans-serif;
	line-height: 1.4;
	margin-bottom: 8px;
}
.stl2-news-card__excerpt {
	font-size: 13px;
	color: #6B7280;
	line-height: 1.6;
	font-family: Montserrat, sans-serif;
}

.stl2-blog-empty {
	font-size: 15px;
	color: #6B7280;
	font-family: Montserrat, sans-serif;
	padding: 40px 0;
	text-align: center;
}

.stl2-pagination {
	display: flex;
	justify-content: center;
	gap: 6px;
}
.stl2-pagination .page-numbers {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 38px;
	padding: 0 10px;
	border: 1px solid #E5E7EB;
	border-radius: 8px;
	color: #444;
	text-decoration: none;
	font-size: 14px;
	font-weight: 600;
	font-family: Montserrat, sans-serif;
	transition: background .15s, color .15s, border-color .15s;
}
.stl2-pagination .page-numbers.current {
	background: #F34423;
	border-color: #F34423;
	color: #fff;
}
.stl2-pagination .page-numbers:not(.current):not(.dots):hover {
	border-color: #F34423;
	color: #F34423;
}
.stl2-pagination .page-numbers.dots {
	border: none;
	color: #9CA3AF;
}

/* --- single-blog.php / blog-11096.php --- */
.stl2-blog-single__inner {
	max-width: 820px;
}
.stl2-blog-single__breadcrumb {
	font-size: 12px;
	color: #9CA3AF;
	margin-bottom: 18px;
	font-family: Montserrat, sans-serif;
}
.stl2-blog-single__breadcrumb a {
	color: #9CA3AF;
	text-decoration: none;
}
.stl2-blog-single__breadcrumb span {
	opacity: .6;
	margin: 0 6px;
}
.stl2-blog-single__title {
	font-size: clamp(24px, 3.5vw, 34px);
	font-weight: 800;
	color: #1A1A1A;
	line-height: 1.25;
	margin-bottom: 24px;
	font-family: Montserrat, sans-serif;
}
.stl2-blog-single__date {
	font-size: 13px;
	color: #9CA3AF;
	font-family: Montserrat, sans-serif;
	margin-bottom: 20px;
}
.stl2-blog-single__content {
	font-size: 15px;
	color: #444;
	line-height: 1.8;
	font-family: Montserrat, sans-serif;
}
.stl2-blog-single__content p {
	margin-bottom: 16px;
}
.stl2-blog-single__content img {
	max-width: 100%;
	height: auto;
	border-radius: 10px;
	margin: 8px 0 16px;
}
.stl2-blog-single__content h2,
.stl2-blog-single__content h3 {
	font-weight: 800;
	color: #1A1A1A;
	font-family: Montserrat, sans-serif;
	margin: 28px 0 14px;
}
.stl2-blog-single__content ul,
.stl2-blog-single__content ol {
	margin: 0 0 16px;
	padding-left: 22px;
}
.stl2-blog-single__content li {
	margin-bottom: 6px;
}
.stl2-blog-single__content--wide {
	max-width: none;
}

.stl2-blog-poster .stl2-hero__subtitle {
	max-width: 720px;
}

@media (max-width: 900px) {
	.stl2-news-grid.stl2-blog-grid {
		grid-template-columns: 1fr;
	}
}
