/* ==========================================================================
   Ti'Bazar — Blog (template actualites.php)
   Chargé après landing.css (header, footer, variables) — mobile first
   ========================================================================== */

body.tb-blog{
  --tbb-bg:    #F6F7FB;
  --tbb-soft:  #EEF3FC;
  --tbb-ysoft: #FDEDB8;
  --tbb-line:  #C7CCEE;
  --tbb-font: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  font-family:var(--tbb-font);
}
.tb-blog-main{ display:block; width:100%; overflow-x:clip; background:var(--tbb-bg); font-family:var(--tbb-font); }
.tbb-wrap{ max-width:1240px; margin:0 auto; padding:0 20px; box-sizing:border-box; }

@keyframes tbbPulse{ 0%{box-shadow:0 0 0 0 rgba(250,199,16,.6)} 100%{box-shadow:0 0 0 10px rgba(250,199,16,0)} }
@keyframes tbbBob{ 0%,100%{transform:translateY(0) rotate(var(--r,0deg))} 50%{transform:translateY(-12px) rotate(var(--r,0deg))} }

/* ---------- Apparition au scroll ---------- */
.tbb-rv.is-rv{ opacity:0; transform:translateY(24px); transition:opacity .7s var(--tb-ease), transform .7s var(--tb-ease); }
.tbb-rv.is-rv.is-in{ opacity:1; transform:none; }

/* ==========================================================================
   HERO
   ========================================================================== */
.tbb-hero{
  position:relative; overflow:hidden; color:#fff;
  padding:56px 0 88px;
  background:
    radial-gradient(60% 70% at 85% 10%, rgba(67,83,255,.45), transparent 70%),
    radial-gradient(50% 60% at 0% 100%, rgba(250,199,16,.14), transparent 70%),
    var(--tb-navy);
}
.tbb-hero__inner{ position:relative; z-index:1; }
.tbb-kicker{
  display:inline-flex; align-items:center; gap:10px;
  padding:8px 14px; border-radius:999px;
  border:1px solid rgba(255,255,255,.18); background:rgba(255,255,255,.06);
  font-size:11px; font-weight:800; letter-spacing:.14em;
}
.tbb-kicker__dot{ width:8px; height:8px; border-radius:50%; background:var(--tb-yellow); animation:tbbPulse 1.8s ease-out infinite; }
body.tb-blog .tbb-hero h1{
  margin:24px 0 0;
  font-family:var(--tbb-font); font-weight:800;
  font-size:clamp(56px, 10vw, 148px); line-height:.9; letter-spacing:-.055em;
}
.tbb-hero h1 span{ display:block; }
.tbb-hero h1 .is-y{ color:var(--tb-yellow); }
body.tb-blog .tbb-hero p{ max-width:480px; margin-top:24px; font-size:17px; line-height:1.55; color:rgba(255,255,255,.75); }

/* cartes produit flottantes (décor, desktop uniquement) */
.tbb-hero__deco{ display:none; }
.tbb-float{
  position:absolute; width:150px; padding:10px 10px 14px; border-radius:18px;
  background:#fff; color:var(--tb-navy);
  box-shadow:0 30px 60px rgba(5,8,30,.4);
  animation:tbbBob 6s ease-in-out infinite;
}
.tbb-float b{ display:block; margin-top:10px; font-size:18px; font-weight:800; }
.tbb-float small{ font-size:12px; color:var(--tb-muted); }
.tbb-thumb{ aspect-ratio:1; border-radius:12px; background:repeating-linear-gradient(135deg, var(--tbb-soft) 0 10px, #fff 10px 20px); }
.tbb-thumb--y{ background:repeating-linear-gradient(135deg, var(--tbb-ysoft) 0 10px, #fff 10px 20px); }
.tbb-float--1{ --r:-6deg; top:70px;  right:26%; }
.tbb-float--2{ --r:5deg;  top:190px; right:6%;  animation-delay:-2s; }
.tbb-float--3{ --r:-3deg; top:390px; right:20%; animation-delay:-4s; }

/* ---------- Marquee ---------- */
.tbb-marquee{
  position:relative; z-index:2; overflow:hidden;
  margin:-28px -20px 0; padding:14px 0;
  background:var(--tb-yellow); color:var(--tb-navy);
  transform:rotate(-1.2deg);
}
.tbb-marquee__track{ display:flex; width:max-content; animation:tbMarquee 72s linear infinite; }
.tbb-marquee__track div{ display:flex; gap:22px; padding-right:22px; font-size:18px; font-weight:800; white-space:nowrap; }

/* ==========================================================================
   SECTIONS
   ========================================================================== */
.tbb-section{ padding:48px 0 0; }
.tbb-section--feat{ padding-top:56px; }
.tbb-section--flush:last-child{ padding-bottom:72px; }
body.tb-blog .tbb-section h2{ font-family:var(--tbb-font); font-weight:800; letter-spacing:-.04em; color:var(--tb-navy); }

/* ---------- À la une ---------- */
.tbb-feat{
  display:grid; grid-template-columns:1fr; overflow:hidden;
  border-radius:28px; background:#fff;
  box-shadow:0 1px 0 var(--tbb-line), 0 30px 60px -30px rgba(21,29,83,.25);
  transition:transform .35s var(--tb-ease), box-shadow .35s var(--tb-ease);
}
body.tb-blog a.tbb-feat{ color:var(--tb-navy); }
.tbb-feat:hover{ transform:translateY(-4px); box-shadow:0 1px 0 var(--tbb-line), 0 40px 70px -30px rgba(21,29,83,.35); }
.tbb-feat__media{ position:relative; aspect-ratio:16/11; }
.tbb-feat__tag{
  position:absolute; top:16px; left:16px;
  padding:7px 14px; border-radius:999px;
  background:var(--tb-yellow); color:var(--tb-navy); font-size:13px; font-weight:800;
}
.tbb-feat__body{ display:flex; flex-direction:column; justify-content:space-between; gap:28px; padding:24px 22px 26px; }
.tbb-feat__top{ display:flex; flex-direction:column; gap:14px; }
body.tb-blog .tbb-feat h2{ font-size:clamp(30px, 3.4vw, 50px); line-height:1.02; }
body.tb-blog .tbb-feat p{ font-size:16px; line-height:1.6; color:var(--tb-muted); }
.tbb-feat__foot{ display:flex; align-items:center; justify-content:space-between; gap:16px; }
.tbb-feat__arrow{
  display:grid; place-items:center; flex:0 0 52px; width:52px; height:52px; border-radius:50%;
  background:var(--tb-navy); color:var(--tb-yellow); font-size:20px;
  transition:transform .3s var(--tb-ease);
}
.tbb-feat:hover .tbb-feat__arrow{ transform:rotate(-45deg); }

.tbb-meta{ display:flex; flex-wrap:wrap; align-items:center; gap:8px; font-size:13px; font-weight:600; color:var(--tb-muted); }
.tbb-meta__cat{ color:var(--tb-blue); font-weight:800; }
.tbb-author{ display:flex; align-items:center; gap:10px; font-size:14px; font-weight:700; }
.tbb-author__logo{ display:grid; place-items:center; width:40px; height:40px; border-radius:50%; background:var(--tbb-soft); overflow:hidden; }
body.tb-blog .tbb-author__logo img{ width:30px; height:auto; }

/* images & placeholders */
body.tb-blog .tbb-img{ display:block; width:100%; height:100%; object-fit:cover; }
.tbb-ph{ background:repeating-linear-gradient(135deg, var(--tbb-soft) 0 14px, #fff 14px 28px); }
.tbb-ph--y{ background:repeating-linear-gradient(135deg, var(--tbb-ysoft) 0 14px, #fff 14px 28px); }
.tbb-ph--navy{ background:repeating-linear-gradient(135deg, #1d2766 0 14px, var(--tb-navy) 14px 28px); }

/* ---------- Tous les articles ---------- */
.tbb-all__head{ display:flex; flex-direction:column; gap:18px; margin-bottom:24px; }
body.tb-blog .tbb-all h2{ font-size:clamp(32px, 4vw, 52px); line-height:1; }
.tbb-filters{
  display:flex; gap:4px; padding:5px; overflow-x:auto; scrollbar-width:none;
  border-radius:999px; background:#fff; box-shadow:inset 0 0 0 1px var(--tbb-line);
  max-width:100%; box-sizing:border-box; align-self:flex-start;
}
.tbb-filters::-webkit-scrollbar{ display:none; }
.tbb-filters button{
  flex:0 0 auto; padding:10px 16px; border:0; border-radius:999px; cursor:pointer;
  background:transparent; color:var(--tb-navy);
  font-family:var(--tbb-font); font-size:14px; font-weight:700; white-space:nowrap;
  transition:background .25s, color .25s;
}
.tbb-filters button:hover{ background:var(--tbb-soft); }
.tbb-filters button[aria-pressed="true"]{ background:var(--tb-navy); color:#fff; }

.tbb-grid{ display:grid; grid-template-columns:repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap:20px; }
.tbb-card{
  display:flex; flex-direction:column; overflow:hidden;
  border-radius:22px; background:#fff;
  box-shadow:0 1px 0 var(--tbb-line), 0 20px 40px -28px rgba(21,29,83,.25);
  transition:transform .35s var(--tb-ease), box-shadow .35s var(--tb-ease);
}
body.tb-blog a.tbb-card{ color:var(--tb-navy); }
.tbb-card[hidden]{ display:none; }
.tbb-card:hover{ transform:translateY(-6px); box-shadow:0 1px 0 var(--tbb-line), 0 30px 50px -28px rgba(21,29,83,.35); }
.tbb-card__media{ aspect-ratio:16/10; overflow:hidden; }
.tbb-card__media .tbb-img{ transition:transform .6s var(--tb-ease); }
.tbb-card:hover .tbb-card__media .tbb-img{ transform:scale(1.04); }
.tbb-card__body{ display:flex; flex:1; flex-direction:column; gap:12px; padding:20px 22px 22px; }
.tbb-card__meta{ display:flex; align-items:center; gap:10px; font-size:13px; font-weight:600; color:var(--tb-muted); }
.tbb-pill{ padding:5px 11px; border-radius:999px; background:var(--tbb-soft); color:var(--tb-blue); font-size:12px; font-weight:800; }
body.tb-blog .tbb-card h3{ font-family:var(--tbb-font); font-size:23px; font-weight:800; line-height:1.15; letter-spacing:-.03em; }
body.tb-blog .tbb-card p{ font-size:15px; line-height:1.55; color:var(--tb-muted); }
.tbb-card__more{ margin-top:auto; padding-top:6px; font-size:14px; font-weight:800; }
.tbb-card__more span{ display:inline-block; transition:transform .3s var(--tb-ease); }
.tbb-card:hover .tbb-card__more span{ transform:translateX(4px); }

/* variante navy */
body.tb-blog a.tbb-card--navy{ background:var(--tb-navy); color:#fff; }
.tbb-card--navy .tbb-card__meta{ color:rgba(255,255,255,.65); }
.tbb-card--navy .tbb-pill{ background:rgba(255,255,255,.1); color:var(--tb-yellow); }
body.tb-blog .tbb-card--navy p{ color:rgba(255,255,255,.7); }
.tbb-card--navy .tbb-card__more{ color:var(--tb-yellow); }

/* variante jaune « guide » (texte seul) */
body.tb-blog a.tbb-card--gold{ gap:16px; padding:26px 24px; background:var(--tb-yellow); color:var(--tb-navy); }
.tbb-card--gold .tbb-card__meta{ color:rgba(21,29,83,.7); }
.tbb-card--gold .tbb-pill{ background:var(--tb-navy); color:var(--tb-yellow); }
body.tb-blog .tbb-card--gold h3{ font-size:clamp(28px, 3vw, 36px); line-height:1.05; }

/* pagination */
.tbb-pagination{ display:flex; flex-wrap:wrap; justify-content:center; gap:8px; margin-top:36px; }
.tbb-pagination .page-numbers{
  display:grid; place-items:center; min-width:46px; height:46px; padding:0 16px; box-sizing:border-box;
  border-radius:999px; background:#fff; box-shadow:inset 0 0 0 1px var(--tbb-line);
  color:var(--tb-navy); font-size:15px; font-weight:800;
}
.tbb-pagination a.page-numbers:hover{ background:var(--tbb-soft); }
.tbb-pagination .page-numbers.current{ background:var(--tb-navy); color:#fff; box-shadow:none; }
.tbb-empty{ font-size:17px; color:var(--tb-muted); }

/* ---------- Appli ---------- */
.tbb-app{
  position:relative; display:grid; gap:36px; overflow:hidden;
  padding:36px 24px 0; border-radius:28px; color:#fff;
  background:radial-gradient(70% 90% at 100% 0%, rgba(67,83,255,.5), transparent 70%), var(--tb-navy);
}
body.tb-blog .tbb-app h2{ color:#fff; font-size:clamp(40px, 5.4vw, 72px); line-height:.95; }
.tbb-app h2 span{ color:var(--tb-yellow); }
body.tb-blog .tbb-app p{ margin-top:16px; font-size:17px; line-height:1.55; color:rgba(255,255,255,.72); }
.tbb-app__btns{ display:flex; flex-direction:column; gap:10px; margin-top:26px; }
.tbb-btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:16px 24px; border-radius:999px; font-size:15px; font-weight:800;
}
body.tb-blog a.tbb-btn--y{ background:var(--tb-yellow); color:var(--tb-navy); transition:transform .25s, box-shadow .25s; }
body.tb-blog a.tbb-btn--y:hover{ transform:translateY(-3px); box-shadow:0 6px 0 var(--tb-navy-dk); color:var(--tb-navy); }
.tbb-btn--ghost{ border:1.5px solid rgba(255,255,255,.25); color:rgba(255,255,255,.8); }

.tbb-app__r{ display:flex; justify-content:center; }
.tbb-phone{
  width:230px; height:300px; padding:18px 14px; box-sizing:border-box;
  border:8px solid #0B1033; border-bottom:0; border-radius:34px 34px 0 0;
  background:var(--tbb-bg); color:var(--tb-navy);
}
.tbb-phone__bar{ display:flex; justify-content:space-between; align-items:center; font-size:15px; }
.tbb-phone__bar span{ width:26px; height:26px; border-radius:50%; background:var(--tb-yellow); }
.tbb-phone__search{ margin:12px 0; padding:9px 12px; border-radius:999px; background:#fff; font-size:11px; color:var(--tb-muted); box-shadow:inset 0 0 0 1px var(--tbb-line); }
.tbb-phone__grid{ display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.tbb-phone__grid i{ aspect-ratio:1; border-radius:12px; background:repeating-linear-gradient(135deg, var(--tbb-soft) 0 8px, #fff 8px 16px); }
.tbb-phone__grid i.is-y{ background:repeating-linear-gradient(135deg, var(--tbb-ysoft) 0 8px, #fff 8px 16px); }

/* ---------- Newsletter (Fluent Form restylé) ---------- */
.tbb-nl{
  display:grid; gap:22px; padding:30px 22px;
  border-radius:28px; background:var(--tbb-ysoft);
}
body.tb-blog .tbb-nl h2{ font-size:clamp(28px, 3.2vw, 42px); line-height:1.02; }
body.tb-blog .tbb-nl p{ margin-top:10px; font-size:16px; line-height:1.55; color:var(--tb-ink); }
.tbb-nl__form .fluentform .ff-el-group{ margin-bottom:12px; }
.tbb-nl__form .fluentform .ff-el-input--label label{ font-size:14px; font-weight:700; color:var(--tb-navy); }
.tbb-nl__form .fluentform .ff-el-form-control{
  width:100%; height:54px; padding:0 20px; box-sizing:border-box; border-radius:999px; border:1.5px solid var(--tbb-line);
  background:#fff; color:var(--tb-navy); font-family:var(--tbb-font); font-size:16px;
}
.tbb-nl__form .fluentform .ff-el-form-control:focus{ border-color:var(--tb-navy); box-shadow:none; }
.tbb-nl__form .fluentform .ff-btn-submit{
  width:100%; height:54px; border:0; border-radius:999px;
  background:var(--tb-navy) !important; color:#fff !important;
  font-family:var(--tbb-font); font-size:16px; font-weight:800;
  transition:transform .25s, box-shadow .25s;
}
.tbb-nl__form .fluentform .ff-btn-submit:hover{ transform:translateY(-3px); box-shadow:0 6px 0 var(--tb-yellow); }

/* ==========================================================================
   ≥ 768px
   ========================================================================== */
@media (min-width:768px){
  .tbb-wrap{ padding:0 40px; }
  .tbb-hero{ padding:88px 0 120px; }
  .tbb-marquee{ margin:-34px -40px 0; }
  .tbb-section{ padding-top:72px; }
  .tbb-section--flush:last-child{ padding-bottom:96px; }
  .tbb-all__head{ flex-direction:row; align-items:flex-end; justify-content:space-between; margin-bottom:32px; }
  .tbb-app__btns{ flex-direction:row; }
  .tbb-nl{ padding:40px; }
}

/* ==========================================================================
   ≥ 1024px
   ========================================================================== */
@media (min-width:1024px){
  .tbb-hero{ padding:110px 0 150px; }
  .tbb-hero__deco{ display:block; position:absolute; inset:0; max-width:1240px; margin:0 auto; }
  .tbb-feat{ grid-template-columns:1.15fr 1fr; }
  .tbb-feat__media{ aspect-ratio:auto; min-height:460px; }
  .tbb-feat__body{ padding:44px 44px 40px; }
  .tbb-app{ grid-template-columns:1.1fr .9fr; align-items:end; padding:56px 56px 0; }
  .tbb-app__l{ padding-bottom:56px; }
  .tbb-phone{ width:280px; height:360px; }
  .tbb-nl{ grid-template-columns:1fr 1fr; align-items:center; gap:48px; padding:48px 56px; }
}

@media (prefers-reduced-motion:reduce){
  .tbb-float, .tbb-kicker__dot, .tbb-marquee__track{ animation:none; }
}

/* ==========================================================================
   ARTICLE (single.php)
   ========================================================================== */
body.tb-blog ::selection{ background:var(--tb-yellow); color:var(--tb-navy); }
body.tb-blog :focus-visible{ outline:3px solid var(--tb-blue); outline-offset:3px; border-radius:6px; }
.tbs{ --tbs-measure:68ch; }

/* Barre de lecture (CSS scroll-driven, ignorée par les navigateurs qui ne la gèrent pas) */
.tbs-progress{ display:none; }
@supports (animation-timeline: scroll()){
  .tbs-progress{
    display:block; position:fixed; top:0; left:0; right:0; z-index:70; height:3px;
    background:var(--tb-yellow); transform-origin:0 50%; transform:scaleX(0);
    animation:tbsGrow linear both; animation-timeline:scroll(root);
  }
}
@keyframes tbsGrow{ to{ transform:scaleX(1); } }

/* ---------- En-tête ---------- */
.tbs-hero{
  color:#fff; padding:36px 0 64px;
  background:
    radial-gradient(55% 80% at 90% 0%, rgba(67,83,255,.4), transparent 70%),
    var(--tb-navy);
}
.tbs-hero__inner{ display:flex; flex-direction:column; gap:22px; max-width:1040px; }
.tbs-crumbs{ display:flex; flex-wrap:wrap; align-items:center; gap:10px; font-size:14px; font-weight:700; color:rgba(255,255,255,.6); }
body.tb-blog .tbs-crumbs a{ display:inline-flex; align-items:center; gap:8px; color:#fff; }
.tbs-crumbs a svg{ transform:rotate(180deg); transition:transform .3s var(--tb-ease); }
body.tb-blog .tbs-crumbs a:hover{ color:var(--tb-yellow); }
.tbs-crumbs a:hover svg{ transform:rotate(180deg) translateX(4px); }
body.tb-blog .tbs-hero h1{
  font-family:var(--tbb-font); font-weight:800; color:#fff;
  font-size:clamp(36px, 7vw, 72px); line-height:1; letter-spacing:-.04em;
  max-width:20ch; text-wrap:balance;
}
body.tb-blog .tbs-lead{ max-width:58ch; font-size:clamp(17px, 2vw, 20px); line-height:1.55; color:rgba(241,246,253,.78); }
.tbs-meta{ display:flex; flex-wrap:wrap; align-items:center; gap:10px 14px; font-size:14px; font-weight:600; color:rgba(241,246,253,.72); }
.tbs-meta .tbb-author{ color:#fff; }
.tbs-meta .tbb-author__logo{ background:#fff; }
.tbs-meta__sep{ width:4px; height:4px; border-radius:50%; background:var(--tb-yellow); }

/* ---------- Image de couverture : chevauche l'en-tête ---------- */
.tbs-cover{ margin:-36px auto 0; }
body.tb-blog .tbs-cover img{
  display:block; width:100%; height:auto; aspect-ratio:16/9; object-fit:cover;
  border-radius:22px; box-shadow:0 30px 60px -30px rgba(21,29,83,.45);
}
.tbs-cover figcaption{ margin-top:12px; font-size:13px; color:var(--tb-muted); }

/* ---------- Mise en page ---------- */
.tbs-layout{ display:grid; grid-template-columns:minmax(0,1fr); gap:28px; padding-top:40px; }
.tbs-layout.no-cover{ padding-top:48px; }
.tbs-body{ min-width:0; display:flex; flex-direction:column; gap:40px; }

/* Sommaire */
.tbs-toc details{ border-radius:18px; background:#fff; box-shadow:inset 0 0 0 1px var(--tbb-line); }
.tbs-toc summary{
  display:flex; justify-content:space-between; align-items:center; padding:16px 20px;
  font-size:15px; font-weight:800; color:var(--tb-navy); cursor:pointer; list-style:none;
}
.tbs-toc summary::-webkit-details-marker{ display:none; }
.tbs-toc summary::after{ content:""; width:9px; height:9px; border-right:2px solid; border-bottom:2px solid; transform:rotate(45deg) translateY(-3px); transition:transform .3s var(--tb-ease); }
.tbs-toc details[open] summary::after{ transform:rotate(-135deg) translateY(-2px); }
.tbs-toc ol{ list-style:none; margin:0; padding:0 12px 14px; counter-reset:toc; }
.tbs-toc li{ counter-increment:toc; }
body.tb-blog .tbs-toc a{
  display:flex; gap:10px; padding:9px 8px; border-radius:10px;
  font-size:14px; font-weight:600; line-height:1.35; color:var(--tb-muted);
  transition:background .2s, color .2s;
}
.tbs-toc a::before{ content:counter(toc, decimal-leading-zero); font-variant-numeric:tabular-nums; font-weight:800; color:var(--tbb-line); transition:color .2s; }
body.tb-blog .tbs-toc a:hover{ background:var(--tbb-soft); color:var(--tb-navy); }
body.tb-blog .tbs-toc a[aria-current]{ color:var(--tb-navy); background:var(--tbb-ysoft); }
.tbs-toc a[aria-current]::before{ color:var(--tb-navy); }

/* ---------- Typographie de lecture ---------- */
.tbs-prose{ max-width:var(--tbs-measure); font-size:18px; line-height:1.75; color:var(--tb-ink); }
.tbs-prose > *:first-child{ margin-top:0 !important; }
body.tb-blog .tbs-prose p,
.tbs-prose ul, .tbs-prose ol, .tbs-prose figure, .tbs-prose table, .tbs-prose pre{ margin:0 0 1.35em; }
body.tb-blog .tbs-prose h2{
  margin:2.2em 0 .6em; scroll-margin-top:110px;
  font-family:var(--tbb-font); font-size:clamp(26px, 3.4vw, 34px); font-weight:800; line-height:1.12; letter-spacing:-.035em;
  color:var(--tb-navy); text-wrap:balance;
}
body.tb-blog .tbs-prose h3{
  margin:1.8em 0 .5em; scroll-margin-top:110px;
  font-family:var(--tbb-font); font-size:21px; font-weight:800; line-height:1.25; letter-spacing:-.02em; color:var(--tb-navy);
}
body.tb-blog .tbs-prose h4{ margin:1.6em 0 .4em; font-size:18px; font-weight:800; color:var(--tb-navy); }
.tbs-prose strong{ font-weight:800; color:var(--tb-navy); }
body.tb-blog .tbs-prose a{
  color:var(--tb-blue); font-weight:700;
  text-decoration:underline; text-decoration-thickness:2px; text-underline-offset:4px;
  text-decoration-color:rgba(67,83,255,.35); transition:text-decoration-color .2s, color .2s;
}
body.tb-blog .tbs-prose a:hover{ color:var(--tb-navy); text-decoration-color:var(--tb-yellow); }
.tbs-prose ul, .tbs-prose ol{ padding-left:1.25em; }
.tbs-prose li{ margin-bottom:.45em; padding-left:.25em; }
.tbs-prose ul li::marker{ color:var(--tb-blue); font-size:1.1em; }
.tbs-prose ol li::marker{ color:var(--tb-blue); font-weight:800; }

/* citations */
.tbs-prose blockquote, .tbs-prose .wp-block-quote{
  position:relative; margin:2em 0; padding:28px 26px 24px 26px; border:0; border-radius:20px;
  background:var(--tbb-ysoft); color:var(--tb-navy);
}
.tbs-prose blockquote::before{
  content:"“"; position:absolute; top:-18px; left:18px;
  font-family:Georgia, serif; font-size:84px; line-height:1; color:var(--tb-navy);
}
body.tb-blog .tbs-prose blockquote p{ margin:0 0 .6em; font-size:20px; font-weight:700; line-height:1.5; color:var(--tb-navy); }
.tbs-prose blockquote cite{ font-size:14px; font-style:normal; font-weight:700; color:var(--tb-ink); }
.tbs-prose .wp-block-pullquote{ margin:2.4em 0; padding:0; border:0; text-align:left; }

/* médias */
body.tb-blog .tbs-prose img{ display:block; max-width:100%; height:auto; border-radius:16px; }
.tbs-prose figcaption, .tbs-prose .wp-element-caption{ margin-top:10px; font-size:14px; line-height:1.5; color:var(--tb-muted); text-align:left; }
.tbs-prose .wp-block-embed iframe, .tbs-prose iframe{ width:100%; border:0; border-radius:16px; }
.tbs-prose .wp-block-embed__wrapper{ position:relative; }

/* tableaux, code, séparateurs */
.tbs-prose table{ width:100%; border-collapse:collapse; font-size:15px; font-variant-numeric:tabular-nums; }
.tbs-prose th, .tbs-prose td{ padding:12px 14px; text-align:left; border-bottom:1px solid var(--tbb-line); }
.tbs-prose th{ font-weight:800; color:var(--tb-navy); background:var(--tbb-soft); }
.tbs-prose .wp-block-table{ overflow-x:auto; }
.tbs-prose code{ padding:.15em .4em; border-radius:6px; background:var(--tbb-soft); font-family:var(--tb-mono); font-size:.88em; color:var(--tb-navy); }
.tbs-prose pre{ padding:18px 20px; overflow-x:auto; border-radius:16px; background:var(--tb-navy); color:#F1F6FD; font-size:14px; line-height:1.6; }
.tbs-prose pre code{ padding:0; background:none; color:inherit; }
.tbs-prose hr, .tbs-prose .wp-block-separator{ margin:2.6em 0; border:0; height:2px; background:var(--tbb-line); opacity:1; }

/* boutons Gutenberg */
body.tb-blog .tbs-prose .wp-block-button__link{
  display:inline-flex; padding:15px 24px; border-radius:999px;
  background:var(--tb-yellow); color:var(--tb-navy); font-size:15px; font-weight:800; text-decoration:none;
  transition:transform .25s, box-shadow .25s;
}
body.tb-blog .tbs-prose .wp-block-button__link:hover{ transform:translateY(-3px); box-shadow:0 6px 0 var(--tb-navy-dk); color:var(--tb-navy); }

/* ---------- Pied d'article ---------- */
.tbs-tags{ display:flex; flex-wrap:wrap; gap:8px; margin:0; padding:0; list-style:none; }
.tbs-tags li{ padding:6px 12px; border-radius:999px; background:var(--tbb-soft); font-size:13px; font-weight:700; color:var(--tb-blue); }

.tbs-byline{
  display:flex; gap:16px; align-items:flex-start; max-width:var(--tbs-measure);
  padding:22px; border-radius:20px; background:#fff; box-shadow:inset 0 0 0 1px var(--tbb-line);
}
.tbs-byline .tbb-author__logo{ flex:0 0 48px; width:48px; height:48px; }
body.tb-blog .tbs-byline p{ font-size:15px; line-height:1.55; color:var(--tb-ink); }
.tbs-byline strong{ display:block; margin-bottom:2px; font-size:16px; font-weight:800; color:var(--tb-navy); }
body.tb-blog .tbs-byline a{ font-weight:800; color:var(--tb-blue); text-decoration:underline; text-underline-offset:3px; }

.tbs-isles{ max-width:var(--tbs-measure); }
body.tb-blog .tbs-isles h2{ margin-bottom:14px; font-family:var(--tbb-font); font-size:22px; font-weight:800; letter-spacing:-.02em; color:var(--tb-navy); }
.tbs-isles ul{ display:grid; grid-template-columns:repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap:10px; margin:0; padding:0; list-style:none; }
body.tb-blog .tbs-isles a{
  display:flex; justify-content:space-between; align-items:center; gap:12px;
  padding:15px 18px; border-radius:14px; background:var(--tb-navy); color:#fff;
  font-size:15px; font-weight:700; transition:background .25s, color .25s;
}
.tbs-isles a svg{ flex-shrink:0; color:var(--tb-yellow); transition:transform .3s var(--tb-ease); }
body.tb-blog .tbs-isles a:hover{ background:var(--tb-yellow); color:var(--tb-navy); }
.tbs-isles a:hover svg{ color:var(--tb-navy); transform:translateX(4px); }

body.tb-blog .tbs-next__h{ margin-bottom:24px; font-size:clamp(30px, 4vw, 46px); line-height:1; }

@media (min-width:768px){
  .tbs-hero{ padding:56px 0 96px; }
  .tbs-cover{ margin-top:-56px; }
  body.tb-blog .tbs-cover img{ border-radius:28px; }
  .tbs-prose{ font-size:19px; }
  .tbs-prose blockquote{ padding:34px 34px 28px; }
}
@media (min-width:1024px){
  .tbs-hero{ padding:72px 0 120px; }
  .tbs-cover{ margin-top:-72px; }
  .tbs-layout{ padding-top:64px; }
  .tbs-layout.has-toc{ grid-template-columns:240px minmax(0,1fr); gap:72px; }
  .tbs-toc{ position:sticky; top:112px; align-self:start; max-height:calc(100vh - 140px); overflow:auto; }
  .tbs-toc details{ background:transparent; box-shadow:none; }
  .tbs-toc summary{ padding:0 8px 12px; pointer-events:none; font-size:13px; letter-spacing:.02em; color:var(--tb-muted); }
  .tbs-toc summary::after{ display:none; }
  .tbs-toc ol{ padding:0; border-left:1px solid var(--tbb-line); padding-left:10px; }
  .tbs-prose .alignwide{ margin-left:-40px; margin-right:-40px; max-width:none; }
}
@media (prefers-reduced-motion:reduce){
  .tbs-progress{ display:none; }
}
@media (max-width:767px){
  .tbs-meta .tbb-author{ flex-basis:100%; }
  .tbs-meta .tbb-author + .tbs-meta__sep{ display:none; }
}
