/* ========================================================================
   KDK Blog: автор, мета, share, FAQ, TOC
   ======================================================================== */

/* --- Meta-блок --- */
.kdk-article-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px;
	margin: 16px 0 24px;
	color: #6b7480;
	font-size: 14px;
}
.kdk-article-meta__cat {
	display: inline-flex;
	align-items: center;
	background: #e8f0fa;
	color: #1a5fa0;
	padding: 4px 12px;
	border-radius: 999px;
	text-decoration: none;
	font-weight: 500;
	font-size: 13px;
	transition: background .2s;
}
.kdk-article-meta__cat:hover { background: #ccd9f0; color: #14529a; }
.kdk-article-meta__date,
.kdk-article-meta__time,
.kdk-article-meta__updated,
.kdk-article-meta__views {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
.kdk-article-meta__updated { color: #2873b2; font-weight: 500; }
.kdk-article-meta__views { color: #8a9bb0; }

/* --- Hero --- */
.articles-typical__hero {
	margin: 0 0 28px;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 8px 32px rgba(0,0,0,.08);
}
.articles-typical__hero img {
	display: block;
	width: 100%;
	height: auto;
}

/* --- Карточка автора --- */
.kdk-author {
	display: flex;
	gap: 16px;
	align-items: center;
	padding: 16px;
	background: #f7f9f7;
	border-left: 3px solid #2873b2;
	border-radius: 12px;
	margin: 0 0 32px;
}
.kdk-author--bottom {
	margin: 40px 0 24px;
	padding: 24px;
	background: linear-gradient(135deg, #f4f8fd 0%, #fff 100%);
	border-left-width: 4px;
}
.kdk-author__photo {
	flex: 0 0 64px;
	width: 64px;
	height: 64px;
}
.kdk-author__photo img {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	object-fit: cover;
}
.kdk-author--bottom .kdk-author__photo {
	flex: 0 0 88px;
	width: 88px;
	height: 88px;
}
.kdk-author--bottom .kdk-author__photo img {
	width: 100%;
	height: 100%;
}
.kdk-author__body { flex: 1; min-width: 0; }
.kdk-author__role {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: #2873b2;
	font-weight: 600;
	margin-bottom: 4px;
}
.kdk-author__name {
	font-size: 17px;
	font-weight: 700;
	color: #1c1c1c;
	text-decoration: none;
	display: inline-block;
}
.kdk-author__name:hover { color: #2873b2; }
.kdk-author__position {
	color: #6b7480;
	font-size: 14px;
	margin-top: 2px;
}
.kdk-author__credentials {
	font-size: 13px;
	color: #8c95a1;
	margin-top: 4px;
}
.kdk-author__bio {
	margin-top: 10px;
	color: #4a5260;
	font-size: 14px;
	line-height: 1.6;
}

/* --- Соц.шеринг --- */
.kdk-share {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	margin: 32px 0 24px;
	padding: 16px 0;
	border-top: 1px solid #dde3ea;
	border-bottom: 1px solid #dde3ea;
}
.kdk-share__label {
	font-weight: 600;
	color: #1c1c1c;
	margin-right: 4px;
}
.articles-typical__back-link {
	margin-top: 32px;
}
.articles-typical__back-link a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #2873b2;
	font-weight: 600;
	font-size: 14px;
	text-decoration: none;
	transition: color .2s;
}
.articles-typical__back-link a:hover { color: #1a5fa0; }
.articles-typical__back-link svg { transition: transform .2s; }
.articles-typical__back-link a:hover svg { transform: translateX(-3px); }
.kdk-share__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 36px;
	padding: 0 14px;
	border-radius: 8px;
	background: #fff;
	color: #1c1c1c;
	border: 1px solid #d6dcd6;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	transition: all .2s;
}
.kdk-share__btn:hover { background: #2873b2; color: #fff; border-color: #2873b2; }
.kdk-share__btn--vk:hover { background: #4a76a8; border-color: #4a76a8; }
.kdk-share__btn--tg:hover { background: #2aabee; border-color: #2aabee; }
.kdk-share__btn--ok:hover { background: #ee8208; border-color: #ee8208; }
.kdk-share__btn--wa:hover { background: #25d366; border-color: #25d366; }

/* --- TOC (генерируется плагином) --- */
.kdk-ai-writer-toc {
	background: #fafcff;
	border: 1px solid #dde3ea;
	border-left: 3px solid #2873b2;
	border-radius: 10px;
	padding: 16px 20px;
	margin: 0 0 28px;
}
.kdk-ai-writer-toc strong {
	display: block;
	font-size: 16px;
	margin-bottom: 8px;
	color: #1c1c1c;
}
.kdk-ai-writer-toc ul {
	list-style: none;
	margin: 0;
	padding: 0;
	counter-reset: kdk-toc;
}
.kdk-ai-writer-toc li {
	counter-increment: kdk-toc;
	padding: 4px 0 4px 28px;
	position: relative;
}
.kdk-ai-writer-toc li::before {
	content: counter(kdk-toc) ".";
	position: absolute;
	left: 0;
	color: #2873b2;
	font-weight: 700;
}
.kdk-ai-writer-toc a {
	color: #1c1c1c;
	text-decoration: none;
	border-bottom: 1px dashed #c9d3c9;
	transition: color .2s;
}
.kdk-ai-writer-toc a:hover { color: #2873b2; border-color: #2873b2; }

/* --- FAQ (аккордеон) --- */
.articles-typical__content .kdk-ai-writer-faq,
.kdk-ai-writer-faq {
	margin: 48px 0 32px;
	background: #f4f8fd;
	border-radius: 14px;
	padding: 28px 32px 20px;
}
.articles-typical__content .kdk-ai-writer-faq > h2,
.kdk-ai-writer-faq > h2 {
	margin: 0 0 18px;
	font-size: 20px;
	font-weight: 700;
	color: #1c1c1c;
	border: none;
}
.articles-typical__content .kdk-ai-writer-faq .faq-item,
.kdk-ai-writer-faq .faq-item {
	background: #fff;
	border-radius: 10px;
	margin-bottom: 8px;
	overflow: hidden;
	box-shadow: 0 1px 6px rgba(0,0,0,.06);
	border: 1px solid #e6edf5;
	transition: box-shadow .2s;
}
.articles-typical__content .kdk-ai-writer-faq .faq-item:hover,
.kdk-ai-writer-faq .faq-item:hover {
	box-shadow: 0 4px 18px rgba(40,115,178,.12);
}
.articles-typical__content .kdk-ai-writer-faq .faq-item.is-open,
.kdk-ai-writer-faq .faq-item.is-open {
	border-color: #b8d4ee;
}
/* Вопрос */
.articles-typical__content .kdk-ai-writer-faq .faq-item h3,
.kdk-ai-writer-faq .faq-item h3 {
	margin: 0;
	padding: 16px 18px 16px 18px;
	font-size: 1vw !important;
	font-weight: 600;
	color: #1c1c1c;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	user-select: none;
	transition: color .2s, background .2s;
	line-height: 1.5;
}
.articles-typical__content .kdk-ai-writer-faq .faq-item h3::before,
.kdk-ai-writer-faq .faq-item h3::before {
	content: none !important;
}
/* Шеврон */
.articles-typical__content .kdk-ai-writer-faq .faq-item h3::after,
.kdk-ai-writer-faq .faq-item h3::after {
	content: '';
	flex-shrink: 0;
	width: 22px;
	height: 22px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232873b2' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	transition: transform .25s ease;
}
.articles-typical__content .kdk-ai-writer-faq .faq-item.is-open h3,
.kdk-ai-writer-faq .faq-item.is-open h3 {
	color: #2873b2;
}
.articles-typical__content .kdk-ai-writer-faq .faq-item.is-open h3::after,
.kdk-ai-writer-faq .faq-item.is-open h3::after {
	transform: rotate(180deg);
}
/* Ответ */
.articles-typical__content .kdk-ai-writer-faq .faq-item p,
.kdk-ai-writer-faq .faq-item p {
	margin: 0;
	padding: 0 20px;
	color: #3d4a5c;
	line-height: 1.75;
	font-size: 0.9vw !important;
	background: #fff;
	max-height: 0;
	overflow: hidden;
	transition: max-height .3s ease, padding .3s ease;
}
.articles-typical__content .kdk-ai-writer-faq .faq-item.is-open p,
.kdk-ai-writer-faq .faq-item.is-open p {
	max-height: 600px;
	padding: 4px 20px 18px;
}

@media only screen and (max-width: 768px) {
	.articles-typical__content .kdk-ai-writer-faq,
	.kdk-ai-writer-faq {
		padding: 20px 16px 14px;
		border-radius: 10px;
		margin: 32px 0 20px;
	}
	.articles-typical__content .kdk-ai-writer-faq > h2,
	.kdk-ai-writer-faq > h2 {
		font-size: 17px;
	}
	.articles-typical__content .kdk-ai-writer-faq .faq-item h3,
	.kdk-ai-writer-faq .faq-item h3 {
		font-size: 1.05em !important;
		padding: 14px 14px;
	}
	.articles-typical__content .kdk-ai-writer-faq .faq-item p,
	.kdk-ai-writer-faq .faq-item p {
		font-size: 1em !important;
	}
	.articles-typical__content .kdk-ai-writer-faq .faq-item.is-open p,
	.kdk-ai-writer-faq .faq-item.is-open p {
		padding: 2px 14px 16px;
	}
}

/* --- Контент статьи: типографика и читабельность --- */
.articles-typical__content > h2 {
	margin-top: 36px;
	scroll-margin-top: 90px;
}
.articles-typical__content > h3 {
	margin-top: 24px;
	scroll-margin-top: 90px;
}
.articles-typical__content > p {
	line-height: 1.75;
}
.articles-typical__content blockquote {
	border-left: 4px solid #2873b2;
	background: #f4f8fd;
	padding: 16px 22px;
	margin: 24px 0;
	border-radius: 0 8px 8px 0;
	color: #2a3340;
	font-style: italic;
}
.articles-typical__content table {
	width: 100%;
	border-collapse: collapse;
	margin: 24px 0;
	font-size: 14px;
}
.articles-typical__content table caption {
	font-size: 15px;
	font-weight: 600;
	color: #4a5260;
	text-align: center;
	padding: 0 0 10px;
	caption-side: top;
}
.articles-typical__content table th,
.articles-typical__content table td {
	border: 1px solid #dde3ea;
	padding: 10px 14px;
	text-align: left;
}
.articles-typical__content table th {
	background: #2873b2;
	color: #ffffff;
	font-weight: 600;
}

/* --- Страница автора (новый дизайн) --- */
.kdk-author-page { padding: 32px 0 48px; }

.kdk-author-hero {
	display: grid;
	grid-template-columns: 280px 1fr;
	gap: 36px;
	align-items: start;
	background: linear-gradient(135deg, #f4faf3 0%, #ffffff 100%);
	border: 1px solid #dde8f0;
	border-radius: 20px;
	padding: 36px;
	margin-bottom: 40px;
	box-shadow: 0 8px 32px rgba(49, 185, 57, 0.06);
}
.kdk-author-hero__photo img {
	width: 100%;
	height: 280px;
	object-fit: cover;
	border-radius: 16px;
	box-shadow: 0 12px 32px rgba(0,0,0,.12);
}
.kdk-author-hero__photo-placeholder {
	width: 100%;
	height: 280px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #2873b2, #1a5fa0);
	color: #fff;
	font-size: 96px;
	font-weight: 700;
	border-radius: 16px;
}
.kdk-author-hero__body { display: flex; flex-direction: column; gap: 14px; }
.kdk-author-hero__badge {
	align-self: flex-start;
	display: inline-block;
	background: #2873b2;
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	padding: 6px 14px;
	border-radius: 20px;
	letter-spacing: .3px;
}
.kdk-author-hero__name {
	font-size: 38px;
	font-weight: 700;
	margin: 0;
	line-height: 1.15;
	color: #1c2530;
}
.kdk-author-hero__tagline {
	font-size: 17px;
	line-height: 1.55;
	color: #4a5260;
	margin: 0;
}
.kdk-author-hero__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.kdk-chip {
	display: inline-block;
	background: #fff;
	border: 1px solid #c8d8ea;
	color: #2873b2;
	font-size: 13px;
	font-weight: 500;
	padding: 5px 12px;
	border-radius: 14px;
}
.kdk-author-hero__stats {
	display: flex;
	gap: 28px;
	margin-top: 6px;
	padding: 16px 0;
	border-top: 1px solid #dde8f0;
	border-bottom: 1px solid #dde8f0;
}
.kdk-author-stat__value {
	font-size: 28px;
	font-weight: 700;
	color: #2873b2;
	line-height: 1;
}
.kdk-author-stat__label {
	font-size: 13px;
	color: #6b7480;
	margin-top: 4px;
}
.kdk-author-hero__socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.kdk-social {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 9px 16px;
	border-radius: 10px;
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
	transition: transform .15s, box-shadow .15s;
	color: #fff;
}
.kdk-social:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,.15); color: #fff; }
.kdk-social--mail { background: #6b7480; }
.kdk-social--tg   { background: #2AABEE; }
.kdk-social--vk   { background: #0077FF; }
.kdk-social--ok   { background: #EE8208; }
.kdk-social svg { flex-shrink: 0; }

.kdk-author-section { margin-bottom: 40px; }
.kdk-author-section__title {
	font-size: 24px;
	font-weight: 700;
	color: #1c2530;
	margin: 0 0 20px;
	padding-bottom: 10px;
	border-bottom: 2px solid #2873b2;
	display: inline-block;
}
.kdk-author-section__count { color: #8c95a1; font-weight: 400; font-size: 18px; }

.kdk-author-credentials {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 14px;
}
.kdk-author-credentials__card {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	padding: 16px 18px;
	background: #fff;
	border: 1px solid #dde8f0;
	border-radius: 12px;
	transition: border-color .15s, box-shadow .15s;
}
.kdk-author-credentials__card:hover { border-color: #2873b2; box-shadow: 0 4px 14px rgba(40,115,178,.1); }
.kdk-author-credentials__icon { color: #2873b2; flex-shrink: 0; margin-top: 2px; }
.kdk-author-credentials__text { font-size: 14px; line-height: 1.5; color: #2a3340; }

.kdk-author-bio {
	max-width: 820px;
	font-size: 16px;
	line-height: 1.75;
	color: #2a3340;
}
.kdk-author-bio p { margin: 0 0 14px; }

@media (max-width: 900px) {
	.kdk-author-hero {
		grid-template-columns: 1fr;
		text-align: center;
		padding: 24px;
		gap: 24px;
	}
	.kdk-author-hero__photo img,
	.kdk-author-hero__photo-placeholder { width: 200px; height: 200px; margin: 0 auto; }
	.kdk-author-hero__badge { align-self: center; }
	.kdk-author-hero__chips,
	.kdk-author-hero__stats,
	.kdk-author-hero__socials { justify-content: center; }
	.kdk-author-hero__name { font-size: 28px; }
}

/* --- Карточка статьи в архиве: расширение --- */
.articles__item .item-meta {
	display: flex;
	gap: 10px;
	font-size: 12px;
	color: #8c95a1;
	margin: 6px 0 0;
}

@media (max-width: 768px) {
	.kdk-author { flex-direction: column; align-items: flex-start; text-align: left; }
	.kdk-author__photo img { width: 56px; height: 56px; }
	.kdk-share { gap: 6px; }
	.kdk-share__btn { padding: 0 10px; min-width: 40px; font-size: 12px; }
}

/* ========================================================================
   BLOG ARCHIVE: герой, фильтры, сетка карточек
   ======================================================================== */

/* Секция архива */
.blog-archive { padding: 32px 0 56px; }

/* --- Герой блога --- */
.blog-hero {
	position: relative;
	background: linear-gradient(135deg, #f0f5ff 0%, #e6eeff 100%);
	border-radius: 20px;
	padding: 44px 52px;
	margin-bottom: 36px;
	overflow: hidden;
}
.blog-hero::before {
	content: '';
	position: absolute;
	top: -60px; right: -60px;
	width: 360px; height: 360px;
	background: radial-gradient(circle, rgba(40,115,178,.10) 0%, transparent 68%);
	pointer-events: none;
}
.blog-hero__label {
	display: inline-block;
	background: #2873b2;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	padding: 5px 14px;
	border-radius: 20px;
	margin-bottom: 14px;
}
.blog-hero__title {
	font-size: 42px;
	font-weight: 800;
	color: #1c1c1c;
	margin: 0 0 12px;
	line-height: 1.15;
}
.blog-hero__desc {
	font-size: 17px;
	color: #4a5260;
	margin: 0;
	max-width: 600px;
	line-height: 1.6;
}
.blog-hero--cat .blog-hero__title { font-size: 36px; }

/* --- Фильтры-пилюли --- */
.blog-filters {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	margin-bottom: 32px;
}
.blog-filter-btn {
	display: inline-block;
	padding: 9px 22px;
	border-radius: 24px;
	background: #f2f4f2;
	color: #4a5260;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	border: 2px solid transparent;
	transition: all .2s;
	white-space: nowrap;
}
.blog-filter-btn:hover { background: #e8f0fa; color: #1a5fa0; border-color: #a8c8e8; }
.blog-filter-btn.active { background: #2873b2; color: #fff; border-color: #2873b2; }

/* --- Сетка статей --- */
.blog-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
}

/* ========================================================================
   BLOG CARD: современная карточка
   ======================================================================== */
.blog-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 2px 14px rgba(0,0,0,.06);
	text-decoration: none;
	color: inherit;
	transition: transform .3s ease, box-shadow .3s ease;
}
.blog-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 14px 44px rgba(0,0,0,.11);
	color: inherit;
	text-decoration: none;
}

/* Обёртка изображения */
.blog-card__img-wrap {
	position: relative;
	padding-top: 60%;
	overflow: hidden;
	flex-shrink: 0;
	background: #f0f2f0;
}
.blog-card__img-wrap img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .5s ease;
}
.blog-card:hover .blog-card__img-wrap img { transform: scale(1.05); }

/* Заглушка без обложки */
.blog-card__img-placeholder {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #f0f4f9, #dde3ea);
}

/* Значок категории поверх картинки */
.blog-card__cat {
	position: absolute;
	top: 12px; left: 12px;
	background: #2873b2;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .05em;
	padding: 4px 11px;
	border-radius: 20px;
	z-index: 2;
	cursor: pointer;
	transition: background .2s;
}
.blog-card__cat:hover { background: #1a5fa0; }

/* Тело карточки */
.blog-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 20px 22px 24px;
	gap: 10px;
}
.blog-card__title {
	font-size: 17px;
	font-weight: 700;
	color: #1c1c1c;
	line-height: 1.42;
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	transition: color .2s;
}
.blog-card:hover .blog-card__title { color: #2873b2; }

.blog-card__excerpt {
	font-size: 14px;
	color: #6b7480;
	line-height: 1.6;
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.blog-card__meta {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	color: #9aa0ad;
	flex-wrap: wrap;
	margin-top: auto;
	padding-top: 4px;
}
.blog-card__meta-author { font-weight: 600; color: #6b7480; }
.blog-card__meta-sep { color: #c8d0c8; }

.blog-card__link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #ffa62b;
	font-size: 13px;
	font-weight: 600;
	margin-top: 4px;
	text-decoration: none;
}
.blog-card__link svg { transition: transform .2s; color: #ffa62b; }
.blog-card:hover .blog-card__link svg { transform: translateX(4px); }

/* ========================================================================
   RELATED ARTICLES: похожие статьи
   ======================================================================== */
.kdk-related {
	padding: 56px 0 64px;
	border-top: 1px solid #dde3ea;
	background: #fafcff;
}
.kdk-related__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 28px;
	gap: 16px;
}
.kdk-related__title {
	font-size: 30px;
	font-weight: 800;
	color: #1c1c1c;
	margin: 0;
}
.kdk-related__all {
	color: #2873b2;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
	transition: color .2s;
}
.kdk-related__all:hover { color: #1a5fa0; }
.kdk-related__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

/* ========================================================================
   PAGINATION
   ======================================================================== */
.page-pagination {
	padding: 40px 0 16px;
	display: flex;
	justify-content: center;
}
.page-pagination .navigation,
.page-pagination .nav-links {
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
}
/* Переопределяем стили main.css с той же специфичностью (.navigation .page-numbers) */
.page-pagination .navigation .page-numbers {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	min-width: 44px !important;
	width: auto !important;
	height: 44px !important;
	padding: 0 14px !important;
	border-radius: 12px !important;
	background: #f4f7fa !important;
	color: #4a5260 !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	text-decoration: none !important;
	transition: all .2s !important;
	border: 2px solid transparent !important;
	margin: 0 !important;
	position: static !important;
}
.page-pagination .navigation .page-numbers:hover {
	background: #e8f0fa !important;
	color: #2873b2 !important;
	border-color: #a8c8e8 !important;
}
.page-pagination .navigation .page-numbers.current {
	background: #2873b2 !important;
	color: #fff !important;
	border-color: #2873b2 !important;
	border-radius: 12px !important;
	box-shadow: 0 4px 14px rgba(40,115,178,.30) !important;
	pointer-events: none !important;
}
.page-pagination .navigation .page-numbers.dots {
	background: transparent !important;
	border-color: transparent !important;
	color: #9aa0ad !important;
	min-width: 28px !important;
	padding: 0 !important;
}
/* Стрелки: убираем ::before из main.css, добавляем SVG-контент через стандартный цвет */
.page-pagination .navigation .page-numbers.prev,
.page-pagination .navigation .page-numbers.next {
	background: #fff !important;
	border-color: #dde3ea !important;
	color: #2873b2 !important;
	font-size: 0 !important;
	padding: 0 10px !important;
}
.page-pagination .navigation .page-numbers.prev::before,
.page-pagination .navigation .page-numbers.next::before {
	display: none !important;
}
.page-pagination .navigation .page-numbers.prev svg,
.page-pagination .navigation .page-numbers.next svg {
	display: block !important;
	width: 16px !important;
	height: 16px !important;
	stroke: currentColor;
}
.page-pagination .navigation .page-numbers.next svg {
	transform: rotate(180deg);
}
.page-pagination .navigation .page-numbers.prev:hover svg,
.page-pagination .navigation .page-numbers.next:hover svg {
	color: #fff !important;
	stroke: #fff !important;
}
.page-pagination .navigation .page-numbers.prev:hover,
.page-pagination .navigation .page-numbers.next:hover {
	background: #2873b2 !important;
	border-color: #2873b2 !important;
	color: #fff !important;
}

/* ========================================================================
   LARGE SCREENS: 2K / 4K мониторы
   ======================================================================== */
@media (min-width: 1600px) {
	.blog-hero { padding: 56px 68px; border-radius: 24px; margin-bottom: 44px; }
	.blog-hero__title { font-size: 54px; }
	.blog-hero--cat .blog-hero__title { font-size: 46px; }
	.blog-hero__desc { font-size: 20px; max-width: 720px; }
	.blog-filter-btn { font-size: 15px; padding: 10px 26px; }
	.blog-grid { gap: 34px; }
	.blog-card { border-radius: 20px; }
	.blog-card__body { padding: 24px 26px 28px; gap: 12px; }
	.blog-card__title { font-size: 20px; }
	.blog-card__excerpt { font-size: 16px; }
}

/* ========================================================================
   СТАТЬЯ: САЙДБАР С ФОРМОЙ
   ======================================================================== */

/* Десктоп: сайдбар прилипает при прокрутке */
.article-sidebar {
	display: block;
	padding-left: 20px;
}
.article-sidebar__sticky {
	position: sticky;
	top: 110px;
}

/* Переопределяем стили .first__form внутри сайдбара */
.article-sidebar__form.first__form {
	width: 100%;
	border: 2px solid #dde8f5;
	border-radius: 16px;
	background: #fff;
	padding: 24px 22px 20px;
	box-shadow: 0 4px 24px rgba(40, 115, 178, .10);
	color: var(--text-main-color, #1c1c1c);
}
.article-sidebar__form .form-title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 1vw;
}
.article-sidebar__form .form-title p {
	flex: 1;
	font-weight: 700;
	font-size: 1.1vw;
	line-height: 1.35;
	letter-spacing: .01em;
	color: #1c1c1c;
}
.article-sidebar__form .form-title .form-img {
	flex-shrink: 0;
	width: 72px;
	height: 98px;
}
.article-sidebar__form .form-title .form-img img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}
.article-sidebar__form .form-container {
	display: flex;
	flex-direction: column;
}
.article-sidebar__form .form-container .form-input {
	margin: 0 0 10px;
	width: 100%;
}
.article-sidebar__form .form-container .form-btn {
	width: 100%;
	padding: 0 16px;
}
.article-sidebar__form .form-container .form-btn span {
	font-size: 1vw;
}
.article-sidebar__form .form-checkbox {
	margin-top: 10px;
	padding: 0;
}
.article-sidebar__form .form-checkbox p,
.article-sidebar__form .form-checkbox p a {
	font-size: 12px;
}
.article-sidebar__benefits {
	list-style: none;
	padding: 0;
	margin: 16px 0 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.article-sidebar__benefits li {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 0.6vw;
	color: #4a5568;
	line-height: 1.4;
}
.article-sidebar__benefits li::before {
	content: '';
	width: 18px;
	height: 18px;
	min-width: 18px;
	border-radius: 50%;
	background: #eaf7ec url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6l3 3 5-5' stroke='%2331b939' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* Мобильная форма — СКРЫТА на десктопе */
.article-sidebar__mobile {
	display: none;
}

/* Планшеты/небольшие десктопы: сайдбар переезжает под контент, контент на всю ширину */
@media only screen and (max-width: 1750px) {
	.articles-typical__container {
		flex-direction: column;
	}
	.articles-typical__content {
		width: 100%;
	}
	.articles-typical__side {
		width: 100%;
		padding-left: 0;
	}
	.article-sidebar__sticky {
		position: static;
	}
	.article-sidebar__form.first__form {
		max-width: 560px;
	}
}

/* Мобильные: скрываем десктопный сайдбар, показываем форму внутри контента */
@media only screen and (max-width: 768px) {
	.article-sidebar {
		display: none !important;
	}
	.article-sidebar__mobile {
		display: block;
		margin-top: 32px;
	}
	.article-sidebar__mobile .article-sidebar__form.first__form {
		width: 100%;
		border-radius: 16px;
		border: 2px solid #dde8f5;
		padding: 22px 18px 18px;
	}
	.article-sidebar__mobile .article-sidebar__form .form-title {
		flex-direction: column;
		align-items: center;
		gap: 16px;
		margin-bottom: 20px;
	}
	.article-sidebar__mobile .article-sidebar__form .form-title p {
		font-size: clamp(22px, 6vw, 32px);
		text-align: center;
		width: 100%;
	}
	.article-sidebar__mobile .article-sidebar__form .form-title .form-img {
		width: 50vw;
		max-width: 200px;
		height: auto;
		min-height: 0;
	}
	.article-sidebar__mobile .article-sidebar__form .form-title .form-img img {
		width: 100%;
		height: auto;
		object-fit: contain;
	}
	.article-sidebar__mobile .article-sidebar__form .form-container .form-btn {
		width: 100%;
		padding: 0 16px;
	}
	.article-sidebar__mobile .article-sidebar__form .form-container .form-btn span {
		font-size: clamp(14px, 4vw, 17px);
	}
}
	.blog-card__meta { font-size: 14px; }
	.blog-card__link { font-size: 15px; }
	.kdk-related__title { font-size: 38px; }
	.kdk-related__grid { gap: 30px; }
}

/* ========================================================================
   RESPONSIVE
   ======================================================================== */
@media (max-width: 1100px) {
	.blog-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
	.kdk-related__grid { grid-template-columns: repeat(2, 1fr); }
	.blog-hero__title { font-size: 34px; }
}
@media (max-width: 900px) {
	.blog-hero { padding: 32px 32px; }
	.blog-hero__title { font-size: 28px; }
}
@media (max-width: 640px) {
	.blog-archive { padding: 16px 0 40px; }
	.blog-hero { padding: 24px 22px; border-radius: 14px; margin-bottom: 24px; }
	.blog-hero__title { font-size: 24px; }
	.blog-hero__desc { font-size: 15px; }
	.blog-grid { grid-template-columns: 1fr; gap: 18px; }
	.kdk-related__grid { grid-template-columns: 1fr; gap: 16px; }
	.kdk-related { padding: 36px 0 44px; }
	.kdk-related__title { font-size: 22px; }
	.blog-filters { gap: 8px; }
	.blog-filter-btn { font-size: 13px; padding: 7px 16px; }
	.blog-card__body { padding: 16px 18px 20px; }
	.blog-card__title { font-size: 15px; }
}

/* ========================================================================
   Секция «Новости и статьи» на главной странице
   ======================================================================== */
.home-articles {
	padding: 5vw 0;
	background: #f8f9fb;
}
.home-articles__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 2vw;
}
.home-articles__title {
	font-size: 3.125vw;
	line-height: 4.167vw;
	margin: 0;
}
.home-articles__all.md-main-color-btn::after,
.home-articles__all::after {
	display: none;
}
.home-articles__all.md-main-color-btn,
.home-articles__all {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 24px;
	font-size: 15px;
	font-weight: 600;
	white-space: nowrap;
	overflow: visible;
	width: auto;
	height: auto;
}
.home-articles__all.md-main-color-btn img,
.home-articles__all img {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
	filter: brightness(0) invert(1);
}
.home-articles__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}
@media only screen and (max-width: 1024px) {
	.home-articles__grid { grid-template-columns: repeat(2, 1fr); }
	.home-articles__head { flex-direction: column; align-items: flex-start; gap: 16px; }
	.home-articles__title { font-size: clamp(28px, 5vw, 42px); line-height: 1.3; }
}
@media only screen and (max-width: 600px) {
	.home-articles { padding: 44px 0; }
	.home-articles__grid { grid-template-columns: 1fr; gap: 16px; }
	.home-articles__title { font-size: 6.25vw; line-height: 9.375vw; }
	.home-articles__all { align-self: flex-start; padding: 12px 20px 12px 20px; overflow: visible; }
}
