/*
 * DO NOT EDIT THIS FILE.
 * See the following change record for more information,
 * https://www.drupal.org/node/3084859
 * @preserve
 */

/**
 * @file
 * Breadcrumb region.
 */

.breadcrumb {
  position: relative;
  font-size: 0.875rem;
  font-weight: bold;
  line-height: var(--sp1);

  /* Shadow on the right side of breadcrumbs for narrow screens. */
}

.breadcrumb::after {
  position: absolute;
  top: 0;
  right: calc(var(--sp1) * -1);
  width: var(--sp3);
  height: var(--sp2);
  content: "";
  background: linear-gradient(to left, var(--color--white) 0%, rgba(255, 255, 255, 0) 100%); /* LTR */
}

@media (min-width: 62.5rem) {
  .breadcrumb::after {
    content: none;
  }
}

@media (min-width: 62.5rem) {
  .breadcrumb {
    position: static;
  }
}

[dir="rtl"] .breadcrumb::after {
  background: linear-gradient(to right, var(--color--white) 0%, rgba(255, 255, 255, 0) 100%);
}

.breadcrumb__content {
  overflow: auto;
  margin-top: calc(var(--sp0-5) * -1);
  margin-bottom: calc(var(--sp0-5) * -1);
  margin-left: calc(var(--sp0-5) * -1);
  margin-right: calc(var(--sp1) * -1);
  padding-top: var(--sp0-5);
  padding-bottom: var(--sp0-5);
  padding-left: var(--sp0-5);
  -webkit-overflow-scrolling: touch;
}

@media (min-width: 62.5rem) {
  .breadcrumb__content {
    margin-right: 0;
  }
}

.breadcrumb__list {
  overflow-x: auto;
  width: max-content;
  margin-top: 0;
  margin-bottom: 0;
  margin-left: calc(var(--sp1) * -1);
  margin-right: calc(var(--sp1) * -1);
  padding-top: 0;
  padding-bottom: var(--sp1);
  padding-left: var(--sp1);
  padding-right: 0;
  list-style: none;
  white-space: nowrap;
}

@media (min-width: 62.5rem) {
  .breadcrumb__list {
    overflow: visible;
    margin-left: 0;
    margin-right: 0;
    padding-bottom: 0;
    padding-left: 0;
    white-space: normal;
  }
}

.breadcrumb__item {
  display: inline-block;
}

.breadcrumb__item:nth-child(n + 2)::before {
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  margin-left: 1rem;
  margin-right: 1.25rem;
  content: "";
  transform: rotate(45deg); /* LTR */
  border-top: 2px solid var(--color--gray-45);
  border-right: 2px solid var(--color--gray-45);
}

.breadcrumb__item:last-child {
  margin-right: var(--sp3);
}

@media (min-width: 62.5rem) {
  .breadcrumb__item:last-child {
    margin-right: 0;
  }
}

[dir="rtl"] .breadcrumb__item:nth-child(n + 2)::before {
  transform: rotate(-45deg);
}

.breadcrumb__link {
  -webkit-text-decoration: none;
  text-decoration: none;
  color: var(--color-text-primary-medium);
}

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