/* ============================================================
   Author / Reviewer Profile Page
   ============================================================ */

.author-hero {
  background: linear-gradient(180deg, color-mix(in srgb, var(--author-color) 8%, #fff) 0%, #fff 100%);
  padding: 72px 0 64px;
  border-bottom: 1px solid var(--border-hairline);
}

.author-hero__inner {
  display: flex;
  gap: 48px;
  align-items: flex-start;
  flex-wrap: wrap;
  max-width: 880px;
  margin: 0 auto;
}

.author-hero__avatar {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 4px solid var(--author-color);
  box-shadow: 0 8px 32px color-mix(in srgb, var(--author-color) 25%, transparent);
}

.author-hero__avatar span {
  font-size: 56px;
  font-weight: 900;
  color: #fff;
  font-family: var(--font-slab);
  letter-spacing: -0.02em;
}

.author-hero__text { flex: 1; min-width: 260px; }

.author-hero__role {
  font-size: 11px;
  font-weight: 800;
  color: var(--author-color);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.author-hero__name {
  font-size: 42px;
  font-weight: 900;
  color: #1F2A3D;
  margin: 0 0 8px;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.author-hero__title {
  font-size: 16px;
  color: #585961;
  font-weight: 600;
}

/* Bio */
.author-bio__heading {
  font-size: 28px;
  font-weight: 900;
  color: #1F2A3D;
  margin: 0 0 20px;
  letter-spacing: -0.02em;
}

.author-bio__body {
  font-size: 17px;
  line-height: 1.75;
  color: #3D3F47;
}
.author-bio__body p { margin: 0 0 18px; }

/* Articles grid */
.author-articles__heading {
  font-size: 28px;
  font-weight: 900;
  color: #1F2A3D;
  margin: 0 0 28px;
  letter-spacing: -0.02em;
}

.author-articles__count {
  font-weight: 500;
  color: var(--fg-3);
}

.author-articles__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 768px) {
  .author-hero__inner { gap: 24px; }
  .author-hero__avatar { width: 100px; height: 100px; }
  .author-hero__avatar span { font-size: 36px; }
  .author-hero__name { font-size: 32px; }
  .author-articles__grid { grid-template-columns: 1fr; }
}
