.breadcrumbs {
  display: flex;
  justify-content: center;
  width: 100%;
  background: rgba(255,255,255,0.6);

  &--mobile {
    display: none;
    padding: 12px $gutter-mobile;
    margin: 0;
    max-width: $max-width;
    width: 100%;
    font-size: 1.2rem;
    line-height: 1.6rem;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;

    &::before {
      content: " ";
      width: 6px;
      height: 6px;
      display: inline-block;
      border-right: 2px solid;
      border-top: 2px solid;
      border-right: 1px solid;
      border-top: 1px solid;
      border-radius: 1px;
      transform: rotate(-135deg);
      vertical-align: baseline;
      margin-left: 3px;
      margin-right: 2px;
    }

    @include sm {
      display: block;
    }
  }

  ul.breadcrumbs--desktop {
    @include sm {
      display: none;
    }
  }

  ul {
    font-size: 1.2rem;
    line-height: 1.6rem;
    list-style: none;
    padding: 12px $gutter;
    margin: 0;
    max-width: $max-width;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;

    li {
      display: inline;
      color: $primary-color;

      &::after {
        content: '';
        display: inline-block;
        border-left: solid 1px;
        width: 1px;
        height: 10px;
        transform: rotate(16deg);
        margin: 0 2px -1px 4px;
      }

      &:last-child {
        &::after {
          display: none;
        }
      }
    }
  }

  a:hover {
    color: $medium-color;
    text-decoration: underline;
  }

  .header-over & {
    position: absolute;
    top: 100px;
    z-index: 3;

    @include sm {
      position: absolute;
      top: 53px;
    }
  }
}
