/* Nexo Migalhas de Pão */

.nexo-breadcrumbs {
	--nexo-bc-link: #6b7280;
	--nexo-bc-hover: #6d28d9;
	--nexo-bc-current: #111827;
	--nexo-bc-sep: #9ca3af;
	--nexo-bc-gap: 8px;

	display: flex;
	justify-content: flex-start;
	width: 100%;
	font-size: .9rem;
}

.nexo-breadcrumbs__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--nexo-bc-gap);
	margin: 0;
	padding: 0;
	list-style: none;
}

.nexo-breadcrumbs__item {
	display: inline-flex;
	align-items: center;
	gap: var(--nexo-bc-gap);
	min-width: 0;
}

.nexo-breadcrumbs__link {
	color: var(--nexo-bc-link);
	text-decoration: none;
	transition: color .2s ease;
}

.nexo-breadcrumbs__link:hover,
.nexo-breadcrumbs__link:focus-visible {
	color: var(--nexo-bc-hover);
	text-decoration: underline;
}

.nexo-breadcrumbs__link:focus-visible {
	outline: 2px solid var(--nexo-bc-hover);
	outline-offset: 2px;
	border-radius: 3px;
}

.nexo-breadcrumbs__current {
	color: var(--nexo-bc-current);
	font-weight: 600;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	max-width: 100%;
}

.nexo-breadcrumbs__sep {
	color: var(--nexo-bc-sep);
	user-select: none;
}

/* Em telas pequenas, a trilha quebra em linhas sem estourar a largura */
@media (max-width: 767px) {
	.nexo-breadcrumbs {
		font-size: .82rem;
	}

	.nexo-breadcrumbs__current {
		white-space: normal;
	}
}
