/* Blog listing + single — matches stankoved chrome (#f1f9fe / #66bbf0). */

.stk-blog {
	background: #f1f9fe;
	padding: 0 0 72px;
}

.stk-blog__inner {
	width: min(1180px, calc(100% - 40px));
	margin: 0 auto;
}

.stk-blog .stk-breadcrumbs {
	padding: 28px 0 8px;
}

.stk-blog__hero {
	padding: 12px 0 28px;
}

.stk-blog__title {
	margin: 0 0 22px;
	font-size: clamp(36px, 5vw, 56px);
	line-height: 1.1;
	font-weight: 700;
	color: #1f2530;
}

.stk-blog__cats {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 20px;
}

.stk-blog__cat {
	display: inline-flex;
	align-items: center;
	min-height: 38px;
	padding: 0 14px;
	border: 1px solid rgba(31, 37, 48, 0.12);
	border-radius: 999px;
	background: #fff;
	color: #1f2530;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.stk-blog__cat:hover,
.stk-blog__cat.is-active {
	background: #66bbf0;
	border-color: #66bbf0;
	color: #fff;
}

.stk-blog__search {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	max-width: 640px;
}

.stk-blog__search-label {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
}

.stk-blog__search-input {
	flex: 1 1 220px;
	min-height: 48px;
	padding: 0 16px;
	border: 1px solid rgba(31, 37, 48, 0.14);
	border-radius: 8px;
	background: #fff;
	font-size: 16px;
	color: #1f2530;
}

.stk-blog__search-input:focus {
	outline: 2px solid #66bbf0;
	outline-offset: 1px;
}

.stk-blog__search-btn {
	min-height: 48px;
	padding: 0 22px;
	border: 0;
	border-radius: 8px;
	background: #66bbf0;
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
}

.stk-blog__search-btn:hover {
	background: #4aaeeb;
}

.stk-blog__list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}

.stk-blog__empty {
	grid-column: 1 / -1;
	margin: 24px 0;
	color: #6b7683;
	font-size: 17px;
}

.stk-blog-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 10px 28px rgba(31, 37, 48, 0.06);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stk-blog-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 16px 34px rgba(31, 37, 48, 0.1);
}

.stk-blog-card__media {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: linear-gradient(135deg, #d7ebf8, #66bbf0 70%);
}

.stk-blog-card__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.stk-blog-card__img_placeholder {
	width: 100%;
	height: 100%;
	background:
		radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.45), transparent 45%),
		linear-gradient(135deg, #9fd3f3, #2497dc);
}

.stk-blog-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 10px;
	padding: 18px 18px 20px;
}

.stk-blog-card__title {
	margin: 0;
	font-size: 20px;
	line-height: 1.3;
	font-weight: 700;
}

.stk-blog-card__title a {
	color: #1f2530 !important;
	text-decoration: none;
}

.stk-blog-card__title a:hover {
	color: #2497dc !important;
}

.stk-blog-card__excerpt {
	margin: 0;
	color: #5b6470;
	font-size: 15px;
	line-height: 1.5;
}

.stk-blog-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 12px;
	margin-top: auto;
	padding-top: 8px;
	color: #8a93a0;
	font-size: 13px;
}

.stk-blog-card__tags {
	color: #6b7683;
}

.stk-blog-card__tag-sep {
	margin: 0 6px;
	opacity: 0.5;
}

.stk-blog-card__author {
	font-weight: 600;
	color: #66bbf0;
}

.stk-blog__footer-nav {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 18px;
	margin: 36px 0 48px;
}

.stk-blog__load-more {
	min-height: 48px;
	padding: 0 28px;
	border: 1px solid #66bbf0;
	border-radius: 8px;
	background: #fff;
	color: #2497dc;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
}

.stk-blog__load-more:hover,
.stk-blog__load-more:disabled {
	background: #66bbf0;
	color: #fff;
}

.stk-blog__load-more:disabled {
	opacity: 0.7;
	cursor: default;
}

.stk-blog__pagination {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
}

.stk-blog__page {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 8px;
	background: #fff;
	color: #1f2530 !important;
	font-weight: 700;
	text-decoration: none;
	border: 1px solid rgba(31, 37, 48, 0.1);
}

.stk-blog__page.is-active,
.stk-blog__page:hover {
	background: #66bbf0;
	border-color: #66bbf0;
	color: #fff !important;
}

.stk-blog-questions {
	margin-top: 20px;
	padding: 48px 28px;
	border-radius: 16px;
	background: #66bbf0;
	color: #fff;
}

.stk-blog-questions__inner {
	max-width: 820px;
	margin: 0 auto;
	text-align: center;
}

.stk-blog-questions__title {
	margin: 0 0 10px;
	font-size: clamp(28px, 4vw, 40px);
	line-height: 1.15;
	font-weight: 700;
	color: #fff;
}

.stk-blog-questions__lead {
	margin: 0 auto 24px;
	max-width: 560px;
	font-size: 17px;
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.92);
}

.stk-blog-questions__form {
	text-align: left;
}

.stk-blog-questions__row {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin-bottom: 12px;
}

.stk-blog-questions__field {
	width: 100%;
	min-height: 52px;
	padding: 12px 14px;
	border: 0;
	border-radius: 8px;
	background: #fff;
	font-size: 16px;
	color: #1f2530;
	box-sizing: border-box;
}

.stk-blog-questions__message {
	min-height: 120px;
	resize: vertical;
	margin-bottom: 14px;
}

.stk-blog-questions__phone {
	display: flex;
	align-items: stretch;
	background: #fff;
	border-radius: 8px;
	overflow: hidden;
}

.stk-blog-questions__country {
	display: inline-flex;
	align-items: center;
	padding: 0 10px;
	background: #eef6fb;
	color: #5b6470;
	font-size: 13px;
	font-weight: 700;
}

.stk-blog-questions__phone .stk-blog-questions__field {
	border-radius: 0;
}

.stk-blog-questions__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 0 28px;
	border: 0;
	border-radius: 8px;
	background: #1f2530;
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
}

.stk-blog-questions__submit:hover {
	background: #0f141c;
}

.stk-blog-questions .stk-form__submit {
	text-align: center;
}

.stk-blog-questions .js-errorbox-all,
.stk-blog-questions .js-successbox {
	margin-top: 12px;
	text-align: center;
	font-weight: 600;
}

.stk-blog-questions .stk-input_error .stk-blog-questions__field,
.stk-blog-questions .stk-input_error.stk-blog-questions__field {
	outline: 2px solid #c62828;
}

.stk-blog-article {
	padding: 8px 0 40px;
}

.stk-blog-article__title {
	margin: 8px 0 14px;
	font-size: clamp(30px, 4vw, 46px);
	line-height: 1.15;
	color: #1f2530;
}

.stk-blog-article__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 14px;
	margin-bottom: 22px;
	color: #8a93a0;
	font-size: 14px;
}

.stk-blog-article__cover {
	overflow: hidden;
	margin-bottom: 28px;
	border-radius: 14px;
}

.stk-blog-article__img {
	display: block;
	width: 100%;
	height: auto;
}

.stk-blog-article__content {
	max-width: 760px;
	font-size: 18px;
	line-height: 1.65;
	color: #1f2530;
}

.stk-blog-article__content p {
	margin: 0 0 1em;
}

.stk-blog-article__back {
	margin-top: 32px;
}

.stk-blog-article__back a {
	color: #2497dc !important;
	font-weight: 700;
	text-decoration: none;
}

/* —— Dzen-like single article —— */
.stk-dzen {
	background: #f4f7fa;
}

.stk-dzen__inner {
	width: min(1120px, calc(100% - 40px));
	padding-bottom: 24px;
}

.stk-dzen-progress {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 10050;
	height: 3px;
	background: transparent;
	pointer-events: none;
}

.stk-dzen-progress span {
	display: block;
	height: 100%;
	width: 0;
	background: linear-gradient(90deg, #66bbf0, #2497dc);
	transition: width 0.05s linear;
}

.stk-dzen__hero {
	padding: 8px 0 20px;
}

.stk-dzen__title {
	margin: 0 0 20px;
	max-width: 820px;
	font-family: Circe, TildaSans, Arial, sans-serif;
	font-size: clamp(34px, 5.2vw, 54px);
	line-height: 1.12;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: #12151a;
}

.stk-dzen__cats {
	margin-bottom: 22px;
}

.stk-dzen__byline {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 4px;
}

.stk-dzen__avatar {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: linear-gradient(145deg, #66bbf0, #2497dc);
	color: #fff;
	font-weight: 800;
	font-size: 18px;
}

.stk-dzen__byline-text {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.stk-dzen__author {
	font-weight: 700;
	color: #1f2530;
	font-size: 15px;
}

.stk-dzen__date {
	color: #8a93a0;
	font-size: 13px;
}

.stk-dzen__cover {
	margin: 8px 0 28px;
	overflow: hidden;
	border-radius: 18px;
	background: #e4eef6;
}

.stk-dzen__cover-img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 420px;
	object-fit: cover;
}

.stk-dzen__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 28px;
	align-items: start;
}

.stk-dzen__layout.has-toc {
	grid-template-columns: minmax(0, 1fr) 260px;
}

.stk-dzen__article {
	background: #fff;
	border-radius: 20px;
	padding: 36px 40px 32px;
	box-shadow: 0 1px 0 rgba(20, 40, 70, 0.04);
}

.stk-dzen__content {
	max-width: 720px;
	font-size: 19px;
	line-height: 1.7;
	color: #222831;
}

.stk-dzen__content > p:first-of-type {
	font-size: 21px;
	line-height: 1.55;
	color: #1a1f27;
}

.stk-dzen__content p {
	margin: 0 0 1.05em;
}

.stk-dzen__content h2 {
	margin: 1.55em 0 0.55em;
	font-size: clamp(24px, 3vw, 30px);
	line-height: 1.25;
	font-weight: 800;
	letter-spacing: -0.015em;
	color: #12151a;
}

.stk-dzen__content h3 {
	margin: 1.3em 0 0.45em;
	font-size: 22px;
	line-height: 1.3;
	font-weight: 700;
	color: #1f2530;
}

.stk-dzen__content ul,
.stk-dzen__content ol {
	margin: 0 0 1.1em;
	padding-left: 1.25em;
}

.stk-dzen__content li {
	margin: 0.35em 0;
}

.stk-dzen__content blockquote {
	margin: 1.4em 0;
	padding: 14px 18px 14px 20px;
	border-left: 4px solid #66bbf0;
	background: #f1f9fe;
	border-radius: 0 12px 12px 0;
	font-size: 1.05em;
	color: #1f2530;
}

.stk-dzen__content img {
	max-width: 100%;
	height: auto;
	border-radius: 14px;
	margin: 1.2em 0;
}

.stk-dzen__content a {
	color: #2497dc;
}

.stk-dzen-toc {
	margin: 22px 0 28px;
	padding: 16px 18px;
	border-radius: 14px;
	background: #f1f9fe;
	border: 1px solid #d7ebf8;
}

.stk-dzen-toc__title {
	margin: 0 0 10px;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #5b6b7c;
}

.stk-dzen-toc__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.stk-dzen-toc__item {
	margin: 0;
}

.stk-dzen-toc__item_h3 {
	padding-left: 12px;
}

.stk-dzen-toc__link {
	display: block;
	padding: 7px 0;
	color: #2497dc !important;
	text-decoration: none;
	font-size: 15px;
	line-height: 1.35;
	border-bottom: 1px solid rgba(36, 151, 220, 0.12);
}

.stk-dzen-toc__item:last-child .stk-dzen-toc__link {
	border-bottom: 0;
}

.stk-dzen-toc__link:hover,
.stk-dzen-toc__link.is-active {
	color: #1a7eb8 !important;
	font-weight: 700;
}

.stk-dzen-toc_aside {
	position: sticky;
	top: 96px;
	margin: 0;
}

.stk-dzen-toc_inline {
	display: none;
}

.stk-dzen__sidebar {
	min-width: 0;
}

.stk-dzen-share {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 16px;
	margin-top: 36px;
	padding-top: 24px;
	border-top: 1px solid #e6eef5;
}

.stk-dzen-share__label {
	font-weight: 800;
	color: #1f2530;
	font-size: 15px;
}

.stk-dzen-share__list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.stk-dzen-share__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 0 16px;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none !important;
	color: #fff !important;
	background: #2497dc;
	transition: transform 0.15s ease, background 0.15s ease;
}

.stk-dzen-share__btn:hover {
	transform: translateY(-1px);
	background: #1a7eb8;
}

.stk-dzen-share__btn_tg {
	background: #2aabee;
}

.stk-dzen-share__btn_vk {
	background: #0077ff;
}

.stk-dzen-share__btn_wa {
	background: #25d366;
}

.stk-dzen-section-title {
	margin: 0 0 18px;
	font-size: clamp(26px, 3.5vw, 34px);
	line-height: 1.2;
	font-weight: 800;
	color: #12151a;
}

.stk-dzen-popular,
.stk-dzen-related {
	margin-top: 48px;
}

.stk-dzen-popular__track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(200px, 240px);
	gap: 14px;
	overflow-x: auto;
	padding-bottom: 8px;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
}

.stk-dzen-popular__card {
	scroll-snap-align: start;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 120px;
	padding: 18px;
	border-radius: 16px;
	background: linear-gradient(160deg, #66bbf0 0%, #2497dc 100%);
	color: #fff !important;
	text-decoration: none !important;
	box-shadow: 0 10px 24px rgba(36, 151, 220, 0.22);
	transition: transform 0.18s ease;
}

.stk-dzen-popular__card:hover {
	transform: translateY(-2px);
}

.stk-dzen-popular__name {
	font-size: 17px;
	font-weight: 800;
	line-height: 1.3;
}

.stk-dzen-popular__count {
	margin-top: 12px;
	font-size: 13px;
	opacity: 0.9;
}

.stk-dzen-related__list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.stk-dzen-related .stk-blog-card {
	height: 100%;
}

.stk-dzen .stk-blog-questions {
	margin-top: 48px;
}

@media screen and (max-width: 980px) {
	.stk-dzen__layout.has-toc {
		grid-template-columns: 1fr;
	}

	.stk-dzen__sidebar {
		display: none;
	}

	.stk-dzen-toc_inline {
		display: block;
	}

	.stk-dzen-related__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media screen and (max-width: 640px) {
	.stk-dzen__inner {
		width: calc(100% - 28px);
	}

	.stk-dzen__article {
		padding: 22px 18px 20px;
		border-radius: 16px;
	}

	.stk-dzen__content,
	.stk-dzen__content > p:first-of-type {
		font-size: 17px;
	}

	.stk-dzen-related__list {
		grid-template-columns: 1fr;
	}
}

@media screen and (max-width: 960px) {
	.stk-blog__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.stk-blog-questions__row {
		grid-template-columns: 1fr;
	}
}

@media screen and (max-width: 640px) {
	.stk-blog__inner {
		width: calc(100% - 32px);
	}

	.stk-blog__list {
		grid-template-columns: 1fr;
	}

	.stk-blog-questions {
		padding: 36px 18px;
	}
}
