.author-template .container {
  margin: auto;
}
.author-template {
  width: 100%;
  margin-top: 20px;
}
.container.has-sidebar {
  display: grid;
  grid-template-columns: 70% auto;
  gap: 30px;
}
.author-profile-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-flow: row wrap;
  margin: 15px 0;
  border: 0;
  margin-top: 0;
  background: #e1e1e1;
  border-radius: 7px;
  padding: 10px 15px;
}
.author-photo {
  max-width: 15%;
  flex-basis: 15%;
  line-height: 1;
}
.author-photo img {
  border-radius: 50px;
  width: 96px;
  border: 2px solid #bebebe;
  padding: 2px;
  margin: 0;
}
.author-des {
  flex-basis: 85%;
  max-width: 85%;
  font-size: 1em;
  font-weight: 500;
}
@media screen and (max-width: 991px) {
  .container.has-sidebar {
    grid-template-columns: 65% auto;
    gap: 20px;
  }
}
@media screen and (max-width: 767px) {
  .container.has-sidebar {
    grid-template-columns: 100% auto;
  }
  .author-des {
    flex-basis: 77%;
    max-width: 77%;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    max-height: 8rem;
    font-size: 0.9em;
  }
  .author-photo {
    max-width: 20%;
    flex-basis: 20%;
  }
}