/** ========= HUB LINKS */
.pmv2-hub-links {
	margin-top: 10px;
	margin-bottom: 10px;
}

.pmv2-hub-links__slider {
	display: flex;
	gap: 10px;
	overflow-x: auto;
	overflow-y: hidden;
	padding-bottom: 4px;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}

.pmv2-hub-links__slider::-webkit-scrollbar {
	display: none;
}

.pmv2-hub-links__item {
	display: inline-flex;
	align-items: center;
	padding: 8px 12px;
	border-radius: 4px;
	text-decoration: none;
	white-space: nowrap;
	flex-shrink: 0;
	background: #f3f4f6;
	transition: background 0.2s ease;
}

.pmv2-hub-links__item:hover {
	background: #e5e7eb;
}

.pmv2-hub-links__title {
	font-size: 14px;
	line-height: 1.3;
}

.pmv2-hub-links__count {
	margin-left: 4px;
	font-size: 13px;
	opacity: 0.7;
}
/** КОНЕЦ ========= */









/** ========= ПЕРВАЯ КНОПКА */

.pmv2-hub-links__item:first-child {
	position: relative;
	padding-left: 18px;
	clip-path: polygon(
		10px 0,
		100% 0,
		100% 100%,
		10px 100%,
		0 50%
	);

	overflow: hidden;
}

/* Затемнение скоса */
.pmv2-hub-links__item:first-child::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 12px;
	background: rgba(0, 0, 0, 0.32);
	clip-path: polygon(
		100% 0,
		100% 100%,
		0 50%
	);
}

/** ========= ПОСЛЕДНЯЯ КНОПКА */

.pmv2-hub-links__item:last-child {
	position: relative;
	padding-right: 18px;
	clip-path: polygon(
		0 0,
		calc(100% - 10px) 0,
		100% 50%,
		calc(100% - 10px) 100%,
		0 100%
	);

	overflow: hidden;
}

/* Затемнение скоса */
.pmv2-hub-links__item:last-child::before {
	content: '';
	position: absolute;
	right: 0;
	top: 0;
	bottom: 0;
	width: 12px;
	background: rgba(0, 0, 0, 0.32);
	clip-path: polygon(
		100% 50%,
		0 0,
		0 100%
	);
}

/** КОНЕЦ ========= */

/** ========= ПУЛЬСАЦИЯ СТРЕЛОК */

/* Левая стрелка */
.pmv2-hub-links__item:first-child::before {
	animation:
		pmv2-hub-arrow-pulse 2.2s ease-in-out infinite;
}

/* Правая стрелка */
.pmv2-hub-links__item:last-child::before {
	animation:
		pmv2-hub-arrow-pulse 2.2s ease-in-out infinite;
}

/* Анимация пульсации */
@keyframes pmv2-hub-arrow-pulse {

	0% {
		opacity: 0.25;
	}

	50% {
		opacity: 0.65;
	}

	100% {
		opacity: 0.25;
	}

}

/** КОНЕЦ ========= */