.news-author-share {
  position: relative;
  width: 100%;
  margin: 75px 0;

  @include sm {
    margin: 50px 0;
  }

  &__wrapper {
    width: 100%;
    max-width: #{$text-width-medium + 2 * $gutter};
    padding: 0 $gutter;
    margin: 0 auto;

    .news-author-share--small & {
      max-width: #{$text-width-small + 2 * $gutter};
    }

    .news-author-share--large & {
      max-width: #{$text-width-large + 2 * $gutter};
    }

    @include sm {
      padding: 0 $gutter-mobile;
    }
  }

  &__container {
    width: 100%;
    position: relative;
  }

  &__author {
    width: 100%;
    border-left: 3px solid $blue;
    padding-left: 40px;
    display: flex;
    justify-content: space-between;

    @include sm {
      flex-direction: column;
      padding-left: 20px;
    }
  }

  &__info {
    flex: 1;
    padding-right: $gutter;

    @include sm {
      padding-right: 0;
    }
  }

  &__image {
    width: 82px;
    height: 82px;
    border-radius: 100%;
    overflow: hidden;
    margin-bottom: 15px;

    img {
      object-fit: cover;
      width: 100%;
      height: 100%;
    }
  }

  &__name {
    font-size: 1.8rem;
    line-height: 2.2rem;
    font-weight: 700;
    margin: 0;
  }

  &__job {
    margin-top: 4px;
    font-size: 1.4rem;
    line-height: 1.8rem;
    letter-spacing: 0.01rem;
    font-weight: 400;
    color: $primary-color;
  }

  &__divider {
    display: block;
    height: 1px;
    width: 24px;
    background-color: $primary-color;
    margin: 22px 0 16px;
  }

  &__contact-link {
    color: $secondary-color;
  }

  &__share {
    @include sm {
      margin-top: 24px;
      width: 100%;
    }
  }

  &__share-label {
    font-size: 1.4rem;
    line-height: 1.8rem;
    letter-spacing: 0.01rem;
    font-weight: 700;
    color: $primary-color;
  }

  &__share-icons {
    display: flex;
    margin-top: 16px;
  }

  &__share-icon {
    display: inline-flex;
    align-items: center;
    margin-left: 24px;

    &:first-child {
      margin-left: 0;
    }

    svg {
      height: 16px;

      g, path {
        fill: $primary-color;
      }
    }
  }
}
