/*
 * Gabarit d'article du blog (§ 28 du Designer, 01/12/2026) : encarts réutilisables, ligne de date, visuel d'en-tête, signature.
 * Chargée sur les seuls articles qui portent la méta sm4b_gabarit_article. Colonne de 760 px ; écarts de 24 px entre les blocs (20 px à 375 px).
 */

/* Encart dans le texte : fond bleu pâle, rayon 12, 28 × 32 px de marge intérieure (20 px à 375 px) ; la citation du thème n'y applique plus rien */
.sm4b-prose .sm4b-encart { margin: 1.5rem 0; padding: 1.75rem 2rem; background: var(--c-fond-pale); border: 0; border-radius: 12px; font-style: normal; quotes: none; color: var(--c-texte); }
.sm4b-prose .sm4b-encart::before, .sm4b-prose .sm4b-encart::after { content: none; }
.sm4b-prose .sm4b-encart > * { margin: 0; }
.sm4b-prose .sm4b-encart > * + * { margin-top: 0.875rem; } /* écart de 14 px */
.sm4b-prose .sm4b-encart__titre { font-family: var(--police-interface); font-weight: 800; font-size: 1.125rem; line-height: 1.35; color: var(--c-titre); }
.sm4b-prose .sm4b-encart__titre strong { font-weight: 800; }
.sm4b-prose .sm4b-encart p { font-size: 1rem; line-height: 1.55; }
.sm4b-prose .sm4b-encart__source { font-size: 0.875rem; line-height: 1.5; color: var(--c-texte-2); }
/* liste numérotée : pastille ronde de 30 px bleu nuit, chiffre blanc en Mulish 800 de 15 px, texte de 16 px en retrait de 44 px, début de ligne en Roboto 500 */
.sm4b-prose .sm4b-encart ol { list-style: none; counter-reset: repere; margin: 1rem 0 0; padding: 0; }
.sm4b-prose .sm4b-encart ol > li { position: relative; counter-increment: repere; margin: 0; padding: 0 0 0 2.75rem; min-height: 1.875rem; font-size: 1rem; line-height: 1.55; }
.sm4b-prose .sm4b-encart ol > li + li { margin-top: 0.875rem; }
.sm4b-prose .sm4b-encart ol > li::before { content: counter(repere); position: absolute; left: 0; top: 0; display: flex; align-items: center; justify-content: center; width: 1.875rem; height: 1.875rem; border-radius: 50%; background: var(--c-nuit); color: var(--c-sur-marque); font-family: var(--police-interface); font-weight: 800; font-size: 0.9375rem; box-shadow: none; }
.sm4b-prose .sm4b-encart ol > li strong { font-family: var(--police-texte); font-weight: 500; color: var(--c-titre); }
/* « Un cas vécu » (§ 28, 2 décembre) : aplat bleu tramé de la marque, pictogramme sur mesure à gauche, titre, texte et lien blancs ; rayon 12, sans filet ni ombre ; contraste du blanc sur le bleu : 7,6 */
.sm4b-prose .sm4b-encart--cas { display: flex; align-items: center; gap: 2rem; padding: 2rem; background-color: var(--c-marque); background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1.5px, transparent 1.6px); background-size: 18px 18px; border: 0; color: var(--c-sur-marque); }
.sm4b-prose .sm4b-encart--cas > * + * { margin-top: 0; }
.sm4b-cas__picto { flex: none; width: 148px; display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--c-sur-marque); }
.sm4b-cas__trois { display: flex; gap: 8px; }
.sm4b-cas__trois > span { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; box-sizing: border-box; border: 1.5px dashed rgba(255, 255, 255, 0.75); border-radius: 10px; opacity: 0.8; }
.sm4b-cas__trois .sm4b-cas__ext { width: 22px; height: 22px; }
.sm4b-cas__fleche { flex: none; display: flex; width: 24px; height: 24px; }
.sm4b-cas__fleche svg { width: 24px; height: 24px; display: block; }
.sm4b-cas__un { flex: none; display: flex; align-items: center; justify-content: center; width: 72px; height: 72px; border-radius: 16px; background: var(--c-sur-marque); color: var(--c-marque); box-shadow: 0 8px 20px rgba(22, 42, 89, 0.35); }
.sm4b-cas__un .sm4b-cas__ext { width: 40px; height: 40px; }
.sm4b-cas__texte { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 0.625rem; }
.sm4b-prose .sm4b-encart--cas .sm4b-encart__titre { margin: 0; font-family: var(--police-titre); font-weight: 700; font-size: 1.5rem; line-height: 1.25; color: var(--c-sur-marque); }
.sm4b-prose .sm4b-encart--cas .sm4b-encart__titre strong, .sm4b-prose .sm4b-encart--cas strong { color: inherit; font-weight: inherit; }
.sm4b-prose .sm4b-encart--cas p { margin: 0; font-size: 1.0625rem; line-height: 1.55; color: var(--c-sur-marque); }
.sm4b-prose .sm4b-encart--cas a { color: var(--c-sur-marque); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.sm4b-prose .sm4b-encart--cas a:hover { text-decoration-thickness: 2.5px; }
.sm4b-prose .sm4b-encart--cas a:focus-visible { outline: 3px solid var(--c-sur-marque); outline-offset: 3px; border-radius: 2px; }

/* Ligne de date (après le chapô) et visuel d'en-tête (après la date, avant le premier h2) */
.sm4b-prose .sm4b-article__date { margin: 0.5rem 0 0; font-size: 0.875rem; line-height: 1.5; color: var(--c-texte-2); }
.sm4b-prose .sm4b-article__visuel { margin: 2rem 0 1.5rem; padding: 0; }
.sm4b-prose .sm4b-article__visuel picture, .sm4b-prose .sm4b-article__visuel img { display: block; width: 100%; height: auto; }
.sm4b-prose .sm4b-article__visuel img { border: var(--filet-epaisseur) solid var(--c-filet); border-radius: 12px; box-sizing: border-box; }

/* Signature : filet supérieur, médaillon rond de 64 px, nom en Gilroy de 18 px, fonction en 15 px gris */
.sm4b-signature { display: flex; align-items: center; gap: 1rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: var(--filet-epaisseur) solid var(--c-filet); }
.sm4b-signature__photo { flex: none; width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.sm4b-prose .sm4b-signature__nom { margin: 0; font-family: var(--police-titre); font-weight: 700; font-size: 1.125rem; line-height: 1.3; color: var(--c-titre); }
.sm4b-prose .sm4b-signature__fonction { margin: 0.125rem 0 0; font-size: 0.9375rem; line-height: 1.45; color: var(--c-texte-2); }

@media (max-width: 767.98px) {
	.sm4b-prose .sm4b-encart { margin: 1.25rem 0; padding: 1.25rem; }
	.sm4b-prose .sm4b-encart--cas { flex-direction: column; align-items: flex-start; gap: 1.125rem; padding: 1.375rem 1.25rem 1.5rem; }
	.sm4b-cas__picto { width: auto; flex-direction: row; gap: 12px; }
	.sm4b-cas__fleche { transform: rotate(-90deg); }
	.sm4b-cas__trois > span { width: 40px; height: 40px; }
	.sm4b-cas__un { width: 56px; height: 56px; border-radius: 12px; }
	.sm4b-cas__un .sm4b-cas__ext { width: 32px; height: 32px; }
	.sm4b-prose .sm4b-encart--cas .sm4b-encart__titre { font-size: 1.3125rem; }
	.sm4b-prose .sm4b-article__visuel { margin: 1.5rem 0 1.25rem; }
}
