/* Фільтр категорій виконавців: пункт «Усі виконавці категорії» (1-й рівень) */

.cat-level2 > li.cat-all-item {
	margin: 0 0 10px;
	padding: 0;
	list-style: none;
}

.cat-level2 > li.cat-all-item::before {
	display: none;
}

.category_wrap a.cat-all {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	border: 1px solid #cfe7f8;
	border-radius: 4px;
	background: #eef7fe;
	color: #219ae7;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
	text-decoration: none;
	transition: background .2s, border-color .2s;
}

.category_wrap a.cat-all:hover,
.category_wrap a.cat-all:focus {
	border-color: #219ae7;
	background: #e1f0fc;
	color: #219ae7;
	text-decoration: none;
}

.cat-all__text {
	flex: 1;
	min-width: 0;
}

.cat-all__text small {
	display: block;
	margin-top: 2px;
	color: #6b7280;
	font-size: 13px;
	font-weight: 400;
}

.cat-all__arrow {
	flex-shrink: 0;
	width: 8px;
	height: 8px;
	border-top: 2px solid currentColor;
	border-right: 2px solid currentColor;
	transform: rotate(45deg);
}

/* Обрано всю категорію — як активний пункт */
.category_wrap a.cat-all.is-current {
	border-color: #219ae7;
	background: #219ae7;
	color: #fff;
}

.category_wrap a.cat-all.is-current small {
	color: rgba(255, 255, 255, .85);
}

.category_wrap a.cat-all.is-current .cat-all__arrow {
	width: 10px;
	height: 6px;
	border-top: 0;
	border-right: 0;
	border-bottom: 2px solid currentColor;
	border-left: 2px solid currentColor;
	transform: rotate(-45deg) translate(1px, -1px);
}

/* Загальні стилі фільтра фарбують span — перебиваємо */
#catBlock a.cat-all .cat-all__text {
	color: #219ae7;
}

#catBlock a.cat-all.is-current .cat-all__text {
	color: #fff;
}
