section.author-page {
  padding: 24px;
}

.author-page--padding {
  background-color: #fff;
  padding-top: 24px;
}

.author-page__wrap {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 25px;
  align-items: center;
}

.author-page__wrap main {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 0 0 auto;
}

.author-page__wrap main .photo {
  flex-shrink: 0;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  -o-object-fit: cover;
  object-fit: cover;
}

.author__description {
  font-size: 16px;
  margin-top: 20px;
  color: var(--color-grey);
  line-height: 1.65;
}

.author__description .read-more {
  color: var(--color-red);
  cursor: pointer;
  display: inline-block;
  white-space: nowrap;
}

.author__description .read-more svg {
  height: 18px;
}

.author__description .read-more svg path  {
  stroke: var(--color-red);
}

.author__description .read-more.read--less svg {
  transform: rotate(180deg);
  top: 3px;
}

.author__description .read-more ~ .hidden,
.author__description .read-more ~ .read--less {
  display: none;
}

/* Active read more.  */
.author__description .read-more.active {
  display: none;
}

.author__description .read-more.active ~ .hidden,
.author__description .read-more.active ~ .read--less {
  display: inline;
}

section.author-page .article__category {
  margin: 0;
  font-size: 12px;
}

section.author-page h1 {
  font-size: 24px;
  margin: 0;
  margin-top: 4px;
}

/* Responsive desing. */

@media (min-width: 768px) {
  section.author-page {
    padding: 40px 40px;
  }

  section.author-page h1 {
    margin: 5px 0;
    font-size: 28px;
  }

  .author-page__wrap {
    flex-direction: row;
    gap: 160px;
    justify-content: space-between;
    align-items: flex-start;
  }

  .author-page__wrap main .photo {
    width: 200px;
    height: 200px;
  }

  .author-page--padding {
    padding-top: 32px;
  }

  .author__description {
    margin-top: 15px;
  }
}