/*
Theme Name: vBlog.io
Theme URI: https://vblog.io
Author: Cédric
Author URI: https://vblog.io
Description: Thème WordPress natif (sans Elementor) de vBlog.io, direction « Éditorial » : colonne de gauche sombre, orange #FF7B10, bleu #314977 / nuit #19253D, mode clair et sombre, typographie dense, images mises en avant 2:1.
Version: 1.0.4
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vblog-theme
Tags: blog, two-columns, left-sidebar, custom-menu, featured-images, threaded-comments, translation-ready, accessibility-ready
*/

/* Polices Inter et Poppins (SIL Open Font License 1.1), hébergées dans assets/fonts */
@font-face{font-family:'Inter';font-style:normal;font-weight:400 600;font-display:swap;src:url(assets/fonts/inter-400-600-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Poppins';font-style:normal;font-weight:500;font-display:swap;src:url(assets/fonts/poppins-500-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Poppins';font-style:normal;font-weight:600;font-display:swap;src:url(assets/fonts/poppins-600-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Poppins';font-style:normal;font-weight:700;font-display:swap;src:url(assets/fonts/poppins-700-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Poppins';font-style:normal;font-weight:800;font-display:swap;src:url(assets/fonts/poppins-800-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}

/* Feuille unique : base et maquettes B, pages, densité (density.css), puis adaptations WordPress. */

:root{--sw:clamp(250px,19vw,300px);--navy:#314977;--night:#19253D;--orange:#FF7B10;--brown:#813A00;--teal:#0F6B66;--purple:#77006E;
 --bg:#FFFFFF;--surface:#F6F8FC;--title:#314977;--text:#2B3652;--muted:#5B6783;--line:#E3E0DA;--link:#813A00;--side:#19253D;
 --c-teal:#0F6B66;--c-purple:#77006E;--c-navy:#314977;--c-brown:#813A00}
[data-theme=dark]{--bg:#0B1120;--surface:#131C31;--title:#D3DFFF;--text:#C3CDE4;--muted:#9AA7C4;--line:#232F4D;--link:#FFA45C;--side:#080D18;
 --c-teal:#2FB3AA;--c-purple:#D26CCB;--c-navy:#7C98D6;--c-brown:#E0A070}
*{box-sizing:border-box;margin:0}
html{font-size:clamp(15px,.4vw + 12.4px,18px)}
body{font-family:Inter,system-ui,sans-serif;background:var(--bg);color:var(--text);line-height:1.65;display:grid;grid-template-columns:var(--sw) 1fr;min-height:100vh;transition:background .25s}
h1,h2,h3,.logo,.btn,.chip,.side a{font-family:Poppins,sans-serif}
a{color:inherit;text-decoration:none}
h1,h2,h3{color:var(--title)}

/* Rail latéral */
.logo svg{display:block;width:100%;max-width:200px;height:auto;fill:currentColor}
.topbar .logo svg{width:auto;height:26px}

.side{background:var(--side);color:#C9D3EA;position:sticky;top:0;height:100vh;padding:28px 22px;display:flex;flex-direction:column;gap:26px;overflow:auto;border-right:3px solid var(--orange)}
.logo{font-weight:800;font-size:1.6rem;color:#fff;letter-spacing:-.02em}.logo span{color:var(--orange)}
.side nav{display:grid;gap:2px}
.side nav a{padding:9px 12px;border-radius:9px;font-size:.92rem;font-weight:500;display:flex;justify-content:space-between;align-items:center;gap:10px}
.side nav a:hover{background:rgba(255,255,255,.1);color:#fff}
.side nav a.on{background:var(--orange);color:#19253D;font-weight:600}
.side nav small{opacity:.6;flex:none}
.side h5{font:600 .72rem Poppins;text-transform:uppercase;letter-spacing:.1em;color:#7F90B8;margin-bottom:6px}
/* Séparateurs : 24px de part et d'autre de chaque trait (gap du menu 8px, gap de la colonne 10px) */
.side .grp-sep{border-top:1px solid rgba(201,211,234,.25);padding-top:24px;margin-top:16px}
.side .rail-menu{border-bottom:1px solid rgba(201,211,234,.25);padding-bottom:24px;margin-bottom:14px}
.side .foot{margin-top:auto;display:flex;gap:8px}
.cartouches{display:grid;gap:10px}
.cart{border:1px solid rgba(255,255,255,.14);border-radius:12px;padding:9px 12px;background:rgba(255,255,255,.05);font-size:.78rem;line-height:1.5;color:#C9D3EA}
.cart h5{display:flex;align-items:center;gap:7px;margin-bottom:5px}.cart h5 .i{width:15px;height:15px;color:var(--orange)}
.cart p{margin:0}.cart a{color:#fff;text-decoration:underline;text-decoration-color:var(--orange);text-underline-offset:2px}.cart a:hover{color:var(--orange)}
.cart ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:2px 12px}
.cart.ai{border-color:rgba(255,123,16,.55);background:rgba(255,123,16,.1)}
.side .social{display:flex;flex-wrap:wrap;gap:6px}.side .social .ib{flex:1 1 34px;height:36px}.i.brand{fill:currentColor;stroke:none;width:17px;height:17px}
.ib{flex:1;height:40px;border-radius:10px;border:1px solid rgba(255,255,255,.18);background:transparent;color:#fff;cursor:pointer;font-size:1rem}
.ib:hover{background:rgba(255,255,255,.1)}
.sun{display:none}[data-theme=dark] .sun{display:inline}[data-theme=dark] .moon{display:none}
.topbar{display:none}

.i{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;flex:none}
.side nav a .lb{display:flex;align-items:center;gap:11px}
.side nav a:not(.on) .i{color:var(--orange)}
.ib{display:grid;place-items:center}.ib .i{width:19px;height:19px}.ib span{display:inline-flex}
.sun{display:none!important}[data-theme=dark] .sun{display:inline-flex!important}[data-theme=dark] .moon{display:none!important}
.pepite b .i{vertical-align:-3px;margin-right:6px}
.topbar button .i{width:20px;height:20px}
/* Contenu */
img.thumb{display:block;width:100%;height:auto;aspect-ratio:2/1;object-fit:cover}

main{padding:36px clamp(20px,4vw,64px) 60px;max-width:1360px;width:100%;margin-inline:auto;min-width:0}
.thumb{aspect-ratio:2/1;border-radius:12px;overflow:hidden}
.chip{display:inline-block;font-size:.68rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;background:var(--orange);color:#19253D;padding:3px 11px;border-radius:99px}
.meta{font-size:.8rem;color:var(--muted)}

.hero{display:block;margin-bottom:44px}
.hero .thumb{aspect-ratio:2/1;margin-bottom:20px}
.hero h1{font-size:clamp(1.7rem,3.4vw,2.6rem);line-height:1.15;font-weight:800;letter-spacing:-.02em;margin:8px 0 12px}
.hero h1 a:hover{color:var(--link)}
.hero .thumb{box-shadow:0 0 0 4px var(--orange)}
.hero p{font-size:1.08rem;color:var(--muted);max-width:68ch}
.hero .meta{margin-top:12px}
.read{display:inline-block;margin-top:14px;font:600 .9rem Poppins;background:var(--orange);color:#19253D;padding:9px 18px;border-radius:99px;transition:filter .2s}
.read:hover{filter:brightness(1.08)}

.pepite{background:var(--orange);color:#19253D;padding:20px 24px;border-radius:14px;margin-bottom:44px;display:flex;gap:16px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.pepite b{font-family:Poppins;font-size:1.05rem}
.pepite .meta{color:#3a2a14}
.pepite .read{background:#19253D;color:#fff}

.head{display:flex;align-items:baseline;justify-content:space-between;border-bottom:3px solid var(--orange);padding-bottom:8px;margin-bottom:6px}
.head h2{font-size:1.1rem;text-transform:uppercase;letter-spacing:.08em;color:var(--title)}
.head a{font-size:.85rem;font-weight:600;color:var(--link)}
.row{display:grid;grid-template-columns:220px 1fr;gap:20px;padding:24px 0;border-bottom:1px solid var(--line)}
.row h3{font-size:1.3rem;line-height:1.25;margin:4px 0 8px;font-weight:700}
.row:hover h3{color:var(--link)}
.row:hover .thumb{outline:3px solid var(--orange);outline-offset:3px}
.row p{color:var(--muted);font-size:.95rem}
.more{display:flex;justify-content:center;margin-top:28px}
.btn{background:var(--orange);color:#19253D;font-weight:600;padding:12px 26px;border-radius:99px;border:0;cursor:pointer;font-size:.92rem}
.btn:hover{filter:brightness(1.08)}

.series{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:44px 0}
.series a{padding:18px;border-radius:12px;background:var(--surface);border:1px solid var(--line);border-top:4px solid var(--orange)}
.series b{font-family:Poppins;display:block;margin-bottom:4px;color:var(--title)}.series span{font-size:.85rem;color:var(--muted)}
.series a:hover{background:var(--orange);border-color:var(--orange)}
.series a:hover b,.series a:hover span{color:#19253D}


/* Grands écrans */
.rows{display:block}
@media(min-width:1500px){
 .hero{display:grid;grid-template-columns:1.3fr 1fr;column-gap:40px;align-content:center;align-items:start}
 .hero .hero-img{grid-row:1 / span 6;margin-bottom:0}
 .hero .chip,.hero .read{justify-self:start}
 .hero h1{margin-top:0}
 .rows{display:grid;grid-template-columns:1fr 1fr;column-gap:56px}
 .row{grid-template-columns:200px 1fr}
}
@media(min-width:1900px){main{max-width:1560px}.rows{grid-template-columns:repeat(3,1fr);column-gap:40px}.row{grid-template-columns:1fr;gap:14px}}
@media(max-width:900px){
 body{grid-template-columns:1fr}
 .side{display:none;position:fixed;inset:56px 0 0 0;z-index:30;height:auto;border:0}.side.open{display:flex}
 .topbar{display:flex;position:sticky;top:0;z-index:40;height:56px;background:var(--side);align-items:center;justify-content:space-between;padding:0 16px;border-bottom:3px solid var(--orange)}
 .topbar button{width:40px;height:40px;border-radius:10px;border:1px solid rgba(255,255,255,.18);background:transparent;color:#fff;font-size:1.1rem}
 .topbar .logo{font-size:1.3rem}
}
@media(max-width:640px){.row{grid-template-columns:1fr;gap:12px}.series{grid-template-columns:1fr}}

/* Article */
main.art{max-width:1320px}
.progress{position:fixed;top:0;left:var(--sw);right:0;height:4px;background:var(--orange);transform-origin:left;transform:scaleX(0);z-index:50}
.crumbs{font-size:.82rem;color:var(--muted);margin-bottom:16px}.crumbs a{color:var(--link);font-weight:600}.crumbs a:hover{text-decoration:underline}
.art-head{max-width:980px;margin-bottom:34px}
.chips{display:flex;gap:8px;flex-wrap:wrap}.chips a.chip:hover{filter:brightness(1.08)}
.art-head h1{font-size:clamp(1.8rem,3.6vw,2.7rem);line-height:1.15;font-weight:800;letter-spacing:-.02em;margin:14px 0 18px}
.byline{display:flex;align-items:center;gap:12px;margin-bottom:24px}
.byline b{font-family:Poppins;color:var(--title)}
.byline .meta{display:flex;gap:16px;flex-wrap:wrap}.byline .meta span{display:inline-flex;align-items:center;gap:6px}.byline .meta .i{width:15px;height:15px}
.avatar{width:42px;height:42px;border-radius:50%;background:var(--orange);color:#19253D;font:700 1rem Poppins;display:grid;place-items:center;flex:none}
.avatar.big{width:64px;height:64px;font-size:1.5rem}
.cover{display:block;width:100%;height:auto;aspect-ratio:2/1;object-fit:cover;border-radius:12px;box-shadow:0 0 0 4px var(--orange)}
.art-grid{display:grid;grid-template-columns:minmax(0,720px);gap:clamp(32px,4vw,64px);align-items:start;margin-top:44px}
.prose{grid-column:1;grid-row:1;font-size:1.06rem;line-height:1.85;color:var(--text)}
.art-grid.has-toc,.art-grid.has-side{grid-template-columns:minmax(0,720px) 230px}
.toc{grid-column:2;grid-row:1;position:sticky;top:24px;font-size:.88rem}
.toc h4{font:700 .72rem Poppins;text-transform:uppercase;letter-spacing:.1em;color:var(--muted);margin-bottom:10px}
.toc ol{list-style:none;padding:0;display:grid;gap:2px;border-left:2px solid var(--line)}
.toc a{display:block;padding:6px 0 6px 14px;margin-left:-2px;border-left:2px solid transparent;color:var(--muted);line-height:1.4}
.toc a:hover{color:var(--title)}.toc a.on{color:var(--title);font-weight:600;border-left-color:var(--orange)}
.prose p{margin:0 0 1.25em}
.prose h2{font-size:1.6rem;line-height:1.25;margin:2.1em 0 .7em;scroll-margin-top:24px;display:flex;gap:12px;align-items:baseline}
.prose h2::before{content:"";flex:none;width:6px;height:1.05em;background:var(--orange);border-radius:3px;transform:translateY(.15em)}
.prose h3{font-size:1.2rem;margin:1.7em 0 .5em}
.prose a{color:var(--link);text-decoration:underline;text-decoration-color:var(--orange);text-decoration-thickness:2px;text-underline-offset:3px}
.prose strong{color:var(--title)}
.prose ul,.prose ol{margin:0 0 1.3em;padding-left:1.4em}.prose li{margin:.35em 0}.prose li::marker{color:var(--orange);font-weight:700}
.prose code{font:.88em ui-monospace,SFMono-Regular,Menlo,monospace;background:color-mix(in srgb,var(--orange) 16%,transparent);padding:.1em .4em;border-radius:6px;color:var(--title)}
.prose blockquote{margin:1.6em 0;padding:18px 22px;border-left:5px solid var(--orange);background:var(--surface);border-radius:0 12px 12px 0;color:var(--title);font-size:1.12rem}
.prose blockquote p{margin:0}.prose cite{display:block;margin-top:8px;font-size:.88rem;color:var(--muted);font-style:normal}.prose cite::before{content:"- "}
.callout{display:flex;gap:14px;background:color-mix(in srgb,var(--orange) 12%,var(--bg));border:1px solid color-mix(in srgb,var(--orange) 55%,transparent);border-radius:12px;padding:16px 18px;margin:1.6em 0}
.callout-ic{color:var(--orange);flex:none}.callout .i{width:22px;height:22px}.callout b{font-family:Poppins;color:var(--title)}.callout p{margin:.2em 0 0;font-size:.98rem;line-height:1.6}
.code{margin:1.5em 0;border-radius:12px;overflow:hidden;background:#0E1626;border:1px solid #243256}
.code-bar{display:flex;justify-content:space-between;align-items:center;padding:8px 12px;background:#16213A;color:#9AA7C4;font:600 .75rem Poppins;text-transform:uppercase;letter-spacing:.08em}
.code-bar button{display:inline-flex;align-items:center;gap:6px;background:transparent;border:1px solid #33456D;color:#C9D3EA;border-radius:8px;padding:4px 10px;font:600 .72rem Poppins;cursor:pointer}
.code-bar button:hover{background:var(--orange);border-color:var(--orange);color:#19253D}.code-bar .i{width:14px;height:14px}
.code pre{margin:0;padding:16px 18px;overflow-x:auto;font:.88rem/1.7 ui-monospace,SFMono-Regular,Menlo,monospace;color:#E7EBF4}
.code code{background:none;padding:0;color:inherit;font:inherit}
.code .c{color:#7F90B8}.code .k{color:#FF9A45}.code .s{color:#7FD6C8}
.tablewrap{overflow-x:auto;margin:1.5em 0;border:1px solid var(--line);border-radius:12px}
.prose table{width:100%;border-collapse:collapse;font-size:.95rem;line-height:1.5}
.prose th{background:var(--title);color:var(--bg);text-align:left;font:600 .85rem Poppins;padding:10px 14px}
.prose td{padding:10px 14px;border-top:1px solid var(--line)}.prose tbody tr:nth-child(even){background:var(--surface)}
.gif{margin:2em 0;text-align:center}.gif img{max-width:min(100%,311px);height:auto;border-radius:10px}
.art-foot{margin-top:56px;display:grid;gap:44px;max-width:1100px}
.share{display:flex;align-items:center;gap:14px;padding:16px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);font-family:Poppins;font-weight:600;color:var(--title)}
.btn-line{display:inline-flex;align-items:center;gap:8px;border:2px solid var(--orange);background:transparent;color:var(--title);border-radius:99px;padding:7px 16px;font:600 .85rem Poppins;cursor:pointer}
.btn-line:hover{background:var(--orange);color:#19253D}.btn-line .i{width:16px;height:16px}
.vb-author{display:flex;gap:20px;align-items:center;background:var(--surface);border-radius:16px;padding:22px 24px;max-width:880px}
.vb-author b{font:700 1.1rem Poppins;color:var(--title)}.vb-author p{color:var(--muted);margin:4px 0 8px;font-size:.95rem}.vb-author .read{margin-top:4px}
.pn{display:grid;grid-template-columns:1fr 1fr;gap:16px;max-width:880px}
.pn a{display:grid;gap:6px;padding:18px 20px;border:1px solid var(--line);border-radius:14px;transition:.2s}
.pn a:hover{border-color:var(--orange);background:color-mix(in srgb,var(--orange) 8%,var(--bg))}
.pn small{display:flex;align-items:center;gap:6px;color:var(--link);font:600 .78rem Poppins;text-transform:uppercase;letter-spacing:.06em}.pn .next{text-align:right}.pn .next small{justify-content:flex-end}
.pn b{font:600 .98rem/1.35 Poppins;color:var(--title)}.pn .i{width:15px;height:15px}
.rels{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:20px}
.rel{display:grid;gap:8px;align-content:start}.rel .thumb{margin-bottom:4px;transition:.2s}.rel:hover .thumb{outline:3px solid var(--orange);outline-offset:3px}
.rel .chip{justify-self:start}.rel h3{font-size:1.02rem;line-height:1.3}.rel:hover h3{color:var(--link)}
.comments{max-width:880px}
.cm{display:flex;gap:14px;padding:20px 0;border-bottom:1px solid var(--line)}.cm b{font-family:Poppins;color:var(--title)}.cm small{color:var(--muted);margin-left:6px}.cm p{margin-top:4px;font-size:.97rem}
.cm.reply{margin-left:56px}
.cform{margin-top:28px;display:grid;gap:14px}.cform h3{font-size:1.2rem}
.cform label{display:grid;gap:6px;font:600 .85rem Poppins;color:var(--title)}
.cform .two{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.cform input,.cform textarea{font:400 1rem Inter,sans-serif;color:var(--text);background:var(--bg);border:1px solid var(--line);border-radius:10px;padding:11px 14px;width:100%}
.cform input:focus,.cform textarea:focus{outline:3px solid color-mix(in srgb,var(--orange) 50%,transparent);border-color:var(--orange)}
.cform .read{justify-self:start;border:0;cursor:pointer;margin:0}
@media(max-width:1300px){.art-grid,.art-grid.has-toc,.art-grid.has-side{grid-template-columns:minmax(0,1fr)}.toc{grid-column:1;grid-row:1;position:static;background:var(--surface);border-radius:12px;padding:16px 18px;margin-bottom:24px}.prose{grid-row:2}}
@media(max-width:900px){.progress{left:0;top:56px}}
@media(max-width:700px){.rels,.pn,.cform .two{grid-template-columns:1fr}.vb-author{flex-direction:column;align-items:flex-start}.cm.reply{margin-left:20px}}

/* ===== Qui suis-je ===== */
/* Qui suis-je */
.profile{grid-column:2;grid-row:1;position:sticky;top:24px;background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:18px}
.pname{font:700 1.15rem Poppins;color:var(--title)}.prole{color:var(--muted);font-size:.9rem;margin-bottom:14px}
.btn-cv{display:flex;align-items:center;gap:12px;background:var(--orange);color:#19253D;border-radius:12px;padding:13px 16px;font:700 .95rem Poppins;transition:filter .2s}
.btn-cv:hover{filter:brightness(1.08)}.btn-cv .i{width:22px;height:22px}
.btn-cv small{display:block;font:600 .7rem Inter,sans-serif;opacity:.75;letter-spacing:.06em}
.prose .btn-cv.inline{display:inline-flex;text-decoration:none;color:#19253D}
.plinks{list-style:none;padding:0;margin:14px 0 0;display:grid;gap:4px}
.plinks a{display:flex;align-items:center;gap:10px;padding:9px 10px;border-radius:10px;font-size:.88rem;color:var(--text);line-height:1.3}
.plinks a:hover{background:color-mix(in srgb,var(--orange) 14%,transparent);color:var(--title)}
.plinks .i{color:var(--orange);width:18px;height:18px}
.credo{margin:1.8em 0;padding:24px 28px;background:var(--orange);color:#19253D;border-radius:16px;display:grid;gap:4px;font-family:Poppins}
.credo b{font-size:clamp(1.1rem,2vw,1.4rem);line-height:1.3}.credo span{font-weight:600;opacity:.8}
@media(max-width:1300px){.profile{grid-column:1;grid-row:1;position:static;margin-bottom:28px}}

/* ===== Composants partagés (liste, cartes, recherche, pagination) ===== */
/* Recherche */
.crumbs{font-size:.82rem;color:var(--muted);margin-bottom:14px}.crumbs a{color:var(--link);font-weight:600}
.sform{position:relative;display:flex;gap:10px;max-width:820px;margin-bottom:22px}
.sform input{flex:1;min-width:0;font:500 1rem Inter,sans-serif;color:var(--title);background:var(--surface);border:2px solid var(--line);border-radius:99px;padding:11px 18px 11px 46px}
.sform input:focus{outline:none;border-color:var(--orange);box-shadow:0 0 0 4px color-mix(in srgb,var(--orange) 25%,transparent)}
.sico{position:absolute;left:16px;top:50%;transform:translateY(-50%);color:var(--orange);display:grid}.sico .i{width:19px;height:19px}
.sform .read{margin:0;border:0;cursor:pointer;padding:0 22px;font-size:.88rem}
.shead{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;flex-wrap:wrap;border-bottom:2px solid var(--orange);padding-bottom:8px}
.shead h1{font-size:clamp(1.25rem,2vw,1.55rem);line-height:1.2;color:var(--title)}
.sort{display:flex;align-items:center;gap:6px;font-size:.8rem;color:var(--muted)}
.seg{font:600 .78rem Poppins;border:1px solid var(--line);background:transparent;color:var(--text);border-radius:99px;padding:5px 12px;cursor:pointer}
.seg:hover{border-color:var(--orange)}.seg.on{background:var(--orange);border-color:var(--orange);color:#19253D}
.fchips{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0 4px}
.fchip{display:inline-flex;align-items:center;gap:7px;font:600 .8rem Poppins;border:1px solid var(--line);background:var(--surface);color:var(--text);border-radius:99px;padding:5px 12px;cursor:pointer}
.fchip small{font:600 .7rem Inter,sans-serif;opacity:.65}
.fchip:hover{border-color:var(--orange)}.fchip.on{background:var(--orange);border-color:var(--orange);color:#19253D}
.res .row{grid-template-columns:176px 1fr;gap:18px;align-items:start}
.res .row .thumb{border-radius:8px}
.res .chips{display:flex;gap:6px;flex-wrap:wrap}
.res .row h3{font-size:1.02rem;line-height:1.3;margin:6px 0 4px}
.res .row p{font-size:.86rem;color:var(--muted);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.res .row .meta{margin-top:6px}
mark{background:color-mix(in srgb,var(--orange) 32%,transparent);color:inherit;border-radius:3px;padding:0 2px}
.thumb.ph{display:grid;place-items:center;aspect-ratio:2/1;width:100%;background:var(--surface);border:1px dashed var(--line);color:var(--muted);border-radius:8px}
.thumb.ph svg{width:34%;height:auto}
.thumb.ph::after{content:none}
.pager{display:flex;gap:6px;justify-content:center;margin-top:26px}
.pager a{min-width:36px;height:36px;display:grid;place-items:center;border-radius:10px;border:1px solid var(--line);font:600 .85rem Poppins;color:var(--text)}
.pager a:hover{border-color:var(--orange)}.pager a.on{background:var(--orange);border-color:var(--orange);color:#19253D}.pager a.dis{opacity:.4;pointer-events:none}
.pager .i{width:16px;height:16px}
@media(max-width:640px){.res .row{grid-template-columns:104px 1fr;gap:12px}.res .row p{display:none}.sform .read{padding:0 14px}.sort span{display:none}}
.cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:18px;margin-top:18px}
.cd{position:relative;display:flex;flex-direction:column;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:var(--bg);transition:border-color .2s,transform .2s}
.cd:hover{border-color:var(--orange);transform:translateY(-2px)}
.cd img.thumb{border-radius:0}
.cd .in{padding:11px 14px 14px;display:grid;gap:5px;align-content:start}
.cd h3{font-size:.98rem;line-height:1.3}.cd:hover h3{color:var(--link)}
.cd p{font-size:.84rem;color:var(--muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.cd .badge{z-index:2;position:absolute;top:10px;left:10px;background:var(--orange);color:#19253D;font:700 .62rem Poppins;letter-spacing:.06em;text-transform:uppercase;padding:2px 9px;border-radius:99px}
.cd .meta{margin-top:2px}
.fchips{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0 4px}
.fchip{display:inline-flex;align-items:center;gap:7px;font:600 .8rem Poppins;border:1px solid var(--line);background:var(--surface);color:var(--text);border-radius:99px;padding:5px 12px}
.fchip small{font:600 .7rem Inter,sans-serif;opacity:.65}.fchip:hover{border-color:var(--orange);background:var(--orange);color:#19253D}
.pager{display:flex;gap:6px;justify-content:center;margin-top:28px}
.pager a:hover{border-color:var(--orange)}.pager a.on{background:var(--orange);border-color:var(--orange);color:#19253D}.pager a.dis{opacity:.4;pointer-events:none}.pager .i{width:16px;height:16px}
.sec-h{display:flex;justify-content:space-between;align-items:baseline;border-bottom:2px solid var(--orange);padding-bottom:6px;margin:34px 0 0}
.sec-h h2{font-size:.88rem;text-transform:uppercase;letter-spacing:.08em;color:var(--title)}.sec-h a{font-size:.85rem;font-weight:600;color:var(--link)}
@media(min-width:1900px){.cards{grid-template-columns:repeat(auto-fill,minmax(280px,1fr))}}
.rhead{display:flex;gap:14px;align-items:flex-start;border-bottom:2px solid var(--orange);padding-bottom:14px}
.rico{width:44px;height:44px;border-radius:12px;background:var(--orange);color:#19253D;display:grid;place-items:center;flex:none}.rico .i{width:23px;height:23px}
.rhead h1{font-size:clamp(1.4rem,2.2vw,1.8rem);line-height:1.2;color:var(--title)}
.rhead p{color:var(--muted);font-size:.92rem;max-width:62ch;margin-top:2px}
.rcount{margin-left:auto;font:600 .78rem Poppins;border:1px solid var(--line);border-radius:99px;padding:4px 12px;white-space:nowrap;color:var(--title)}
.rtools{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-top:12px;font-size:.8rem;color:var(--muted)}
.sort{display:flex;align-items:center;gap:6px}
@media(max-width:640px){.rcount{display:none}.sort>span{display:none}}

/* ===== Aucun résultat ===== */
.nores{display:flex;gap:22px;align-items:center;padding:20px 0 6px}
.bigico{width:92px;height:92px;flex:none;color:var(--title)}
.nores h1{font-size:clamp(1.3rem,2.2vw,1.7rem);line-height:1.2;color:var(--title)}
.did{margin:6px 0 8px;font-size:.98rem}.did a{color:var(--link);font-weight:700;text-decoration:underline;text-decoration-color:var(--orange);text-decoration-thickness:2px;text-underline-offset:3px}
.tips{margin:0;padding-left:1.2em;font-size:.9rem;color:var(--muted);display:grid;gap:3px}.tips li::marker{color:var(--orange)}
@media(max-width:640px){.nores{flex-direction:column;align-items:flex-start}.bigico{width:72px;height:72px}}

/* ===== 404 ===== */
.err{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:40px;align-items:center;padding:10px 0 14px}
.err .big{font:800 clamp(3.6rem,8vw,5.6rem)/1 Poppins;color:var(--orange);letter-spacing:-.04em}
.err .mono{font:600 .78rem ui-monospace,Menlo,monospace;color:var(--muted);margin:2px 0 10px}
.err h1{font-size:clamp(1.3rem,2.2vw,1.7rem);line-height:1.2;color:var(--title)}
.err p{color:var(--muted);max-width:56ch;margin:8px 0 14px;font-size:.95rem}
.acts{display:flex;gap:10px;flex-wrap:wrap}.acts .read{margin:0;display:inline-flex;align-items:center;gap:8px}.acts .i{width:16px;height:16px}
.rack{width:100%;height:auto;color:var(--title)}
@media(max-width:900px){.err{grid-template-columns:1fr}.rack{max-width:260px;order:-1}}

/* Densité */
html{font-size:clamp(15px,.25vw + 12px,16px)}
:root{--sw:clamp(255px,17vw,280px)}
body{line-height:1.6}
main{padding-top:26px;padding-bottom:44px}
.side{padding:22px 18px;gap:20px}
.side nav a{padding:7px 11px;font-size:.88rem;border-radius:8px}
.side h5{font-size:.68rem}
.logo svg{max-width:170px}
.chip{padding:2px 9px;font-size:.62rem}
.meta{font-size:.76rem}
.read{padding:6px 14px;font-size:.82rem;margin-top:10px}
.btn{padding:9px 20px;font-size:.85rem}
.hero{margin-bottom:30px}
.hero h1{font-size:clamp(1.45rem,2.4vw,1.9rem);line-height:1.2;margin:6px 0 8px}
.hero p{font-size:1rem}
.hero .thumb{box-shadow:0 0 0 3px var(--orange)}
.pepite{padding:11px 18px;border-radius:12px;margin-bottom:30px}
.pepite b{font-size:.95rem}
.head{border-bottom-width:2px}
.head h2{font-size:.88rem}
.row{padding:16px 0}
.row h3{font-size:1.1rem;margin:3px 0 5px}
.row p{font-size:.9rem}
.series{margin:30px 0}
.series a{padding:13px 15px}
.series b{font-size:.95rem}
.art-head h1{font-size:clamp(1.5rem,2.6vw,2rem);line-height:1.2;margin:10px 0 12px}
.art-head{margin-bottom:24px}
.byline{margin-bottom:16px}
.avatar{width:36px;height:36px;font-size:.9rem}.avatar.big{width:52px;height:52px;font-size:1.2rem}
.cover{box-shadow:0 0 0 3px var(--orange)}
.art-grid{margin-top:28px}
.prose{font-size:1rem;line-height:1.75}
.prose p{margin-bottom:1.05em}
.prose h2{font-size:1.3rem;margin:1.7em 0 .55em}
.prose h2::before{width:5px}
.prose h3{font-size:1.1rem;margin:1.4em 0 .4em}
.prose blockquote{padding:12px 18px;font-size:1.02rem;margin:1.3em 0}
.callout{padding:11px 14px;margin:1.3em 0}
.code pre{font-size:.82rem;padding:12px 14px}
.toc{font-size:.82rem}.toc a{padding:4px 0 4px 12px}
.art-foot{margin-top:40px;gap:32px}
.vb-author{padding:16px 18px}.vb-author b{font-size:1rem}
.pn a{padding:13px 16px}.pn b{font-size:.9rem}
.rel h3{font-size:.98rem}
.cm{padding:14px 0}
.cform h3{font-size:1.1rem}
.btn-cv{padding:9px 13px;font-size:.88rem;border-radius:10px}.btn-cv .i{width:18px;height:18px}
.credo{padding:14px 20px;margin:1.4em 0;border-radius:12px}.credo b{font-size:clamp(1rem,1.6vw,1.15rem)}
.pname{font-size:1.05rem}.profile{padding:14px}

/* ==========================================================================
   Adaptation WordPress (au-dessus des maquettes)
   ========================================================================== */

/* Utilitaires et accessibilité */
[hidden]{display:none!important}
.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}
.screen-reader-text:focus,.skip-link:focus{background:var(--orange);color:#19253D;clip:auto;clip-path:none;height:auto;width:auto;margin:0;padding:10px 16px;left:8px;top:8px;z-index:100000;border-radius:8px;font:600 .9rem Poppins,sans-serif}
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid var(--orange);outline-offset:2px}
.side a:focus-visible,.side button:focus-visible,.topbar a:focus-visible,.topbar button:focus-visible{outline-color:#fff}
img{max-width:100%;height:auto}
:target{scroll-margin-top:24px}

/* Structure : rail + colonne de contenu */
.side{grid-column:1}
.vb-page{grid-column:2;min-width:0;display:flex;flex-direction:column;min-height:100vh}
@media(max-width:900px){.side,.vb-page{grid-column:1}}
.vb-page>main{flex:1 0 auto}
.rail-menu{display:grid;gap:20px}
.side nav a{text-decoration:none}
a.ib{display:grid;place-items:center;color:#fff}
.rail-widgets{font-size:.85rem;color:#9AA7C4}.rail-widgets a{text-decoration:underline}
.rail-widgets .widget{margin-bottom:16px}
.topbar-tools{display:flex;gap:8px}
.topbar button{display:grid;place-items:center;cursor:pointer}
body.menu-open{overflow:hidden}
.site-foot{width:100%;max-width:1360px;margin-inline:auto;padding:16px clamp(20px,4vw,64px) 22px;border-top:1px solid var(--line);color:var(--muted);font-size:.78rem}
.site-foot a{color:var(--link);font-weight:600}
.site-foot p{margin:0}
.foot-widgets{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:18px;margin-bottom:14px}
.foot-widgets .widget-title{font:700 .72rem Poppins;text-transform:uppercase;letter-spacing:.1em;color:var(--muted);margin-bottom:6px}
@media(min-width:1900px){.site-foot{max-width:1560px}}

/* Vignettes : l'image réelle remplace les aplats des maquettes */
.thumb.ph{color:var(--muted)}
.hero .hero-img{display:block}
@media(max-width:1499.98px){.hero .hero-img{margin-bottom:14px}}
.row .chips,.res .chips{display:flex;gap:6px;flex-wrap:wrap}
.row .meta{margin-top:8px}
.row h3,.cd h3,.rel h3{overflow-wrap:anywhere}
.pepite .meta{display:block;margin-top:2px}
.pepite .read{white-space:nowrap}
a.btn,a.read{display:inline-block;text-decoration:none}
.empty{color:var(--muted)}
.crumbs a{text-decoration:none}
.crumbs a:hover{text-decoration:underline}
.art .crumbs{margin-bottom:16px}
.srch .fchips{margin:14px 0 4px}
.srch .fchip:hover{background:var(--surface);color:var(--text)}.srch .fchip.on:hover{background:var(--orange);color:#19253D}
a.seg,a.fchip{text-decoration:none}
.shead h1{overflow-wrap:anywhere}
.nores .did{font-size:.98rem}
.rdesc{color:var(--muted);font-size:.92rem;max-width:62ch;margin-top:2px}.rdesc p{margin:0}
.rico{font:700 1.2rem Poppins,sans-serif}
.rcount{margin-left:auto}
.err .big{font:800 clamp(3.6rem,8vw,5.6rem)/1 Poppins,sans-serif;color:var(--orange);letter-spacing:-.04em}
.err .sform{margin:18px 0 0}
.pager .page-numbers{text-decoration:none}
.pager span.page-numbers{min-width:36px;height:36px;display:grid;place-items:center;border-radius:10px;border:1px solid var(--line);font:600 .85rem Poppins,sans-serif;color:var(--text)}
.pager .current{background:var(--orange);border-color:var(--orange);color:#19253D}
.pager .dots{border-color:transparent!important}

/* Article */
.tags{display:flex;gap:8px;flex-wrap:wrap}
.vb-tag{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--line);border-radius:99px;padding:3px 11px;font:600 .75rem Poppins,sans-serif;color:var(--text)}
.vb-tag:hover{border-color:var(--orange)}.vb-tag .i{width:13px;height:13px;color:var(--orange)}
.byline b a:hover{color:var(--link)}
.pn .next:only-child{grid-column:2}
.page-links{display:flex;gap:8px;margin-top:1.4em;font-weight:600}
.art .rel{text-decoration:none}

/* Contenu éditorial (éditeur de blocs et éditeur classique) */
.prose{overflow-wrap:break-word;min-width:0}
.prose>:first-child{margin-top:0}
.prose h2{display:block;position:relative;padding-left:17px}
.prose h2::before{position:absolute;left:0;top:.12em;transform:none}
.prose h4,.prose h5,.prose h6{font-size:1rem;margin:1.3em 0 .4em;color:var(--title)}
.prose a:hover{color:var(--title)}
.prose a.wp-block-button__link,.prose .btn-cv{text-decoration:none}
.prose ul ul,.prose ol ol,.prose ul ol,.prose ol ul{margin:.3em 0}
.prose img,.prose video,.prose iframe{max-width:100%}
.prose img{height:auto}
.prose figure{margin:1.4em 0}
.prose figure img{border-radius:10px}
.prose .wp-block-image{text-align:center}
.prose .wp-block-image figcaption{text-align:center}
.prose img[src$=".gif" i]{display:inline-block}
.prose figcaption,.prose .wp-caption-text,.prose .wp-element-caption{font-size:.82rem;color:var(--muted);margin-top:.5em;text-align:center}
.prose .wp-caption{max-width:100%}
.prose .alignleft{float:left;margin:.3em 1.2em .6em 0;max-width:50%}
.prose .alignright{float:right;margin:.3em 0 .6em 1.2em;max-width:50%}
.prose .aligncenter{display:block;margin-inline:auto;text-align:center}
.prose .alignwide,.prose .alignfull{max-width:100%}
.prose::after{content:"";display:block;clear:both}
.prose hr,.prose .wp-block-separator{border:0;border-top:2px solid var(--line);margin:2em 0;height:0;background:none}
.prose iframe{display:block;border:0;border-radius:10px}
.prose .wp-block-embed{margin:1.4em 0}
.prose .wp-block-embed__wrapper{max-width:100%}
.prose .wp-block-quote,.prose blockquote.wp-block-quote{border-left:5px solid var(--orange);padding:12px 18px}
.prose blockquote p+p{margin-top:.8em}
.prose blockquote cite,.prose .wp-block-quote cite{display:block;margin-top:8px;font-size:.88rem;color:var(--muted);font-style:normal}
.prose .wp-block-pullquote{border:0;padding:0;margin:1.6em 0}
.prose .wp-block-pullquote blockquote{margin:0}
.prose kbd{font:.85em ui-monospace,SFMono-Regular,Menlo,monospace;border:1px solid var(--line);border-bottom-width:2px;border-radius:6px;padding:.05em .4em;background:var(--surface)}
.prose mark{background:color-mix(in srgb,var(--orange) 32%,transparent);color:inherit}
.prose details{border:1px solid var(--line);border-radius:12px;padding:10px 14px;margin:1.3em 0}
.prose summary{cursor:pointer;font:600 .95rem Poppins,sans-serif;color:var(--title)}
.prose .wp-block-buttons{margin:1.3em 0}
.prose .wp-block-button__link{background:var(--orange);color:#19253D;border-radius:99px;font:600 .88rem Poppins,sans-serif;padding:8px 18px}
.prose .wp-block-button__link:hover{filter:brightness(1.08);color:#19253D}
.prose .wp-block-columns{gap:1.4em;margin:1.3em 0}
.prose .wp-block-group.callout p:first-child{margin-top:0}
.prose .wp-block-group.callout p:last-child{margin-bottom:0}
.credo p{margin:0}
.credo>p:first-child{font-size:clamp(1.1rem,2vw,1.4rem);line-height:1.3;font-weight:700}
.credo>p+p{font-weight:600;opacity:.8}
.credo a{color:inherit}
.prose .wp-block-verse,.prose .wp-block-preformatted{white-space:pre-wrap;font:.88rem/1.7 ui-monospace,SFMono-Regular,Menlo,monospace}

/* Tableaux : éditeur de blocs (figure.wp-block-table) et éditeur classique (table nue) */
.prose figure.wp-block-table{overflow-x:auto;margin:1.5em 0;border:1px solid var(--line);border-radius:12px}
.prose figure.wp-block-table table{margin:0}
.prose table{width:100%;border-collapse:collapse;border:0}
.prose .wp-block-table th,.prose .wp-block-table td,.prose td,.prose th{border:0;border-top:1px solid var(--line);text-align:left;vertical-align:top}
.prose thead th,.prose tr:first-child>th{border-top:0}
.prose .wp-block-table thead{border:0}
.prose .wp-block-table tfoot{border:0}
.prose .wp-block-table figcaption{padding:0 12px 10px}
.prose td,.prose th{padding:10px 14px}
@media(max-width:700px){.prose>table{display:block;overflow-x:auto;border:1px solid var(--line);border-radius:12px}}

/* Blocs de code : cartouche + bouton Copier (ajoutés par le JS) */
.prose pre{margin:1.4em 0;padding:12px 14px;overflow-x:auto;background:#0E1626;border:1px solid #243256;border-radius:12px;color:#E7EBF4;font:.82rem/1.7 ui-monospace,SFMono-Regular,Menlo,monospace;tab-size:4}
.prose pre code{background:none;padding:0;color:inherit;font:inherit;border-radius:0}
.code{margin:1.5em 0}
.code pre{margin:0;border:0;border-radius:0}
.code .copy{cursor:pointer}
.code-bar>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* Urvanov Syntax Highlighter (plugin 2.9.x). Structure relevée sur vblog.io :
   div.urvanov-syntax-highlighter-syntax.crayon-theme-classic > .crayon-toolbar, .crayon-info,
   .urvanov-syntax-highlighter-plain-wrap (textarea du code brut), .urvanov-syntax-highlighter-main >
   table.crayon-table > td.crayon-nums (.crayon-num) + td.urvanov-syntax-highlighter-code > .crayon-pre > .crayon-line > span.crayon-X.
   Le plugin pose des !important et des styles en ligne (taille 14px, interligne 16px) : les règles ci-dessous
   sont plus spécifiques. La barre d'outils du plugin est masquée, le thème ajoute son propre bouton Copier. */
.prose .urvanov-syntax-highlighter-syntax{margin:1.5em 0!important;border:1px solid #243256!important;border-radius:12px!important;background:#0E1626!important;color:#E7EBF4!important;box-shadow:none!important;overflow:hidden;text-shadow:none!important}
.prose .code .urvanov-syntax-highlighter-syntax{margin:0!important;border:0!important;border-radius:0!important}
.prose .urvanov-syntax-highlighter-syntax .crayon-toolbar,
.prose .urvanov-syntax-highlighter-syntax .crayon-info,
.prose .urvanov-syntax-highlighter-syntax .urvanov-syntax-highlighter-plain-wrap{display:none!important}
.prose .urvanov-syntax-highlighter-syntax .urvanov-syntax-highlighter-main{background:transparent!important;overflow-x:auto!important;overflow-y:hidden!important;-webkit-overflow-scrolling:touch}
.prose .urvanov-syntax-highlighter-syntax .crayon-table{width:max-content!important;min-width:100%;background:transparent!important;margin:0!important}
.prose .urvanov-syntax-highlighter-syntax .crayon-table td,
.prose .urvanov-syntax-highlighter-syntax .crayon-table tr{background:transparent!important;border:0!important;padding:0!important}
.prose .urvanov-syntax-highlighter-syntax .crayon-table .crayon-nums{background:#16213A!important;color:#7F90B8!important;border-right:1px solid #243256!important;width:1%}
.prose .urvanov-syntax-highlighter-syntax .urvanov-syntax-highlighter-nums-content{padding:12px 8px}
.prose .urvanov-syntax-highlighter-syntax .crayon-num,
.prose .urvanov-syntax-highlighter-syntax .crayon-striped-num,
.prose .urvanov-syntax-highlighter-syntax .crayon-marked-num{background:transparent!important;color:#7F90B8!important;text-align:right;padding:0 4px;border:0!important}
.prose .urvanov-syntax-highlighter-syntax .urvanov-syntax-highlighter-code{width:auto}
.prose .urvanov-syntax-highlighter-syntax .crayon-pre{padding:12px 14px;color:#E7EBF4!important;background:transparent!important;font-family:ui-monospace,SFMono-Regular,Menlo,monospace!important}
.prose .urvanov-syntax-highlighter-syntax .crayon-line,
.prose .urvanov-syntax-highlighter-syntax .crayon-striped-line,
.prose .urvanov-syntax-highlighter-syntax .crayon-marked-line{background:transparent!important;border:0!important;color:inherit}
.prose .urvanov-syntax-highlighter-syntax .crayon-pre .crayon-c,
.prose .urvanov-syntax-highlighter-syntax .crayon-pre .crayon-p,
.prose .urvanov-syntax-highlighter-syntax .crayon-pre .crayon-n,
.prose .urvanov-syntax-highlighter-syntax .crayon-pre .crayon-f{color:#7F90B8!important;font-style:italic}
.prose .urvanov-syntax-highlighter-syntax .crayon-pre .crayon-s{color:#7FD6C8!important}
.prose .urvanov-syntax-highlighter-syntax .crayon-pre .crayon-k,
.prose .urvanov-syntax-highlighter-syntax .crayon-pre .crayon-st,
.prose .urvanov-syntax-highlighter-syntax .crayon-pre .crayon-r,
.prose .urvanov-syntax-highlighter-syntax .crayon-pre .crayon-m,
.prose .urvanov-syntax-highlighter-syntax .crayon-pre .crayon-t,
.prose .urvanov-syntax-highlighter-syntax .crayon-pre .crayon-ta,
.prose .urvanov-syntax-highlighter-syntax .crayon-pre .crayon-e{color:#FF9A45!important}
.prose .urvanov-syntax-highlighter-syntax .crayon-pre .crayon-cn{color:#FFC48A!important}
.prose .urvanov-syntax-highlighter-syntax .crayon-pre .crayon-v,
.prose .urvanov-syntax-highlighter-syntax .crayon-pre .crayon-i,
.prose .urvanov-syntax-highlighter-syntax .crayon-pre .crayon-h{color:#D3DFFF!important}
.prose .urvanov-syntax-highlighter-syntax .crayon-pre .crayon-o,
.prose .urvanov-syntax-highlighter-syntax .crayon-pre .crayon-sy{color:#9AA7C4!important}
.prose .urvanov-syntax-highlighter-syntax a{color:inherit!important;text-decoration:underline}

/* Commentaires */
.cm-list .cm-wrap .cm-wrap{margin-left:clamp(20px,4vw,56px)}
.cm-list .cm-wrap .cm-wrap .cm-wrap .cm-wrap .cm-wrap .cm-wrap{margin-left:0}
.cm .cm-body{min-width:0;flex:1}
.cm .cm-body p{margin-top:4px}
.cm-body a{color:var(--link)}
.cm-reply,.cm-edit{display:inline-block;margin:6px 14px 0 0}
.comment-reply-link{font:600 .78rem Poppins,sans-serif;color:var(--link);text-decoration:none}
.comment-reply-link:hover{text-decoration:underline}
.cm-wait{color:var(--muted)}
.cm-closed{color:var(--muted);margin-top:14px}
.cform label.f{display:grid;gap:6px;font:600 .85rem Poppins,sans-serif;color:var(--title)}
.cform .comment-form-cookies-consent{display:flex;gap:8px;align-items:center;grid-column:1/-1;margin:0;font-size:.82rem;color:var(--muted)}
.cform .comment-form-cookies-consent input{width:auto}
.cform .comment-form-cookies-consent label{display:inline;font:400 .82rem Inter,sans-serif;color:var(--muted)}
.cform .logged-in-as,.cform .comment-notes{font-size:.85rem;color:var(--muted);margin:0}
.cform .logged-in-as a{color:var(--link)}
.cform .form-submit{margin:0}
.cform .two{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.comment-reply-title small{margin-left:10px;font:600 .78rem Poppins,sans-serif}
.comment-reply-title small a{color:var(--link)}
.navigation.comments-pagination,.comment-navigation{margin-top:14px;font-size:.88rem}
.comment-navigation .nav-links{display:flex;justify-content:space-between;gap:12px}

/* Barre d'administration WordPress */
.admin-bar .side{top:32px;height:calc(100vh - 32px)}
.admin-bar .progress{top:32px}
@media(max-width:900px){.admin-bar .topbar{top:32px}.admin-bar .side{inset:88px 0 0 0;height:auto}.admin-bar .progress{top:88px}.prose h2{scroll-margin-top:76px}}
@media(max-width:782px){.admin-bar .topbar{top:46px}.admin-bar .side{inset:102px 0 0 0}.admin-bar .progress{top:102px}}

/* Écrans très larges, mouvement réduit, impression */
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
@media print{.side,.topbar,.progress,.toc,.site-foot,.share,.pn,.rels,.comments,.cform{display:none!important}body{display:block;background:#fff;color:#000}main{padding:0;max-width:none}.prose a{color:#000}}

/* Colonne de gauche : boutons du bas épinglés (réseaux, recherche, thème, RSS) */
.side{padding-bottom:0;scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.25) transparent}
.side .bar{position:sticky;bottom:0;margin-top:auto;display:grid;gap:8px;padding:12px 0 18px;background:var(--side)}
.side .bar .foot{margin-top:0}
.sec-h h2 .i,.head h2 .i{width:17px;height:17px;color:var(--orange);vertical-align:-3px;margin-right:4px}
.cards+.head{margin-top:34px}
/* Colonne de gauche compacte : tout tient dans un écran de 900 px de haut sans défiler (accueil, avec les cartouches) */
:root{--sw:clamp(272px,18vw,292px)}
.side{padding:14px 16px 0;gap:10px}
.rail-menu{gap:8px}
.side nav{gap:0}
.side nav a{padding:5px 10px;font-size:.88rem}
.side nav a .lb{gap:10px}
.side h5{margin-bottom:2px}
.cartouches{gap:7px}
.cart{padding:7px 10px;font-size:.74rem;line-height:1.4}
.cart h5{letter-spacing:.06em;margin-bottom:3px}
.side .bar{padding:8px 0 12px;gap:6px}
.side .social .ib{height:32px}
.side .foot .ib{height:34px}

/* Articles au hasard */
.random{margin-top:8px}
.random+.random{margin-top:28px}
.sec-h .sec-sub{text-transform:none;letter-spacing:0;font-weight:400;font-size:.8rem;color:var(--muted);margin-left:4px}
.sec-h button{all:unset;cursor:pointer;font-size:.85rem;font-weight:600;color:var(--link,var(--orange));text-decoration:underline;text-decoration-color:var(--orange);text-underline-offset:3px}
.sec-h button:focus-visible{outline:2px solid var(--orange);outline-offset:2px}
.random .cards{transition:opacity .2s}.random.is-loading .cards{opacity:.55}

/* Finitions : mobile (cibles tactiles, logo en double), blocs WordPress courants, thème sombre */
@media(max-width:900px){
 .side>.logo{display:none}
 .side{padding-top:18px}
 .topbar button{width:44px;height:44px}
 a.read,button.read,.read,a.btn,.btn{min-height:44px;display:inline-flex;align-items:center;justify-content:center;line-height:1.2;padding-block:0}
 .sec-h a,.sec-h button{padding:12px 4px}
 .rail-menu .side nav a,.side nav a{padding-block:11px}
}
.wp-block-gallery{display:flex;flex-wrap:wrap;gap:12px;margin:1.5em 0;padding:0;list-style:none}
.wp-block-gallery .wp-block-image{flex:1 1 200px;margin:0}
.wp-block-gallery img{width:100%;height:100%;object-fit:cover;border-radius:10px}
.gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px;margin:1.5em 0}
.gallery-item{margin:0}.gallery-caption{font-size:.8rem;color:var(--muted)}
.wp-block-code{background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:14px 16px;overflow-x:auto;font:.88rem/1.7 ui-monospace,SFMono-Regular,Menlo,monospace}
.has-text-align-center{text-align:center}.has-text-align-right{text-align:right}.has-text-align-left{text-align:left}
.cm.bypostauthor>.cm-body,.comment.bypostauthor>.comment-body{border-left:3px solid var(--orange);padding-left:12px}
.prose iframe,.prose video,.prose embed{max-width:100%}
.prose .wp-block-embed iframe{aspect-ratio:16/9;height:auto;width:100%}
[data-theme=dark] .prose img{filter:brightness(.92)}
[data-theme=dark] ::selection{background:#FF7B10;color:#0B1120}

/* Pépite du lundi : carte compacte vert pomme (pastille « Nouveau » les premiers jours) */
:root{--pep:#8CD93A;--pep-ink:#19253D;--pep-edge:#6FB82A}
.pepite{background:var(--pep);color:var(--pep-ink);padding:12px 18px;border-radius:14px;margin-bottom:34px;border:1px solid var(--pep-edge);gap:12px 18px}
.pepite .pep-k{display:flex;align-items:center;flex-wrap:wrap;gap:4px 8px;font:700 .72rem Poppins,sans-serif;text-transform:uppercase;letter-spacing:.09em;color:#24421A}
.pepite .pep-k .i{width:16px;height:16px;stroke:#24421A}
.pepite .pep-new{background:var(--pep-ink);color:var(--pep);border-radius:99px;padding:2px 9px;letter-spacing:.07em}
.pepite .pep-t{display:block;margin-top:2px;font:700 1.12rem/1.3 Poppins,sans-serif;color:var(--pep-ink)}
.pepite .pep-t:hover{text-decoration:underline;text-underline-offset:3px}
.pepite .read{background:var(--pep-ink);color:#fff}
.pepite .read:hover{background:#0B1120}
.pepite .read:focus-visible,.pepite .pep-t:focus-visible{outline-color:var(--pep-ink)}

/* À redécouvrir : six petites cartes horizontales (vignette + titre), moins en avant que la liste des derniers articles */
.random .cards{grid-template-columns:repeat(2,1fr);gap:10px 16px}
.random .cd{flex-direction:row;align-items:center;gap:12px;border-radius:10px;padding:8px}
.random .cd img.thumb,.random .cd .thumb{width:128px;flex:none;height:auto;aspect-ratio:2/1;border-radius:7px;object-fit:cover}
.random .cd .in{padding:0;gap:2px}
.random .cd h3{font-size:.86rem;line-height:1.3;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.random .cd p{display:none}
.random .cd .meta{font-size:.72rem}
.random .cd:hover{transform:none}
@media(max-width:700px){.random .cards{grid-template-columns:1fr}.random .cd img.thumb,.random .cd .thumb{width:112px}}

/* Articles : colonne de texte qui s'élargit avec l'écran (720 px jusqu'à 1499 px, puis par paliers jusqu'à 1040 px) */
@media(min-width:1500px){
 :root{--art-w:780px;--toc-w:240px}
 .art-grid{grid-template-columns:minmax(0,var(--art-w))}
 .art-grid.has-toc,.art-grid.has-side{grid-template-columns:minmax(0,var(--art-w)) var(--toc-w)}
 .art-head{max-width:1040px}
}
@media(min-width:1700px){
 :root{--art-w:860px;--toc-w:250px}
 main.art{max-width:1480px}
 .art-foot,.comments,.vb-author,.pn{max-width:960px}
}
@media(min-width:1900px){
 :root{--art-w:960px;--toc-w:260px}
 main.art{max-width:1620px}
 .art-head{max-width:1180px}
 .art-foot{max-width:1100px}
 .comments,.vb-author,.pn{max-width:1000px}
}
@media(min-width:2300px){
 :root{--art-w:1040px;--toc-w:270px}
 main.art{max-width:1760px}
}

/* Ancres du sommaire : la barre du haut mobile (56 px) ne doit pas masquer le titre atteint */
.prose h3,.prose h4{scroll-margin-top:24px}
@media(max-width:900px){.prose h2,.prose h3,.prose h4{scroll-margin-top:76px}}

/* Mobile : bouton de la pépite sur toute la largeur de la carte, pastille alignée sur le texte */
@media(max-width:640px){
 .pepite{padding:14px 16px;gap:12px}
 .pepite>div{width:100%}
 .pepite a.read{width:100%;margin-top:0}
 .pepite .pep-k{gap:6px 8px}
}
