.author-profile {
  padding: 2rem 0 4rem;
}

.author-profile__hero {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 1.5rem 1.75rem;
  margin-bottom: 2.5rem;
  background: var(--nl-surface, #fff);
  border: 1px solid var(--nl-line, #e6e2d8);
  border-radius: var(--nl-radius-lg, 12px);
}

.author-profile__photo {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--nl-accent-soft, #f3f0e8);
}

.author-profile__photo--fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 600;
  color: var(--nl-ink, #121212);
}

.author-profile__info {
  min-width: 0;
  flex: 1;
}

.author-profile__name {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.2;
}

.author-profile__bio {
  margin: 0 0 1.25rem;
  color: var(--nl-muted, #5f5a52);
  line-height: 1.6;
}

.author-profile__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  margin: 0;
}

.author-profile__stats dt {
  margin: 0 0 0.2rem;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--nl-muted, #5f5a52);
}

.author-profile__stats dd {
  margin: 0;
  font-weight: 600;
}

.author-profile__posts-title {
  margin: 0 0 1.25rem;
  font-size: 1.25rem;
}

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

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