/* Author line in the article hero and author box below single tips.
   Plain CSS, enqueued from functions.php on single tips only (not part of the webpack build). */

.c-hero-article__details {
  flex-wrap: wrap;
  row-gap: 0.4rem;
}

.c-hero-article__author {
  font-size: 1.4rem;
  color: #878787;
  color: var(--color-grey-60);
}

.c-hero-article__author strong {
  font-weight: 700;
  color: #333333;
}

.c-author-box {
  display: flex;
  align-items: flex-start;
  gap: 1.6rem;
  margin-top: 4.8rem;
  padding: 2.4rem;
  background: #f8fbff;
  border: 1px solid #eef5fc;
  border-radius: 8px;
}

.c-author-box__avatar {
  flex: 0 0 5.6rem;
  width: 5.6rem;
  height: 5.6rem;
  border-radius: 50%;
  background: #2b8097;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.c-author-box__photo {
  flex: 0 0 5.6rem;
  width: 5.6rem;
  height: auto;
}

.c-author-box__label {
  margin-bottom: 0.4rem;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #2b8097;
}

.c-author-box__name {
  margin-bottom: 0.4rem;
  font-size: 1.8rem;
  font-weight: 700;
  color: #333333;
}

.c-author-box__bio {
  font-size: 1.6rem;
  line-height: 1.5;
  color: #3e3e3e;
}

.c-author-box__link {
  display: inline-block;
  margin-top: 0.8rem;
  font-size: 1.4rem;
  font-weight: 700;
  color: #2b8097;
}

@media (min-width: 1024px) {
  .c-hero-article__author {
    font-size: 1.6rem;
  }
}

@media (max-width: 479px) {
  .c-author-box {
    padding: 1.6rem;
  }

  .c-author-box__photo {
    flex-basis: 4.8rem;
    width: 4.8rem;
  }

  .c-author-box__avatar {
    flex-basis: 4.8rem;
    width: 4.8rem;
    height: 4.8rem;
    font-size: 1.6rem;
  }
}
