/*
 * Blog articles in the new design (Kevin, 21 November 2026, among ten proposals: « partons sur la 4 mais les
 * components faq sont pas à modifier prends les mêmes que le reste du site », « une page avec le sommaire on
 * dirait tu fais un logiciel », « j'aime bien la 6 pour le bloc d'autres articles »). Loaded on single posts after
 * the inner pages' styles (inner-design.css) and the new chrome (inc-2026/article-2026.php), over the same markup
 * (single.php): the coherent design's tokens (apple-coherent.css) — its night, sand, ink, stone and one blue —, a
 * single reading column with the sommaire at its head, the boxes as night and sand cards, the tables with a night
 * head, a table of numbers drawn as bars (assets/js/article-2026.js), the site's FAQ band (biux2026_article_faq)
 * and « D'autres articles » as small cards, their picture on the left.
 * Every rule starts at body.biux-inner.single-post, one class more than inner-design.css's; !important only where
 * the editor wrote the box's style in its own tag (style="…" on « À retenir »).
 */
body.biux-inner.single-post{
  --a-ink:#1d1c1a;--a-night:#11100e;--a-sand:#f5f4f2;--a-stone:#6b6a66;--a-stone-3:#8a8984;--a-blue:#1a5cf0;--a-radius:10px;
  --a-black-12:rgb(17 16 14 / 12%);--a-white-6:rgb(255 255 255 / 6%);--a-white-12:rgb(255 255 255 / 12%);--a-white-48:rgb(255 255 255 / 48%);--a-white-72:rgb(255 255 255 / 72%);
  --a-column:1000px;
}

/* 1. The head: night ground, the picture on the left, the category, the title and the line under it on the right. */
body.biux-inner.single-post .article-hero{background:var(--a-night)}
body.biux-inner.single-post .article-hero-grid{gap:clamp(32px,4vw,56px)}
body.biux-inner.single-post .article-hero-cat{font-size:13px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--a-white-72)}
body.biux-inner.single-post .article-hero-title{margin:16px 0 22px!important;font-size:clamp(2.25rem,1.6rem + 2vw,3.375rem)!important;line-height:1.05!important;letter-spacing:-.035em!important;font-weight:400;color:#fff}
body.biux-inner.single-post .article-hero .article-meta{gap:10px;font-size:14px;color:var(--a-white-72)}
body.biux-inner.single-post .article-hero .article-author-photo{width:28px;height:28px}

/* 2. The text in one reading column, the sommaire on its right, held in view while the article scrolls, so a
   click takes the reader to any section (Kevin, 21 November 2026: « il faut que le sommaire soit à droite toujours
   visible pour pouvoir qu'il nous renvoie à une section ou une autre »): a light list, the section being read
   marked in ink and the blue (article-toc.mjs sets aria-current), the rating and the quote button under it. */
/* The text wider and the sommaire at the right edge of the content (Kevin, 21 November 2026: « il faut que l'article
   soit plus large et le sommaire plus à droite »): both span the site's content width, 1400 px at most, the text on
   the left up to --a-column, the sommaire against the right edge. */
body.biux-inner.single-post .article-layout{display:grid;grid-template-columns:minmax(0,var(--a-column)) minmax(240px,300px);justify-content:space-between;gap:clamp(40px,5vw,96px);padding-inline:max(var(--gutter),calc((100% - 1400px) / 2))}
body.biux-inner.single-post .article-layout>:not(.article-toc){grid-column:1;grid-row:1}
body.biux-inner.single-post .article-toc{display:block;grid-column:2;grid-row:1;margin:0;padding:0;border:0}
body.biux-inner.single-post .article-toc-sticky{position:sticky;top:112px;display:flex;flex-direction:column;gap:12px;max-height:calc(100svh - 144px);padding:0;border-radius:0;background:none;color:var(--a-ink)}
body.biux-inner.single-post .article-toc-label{flex:none;margin:0 0 4px;font-size:12px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--a-stone-3)}
body.biux-inner.single-post .article-toc-scroll{flex:0 1 auto;min-height:0;overflow-y:auto;margin:0;padding:0;scrollbar-width:thin}
body.biux-inner.single-post .article-toc-list{display:flex;flex-direction:column;gap:0}
body.biux-inner.single-post .article-toc-highlight{display:none}
body.biux-inner.single-post .article-toc-link{display:block;padding:8px 0 8px 14px;border:0;border-left:2px solid var(--a-black-12);border-radius:0;background:none;font-size:14px;line-height:1.4;color:var(--a-stone);transition:color .2s ease,border-color .2s ease}
body.biux-inner.single-post .article-toc-link:hover{background:none;color:var(--a-ink)}
body.biux-inner.single-post .article-toc-link[aria-current=location],body.biux-inner.single-post .article-toc-link.is-active{border-left-color:var(--a-blue);background:none;color:var(--a-ink);font-weight:500}
body.biux-inner.single-post .article-toc-sticky>.svc-hero-rating{flex:none;align-self:flex-start;margin-top:12px;background:var(--a-sand);color:var(--a-ink);box-shadow:none}
body.biux-inner.single-post .article-toc-sticky>.svc-hero-rating :is(span,strong){color:var(--a-ink)}
body.biux-inner.single-post .article-toc-sticky .article-toc-cta{flex:none;align-self:flex-start;margin:0;background:var(--a-blue);color:#fff}

/* 3. The words: the site's sizes and greys, links in its blue. */
body.biux-inner.single-post .article-layout .page-content{font-size:17px;line-height:1.65;color:var(--a-stone)}
body.biux-inner.single-post .article-layout .page-content :is(p,li){color:var(--a-stone)}
body.biux-inner.single-post .article-layout .page-content :is(strong,b){color:var(--a-ink);font-weight:600}
body.biux-inner.single-post .article-layout .page-content a:not(.method-btn):not(.agence-split-btn){color:var(--a-blue);text-decoration:none}
body.biux-inner.single-post .article-layout .page-content a:not(.method-btn):not(.agence-split-btn):hover{text-decoration:underline;text-underline-offset:.2em}
body.biux-inner.single-post .article-layout .page-content h2{margin:3.5rem 0 1.25rem;font-size:clamp(1.875rem,1.4rem + 1.4vw,2.5rem);line-height:1.1;letter-spacing:-.03em;font-weight:400;color:var(--a-ink)}
/* A section reached from the sommaire stops under the floating navigation, not behind it. */
body.biux-inner.single-post .article-layout .page-content :is(h2,h3){scroll-margin-top:120px}
body.biux-inner.single-post .article-layout .page-content h3{margin:2.25rem 0 .75rem;font-size:22px;line-height:1.3;letter-spacing:-.012em;font-weight:500;color:var(--a-ink)}
body.biux-inner.single-post .article-layout .page-content :is(.article-chapo,.editorial-direct-answer){font-size:21px;line-height:1.5;color:var(--a-ink)}
body.biux-inner.single-post .article-layout .page-content .editorial-author-line{font-size:14px;color:var(--a-stone-3)}

/* 4. The boxes: « En bref » and « À retenir » as night cards, each point on its own tile; Kevin's advice, the
   lead magnet and the document to download as sand cards. */
body.biux-inner.single-post .page-content :is(.en-bref,.a-retenir){margin:2.5rem 0!important;padding:32px 34px!important;border:0!important;border-radius:var(--a-radius)!important;background:var(--a-night)!important;color:var(--a-white-72)}
body.biux-inner.single-post .page-content :is(.en-bref,.a-retenir)>p:first-child{margin:0 0 14px;font-size:20px;font-weight:500;color:#fff}
body.biux-inner.single-post .page-content :is(.en-bref,.a-retenir)>p:first-child strong{font-weight:500;color:#fff}
body.biux-inner.single-post .page-content :is(.en-bref,.a-retenir) ul{display:grid;gap:10px;margin:0;padding:0;list-style:none}
body.biux-inner.single-post .page-content :is(.en-bref,.a-retenir) li{margin:0;padding:12px 16px;border-radius:8px;background:var(--a-white-12);color:var(--a-white-72);text-align:left}
body.biux-inner.single-post .page-content :is(.en-bref,.a-retenir) li::before{content:none}
body.biux-inner.single-post .page-content :is(.en-bref,.a-retenir) :is(strong,b){color:#fff}
body.biux-inner.single-post .page-content :is(.en-bref,.a-retenir) a{color:#fff;text-decoration:underline;text-underline-offset:.2em}
body.biux-inner.single-post .page-content :is(.conseil-kevin,.lead-magnet,.article-resource){margin:2.5rem 0;padding:30px 34px;border:0;border-radius:var(--a-radius);background:var(--a-sand);box-shadow:none}
body.biux-inner.single-post .page-content .conseil-kevin>p:first-child{margin-bottom:10px;color:var(--a-ink)}
body.biux-inner.single-post .page-content .article-resource-kicker{font-size:12px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--a-stone)}
body.biux-inner.single-post .page-content .article-resource-title{margin-top:6px;font-size:22px;font-weight:500;color:var(--a-ink)}
body.biux-inner.single-post .page-content .article-resource-input{border:0;background:#fff;box-shadow:inset 0 0 0 1px var(--a-black-12)}
body.biux-inner.single-post .page-content :is(.article-resource-button,.lead-magnet .agence-split-btn){border-radius:var(--a-radius);background:var(--a-blue);color:#fff}

/* 5. Tables: a night head, the first column on sand, no word cut inside a cell; wide ones scroll on their own
   (article-2026.js wraps them). */
body.biux-inner.single-post .page-content table{display:table;width:100%;margin:0;border-collapse:collapse;font-size:15px;line-height:1.45;overflow:visible}
body.biux-inner.single-post .page-content .article-table{margin:2rem 0;overflow-x:auto;border-radius:var(--a-radius);box-shadow:inset 0 0 0 1px var(--a-black-12)}
body.biux-inner.single-post .page-content .article-table table{min-width:560px}
body.biux-inner.single-post .page-content :is(th,td){padding:15px 18px;border:0;border-top:1px solid var(--a-black-12);vertical-align:top;text-align:left;overflow-wrap:normal;word-break:normal;hyphens:none;-webkit-hyphens:none}
body.biux-inner.single-post .page-content thead th,body.biux-inner.single-post .page-content tr:first-child>th{border-top:0;background:var(--a-night);color:#fff;font-size:13px;font-weight:600;letter-spacing:.05em;text-transform:uppercase}
body.biux-inner.single-post .page-content td{color:var(--a-stone)}
body.biux-inner.single-post .page-content td:first-child{background:var(--a-sand);color:var(--a-ink);font-weight:600}
body.biux-inner.single-post .page-content :is(td,th) :is(p,li){text-align:left}

/* 6. A table of numbers as bars (article-2026.js): a night card, one row per line of the table, the first series in
   white and the second behind it at half; the table itself stays under « Voir le tableau ». */
body.biux-inner.single-post .article-chart{margin:2rem 0;padding:30px;border-radius:var(--a-radius);background:var(--a-night);color:var(--a-white-72)}
body.biux-inner.single-post .page-content .article-chart :is(p,li,b,em){text-align:left}
body.biux-inner.single-post .page-content .article-chart-legend{display:flex;flex-wrap:wrap;align-items:center;gap:8px 18px;margin:0 0 22px;font-size:13px;color:var(--a-white-72)}
body.biux-inner.single-post .article-chart-legend span{display:inline-flex;align-items:center;gap:8px}
body.biux-inner.single-post .article-chart-legend i{width:10px;height:10px;border-radius:3px;background:#fff}
body.biux-inner.single-post .article-chart-legend span+span i{background:var(--a-white-48)}
body.biux-inner.single-post .article-chart-rows{display:grid;gap:14px;margin:0;padding:0;list-style:none}
body.biux-inner.single-post .article-chart-row{display:grid;grid-template-columns:minmax(80px,8.5em) 1fr minmax(76px,auto);align-items:center;gap:14px;font-size:13.5px}
body.biux-inner.single-post .page-content .article-chart-row{color:var(--a-white-72)}
body.biux-inner.single-post .page-content .article-chart-row b{font-weight:500;color:#fff}
body.biux-inner.single-post .article-chart-track{position:relative;height:14px;border-radius:7px;background:var(--a-white-12)}
body.biux-inner.single-post .article-chart-track i{position:absolute;inset:0 auto 0 0;border-radius:7px;background:#fff}
body.biux-inner.single-post .article-chart-track i.is-second{background:var(--a-white-48)}
body.biux-inner.single-post .page-content .article-chart-row em{font-style:normal;text-align:right;white-space:nowrap;color:var(--a-white-72)}
body.biux-inner.single-post .article-chart details{margin-top:20px}
body.biux-inner.single-post .article-chart summary{cursor:pointer;font-size:14px;font-weight:500;color:#fff}
body.biux-inner.single-post .article-chart .article-table{margin:14px 0 0;background:#fff}

/* 7. The FAQ: the site's own band (render.mjs FAQ, cut from the home with the new chrome: partials/apple-faq.json
   and apple-chrome.css), after the share row, across the whole line (Kevin, 21 November 2026: « met la faq après les
   boutons de partage et dans le style du design du reste du site », « une faq sur toute la ligne »). Here, only what
   the chrome cannot carry: the band out of the page's side margins, the site's night behind it (apple-coherent.css
   gives it in a rule naming other blocks too, which the chrome leaves out), and the questions, which stay the
   article's H3, in the band's type rather than the page's headings', their lists as the band's paragraphs. The band
   is the chrome's root in the article's <main>, reached as such: a class named in this stylesheet would be one the
   chrome renames (apple-chrome.mjs). The chrome has its own --gutter: the page's is taken on <main>. Its words take
   the band's family and size, not the page's headings' and paragraphs'. The articles put a plain space before « ? »
   where the home has a no-break one: the questions wrap so that it never stands alone on a phone. */
body.biux-inner.single-post main{--a-gutter:var(--gutter)}
body.biux-inner.single-post main>[data-apple-chrome]{margin-inline:calc(var(--a-gutter) * -1)}
body.biux-inner.single-post main>[data-apple-chrome] :is(h2,h3,p,li){font-family:inherit}
body.biux-inner.single-post main>[data-apple-chrome] details :is(p,li){font-size:inherit}
body.biux-inner.single-post main>[data-apple-chrome]>section{background:var(--a-night)}
body.biux-inner.single-post main>[data-apple-chrome] summary>h3{margin:0;font:inherit;letter-spacing:inherit;color:inherit;text-transform:none;text-wrap:pretty}
body.biux-inner.single-post main>[data-apple-chrome] details :is(ul,ol){margin:0 0 1rem;padding-left:1.25rem}
body.biux-inner.single-post main>[data-apple-chrome] details li{line-height:1.53;color:var(--a-white-72)}
@supports (interpolate-size:allow-keywords){
  body.biux-inner.single-post{interpolate-size:allow-keywords}
}

/* 8. « D'autres articles »: small cards on the site's sand (Kevin: « met aux encadrés un fond et faut que ça
   corresponde aux couleurs du site »), the picture square on the left, the category, the title and the date
   beside it (Kevin: « la 6 pour le bloc d'autres articles »). */
body.biux-inner.single-post main.page>.svc-section .avis-title{font-size:clamp(2rem,1.4rem + 1.6vw,2.75rem);line-height:1.1;letter-spacing:-.03em;font-weight:400}
body.biux-inner.single-post .blog-grid--edge{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
body.biux-inner.single-post .blog-grid--edge .blog-card{display:grid;grid-template-columns:140px minmax(0,1fr);grid-template-rows:auto auto 1fr;align-content:start;gap:4px 16px;padding:14px;border-radius:var(--a-radius);background:var(--a-sand);box-shadow:none;transition:box-shadow .2s ease}
body.biux-inner.single-post .blog-grid--edge .blog-card:hover{box-shadow:0 .75rem 2rem var(--a-black-12)}
body.biux-inner.single-post .blog-grid--edge .blog-card>img:not(.blog-card-author){grid-row:1 / span 3;width:140px;height:100%;min-height:140px;margin:0;aspect-ratio:1;object-fit:cover;border-radius:8px}
body.biux-inner.single-post .blog-grid--edge .blog-card>:is(.blog-card-cat,.blog-card-title,.blog-card-meta){grid-column:2;margin:0;padding:0;border-radius:0;background:none}
body.biux-inner.single-post .blog-grid--edge .blog-card>.blog-card-cat{font-size:11.5px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--a-stone)}
body.biux-inner.single-post .blog-grid--edge .blog-card>.blog-card-title{font-size:16px;line-height:1.3;letter-spacing:-.01em;font-weight:500;color:var(--a-ink)}
body.biux-inner.single-post .blog-grid--edge .blog-card>.blog-card-meta{align-self:end;font-size:13px;color:var(--a-stone)}
body.biux-inner.single-post .blog-grid--edge .blog-card>.blog-card-meta :is(img,.article-meta-sep){display:none}

@media (max-width:900px){
  /* A phone has no side for it: the sommaire comes first in the text's flow, as a sand card. */
  body.biux-inner.single-post .article-layout{display:block}
  body.biux-inner.single-post .article-toc{margin:0 0 48px}
  body.biux-inner.single-post .article-toc-sticky{position:static;max-height:none;padding:22px;border-radius:var(--a-radius);background:var(--a-sand)}
  body.biux-inner.single-post .article-toc-scroll{overflow:visible}
  body.biux-inner.single-post .article-toc-sticky>.svc-hero-rating{background:#fff}
  body.biux-inner.single-post .blog-grid--edge{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:600px){
  body.biux-inner.single-post .article-toc-sticky{padding:22px}
  body.biux-inner.single-post .page-content :is(.en-bref,.a-retenir,.conseil-kevin,.lead-magnet,.article-resource){padding:24px 22px!important}
  body.biux-inner.single-post .article-chart{padding:22px}
  body.biux-inner.single-post .article-chart-row{grid-template-columns:minmax(64px,6.5em) 1fr;gap:6px 12px}
  body.biux-inner.single-post .article-chart-row em{grid-column:2;text-align:left;font-size:12.5px}
  body.biux-inner.single-post .blog-grid--edge .blog-card{grid-template-columns:96px minmax(0,1fr)}
  body.biux-inner.single-post .blog-grid--edge .blog-card>img:not(.blog-card-author){width:96px;min-height:96px}
}
