/* shared/breadcrumb.css

   Fil d'Ariane des pages à plusieurs niveaux (Mes cours › module › cours).

   Chargé par index.html, dans l'ordre de css/README.md. Ne pas changer cet
   ordre sans relire la section « Ordre de chargement ». */

.crumbs { margin: 0 0 var(--s-4); }
.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-1) 0;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: var(--fs-2);
  color: var(--muted);
}
.crumbs li { display: inline-flex; align-items: center; min-width: 0; }
.crumbs li + li::before { content: "›"; margin: 0 var(--s-2); color: var(--muted); }
.crumbs a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--border-strong);
  text-underline-offset: 3px;
}
.crumbs a:hover { text-decoration-color: currentColor; }
.crumbs [aria-current="page"] {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 32ch;
}
