/* ChatGPT: изменения внесены 13.08.2026 — Sliderlinks оформлен как воздушный каталожный слайдер. */
.slnk {
	position: relative;
	width: 100%;
	max-width: 1280px;
	margin: 0 auto 40px;
	padding: 0 10px;
	box-sizing: border-box;
}

.slnk-box {
	position: relative;
	padding: 0 48px;
}

.slnk-row {
	display: flex;
	gap: 28px;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	touch-action: pan-x;
	scrollbar-width: none;
	cursor: grab;
	user-select: none;
}

.slnk-row.is-drg {
	scroll-behavior: auto;
	scroll-snap-type: none;
	cursor: grabbing;
}

.slnk-row::-webkit-scrollbar {
	display: none;
}

.slnk-itm {
	flex: 0 0 calc((100% - 112px) / 5);
	min-width: 0;
	scroll-snap-align: start;
	text-align: left;
}

.slnk-lnk {
	display: block;
	color: #003b86;
	text-decoration: none;
}

.slnk-lnk:hover,
.slnk-lnk:focus {
	color: #e6a52d;
}

.slnk-img {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 300px;
	overflow: hidden;
}

.slnk-img img {
	display: block;
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	pointer-events: none;
	-webkit-user-drag: none;
}

.slnk-txt {
	display: block;
	min-height: 42px;
	margin-top: 12px;
	overflow: hidden;
	font-size: 15px;
	line-height: 21px;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.slnk-btn {
	position: absolute;
	top: 50%;
	z-index: 2;
	width: 32px;
	height: 64px;
	margin: 0;
	padding: 0;
	transform: translateY(-50%);
	border: 0;
	background: transparent;
	color: #222;
	font-size: 34px;
	font-weight: 300;
	line-height: 64px;
	cursor: pointer;
}

.slnk-btn:hover:not(:disabled) {
	color: #e6a52d;
}

.slnk-prev {
	left: 0;
}

.slnk-next {
	right: 0;
}

.slnk-btn:disabled {
	opacity: .3;
	cursor: default;
}

@media screen and (min-width: 40em) and (max-width: 63.9375em) {
	.slnk-itm {
		flex-basis: calc((100% - 56px) / 3);
	}

	.slnk-img {
		height: 260px;
	}
}

@media screen and (max-width: 39.9375em) {
	.slnk {
		margin-bottom: 28px;
		padding-right: 5px;
		padding-left: 5px;
	}

	.slnk-box {
		padding: 0 34px;
	}

	.slnk-row {
		gap: 16px;
	}

	.slnk-itm {
		flex-basis: 100%;
	}

	.slnk-btn {
		width: 28px;
		height: 52px;
		font-size: 28px;
		line-height: 52px;
	}

	.slnk-img {
		height: 320px;
	}

	.slnk-txt {
		min-height: 0;
		font-size: 15px;
		text-align: center;
	}
}
