.cohezio-breadcrumb {
	background: #fff;
	border-bottom: 1px solid rgba(14, 57, 105, 0.07);
	color: #8494a6;
	font-family: "neue-haas-grotesk-text", sans-serif;
	font-size: 11px;
	line-height: 14px;
	letter-spacing: 0.1px;
}

.cohezio-breadcrumb__list {
	display: flex;
	align-items: center;
	min-width: 0;
	margin: 0;
	padding: 7px 0;
	overflow: hidden;
	list-style: none;
	white-space: nowrap;
}

.cohezio-breadcrumb__item {
	display: inline-flex;
	align-items: center;
	min-width: 0;
	margin: 0;
	padding: 0;
}

.cohezio-breadcrumb__item + .cohezio-breadcrumb__item::before {
	width: 5px;
	height: 5px;
	margin: 0 7px 0 6px;
	border-top: 1px solid #b9c4cf;
	border-right: 1px solid #b9c4cf;
	content: "";
	flex: 0 0 auto;
	transform: rotate(45deg);
}

/* Le thème impose `a { font-size: 13px; font-weight: bold; letter-spacing: 0.65px }` : on neutralise. */
.cohezio-breadcrumb a {
	font: inherit;
	letter-spacing: inherit;
	color: #8494a6;
	text-decoration: none;
	transition: color 0.2s ease;
}

.cohezio-breadcrumb a:hover,
.cohezio-breadcrumb a:focus {
	color: #0e3969;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.cohezio-breadcrumb__item--current {
	overflow: hidden;
	color: #52677e;
	font-weight: 500;
	text-overflow: ellipsis;
}

/**
 * Tablette / mobile : `.wie-navigation` (barre des sous-menus) est en
 * position absolute avec un `top` codé en dur égal à la hauteur du header,
 * et flotte au-dessus du padding haut de la bannière. Le fil d’Ariane
 * s’insère dans cette bande : il faut décaler la barre d’exactement sa
 * hauteur, fixée ici pour rester déterministe.
 */
@media screen and (max-width: 1023px) {
	:root {
		--cohezio-bc-h: 26px;
	}

	.cohezio-breadcrumb {
		box-sizing: border-box;
		height: var(--cohezio-bc-h);
		font-size: 10px;
		line-height: 13px;
	}

	.cohezio-breadcrumb__list {
		height: 100%;
		padding: 0;
	}

	/* 95px = bas réel du header en tablette (la règle du thème utilise 94px). */
	.wie-navigation:not(.fixed) {
		top: calc(95px + var(--cohezio-bc-h));
	}
}

@media screen and (max-width: 767px) {
	:root {
		--cohezio-bc-h: 24px;
	}

	.cohezio-breadcrumb .grid-container {
		padding-right: 20px;
		padding-left: 20px;
	}

	.wie-navigation:not(.fixed) {
		top: calc(77px + var(--cohezio-bc-h));
	}

	.admin-bar .wie-navigation:not(.fixed) {
		top: calc(123px + var(--cohezio-bc-h));
	}

	/* Chaîne repliée : parent direct + page courante, sans défilement horizontal. */
	.cohezio-breadcrumb__item:nth-last-child(n + 3) {
		display: none;
	}

	.cohezio-breadcrumb__item:nth-last-child(2)::before {
		display: none;
	}

	.cohezio-breadcrumb__item + .cohezio-breadcrumb__item::before {
		margin: 0 6px 0 5px;
	}
}
