/*
 * Fil d'Ariane commun (inc/breadcrumb.php) : carte, offres, pages de contenu.
 * Identique dans yvesrocher-ba et yvesrocher-franchise, hors couleur d'accent.
 */

.yr-crumbs {
	--yr-crumbs-ink: #212529;
	--yr-crumbs-soft: #4a524d;
	--yr-crumbs-accent: #3c6042;
	font-family: "Arimo", sans-serif;
}

.yr-crumbs ol {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.25rem 0;
	list-style: none;
	margin: 0;
	padding: 1.5rem 0 0;
	font-size: 0.8125rem;
	line-height: 1.4;
	color: var(--yr-crumbs-soft);
}

.yr-crumbs li {
	display: inline-flex;
	align-items: center;
}

.yr-crumbs li + li::before {
	content: "";
	width: 1rem;
	height: 1rem;
	margin: 0 0.4rem;
	background: currentColor;
	opacity: 0.5;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6.5 4 4 4-4 4'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6.5 4 4 4-4 4'/%3E%3C/svg%3E") center / contain no-repeat;
}

.yr-crumbs a,
.yr-crumbs a:visited {
	color: inherit;
	text-decoration: none;
	text-underline-offset: 0.2em;
	transition: color 150ms ease;
}

.yr-crumbs a:focus-visible {
	outline: 2px solid var(--yr-crumbs-accent);
	outline-offset: 3px;
	border-radius: 2px;
}

@media (hover: hover) and (pointer: fine) {
	.yr-crumbs a:hover {
		color: var(--yr-crumbs-accent);
		text-decoration: underline;
	}
}

.yr-crumbs [aria-current="page"] {
	font-weight: 700;
	color: var(--yr-crumbs-ink);
}

/* Carte : le fil précède le bandeau « Rejoignez-nous », un peu d'air avant */
.yr-crumbs--map ol {
	padding-bottom: 1rem;
}

/* Ancienne fiche offre (single.php) : séparer le fil du titre du poste */
.yr-crumbs--single ol {
	padding-bottom: 1.25rem;
}
