/* -----------------------------------------------
   Shared author styles — blog pages + author page
   ----------------------------------------------- */

/* Author block on article pages */
.author-section {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid #E2E8F0;
}

.author-headshot-link {
  flex-shrink: 0;
  display: block;
}

.author-headshot {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  transition: opacity 0.15s;
}

.author-headshot:hover {
  opacity: 0.8;
}

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

.author-label {
  margin: 0 0 0.15rem !important;
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #94A3B8 !important;
  line-height: 1.4 !important;
}

.author-section .author-name {
  display: block;
  font-weight: 700;
  color: #0F172A;
  font-size: 1rem;
  text-decoration: none;
  margin-bottom: 0.15rem;
  line-height: 1.4;
  transition: color 0.15s;
}

.author-section .author-name:hover {
  color: #2563EB;
}

.author-role {
  margin: 0 0 0.5rem !important;
  font-size: 0.9rem !important;
  color: #64748B !important;
  line-height: 1.4 !important;
}

.author-bio {
  margin: 0 !important;
  font-size: 0.9rem !important;
  color: #94A3B8 !important;
  line-height: 1.6 !important;
}

/* Articles grid on author page */
.author-articles-grid {
  display: grid;
  gap: 1.25rem;
}

.author-article-card {
  display: block;
  background: white;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 1.75rem;
  text-decoration: none;
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
}

.author-article-card:hover {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
  border-color: #BFDBFE;
  transform: translateY(-2px);
}

.article-date {
  font-size: 0.75rem;
  font-weight: 600;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}

.article-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0F172A;
  margin: 0 0 0.75rem;
  line-height: 1.4;
}

.article-desc {
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.65;
  margin: 0 0 1rem;
}

.article-cta {
  font-size: 0.85rem;
  font-weight: 600;
  color: #2563EB;
}
