/* ============================================================
   BetterCallHealth - article.css
   Styles communs aux articles du blog, extraits des blocs <style>
   inline (identiques) de :
   - blog/analyses-normales-mais-malade.html (lignes 154-173)
   - blog/fibromyalgie-alimentation.html (lignes 154-173)
   Charger avec tokens.css + chrome.css.
   Note : .research-box et .takeaway-box restent definis dans
   css/design-fixes.css (deja charge par les articles).
   Ce qui est specifique a un article reste inline dans la page.
   ============================================================ */

/* ---------- Corps d'article ---------- */
.article-content h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1f2937;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #0EA5E9;
}
.article-content h3 {
  font-size: 1.35rem;
  font-weight: 600;
  color: #374151;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}
.article-content p { margin-bottom: 1.25rem; line-height: 1.8; color: #4b5563; }
.article-content ul, .article-content ol { margin-bottom: 1.25rem; padding-left: 1.5rem; }
.article-content li { margin-bottom: 0.5rem; line-height: 1.7; color: #4b5563; }
.article-content ul li { list-style-type: disc; }
.article-content ol li { list-style-type: decimal; }
.article-content blockquote {
  border-left: 4px solid #0EA5E9;
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: #f0f9ff;
  border-radius: 0 0.5rem 0.5rem 0;
}
.article-content blockquote p { color: #0369a1; margin-bottom: 0; font-style: italic; }
.article-content strong { color: #1f2937; }
.article-content a { color: #0EA5E9; text-decoration: underline; text-underline-offset: 2px; }
.article-content a:hover { color: #1E3A5F; }

/* ---------- Tableaux ---------- */
.article-content table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; }
/* Tables responsives : sur mobile, scroll horizontal interne au lieu de pousser la page (evite l overflow horizontal du blog) */
@media (max-width: 680px){
  .article-content table { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
}
.article-content th {
  background: #f0f9ff;
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 600;
  border-bottom: 2px solid #0EA5E9;
}
.article-content td { padding: 0.75rem 1rem; border-bottom: 1px solid #e5e7eb; }

/* ---------- Encadre CTA ---------- */
.cta-box {
  background: linear-gradient(135deg, #f0f9ff 0%, #faf5ff 100%);
  border: 2px solid #0EA5E9;
  border-radius: 1rem;
  padding: 2rem;
  margin: 2rem 0;
}
/* Seul le bouton PLEIN (.bch-cta) a un texte blanc ; les boutons "outline" (bg-white text-primary) gardent leur texte bleu, sinon blanc-sur-blanc invisible */
.article-content .cta-box a { text-decoration: none; }
.article-content .cta-box a.bch-cta,
.article-content .cta-box a.bch-cta:hover { color: #fff; }
