.author-profile {
  display: flex;
  gap: 1.4rem;
  align-items: center;
  margin: 0.4rem 0 1.4rem;
}

.author-profile__photo {
  width: 150px;
  height: 150px;
  flex: 0 0 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--line);
  background: var(--surface-soft);
}

.author-profile__text h1 {
  margin: 0 0 0.3rem;
}

.author-profile__role {
  margin: 0 0 0.6rem;
  color: var(--accent-dark);
  font-weight: 600;
}

.author-profile__text .lead {
  margin: 0;
}

.expertise-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
  margin: 1rem 0;
}

.expertise-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  padding: 0.9rem 1rem;
}

.expertise-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.expertise-card p {
  margin: 0;
  color: var(--text-muted);
}

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

  .expertise-list {
    grid-template-columns: 1fr;
  }
}
