/* =====================================================
   MOVAWAY — AUTEUR (encart bas d'article + page auteur)
   ===================================================== */

/* Réseaux sociaux (encart + hero) */
.author-socials { display: flex; flex-wrap: wrap; gap: 8px; }
.author-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #eff2f7;
  color: #4b5563;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.author-social:hover { background: var(--primary, #297CFF); color: #fff; transform: translateY(-2px); }

/* =========================================================
   ENCART AUTEUR (bas d'article)
   ========================================================= */
.author-box {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  /* Bloc pleine largeur SOUS la grille article/sidebar (plus dans la grille,
     sinon la sidebar sticky flottait par-dessus). */
  margin: 48px 0 0;
  padding: 28px 30px;
  background: #fff;
  border: 1px solid var(--border, #e5eaf2);
  border-radius: 18px;
  box-shadow: 0 4px 20px rgba(0, 8, 56, 0.05);
}
.author-box-avatar { flex: none; }
.author-box-img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 4px var(--primary-soft, #E8F4FF);
}
.author-box-main { min-width: 0; }
.author-box-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--primary, #297CFF);
  margin-bottom: 4px;
}
.author-box-name { font-size: 1.35rem; font-weight: 800; margin: 0; letter-spacing: -0.01em; }
.author-box-name a { color: var(--ink, #000838); text-decoration: none; }
.author-box-name a:hover { color: var(--primary, #297CFF); }
.author-box-role { margin: 3px 0 0; font-size: 14px; font-weight: 600; color: var(--primary, #297CFF); }
.author-box-bio { margin: 12px 0 0; font-size: 15px; line-height: 1.65; color: var(--ink-soft, #4b5563); }
.author-box-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  margin-top: 18px;
}
.author-box-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary, #297CFF);
  text-decoration: none;
  white-space: nowrap;
}
.author-box-link:hover { text-decoration: underline; }

@media (max-width: 600px) {
  .author-box { flex-direction: column; gap: 16px; padding: 22px 20px; }
  .author-box-img { width: 76px; height: 76px; }
}

/* =========================================================
   PAGE AUTEUR : en-tête (SEO + GEO)
   ========================================================= */
.author-hero {
  background: linear-gradient(180deg, var(--primary-soft, #E8F4FF) 0%, #fff 100%);
  padding: 54px 0 34px;
  border-bottom: 1px solid var(--border, #e5eaf2);
}
.author-hero-inner {
  display: flex;
  gap: 28px;
  align-items: center;
  max-width: 900px;
}
.author-hero-avatar { flex: none; }
.author-hero-img {
  width: 118px;
  height: 118px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(0, 8, 56, 0.15), 0 0 0 5px #fff;
}
.author-hero-body { min-width: 0; }
.author-hero-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary, #297CFF);
}
.author-hero-name {
  font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink, #000838);
  margin: 4px 0 0;
  line-height: 1.15;
}
.author-hero-role { margin: 6px 0 0; font-size: 16px; font-weight: 600; color: var(--primary, #297CFF); }
.author-hero-bio { margin: 14px 0 0; font-size: 16px; line-height: 1.7; color: var(--ink-soft, #4b5563); max-width: 640px; }
.author-hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  margin-top: 16px;
  font-size: 13.5px;
  color: var(--ink-soft, #4b5563);
}
.author-hero-stat strong { color: var(--ink, #000838); font-size: 15px; }
.author-hero-exp { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.author-hero-tag {
  background: #fff;
  border: 1px solid var(--border, #e5eaf2);
  border-radius: 999px;
  padding: 3px 11px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink, #000838);
}
.author-hero-socials { margin-top: 18px; }

@media (max-width: 640px) {
  .author-hero { padding: 40px 0 26px; }
  .author-hero-inner { flex-direction: column; text-align: center; gap: 18px; }
  .author-hero-img { width: 96px; height: 96px; }
  .author-hero-meta, .author-hero-exp, .author-hero-socials { justify-content: center; }
  .author-hero-bio { margin-left: auto; margin-right: auto; }
}

/* Titre « Ses articles » sur la page auteur */
.author-articles-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ink, #000838);
  margin: 30px 0 18px;
  padding: 0 0 10px 0;
  border-bottom: 2px solid var(--border, #e5eaf2);
}
