.breadcrumbs-wrapper {
  width: 100%;
}

.breadcrumbs {
  padding-top: var(--space-3);
  padding-bottom: var(--space-1);
}

@media screen and (min-width: 750px) {
  .breadcrumbs {
    padding-top: var(--space-4);
    padding-bottom: var(--space-2);
  }
}

.breadcrumbs__list {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  gap: var(--space-2);
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumbs__list::-webkit-scrollbar {
  display: none;
}

.breadcrumbs__item {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  flex-shrink: 0;
}

.breadcrumbs__link {
  font-size: var(--font-size-sm);
  line-height: 1.4;
  color: rgba(var(--color-foreground), var(--opacity-secondary));
  text-decoration: none;
  font-weight: var(--font-weight-normal);
  transition: color var(--duration-fast) var(--ease-default);
}

.breadcrumbs__link:hover {
  color: rgb(var(--color-foreground));
  text-decoration: underline;
}

.breadcrumbs__link:focus-visible {
  outline: var(--border-emphasis) solid rgb(var(--color-foreground));
  outline-offset: var(--space-0-5);
  border-radius: var(--radius-xs);
}

.breadcrumbs__separator {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(var(--color-foreground), var(--opacity-muted));
  line-height: 1;
}

.breadcrumbs__separator .icon {
  width: var(--icon-xs);
  height: var(--icon-xs);
}

.breadcrumbs__current {
  font-size: var(--font-size-sm);
  line-height: 1.4;
  color: rgb(var(--color-foreground));
  font-weight: var(--font-weight-medium);
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: var(--max-w-md);
  white-space: nowrap;
}

@media screen and (max-width: 749px) {
  .breadcrumbs__current {
    max-width: var(--max-w-xs);
  }
}
