/* Équinoxe — typographie des pages intérieures (17/11/2026). Complète css/typo.css (qui apporte les polices auto-hébergées Literata, Alegreya, Alegreya Sans). Chargé après typo.css. */

/* ===== Titres, menus, formulaires : mêmes familles que l'accueil ===== */
html h4{font-family:var(--f-title);font-weight:500;line-height:1.25}
html .banner,html .preview,html .crumbs,html .side,html .back,html .top select,html #lang,html .foot,html .btn,html .fix a,
html .sub-ui,html label,html select,html button,html .lang-switch{font-family:var(--f-ui)}
html input,html textarea{font-family:var(--f-text)}
html .logo{font-family:var(--f-title);font-weight:500}
html #bdom-foot{font-family:var(--f-ui)}
html #bdom-foot .bd{font-family:var(--f-title)}
html .eq-avis a{font-family:var(--f-ui)}
html .toc a,html .side li a{font-family:var(--f-ui)}
html .toc span{font-family:var(--f-text)}
html figcaption,html .note,html .sources{font-family:var(--f-text)}
/* Alegreya Sans a un petit œil : on remonte les corps trop petits (>= 15 px) */
html .crumbs,html .back,html .banner,html .preview{font-size:max(.95rem,15px)}
html .side li a{font-size:1.05rem}

/* Cas où la page impose sa propre police système (formulaire d'avis, avis publiés, chronologie) */
html .f label,html .f label .opt{font-family:var(--f-ui);font-size:1.1rem}
html .f button{font-family:var(--f-ui)}
html .va small{font-family:var(--f-ui);font-size:.9rem}
html .tl time{font-family:var(--f-ui);font-size:.95rem;font-variant-numeric:lining-nums tabular-nums}

/* Chiffres alignés (scores, temps, tableaux) */
html table,html time,html .num,html .score,html .temps{font-variant-numeric:lining-nums tabular-nums}

/* ===== Colonne de lecture (~34 em ≈ 62–65 signes) : pages à colonne centrée ===== */
html body:not([data-slug]) main{max-width:34em}
html main p,html main li,html main blockquote{text-wrap:pretty}
html main li{line-height:1.6}

/* ===== Paragraphes : retrait de 1,5 em à partir du 2e (pas juste après un titre), sans espace entre paragraphes qui se suivent ===== */
html main p:not([class]){text-indent:0;text-align:left;hyphens:manual}
html main p:not([class]) + p:not([class]){text-indent:1.5em}
html main p:not([class]):has(+ p:not([class])){margin-bottom:0}
html main .sub,html main .pub,html main .note,html main .banner{text-indent:0}

/* ===== equinoxpedia : colonne de texte dans la grille (la page garde son menu latéral et ses figures flottantes) ===== */
html body[data-slug] main article>:is(p,h2,.sub,ul:not([class]),ol:not([class])){max-width:34em}
html body[data-slug] main article>:is(p,ul:not([class]),ol:not([class])){text-align:left}
