/* A3RT — articles du blog, guides et page Insights. S'appuie sur site.css. */

/* En-tête d'article : métadonnées en marge, titre sur l'axe */
.article { padding-top: clamp(40px, 7vh, 96px); padding-bottom: var(--section); }
.article-title { font-size: clamp(34px, 3.9vw, 60px); line-height: 1.05; letter-spacing: -0.025em; color: var(--navy); max-width: 30ch; }
.article-meta { padding-top: 0.5em; align-self: start; position: sticky; top: calc(var(--header-h) + 32px); }
@media (max-width: 899px) { .article-meta { position: static; order: -1; margin-bottom: 24px; } }
.article-meta span { display: block; }
.article-body { margin-top: clamp(40px, 5vw, 72px); }

/* Corps de texte */
.article-prose { max-width: 68ch; }
.article-prose h2 { font-size: var(--t-lead); line-height: 1.2; color: var(--navy); margin-top: 56px; }
.article-prose h3 { font-family: var(--sans); font-size: var(--t-body); font-weight: 500; letter-spacing: 0; margin-top: 32px; }
.article-prose p, .article-prose ul, .article-prose ol, .article-prose table { margin-top: 16px; }
.article-prose ul { list-style: disc; padding-left: 1.2em; }
.article-prose ol { list-style: decimal; padding-left: 1.4em; }
.article-prose li + li { margin-top: 6px; }
.article-prose a:not(.btn) { color: var(--navy); text-underline-offset: 4px; }
.article-prose small { font-size: var(--t-small); color: var(--muted); }
.article-prose strong { font-weight: 500; }

/* Encadrés hérités : .card, .box, .cta */
.article-prose .card, .article-prose .box { margin-top: 24px; padding: 20px 24px; background: var(--surface); }
.article-prose .card > :first-child, .article-prose .box > :first-child { margin-top: 0; }
.article-prose .cta { margin-top: 40px; padding: 24px; background: var(--navy); color: var(--on-dark); }
.article-prose .cta a:not(.btn) { color: var(--on-dark); }
.article-prose .cta > :first-child { margin-top: 0; }

/* Tableaux : les filets sont ceux du tableau */
.article-prose table { width: 100%; border-collapse: collapse; font-size: var(--t-small); }
.article-prose th, .article-prose td { padding: 10px 12px; text-align: left; vertical-align: top; border-top: 1px solid var(--surface-2); } /* taste-skill-ignore : vrai tableau */
.article-prose th { font-weight: 500; background: var(--surface); }
.article-prose .table-wrap { overflow-x: auto; }

/* Articles liés */
.article-prose .related { margin-top: 48px; padding-top: 8px; }
.article-prose .related a { display: block; padding: 10px 0; text-decoration: none; font-family: var(--serif); font-size: var(--t-lead); line-height: 1.2; }
@media (hover: hover) and (pointer: fine) { .article-prose .related a:hover { text-decoration: underline; text-decoration-thickness: 1px; } }

/* Appel final des articles */
.article-cta { margin-top: 56px; padding: 32px; background: var(--surface); }
.article-cta p { max-width: 52ch; }
.article-cta .s-actions { margin-top: 20px; }

/* Page Insights : liste des articles */
.insights-list { display: grid; gap: 0; }
.insights-list li { padding: 20px 0; }
.insights-list li + li { margin-top: 4px; }
.insights-item { font-size: var(--t-lead); line-height: 1.2; letter-spacing: -0.01em; }
.insights-list a { color: var(--navy); text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .insights-list a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; } }
.insights-list p { margin-top: 6px; color: var(--muted); max-width: 60ch; }
.insights-group + .insights-group { margin-top: clamp(64px, 8vw, 120px); }
@media (min-width: 600px) and (max-width: 899px) {
  .insights-list { grid-template-columns: 1fr 1fr; column-gap: var(--gutter); }
}

/* Articles réécrits : chapeau, encadré « Points clés », sources */
.article-prose .chapeau { margin-top: 0; font-size: var(--t-intro); line-height: 1.5; color: var(--ink); }
.article-prose .card strong:first-child { display: block; margin-bottom: 4px; }
.article-prose .sources { font-size: var(--t-small); color: var(--muted); }
.article-prose .sources i { font-style: italic; }

/* Actualité fiscale : surtitre et statut du texte */
.article-kicker { margin-bottom: 14px; font-family: var(--mono, ui-monospace); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.article-prose .statut { margin-top: 0; margin-bottom: 20px; padding: 12px 16px; border-radius: 12px; background: #FBEEDF; color: #6B3D0F; font-size: var(--t-small); }
