/* Couleurs des composants : les surfaces claires et sombres gardent leur propre palette. */
.sidebar-box {
  --cream: #1c2b21;
  --sage-soft: #2f5a44;
  --ink-soft: #405448;
  color: #1c2b21;
}
.sidebar-box .sidebar-box-title,
.sidebar-box .sidebar-list a { color: #2f5a44; }
.sidebar-box .sidebar-list a:hover,
.sidebar-box .sidebar-list a:focus-visible { color: #1c2b21; }
.sidebar-box .sidebar-note { color: #405448; }

/* Les résumés suivent le flux du texte ; les listes de liens gardent leur flèche. */
.sidebar-list li:has(> strong) { display: block; }
.sidebar-list li:has(> strong)::before { display: none; }

.page-paper .callout {
  --cream: #1c2b21;
  --gold: #2f5a44;
  --gold-soft: #2f5a44;
  --ink-soft: #405448;
  color: #1c2b21;
}
.page-paper .lexicon-jump a,
.page-paper .lexicon-jump a:hover,
.page-paper .infraction-number,
.page-paper .tag-ok { color: #2f5a44; }
.page-paper .tag-penalty { color: #963b28; }
.page-paper .article-figure-caption,
.page-paper .breadcrumb,
.page-paper .breadcrumb a,
.page-paper .aff-note { color: #405448; }
.page-paper .compare-table { --gold: #2f5a44; --sage: #2f5a44; }
.page-paper .article-body sup { color: inherit; }

/* Ces cartes restent vert foncé, même dans les articles sur fond papier. */
.product-inline .product-inline-desc { color: #e1eae3; }
.product-inline .product-inline-price,
.product-inline .product-inline-link,
.profil-card .profil-card-title,
.brand-block-tag,
.index-block-tag,
.sidebar-widget-head .tag,
.filter-pill.active { color: #bad6c3; }
.equipment-selection .product-card-price,
.equipment-selection .product-card-link,
.equipment-selection .product-card-rank,
.equipment-selection .product-card-badge.premium { color: #bad6c3; }
.product-card-rank.bronze-rank,
.product-card-badge.budget { color: #bad6c3; }
.sidebar-widget .sidebar-note { color: #c4d5ca; }
.article-body .article-cta-btn,
.article-body .article-cta-block .btn-cta { color: #192c20; }
.article-body .article-cta-btn:hover,
.article-body .article-cta-block .btn-cta:hover { color: #192c20; }

.section-light .article-card-footer { color: #405448; }
.footer .footer-copy,
.footer .footer-legal,
.footer .footer-desc,
.footer .footer-links a { color: #b7c9bd; }
.footer .footer-legal a { color: inherit; }
.lf__in { color: #405448; }
.section-light .store-card .tag,
.section-light .store-card .store-phone { color: #405448; }
.store-partner-badge,
.chip.partner-chip { color: #bad6c3; }

/* Laisser les encadrés suivants accessibles au fil du défilement. */
body:has(.article-sidebar) { overflow-x: clip; }
.article-sidebar { position: static; min-width: 0; }
.article-sidebar.reveal { opacity: 1; transform: none; transition: none; }

/* Les tableaux ne doivent pas élargir la colonne de lecture sur mobile. */
.article-body { min-width: 0; }
@media (max-width: 700px) {
  .article-body .compare-table { table-layout: fixed; }
  .article-body .compare-table th,
  .article-body .compare-table td { overflow-wrap: anywhere; padding: 10px 8px; }
}
