.trival-cat-filter {
	font-size: 14px;
}

.trival-cat-title {
	margin: 0 0 12px;
	font-size: 16px;
	font-weight: 700;
}

.trival-cat-list,
.trival-cat-children {
	list-style: none;
	margin: 0;
	padding: 0;
}

.trival-cat-list li {
	position: relative;
}

.trival-cat-list a {
	text-decoration: none;
	display: inline;
	transition: color 0.2s;
}

.trival-cat-list a:hover {
	text-decoration: underline;
}

.trival-cat-count {
	font-size: 0.9em;
}

.trival-cat-toggle {
	background: none;
	border: none;
	cursor: pointer;
	padding: 2px 6px;
	margin-left: 10px;
	vertical-align: middle;
	color: inherit;
}

.trival-cat-toggle svg {
	transition: transform 0.2s;
}

.trival-cat-expanded > .trival-cat-toggle svg {
	transform: rotate(180deg);
}

.trival-cat-active > a {
	font-weight: 700;
}

.trival-cat-ancestor > a {
	font-weight: 600;
}

.trival-cat-mobile-toggle {
	display: none;
}

@media (max-width: 1023px) {
	.trival-cat-mobile-toggle {
		display: flex;
		align-items: center;
		justify-content: space-between;
		width: 100%;
		background: none;
		border: 1px solid currentColor;
		cursor: pointer;
		padding: 8px 12px;
		font-size: 14px;
		font-weight: 600;
		color: inherit;
	}

	.trival-cat-mobile-chevron {
		transition: transform 0.2s;
		flex-shrink: 0;
	}

	.trival-cat-mobile-toggle[aria-expanded="true"] .trival-cat-mobile-chevron {
		transform: rotate(180deg);
	}
}
