/*
Theme Name: Revue Élite Paintball
*/
@import url('https://fonts.googleapis.com/css2?family=Spectral:ital,wght@0,400;0,600;0,700;0,800;1,400&family=IBM+Plex+Sans:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

/* ==========================================================================
   GABARIT « CARNET DE BORD »
   Un livre de bord. Quatre choses le font reconnaitre :
   1. une tete a DEUX ETAGES (marque + recherche, puis rail de rubriques et « Le Live »
      a l'extreme droite, avec sa pastille qui bat une seconde) ;
   2. la LIGNE D'HORIZON : un filet 1px encre + un filet 3px accent, separes de 6px,
      qui court sous CHAQUE titre de section ;
   3. les COTES : trois metadonnees en chasse fixe separees par des barres verticales,
      sous chaque titre de carte — la silhouette de la famille ;
   4. le CARTOUCHE : un tableau 2 colonnes en tete d'article, en chasse fixe.
   Rayon 0 partout : rien n'est arrondi, ni les images ni les boutons.
   Aucune cote de bateau, aucun prix, aucune annonce n'est produite par le gabarit.
   ========================================================================== */

/* ---------- 1. JETONS ---------------------------------------------------- */
:root{
  --fond:#FAFBFC;            /* le blanc de pont */
  --encre:#0D1A26;           /* bleu de coque, jamais #000 */
  --doux:#48596B;            /* le gris de brume CHOISI */
  --filet:#D9E1E8;           /* le filet, bleu tres pale */
  --surf:#EBF0F4;            /* la plaque : bandes claires, cartouches */
  --sombre:#0D1A26;
  --sombre-txt:#E7EEF4;
  --accent:#0E506E;       /* le bleu du site, tire par domaine */
  --accent2:#885F18;     /* le laiton : cotes, compteurs, pastille du Live */
  --accent-txt:color-mix(in srgb, #0E506E 72%, #030d16);
  --accent2-txt:color-mix(in srgb, #885F18 72%, #1a1200);
  --titre:'Spectral', 'Iowan Old Style', Georgia, serif;
  --courant:'IBM Plex Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --mono:'IBM Plex Mono', ui-monospace, Menlo, Consolas, monospace;
  --rayon:0px;
  color-scheme:light;
}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){
    --fond:#0A1017; --encre:#E7EEF4; --doux:#94A5B4; --filet:#1C2732; --surf:#111A22;
    --sombre:#060B10; --sombre-txt:#E7EEF4;
    --accent-txt:color-mix(in srgb, #0E506E 32%, #E7EEF4);
    --accent2-txt:color-mix(in srgb, #885F18 30%, #E7EEF4);
    color-scheme:dark;
  }
}
:root[data-theme="dark"]{
  --fond:#0A1017; --encre:#E7EEF4; --doux:#94A5B4; --filet:#1C2732; --surf:#111A22;
  --sombre:#060B10; --sombre-txt:#E7EEF4;
  --accent-txt:color-mix(in srgb, #0E506E 32%, #E7EEF4);
  --accent2-txt:color-mix(in srgb, #885F18 30%, #E7EEF4);
  color-scheme:dark;
}

/* ---------- 2. SOCLE ----------------------------------------------------- */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--fond);color:var(--encre);
  font-family:var(--courant);font-size:15.5px;line-height:1.58;
  -webkit-font-smoothing:antialiased;overflow-x:hidden}
img{max-width:100%;height:auto;display:block;border-radius:0}
a{color:inherit;text-decoration:none}
a:hover{text-decoration:underline;text-underline-offset:3px}
:focus-visible{outline:2px solid var(--accent-txt);outline-offset:2px}
h1,h2,h3,h4{font-family:var(--titre);font-weight:700;margin:0;line-height:1.14;
  letter-spacing:-.01em;text-wrap:balance}
p{margin:0}
ul,ol{margin:0;padding:0;list-style:none}
table{border-collapse:collapse}
.sb-oeil,.bd-oeil-txt{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.sb-oeil:focus{left:.5rem;top:.5rem;width:auto;height:auto;padding:.5rem .8rem;
  background:var(--encre);color:var(--fond);z-index:99}
.bd-enveloppe{width:min(1300px,100% - 2.4rem);margin-inline:auto}
.jr-plaque{border-radius:0!important}

/* LA LIGNE D'HORIZON : 1px encre + 3px accent, 6px d'ecart, pleine largeur */
.bd-horizon{margin-bottom:1.2rem}
.bd-horizon::before,.bd-horizon::after{content:"";display:block}
.bd-horizon::before{height:1px;background:var(--encre)}
.bd-horizon::after{height:3px;margin-top:6px;background:var(--accent)}
.bd-horizon--clair::before{background:color-mix(in srgb,var(--sombre-txt) 60%,transparent)}

.bd-titre-section{font-size:clamp(21px,2.5vw,30px);margin-bottom:1.3rem}
.bd-titre-section--clair{color:var(--sombre-txt)}
.bd-etiq{font-family:var(--courant);font-size:10.5px;font-weight:700;letter-spacing:.14em;
  text-transform:uppercase;color:var(--accent-txt);margin:.6rem 0 .3rem}

/* LES COTES : chasse fixe, barres verticales — la silhouette de la famille */
.bd-cotes{display:flex;flex-wrap:wrap;font-family:var(--mono);font-size:11.5px;
  color:var(--doux);margin-top:.5rem;font-variant-numeric:tabular-nums;letter-spacing:.01em}
.bd-cotes span{padding-inline:.6rem}
.bd-cotes span:first-child{padding-left:0}
.bd-cotes span + span{border-left:1px solid var(--filet)}
.bd-cotes--rub{margin-top:.8rem;font-size:12.5px;color:var(--accent2-txt)}

/* ---------- 3. LA TETE A DEUX ETAGES -------------------------------------- */
.bd-tete{background:var(--fond);position:sticky;top:0;z-index:30;
  border-bottom:3px solid var(--accent)}
.bd-etage1{border-bottom:1px solid var(--filet)}
.bd-etage1-in{display:flex;align-items:center;gap:1.2rem;min-height:56px}
.bd-marque a{display:flex;align-items:center;gap:.65rem}
.bd-marque a:hover{text-decoration:none}
.bd-mono-logo{display:inline-flex;width:32px;color:var(--accent)}
.bd-mono-logo svg{width:100%;height:auto;fill:currentColor}
.bd-marque-txt{display:flex;flex-direction:column}
.bd-marque-mot{font-family:var(--titre);font-weight:800;font-size:24px;letter-spacing:-.02em;line-height:1}
.bd-marque-baseline{font-family:var(--mono);font-size:9.5px;letter-spacing:.15em;
  text-transform:uppercase;color:var(--doux);margin-top:.28rem}
.bd-cherche{display:flex;gap:.4rem;margin-left:auto}
.bd-cherche input{font:inherit;font-size:13.5px;padding:.42rem .65rem;width:min(240px,44vw);
  border:1px solid var(--filet);background:var(--surf);color:var(--encre);border-radius:0}
.bd-cherche button{font:inherit;font-size:11.5px;font-weight:600;letter-spacing:.06em;
  text-transform:uppercase;padding:.42rem .8rem;border:1px solid var(--encre);
  background:var(--encre);color:var(--fond);cursor:pointer;border-radius:0}
.bd-burger{display:none;margin-left:auto;background:none;border:1px solid var(--filet);
  padding:.5rem;cursor:pointer;border-radius:0}
.bd-burger span{display:block;width:18px;height:2px;background:var(--encre);margin:3.5px 0}

.bd-etage2-in{display:flex;align-items:stretch;gap:0;min-height:34px}
.bd-rail{display:flex;align-items:stretch;gap:0}
.bd-rail a{display:flex;align-items:center;padding:.4rem .8rem;font-size:12px;font-weight:600;
  letter-spacing:.09em;text-transform:uppercase;border-bottom:2px solid transparent}
.bd-rail a:hover{text-decoration:none;border-bottom-color:var(--accent2)}
.bd-rail a.is-actif{border-bottom-color:var(--accent)}
.bd-live-lien{display:flex;align-items:center;gap:.5rem;margin-left:auto;padding:.4rem .85rem;
  background:var(--encre);color:var(--fond);font-size:11.5px;font-weight:700;
  letter-spacing:.1em;text-transform:uppercase}
.bd-live-lien:hover{text-decoration:none;background:var(--accent-txt)}
.bd-live-heure{font-family:var(--mono);font-size:11px;color:var(--accent2);font-variant-numeric:tabular-nums}
.bd-pastille{width:7px;height:7px;border-radius:50%;background:var(--accent2);flex:0 0 auto}
@media (prefers-reduced-motion: no-preference){
  .bd-pastille{animation:bd-bat 1s ease-in-out 3}
  @keyframes bd-bat{0%,100%{opacity:1}50%{opacity:.25}}
}

/* ---------- 4. LA UNE : 8 colonnes + « Le Live » 4 colonnes ---------------- */
.bd-une{padding-block:1.8rem 2rem;border-bottom:1px solid var(--filet)}
.bd-une-grille{display:grid;grid-template-columns:minmax(0,8fr) minmax(0,4fr);gap:2.2rem}
.bd-une-tete{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.6rem}
.bd-art--majeur{grid-column:1 / -1}
.bd-art-img img{width:100%;aspect-ratio:16/9;object-fit:cover}
.bd-art--majeur .bd-art-img img{aspect-ratio:2/1}
.bd-art-titre{font-size:20px;line-height:1.16;margin-top:.15rem}
.bd-art--majeur .bd-art-titre{font-size:clamp(24px,3.2vw,38px);line-height:1.06}
.bd-art-chapo{font-size:16.5px;color:var(--doux);margin-top:.6rem;max-width:62ch}

.bd-live{border-left:1px solid var(--filet);padding-left:1.6rem;position:sticky;top:104px;align-self:start}
.bd-live-titre{display:flex;align-items:center;gap:.5rem;font-family:var(--courant);font-size:12px;
  font-weight:700;letter-spacing:.16em;text-transform:uppercase;
  padding-bottom:.5rem;border-bottom:3px solid var(--accent)}
.bd-live-note{font-size:12px;color:var(--doux);margin-top:.5rem;line-height:1.4}
.bd-live-liste{margin-top:.6rem;max-height:420px;overflow-y:auto}
.bd-live-liste li{display:grid;grid-template-columns:auto 1fr;gap:.2rem .7rem;padding:.55rem 0;
  border-bottom:1px solid var(--filet)}
.bd-live-h{font-family:var(--mono);font-size:11.5px;font-weight:600;color:var(--accent2-txt);
  font-variant-numeric:tabular-nums}
.bd-live-liste a{font-family:var(--titre);font-size:15px;font-weight:600;line-height:1.28}
.bd-live-j{grid-column:2;font-family:var(--mono);font-size:10.5px;color:var(--doux)}

/* ---------- 5. LES SECTIONS ---------------------------------------------- */
.bd-section{padding-block:2.2rem 2.4rem;border-bottom:1px solid var(--filet)}
.bd-section--surf{background:var(--surf)}
.bd-section--sombre{background:var(--sombre);color:var(--sombre-txt);border-bottom-color:transparent}
.bd-section--sombre a{color:var(--sombre-txt)}
.bd-grille3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.6rem}
.bd-grille2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2.2rem}
.bd-carte{border:1px solid var(--filet);background:var(--fond);display:flex;flex-direction:column}
.bd-carte-img img{width:100%;aspect-ratio:16/9;object-fit:cover}
.bd-carte-txt{padding:.85rem .95rem 1rem;flex:1 1 auto}
.bd-carte-titre{font-size:18px;line-height:1.18}
.bd-carte-chapo{font-size:14.5px;color:var(--doux);margin-top:.55rem}
.bd-large-img img{width:100%;aspect-ratio:2/1;object-fit:cover}
.bd-large-titre{font-size:clamp(20px,2.4vw,27px);line-height:1.12;margin-top:.7rem}

.bd-colonnes{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1.8rem}
.bd-colonne-titre{display:flex;align-items:baseline;gap:.5rem;font-size:16px;
  padding-bottom:.4rem;margin-bottom:.6rem;
  border-bottom:1px solid color-mix(in srgb,var(--sombre-txt) 30%,transparent)}
.bd-colonne-nb{margin-left:auto;font-family:var(--mono);font-size:11px;color:var(--accent2)}
.bd-colonne-liste li{font-size:14px;padding:.32rem 0;line-height:1.35;
  border-bottom:1px solid color-mix(in srgb,var(--sombre-txt) 14%,transparent)}

/* ---------- 6. RUBRIQUE -------------------------------------------------- */
.bd-rub-tete{padding-block:1.8rem 1.4rem;background:var(--surf);border-bottom:1px solid var(--filet)}
.bd-fil-ariane{font-family:var(--mono);font-size:11px;letter-spacing:.08em;text-transform:uppercase;
  color:var(--doux);margin-bottom:.7rem}
.bd-fil-ariane a{color:var(--accent-txt)}
.bd-rub-titre{font-size:clamp(26px,4vw,46px)}
.bd-rub-chapo{font-size:17px;color:var(--doux);margin-top:.6rem;max-width:66ch}
.bd-rub-corps{padding-block:2rem 2.6rem}
.bd-rub-liste{display:grid;gap:1.4rem}
.bd-rub-item{display:grid;grid-template-columns:minmax(0,240px) minmax(0,1fr);gap:1.3rem;
  padding-bottom:1.4rem;border-bottom:1px solid var(--filet)}
.bd-rub-item--une{grid-template-columns:minmax(0,1fr)}
.bd-rub-item--une .bd-rub-img img{aspect-ratio:21/9}
.bd-rub-item--une .bd-carte-titre{font-size:clamp(22px,3vw,32px)}
.bd-rub-img img{width:100%;aspect-ratio:16/9;object-fit:cover}
.bd-pagination{display:flex;gap:.4rem;flex-wrap:wrap;margin-top:2rem;padding-top:1.2rem;
  border-top:1px solid var(--filet);font-size:13px;font-weight:600}
.bd-pagination .page-numbers{padding:.42rem .78rem;border:1px solid var(--filet)}
.bd-pagination .current{background:var(--encre);color:var(--fond);border-color:var(--encre)}

/* ---------- 7. ARTICLE --------------------------------------------------- */
.bd-article{padding-block:1.8rem 2.4rem}
.bd-art-tete{max-width:min(920px,100%)}
.bd-art-titre{font-size:clamp(28px,4.4vw,50px);line-height:1.04}
.bd-art-chapo{font-size:19px;color:var(--doux);margin-top:.8rem;line-height:1.5}
.bd-art-illu{margin:1.4rem 0 0}
.bd-art-illu img{width:100%;aspect-ratio:2/1;object-fit:cover}
.bd-art-illu figcaption{font-family:var(--mono);font-size:11.5px;color:var(--doux);
  margin-top:.4rem;padding-top:.4rem;border-top:1px solid var(--filet)}
.bd-art-corps{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,300px);gap:2.6rem;
  align-items:start;margin-top:1.8rem}
.bd-art-texte{max-width:min(760px,100%)}
.bd-art-cote{position:sticky;top:112px}

.bd-cartouche{width:100%;font-family:var(--mono);font-size:13px;margin-bottom:.6rem;
  border:1px solid var(--encre)}
.bd-cartouche caption{text-align:left;font-family:var(--courant);font-size:11px;font-weight:700;
  letter-spacing:.16em;text-transform:uppercase;color:var(--accent-txt);padding-bottom:.45rem}
.bd-cartouche th,.bd-cartouche td{padding:.5rem .7rem;text-align:left;border-bottom:1px solid var(--filet)}
.bd-cartouche th{font-weight:500;color:var(--doux);width:44%;background:var(--surf)}
.bd-cartouche td{font-weight:600;font-variant-numeric:tabular-nums}
.bd-cartouche tr:last-child th,.bd-cartouche tr:last-child td{border-bottom:0}
.bd-cartouche-note{font-size:12.5px;color:var(--doux);line-height:1.45;margin-bottom:1.6rem}

.bd-corps{font-family:var(--titre);font-size:18.5px;line-height:1.7}
.bd-corps p{margin:0 0 1.15rem}
.bd-corps h2{font-family:var(--courant);font-size:clamp(20px,2.3vw,26px);font-weight:700;
  margin:2.1rem 0 .7rem;padding-bottom:.5rem;
  border-bottom:1px solid var(--encre);box-shadow:0 4px 0 -1px var(--accent)}
.bd-corps h3{font-family:var(--courant);font-size:19px;margin:1.6rem 0 .5rem}
.bd-corps ul{margin:0 0 1.15rem}
.bd-corps ul li{position:relative;padding-left:1.2rem;margin-bottom:.45rem}
.bd-corps ul li::before{content:"";position:absolute;left:0;top:.68em;width:10px;height:1px;background:var(--accent2)}
.bd-corps ol{list-style:decimal;margin:0 0 1.15rem;padding-left:1.4rem}
.bd-corps ol li{margin-bottom:.45rem}
.bd-corps a{color:var(--accent-txt);text-decoration:underline;text-underline-offset:3px}
.bd-corps blockquote{margin:1.6rem 0;padding:.2rem 0 .2rem 1.2rem;border-left:3px solid var(--accent);
  font-size:20px;font-style:italic}
.bd-corps img{margin:1.4rem 0}
.bd-corps table{width:100%;font-family:var(--mono);font-size:13.5px;margin:1.4rem 0}
.bd-corps th,.bd-corps td{border-bottom:1px solid var(--filet);padding:.55rem .5rem;text-align:left}
.bd-corps th{font-family:var(--courant);font-size:11px;letter-spacing:.09em;text-transform:uppercase;
  border-bottom:2px solid var(--accent)}

.bd-encadre{margin-top:1.7rem;background:var(--surf);padding:1.05rem 1.2rem;
  border-left:3px solid var(--accent)}
.bd-encadre--regle{border-left-color:var(--accent2)}
.bd-encadre-t{font-family:var(--courant);font-size:11px;font-weight:700;letter-spacing:.16em;
  text-transform:uppercase;color:var(--accent-txt);margin-bottom:.5rem}
.bd-encadre--regle .bd-encadre-t{color:var(--accent2-txt)}
.bd-encadre p{font-size:15px;line-height:1.55}
.bd-galerie{margin-top:1.8rem}
.bd-galerie-t{font-family:var(--courant);font-size:11px;font-weight:700;letter-spacing:.16em;
  text-transform:uppercase;color:var(--doux);margin-bottom:.6rem}
.bd-galerie-grille{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.6rem}
.bd-galerie-grille img{width:100%;aspect-ratio:4/3;object-fit:cover;margin:0}

.bd-sommaire{border-top:3px solid var(--accent);padding-top:.8rem}
.bd-sommaire-t{font-family:var(--courant);font-size:11px;font-weight:700;letter-spacing:.16em;
  text-transform:uppercase;color:var(--doux);margin-bottom:.6rem}
.bd-sommaire ol{counter-reset:bd-s}
.bd-sommaire li{counter-increment:bd-s;font-size:14.5px;padding:.35rem 0;line-height:1.32;
  border-bottom:1px solid var(--filet);display:flex;gap:.6rem}
.bd-sommaire li::before{content:counter(bd-s,decimal-leading-zero);font-family:var(--mono);
  font-size:11px;color:var(--accent2-txt);flex:0 0 auto;padding-top:.2em}
.bd-cote-fil{margin-top:1.6rem;border-top:1px solid var(--encre);padding-top:.9rem}

/* signature d'auteur (jr_signature) */
.sb-signature{display:flex;gap:1rem;align-items:flex-start;margin-top:2rem;padding-top:1.2rem;
  border-top:1px solid var(--encre);box-shadow:0 -4px 0 -1px var(--accent) inset}
.sb-signature img{width:64px;height:64px;border-radius:0;filter:saturate(.6)}
.sb-signature-nom{font-family:var(--titre);font-weight:700;font-size:16.5px}
.sb-signature-bio{font-size:14px;color:var(--doux);margin-top:.28rem;line-height:1.5}
.sb-date{font-family:var(--mono);font-size:11.5px;color:var(--doux);margin-top:.4rem}

/* ---------- 8. PIED DE PAGE ---------------------------------------------- */
.bd-pied{margin-top:0;background:var(--surf);border-top:1px solid var(--filet);padding-top:1.6rem}
.bd-pied-grille{display:grid;grid-template-columns:1.5fr 1fr 1fr 1.4fr;gap:2rem;padding-block:1.4rem 2rem}
.bd-mono-logo--pied{width:30px}
.bd-pied-nom{font-family:var(--titre);font-weight:800;font-size:24px;margin-top:.4rem;letter-spacing:-.02em}
.bd-pied-baseline{font-family:var(--mono);font-size:10px;letter-spacing:.15em;text-transform:uppercase;
  color:var(--doux);margin-top:.25rem}
.bd-pied-note{font-size:13px;color:var(--doux);margin-top:.8rem;line-height:1.5;max-width:38ch}
.bd-pied-titre{font-family:var(--courant);font-size:10.5px;font-weight:700;letter-spacing:.16em;
  text-transform:uppercase;color:var(--doux);padding-bottom:.45rem;margin-bottom:.7rem;
  border-bottom:1px solid var(--encre)}
.bd-pied-liste li{display:flex;justify-content:space-between;gap:.6rem;font-size:14px;padding:.28rem 0}
.bd-pied-nb{font-family:var(--mono);font-size:11px;color:var(--accent2-txt)}
.bd-conv{display:grid;gap:.6rem}
.bd-champ{display:flex;flex-direction:column;gap:.25rem}
.bd-champ label{font-family:var(--mono);font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:var(--doux)}
.bd-champ input{font:inherit;font-family:var(--mono);font-size:13.5px;padding:.45rem .6rem;
  border:1px solid var(--filet);background:var(--fond);color:var(--encre);border-radius:0;width:100%}
.bd-champ--bouton{flex-direction:row;gap:.5rem}
.bd-champ button{font:inherit;font-size:11.5px;font-weight:700;letter-spacing:.08em;
  text-transform:uppercase;padding:.5rem .9rem;border:1px solid var(--encre);
  background:var(--encre);color:var(--fond);cursor:pointer;border-radius:0}
.bd-btn-vide{background:transparent!important;color:var(--doux)!important;border-color:var(--filet)!important}
.bd-conv-res{font-family:var(--mono);font-size:12.5px;line-height:1.55;color:var(--accent-txt);min-height:1.2em}
.bd-conv-res:not(:empty){padding-top:.6rem;border-top:1px solid var(--filet)}
.bd-ours{display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap;
  padding-block:.85rem 1.05rem;border-top:1px solid var(--encre);font-size:12px;color:var(--doux)}
.bd-bascule{font:inherit;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;
  padding:.42rem .85rem;border:1px solid var(--filet);background:var(--fond);color:var(--encre);
  border-radius:0;cursor:pointer}

/* ---------- 9. BARRE MOBILE BASSE (identique au modele du reseau) --------- */
.sb-nav-mobile{display:none;position:fixed;left:0;right:0;bottom:0;z-index:40;
  background:var(--fond);border-top:1px solid var(--filet);
  padding-bottom:env(safe-area-inset-bottom)}
.sb-nav-mobile-item{flex:1 1 0;display:flex;flex-direction:column;align-items:center;gap:2px;
  padding:.45rem .2rem .5rem;font-size:10px;font-weight:700;letter-spacing:.06em;
  text-transform:uppercase;color:var(--doux);text-align:center}
.sb-nav-mobile-item:hover{text-decoration:none}
.sb-nav-mobile-item.is-actif{color:var(--accent-txt)}
.sb-nav-ico{display:block;width:20px;height:20px}
.sb-nav-ico svg{width:100%;height:100%;stroke:currentColor;fill:none}

/* ---------- 10. REPLIS --------------------------------------------------- */
@media (max-width: 1080px){
  .bd-une-grille{grid-template-columns:minmax(0,1fr)}
  .bd-live{border-left:0;border-top:3px solid var(--accent);padding-left:0;padding-top:1rem;position:static}
  .bd-live-liste{max-height:none}
  .bd-grille3,.bd-colonnes{grid-template-columns:repeat(2,minmax(0,1fr))}
  .bd-art-corps{grid-template-columns:minmax(0,1fr)}
  .bd-art-cote{position:static;max-width:min(760px,100%)}
  .bd-pied-grille{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width: 900px){
  .bd-rail{position:absolute;left:0;right:0;top:100%;flex-direction:column;align-items:stretch;
    background:var(--fond);border-bottom:1px solid var(--filet);max-height:0;overflow:hidden;z-index:29}
  .bd-rail.is-ouvert{max-height:none;overflow:visible}
  .bd-rail a{padding:.65rem 1.2rem;border-bottom:1px solid var(--filet)}
  .bd-etage2-in{position:relative}
  .bd-cherche{display:none}
  .bd-burger{display:block}
}
@media (max-width: 760px){
  .bd-enveloppe{width:min(1300px,100% - 1.5rem)}
  .bd-une-tete,.bd-grille3,.bd-grille2,.bd-colonnes,.bd-pied-grille{grid-template-columns:minmax(0,1fr)}
  .bd-galerie-grille{grid-template-columns:repeat(2,minmax(0,1fr))}
  .bd-rub-item{grid-template-columns:minmax(0,1fr)}
  .bd-art-illu img,.bd-art--majeur .bd-art-img img,.bd-large-img img{aspect-ratio:16/9}
  .bd-corps{font-size:17.5px}
  .bd-cartouche th{width:50%}
  .sb-nav-mobile{display:flex}
  body{padding-bottom:64px}
}
@media (prefers-reduced-motion: reduce){
  *,*::before,*::after{animation-duration:.001ms!important;animation-iteration-count:1!important;
    transition-duration:.001ms!important;scroll-behavior:auto!important}
}
@media print{.bd-tete,.sb-nav-mobile,.bd-art-cote,.bd-bascule,.bd-conv,.bd-live{display:none!important}}

/* garde-fou : un display:grid/flex de classe bat l'attribut hidden */
[hidden]{display:none!important}

/* P-470 — la 1re carte de l accueil porte grid-column:span 2 en style INLINE.
   Sur telephone la grille n a plus qu une colonne : le span fabrique une colonne
   implicite dimensionnee sur le contenu (526px dans un ecran de 390) et pousse la page.
   !important est indispensable : on annule un style inline. */
@media (max-width:760px){.sb-grille>*{grid-column:auto!important}}

/* P-470 — la plume cite ses sources en URL BRUTE entre parentheses. Une URL ne
   contient aucun point de coupure : le paragraphe fait 677px de large dans une colonne
   de 329 et la page deborde de 351px sur telephone. Le piege : AUCUN element ne depasse
   le viewport (getBoundingClientRect ne voit rien), c est le contenu qui deborde de son
   propre element — seul scrollWidth > clientWidth le montre. */
.sb-corps{overflow-wrap:anywhere}

/* P-491 — display:contents : le h1 de la marque n existe pas pour la mise en page. */
.sb-marque-h1{display:contents}
