.rc-breadcrumb__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--space-1) var(--space-3);
	padding: 0;
	margin: 0;
	list-style: none;
	font-size: var(--text-small);
}

.rc-breadcrumb__item {
	display: inline-flex;
	align-items: center;
	gap: var(--space-3);
}

/*
 * Separator drawn as a rotated border chevron, so it survives wp_kses_post
 * (which strips inline SVG) and stays out of the accessibility tree. Shown
 * before every item except the first.
 */
.rc-breadcrumb__item:not(:first-child)::before {
	content: "";
	width: 0.4em;
	height: 0.4em;
	border-top: var(--border-width-thick) solid var(--color-border-strong);
	border-right: var(--border-width-thick) solid var(--color-border-strong);
	transform: rotate(45deg);
	flex-shrink: 0;
}

.rc-breadcrumb__link {
	color: var(--color-text-muted);
	text-decoration: none;
}

.rc-breadcrumb__link:hover {
	color: var(--color-link-hover);
	text-decoration: underline;
}

.rc-breadcrumb__current {
	color: var(--color-text);
	font-weight: var(--weight-medium);
}
