:root {
  --color-primary: #444e5a;
}

.section--author {
  width: 100%;
  background-color: #fafafa;
  padding: 130px 0 70px;
  user-select: none;
}

.author-info__wrapper {
  display: flex;
  flex-direction: row;
  gap: 60px;
  margin: 0 20px;
  width: 100%;
}

.author-info__avatar {
  width: 350px;
  min-width: 350px;
  height: 350px;
  border-radius: 20px;
  overflow: hidden;
}

.author-info__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-info__main {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding-top: 30px;
}

.author-info__labels {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 35px;
}

.author-info__label {
  color: var(--color-primary);
  text-transform: uppercase;
  line-height: 1.2;
  font-size: 15px;
  font-weight: 500;
}

.author-info__main__wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

div.author-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background-color: transparent;
  padding: 0;
  border-radius: 0;
  height: auto;
}

h1.author-info__name {
  color: #101926;
  font-weight: bold;
  text-transform: uppercase;
  line-height: 1.2;
  font-size: 32px;
  line-height: 42px;
  width: min-content;
}

h2.author-info__role {
  color: var(--color-primary);
  line-height: 1.2;
  text-transform: uppercase;
  font-size: 22px !important;
  font-weight: 500;
  letter-spacing: .3px;
}

.author-info__description {
  font-size: 16px;
  color: var(--color-primary);
  line-height: 1.5;
}

.author-info__socials {
  display: flex;
  align-items: center;
  gap: 10px;
}

.author-info__social {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .1s transform ease;
}

.author-info__social:hover {
  transform: scale(1.05);
}

.section--posts {
  padding: 50px 0;
}

.author-posts__wrapper {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.author__posts {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

.author-posts__wrapper > .author-info__label {
  margin-left: 20px;
}

.post__wrapper {
  margin: 0 !important;
  padding: 0 20px;
}

.post {
  margin-top: 40px;
  background: #fafafa;
  border-radius: 20px;
  max-height: 640px;
  float: left;
  overflow: hidden;
}

.post .img-fluid {
  width: 100%;
  height: auto;
  max-width: 100%;
}

.post .edit {
  margin: 0 20px;
  position: relative;
  height: 285px;
  text-overflow: ellipsis;
  overflow: hidden;
  float: left;
}

.post .edit .taxonomy {
  font-size: 14px;
  margin-top: 20px;
  width: 95%;
  float: left;
}

.post .dark {
  color: #101926;
}

.post .light {
  color: #808f9d;
}

.post .mediumcolor {
  color: #444e5a;
}

.post .datetime {
  font-size: 14px;
  margin-top: 20px;
  width: 5%;
  float: right;
  text-align: right;
  display: none;
}

.post .edit .title {
  float: left;
}

.post .font-weight-bold {
  font-weight: 700;
}

.post .h3 {
  font-size: 26px !important;
  line-height: 29px;
  min-height: 29px;
  margin: 20px 0 0;
}

.post .excerptpost {
  float: left;
  height: 100%;
  position: relative;
}

.post .excerptpost p {
  letter-spacing: 0;
}

.post .content p {
  margin: 15px 0 0;
  font-size: 17px;
  line-height: 28px;
  color: inherit;
  font-weight: inherit;
}

.post .content.more {
  position: absolute;
  bottom: 0px;
  display: none;
}

.post .content.more p {
  margin: 0px;
  margin-bottom: 10px;
}

.convert-pdf__banner .white,
.convert-pdf__banner .white p {
  color: white;
  font-size: 17px;
}

.label--mobile {
  display: none;
}

.author-info__socials__wrapper {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.col-xs-6 {
  width: 50%;
}

.author__posts__empty {
  margin: 50px auto 0;
}

@media screen and (max-width: 991px) {
  .author-info__avatar {
    width: 250px;
    min-width: 250px;
    height: 250px;
  }
}

@media screen and (max-width: 768px) {
  section.section--author {
    padding: 80px 0 50px;
  }

  .author-info__wrapper {
    gap: 40px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0;
  }

  .author-posts__wrapper > .author-info__label {
    margin: 0;
  }

  .post__wrapper {
    padding: 0;
  }
}


@media screen and (max-width: 480px) {
  .author-info__wrapper {
    gap: 30px;
  }

  .author-info__avatar {
    width: 200px;
    min-width: 200px;
    height: 200px;
  }

  .author-info__main__wrapper {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
  }

  .label--mobile {
    display: block;
  }

  .author-info__socials__wrapper {
    width: 100%;
  }

  .author-info__socials {
    margin: 0 auto;
    align-items: center;
  }

  .author-info__description {
    text-align: center;
  }

  .author-info__labels {
    margin-bottom: 15px;
  }

  h2.author-info__role {
    min-height: auto !important;
  }

  .author-info__labels .author-info__label:last-of-type {
    display: none;
  }

  .author-info {
    margin: 0 auto;
    text-align: center;
    align-items: center;
  }
}