/**
 * Fil d'Ariane (bibliothèque pipecV2/breadcrumb).
 * Posé en bas de la bannière (.eco-bc-over) sur un voile vert foncé ; repli = barre claire sous la bannière ; le texte suit la grille du site (.container : même bord gauche que le logo et le menu).
 * Une seule ligne : bureau = troncature par « … » des éléments du milieu (accueil et page courante prioritaires) ;
 * mobile (< 768 px) = défilement horizontal discret, ouvert sur la page courante, dégradés de bord.
 */
.breadcrumbs .breadcrumb-content-inner { margin-bottom: 0; }
.breadcrumbs .gva-breadcrumb-content .gva-block-breadcrumb .breadcrumb-style { margin-bottom: 0; }
.breadcrumbs .breadcrumb-style { position: relative; display: flex; align-items: flex-end; padding: 0 !important; min-height: 240px; }
.breadcrumbs .breadcrumb-content-main .page-title:empty { display: none; }

.eco-bc-bar { background: #f7f9f8; border-bottom: 1px solid #e5e7eb; margin: 0 0 18px; }
.eco-bc-bar > .container { width: 100%; max-width: none; margin: 0; }

nav.eco-breadcrumb.breadcrumb { display: block; min-width: 0; margin: 0; padding: 0; background: transparent !important; border: 0; font-size: 14px; line-height: 1.3; }
nav.eco-breadcrumb > ol { display: flex; flex-wrap: nowrap; align-items: center; min-width: 0; max-width: 100%; min-height: 44px; margin: 0; padding: 0; list-style: none; }
nav.eco-breadcrumb > ol > li { display: flex; align-items: center; flex: 0 1 auto; min-width: 5em; margin: 0; padding: 0; font-size: 14px; font-weight: 500; text-transform: capitalize; color: #374151; }
nav.eco-breadcrumb > ol > li.is-home { flex: 0 0 auto; min-width: 0; }
nav.eco-breadcrumb > ol > li:last-child { flex: 0 1 auto; min-width: 12ch; }
/* chevron fin (CSS, sans police d'icônes) */
nav.eco-breadcrumb > ol > li + li::before { content: ""; flex: 0 0 auto; width: 6px; height: 6px; margin: 0 10px 0 8px; border-top: 1.5px solid #6b7280; border-right: 1.5px solid #6b7280; transform: rotate(45deg); }
nav.eco-breadcrumb a { display: flex; align-items: center; gap: 6px; min-width: 0; padding: 6px 2px; border-radius: 4px; color: #006937 !important; text-decoration: none !important; transition: color .15s; }
nav.eco-breadcrumb a > span, nav.eco-breadcrumb .bc-current { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
nav.eco-breadcrumb a:hover { color: #004d28 !important; text-decoration: underline !important; text-underline-offset: 3px; }
nav.eco-breadcrumb a:focus-visible { outline: 3px solid #ffa500; outline-offset: 2px; text-decoration: underline !important; }
nav.eco-breadcrumb .bc-current { padding: 6px 2px; font-weight: 600; color: #374151; }
nav.eco-breadcrumb .bc-home { flex: 0 0 auto; }

/* ---- Superposition : voile vert institutionnel en bas de la bannière (la bannière garde sa hauteur : bandeau en absolute) ---- */
.breadcrumbs { margin-bottom: 18px; }
.eco-bc-bar.eco-bc-over {
	position: absolute; left: 0; right: 0; bottom: 0; z-index: 5; margin: 0; border: 0; border-bottom: 2px solid #ffa500; padding-top: 34px;
	background: linear-gradient(to top, rgba(0, 60, 32, .88) 0, rgba(0, 60, 32, .78) 46px, rgba(0, 60, 32, .4) 66px, rgba(0, 60, 32, 0) 100%);
}
.eco-bc-over nav.eco-breadcrumb > ol > li, .eco-bc-over nav.eco-breadcrumb .bc-current { color: #fff; }
.eco-bc-over nav.eco-breadcrumb a { color: #fff !important; }
.eco-bc-over nav.eco-breadcrumb a:hover { color: #fff !important; text-decoration: underline !important; text-decoration-color: #ffa500 !important; text-decoration-thickness: 2px; }
.eco-bc-over nav.eco-breadcrumb .bc-current { font-weight: 700; }
.eco-bc-over nav.eco-breadcrumb > ol > li + li::before { border-color: rgba(255, 255, 255, .78); }
.eco-bc-over nav.eco-breadcrumb ol, .eco-bc-over nav.eco-breadcrumb a, .eco-bc-over nav.eco-breadcrumb .bc-current { text-shadow: 0 1px 2px rgba(0, 30, 16, .55); }

@media (max-width: 767.98px) {
	.breadcrumbs .breadcrumb-style { min-height: 170px; height: auto !important; }
	.breadcrumbs { margin-bottom: 14px; }
	.eco-bc-bar { margin-bottom: 14px; }
	.eco-bc-bar.eco-bc-over { margin-bottom: 0; padding-top: 18px; }
	/* ligne unique défilante ; row-reverse = le défilement s'ouvre sur la page courante (l'ordre du DOM et du clavier ne change pas) */
	nav.eco-breadcrumb.breadcrumb {
		display: flex; flex-direction: row-reverse; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -webkit-overflow-scrolling: touch;
	}
	/* repli : barre claire avec dégradés de bord */
	.eco-bc-bar:not(.eco-bc-over) nav.eco-breadcrumb.breadcrumb {
		background:
			linear-gradient(to right, #f7f9f8 30%, rgba(247, 249, 248, 0)) left center / 36px 100% no-repeat local,
			linear-gradient(to left, #f7f9f8 30%, rgba(247, 249, 248, 0)) right center / 36px 100% no-repeat local,
			linear-gradient(to right, rgba(0, 105, 55, .22), rgba(0, 105, 55, 0)) left center / 14px 100% no-repeat scroll,
			linear-gradient(to left, rgba(0, 105, 55, .22), rgba(0, 105, 55, 0)) right center / 14px 100% no-repeat scroll !important;
	}
	/* sur le voile : fondu des bords par masque (marge interne de 14 px = texte opaque au repos) */
	.eco-bc-over nav.eco-breadcrumb.breadcrumb { margin: 0 -14px; padding: 0 14px; -webkit-mask-image: linear-gradient(to right, transparent, #000 14px, #000 calc(100% - 14px), transparent); mask-image: linear-gradient(to right, transparent, #000 14px, #000 calc(100% - 14px), transparent); }
	nav.eco-breadcrumb.breadcrumb::-webkit-scrollbar { display: none; }
	nav.eco-breadcrumb > ol { flex: 0 0 auto; width: max-content; max-width: none; min-height: 44px; margin-right: auto; }
	nav.eco-breadcrumb > ol > li, nav.eco-breadcrumb > ol > li:last-child { flex: 0 0 auto; min-width: 0; }
	nav.eco-breadcrumb a, nav.eco-breadcrumb .bc-current { min-height: 44px; padding: 0 4px; }
	nav.eco-breadcrumb a > span, nav.eco-breadcrumb .bc-current { overflow: visible; text-overflow: clip; display: flex; align-items: center; min-height: 44px; }
	nav.eco-breadcrumb a:focus-visible { outline-offset: -3px; }
}
@media print { .eco-bc-bar, .eco-bc-bar.eco-bc-over { position: static; background: none; border: 0; padding: 0; } .eco-bc-over::before { display: none; } nav.eco-breadcrumb a, nav.eco-breadcrumb li, nav.eco-breadcrumb .bc-current { color: #000 !important; } }
