/* ==========================================================================
   AUTHOR PAGE STYLES
   ========================================================================== */

.archive.author #site-wrapper .container {
  padding-top: 15px;
  padding-left: 0;
  padding-right: 0;
}

.box-author {
  display: flex;
  align-items: flex-start;
}

.author-photo {
  flex: 0 0 120px;
  width: 120px;
}

.author-photo img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border: 1px solid #ebebeb;
  padding: 3px;
  display: block;
}

.author-profile-card {
  padding-left: 20px;
}

.author-profile-card h1 {
  font-size: 24px;
}

.author-postition {
  color: #666;
  margin: 10px 0;
}

.author-social {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}

.author-social .social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #fff;
  background-color: #fe0000;
  font-size: 15px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.author-social .social-icon.social-facebook {
  background-color: #1877f2;
}

.author-social .social-icon.social-twitter {
  background-color: #1da1f2;
}

.author-social .social-icon.social-linkedin {
  background-color: #0a66c2;
}

.author-social .social-icon.social-youtube {
  background-color: #ff0000;
}

.author-social .social-icon.social-instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.author-social .social-icon.social-pinterest {
  background-color: #e60023;
}

.author-social .social-icon:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

.box-content {
  padding-top: 20px;
}

.box-content .title {
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  line-height: normal;
  margin-bottom: 10px;
  color: #fe0000;
}

.box-content .title h2 {
  margin-bottom: 0;
  font-size: 18px;
  padding-left: 2px;
}

.box-content .content {
  text-align: justify;
}

.box-content .box {
  margin-bottom: 15px;
}

.box-content .box:last-child {
  margin-bottom: 0;
}

.author-posts-area {
  margin-top: 35px;
  padding-top: 25px;
  padding-bottom: 20px;
  border-top: 1px solid #ebebeb;
}

.author-posts-title {
  font-size: 20px;
  font-weight: 700;
  color: #fe0000;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.list-author-posts {
  list-style: none;
  padding: 0;
  margin-left: -15px;
  margin-right: -15px;
}

.author-posts-area .no-posts {
  font-size: 16px;
  color: #666;
  font-style: italic;
  padding: 10px 0;
}

/* Responsive Tablet */
@media (max-width: 1024px) {
  .archive.author #site-wrapper .container {
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 15px;
  }

  .archive.author #site-wrapper .container .col-9 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .list-author-posts .col-4.post-item {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* Responsive Mobile */
@media (max-width: 640px) {
  .box-author {
    flex-wrap: wrap;
  }

  .author-photo,
  .author-photo img {
    width: 120px;
    height: 120px;
  }

  .author-profile-card {
    padding-left: 0;
    padding-top: 10px;
  }

  .box-content .title h2 {
    padding-left: 5px;
  }

  .list-author-posts .col-4.post-item {
    flex: 0 0 100%;
    max-width: 100%;
  }
}
