/* Author pages: /authors/ and /authors/<slug>/ (hugo/layouts/authors/list.html).
   The hero and .inner-band are in style.css. */
.authors-main { padding: 45px 0 64px; }

.authors-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.author-card a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  height: 100%;
  box-sizing: border-box;
  padding: 32px 24px;
  background: var(--surface);
  border-radius: var(--radius-card);
  box-shadow: 0 4px 16px rgba(0,0,0,.06);
  color: inherit;
  transition: box-shadow .2s, transform .2s;
}
.author-card a:hover { text-decoration: none; box-shadow: 0 8px 24px rgba(0,0,0,.1); transform: translateY(-2px); }
.author-card-photo { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; margin-bottom: 8px; }
.author-card-name { font-size: 22px; font-weight: 600; color: var(--brand-blue); }
.author-card-job { font-size: 15px; color: var(--text-muted); }
.author-card-bio { font-size: 15px; line-height: 1.5; }

.author-profile {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  padding: 32px;
  background: var(--surface-chip);
  border-radius: var(--radius-card);
}
.author-profile-photo { flex: none; width: 160px; height: 160px; border-radius: 50%; object-fit: cover; }
.author-profile-job { margin: 0 0 12px; font-weight: 600; color: var(--text-muted); }
.author-profile-bio p { margin: 0 0 12px; }
.author-profile-links { margin: 0; }

.author-articles { padding-top: 40px; }
.author-articles h2 { font-size: 28px; font-weight: 500; margin: 0 0 24px; }
.author-articles .cards-grid { grid-template-columns: repeat(3, 1fr); }
.author-articles .pagination { margin-top: 32px; }

@media (max-width: 1024px) {
  .author-articles .cards-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .author-profile { flex-direction: column; align-items: center; padding: 24px; }
  .author-profile-photo { width: 120px; height: 120px; }
  .author-articles .cards-grid { grid-template-columns: 1fr; }
}
