/* Breadcrumb Component Styles */

/* One line, never wraps: long trails collapse their middle into "…" and the
   current segment ellipsizes (4e). */
.mint-breadcrumb__list {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
  gap: 2px;
  min-width: 0;
}

.mint-breadcrumb__item {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
  font-size: 0.8125rem;
}

.mint-breadcrumb__item:last-child {
  flex-shrink: 1;
  min-width: 0;
}

/* Ancestor link — text-secondary at rest, text-primary on --bg-hover when hovered */
.mint-breadcrumb__link {
  color: var(--text-secondary);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s ease, background-color 0.15s ease;
  background: none;
  border: none;
  padding: 0.1875rem 0.375rem;
  border-radius: var(--radius);
  font: inherit;
  font-size: 0.8125rem;
}

.mint-breadcrumb__link:hover {
  color: var(--text-primary);
  background-color: var(--bg-hover);
}

.mint-breadcrumb__link:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring-offset);
}

/* Current segment — text-primary + 500 weight */
.mint-breadcrumb__current {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text-primary);
  font-weight: 500;
  padding: 0.1875rem 0.375rem;
}

/* ID segments (EXP-042) */
.mint-breadcrumb__segment--id {
  font-family: var(--font-mono);
}

/* Chevron separator — 12px, text-secondary */
.mint-breadcrumb__separator {
  color: var(--text-secondary);
  user-select: none;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.mint-breadcrumb__chevron {
  width: 0.75rem;
  height: 0.75rem;
}
