/**
 * @file
 * Breadcrumbs.
 */

.breadcrumb {
  padding: 0;
  color: var(--color-text);
  font-size: 0.79rem;
}

.breadcrumb__list,
[dir="rtl"] .breadcrumb__list {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

.breadcrumb__item,
.breadcrumb__link {
  display: inline;
  text-decoration: none;
  color: var(--color-text);
  font-weight: bold;
}

.breadcrumb__item + .breadcrumb__item::before {
  display: inline-block;
  padding: 0 0.75rem;
  content: url(../../images/icons/currentColor/arrow-breadcrumb.svg);

  @nest [dir="rtl"] & {
    transform: scaleX(-1);
  }

  @media (forced-colors: active) {
    width: 5px; /* Width and height of the SVG. */
    height: 8px;
    content: "";
    background-color: canvastext;
    mask-image: url(../../images/icons/currentColor/arrow-breadcrumb.svg);
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
  }
}

.breadcrumb__link:hover,
.breadcrumb__link:focus {
  text-decoration: none;
}
