/* =====================================================================
   Actualités v2 (8 nov. 2026) : refonte « journal ». Chargée par actualites.php et actualite.php. Préfixe .csb-jn-
   Parti pris : un journal de terrain, pas une grille de cartes. Une seule « une » en grand, puis un index en lignes
   (vignette carrée, rubrique, titre, résumé) que l'on peut filtrer par rubrique. La fiche d'article se lit comme un
   article de presse : titre unique, couverture large, colonne de lecture, photos en grille régulière dans la visionneuse.
   L'ancienne feuille csb-actualites.css n'est plus chargée par ces pages.
   v3 (8 nov. 2026) : en-tête aligné sur la page Événements ; fiche d'article selon le modèle Econest « blog-details »
   (colonne d'article + barre latérale de widgets), préfixe .csb-bd-.
   ===================================================================== */
.csb-jn-page {
	--jn-foret: #004540; --jn-encre: #16231A; --jn-noir: #111; --jn-vegetal: #23734A; --jn-mil: #FFE06A;
	--jn-craie: #F8F7F0; --jn-trait: rgba(0, 69, 64, .12); --jn-doux: rgba(22, 35, 26, .72);
	--jn-section: clamp(56px, 32px + 4vw, 104px);
}
.csb-jn p, .csb-jn li, .csb-jn dd { text-align: left; -webkit-hyphens: manual; hyphens: manual; }
body.csb-jn-page .csb-jn p:not(#csb) { margin: 0 0 12px; font-size: 16px; line-height: 1.65; color: var(--jn-encre); }
.csb-jn a:focus-visible, .csb-jn button:focus-visible { outline: 2px solid var(--jn-foret); outline-offset: 3px; border-radius: 4px; }

/* --- Éléments communs --- */
.csb-jn-fil { display: flex; flex-wrap: wrap; gap: 6px 0; margin: 0 0 clamp(28px, 3.5vw, 48px); padding: 0; list-style: none; font-size: 14px; color: var(--jn-doux); }
.csb-jn-fil li + li::before { content: "/"; margin: 0 10px; color: rgba(0, 69, 64, .35); }
.csb-jn-fil a { color: var(--jn-foret); text-decoration: underline; text-decoration-color: rgba(0, 69, 64, .3); text-underline-offset: 4px; }
body.csb-jn-page p.csb-jn-sur:not(#csb) { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; font-size: 11px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--jn-vegetal); }
.csb-jn-sur::before { content: ""; flex: none; width: 28px; height: 4px; border-radius: 2px; background: var(--jn-mil); }
body.csb-jn-page h2.csb-jn-h2:not(#csb) { margin: 0 0 24px; font-family: var(--csb-font-texte); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--jn-vegetal); }
.csb-jn-h2 span { margin-left: 6px; color: var(--jn-doux); }
body.csb-jn-page p.csb-jn-meta:not(#csb) { display: flex; flex-wrap: wrap; align-items: center; row-gap: 4px; margin: 0 0 10px; font-size: 13px; font-weight: 600; color: var(--jn-foret); }
.csb-jn-meta > * + * { padding-left: 12px; margin-left: 12px; border-left: 1px solid var(--jn-trait); }
.csb-jn-meta > *:not(:first-child) { color: var(--jn-doux); font-weight: 500; }
.csb-jn-meta a { text-decoration: underline; text-decoration-color: var(--jn-mil); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.csb-jn-lien { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; font-weight: 700; color: var(--jn-foret); text-decoration: underline; text-decoration-color: var(--jn-mil); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.csb-jn-lien:hover { color: var(--jn-foret); text-decoration-color: var(--jn-foret); }

/* --- En-tête (identique à la page Événements, .csb-ag-tete) et filtres --- */
.csb-jn-tete { padding: clamp(28px, 3vw, 44px) 0 clamp(40px, 4vw, 64px); border-bottom: 1px solid var(--jn-trait); background: #fff; }
.csb-jn-tete .csb-jn-fil { margin-bottom: clamp(32px, 4vw, 56px); }
.csb-jn-tete-grille { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px clamp(32px, 5vw, 80px); align-items: end; }
body.csb-jn-page .csb-jn-tete h1:not(#csb) { margin: 0; font-family: var(--csb-font-titre); font-size: clamp(34px, 24px + 2vw, 54px); font-weight: 600; line-height: 1.08; letter-spacing: -.02em; color: var(--jn-noir); text-wrap: balance; }
body.csb-jn-page p.csb-jn-intro:not(#csb) { margin: 0; max-width: 46ch; font-size: 17px; color: var(--jn-doux); }
.csb-jn-outils { padding-top: clamp(20px, 2.5vw, 32px); }
.csb-jn-filtres { display: flex; gap: 0 24px; border-bottom: 1px solid var(--jn-trait); overflow-x: auto; scrollbar-width: thin; }
.csb-jn-filtres[hidden], .csb-jn-recherche-etat[hidden] { display: none; }
.csb-jn-filtres button { flex: none; min-height: 48px; padding: 0; border: 0; border-bottom: 3px solid transparent; margin-bottom: -1px; background: transparent; font: 600 15px/1 var(--csb-font-texte); color: var(--jn-doux); cursor: pointer; white-space: nowrap; transition: color .2s ease, border-color .2s ease; }
.csb-jn-filtres button span { margin-left: 4px; font-size: 12px; color: rgba(22, 35, 26, .45); }
.csb-jn-filtres button:hover { color: var(--jn-noir); }
.csb-jn-filtres button[aria-pressed="true"] { color: var(--jn-noir); border-bottom-color: var(--jn-foret); }
body.csb-jn-page p.csb-jn-recherche-etat:not(#csb) { margin: 16px 0 0; font-size: 15px; }
.csb-jn-recherche-etat a, .csb-jn-vide a { margin-left: 6px; font-weight: 700; color: var(--jn-foret); text-decoration: underline; text-decoration-color: var(--jn-mil); text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* --- Liste : grille de cartes (modèle « blog-grid » du thème : 3 colonnes, photo, date, rubrique, titre, lien) --- */
.csb-jn-index { padding: var(--jn-section) 0; }
.csb-jn-grille { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 2.4vw, 32px); margin: 0; padding: 0; list-style: none; }
.csb-jn-item[hidden] { display: none; }
.csb-jn-carte { position: relative; display: flex; flex-direction: column; height: 100%; overflow: hidden; border: 1px solid var(--jn-trait); border-radius: 10px; background: #fff; transition: box-shadow .3s ease, border-color .3s ease; }
.csb-jn-carte:hover { border-color: rgba(0, 69, 64, .3); box-shadow: 0 14px 34px -18px rgba(0, 69, 64, .35); }
.csb-jn-carte-photo { position: relative; display: block; overflow: hidden; background: var(--jn-craie); }
.csb-jn-carte-photo img:not(#csb) { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .6s ease; }
.csb-jn-carte:hover .csb-jn-carte-photo img { transform: scale(1.04); }
.csb-jn-carte-date { position: absolute; left: 16px; top: 16px; display: flex; flex-direction: column; align-items: center; min-width: 56px; padding: 8px 10px; border-radius: 8px; background: var(--jn-mil); color: var(--jn-foret); line-height: 1.1; }
.csb-jn-carte-date strong { font-family: var(--csb-font-titre); font-size: 24px; font-weight: 600; }
.csb-jn-carte-date span { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.csb-jn-carte-corps { display: flex; flex: 1; flex-direction: column; padding: 22px 24px 24px; }
body.csb-jn-page .csb-jn-carte h3:not(#csb) { margin: 0 0 10px; font-family: var(--csb-font-titre); font-size: 22px; font-weight: 600; line-height: 1.25; text-wrap: balance; }
.csb-jn-carte h3 a { color: var(--jn-noir); text-decoration: none; background-image: linear-gradient(var(--jn-mil), var(--jn-mil)); background-size: 0 3px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size .3s ease; }
.csb-jn-carte:hover h3 a, .csb-jn-carte h3 a:focus-visible { background-size: 100% 3px; }
.csb-jn-carte h3 a::after { content: ""; position: absolute; inset: 0; }
.csb-jn-carte:has(h3 a:focus-visible) { outline: 2px solid var(--jn-foret); outline-offset: 3px; }
.csb-jn-carte h3 a:focus-visible { outline: none; }
body.csb-jn-page .csb-jn-carte p.csb-jn-resume:not(#csb) { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin: 0 0 18px; font-size: 15px; line-height: 1.6; color: var(--jn-doux); }
.csb-jn-lire { display: inline-flex; align-items: center; gap: 10px; margin-top: auto; font-size: 15px; font-weight: 700; color: var(--jn-foret); }
.csb-jn-lire i { transition: transform .25s ease; }
.csb-jn-carte:hover .csb-jn-lire i { transform: translateX(4px); }
body.csb-jn-page p.csb-jn-vide:not(#csb) { margin: 24px 0 0; padding: 18px 22px; border-left: 3px solid var(--jn-mil); background: var(--jn-craie); }

/* --- Fiche d'article : mise en page du modèle « blog-details » (préfixe .csb-bd-) --- */
.csb-bd { padding: clamp(40px, 5vw, 80px) 0 var(--jn-section); }
.csb-bd-grille { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(40px, 4vw, 60px); align-items: start; }
.csb-bd-couverture { margin: 0 0 24px; }
.csb-bd-couverture a { display: block; overflow: hidden; border-radius: 10px; }
.csb-bd-couverture img:not(#csb) { display: block; width: 100%; height: auto; aspect-ratio: 922 / 540; object-fit: cover; transition: transform .6s ease; }
.csb-bd-couverture a:hover img { transform: scale(1.02); }
.csb-bd-meta { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0 0 24px; padding: 0 0 20px; list-style: none; border-bottom: 2px solid var(--jn-trait); }
.csb-bd-meta li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--jn-doux); }
.csb-bd-meta i { font-size: 17px; color: var(--jn-vegetal); }
.csb-bd-meta a { color: var(--jn-doux); text-decoration: none; }
.csb-bd-meta a:hover { color: var(--jn-foret); text-decoration: underline; text-underline-offset: 4px; }
body.csb-jn-page .csb-bd-texte h2:not(#csb) { margin: clamp(32px, 3.5vw, 44px) 0 14px; font-family: var(--csb-font-titre); font-size: clamp(22px, 19px + .6vw, 26px); font-weight: 600; line-height: 1.25; letter-spacing: -.01em; color: var(--jn-noir); text-wrap: balance; }
body.csb-jn-page .csb-bd-texte p:not(#csb) { max-width: none; margin: 0 0 18px; font-size: 17px; line-height: 1.75; color: var(--jn-noir); }
body.csb-jn-page .csb-bd-texte p.csb-bd-chapo:not(#csb) { font-family: var(--csb-font-titre); font-size: clamp(17px, 16px + .4vw, 20px); font-weight: 400; line-height: 1.65; color: var(--jn-noir); }
.csb-bd-texte { min-width: 0; overflow-wrap: anywhere; }
.csb-bd-minis { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin: 12px 0 32px; padding: 0; list-style: none; }
.csb-bd-minis a { display: block; overflow: hidden; border-radius: 8px; background: var(--jn-craie); }
.csb-bd-minis img:not(#csb) { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .4s ease; }
.csb-bd-minis a:hover img { transform: scale(1.05); }
.csb-bd-pied { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; margin-top: clamp(36px, 4vw, 56px); padding: 28px 0; border-top: 2px solid var(--jn-trait); border-bottom: 2px solid var(--jn-trait); }
.csb-bd-tags, .csb-bd-partage { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.csb-bd-partage[hidden] { display: none; }
body.csb-jn-page .csb-bd-pied p:not(#csb) { margin: 0; font-size: 17px; font-weight: 600; color: var(--jn-foret); }
.csb-bd-tags ul, .csb-bd-partage ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.csb-bd-tags li { padding: 7px 12px; border: 1px solid #fff; border-radius: 10px; background: var(--jn-craie); box-shadow: 0 6px 30px rgba(0, 69, 64, .09); font-size: 14px; font-weight: 500; line-height: 1.2; color: var(--jn-encre); }
.csb-bd-partage a { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--jn-craie); color: var(--jn-foret); transition: background .2s ease, color .2s ease; }
.csb-bd-partage a:hover { background: var(--jn-foret); color: var(--jn-mil); }
.csb-bd-suite { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 28px; }
.csb-bd-suite a { display: flex; flex-direction: column; gap: 6px; text-decoration: none; }
.csb-bd-suite-suiv { text-align: right; align-items: flex-end; }
.csb-bd-suite span { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--jn-vegetal); }
.csb-bd-suite strong { font-family: var(--csb-font-titre); font-size: 19px; font-weight: 600; line-height: 1.3; color: var(--jn-noir); text-wrap: balance; }
.csb-bd-suite a:hover strong { text-decoration: underline; text-decoration-color: var(--jn-mil); text-decoration-thickness: 3px; text-underline-offset: 5px; }

/* Barre latérale (v4, 13 nov. 2026) : fond blanc, blocs séparés par un trait fin, méta calculées, sommaire vivant */
.csb-bd-aside-int { --ease: cubic-bezier(.2, .7, .2, 1); display: grid; gap: 0; }
.csb-bd-bloc { padding: 24px 0; border-top: 1px solid var(--jn-trait); }
.csb-bd-bloc:first-child { padding-top: 0; border-top: 0; }
body.csb-jn-page .csb-bd-wtitre:not(#csb) { margin: 0 0 16px; padding: 0; border: 0; font-family: var(--csb-font-texte); font-size: 15px; font-weight: 600; line-height: 1.4; color: var(--jn-foret); }
.csb-bd-wtitre::after { content: none; }

/* Fiche de l'article */
.csb-bd-fiche-liste { display: grid; margin: 0; }
.csb-bd-fiche-liste div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; align-items: baseline; padding: 8px 0; border-bottom: 1px solid var(--jn-trait); }
.csb-bd-fiche-liste div:last-child { border-bottom: 0; }
.csb-bd-fiche-liste dt { font-size: 14px; font-weight: 400; color: var(--jn-doux); }
.csb-bd-fiche-liste dd { margin: 0; font-size: 15px; font-weight: 500; color: var(--jn-noir); font-variant-numeric: tabular-nums; }
.csb-bd-fiche-liste a { color: var(--jn-foret); text-decoration: underline; text-decoration-color: var(--jn-mil); text-decoration-thickness: 2px; text-underline-offset: 4px; transition: text-decoration-color .2s var(--ease); }
.csb-bd-fiche-liste a:hover { text-decoration-color: var(--jn-foret); }
body.csb-jn-page .csb-bd-fiche-mots:not(#csb) { margin: 12px 0 0; font-size: 13px; line-height: 1.5; color: var(--jn-doux); }

/* Sommaire : un rail qui se remplit avec la lecture */
.csb-bd-toc summary { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; list-style: none; cursor: pointer; border-radius: 4px; }
.csb-bd-toc summary::-webkit-details-marker { display: none; }
.csb-bd-toc summary .csb-bd-wtitre { margin: 0 0 12px; }
.csb-bd-toc-pct { font-size: 13px; color: var(--jn-doux); font-variant-numeric: tabular-nums; }
.csb-bd-toc ol { position: relative; margin: 0; padding: 0 0 0 16px; list-style: none; }
.csb-bd-toc ol::before, .csb-bd-toc ol::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; border-radius: 1px; }
.csb-bd-toc ol::before { background: var(--jn-trait); }
.csb-bd-toc ol::after { background: var(--jn-vegetal); transform: scaleY(var(--csb-p, 0)); transform-origin: top; }
.csb-bd-toc a { display: block; padding: 6px 0; font-size: 15px; line-height: 1.4; color: var(--jn-doux); text-decoration: none; transition: color .2s var(--ease); }
.csb-bd-toc a:hover { color: var(--jn-noir); }
.csb-bd-toc a[aria-current] { font-weight: 600; color: var(--jn-foret); }

/* Partager */
.csb-bd-actions-ligne { display: flex; flex-wrap: wrap; gap: 8px; }
.csb-bd-actions-ligne[hidden] { display: none; }
.csb-bd-copier, .csb-bd-actions-ligne a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 44px; min-height: 44px; padding: 0 14px; border: 1px solid var(--jn-trait); border-radius: 8px; background: #fff; font: 500 14px/1 var(--csb-font-texte); color: var(--jn-foret); text-decoration: none; cursor: pointer; transition: border-color .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease); }
.csb-bd-actions-ligne a { padding: 0; width: 44px; }
.csb-bd-copier:hover, .csb-bd-actions-ligne a:hover { border-color: var(--jn-foret); }
.csb-bd-copier.est-copie { border-color: var(--jn-vegetal); background: var(--jn-vegetal); color: #fff; }
.csb-bd-actions a:focus-visible, .csb-bd-copier:focus-visible, .csb-bd-toc summary:focus-visible { outline: 2px solid var(--jn-foret); outline-offset: 3px; }
body.csb-jn-page .csb-bd-copie-etat:not(#csb) { min-height: 20px; margin: 8px 0 0; font-size: 13px; color: var(--jn-vegetal); }

/* À lire aussi */
.csb-bd-recentes { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.csb-bd-recentes li { position: relative; display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 16px; align-items: start; }
.csb-bd-recentes img:not(#csb) { width: 72px; height: 72px; border-radius: 8px; object-fit: cover; clip-path: inset(0 round 8px); transition: transform .35s var(--ease); }
.csb-bd-recentes li:hover img:not(#csb) { transform: scale(1.06); }
body.csb-jn-page .csb-bd-recentes p:not(#csb) { margin: 0 0 4px; font-size: 13px; font-weight: 400; line-height: 1.4; color: var(--jn-doux); }
.csb-bd-recentes a { display: block; font-family: var(--csb-font-titre); font-size: 16px; font-weight: 600; line-height: 1.35; color: var(--jn-noir); text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 2px; text-underline-offset: 4px; transition: text-decoration-color .2s var(--ease), color .2s var(--ease); }
.csb-bd-recentes a::after { content: ""; position: absolute; inset: 0; }
.csb-bd-recentes li:hover a { color: var(--jn-foret); text-decoration-color: var(--jn-mil); }
.csb-bd-recentes a:focus-visible { outline: 2px solid var(--jn-foret); outline-offset: 4px; border-radius: 4px; }

/* Rubriques */
.csb-bd-rubriques { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.csb-bd-rubriques a { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 12px; border: 1px solid var(--jn-trait); border-radius: 8px; background: #fff; font-size: 14px; font-weight: 500; color: var(--jn-encre); text-decoration: none; transition: border-color .2s var(--ease), color .2s var(--ease); }
.csb-bd-rubriques a span { font-size: 13px; font-weight: 400; color: var(--jn-doux); font-variant-numeric: tabular-nums; }
.csb-bd-rubriques a:hover { border-color: var(--jn-foret); color: var(--jn-foret); }
.csb-bd-rubriques a[aria-current] { border-color: var(--jn-foret); box-shadow: inset 0 -3px 0 var(--jn-mil); color: var(--jn-foret); }
.csb-bd-rubriques a:focus-visible { outline: 2px solid var(--jn-foret); outline-offset: 3px; }

/* Progression de lecture (créée par le script) */
.csb-bd-progres { position: fixed; top: 0; left: 0; right: 0; z-index: 1200; height: 3px; pointer-events: none; }
.csb-bd-progres span { display: block; height: 100%; background: var(--jn-vegetal); transform: scaleX(0); transform-origin: left; }

/* Une seule entrée au chargement : fondu et montée de 8 px, léger décalage */
@keyframes csbBdEntree { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.csb-bd-aside-int > .csb-bd-bloc { animation: csbBdEntree .5s var(--ease) both; }
.csb-bd-aside-int > .csb-bd-bloc:nth-child(2) { animation-delay: .06s; }
.csb-bd-aside-int > .csb-bd-bloc:nth-child(3) { animation-delay: .12s; }
.csb-bd-aside-int > .csb-bd-bloc:nth-child(4) { animation-delay: .18s; }
.csb-bd-aside-int > .csb-bd-bloc:nth-child(5) { animation-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
	.csb-bd-aside-int > .csb-bd-bloc { animation: none; }
	.csb-bd-aside-int *, .csb-bd-progres span { transition: none !important; }
	.csb-bd-recentes li:hover img:not(#csb) { transform: none; }
}

/* --- Responsive --- */
@media (max-width: 1199px) { .csb-jn-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); } .csb-bd-grille { grid-template-columns: minmax(0, 1fr) 320px; } }
@media (max-width: 991px) {
	.csb-jn-tete-grille, .csb-bd-grille { grid-template-columns: minmax(0, 1fr); }
	.csb-bd-aside-int > .csb-bd-bloc:first-child { padding-top: 24px; }
}
@media (max-width: 639px) { .csb-jn-grille { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 991px) {
	/* Largeur figée : aucun balayage horizontal sur mobile et tablette */
	html:has(body.csb-jn-page), body.csb-jn-page { overflow-x: clip; max-width: 100%; }
	body.csb-jn-page .csb-jn, body.csb-jn-page .csb-bd .container { max-width: 100%; overflow-x: clip; }
	body.csb-jn-page .csb-bd img, body.csb-jn-page .csb-bd figure { max-width: 100%; }
}
@media (max-width: 575px) {
	.csb-bd-minis { grid-template-columns: minmax(0, 1fr); gap: 10px; }
	.csb-bd-article, .csb-bd-couverture, .csb-bd-minis { max-width: 100%; }
	.csb-bd-suite { grid-template-columns: minmax(0, 1fr); }
	.csb-bd-suite-suiv { text-align: left; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
	.csb-jn *, .csb-jn *::before, .csb-jn *::after { transition: none !important; }
	.csb-jn article:hover img, .csb-bd-couverture a:hover img { transform: none !important; }
}

/* v5 : fiche en tête d'article sur mobile et tablette (sobre), fiche latérale sur ordinateur */
@media (min-width: 992px) { .csb-bd-meta { display: none; } }
@media (max-width: 991px) {
	.csb-bd-fiche { display: none; }
	.csb-bd-aside { padding-top: 0; border-top: 0; }
	.csb-bd-meta { gap: 0; margin: 0 0 20px; padding: 0 0 16px; border-bottom: 1px solid var(--jn-trait); }
	.csb-bd-meta li { gap: 0; font-size: 14px; }
	.csb-bd-meta li + li::before { content: "·"; margin: 0 10px; color: var(--jn-doux); }
	.csb-bd-meta i { display: none; }
}
/* « À lire aussi » en cartes sur mobile et tablette : image pleine largeur, résumé court, bouton « Lire la suite » */
.csb-bd-recentes-resume, .csb-bd-lire { display: none; }
@media (max-width: 991px) {
	.csb-bd-recentes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
	.csb-bd-recentes li { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
	.csb-bd-recentes img:not(#csb) { width: 100%; height: auto; aspect-ratio: 16 / 10; margin-bottom: 14px; border-radius: 10px; clip-path: inset(0 round 10px); }
	.csb-bd-recentes li > div { display: flex; flex-direction: column; }
	.csb-bd-recentes a { font-size: 18px; }
	body.csb-jn-page .csb-bd-recentes p.csb-bd-recentes-resume:not(#csb) { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin: 8px 0 14px; font-size: 15px; line-height: 1.6; color: var(--jn-doux); }
	.csb-bd-lire { display: inline-flex; align-items: center; align-self: flex-start; min-height: 40px; padding: 0 16px; border: 1px solid var(--jn-foret); border-radius: 8px; font-size: 14px; font-weight: 500; color: var(--jn-foret); transition: background-color .2s var(--ease), color .2s var(--ease); }
	.csb-bd-recentes li:hover .csb-bd-lire { background: var(--jn-foret); color: #fff; }
}
@media (max-width: 575px) {
	.csb-bd-recentes { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}
/* Texte de l'article justifié (césure automatique en français pour éviter les grands blancs) */
body.csb-jn-page .csb-bd-texte p:not(#csb) { text-align: justify; text-justify: inter-word; -webkit-hyphens: auto; hyphens: auto; }

/* --- Fiche d'article, retouche minimaliste (13 nov. 2026, demande de l'owner ; mêmes valeurs que la page détail d'un événement, csb-evenement-detail.css) ---
   Textes plus petits, gris pour les paragraphes, noir pour les titres, espacements sur une grille de 4 px. Les textes restent justifiés.
   Ne concerne que la fiche d'article (.csb-bd-) : la liste des actualités (.csb-jn-) est inchangée. */
.csb-jn-page { --jn-noir: #141A16; --jn-encre: #141A16; --jn-texte: #4E5450; --jn-doux: #6A706C; }
.csb-bd { padding: 56px 0 80px; }
.csb-bd-grille { gap: 64px; }
.csb-bd-couverture { margin: 0 0 20px; }
.csb-bd-meta { margin: 0 0 20px; padding: 0 0 16px; border-bottom-width: 1px; }
.csb-bd-meta li { font-size: 14px; }
/* Texte courant : 15 px gris ; chapô : 17 px noir ; intertitres noirs */
body.csb-jn-page .csb-bd-texte p:not(#csb) { margin: 0 0 12px; font-size: 15px; line-height: 26px; color: var(--jn-texte); }
body.csb-jn-page .csb-bd-texte p.csb-bd-chapo:not(#csb) { margin-bottom: 16px; font: 500 17px/28px var(--csb-font-texte); color: var(--jn-noir); }
body.csb-jn-page .csb-bd-texte h2:not(#csb) { margin: 40px 0 12px; font-size: 20px; line-height: 1.3; letter-spacing: -.01em; color: var(--jn-noir); }
.csb-bd-minis { gap: 8px; margin: 16px 0 32px; }
/* Pied : mots-clés, partage, publications voisines */
.csb-bd-pied { margin-top: 40px; padding: 24px 0; border-top-width: 1px; border-bottom-width: 1px; }
body.csb-jn-page .csb-bd-pied p:not(#csb) { font-size: 14px; font-weight: 600; color: var(--jn-noir); }
.csb-bd-tags li { padding: 6px 12px; box-shadow: none; border: 1px solid var(--jn-trait); background: #fff; font-size: 13px; color: var(--jn-texte); }
.csb-bd-partage a { width: 40px; height: 40px; }
.csb-bd-suite { margin-top: 24px; }
.csb-bd-suite span { font-size: 12.5px; letter-spacing: 0; text-transform: none; font-weight: 600; color: var(--jn-doux); }
.csb-bd-suite strong { font-size: 16px; line-height: 1.35; color: var(--jn-noir); }
/* Barre latérale */
.csb-bd-bloc { padding: 24px 0; }
body.csb-jn-page .csb-bd-wtitre:not(#csb) { margin: 0 0 12px; font-size: 14px; color: var(--jn-noir); }
.csb-bd-fiche-liste div { grid-template-columns: 88px minmax(0, 1fr); padding: 8px 0; }
.csb-bd-fiche-liste dt { font-size: 13px; }
.csb-bd-fiche-liste dd { font-size: 14px; color: var(--jn-noir); }
body.csb-jn-page .csb-bd-fiche-mots:not(#csb) { font-size: 12.5px; }
.csb-bd-toc a { padding: 4px 0; font-size: 14px; }
.csb-bd-toc-pct { font-size: 12.5px; }
.csb-bd-copier, .csb-bd-actions-ligne a { font-size: 13.5px; min-height: 40px; }
.csb-bd-actions-ligne a { width: 40px; }
body.csb-jn-page .csb-bd-recentes p:not(#csb) { font-size: 12.5px; color: var(--jn-doux); }
.csb-bd-recentes a { font-size: 15px; color: var(--jn-noir); }
.csb-bd-rubriques a { min-height: 32px; font-size: 13px; }
@media (max-width: 991px) {
	.csb-bd { padding: 40px 0 64px; }
	.csb-bd-meta li { font-size: 13px; }
	.csb-bd-recentes a { font-size: 16px; }
	body.csb-jn-page .csb-bd-recentes p.csb-bd-recentes-resume:not(#csb) { font-size: 14px; line-height: 22px; color: var(--jn-texte); }
}
@media (max-width: 575px) {
	body.csb-jn-page .csb-bd-texte p.csb-bd-chapo:not(#csb) { font-size: 16px; line-height: 26px; }
	body.csb-jn-page .csb-bd-texte h2:not(#csb) { font-size: 18px; margin-top: 32px; }
}

/* Photos de l'article : grille de deux colonnes plus discrète (une seule photo dans une partie : pleine largeur, format 16/10), comme les photos du compte rendu d'un événement */
@media (min-width: 576px) {
	.csb-bd-minis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.csb-bd-minis li:first-child:last-child { grid-column: 1 / -1; }
	.csb-bd-minis img:not(#csb) { aspect-ratio: 3 / 2; }
	.csb-bd-minis li:first-child:last-child img:not(#csb) { aspect-ratio: 16 / 9; }
}

/* Photo d'illustration et vidéo Facebook dans le corps d'un article (15 nov. 2026) : blocs facultatifs, sans effet sur les autres articles */
.csb-bd-legende { margin: 8px 0 0; font-size: 13px; line-height: 1.5; color: var(--jn-doux); }
.csb-bd-video { margin: 8px 0 32px; }
body.csb-jn-page .csb-bd-texte p.csb-bd-video-titre:not(#csb) { margin: 0 0 8px; font-size: 14px; font-weight: 600; text-align: left; color: var(--jn-noir); }
.csb-bd-video-cadre { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 10px; background: var(--jn-craie); }
.csb-bd-video-cadre iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
body.csb-jn-page .csb-bd-texte p.csb-bd-video-lien:not(#csb) { margin: 10px 0 0; font-size: 14px; text-align: left; }
.csb-bd-video-lien a { color: var(--jn-foret); text-decoration: underline; text-underline-offset: 4px; }

/* Unslop de la fiche d'article (15 nov. 2026, demande de l'owner : tous les textes gris passent en noir).
   Le noir est posé sur .csb-bd (colonne + barre latérale) : les variables --jn-texte / --jn-doux / --jn-encre / --jn-noir pointent toutes vers #111.
   Le bandeau (texte blanc sur photo) et la liste des actualités (.csb-jn-) ne changent pas. Sauvegarde : csb-docs/sauvegarde-2026-11-15-article-observer/ */
.csb-bd { --jn-noir: #111; --jn-encre: #111; --jn-texte: #111; --jn-doux: #111; }
.csb-bd-suite span { color: var(--jn-noir); }
.csb-bd-toc a[aria-current] { color: var(--jn-noir); }
.csb-bd-fiche-liste a { color: var(--jn-noir); }
.csb-bd-rubriques a:hover, .csb-bd-rubriques a[aria-current] { color: var(--jn-noir); }
.csb-bd-recentes li:hover a { color: var(--jn-noir); }
/* Mouvement : plus de zoom au survol des photos, seul le changement de couleur ou de soulignement reste */
.csb-bd-couverture a:hover img, .csb-bd-minis a:hover img, .csb-bd-recentes li:hover img:not(#csb) { transform: none; }

/* Barre latérale : événements en cours et à venir (15 nov. 2026), mêmes vignettes que « À lire aussi » */
body.csb-jn-page .csb-bd-aside p.csb-bd-tous:not(#csb) { margin: 16px 0 0; font-size: 14px; font-weight: 500; }
.csb-bd-tous a { color: var(--jn-noir); text-decoration: underline; text-decoration-color: var(--jn-mil); text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* Lien discret vers la publication d'origine (facultatif : « lien_source » dans data/actualites.json) */
body.csb-jn-page .csb-bd-texte + p.csb-bd-source:not(#csb) { margin: 8px 0 32px; font-size: 14px; line-height: 1.5; text-align: left; }
.csb-bd-source a { color: var(--jn-foret); text-decoration: underline; text-underline-offset: 4px; }
/* Affiche verticale intégrée : centrée dans la colonne */
.csb-bd-video[style] { margin-inline: auto; }

/* Photo dans le texte (bloc « figure ») */
.csb-bd-figure { margin: 8px 0 28px; }
.csb-bd-figure a { display: block; overflow: hidden; border-radius: 10px; background: var(--jn-craie); }
.csb-bd-figure img { display: block; width: 100%; height: auto; max-height: 460px; object-fit: contain; }

/* Coordonnées (bloc « contact ») */
address.csb-bd-contact { display: grid; gap: 4px; margin: 0 0 24px; padding: 0 0 0 16px; border-left: 3px solid var(--jn-mil); font-style: normal; font-size: 16px; line-height: 1.6; color: var(--jn-noir); }
.csb-bd-contact a { color: var(--jn-foret); text-decoration: underline; text-underline-offset: 4px; }

/* Petite section « boutique » en fin d'article : fond blanc, filet discret, un seul bouton compact */
.csb-bd-boutique { margin: 40px 0 0; padding: 28px 0 0; border-top: 1px solid var(--jn-trait); }
body.csb-jn-page .csb-bd-boutique h2:not(#csb) { margin: 0 0 8px; font-family: var(--csb-font-titre); font-size: 22px; font-weight: 600; line-height: 1.25; color: var(--jn-noir); }
body.csb-jn-page .csb-bd-boutique p:not(#csb) { margin: 0 0 16px; font-size: 16px; line-height: 1.6; color: var(--jn-noir); text-align: left; }
.csb-bd-boutique-liens { display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 0 0 20px; padding: 0; list-style: none; font-size: 15px; }
.csb-bd-boutique-liens a { color: var(--jn-foret); text-decoration: underline; text-underline-offset: 4px; }
.csb-bd-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 22px; border-radius: 100px; background: var(--jn-foret); color: #fff; font-size: 15px; font-weight: 600; line-height: 1; text-decoration: none; transition: background-color .25s ease; }
.csb-bd-btn i { font-size: 14px; transition: transform .25s ease; }
.csb-bd-btn:is(:hover, :focus-visible) { background: #00332E; color: #fff; }
.csb-bd-btn:is(:hover, :focus-visible) i { transform: translateX(4px); }

/* Liste des actualités : texte noir, justifié, espacements resserrés (unslop, 15 nov. 2026). Sauvegarde : csb-docs/sauvegarde-2026-11-15-actualites-unslop/. Ne concerne que la liste (.csb-jn-), pas la fiche d'article. */
body.csb-jn-page .csb-jn-index { padding-top: clamp(32px, 3.5vw, 48px); padding-bottom: clamp(48px, 5vw, 72px); }
body.csb-jn-page h2.csb-jn-h2:not(#csb) { margin: 0 0 24px; font-family: var(--csb-font-titre); font-size: clamp(24px, 20px + .8vw, 30px); font-weight: 600; line-height: 1.2; letter-spacing: 0; text-transform: none; color: #111; }
body.csb-jn-page .csb-jn-grille { gap: 24px; }
body.csb-jn-page .csb-jn-carte-corps { padding: 16px 18px 18px; }
body.csb-jn-page p.csb-jn-meta:not(#csb) { margin: 0 0 8px; font-size: 13px; line-height: 1.4; color: #111; }
body.csb-jn-page .csb-jn-meta > *:not(:first-child) { color: #333; font-weight: 500; }
body.csb-jn-page .csb-jn-carte h3:not(#csb) { margin: 0 0 8px; font-size: 20px; line-height: 1.28; color: #111; text-wrap: pretty; }
body.csb-jn-page .csb-jn-carte h3 a:not(#csb) { color: #111; }
body.csb-jn-page .csb-jn-carte p.csb-jn-resume:not(#csb) { display: block; -webkit-line-clamp: unset; overflow: visible; margin: 0 0 14px; font-size: 16px; line-height: 1.55; color: #111; text-align: justify; text-justify: inter-word; -webkit-hyphens: auto; hyphens: auto; overflow-wrap: break-word; }
body.csb-jn-page .csb-jn-lire { font-size: 15px; color: #111; }
body.csb-jn-page .csb-jn-filtres { gap: 0 20px; }
body.csb-jn-page .csb-jn-filtres button { font-size: 15px; color: #333; }
body.csb-jn-page .csb-jn-filtres button:hover, body.csb-jn-page .csb-jn-filtres button[aria-pressed="true"] { color: #111; }
body.csb-jn-page .csb-jn-filtres button span { font-size: 13px; color: #555; }
body.csb-jn-page .csb-jn-outils { padding-top: 12px; }
@media (max-width: 639px) {
	body.csb-jn-page .csb-jn-carte-corps { padding: 14px 16px 16px; }
	body.csb-jn-page .csb-jn-grille { gap: 20px; }
	body.csb-jn-page .csb-jn-carte h3:not(#csb) { font-size: 19px; }
}
@media (max-width: 420px) { body.csb-jn-page .csb-jn-carte p.csb-jn-resume:not(#csb) { text-align: left; } }   /* colonne très étroite : justification abandonnée pour éviter les grands blancs entre les mots */

/* Couverture en affiche (portrait) : affichée entière, centrée, sans recadrage (15 nov. 2026) */
.csb-bd-couverture--affiche { max-width: 560px; }
.csb-bd-couverture--affiche img:not(#csb) { aspect-ratio: auto; max-height: 760px; width: 100%; height: auto; object-fit: contain; background: var(--jn-craie, #F8F7F0); }
.csb-bd-couverture--affiche a:hover img { transform: none; }
