.author-header {
  display: flex;
  align-items: center;
  gap: 3rem;
  margin: 4rem 0;
  padding: 3rem;
  background: var(--color-accent);
  border-radius: 1.2rem;
}

.author-image {
  width: 12rem;
  height: 12rem;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.author-posts .news-grid {
  display: flex;
  flex-direction: column; /* tumpuk ke bawah */
  gap: 2rem; /* jarak antar artikel */
}

.author-posts .news-article {
  display: flex;
  flex-direction: row; /* image kiri, konten kanan */
  gap: 1.5rem;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 1.5rem;
}

.author-posts .news-article:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.author-posts .article-image img {
  width: 160px;
  height: 100px;
  object-fit: cover;
  border-radius: 0.4rem;
}

.author-posts .article-content {
  flex: 1;
}

.author-name {
  font-size: 2.4rem;
  font-weight: 700;
  margin: 0 0 1.6rem 0;
  color: var(--color-text);
}

.author-bio {
  font-size: 1.8rem;
  color: var(--color-text-light);
  margin: 0 0 2rem 0;
  line-height: 1.5;
}

.author-meta {
  display: flex;
  gap: 2rem;
  margin-bottom: 1.6rem;
}

.author-location,
.author-website {
  color: var(--color-text-light);
  text-decoration: none;
  font-size: 1.4rem;
}

.author-website:hover {
  color: var(--color-primary);
}

.author-stats {
  font-size: 1.4rem;
  color: var(--color-text-light);
  font-weight: 600;
}

/* Hilangkan style default section-title di halaman author */
.author-posts .section-title {
  font-size: 1.6rem; /* lebih kecil, opsional */
  font-weight: 600; /* lebih ringan */
  margin: 2rem 0 1rem; /* jarak lebih rapat */
  padding: 0;
  border: none;
  color: var(--color-text); /* netral, bukan warna primary */
  display: none;
}

@media (max-width: 768px) {
  .author-header {
    flex-direction: column;
    text-align: center;
  }

  .author-name {
    font-size: 2.8rem;
  }

  .author-meta {
    justify-content: center;
  }
}
