/* ════════════════════════════════════════════════════
   AUTHOR.CSS — Pagina autore
   Componenti condivisi in blog-shared.css.
   ════════════════════════════════════════════════════ */

/* ── Hero ─────────────────────────────────────────── */
.author-page-hero {
  background: var(--bg-soft, #F7FAF9);
  padding: 64px 0;
  border-bottom: 1px solid var(--border, #E5EDEA);
}

/* ── Photo ────────────────────────────────────────── */
.author-photo-lg {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid white;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .12);
  flex-shrink: 0;
  display: block;
}
.author-placeholder-lg {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--bg-teal, #EBF5F2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-head, 'Playfair Display', serif);
  font-size: 36px;
  font-style: italic;
  font-weight: 700;
  color: var(--teal, #2E8B72);
  flex-shrink: 0;
}

/* ── Author name / role ───────────────────────────── */
.author-page-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--teal, #2E8B72);
  margin-bottom: 6px;
}
.author-page-name {
  font-family: var(--ff-head, 'Playfair Display', serif);
  font-size: clamp(26px, 3.5vw, 42px);
  font-weight: 700;
  color: var(--ink, #1A202C);
  line-height: 1.15;
  margin-bottom: 4px;
}
.author-page-role {
  font-size: 16px;
  color: var(--ink-light, #718096);
  margin-bottom: 14px;
}
.author-page-bio {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--ink-mid, #4A5568);
  max-width: 560px;
  margin-bottom: 20px;
}

/* ── Spec chips ───────────────────────────────────── */
.spec-chip {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  color: var(--teal-d, #1F6B57);
  background: var(--bg-teal, #EBF5F2);
  border: 1px solid var(--teal-pale, #C0DDD6);
  padding: 5px 14px;
  border-radius: 100px;
}

/* ── Social buttons ───────────────────────────────── */
.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bg-teal, #EBF5F2);
  border: 1px solid var(--teal-pale, #C0DDD6);
  color: var(--teal-d, #1F6B57);
  text-decoration: none;
  transition: background .18s, color .18s;
}
.social-btn:hover {
  background: var(--teal, #2E8B72);
  color: white;
  border-color: var(--teal, #2E8B72);
}

/* ── Profile link ─────────────────────────────────── */
.author-profile-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--teal, #2E8B72);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-bottom: 1px solid var(--teal-pale, #C0DDD6);
  padding-bottom: 2px;
  transition: color .18s, border-color .18s;
}
.author-profile-link:hover {
  color: var(--teal-d, #1F6B57);
  border-color: var(--teal-d, #1F6B57);
}

/* ── Stat boxes ───────────────────────────────────── */
.author-stat-box {
  background: white;
  border: 1px solid var(--border, #E5EDEA);
  border-radius: var(--radius-md, 12px);
  padding: 16px 20px;
  min-width: 90px;
  text-align: center;
}
.author-stat-number {
  font-family: var(--ff-head, 'Playfair Display', serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--teal, #2E8B72);
  line-height: 1;
}
.author-stat-label {
  font-size: 12px;
  color: var(--ink-light, #718096);
  margin-top: 4px;
}

/* ── Articles section ─────────────────────────────── */
.author-articles-section {
  background: var(--bg-soft, #F7FAF9);
  padding: 72px 0 88px;
}

.author-section-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--teal, #2E8B72);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.author-section-eyebrow::before {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--teal, #2E8B72);
  border-radius: 2px;
  flex-shrink: 0;
}

.author-section-title {
  font-family: var(--ff-head, 'Playfair Display', serif);
  font-size: clamp(24px, 2.8vw, 36px);
  font-weight: 700;
  color: var(--ink, #1A202C);
}

/* ── CTA card in grid ─────────────────────────────── */
.author-cta-card {
  background: var(--teal-d, #1F6B57);
  border-radius: var(--radius-lg, 16px);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  min-height: 340px;
}
.author-cta-card .cta-label {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, .6);
  margin-bottom: 10px;
}
.author-cta-card .cta-title {
  font-family: var(--ff-head, 'Playfair Display', serif);
  font-size: 22px;
  font-weight: 700;
  color: white;
  line-height: 1.3;
  margin-bottom: 12px;
}
.author-cta-card .cta-text {
  font-size: 14px;
  color: rgba(255, 255, 255, .7);
  line-height: 1.65;
  margin-bottom: 20px;
}
.author-cta-card .cta-btn {
  display: inline-block;
  background: white;
  color: var(--teal-d, #1F6B57);
  font-weight: 700;
  font-size: 14px;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  transition: background .18s;
  align-self: flex-start;
}
.author-cta-card .cta-btn:hover { background: var(--bg-teal, #EBF5F2); }

/* ── Back link ────────────────────────────────────── */
.author-back-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--teal, #2E8B72);
  text-decoration: none;
  border-bottom: 1px solid var(--teal-pale, #C0DDD6);
  padding-bottom: 2px;
  transition: color .18s;
}
.author-back-link:hover { color: var(--teal-d, #1F6B57); }

/* ── Responsive ───────────────────────────────────── */
@media (max-width: 991px) {
  .author-page-hero { padding: 48px 0; }
  .author-articles-section { padding: 48px 0 64px; }
  .author-cta-card { min-height: 240px; }
}
@media (max-width: 767px) {
  .author-photo-lg,
  .author-placeholder-lg { width: 88px; height: 88px; }
  .author-placeholder-lg { font-size: 28px; }
}
