/**
 * Casas Choice — [cc_breadcrumb] shortcode (see inc/breadcrumb.php).
 *
 *   .cc-breadcrumb
 *     .cc-breadcrumb__item        (a home/ancestor link, or the current
 *                                   page as plain text on the last one)
 *     .cc-breadcrumb__sep         (the chevron icon between items —
 *                                   decorative, aria-hidden)
 *
 * The house/chevron icons (cc_icon('breadcrumb-home'/'breadcrumb-chevron'))
 * already bake `fill-opacity:0.6` into their own markup, so only the text
 * needs its opacity toned down to match; the current (last) crumb stays at
 * full opacity, same convention the ficha's breadcrumb used before it adopted this one.
 */

.cc-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px;
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 14px;
	font-weight: 500;
	color: #333538;
}

.cc-breadcrumb__item,
.cc-breadcrumb__sep {
	display: flex;
	align-items: center;
}

.cc-breadcrumb__item a,
.cc-breadcrumb__item span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #333538;
	text-decoration: none;
	opacity: 0.6;
}

@media (hover: hover) {
	.cc-breadcrumb__item a:hover {
		opacity: 1;
	}
}

.cc-breadcrumb__item:last-child span {
	opacity: 1;
}
