.ta-author-page {
  background: #fff;
}

.about-the-author {
  display: grid;
  grid-template-columns: 1fr 32%;
  align-items: flex-end;
  gap: 40px;
}

.about-the-author-left {
  padding-bottom: 60px;
}

.about-the-author-right {
  position: relative;
  height: 300px;
}

.about-the-author h1 {
  font-size: 40px;
  font-weight: 600;
  line-height: 1.4;
  color: #fff;
  margin-bottom: 0;
}

.about-the-author .designation {
  color: #fff;
  font-size: 16px;
  font-weight: normal;
  line-height: 1.4;
  text-transform: uppercase;
  margin-bottom: 0;
}

.author-hero-bottom {
  padding: 60px 0;
  background-color: #fbf7fb;
}

.author-hero-bottom .description {
  width: calc(100% - 470px);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.9;
}

.author-hero-bottom .description p {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.9;
  margin-bottom: 24px;
}

.author-hero-bottom .description p:last-child {
  margin-bottom: 0;
}

.author-hero-top {
  padding-top: 60px;
  background: linear-gradient(166.62deg, #be249b 0.85%, #7b12c7 100.05%);
}

.about-the-author {
  position: relative;
}

.author-avator-box {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.author-avator-box img {
  width: 100%;
  height: 100%;
}

.heading-icon {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 20px 0 14px;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.social-links a {
  color: #fff !important;
  text-decoration: none;
  display: inline-block;
  flex-shrink: 0;
}

.social-links img {
  width: 23px;
  height: 23px;
  object-fit: contain;
  border-radius: 4px;
}

.about-the-author .badge {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
  color: #fff;
  text-transform: uppercase;
  border-radius: 24px;
  padding: 8px 14px;
  display: inline-block;
  background-color: #8716c0;
}

/* POSTS */
.author-posts {
  padding: 80px 0;
}

.author-posts h2 {
  font-size: 30px;
  color: #000;
  font-weight: 400;
  line-height: 1.4;
  margin-bottom: 40px;
}

.author-posts .posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.author-posts .post-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  transition: 0.3s;
  box-shadow: 0 0.5rem 1rem rgb(0 0 0 / 7%);
}

.author-posts .post-card:hover {
  transform: translateY(-5px);
}

.author-posts .post-card a {
  color: #000;
  text-decoration: none;
}

.author-posts .post-card a:hover {
  color: #000;
}

.author-posts .post-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  object-position: top center;
}

.author-posts .post-card h3 {
  font-size: 15px;
  margin-bottom: 14px;
}

.author-posts .post-details {
  padding: 20px 24px;
}

.area-of-expertise {
  background-color: #171624;
  padding: 80px 0;
}

.area-of-expertise h4 {
  font-size: 30px;
  font-weight: 400;
  color: #fff;
  line-height: 1.4;
  margin-bottom: 24px;
}

.area-of-expertise .expertise-list {
  margin: 0;
  padding-left: 60px;
  list-style: disc;
}

.area-of-expertise li {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.9;
  color: #fff;
  margin-bottom: 16px;
}

.author-quote {
  padding: 80px 0;
  background-color: #fbf7fb;
}

.author-quote-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
}

.author-quote-content p {
  font-size: 32px;
  font-weight: 400;
  line-height: 1.4;
  color: #000;
  max-width: 800px;
  margin-bottom: 0;
}

.author-quote-content span {
  background: linear-gradient(90deg, #bf249b 0%, #8f17bb 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 600;
}
@media (max-width: 1024px) {
  .author-avator-box,
  .author-hero-bottom .description {
    width: 100%;
  }
}
@media (max-width: 992px) {
  .about-the-author {
    align-items: center;
  }
  .about-the-author h1 {
    font-size: 28px;
  }
  .about-the-author .designation {
    font-size: 12px;
  }
  .heading-icon {
    margin-bottom: 10px;
  }
  .author-posts .posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .about-the-author {
    grid-template-columns: 1fr;
    align-items: center;
  }
  .about-the-author-left {
    padding-bottom: 0;
  }
  .about-the-author-right {
    height: 100%;
    padding-bottom: 60px;
  }
  .author-avator-box {
    height: 100%;
    position: relative;
  }
  .about-the-author h1 {
    font-size: 18px;
  }
  .about-the-author .designation {
    font-size: 11px;
  }
  .about-the-author .badge {
    font-size: 10px;
  }
  .social-links img {
    width: 18px;
    height: 18px;
  }
  .author-hero-bottom .description {
    width: 100%;
  }
  .author-quote-content {
    gap: 30px;
  }
  .author-quote-content img {
    width: 70px;
  }
  .author-quote-content p,
  .author-posts h2 {
    font-size: 24px;
  }
}

@media (max-width: 575px) {
  .author-posts .posts-grid {
    grid-template-columns: 1fr;
  }
  .author-quote-content img {
    width: 30px;
  }
  .author-quote-content p {
    font-size: 20px;
  }
}
