/* ============================================================
   JBS — Typographie éditoriale des articles
   Chargé UNIQUEMENT sur article.html, APRÈS components.css et
   responsive.css. Améliore le confort de lecture du contenu
   (.prose) sans modifier le reste de la maquette.
   Police de contenu : Source Serif 4 (Google Fonts, display swap).
   ============================================================ */

/* Largeur de lecture : 65–72 caractères par ligne */
.article-body .prose {
  max-width: 72ch;
  margin-inline: auto;
}

.prose {
  font-family: "Source Serif 4", "Georgia", "Times New Roman", serif;
  color: var(--ink);
  text-align: left;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* Paragraphes */
.prose p {
  margin-top: 0;
  margin-bottom: 1.7em;
  font-family: "Source Serif 4", "Georgia", "Times New Roman", serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.9;
  letter-spacing: 0.005em;
  color: var(--ink);
  text-align: left;
}

/* Lettrine — uniquement sur le premier paragraphe, discrète */
.prose > p:first-of-type::first-letter {
  float: left;
  font-family: "Cormorant Garamond", "Source Serif 4", serif;
  font-weight: 600;
  font-size: 5.7em;
  line-height: 1;
  padding-right: 0.14em;
  color: var(--rdc-gold-text);
}

/* Sous-titres */
.prose h2 {
  font-family: "Cormorant Garamond", "Georgia", serif;
  font-weight: 600;
  font-size: clamp(2rem, 3vw, 2.6rem);
  line-height: 1.2;
  color: var(--rdc-blue-deep);
  margin-top: 2.2em;
  margin-bottom: 0.8em;
}

.prose h3 {
  font-family: "Cormorant Garamond", "Georgia", serif;
  font-weight: 600;
  font-size: 1.45rem;
  color: var(--rdc-blue);
  margin-top: 2em;
  margin-bottom: 0.7em;
}

/* Citations — bloc éditorial fort */
.prose blockquote {
  margin: 2.2em 0;
  padding: 1.5em 1.9em;
  background: var(--ivory);
  border-left: 3px solid var(--rdc-gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: "Cormorant Garamond", "Georgia", serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.45;
  color: var(--rdc-blue-deep);
}

.prose blockquote footer,
.prose .quote-author {
  display: block;
  margin-top: 1.1em;
  font-family: "Inter", system-ui, sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rdc-gold-text);
}

.prose blockquote footer::before,
.prose .quote-author::before {
  content: "";
  display: inline-block;
  width: 26px;
  height: 2px;
  background: var(--rdc-gold);
  margin-right: 10px;
  vertical-align: middle;
}

/* Liens sobres, soulignement animé au survol */
.prose a {
  color: var(--rdc-blue);
  font-weight: 600;
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-size: 0 1px;
  background-position: 0 100%;
  transition: background-size var(--t-med) var(--ease);
}

.prose a:hover,
.prose a:focus-visible {
  background-size: 100% 1px;
  color: var(--rdc-blue-deep);
}

/* Listes */
.prose ul,
.prose ol {
  margin: 0 0 1.7em;
  padding-left: 1.4em;
  font-family: "Source Serif 4", "Georgia", serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.9;
  color: var(--ink);
}

.prose li {
  margin-bottom: 0.55em;
}

/* Mobile : confort de lecture conservé */
@media (max-width: 640px) {
  .prose p,
  .prose ul,
  .prose ol {
    font-size: 18px;
    line-height: 1.8;
  }

  .prose blockquote {
    font-size: 1.35rem;
  }
}
