/* Authors Listing Page */
.authors-hero {
  padding: 60px 0 40px;
  background: #f4f4f4;
}

.authors-hero__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: flex-start;
  gap: 80px;
}

.authors-hero__title {
  font-family: "Inter", sans-serif;
  font-size: 50px;
  font-weight: 800;
  color: #000;
  white-space: nowrap;
  margin: 0;
}

.authors-hero__desc {
  font-family: "Inter", sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #000;
  line-height: 1.6;
  margin: 0;
  max-width: 700px;
}

.authors-banner {
  width: 100%;
  height: 420px;
  overflow: hidden;
}

.authors-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.authors-grid-section {
  background: #f4f4f4;
  padding: 80px 0;
}

.authors-grid {
  max-width: 1560px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.author-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  width: 280px;
  position: relative;
  padding-top: 0;
}

.author-card__img-wrap {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  background: #fdf6ec;
  position: relative;
  z-index: 2;
}

.author-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.author-card__info {
  background: #fafafa;
  border-radius: 18px;
  padding: 80px 20px 30px;
  margin-top: -60px;
  width: 100%;
  text-align: center;
}

.author-card__name {
  font-family: "Inter", sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: #000;
  margin: 0 0 6px;
}

.author-card__title {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #908d8d;
  margin: 0;
}

.author-card:hover .author-card__name {
  color: #e8790b;
}

/* Author Detail Page */
.author-detail-hero {
  background: #f4f4f4;
  padding: 0;
}

.author-detail-banner {
  width: 100%;
  height: 350px;
  overflow: hidden;
}

.author-detail-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-detail-card {
  max-width: 1351px;
  margin: -120px auto 0;
  background: #fafafa;
  border: 1px solid #d8d8d8;
  border-radius: 31px;
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 48px 60px;
  position: relative;
  z-index: 2;
}

.author-detail-card__avatar {
  width: 252px;
  height: 252px;
  flex-shrink: 0;
}

.author-detail-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.author-detail-card__info {
  flex: 1;
}

.author-detail-card__name-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.author-detail-card__name {
  font-family: "Inter", sans-serif;
  font-size: 48px;
  font-weight: 700;
  color: #000;
  margin: 0;
  line-height: 1.1;
}

.author-detail-card__linkedin {
  display: inline-flex;
  width: 28px;
  height: 28px;
}

.author-detail-card__linkedin img {
  width: 100%;
  height: 100%;
}

.author-detail-card__title {
  font-family: "Inter", sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #908d8d;
  margin: 0 0 24px;
}

.author-detail-card__bio {
  font-family: "Inter", sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #000;
  line-height: 1.6;
  margin: 0;
}

.author-articles-heading {
  max-width: 1280px;
  margin: 60px auto 30px;
  padding: 0 40px;
  font-family: "Inter", sans-serif;
  font-size: 45px;
  color: #000;
}

.author-articles-heading span {
  font-weight: 400;
}

.author-articles-heading strong {
  font-weight: 700;
}

/* Responsive */
@media (max-width: 900px) {
  .authors-grid {
    gap: 30px;
  }

  .authors-hero__inner {
    flex-direction: column;
    gap: 20px;
  }

  .authors-hero__title {
    font-size: 36px;
  }

  .author-detail-card {
    flex-direction: column;
    text-align: center;
    padding: 40px 30px;
    margin: -80px 20px 0;
  }

  .author-detail-card__name {
    font-size: 32px;
  }

  .author-detail-card__name-row {
    justify-content: center;
  }

  .author-articles-heading {
    font-size: 32px;
  }
}

@media (max-width: 600px) {
  .author-card {
    width: 100%;
    max-width: 280px;
  }

  .authors-banner {
    height: 220px;
  }

  .author-detail-banner {
    height: 200px;
  }

  .author-detail-card__avatar {
    width: 180px;
    height: 180px;
  }
}
