.innerbannerbg img {
  object-position: 0% 76%;
}
.author-section {
  background: rgb(242, 242, 242);
}
.author-card {
  max-width: 350px;
  margin: 0 auto;
  overflow: hidden;
  padding: 30px;
  border: 0px solid #000;
  border-radius: 20px;
  text-align: center;
  position: relative;
  z-index: 2;
  background-color: rgba(var(--white-color), 1);
  box-shadow: 0 3px 10px 0 rgba(0, 0, 0, 0.171);
  margin-bottom: 24px;
}
.author-card::before {
  content: "";
  background-color: rgb(71 69 69 / 13%);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 34%;
  z-index: -1;
}
.author-img {
  width: 120px;
  height: 120px;
  display: flex;
  overflow: hidden;
  margin: 0 auto;
  border-radius: 50%;
  align-items: center;
  margin-bottom: 14px;
  justify-content: center;
  max-width: 100%;
}
.author-img img {
  object-fit: cover;
  object-position: right;
  width: 100%;
  height: 100%;
}
.author-name h3 {
  color: rgba(var(--fourth-color), 1);
  font-size: 27px;
  font-weight: 600;
  text-transform: capitalize;
  margin-bottom: 14px;
}
.addressbox {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 15px;
  color: rgba(var(--black-color), 1);
  font-weight: 500;
  margin-bottom: 10px;
}
.sociallist {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.sociallist li a i {
  color: rgba(var(--main-color), 1);
  font-size: 18px;
}

.authorabout-contentbox {
  max-width: 350px;
  margin: 0 auto;
  overflow: hidden;
  padding: 20px;
  border: 0px solid #000;
  border-radius: 20px;
  text-align: start;
  position: relative;
  z-index: 2;
  background-color: rgba(var(--white-color), 1);
  box-shadow: 0 3px 10px 0 rgba(0, 0, 0, 0.171);
}
.author-text-title h3 {
  font-weight: 600;
  font-size: 18px;
  color: rgba(var(--black-color), 1);
  margin-bottom: 14px;
}
.author-para p {
  font-size: 13px;
  list-style: 1.5;
  color: rgba(var(--black-color), 0.8);
  text-align: left;
}

/* Related Posts Widget */
.related-posts-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.related-post-card {
  display: flex;
  gap: 12px;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  align-items: start;
}

.related-post-thumbnail {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.related-post-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.related-post-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.related-post-title {
  font-size: 20px;
  font-weight: 600;
  color: rgba(var(--fourth-color), 1);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0;
}

.related-post-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: #000000;
  font-weight: 600;
}

.related-post-author {
  display: flex;
  align-items: center;
  gap: 5px;
}

.related-post-author-img {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
}

.related-post-date {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Responsive */
@media (max-width: 768px) {
  .sidebar-widget-wrap {
    max-width: 100%;
  }

  .sidebar-widget-box {
    padding: 20px;
  }

  .widget-header-title {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .sidebar-widget-box {
    padding: 18px;
  }

  .related-post-thumbnail {
    width: 70px;
    height: 70px;
  }

  .related-post-title {
    font-size: 13px;
  }
}

@media (max-width: 1199px) {
  .related-post-title {
    font-size: 16px;
  }
}

@media (max-width: 991px) {
  .related-post-title {
    font-size: 14px;
  }
}
@media (max-width: 767px) {
  .related-posts-list {
    max-width: 350px;
    margin: 0 auto;
    margin-top: 24px;
  }
}
@media (max-width: 580px) {
  .author-img {
    width: 90px;
    height: 90px;
  }
  .author-card {
    padding: 22px;
  }
  .author-name h3 {
    font-size: 20px;
    margin-bottom: 9px;
  }
  .related-post-title {
    font-size: 13px;
  }
  .related-post-meta {
    font-size: 10px;
  }
}
