.authorWraper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  font-size: var(--author-text-fontSize);
  color: var(--author-primary-text-color);
  column-gap: 0.5rem;
  max-width: var(--main-container-max);
  margin: 0 auto;
  padding: 0 2.4rem;

  > div {
    display: flex;
    justify-content: flex-end;
  }

  @include max(mobile) {
    padding: 0 1.6rem;
  }
}

.infoContainer {
  display: flex;
  align-items: center;
  white-space: nowrap;
  order: 1;
  gap: 0.5rem;

  .prefixStyle {
    margin: 0;
  }

  img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
  }

  > a {
    color: var(--author-link-text-color);
    font-weight: var(--author-fontweight);
    text-decoration: underline;

    &:before {
      content: '';
      padding: 0 2px;
    }

    &:after {
      content: '';
      padding: 0 2px;
    }
  }

  @include max(mobile) {
    justify-content: flex-start;

    > a,
    .prefixStyle {
      display: none;
    }

    img {
      margin: 0;
    }
  }
}

.dateTimeWrapper {
  display: flex;
  align-items: center;
  white-space: nowrap;
  order: 4;
  flex: 1 1 auto;
  gap: 0.5rem;

  a {
    pointer-events: none;
  }
  a, .noLink {
    color: var(--author-primary-text-color);
  }

  @include max(mobile){
    order: 2;
    flex: 0 0 auto;

    .dateLink {
      pointer-events: all;
      text-decoration: underline;
    }
  }
}

.readingWithBorder {
  order: 2;
  flex: 0 0 auto;
  gap: 0.5rem;

  .readText {
    display: none;
  }
  
  @include max(mobile){
    order: 4;
    flex: 1 1 auto;

    .readingTimeText {
      display: none;
    }

    .readText {
      display: block;
    }
  }
}

.reviewer {
  order: 3;
  gap: 0.5rem;

  > a {
    color: var(--author-link-text-color);
    font-weight: var(--author-fontweight);
    text-decoration: underline;
  }

  @include max(mobile) {
    justify-content: flex-start;
    display: none;
  }
}

.authorImgContainer {
  position: relative;
  @include flex-align(center, center);

  > span {    
    position: absolute;
    @include flex-align(center, center);
    bottom: -2px;
    right: -2px;
    width: 15px;
    height: 15px;

    img {
      width: 15px;
      height: 15px;
    }
  }
}

.authorCard {
  display: flex;
  width: 100%;
  justify-content: space-between;
  color: var( --author-card-text-color);
  padding: 0;

  .infoContainer {
    justify-content: flex-start;

    @include max(mobile) {
      .prefixStyle {
        display: block;
      }
    }
  }

  @include min(tablet){
    display: flex;
    justify-content: space-between;

  }
}

.prefixCardText {
  padding-right: 2px;
}

.authorSeparator:not(.authorCard) {
  div:not(:first-of-type):not(:last-of-type)::before {
    content: '|';
    padding: 0 3px;

    @include max(mobile){
      display: none;
    }
  }
}