/* Machine catalog /baza-stankov/ */

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

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

.stk-baza__hero {
	padding: 28px 0 20px;
}

.stk-baza__hero .stk-breadcrumbs {
	margin-bottom: 16px;
}

.stk-baza__title {
	margin: 0 0 16px;
	font-size: clamp(34px, 5vw, 52px);
	line-height: 1.1;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: #12151a;
}

.stk-baza__lead {
	max-width: 52rem;
	font-size: 16px;
	line-height: 1.55;
	color: #4b5866;
}

.stk-baza__lead p {
	margin: 0 0 12px;
}

.stk-baza__lead-strong {
	font-size: 18px;
	font-weight: 700;
	color: #12151a;
}

.stk-baza__nav {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 8px 0 36px;
	padding: 14px;
	background: #fff;
	border: 1px solid rgba(36, 151, 220, 0.12);
	border-radius: 16px;
}

.stk-baza__nav-btn {
	display: inline-flex;
	align-items: center;
	min-height: 42px;
	padding: 8px 14px;
	border-radius: 999px;
	border: 1px solid rgba(36, 151, 220, 0.22);
	background: #f8fcff;
	color: #12151a !important;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.25;
	text-decoration: none !important;
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

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

.stk-baza__seo {
	margin: 8px 0 40px;
	display: flex;
	flex-direction: column;
	gap: 22px;
}

.stk-baza__seo-block {
	padding: 22px 24px;
	background: #fff;
	border: 1px solid rgba(36, 151, 220, 0.12);
	border-radius: 16px;
}

.stk-baza__seo-block .stk-baza__h2 {
	margin-bottom: 10px;
}

.stk-baza__seo-block p {
	margin: 0;
	max-width: 52rem;
	font-size: 16px;
	line-height: 1.6;
	color: #4b5866;
}

.stk-baza .stk-blog-questions {
	margin-top: 8px;
}

/* ---- Machine card ---- */

.stk-baza__inner_machine {
	width: min(1180px, calc(100% - 40px));
}

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

.stk-machine__layout {
	display: grid;
	grid-template-columns: 240px minmax(0, 1fr);
	gap: 32px;
	align-items: start;
	padding-bottom: 40px;
}

.stk-machine__toc-wrap {
	position: sticky;
	top: 96px;
}

.stk-machine__toc {
	padding: 16px;
	background: #fff;
	border: 1px solid rgba(36, 151, 220, 0.12);
	border-radius: 14px;
}

.stk-machine__toc-title {
	margin: 0 0 10px;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #6b7a8a;
}

.stk-machine__toc-list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.stk-machine__toc-link {
	display: block;
	padding: 6px 8px;
	border-radius: 8px;
	color: #3d4a57 !important;
	font-size: 13px;
	line-height: 1.35;
	text-decoration: none !important;
}

.stk-machine__toc-link:hover,
.stk-machine__toc-link.is-active {
	background: #eaf6fd;
	color: #1a7eb8 !important;
}

.stk-machine__title {
	margin: 0 0 12px;
	font-size: clamp(30px, 4.5vw, 46px);
	line-height: 1.12;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: #12151a;
}

.stk-machine__excerpt {
	margin: 0 0 18px;
	max-width: 46rem;
	font-size: 16px;
	line-height: 1.55;
	color: #4b5866;
}

.stk-machine__media {
	min-height: 280px;
	margin-bottom: 28px;
	border-radius: 16px;
	background: #d9ecf8 center / cover no-repeat;
}

.stk-machine__section {
	margin: 0 0 28px;
	font-size: 16px;
	line-height: 1.6;
	color: #3d4a57;
}

.stk-machine__h2 {
	margin: 0 0 12px;
	font-size: clamp(22px, 3vw, 30px);
	line-height: 1.25;
	font-weight: 800;
	color: #12151a;
}

.stk-machine__section p {
	margin: 0 0 10px;
	max-width: 46rem;
}

.stk-machine__related {
	display: flex;
	grid: none;
	overflow-x: auto;
	gap: 14px;
	padding-bottom: 8px;
}

.stk-machine__related .stk-baza__card {
	flex: 0 0 min(220px, 75vw);
}

.stk-machine__cta {
	margin: 8px 0 32px;
	padding: 24px;
	background: #fff;
	border: 1px solid rgba(36, 151, 220, 0.12);
	border-radius: 16px;
}

.stk-machine__cta p {
	margin: 0 0 14px;
	max-width: 40rem;
	color: #4b5866;
}

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

	.stk-machine__toc-wrap {
		position: static;
	}

	.stk-machine__toc {
		overflow-x: auto;
	}

	.stk-machine__toc-list {
		flex-direction: row;
		flex-wrap: nowrap;
		gap: 8px;
	}

	.stk-machine__toc-link {
		white-space: nowrap;
	}
}


.stk-baza__section {
	margin: 0 0 44px;
}

.stk-baza__h2 {
	margin: 0 0 16px;
	font-size: clamp(24px, 3.2vw, 34px);
	line-height: 1.2;
	font-weight: 800;
	color: #12151a;
}

.stk-baza__rail-wrap {
	position: relative;
}

.stk-baza__rail {
	display: grid;
	grid-auto-flow: column;
	grid-template-rows: repeat(3, auto);
	grid-auto-columns: minmax(220px, 1fr);
	gap: 14px;
	overflow-x: auto;
	padding: 4px 2px 12px;
	scroll-snap-type: x proximity;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
	scrollbar-color: #66bbf0 transparent;
}

.stk-baza__card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-radius: 16px;
	background: #fff;
	border: 1px solid rgba(36, 151, 220, 0.1);
	text-decoration: none !important;
	color: inherit;
	scroll-snap-align: start;
	min-height: 100%;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stk-baza__card:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 24px rgba(21, 32, 43, 0.1);
}

.stk-baza__card-media {
	display: block;
	aspect-ratio: 4 / 3;
	background: #d9ecf8 center / cover no-repeat;
}

.stk-baza__card-title {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 2.7em;
	padding: 12px 14px 14px;
	font-size: 14px;
	line-height: 1.35;
	font-weight: 700;
	color: #12151a;
}

.stk-baza__arrow {
	position: absolute;
	top: 42%;
	z-index: 2;
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 50%;
	background: #66bbf0;
	color: #fff;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 8px 18px rgba(36, 151, 220, 0.25);
}

.stk-baza__arrow_prev {
	left: -8px;
}

.stk-baza__arrow_next {
	right: -8px;
}

.stk-baza__arrow[hidden] {
	display: none !important;
}

.stk-baza__section-foot {
	display: flex;
	justify-content: flex-start;
	margin-top: 4px;
}

.stk-baza__all {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	padding: 0 18px;
	border-radius: 999px;
	background: linear-gradient(135deg, #2aa3e6 0%, #2497dc 100%);
	color: #fff !important;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none !important;
	box-shadow: 0 8px 18px rgba(36, 151, 220, 0.22);
}

.stk-baza__all:hover {
	background: #1a7eb8;
	color: #fff !important;
}

.stk-baza__count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 28px;
	height: 28px;
	padding: 0 8px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.22);
	font-size: 13px;
}

.stk-baza__help {
	margin: 8px 0 48px;
	padding: 28px;
	background: #fff;
	border: 1px solid rgba(36, 151, 220, 0.12);
	border-radius: 18px;
}

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

.stk-baza__help-copy {
	font-size: 16px;
	line-height: 1.55;
	color: #4b5866;
}

.stk-baza__help-copy p {
	margin: 0 0 12px;
}

.stk-baza__help-list-title {
	margin-top: 8px !important;
	font-weight: 700;
	color: #12151a;
}

.stk-baza__help-list {
	margin: 0 0 14px;
	padding-left: 1.2em;
}

.stk-baza__help-list li {
	margin: 0 0 6px;
}

.stk-baza__help-form .stk-blog-questions {
	margin: 0;
	padding: 28px 22px;
	border-radius: 14px;
}

.stk-baza__faq {
	margin: 0 0 20px;
}

.stk-baza__faq-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.stk-baza__faq-item {
	background: #fff;
	border: 1px solid rgba(36, 151, 220, 0.12);
	border-radius: 14px;
	overflow: hidden;
}

.stk-baza__faq-q {
	display: block;
	cursor: pointer;
	list-style: none;
	padding: 16px 18px;
}

.stk-baza__faq-q::-webkit-details-marker {
	display: none;
}

.stk-baza__faq-h3 {
	margin: 0;
	font-size: 17px;
	line-height: 1.35;
	font-weight: 700;
	color: #12151a;
}

.stk-baza__faq-a {
	padding: 0 18px 16px;
	font-size: 15px;
	line-height: 1.55;
	color: #4b5866;
}

.stk-baza__faq-a p {
	margin: 0;
}

@media screen and (max-width: 980px) {
	.stk-baza__rail {
		grid-template-rows: repeat(2, auto);
		grid-auto-columns: minmax(200px, 70vw);
	}

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

	.stk-baza__arrow {
		display: none;
	}
}

@media screen and (max-width: 640px) {
	.stk-baza__nav {
		padding: 12px;
	}

	.stk-baza__help {
		padding: 20px 16px;
	}

	.stk-baza__rail {
		grid-template-rows: auto;
		grid-auto-columns: minmax(220px, 82vw);
	}
}
