/*
  @file Theming the breadcrumbs region.

  This CSS is very generic. Most themes will not need to override it,
  except perhaps to change the what is used as a divider between items.
  The breadcrumbs divider can be changed via the --breadcrumbs-divider
  variable.
*/

.lgd-region--breadcrumb {
  margin-block-end: var(--breadcrumbs-spacing-bottom);
  background-color: var(--breadcrumbs-background-color);
}

.breadcrumbs {
  padding: var(--breadcrumbs-padding-vertical) var(--breadcrumbs-padding-horizontal);
  border-block-end: var(--breadcrumbs-border);
}

.breadcrumbs__list {
  margin-block-end: 0;
  padding-inline-start: 0;
  list-style: none;
}

.breadcrumbs__item {
  display: inline-block;
  margin-inline-end: 0.25rem;
  font-size: var(--breadcrumbs-font-size);
}

.breadcrumbs__item + .breadcrumbs__item::before {
  display: inline-block;
  margin-inline-end: 0.25rem;
  content: var(--breadcrumbs-divider);
  color: var(--breadcrumbs-link-color);
}

.breadcrumbs__link {
  color: var(--breadcrumbs-link-color);
}
