.ds-breadcrumb {
  ol {
    display: flex;
    flex-wrap: wrap;
  }
}

.ds-breadcrumb__item {
  align-items: center;
  display: inline-flex;
}

.ds-breadcrumb__link {
  align-items: center;
  display: inline-flex;
  font-family: var(--ds-type-system-sans-lining);
  font-size: var(--ds-type-scale-0);
  font-weight: 400;
  line-height: var(--ds-type-leading-border-link);
  text-decoration: none;
  span {
    border-bottom: 0.0625rem solid var(--ds-color-chicago-45);
    color: var(--ds-color-london-5);
    transition: all var(--ds-interactions-transition);
    will-change: border-color, color;
  }
  &.ds-breadcrumb__link--current {
    span {
      border-bottom-color: transparent;
    }
  }
  &:hover {
    span {
      border-bottom-color: var(--ds-color-chicago-30);
      color: var(--ds-color-chicago-30);
    }
  }
  &:focus {
    outline: solid transparent;
    span {
      border-bottom-color: transparent;
      box-shadow: 0 0 0 0.0625rem var(--ds-color-hong-kong-55);
    }
  }
  &:active {
    span {
      border-bottom-color: var(--ds-color-hong-kong-55);
      box-shadow: none;
      color: var(--ds-color-london-5);
    }
  }
  &:not(.ds-breadcrumb__link--current) {
    &::after {
      background-image: url('data:image/svg+xml,%3Csvg%20width%3D%225%22%20height%3D%228%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill%3D%22%230D0D0D%22%20fill-rule%3D%22nonzero%22%20d%3D%22M0%207.06L2.862%204%200%20.94.881%200l3.75%204-3.75%204z%22%2F%3E%3C%2Fsvg%3E');
      background-position: center;
      background-repeat: no-repeat;
      background-size: 0.3125rem;
      content: '';
      height: 1rem;
      margin: 0 0.125rem;
      width: 1rem;
    }
  }
}

.ds-breadcrumb__link--current {
  font-weight: 500;
}
