/**
 * Shared breadcrumb component.
 */

.nexora-breadcrumb {
	width: min(100%, 64rem);
	min-width: 0;
	margin: 0 0 clamp(1.5rem, 4vw, 2.5rem);
	color: var(--nexora-navy-soft);
	font-size: 0.875rem;
	line-height: 1.5;
}

.nexora-breadcrumb ol {
	display: flex;
	min-width: 0;
	flex-wrap: wrap;
	gap: 0.35rem 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

.nexora-breadcrumb li {
	display: inline-flex;
	min-width: 0;
	max-width: 100%;
	align-items: baseline;
	overflow-wrap: anywhere;
}

.nexora-breadcrumb li + li::before {
	flex: 0 0 auto;
	margin-inline: 0.55rem;
	color: #7b602f;
	content: "/";
}

.nexora-breadcrumb a {
	color: var(--nexora-navy);
	text-decoration: underline;
	text-decoration-color: var(--nexora-champagne);
	text-underline-offset: 0.22em;
}

.nexora-breadcrumb a,
.nexora-breadcrumb li > span {
	min-width: 0;
	overflow-wrap: anywhere;
}

.nexora-breadcrumb a:focus-visible {
	outline: 3px solid var(--nexora-focus-on-light);
	outline-offset: 3px;
}

.nexora-breadcrumb [aria-current="page"] {
	color: var(--nexora-text);
	font-weight: 700;
}

@media (hover: hover) and (pointer: fine) {
	.nexora-breadcrumb a:hover {
		color: var(--nexora-navy-soft);
		text-decoration-thickness: 2px;
	}
}
