/* Journal plus lisible (variante B, 31 oct. 2026)
   Chargé en dernier par chaque article : passe par-dessus le style propre à la page.
   On garde les couleurs du journal ; on change la police (Montserrat, grandes
   minuscules), le contraste du texte (blanc franc) et la taille des petites mentions. */

/* Une seule police partout, sauf le code */
body, body *:not(code):not(pre):not(kbd):not(samp):not(.tool-url) {
  font-family: 'Montserrat', sans-serif !important;
}

/* Titres : Montserrat est plus large que les polices d'avant, on les ramène un peu */
.article-header h1, .article-body h2, .article-body h3 { letter-spacing: 0 !important; }
.article-header h1 { font-size: clamp(2.1rem, 5.5vw, 3rem) !important; line-height: 1.15 !important; }
.article-soustitre { font-style: normal !important; font-weight: 600 !important; font-size: 1.3rem !important; }
.article-body h2 { font-size: 1.6rem !important; line-height: 1.25 !important; }
.article-body h3 { font-size: 1.3rem !important; line-height: 1.3 !important; }

/* Texte courant : blanc franc, 18 px, interligne confortable */
.article-body p,
.article-body li,
.article-body td,
.article-body dd,
.article-body blockquote {
  font-size: 1.125rem !important;
  line-height: 1.6 !important;
  color: #ffffff !important;
}
.article-intro { color: #e8eef8 !important; font-size: 1.15rem !important; line-height: 1.55 !important; }
.highlight-box p { font-size: 1.2rem !important; }

/* Petites mentions : plus grosses et plus claires */
.back-link { font-size: .85rem !important; color: rgba(232,238,248,.75) !important; letter-spacing: 1px !important; font-weight: 600 !important; }
.article-date { font-size: .9rem !important; color: rgba(232,238,248,.8) !important; letter-spacing: 0 !important; }
.categorie-badge { font-size: .75rem !important; letter-spacing: 1.5px !important; }
figcaption, .img-legende {
  font-size: .95rem !important;
  color: rgba(232,238,248,.8) !important;
  letter-spacing: 0 !important;
  font-style: normal !important;
}
.article-footer, .nav-article-link, .tag { font-size: .95rem !important; }

/* Page Journal (liste des articles) */
header:not(.article-header) h1, .card-title { letter-spacing: 0 !important; }
header:not(.article-header) p { color: rgba(232,238,248,.8) !important; font-size: 1.05rem !important; letter-spacing: 0 !important; }
.card-title { font-size: 1.35rem !important; }
.card-resume { color: rgba(255,255,255,.9) !important; font-size: 1.05rem !important; line-height: 1.55 !important; }
.card-date { color: rgba(232,238,248,.8) !important; font-size: .9rem !important; letter-spacing: 0 !important; }
