/* Filtre — corps de texte (articles, pages) et composants du contenu. */

.fe-prose { min-width: 0; color: var(--fe-body); }
.fe-prose :where(p, ul, ol, figure, blockquote, table, h2, h3, h4) { margin-top: 0; margin-bottom: 0; }
.fe-prose > * { margin-top: 0; margin-bottom: 0; }
.fe-prose > * + * { margin-top: 22px; }
.fe-prose p { text-wrap: pretty; }
.fe-prose strong { color: var(--fe-ink); }
.fe-prose a { color: var(--fe-link); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.fe-prose a:hover { color: var(--fe-acc-hover); }

.fe-prose h2 { margin-top: 46px; font-size: 30px; font-weight: 800; letter-spacing: -.03em; line-height: 1.15; color: var(--fe-ink); }
.fe-prose h3 { margin-top: 34px; font-size: 21px; font-weight: 800; letter-spacing: -.015em; line-height: normal; color: var(--fe-ink); }
.fe-prose > :first-child { margin-top: 0; }

.fe-prose > :where(ul, ol) { padding-left: 1.3em; }
.fe-prose > :where(ul, ol) > li + li { margin-top: 8px; }
.fe-prose > :where(ul, ol) > li::marker { color: var(--fe-acc); }

/* Citation */
.fe-prose blockquote { margin: 30px 0 8px; padding: 4px 0 4px 24px; border-left: 3px solid var(--fe-acc); font-size: 24px; line-height: 1.45; font-weight: 700; letter-spacing: -.015em; color: var(--fe-ink); }
.fe-prose blockquote + * { margin-top: 30px; }
.fe-prose blockquote p { margin: 0; }
.fe-prose blockquote cite { display: block; margin-top: 10px; font-size: 15px; font-weight: 500; font-style: normal; letter-spacing: 0; color: var(--fe-ink-3); }

/* À retenir */
.fe-keep { background: var(--fe-tint); border-radius: 20px; padding: 24px 28px; display: flex; flex-direction: column; gap: 10px; }
.fe-keep .fe-keep__t, .fe-keep > p:first-child { margin: 0; font-size: 14px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--fe-tint-ink-2); }
.fe-keep ul, .fe-keep ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.fe-keep li { display: flex; gap: 12px; font-size: 16px; line-height: 1.55; color: var(--fe-ink); }
.fe-keep li::before { content: ""; flex: none; margin-top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--fe-acc); }
.fe-keep li + li { margin-top: 0; }

/* Encadré teinté (pages légales : « Exercer vos droits ») */
.fe-note { background: var(--fe-tint); border-radius: 20px; padding: 22px 26px; display: flex; flex-direction: column; gap: 6px; font-size: 16px; line-height: 1.6; color: var(--fe-ink-guide); }
.fe-note p { margin: 0; }
.fe-note .fe-note__t { font-weight: 800; color: var(--fe-ink); }
.fe-note a { color: var(--fe-block-ink-2); }

/* Tableaux */
.fe-prose figure { margin-left: 0; margin-right: 0; }
.fe-tablewrap { position: relative; background: #fff; border-radius: 20px; box-shadow: var(--fe-shadow); overflow-x: auto; }
.fe-prose figure.wp-block-table { margin-top: 22px; }
.fe-tablewrap table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; line-height: 1.45; }
.fe-tablewrap th, .fe-tablewrap td { border: 0; }
.fe-tablewrap th, .fe-tablewrap thead td { padding: 14px 22px 14px 0; border-bottom: 1px solid var(--fe-line); text-align: left; font: 500 12px var(--fe-mono); letter-spacing: .05em; text-transform: uppercase; color: var(--fe-ink-3); }
.fe-tablewrap td { padding: 14px 22px 14px 0; border-bottom: 1px solid var(--fe-line-2); vertical-align: middle; }
.fe-tablewrap th:first-child, .fe-tablewrap td:first-child { padding-left: 22px; }
.fe-tablewrap tbody td:first-child { font-weight: 700; color: var(--fe-ink); }
.fe-prose figcaption, .fe-prose .wp-element-caption { margin-top: 10px; font-size: 14px; color: var(--fe-ink-3); }

/* Lignes libellé / valeur (pages légales) */
.fe-prose table.fe-kv { display: block; background: #fff; border-radius: 20px; padding: 6px 24px; box-shadow: var(--fe-shadow); border-collapse: collapse; }
.fe-kv tbody { display: block; }
.fe-kv tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--fe-line-2); font-size: 15px; line-height: 1.6; }
.fe-kv tr:last-child { border-bottom: 0; }
.fe-kv th, .fe-kv td { padding: 0; text-align: left; }
.fe-kv th { font-weight: 400; color: var(--fe-ink-3); }
.fe-kv td { font-weight: 600; color: var(--fe-ink); }
@media (max-width: 480px) { .fe-kv tr { grid-template-columns: 1fr; gap: 2px; } }

/* Encart produit (shortcode [fe_produit]) */
.fe-prose .fe-produit { margin-top: 34px; margin-bottom: 12px; background: var(--fe-dark); color: #fff; border-radius: 22px; padding: 20px; display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 20px; align-items: center; text-decoration: none; font-weight: 400; transition: background .15s ease; }
.fe-prose .fe-produit + * { margin-top: 34px; }
.fe-prose .fe-produit:hover { background: var(--fe-dark-hover); color: #fff; }
.fe-produit__img { width: 96px; height: 96px; border-radius: 16px; padding: 0; }
.fe-produit__b { display: flex; flex-direction: column; gap: 6px; line-height: 1.3; min-width: 0; }
.fe-produit__t { font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.fe-produit__x { font-size: 14px; color: var(--fe-dark-soft); }
.fe-produit__n { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.fe-produit__score { font-size: 32px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.fe-produit__cta { font-size: 13px; color: var(--fe-dark-soft); white-space: nowrap; }
@media (max-width: 560px) {
	.fe-prose .fe-produit { grid-template-columns: 64px minmax(0, 1fr); gap: 14px; padding: 16px; }
	.fe-produit__img { width: 64px; height: 64px; border-radius: 12px; }
	.fe-produit__n { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: baseline; }
	.fe-produit__score { font-size: 26px; }
}

/* Sources */
.fe-sources { margin-top: 46px !important; padding-top: 24px; border-top: 1px solid var(--fe-line); display: flex; flex-direction: column; gap: 10px; }
.fe-sources .fe-sources__t, .fe-sources > p:first-child { margin: 0; font: 500 12px var(--fe-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--fe-ink-3); }
.fe-sources ul, .fe-sources ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.fe-sources li { font-size: 15px; line-height: 1.5; color: var(--fe-ink-2); }
.fe-sources a { color: var(--fe-ink-2); font-weight: 400; }
.fe-sources a:hover { color: var(--fe-link); }

/* Images du corps */
.fe-prose figure.wp-block-image img { display: block; border-radius: 20px; }
