/* Author profile page (extends news light theme) */

.author-page {
  max-width: 42rem;
}

.author-hero {
  display: flex;
  flex-wrap: wrap;
  gap: 1.35rem 1.75rem;
  align-items: flex-start;
  margin-bottom: 2rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--border);
}

.author-photo {
  width: 140px;
  height: 140px;
  border-radius: 28px;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: var(--shadow-lg);
  background: #e2e8f0;
  flex-shrink: 0;
}

.author-hero-text {
  flex: 1;
  min-width: min(100%, 16rem);
}

.author-hero-text h1 {
  margin: 0 0 0.5rem;
}

.author-lede {
  margin-bottom: 1.1rem;
  max-width: 34rem;
}

.author-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 0.85rem;
}

.author-cta-primary {
  background: var(--accent) !important;
  color: #fff !important;
  border-color: transparent !important;
}

.author-cta-primary:hover {
  background: var(--accent-hover) !important;
}

.author-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.1rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.author-social a {
  color: var(--text-secondary);
  text-decoration: none;
}

.author-social a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.author-areas {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.author-areas li {
  margin: 0;
  padding: 0.95rem 1.05rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.author-areas strong {
  color: var(--text);
  font-size: 0.95rem;
}

.author-areas span {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.5;
}

.author-body .callout .btn {
  display: inline-flex;
  margin-top: 0.35rem;
}

@media (max-width: 520px) {
  .author-photo {
    width: 112px;
    height: 112px;
    border-radius: 22px;
  }
}
