/*
 * Breadcrumb trail rendered by BreadcrumbsComponent, rendered inside .app-main on
 * nested pages. References tokens from theme.css, so light/dark is automatic.
 * Constrained to the same centered column the page <main> uses so the trail
 * lines up with page content. Links are muted and turn accent on hover; the
 * current page is solid text. The "/" separators are CSS-generated.
 */
.breadcrumbs {
  max-width: 44rem;
  margin: 0 auto;
  padding: 1.25rem 1.5rem 0;
}

.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.875rem;
}

.breadcrumbs__item {
  display: flex;
  align-items: center;
  min-width: 0;
}

/* Generated "/" separator between adjacent crumbs. */
.breadcrumbs__item + .breadcrumbs__item::before {
  content: "/";
  margin: 0 0.5rem;
  color: var(--color-text-muted);
}

.breadcrumbs__link {
  color: var(--color-text-muted);
  text-decoration: none;
  border-radius: 4px;
}
.breadcrumbs__link:hover {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.breadcrumbs__link:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--color-focus-ring);
}

.breadcrumbs__current {
  color: var(--color-text);
  font-weight: 600;
  min-width: 0;
  overflow-wrap: anywhere;
}
