.nanews-author-box {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  margin-block: 42px 20px;
  padding: 24px;
  border: 1px solid rgba(20, 30, 45, 0.14);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(20, 30, 45, 0.06);
  color: inherit;
}

.nanews-author-box__media a {
  display: block;
}

.nanews-author-box__photo {
  display: block;
  width: 112px;
  height: 112px;
  object-fit: cover;
  border-radius: 50%;
}

.nanews-author-box__eyebrow {
  margin: 0 0 5px;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.62;
}

.nanews-author-box__name {
  margin: 0;
  font-size: 23px;
  line-height: 1.2;
  font-weight: 750;
}

.nanews-author-box__name a,
.nanews-author-box__more a {
  color: inherit;
  text-decoration: none;
}

.nanews-author-box__name a:hover,
.nanews-author-box__name a:focus,
.nanews-author-box__more a:hover,
.nanews-author-box__more a:focus {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.nanews-author-box__role {
  margin: 6px 0 0;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 650;
  opacity: 0.78;
}

.nanews-author-box__bio {
  margin-block-start: 12px;
  font-size: 16px;
  line-height: 1.65;
}

.nanews-author-box__bio p {
  margin: 0 0 8px;
}

.nanews-author-box__bio p:last-child {
  margin-bottom: 0;
}

.nanews-author-box__more {
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 700;
}

@media (max-width: 640px) {
  .nanews-author-box {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 15px;
    padding: 18px;
    border-radius: 13px;
  }

  .nanews-author-box__photo {
    width: 76px;
    height: 76px;
  }

  .nanews-author-box__name {
    font-size: 20px;
  }

  .nanews-author-box__bio,
  .nanews-author-box__more {
    grid-column: 1 / -1;
  }
}


/* Author archive header */
.nanews-author-archive {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  margin: 12px 0 28px;
}

.nanews-author-archive__media {
  width: 150px;
}

.nanews-author-archive__photo {
  display: block;
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 12px;
}

.nanews-author-archive__description {
  min-width: 0;
}

.nanews-author-archive__description > :first-child {
  margin-top: 0;
}

.nanews-author-archive__description > :last-child {
  margin-bottom: 0;
}

@media (max-width: 640px) {
  .nanews-author-archive {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 16px;
    margin-bottom: 22px;
  }

  .nanews-author-archive__media,
  .nanews-author-archive__photo {
    width: 96px;
    height: 96px;
  }

  .nanews-author-archive__photo {
    border-radius: 10px;
  }
}
