.soleman-taxonomy-list__grid {
	display: grid;
	width: 100%;
	column-gap: var(--soleman-column-gap, 20px);
	row-gap: var(--soleman-row-gap, 20px);
}

.soleman-taxonomy-list__item {
	min-width: 0;
	text-align: var(--soleman-item-align, left);
}

/* Background / padding / radius wrap BOTH title + count together. */
.soleman-taxonomy-list__link,
.soleman-taxonomy-list__content {
	display: inline-block;
	max-width: 100%;
	text-decoration: none;
	color: inherit;
	background-color: var(--soleman-title-bg, transparent);
	padding: var(--soleman-title-padding, 0);
	border-radius: var(--soleman-title-radius, 0);
	/* Keep title + count on one line inside the pill when possible. */
	white-space: nowrap;
	transition: color 0.2s ease, background-color 0.2s ease;
}

.soleman-taxonomy-list__link:hover {
	text-decoration: none;
	color: inherit;
	background-color: var(--soleman-title-bg-hover, var(--soleman-title-bg, transparent));
}

.soleman-taxonomy-list__title {
	display: inline;
	color: var(--soleman-title-color, inherit);
	background: none;
	padding: 0;
	border-radius: 0;
	transition: color 0.2s ease;
}

.soleman-taxonomy-list__link:hover .soleman-taxonomy-list__title {
	color: var(--soleman-title-hover-color, var(--soleman-title-color, inherit));
}

.soleman-taxonomy-list__count {
	display: inline;
	white-space: nowrap;
	color: var(--soleman-count-color, inherit);
	transition: color 0.2s ease;
}

.soleman-taxonomy-list__link:hover .soleman-taxonomy-list__count {
	color: var(--soleman-count-hover-color, var(--soleman-count-color, inherit));
}

.soleman-taxonomy-list__empty {
	padding: 1em;
	text-align: center;
	color: #999;
	border: 1px dashed #ccc;
}
