@use "00-base/configure" as *;

.ma__inline-links {

  @media print {
    display: none;
  }

  &__container {

    @include ma-container;
    margin-bottom: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
  }

  &__item {
    list-style: none;
    font-size: $fonts-smaller;
    display: flex;
    align-items: center;
    min-height: 1.9rem;

    &:after {
      content: "";
      background: $c-gray-light;
      margin: 0 10px;
      width: 1px;
      height: $fonts-smaller;
    }

    &:last-of-type:after {
      content: none;
    }

    a {
      line-height: 1rem;
      text-decoration: none;
      box-shadow: inset 0 0 $c-white, inset 0px -1px $c-bay-blue-lighter;
      font-weight: $fonts-normal;

      &:hover {
        box-shadow: inset 0 0 $c-white, inset 0px -2px $c-bay-blue-30-tint;
      }
    }

    span {
      white-space: nowrap;
      color: $c-font-detail;
    }
  }

  &--bg-gray {
    background: $c-gray-lightest;

    .ma__inline-links_item {

      &:after {
        background: $c-gray;
      }

      span {
        color: $c-font-base;
      }
    }
  }
}
