/* =========================================================
   TVCapFerret â€” CSS additionnel propre consolidÃ©
   Version : CSS 5 — Header desktop Chrome/Safari corrigé + Radio haute, sans radio flottante
   Base fournie : css2.txt
   ========================================================= */

/* =========================================================
   0. Variables globales
========================================================= */

:root{
  --tvcf-header-bg:#ffffff;
  --tvcf-header-border:#ececec;
  --tvcf-header-text:#68707a;
  --tvcf-header-text-strong:#30363d;
  --tvcf-header-muted:#7b8490;
  --tvcf-header-soft:#f4f7fb;
  --tvcf-header-blue:#102435;
  --tvcf-header-blue-soft:#eaf2ff;
  --tvcf-header-blue-text:#2457a2;
  --tvcf-header-gold:#b58a3b;
  --tvcf-header-red:#e62117;
  --tvcf-header-max:1320px;
  --tvcf-header-shadow:0 8px 24px rgba(0,0,0,.05);
}

html{
  scroll-behavior:smooth;
}

/* =========================================================
   1. WebTV â€” navigation et embeds
========================================================= */

.tvcf-webtv-nav{
  display:flex;
  gap:10px;
  overflow-x:auto;
  padding:10px 0;
  margin:0 0 18px;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none;
}

.tvcf-webtv-nav::-webkit-scrollbar{
  display:none;
}

.tvcf-webtv-nav a{
  flex:0 0 auto;
  padding:8px 14px;
  background:#f2f2f2;
  border-radius:20px;
  text-decoration:none;
  font-size:14px;
  color:#1a1a1a;
  white-space:nowrap;
}

.tvcf-webtv-nav a:hover,
.tvcf-webtv-nav a:focus{
  background:#e7eef6;
}

.tvcf-webtv-nav a:active{
  background:#ddd;
}

.tvcf-webtv-grid{
  position:relative;
  padding-bottom:56.25%;
  height:0;
  overflow:hidden;
  margin:14px 0 28px;
  border-radius:14px;
  background:#0f172a;
}

.tvcf-webtv-grid iframe{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  border:0;
}

.tvcf-webtv-cta{
  margin:-12px 0 28px;
}

.tvcf-webtv-btn{
  display:inline-block;
  padding:10px 14px;
  border-radius:12px;
  background:#f2f2f2;
  color:#1a1a1a;
  text-decoration:none;
  font-weight:600;
}

.tvcf-webtv-btn:hover,
.tvcf-webtv-btn:focus{
  background:#102435;
  color:#ffffff;
}

/* =========================================================
   2. EntÃªtes services Bassin
========================================================= */

.bassin-header{
  background:#eef3f8;
  border:1px solid #d7e1ec;
  border-radius:22px;
  padding:28px 18px 32px;
  margin:12px 0 24px;
}

.bassin-header-inner{
  max-width:900px;
  margin:auto;
  text-align:center;
}

.bassin-kicker{
  display:inline-block;
  background:#e3ebf7;
  color:#2a4368;
  padding:8px 16px;
  border-radius:999px;
  font-size:11px;
  font-weight:600;
  letter-spacing:1.5px;
  text-transform:uppercase;
  margin-bottom:16px;
}

.bassin-title{
  margin:0;
  font-family:Georgia,"Times New Roman",serif;
  font-size:42px;
  color:#0f2a44;
  font-weight:700;
  line-height:1.15;
}

.bassin-subtitle{
  max-width:760px;
  margin:12px auto 0;
  font-size:18px;
  line-height:1.5;
  color:#425066;
}

@media(max-width:768px){
  .bassin-title{
    font-size:30px;
  }

  .bassin-subtitle{
    font-size:16px;
  }

  .bassin-header{
    padding:22px 14px 26px;
  }
}

/* =========================================================
   3. Page Sortir Hub
========================================================= */

.sortir-hub{
  width:100%;
  max-width:1400px;
  margin:0 auto;
  padding:0 28px 80px;
  color:#142132;
  box-sizing:border-box;
}

.sortir-hub a{
  text-decoration:none;
}

.sortir-hero-full{
  position:relative;
  width:100%;
  height:260px;
  margin-top:16px;
  border-radius:28px;
  overflow:visible;
  background-image:url("https://tvcapferret.com/wp-content/uploads/2026/03/Point-aux-chevaux.jpeg");
  background-size:cover;
  background-position:center 35%;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
}

.sortir-hero-overlay{
  position:absolute;
  inset:0;
  border-radius:28px;
  background:linear-gradient(180deg,rgba(0,0,0,.35) 0%,rgba(0,0,0,.55) 100%);
}

.sortir-hero-content{
  position:relative;
  z-index:2;
  max-width:850px;
  padding:18px 24px 88px;
  color:#fff;
}

.sortir-hero-kicker{
  text-transform:uppercase;
  letter-spacing:3px;
  font-size:11px;
  margin-bottom:8px;
  color:rgba(255,255,255,.85);
}

.sortir-hero-title{
  margin:0 0 10px;
  font-family:Georgia,serif;
  font-size:clamp(32px,4vw,46px);
  line-height:1.05;
  color:#fff;
}

.sortir-hero-intro{
  margin:0 auto;
  max-width:680px;
  font-size:15px;
  line-height:1.5;
  color:rgba(255,255,255,.9);
}

.sortir-live{
  position:absolute;
  left:50%;
  bottom:-30px;
  transform:translateX(-50%);
  width:100%;
  max-width:980px;
  z-index:3;
  display:flex;
  flex-direction:column;
  align-items:center;
}

.sortir-live__meta{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-bottom:10px;
  padding:6px 14px;
  font-size:11px;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:#142132;
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(6px);
  -webkit-backdrop-filter:blur(6px);
  border:1px solid rgba(0,0,0,.06);
  border-radius:999px;
  box-shadow:0 6px 16px rgba(0,0,0,.06);
}

.sortir-live__dot{
  width:7px;
  height:7px;
  border-radius:50%;
  background:#ff3b30;
  box-shadow:0 0 6px rgba(255,59,48,.7);
}

.sortir-live__stats{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  justify-content:center;
}

.sortir-live__pill{
  display:flex;
  align-items:center;
  gap:6px;
  padding:8px 14px;
  border-radius:999px;
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(6px);
  -webkit-backdrop-filter:blur(6px);
  border:1px solid rgba(0,0,0,.06);
  box-shadow:0 8px 18px rgba(0,0,0,.08);
  text-decoration:none;
  color:inherit;
  transition:transform .15s ease,box-shadow .15s ease;
}

.sortir-live__pill:hover{
  transform:translateY(-1px);
  box-shadow:0 12px 24px rgba(0,0,0,.12);
}

.sortir-live__pill::before{
  display:inline-block;
  font-size:.95rem;
  line-height:1;
  margin-right:6px;
  opacity:.75;
}

.sortir-live__pill--cinema::before{content:"ðŸŽ¬";}
.sortir-live__pill--marche::before{content:"ðŸ§º";}
.sortir-live__pill--sortie::before{content:"ðŸŽ‰";}

.sortir-live__value{
  display:inline-block;
  min-width:1.4em;
  font-weight:700;
  font-size:1.05rem;
  color:#9b8758;
  text-shadow:0 1px 0 rgba(255,255,255,.4);
  transition:transform .25s ease,opacity .25s ease;
  text-decoration:none;
}

.sortir-live__value.is-animating{
  transform:translateY(-2px);
  opacity:.85;
}

.sortir-live__label{
  text-transform:uppercase;
  font-size:.78rem;
  letter-spacing:.08em;
  color:#6b7280;
  text-decoration:none;
}

.sortir-live__pill,
.sortir-live__pill:hover,
.sortir-live__pill:focus,
.sortir-live__pill:active,
.sortir-live__pill .sortir-live__value,
.sortir-live__pill .sortir-live__label{
  text-decoration:none !important;
}

.sortir-hub__layout{
  display:grid;
  grid-template-columns:minmax(0,1.65fr) minmax(320px,380px);
  gap:32px;
  margin-top:66px;
  align-items:start;
  position:relative;
  z-index:5;
}

.sortir-right{
  display:grid;
  grid-template-rows:auto auto;
  gap:24px;
  align-self:start;
}

.sortir-card{
  border:1px solid #e7e1d4;
  border-radius:26px;
  background:#fff;
  overflow:hidden;
  box-shadow:0 25px 60px rgba(0,0,0,.15);
  display:flex;
  flex-direction:column;
  height:auto;
}

.sortir-card__image{
  width:100%;
  height:190px;
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  transition:transform .4s ease;
}

.sortir-card:hover .sortir-card__image{
  transform:scale(1.05);
}

.sortir-card__image--agenda{
  height:240px;
  background-image:url("https://tvcapferret.com/wp-content/uploads/2026/03/coucher-de-oleil-sur-le-bassin-Grande.jpeg");
}

.sortir-card__image--market{
  background-image:url("https://tvcapferret.com/wp-content/uploads/2026/03/Marches-du-bassin.jpeg");
}

.sortir-card__image--cinema{
  background-image:url("https://tvcapferret.com/wp-content/uploads/2026/03/Cinemas-du-bassin-arcachon.jpeg");
}

.sortir-card__body{
  padding:24px 22px 26px;
  display:flex;
  flex-direction:column;
  flex:1;
}

.sortir-card__label{
  font-size:12px;
  letter-spacing:2px;
  text-transform:uppercase;
  margin-bottom:14px;
  color:#9b8758;
}

.sortir-card__title{
  font-family:Georgia,serif;
  font-size:1.65rem;
  line-height:1.12;
  margin:0 0 14px;
  color:#142132;
}

.sortir-card__text{
  line-height:1.8;
  margin:0 0 20px;
  color:#5b6573;
}

.sortir-card__link{
  font-weight:700;
  border-bottom:1px solid rgba(19,32,51,.24);
  padding-bottom:3px;
  color:#132033;
  align-self:flex-start;
}

.sortir-hub__editorial{
  max-width:900px;
  margin:80px auto 0;
  padding-top:30px;
  border-top:1px solid #e2dbcd;
  text-align:center;
}

.sortir-hub__editorial-title{
  font-family:Georgia,serif;
  font-size:clamp(1.9rem,2.4vw,2.6rem);
  margin:0 0 16px;
}

.sortir-hub__editorial p{
  line-height:1.9;
  color:#56616f;
  margin:0 0 14px;
}

.seo-sorties-bassin{
  max-width:900px;
  margin:60px auto 0;
  font-size:14px;
  line-height:1.6;
  color:#6f7785;
}

@media(max-width:1000px){
  .sortir-hub__layout{
    grid-template-columns:1fr;
  }

  .sortir-right{
    grid-template-columns:1fr 1fr;
    grid-template-rows:auto;
  }
}

@media(max-width:720px){
  .sortir-hub{
    padding:0 18px 60px;
  }

  .sortir-hero-full{
    height:240px;
    min-height:240px;
    border-radius:22px;
  }

  .sortir-hero-overlay{
    border-radius:22px;
  }

  .sortir-hero-content{
    padding:18px 18px 70px;
  }

  .sortir-hero-title{
    font-size:28px;
    line-height:1.1;
    margin-bottom:6px;
  }

  .sortir-hero-intro{
    display:none;
  }

  .sortir-live{
    width:calc(100% - 24px);
    bottom:-34px;
  }

  .sortir-live__meta{
    font-size:10px;
    padding:5px 10px;
  }

  .sortir-live__stats{
    gap:8px;
  }

  .sortir-live__pill{
    padding:6px 10px;
  }

  .sortir-live__value{
    font-size:.95rem;
  }

  .sortir-live__label{
    font-size:.82rem;
  }

  .sortir-hub__layout{
    display:block;
    margin-top:54px;
  }

  .sortir-right{
    display:block;
    margin-top:24px;
  }

  .sortir-right .sortir-card{
    margin-bottom:24px;
  }

  .sortir-right .sortir-card:last-child{
    margin-bottom:0;
  }

  .sortir-card{
    height:auto !important;
    min-height:0 !important;
  }

  .sortir-card__image{
    height:180px;
  }

  .sortir-card__image--agenda{
    height:210px;
  }

  .sortir-card__body{
    padding:22px 20px 24px;
    display:block;
  }

  .sortir-card__text{
    margin-bottom:18px;
  }
}

/* =========================================================
   4. RÃ©sultats bureaux
========================================================= */

.resultats-bureaux details{
  border:1px solid #ddd;
  border-radius:6px;
  margin-bottom:12px;
  padding:8px;
  background:#fafafa;
}

.resultats-bureaux summary{
  font-size:16px;
  font-weight:600;
  cursor:pointer;
  padding:6px 4px;
}

.resultats-bureaux table{
  width:100%;
  border-collapse:collapse;
  margin-top:8px;
  font-size:14px;
}

.resultats-bureaux td,
.resultats-bureaux th{
  padding:6px;
  border-bottom:1px solid #eee;
}

.resultats-bureaux .votes th{
  background:#f3f3f3;
}

/* =========================================================
   5. Suppression radio flottante â€” desktop + mobile
   La radio est maintenant pilotÃ©e par le bouton haut.
========================================================= */

.tvcf-radio-wrap,
.tvcf-radio-player,
.tvcf-floating-radio,
.tvcf-radio-mini,
.tvcf-radio-btn,
.tvcf-radio-dot,
.tvcf-radio-mini-logo{
  display:none !important;
  visibility:hidden !important;
  opacity:0 !important;
  width:0 !important;
  height:0 !important;
  min-width:0 !important;
  min-height:0 !important;
  max-width:0 !important;
  max-height:0 !important;
  overflow:hidden !important;
  pointer-events:none !important;
}

/* =========================================================
   6. Header Astra / TVCapFerret — base propre
========================================================= */

:root{
  --tvcf-header-max:1440px;
}

.site-header,
#masthead,
.ast-primary-header-bar,
.main-header-bar,
.ast-builder-grid-row-container,
.ast-builder-layout-element,
.ast-mobile-header-wrap,
.ast-above-header-wrap,
.ast-below-header-wrap{
  background:var(--tvcf-header-bg) !important;
}

.site-header,
#masthead,
.ast-primary-header-bar,
.main-header-bar{
  border-bottom:1px solid var(--tvcf-header-border) !important;
  box-shadow:none !important;
}

#masthead{
  background:#ffffff !important;
}

#masthead .ast-builder-grid-row-container,
#masthead .ast-builder-grid-row{
  width:100% !important;
  margin:0 auto !important;
  box-sizing:border-box !important;
}

#masthead .ast-builder-grid-row{
  align-items:center !important;
}

/* =========================================================
   7. Header desktop — TVCF Topline final Chrome / Safari
========================================================= */

@media screen and (min-width:1025px){

  #masthead{
    position:sticky !important;
    top:0 !important;
    z-index:9999 !important;
    background:rgba(255,255,255,.96) !important;
    -webkit-backdrop-filter:blur(8px) !important;
    backdrop-filter:blur(8px) !important;
  }

  body.tvcf-scrolled #masthead{
    box-shadow:0 8px 22px rgba(0,0,0,.07) !important;
    border-bottom:1px solid rgba(0,0,0,.06) !important;
    background:rgba(255,255,255,.98) !important;
  }

  .tvcf-topline{
    display:block !important;
    visibility:visible !important;
    opacity:1 !important;
    width:100% !important;
    max-width:none !important;
    height:auto !important;
    min-height:0 !important;
    margin:0 !important;
    padding:0 !important;
    background:#ffffff !important;
    border-bottom:1px solid rgba(0,0,0,.06) !important;
    overflow:visible !important;
  }

  .tvcf-topline__inner{
    width:100% !important;
    max-width:1440px !important;
    margin-left:auto !important;
    margin-right:auto !important;
    padding:8px 32px !important;
    display:grid !important;
    grid-template-columns:340px minmax(0,1fr) !important;
    align-items:center !important;
    gap:26px !important;
    box-sizing:border-box !important;
    visibility:visible !important;
    opacity:1 !important;
    overflow:visible !important;
  }

  .tvcf-topline__brand{
    display:flex !important;
    align-items:center !important;
    gap:10px !important;
    width:340px !important;
    min-width:340px !important;
    max-width:340px !important;
    visibility:visible !important;
    opacity:1 !important;
    overflow:visible !important;
  }

  .tvcf-topline__logo{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:flex-start !important;
    width:340px !important;
    min-width:340px !important;
    max-width:340px !important;
    flex:0 0 340px !important;
    flex-shrink:0 !important;
    text-decoration:none !important;
    line-height:0 !important;
    margin:0 !important;
    padding:0 !important;
    overflow:visible !important;
  }

  .tvcf-topline__logo img{
    display:block !important;
    width:340px !important;
    min-width:340px !important;
    max-width:340px !important;
    height:auto !important;
    max-height:64px !important;
    object-fit:contain !important;
  }

  .tvcf-topline__tag{
    display:none !important;
  }

  .tvcf-topline__center{
    display:flex !important;
    align-items:center !important;
    justify-content:flex-end !important;
    gap:14px !important;
    width:100% !important;
    min-width:0 !important;
    visibility:visible !important;
    opacity:1 !important;
    overflow:visible !important;
  }

  .tvcf-topline__nav{
    display:flex !important;
    visibility:visible !important;
    opacity:1 !important;
    align-items:center !important;
    justify-content:flex-end !important;
    flex-wrap:nowrap !important;
    gap:8px !important;
    min-width:0 !important;
    width:auto !important;
    max-width:100% !important;
    height:auto !important;
    max-height:none !important;
    overflow:visible !important;
    scrollbar-width:none !important;
    pointer-events:auto !important;
  }

  .tvcf-topline__nav::-webkit-scrollbar{
    display:none !important;
  }

  .tvcf-topline__nav a{
    display:inline-flex !important;
    visibility:visible !important;
    opacity:1 !important;
    align-items:center !important;
    justify-content:center !important;
    flex:0 0 auto !important;
    width:auto !important;
    max-width:none !important;
    height:auto !important;
    min-height:34px !important;
    max-height:none !important;
    padding:0 10px !important;
    border-radius:999px !important;
    text-decoration:none !important;
    color:#2f3740 !important;
    font-size:15px !important;
    font-weight:800 !important;
    white-space:nowrap !important;
    line-height:1 !important;
    background:transparent !important;
    overflow:visible !important;
    pointer-events:auto !important;
    transition:background .18s ease,color .18s ease,border-color .18s ease,box-shadow .18s ease !important;
  }

  .tvcf-topline__nav a:hover,
  .tvcf-topline__nav a:focus{
    background:var(--tvcf-header-soft) !important;
    color:#1f2d3a !important;
  }

  .tvcf-topline__nav a.is-highlight{
    background:var(--tvcf-header-blue-soft) !important;
    color:var(--tvcf-header-blue-text) !important;
  }

  .tvcf-topline__nav a.is-highlight:hover,
  .tvcf-topline__nav a.is-highlight:focus{
    background:#dfeaff !important;
    color:#1f4c8d !important;
  }

  .tvcf-topline__nav a.is-active{
    background:#dfeaff !important;
    color:#1f4f91 !important;
    font-weight:900 !important;
  }

  .tvcf-topline__nav a[href*="/explorer"]{
    background:var(--tvcf-header-soft) !important;
    border:1px solid rgba(16,36,53,.08) !important;
  }

  .tvcf-topline__nav a.tvcf-topline__nav-video{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:7px !important;
    height:40px !important;
    min-height:40px !important;
    max-height:40px !important;
    padding:0 16px !important;
    margin:0 !important;
    position:relative !important;
    top:0 !important;
    border-radius:999px !important;
    background:#ffffff !important;
    color:var(--tvcf-header-blue) !important;
    border:1px solid rgba(16,36,53,.55) !important;
    box-shadow:none !important;
    font-size:15px !important;
    font-weight:850 !important;
    line-height:1 !important;
    text-decoration:none !important;
    white-space:nowrap !important;
    transform:none !important;
    overflow:hidden !important;
  }

  .tvcf-topline__nav a.tvcf-topline__nav-video::before,
  .tvcf-topline__nav a.tvcf-topline__nav-video::after{
    display:none !important;
    content:none !important;
  }

  .tvcf-topline__nav a.tvcf-topline__nav-video:hover,
  .tvcf-topline__nav a.tvcf-topline__nav-video:focus{
    background:var(--tvcf-header-blue) !important;
    color:#ffffff !important;
    border-color:var(--tvcf-header-blue) !important;
    box-shadow:0 10px 22px rgba(16,36,53,.14) !important;
    transform:none !important;
  }

  .tvcf-topline__nav a.tvcf-topline__nav-video .tvcf-topline__video-icon{
    width:20px !important;
    height:20px !important;
    min-width:20px !important;
    min-height:20px !important;
    flex:0 0 20px !important;
    border-radius:6px !important;
    background:var(--tvcf-header-red) !important;
    color:#ffffff !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    font-size:10px !important;
    line-height:1 !important;
    padding-left:1px !important;
    box-shadow:0 4px 10px rgba(230,33,23,.22) !important;
  }

  .tvcf-topline__nav a.tvcf-topline__nav-video:hover .tvcf-topline__video-icon,
  .tvcf-topline__nav a.tvcf-topline__nav-video:focus .tvcf-topline__video-icon{
    background:#ff3b30 !important;
    color:#ffffff !important;
  }

  .tvcf-topline__nav button.tvcf-topline__nav-radio{
    appearance:none !important;
    border:1px solid rgba(181,138,59,.36) !important;
    background:#ffffff !important;
    color:var(--tvcf-header-blue) !important;
    cursor:pointer !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:6px !important;
    height:40px !important;
    min-height:40px !important;
    max-height:40px !important;
    padding:4px 9px 4px 6px !important;
    margin:0 !important;
    position:relative !important;
    top:0 !important;
    border-radius:999px !important;
    box-shadow:none !important;
    font-family:inherit !important;
    font-size:14px !important;
    font-weight:850 !important;
    line-height:1 !important;
    white-space:nowrap !important;
    transform:none !important;
    transition:background .18s ease,color .18s ease,border-color .18s ease,box-shadow .18s ease !important;
  }

  .tvcf-topline__nav button.tvcf-topline__nav-radio:hover,
  .tvcf-topline__nav button.tvcf-topline__nav-radio:focus,
  .tvcf-topline__nav button.tvcf-topline__nav-radio.is-playing{
    background:var(--tvcf-header-blue) !important;
    color:#ffffff !important;
    border-color:var(--tvcf-header-blue) !important;
    box-shadow:0 10px 22px rgba(16,36,53,.14) !important;
    transform:none !important;
  }

  .tvcf-topline__radio-logo{
    width:30px !important;
    height:30px !important;
    min-width:30px !important;
    min-height:30px !important;
    border-radius:999px !important;
    overflow:hidden !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    flex:0 0 30px !important;
    background:#ffffff !important;
    border:1px solid rgba(181,138,59,.34) !important;
  }

  .tvcf-topline__radio-logo img{
    width:100% !important;
    height:100% !important;
    object-fit:cover !important;
    display:block !important;
  }

  .tvcf-topline__radio-play{
    width:20px !important;
    height:20px !important;
    min-width:20px !important;
    min-height:20px !important;
    border-radius:999px !important;
    background:var(--tvcf-header-blue) !important;
    color:#ffffff !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    font-size:8px !important;
    line-height:1 !important;
    font-weight:900 !important;
    padding-left:1px !important;
    flex:0 0 20px !important;
  }

  .tvcf-topline__nav button.tvcf-topline__nav-radio:hover .tvcf-topline__radio-play,
  .tvcf-topline__nav button.tvcf-topline__nav-radio:focus .tvcf-topline__radio-play{
    background:var(--tvcf-header-gold) !important;
  }

  .tvcf-topline__nav button.tvcf-topline__nav-radio.is-playing .tvcf-topline__radio-play{
    background:#16a34a !important;
  }

  .tvcf-topline__radio-label,
  .tvcf-topline__radio-dot{
    display:none !important;
  }

  .tvcf-topline__actions{
    display:flex !important;
    align-items:center !important;
    justify-content:flex-end !important;
    gap:8px !important;
    white-space:nowrap !important;
    flex-wrap:nowrap !important;
    flex:0 0 auto !important;
    visibility:visible !important;
    opacity:1 !important;
  }

  .tvcf-topline__channel{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    min-height:34px !important;
    padding:0 10px !important;
    border-radius:999px !important;
    text-decoration:none !important;
    background:#edf3fb !important;
    color:#2a5a97 !important;
    font-size:14px !important;
    font-weight:800 !important;
    white-space:nowrap !important;
    transition:background .18s ease,color .18s ease !important;
  }

  .tvcf-topline__channel:hover,
  .tvcf-topline__channel:focus{
    background:#e3edf9 !important;
    color:#234f8a !important;
  }

  .tvcf-topline__icon{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:34px !important;
    height:34px !important;
    border-radius:50% !important;
    text-decoration:none !important;
    background:#f5f6f8 !important;
    color:#5b6570 !important;
    font-size:.95rem !important;
    flex:0 0 auto !important;
    transition:background .18s ease,color .18s ease !important;
  }

  .tvcf-topline__icon:hover,
  .tvcf-topline__icon:focus{
    background:#eceff3 !important;
    color:#30363d !important;
  }

  .tvcf-topline__langs{
    display:flex !important;
    align-items:center !important;
    flex-wrap:nowrap !important;
    gap:8px !important;
    margin-left:10px !important;
    padding-left:2px !important;
  }

  .tvcf-topline__langs a{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:22px !important;
    height:16px !important;
    border-radius:3px !important;
    overflow:hidden !important;
    flex:0 0 22px !important;
    line-height:1 !important;
    text-decoration:none !important;
    box-shadow:0 1px 4px rgba(0,0,0,.12) !important;
    transition:transform .18s ease,box-shadow .18s ease,opacity .18s ease !important;
    font-size:.88rem !important;
  }

  .tvcf-topline__langs a:hover,
  .tvcf-topline__langs a:focus{
    transform:translateY(-1px) !important;
    box-shadow:0 3px 8px rgba(0,0,0,.18) !important;
    opacity:.95 !important;
  }

  .tvcf-topline__langs img{
    display:block !important;
    width:100% !important;
    height:100% !important;
    object-fit:cover !important;
  }

  .tvcf-topline__langs a.tvcf-lang-world{
    width:22px !important;
    height:22px !important;
    flex:0 0 22px !important;
    border-radius:999px !important;
    overflow:visible !important;
    box-shadow:none !important;
    font-size:15px !important;
    background:transparent !important;
  }

  .tvcf-topline__langs a.tvcf-lang-world:hover,
  .tvcf-topline__langs a.tvcf-lang-world:focus{
    box-shadow:none !important;
  }

  .tvcf-lang-world span{
    display:block !important;
    font-size:18px !important;
    line-height:1 !important;
  }

  .tvcf-topline__radio-player,
  .tvcf-topline__radio-toggle{
    display:none !important;
  }

  .ast-primary-header-bar,
  .main-header-bar{
    min-height:38px !important;
    padding-top:0 !important;
    padding-bottom:0 !important;
  }

  .ast-builder-grid-row,
  .main-header-bar .ast-container,
  .ast-primary-header-bar .ast-builder-grid-row{
    min-height:38px !important;
    align-items:center !important;
  }

  .main-header-menu,
  .ast-header-navigation .main-header-menu,
  .ast-builder-menu-1 .main-header-menu{
    display:flex !important;
    align-items:center !important;
    gap:0 !important;
    background:transparent !important;
  }

  .main-header-menu > .menu-item,
  .ast-header-navigation .main-header-menu > .menu-item,
  .ast-builder-menu-1 .main-header-menu > .menu-item{
    margin:0 2px !important;
  }

  .main-header-menu > .menu-item > a,
  .ast-header-navigation .main-header-menu > .menu-item > a,
  .ast-builder-menu-1 .main-header-menu > .menu-item > a,
  .main-header-menu .menu-link{
    color:var(--tvcf-header-text) !important;
    background:transparent !important;
    text-decoration:none !important;
    font-weight:700 !important;
    font-size:.78rem !important;
    line-height:1 !important;
    min-height:38px !important;
    padding-top:0 !important;
    padding-bottom:0 !important;
    padding-left:7px !important;
    padding-right:7px !important;
    letter-spacing:0 !important;
    border-radius:0 !important;
    box-shadow:none !important;
  }

  .main-header-menu > .menu-item > a:hover,
  .main-header-menu > .menu-item > a:focus,
  .ast-header-navigation .main-header-menu > .menu-item > a:hover,
  .ast-header-navigation .main-header-menu > .menu-item > a:focus,
  .main-header-menu .menu-link:hover,
  .main-header-menu .menu-link:focus{
    color:var(--tvcf-header-text-strong) !important;
    background:transparent !important;
  }

  .main-header-menu > .current-menu-item > a,
  .main-header-menu > .current-menu-ancestor > a,
  .ast-header-navigation .main-header-menu > .current-menu-item > a,
  .ast-header-navigation .main-header-menu > .current-menu-ancestor > a{
    color:var(--tvcf-header-text-strong) !important;
    font-weight:800 !important;
    background:transparent !important;
    border-radius:0 !important;
    box-shadow:none !important;
  }

  .main-header-menu .sub-menu,
  .ast-desktop .main-header-menu .sub-menu,
  .ast-header-navigation .sub-menu{
    background:#ffffff !important;
    border:1px solid var(--tvcf-header-border) !important;
    border-radius:10px !important;
    box-shadow:var(--tvcf-header-shadow) !important;
    padding:8px 0 !important;
    overflow:visible !important;
  }

  .main-header-menu .sub-menu a,
  .ast-desktop .main-header-menu .sub-menu a,
  .ast-header-navigation .sub-menu a{
    display:block !important;
    background:transparent !important;
    color:#666b70 !important;
    text-decoration:none !important;
    font-size:13px !important;
    line-height:1.3 !important;
    padding:9px 14px !important;
    transition:background .18s ease,color .18s ease,padding-left .18s ease !important;
  }

  .main-header-menu .sub-menu a:hover,
  .main-header-menu .sub-menu a:focus,
  .ast-desktop .main-header-menu .sub-menu a:hover,
  .ast-desktop .main-header-menu .sub-menu a:focus,
  .ast-header-navigation .sub-menu a:hover,
  .ast-header-navigation .sub-menu a:focus{
    background:#f7f7f7 !important;
    color:#42464b !important;
    padding-left:18px !important;
  }

  .main-header-menu .menu-item-has-children > a,
  .ast-header-navigation .menu-item-has-children > a{
    color:var(--tvcf-header-text) !important;
  }

  .main-header-menu .menu-item-has-children > a .ast-icon,
  .main-header-menu .menu-item-has-children > a svg,
  .ast-header-navigation .menu-item-has-children > a .ast-icon,
  .ast-header-navigation .menu-item-has-children > a svg,
  .main-header-menu .menu-link .icon-arrow svg{
    color:var(--tvcf-header-text) !important;
    fill:var(--tvcf-header-text) !important;
    opacity:.58 !important;
    transform:scale(.78) !important;
  }

  .ast-header-search .astra-search-icon,
  .ast-desktop .ast-search-icon,
  .ast-desktop .menu-link-search{
    color:#30363d !important;
  }

  .main-header-menu .sub-menu .sub-menu{
    left:100% !important;
    right:auto !important;
    top:0 !important;
    margin-left:0 !important;
  }

  .main-header-menu > .menu-item:last-child .sub-menu .sub-menu,
  .main-header-menu > .menu-item:nth-last-child(2) .sub-menu .sub-menu,
  .main-header-menu > .menu-item:nth-last-child(3) .sub-menu .sub-menu{
    left:auto !important;
    right:100% !important;
    margin-right:0 !important;
  }
}

/* =========================================================
   8. Desktop intermédiaire — ajustements légers sans casser Chrome
========================================================= */

@media screen and (max-width:1320px) and (min-width:1025px){

  .tvcf-topline__inner{
    max-width:1280px !important;
    padding-left:24px !important;
    padding-right:24px !important;
    grid-template-columns:320px minmax(0,1fr) !important;
    gap:18px !important;
  }

  .tvcf-topline__brand,
  .tvcf-topline__logo{
    width:320px !important;
    min-width:320px !important;
    max-width:320px !important;
    flex-basis:320px !important;
  }

  .tvcf-topline__logo img{
    width:320px !important;
    min-width:320px !important;
    max-width:320px !important;
  }

  .tvcf-topline__center{
    gap:8px !important;
  }

  .tvcf-topline__nav{
    gap:5px !important;
  }

  .tvcf-topline__nav a{
    font-size:14px !important;
    padding-left:8px !important;
    padding-right:8px !important;
  }

  .tvcf-topline__nav a.tvcf-topline__nav-video{
    font-size:14px !important;
    padding-left:13px !important;
    padding-right:13px !important;
  }

  .tvcf-topline__channel{
    font-size:13px !important;
    padding-left:8px !important;
    padding-right:8px !important;
  }

  .tvcf-topline__icon{
    width:32px !important;
    height:32px !important;
  }

  .tvcf-topline__langs{
    gap:6px !important;
    margin-left:6px !important;
  }
}

@media screen and (max-width:1120px) and (min-width:1025px){

  .tvcf-topline__inner{
    grid-template-columns:290px minmax(0,1fr) !important;
    padding-left:18px !important;
    padding-right:18px !important;
    gap:14px !important;
  }

  .tvcf-topline__brand,
  .tvcf-topline__logo{
    width:290px !important;
    min-width:290px !important;
    max-width:290px !important;
    flex-basis:290px !important;
  }

  .tvcf-topline__logo img{
    width:290px !important;
    min-width:290px !important;
    max-width:290px !important;
  }

  .tvcf-topline__nav{
    gap:4px !important;
  }

  .tvcf-topline__nav a{
    font-size:13px !important;
    padding-left:7px !important;
    padding-right:7px !important;
  }

  .tvcf-topline__nav a.tvcf-topline__nav-video{
    height:38px !important;
    min-height:38px !important;
    max-height:38px !important;
    font-size:13px !important;
    padding-left:11px !important;
    padding-right:11px !important;
  }

  .tvcf-topline__nav button.tvcf-topline__nav-radio{
    height:38px !important;
    min-height:38px !important;
    max-height:38px !important;
  }
}

/* =========================================================
   9. Mobile / tablette Astra
========================================================= */

@media screen and (max-width:1024px){

  .tvcf-topline{
    display:none !important;
  }

  .ast-mobile-header-wrap,
  .ast-mobile-header-wrap .main-header-bar,
  .ast-mobile-header-wrap .ast-primary-header-bar,
  .ast-header-break-point .main-header-bar,
  .ast-header-break-point .ast-primary-header-bar,
  .ast-header-break-point #masthead,
  .ast-mobile-header-wrap .ast-builder-layout-element,
  .ast-mobile-header-wrap .ast-builder-grid-row-container,
  .ast-mobile-header-wrap .ast-builder-grid-row{
    background:#ffffff !important;
    background-color:#ffffff !important;
  }

  .ast-header-break-point .main-header-menu,
  .ast-header-break-point .main-navigation,
  .ast-header-break-point .main-navigation ul,
  .ast-header-break-point .main-navigation ul.sub-menu,
  .ast-header-break-point .ast-builder-menu-mobile .main-header-menu{
    background:#ffffff !important;
  }

  .ast-header-break-point .main-header-menu li a,
  .ast-header-break-point .main-navigation ul li a,
  .ast-header-break-point .menu-item > a{
    color:#666b70 !important;
    background:transparent !important;
  }

  .ast-header-break-point .main-header-menu li a:hover,
  .ast-header-break-point .main-navigation ul li a:hover,
  .ast-header-break-point .menu-item > a:hover{
    color:#42464b !important;
    background:#f7f7f7 !important;
  }

  .site-title,
  .ast-site-title,
  .ast-site-title-wrap .site-title,
  .ast-site-identity .site-title,
  .site-description,
  .ast-site-description{
    display:none !important;
  }
}

@media screen and (max-width:1000px) and (min-width:783px){

  .tvcf-topline,
  .tvcf-topline__inner,
  .tvcf-topline__brand,
  .tvcf-topline__center,
  .tvcf-topline__nav,
  .tvcf-topline__actions{
    display:none !important;
    visibility:hidden !important;
    height:0 !important;
    max-height:0 !important;
    overflow:hidden !important;
    pointer-events:none !important;
  }

  .ast-desktop-header,
  .ast-above-header-wrap,
  .ast-below-header-wrap{
    display:none !important;
  }

  .ast-mobile-header-wrap{
    display:block !important;
    visibility:visible !important;
    background:#ffffff !important;
  }

  .ast-mobile-header-wrap .main-header-bar,
  .ast-mobile-header-wrap .ast-primary-header-bar{
    display:block !important;
    background:#ffffff !important;
  }

  .ast-mobile-header-wrap .site-logo-img img,
  .ast-mobile-header-wrap .custom-logo{
    max-width:210px !important;
    height:auto !important;
  }
}

@media screen and (max-width:782px){

  .site-header,
  .main-header-bar{
    position:sticky;
    top:0;
    z-index:99999;
    background:#ffffff;
    transform:translateZ(0);
    -webkit-transform:translateZ(0);
    backface-visibility:hidden;
    -webkit-backface-visibility:hidden;
  }

  .ast-mobile-popup-drawer .ast-mobile-popup-inner,
  .ast-mobile-popup-drawer .menu-toggle-close,
  .ast-mobile-popup-drawer .ast-builder-menu-mobile{
    z-index:999999;
  }
}

/* =========================================================
   10. Articles — largeur stable / anti-rétrécissement
========================================================= */

.single-post .ast-container,
.single-post .site-content .ast-container,
.single-post .content-area,
.single-post .site-main,
.single-post article,
.single-post .ast-article-single,
.single-post .entry-content{
  width:100% !important;
  box-sizing:border-box !important;
}

.single-post .site-content .ast-container,
.single-post .ast-container,
.single-post .content-area,
.single-post .site-main,
.single-post .ast-article-single{
  max-width:none !important;
}

.single-post .entry-content{
  max-width:1180px !important;
  margin-left:auto !important;
  margin-right:auto !important;
  padding-left:20px !important;
  padding-right:20px !important;
}

.single-post .entry-content *{
  box-sizing:border-box !important;
}

.single-post .entry-content img,
.single-post .entry-content iframe,
.single-post .entry-content video,
.single-post .entry-content blockquote.instagram-media{
  max-width:100% !important;
}

.single-post .site-content,
.single-post .ast-container,
.single-post .content-area,
.single-post #primary{
  padding-top:0 !important;
  margin-top:0 !important;
}

.single-post article,
.single-post .ast-article-single,
.single-post .entry-content{
  margin-top:0 !important;
  padding-top:0 !important;
}

.single-post .entry-content > .tvcf-weekend-ascension:first-child,
.single-post .entry-content > style:first-child + .tvcf-weekend-ascension{
  margin-top:0 !important;
}

@media(max-width:768px){

  .single-post .entry-content{
    padding-left:14px !important;
    padding-right:14px !important;
  }
}

/* =========================================================
   11. Fil d’Ariane — aligné contenu, masqué mobile
========================================================= */

body:not(.home):not(.front-page) .ast-breadcrumbs-wrapper,
body:not(.home):not(.front-page) .ast-breadcrumb,
body:not(.home):not(.front-page) .yoast-breadcrumb,
body:not(.home):not(.front-page) .rank-math-breadcrumb,
.single-post .ast-breadcrumbs-wrapper,
.single-post .ast-breadcrumb,
.single-post .yoast-breadcrumb,
.single-post .rank-math-breadcrumb{
  width:100% !important;
  max-width:1180px !important;
  margin:6px auto 14px !important;
  padding:0 20px !important;
  box-sizing:border-box !important;
  font-size:13px !important;
  line-height:1.4 !important;
  color:#667085 !important;
}

body:not(.home):not(.front-page) .ast-breadcrumbs-wrapper a,
body:not(.home):not(.front-page) .ast-breadcrumb a,
body:not(.home):not(.front-page) .yoast-breadcrumb a,
body:not(.home):not(.front-page) .rank-math-breadcrumb a,
.single-post .ast-breadcrumbs-wrapper a,
.single-post .ast-breadcrumb a,
.single-post .yoast-breadcrumb a,
.single-post .rank-math-breadcrumb a{
  color:#1f5f86 !important;
  text-decoration:none !important;
}

body:not(.home):not(.front-page) .ast-breadcrumbs-wrapper a:hover,
body:not(.home):not(.front-page) .ast-breadcrumb a:hover,
body:not(.home):not(.front-page) .yoast-breadcrumb a:hover,
body:not(.home):not(.front-page) .rank-math-breadcrumb a:hover,
.single-post .ast-breadcrumbs-wrapper a:hover,
.single-post .ast-breadcrumb a:hover,
.single-post .yoast-breadcrumb a:hover,
.single-post .rank-math-breadcrumb a:hover{
  color:#102435 !important;
  text-decoration:underline !important;
}

@media(max-width:760px){

  body:not(.home):not(.front-page) .ast-breadcrumbs-wrapper,
  body:not(.home):not(.front-page) .ast-breadcrumb,
  body:not(.home):not(.front-page) .yoast-breadcrumb,
  body:not(.home):not(.front-page) .rank-math-breadcrumb,
  .single-post .ast-breadcrumbs-wrapper,
  .single-post .ast-breadcrumb,
  .single-post .yoast-breadcrumb,
  .single-post .rank-math-breadcrumb{
    display:none !important;
  }
}

/* =========================================================
   12. Retour haut mobile
========================================================= */

@media(max-width:768px){

  #ast-scroll-top{
    position:fixed !important;
    right:18px !important;
    bottom:84px !important;
    width:44px !important;
    height:44px !important;
    min-width:44px !important;
    min-height:44px !important;
    border-radius:999px !important;
    background:rgba(31,95,134,.92) !important;
    box-shadow:0 10px 26px rgba(15,23,42,.22) !important;
    backdrop-filter:blur(10px) !important;
    -webkit-backdrop-filter:blur(10px) !important;
    z-index:999998 !important;
    overflow:hidden !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
  }

  #ast-scroll-top .ast-scroll-top-icon,
  #ast-scroll-top .ast-icon,
  #ast-scroll-top svg{
    position:static !important;
    width:22px !important;
    height:22px !important;
    line-height:1 !important;
    color:#ffffff !important;
    fill:#ffffff !important;
  }

  .tvcf-mobile-bar{
    z-index:999997 !important;
  }
}

/* =========================================================
   13. Masquer les articles similaires sur articles
========================================================= */

.single-post .related-posts,
.single-post .ast-related-posts,
.single-post .ast-single-related-posts-container,
.single-post .wp-block-latest-posts,
.single-post .jetpack-related-posts,
.single-post #jp-relatedposts{
  display:none !important;
}
/* =========================================================
   TVCapFerret — Bloc 4 dernières publications fin d’article
   Version corrigée avec priorité forte
========================================================= */

.single-post .tvcf-latest-footer{
  max-width:1100px !important;
  margin:54px auto 32px !important;
  padding:28px 20px 8px !important;
  border-top:1px solid rgba(15,23,42,.10) !important;
}

.single-post .tvcf-latest-footer-head{
  margin-bottom:20px !important;
}

.single-post .tvcf-latest-footer-kicker{
  display:inline-flex !important;
  align-items:center !important;
  gap:6px !important;
  margin-bottom:8px !important;
  padding:5px 10px !important;
  border-radius:999px !important;
  background:#f7f3ea !important;
  color:#9b8758 !important;
  font-size:11px !important;
  font-weight:800 !important;
  letter-spacing:.08em !important;
  text-transform:uppercase !important;
}

.single-post .tvcf-latest-footer-head h2{
  margin:0 !important;
  font-family:Georgia, 'Times New Roman', serif !important;
  font-size:clamp(23px, 3vw, 32px) !important;
  line-height:1.12 !important;
  color:#102435 !important;
}

.single-post .tvcf-latest-footer-grid{
  display:grid !important;
  grid-template-columns:repeat(4, minmax(0, 1fr)) !important;
  gap:18px !important;
}

.single-post .tvcf-latest-footer-card{
  display:block !important;
  text-decoration:none !important;
  color:inherit !important;
  border-radius:18px !important;
  overflow:hidden !important;
  background:#fff !important;
  border:1px solid rgba(15,23,42,.08) !important;
  box-shadow:0 10px 26px rgba(15,23,42,.07) !important;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease !important;
}

.single-post .tvcf-latest-footer-card:hover{
  transform:translateY(-3px) !important;
  box-shadow:0 16px 36px rgba(15,23,42,.12) !important;
  border-color:rgba(181,138,59,.35) !important;
}

.single-post .tvcf-latest-footer-img{
  position:relative !important;
  width:100% !important;
  aspect-ratio:16/9 !important;
  background:#eef2f5 !important;
  overflow:hidden !important;
}

.single-post .tvcf-latest-footer-img img{
  width:100% !important;
  height:100% !important;
  max-width:100% !important;
  object-fit:cover !important;
  display:block !important;
  margin:0 !important;
  transition:transform .25s ease !important;
}

.single-post .tvcf-latest-footer-card:hover .tvcf-latest-footer-img img{
  transform:scale(1.04) !important;
}

/* Correction essentielle : empêcher Astra / l'article de grossir les titres */
.single-post .tvcf-latest-footer-card h3{
  margin:0 !important;
  padding:13px 14px 15px !important;
  font-family:Arial, Helvetica, sans-serif !important;
  font-size:15px !important;
  line-height:1.28 !important;
  font-weight:800 !important;
  color:#102435 !important;
  text-decoration:none !important;
}

.single-post .tvcf-latest-footer-card:hover h3{
  color:#8a6a2f !important;
}

.single-post .tvcf-latest-footer-card,
.single-post .tvcf-latest-footer-card:hover,
.single-post .tvcf-latest-footer-card:focus{
  text-decoration:none !important;
}

/* Mobile */
@media (max-width: 760px){
  .single-post .tvcf-latest-footer{
    margin:38px auto 22px !important;
    padding:24px 14px 4px !important;
  }

  .single-post .tvcf-latest-footer-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
    gap:12px !important;
  }

  .single-post .tvcf-latest-footer-card{
    border-radius:15px !important;
  }

  .single-post .tvcf-latest-footer-card h3{
    padding:10px 11px 12px !important;
    font-size:13.5px !important;
    line-height:1.25 !important;
  }
}

/* Très petits écrans */
@media (max-width: 390px){
  .single-post .tvcf-latest-footer-grid{
    grid-template-columns:1fr !important;
  }
}
/* =========================================================
   TVCapFerret — Masquer les pingbacks / rétroliens
========================================================= */

.single-post .comments-area .pingback,
.single-post .comments-area .trackback,
.single-post .comments-area .comment.pingback,
.single-post .comments-area .comment.trackback,
.single-post .comments-area .comment-list .pingback,
.single-post .comments-area .comment-list .trackback{
  display:none !important;
}
/* =========================================================
   TVCapFerret — Bouton voir plus sous les 4 derniers articles
========================================================= */

.single-post .tvcf-latest-footer-more{
  display:flex !important;
  justify-content:center !important;
  margin:24px auto 0 !important;
}

.single-post .tvcf-latest-footer-more a{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  padding:12px 20px !important;
  border-radius:999px !important;
  background:#102435 !important;
  color:#fff !important;
  font-size:14px !important;
  font-weight:900 !important;
  text-decoration:none !important;
  box-shadow:0 10px 24px rgba(16,36,53,.16) !important;
  transition:transform .18s ease, background .18s ease, box-shadow .18s ease !important;
}

.single-post .tvcf-latest-footer-more a:hover{
  transform:translateY(-2px) !important;
  background:#b58a3b !important;
  color:#fff !important;
  box-shadow:0 14px 30px rgba(16,36,53,.22) !important;
}

@media(max-width:760px){
  .single-post .tvcf-latest-footer-more{
    margin-top:18px !important;
  }

  .single-post .tvcf-latest-footer-more a{
    width:100% !important;
    padding:13px 16px !important;
  }
}
/* =========================================================
   TVCapFerret — Nettoyage fin d'article sans supprimer les commentaires
   Garde le formulaire commentaire mais supprime la navigation inutile
========================================================= */

/* Masquer seulement précédent / suivant */
.single-post .post-navigation,
.single-post .navigation.post-navigation,
.single-post .single-post-navigation,
.single-post .ast-single-post-navigation,
.single-post .ast-post-navigation{
  display:none !important;
}

/* Attention : on ne masque PAS .comments-area */

/* Réduire l'espace après le bloc À lire aussi */
.single-post .tvcf-latest-footer{
  margin-bottom:28px !important;
  padding-bottom:0 !important;
}

/* Encadrer proprement les commentaires */
.single-post .comments-area,
.single-post #comments{
  max-width:920px !important;
  margin:34px auto 38px !important;
  padding:26px 24px !important;
  border-radius:22px !important;
  background:#f8fafc !important;
  border:1px solid rgba(15,23,42,.08) !important;
  box-shadow:0 12px 32px rgba(15,23,42,.05) !important;
}

/* Titre "Laisser un commentaire" */
.single-post .comments-area .comments-title,
.single-post .comments-area .comment-reply-title,
.single-post #reply-title{
  margin:0 0 16px !important;
  font-family:Georgia, "Times New Roman", serif !important;
  font-size:clamp(24px, 3vw, 34px) !important;
  line-height:1.12 !important;
  color:#102435 !important;
}

/* Zone de saisie */
.single-post .comment-form textarea,
.single-post .comment-form input[type="text"],
.single-post .comment-form input[type="email"],
.single-post .comment-form input[type="url"]{
  width:100% !important;
  border-radius:16px !important;
  border:1px solid rgba(15,23,42,.12) !important;
  background:#fff !important;
  padding:14px 16px !important;
  font-size:16px !important;
  color:#102435 !important;
  box-shadow:none !important;
}

/* Bouton commentaire */
.single-post .comment-form input[type="submit"],
.single-post .comment-form button[type="submit"]{
  border-radius:999px !important;
  background:#102435 !important;
  color:#fff !important;
  border:0 !important;
  padding:12px 22px !important;
  font-weight:900 !important;
  font-size:14px !important;
  cursor:pointer !important;
  box-shadow:0 10px 24px rgba(16,36,53,.16) !important;
}

.single-post .comment-form input[type="submit"]:hover,
.single-post .comment-form button[type="submit"]:hover{
  background:#b58a3b !important;
  color:#fff !important;
}

/* Réduire les marges internes inutiles */
.single-post .comment-form p{
  margin-bottom:14px !important;
}

/* Nettoyer le bloc "Logged in as..." */
.single-post .logged-in-as{
  margin:0 0 14px !important;
  font-size:14px !important;
  color:#64748b !important;
}

/* Footer plus proche */
.single-post .site-content,
.single-post .content-area,
.single-post #primary,
.single-post .site-main,
.single-post .ast-article-single{
  margin-bottom:0 !important;
  padding-bottom:0 !important;
}

.single-post .site-footer,
.single-post .tvcf-footer{
  margin-top:0 !important;
}

/* Mobile */
@media(max-width:760px){
  .single-post .comments-area,
  .single-post #comments{
    margin:26px auto 30px !important;
    padding:22px 16px !important;
    border-radius:18px !important;
  }
}
/* =========================================================
   TVCapFerret — Bloc 4 dernières publications + newsletter
========================================================= */

.single-post .tvcf-latest-footer{
  max-width:1100px !important;
  margin:54px auto 36px !important;
  padding:28px 20px 0 !important;
  border-top:1px solid rgba(15,23,42,.10) !important;
}

.single-post .tvcf-latest-footer-head{
  margin-bottom:20px !important;
}

.single-post .tvcf-latest-footer-kicker{
  display:inline-flex !important;
  align-items:center !important;
  gap:6px !important;
  margin-bottom:8px !important;
  padding:5px 10px !important;
  border-radius:999px !important;
  background:#f7f3ea !important;
  color:#9b8758 !important;
  font-size:11px !important;
  font-weight:800 !important;
  letter-spacing:.08em !important;
  text-transform:uppercase !important;
}

.single-post .tvcf-latest-footer-head h2{
  margin:0 !important;
  font-family:Georgia, "Times New Roman", serif !important;
  font-size:clamp(26px, 3vw, 38px) !important;
  line-height:1.12 !important;
  color:#102435 !important;
}

.single-post .tvcf-latest-footer-grid{
  display:grid !important;
  grid-template-columns:repeat(4, minmax(0, 1fr)) !important;
  gap:18px !important;
}

.single-post .tvcf-latest-footer-card{
  display:block !important;
  text-decoration:none !important;
  color:inherit !important;
  border-radius:18px !important;
  overflow:hidden !important;
  background:#fff !important;
  border:1px solid rgba(15,23,42,.08) !important;
  box-shadow:0 10px 26px rgba(15,23,42,.07) !important;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease !important;
}

.single-post .tvcf-latest-footer-card:hover{
  transform:translateY(-3px) !important;
  box-shadow:0 16px 36px rgba(15,23,42,.12) !important;
  border-color:rgba(181,138,59,.35) !important;
}

.single-post .tvcf-latest-footer-img{
  position:relative !important;
  width:100% !important;
  aspect-ratio:16/9 !important;
  background:#eef2f5 !important;
  overflow:hidden !important;
}

.single-post .tvcf-latest-footer-img img{
  width:100% !important;
  height:100% !important;
  max-width:100% !important;
  object-fit:cover !important;
  display:block !important;
  margin:0 !important;
  transition:transform .25s ease !important;
}

.single-post .tvcf-latest-footer-card:hover .tvcf-latest-footer-img img{
  transform:scale(1.04) !important;
}

.single-post .tvcf-latest-footer-card h3{
  margin:0 !important;
  padding:13px 14px 15px !important;
  font-family:Arial, Helvetica, sans-serif !important;
  font-size:15px !important;
  line-height:1.28 !important;
  font-weight:800 !important;
  color:#102435 !important;
  text-decoration:none !important;
}

.single-post .tvcf-latest-footer-card:hover h3{
  color:#8a6a2f !important;
}

/* =========================================================
   Newsletter intégrée au bloc 4 derniers articles
========================================================= */

.single-post .tvcf-latest-newsletter{
  max-width:980px !important;
  margin:28px auto 0 !important;
  padding:22px 24px !important;
  display:grid !important;
  grid-template-columns:minmax(0,1fr) minmax(320px,430px) !important;
  gap:22px !important;
  align-items:center !important;
  border-radius:22px !important;
  background:#f7f3ea !important;
  border:1px solid rgba(181,138,59,.28) !important;
  box-shadow:0 14px 34px rgba(15,23,42,.08) !important;
}

.single-post .tvcf-latest-newsletter__text span{
  display:inline-flex !important;
  margin-bottom:8px !important;
  padding:4px 10px !important;
  border-radius:999px !important;
  background:#fff !important;
  color:#9b8758 !important;
  font-size:10px !important;
  font-weight:900 !important;
  letter-spacing:.12em !important;
  text-transform:uppercase !important;
}

.single-post .tvcf-latest-newsletter__text strong{
  display:block !important;
  margin:0 0 6px !important;
  font-family:Georgia, "Times New Roman", serif !important;
  font-size:clamp(22px, 2.8vw, 32px) !important;
  line-height:1.12 !important;
  color:#102435 !important;
}

.single-post .tvcf-latest-newsletter__text p{
  max-width:520px !important;
  margin:0 !important;
  font-size:15.5px !important;
  line-height:1.5 !important;
  color:#475569 !important;
}

/* Nettoyage du formulaire Jetpack dans ce bloc */
.single-post .tvcf-latest-newsletter__form h2,
.single-post .tvcf-latest-newsletter__form h3,
.single-post .tvcf-latest-newsletter__form > p,
.single-post .tvcf-latest-newsletter__form .wp-block-jetpack-subscriptions__subheadline,
.single-post .tvcf-latest-newsletter__form .wp-block-jetpack-subscriptions__description,
.single-post .tvcf-latest-newsletter__form .wp-block-jetpack-subscriptions__subscribe-text{
  display:none !important;
}

.single-post .tvcf-latest-newsletter__form .wp-block-jetpack-subscriptions{
  margin:0 !important;
  padding:0 !important;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
}

.single-post .tvcf-latest-newsletter__form form{
  display:flex !important;
  align-items:center !important;
  justify-content:flex-end !important;
  gap:10px !important;
  margin:0 !important;
}

.single-post .tvcf-latest-newsletter__form input[type="email"],
.single-post .tvcf-latest-newsletter__form input[type="text"]{
  flex:1 1 auto !important;
  min-width:0 !important;
  height:52px !important;
  min-height:52px !important;
  margin:0 !important;
  padding:0 18px !important;
  border-radius:999px !important;
  border:1px solid rgba(16,36,53,.14) !important;
  background:#fff !important;
  color:#102435 !important;
  font-size:15px !important;
  box-shadow:0 8px 20px rgba(15,23,42,.06) !important;
}

.single-post .tvcf-latest-newsletter__form input[type="email"]::placeholder,
.single-post .tvcf-latest-newsletter__form input[type="text"]::placeholder{
  color:#9ca3af !important;
}

.single-post .tvcf-latest-newsletter__form button,
.single-post .tvcf-latest-newsletter__form input[type="submit"],
.single-post .tvcf-latest-newsletter__form .wp-block-button__link{
  flex:0 0 auto !important;
  height:52px !important;
  min-height:52px !important;
  margin:0 !important;
  padding:0 20px !important;
  border:0 !important;
  border-radius:999px !important;
  background:#102435 !important;
  color:#fff !important;
  font-size:14px !important;
  font-weight:900 !important;
  cursor:pointer !important;
  box-shadow:0 10px 24px rgba(16,36,53,.16) !important;
  text-decoration:none !important;
}

.single-post .tvcf-latest-newsletter__form button:hover,
.single-post .tvcf-latest-newsletter__form input[type="submit"]:hover,
.single-post .tvcf-latest-newsletter__form .wp-block-button__link:hover{
  background:#b58a3b !important;
  color:#fff !important;
}

/* =========================================================
   Bouton voir plus
========================================================= */

.single-post .tvcf-latest-footer-more{
  display:flex !important;
  justify-content:center !important;
  margin:24px auto 0 !important;
}

.single-post .tvcf-latest-footer-more a{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  padding:12px 20px !important;
  border-radius:999px !important;
  background:#102435 !important;
  color:#fff !important;
  font-size:14px !important;
  font-weight:900 !important;
  text-decoration:none !important;
  box-shadow:0 10px 24px rgba(16,36,53,.16) !important;
  transition:transform .18s ease, background .18s ease, box-shadow .18s ease !important;
}

.single-post .tvcf-latest-footer-more a:hover{
  transform:translateY(-2px) !important;
  background:#b58a3b !important;
  color:#fff !important;
  box-shadow:0 14px 30px rgba(16,36,53,.22) !important;
}

/* =========================================================
   Mobile
========================================================= */

@media(max-width:760px){
  .single-post .tvcf-latest-footer{
    margin:38px auto 28px !important;
    padding:24px 14px 0 !important;
  }

  .single-post .tvcf-latest-footer-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
    gap:12px !important;
  }

  .single-post .tvcf-latest-footer-card{
    border-radius:15px !important;
  }

  .single-post .tvcf-latest-footer-card h3{
    padding:10px 11px 12px !important;
    font-size:13.5px !important;
    line-height:1.25 !important;
  }

  .single-post .tvcf-latest-newsletter{
    grid-template-columns:1fr !important;
    gap:16px !important;
    margin-top:22px !important;
    padding:20px 16px !important;
    border-radius:20px !important;
  }

  .single-post .tvcf-latest-newsletter__text{
    text-align:left !important;
  }

  .single-post .tvcf-latest-newsletter__text strong{
    font-size:26px !important;
  }

  .single-post .tvcf-latest-newsletter__text p{
    font-size:15px !important;
  }

  .single-post .tvcf-latest-newsletter__form form{
    display:block !important;
  }

  .single-post .tvcf-latest-newsletter__form input[type="email"],
  .single-post .tvcf-latest-newsletter__form input[type="text"],
  .single-post .tvcf-latest-newsletter__form button,
  .single-post .tvcf-latest-newsletter__form input[type="submit"],
  .single-post .tvcf-latest-newsletter__form .wp-block-button__link{
    width:100% !important;
    margin:0 0 10px !important;
  }

  .single-post .tvcf-latest-newsletter__form button,
  .single-post .tvcf-latest-newsletter__form input[type="submit"],
  .single-post .tvcf-latest-newsletter__form .wp-block-button__link{
    margin-bottom:0 !important;
  }

  .single-post .tvcf-latest-footer-more{
    margin-top:18px !important;
  }

  .single-post .tvcf-latest-footer-more a{
    width:100% !important;
    padding:13px 16px !important;
  }
}

@media(max-width:390px){
  .single-post .tvcf-latest-footer-grid{
    grid-template-columns:1fr !important;
  }
}
/* Réduire l'espace entre le bloc À lire aussi et les commentaires */
.single-post .tvcf-latest-footer{
  margin-bottom:28px !important;
}

.single-post .comments-area,
.single-post #comments{
  margin-top:28px !important;
}
/* =========================================================
   TVCapFerret — Archives catégories premium V5
   Compatible Astra
   Pages : /category/...
   
   Objectif :
   - grille stable sans superposition
   - cartes premium
   - image 16:9
   - titre visible
   - extrait / méta description visible
   - catégories/auteur/tags masqués
========================================================= */


/* =========================================================
   1. Page et conteneur général
========================================================= */

body.archive.category {
  background: #f5f7f7 !important;
}

body.archive.category .site-content > .ast-container {
  max-width: 1180px !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 22px !important;
  padding-right: 22px !important;
  display: block !important;
  box-sizing: border-box !important;
}

/* Pleine largeur, sans sidebar */
body.archive.category #primary {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  padding: 0 !important;
  float: none !important;
}

body.archive.category #secondary {
  display: none !important;
}


/* =========================================================
   2. Haut de page catégorie
========================================================= */

body.archive.category .ast-archive-description,
body.archive.category .page-header {
  margin: 28px 0 34px !important;
  padding: 34px 36px !important;
  border-radius: 28px !important;
  background: linear-gradient(135deg, #102026 0%, #164d58 55%, #247483 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 18px 45px rgba(0,0,0,0.14) !important;
  overflow: hidden !important;
}

body.archive.category .page-title,
body.archive.category .ast-archive-description h1 {
  font-size: clamp(2rem, 4vw, 3.2rem) !important;
  line-height: 1.08 !important;
  letter-spacing: -0.04em !important;
  color: #ffffff !important;
  margin: 0 !important;
}

body.archive.category .ast-archive-description p,
body.archive.category .page-header p {
  max-width: 760px !important;
  font-size: 1.05rem !important;
  line-height: 1.6 !important;
  color: rgba(255,255,255,0.9) !important;
  margin: 12px 0 0 !important;
}


/* =========================================================
   3. Grille stable anti-superposition
========================================================= */

/* site-main reste un conteneur normal */
body.archive.category .site-main {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow: visible !important;
}

/* La vraie grille est .ast-row */
body.archive.category .site-main .ast-row {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(280px, 1fr)) !important;
  gap: 28px !important;
  align-items: stretch !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

/* Neutraliser les pseudo-éléments Astra */
body.archive.category .site-main .ast-row::before,
body.archive.category .site-main .ast-row::after {
  display: none !important;
  content: none !important;
}

/* Neutraliser les largeurs Astra éventuelles */
body.archive.category .ast-width-md-1,
body.archive.category .ast-width-md-2,
body.archive.category .ast-width-md-3,
body.archive.category .ast-width-md-4,
body.archive.category .ast-width-md-5,
body.archive.category .ast-width-md-6,
body.archive.category .ast-width-md-7,
body.archive.category .ast-width-md-8,
body.archive.category .ast-width-md-9,
body.archive.category .ast-width-md-10,
body.archive.category .ast-width-md-11,
body.archive.category .ast-width-md-12 {
  width: 100% !important;
}


/* =========================================================
   4. Cartes articles
========================================================= */

body.archive.category article.ast-article-post,
body.archive.category .site-main .ast-row > article {
  float: none !important;
  clear: none !important;
  position: static !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  bottom: auto !important;

  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;

  margin: 0 !important;
  padding: 0 !important;

  background: #ffffff !important;
  border-radius: 24px !important;
  overflow: hidden !important;
  border: 1px solid rgba(16,32,38,0.08) !important;
  box-shadow: 0 14px 34px rgba(16,32,38,0.08) !important;

  display: flex !important;
  flex-direction: column !important;
  box-sizing: border-box !important;

  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease !important;
}

body.archive.category article.ast-article-post:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 22px 48px rgba(16,32,38,0.13) !important;
  border-color: rgba(36,116,131,0.22) !important;
}


/* =========================================================
   5. Images articles
========================================================= */

body.archive.category .post-thumb,
body.archive.category .post-thumb-img-content,
body.archive.category .ast-blog-featured-section {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  background: #e9eeee !important;
}

body.archive.category .post-thumb a,
body.archive.category .post-thumb-img-content a,
body.archive.category .ast-blog-featured-section a {
  display: block !important;
  width: 100% !important;
}

body.archive.category article img.wp-post-image,
body.archive.category .post-thumb img,
body.archive.category .post-thumb-img-content img,
body.archive.category .ast-blog-featured-section img {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  aspect-ratio: 16 / 9 !important;
  object-fit: cover !important;
  display: block !important;
  border-radius: 0 !important;
}


/* =========================================================
   6. Contenu texte des cartes
========================================================= */

body.archive.category .entry-header,
body.archive.category .entry-content,
body.archive.category .entry-summary {
  padding-left: 20px !important;
  padding-right: 20px !important;
  box-sizing: border-box !important;
}

body.archive.category .entry-header {
  padding-top: 18px !important;
  margin: 0 !important;
}

/* Titre article */
body.archive.category .entry-title {
  display: block !important;
  font-size: 1.18rem !important;
  line-height: 1.26 !important;
  letter-spacing: -0.025em !important;
  margin: 0 0 10px !important;
  color: #102026 !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  hyphens: none !important;
}

body.archive.category .entry-title a {
  color: #102026 !important;
  text-decoration: none !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
}

body.archive.category .entry-title a:hover {
  color: #0b6f7c !important;
}


/* =========================================================
   7. Métadonnées ultra allégées
   On masque catégories, auteur, tags, commentaires.
   On garde seulement la date si Astra la sort proprement.
========================================================= */

body.archive.category .entry-meta {
  display: block !important;
  font-size: 0.76rem !important;
  line-height: 1.4 !important;
  color: #7c898d !important;
  margin: 0 0 12px !important;
  opacity: 0.75 !important;
}

/* Masquer les éléments inutiles sur une page catégorie */
body.archive.category .entry-meta .cat-links,
body.archive.category .entry-meta .tags-links,
body.archive.category .entry-meta .comments-link,
body.archive.category .entry-meta .byline,
body.archive.category .entry-meta .author-name,
body.archive.category .entry-meta .posted-by,
body.archive.category .entry-meta .author,
body.archive.category .entry-meta .vcard {
  display: none !important;
}

/* Liens méta restants */
body.archive.category .entry-meta a {
  color: #7c898d !important;
  text-decoration: none !important;
}

/* Si Astra laisse des séparateurs seuls, ils deviennent très discrets */
body.archive.category .entry-meta,
body.archive.category .entry-meta span {
  color: #7c898d !important;
}


/* =========================================================
   8. Extrait / méta description visible
========================================================= */

body.archive.category .entry-content,
body.archive.category .entry-summary {
  display: block !important;
  font-size: 0.95rem !important;
  line-height: 1.62 !important;
  color: #4d5d62 !important;
  padding-bottom: 22px !important;
  margin: 0 !important;
}

/* Paragraphes d'extrait */
body.archive.category .entry-content p,
body.archive.category .entry-summary p {
  margin: 0 !important;
}

/* Limiter l'extrait pour garder des cartes homogènes */
body.archive.category .entry-summary,
body.archive.category .entry-content {
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

/* Lire la suite */
body.archive.category .read-more,
body.archive.category .read-more a,
body.archive.category .ast-button {
  border-radius: 999px !important;
  font-size: 0.86rem !important;
  font-weight: 700 !important;
}


/* =========================================================
   9. Variante : si Astra affiche seulement les métadonnées
   Cette zone évite un grand blanc trop important.
========================================================= */

body.archive.category article.ast-article-post:has(.entry-meta):not(:has(.entry-summary)):not(:has(.entry-content)) .entry-header {
  padding-bottom: 22px !important;
}


/* =========================================================
   10. Pagination
========================================================= */

body.archive.category .navigation.pagination {
  margin: 30px 0 46px !important;
  text-align: center !important;
  width: 100% !important;
}

body.archive.category .page-numbers {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 38px !important;
  height: 38px !important;
  padding: 0 13px !important;
  margin: 4px !important;
  border-radius: 999px !important;
  background: #ffffff !important;
  color: #102026 !important;
  text-decoration: none !important;
  box-shadow: 0 8px 18px rgba(16,32,38,0.06) !important;
}

body.archive.category .page-numbers.current {
  background: #102026 !important;
  color: #ffffff !important;
}

body.archive.category .page-numbers:hover {
  background: #164d58 !important;
  color: #ffffff !important;
}


/* =========================================================
   11. Responsive tablette
========================================================= */

@media (max-width: 980px) {
  body.archive.category .site-main .ast-row {
    grid-template-columns: repeat(2, minmax(240px, 1fr)) !important;
    gap: 22px !important;
  }

  body.archive.category .ast-archive-description,
  body.archive.category .page-header {
    padding: 30px 28px !important;
    border-radius: 24px !important;
  }
}


/* =========================================================
   12. Responsive mobile
========================================================= */

@media (max-width: 640px) {
  body.archive.category .site-content > .ast-container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  body.archive.category .site-main .ast-row {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  body.archive.category .ast-archive-description,
  body.archive.category .page-header {
    margin: 18px 0 26px !important;
    padding: 26px 22px !important;
    border-radius: 22px !important;
  }

  body.archive.category .page-title,
  body.archive.category .ast-archive-description h1 {
    font-size: 2rem !important;
    letter-spacing: -0.035em !important;
  }

  body.archive.category .ast-archive-description p,
  body.archive.category .page-header p {
    font-size: 0.98rem !important;
    line-height: 1.58 !important;
  }

  body.archive.category .entry-title {
    font-size: 1.12rem !important;
  }

  body.archive.category .entry-content,
  body.archive.category .entry-summary {
    font-size: 0.93rem !important;
  }
}
/* =========================================================
   TVCapFerret — Correctif V5.3
   Compatibilité Jetpack Infinite Scroll
   Les articles chargés après les 10 premiers arrivent
   dans .infinite-wrap et non plus seulement dans .ast-row
========================================================= */

/* Le wrapper Jetpack devient lui aussi une grille */
body.archive.category .site-main > .infinite-wrap,
body.archive.category .site-main .infinite-wrap {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(280px, 1fr)) !important;
  gap: 28px !important;
  align-items: stretch !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 28px 0 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

/* Neutraliser les pseudo-éléments éventuels */
body.archive.category .site-main .infinite-wrap::before,
body.archive.category .site-main .infinite-wrap::after {
  display: none !important;
  content: none !important;
}

/* Tous les articles chargés par Jetpack doivent rester dans une cellule */
body.archive.category .site-main .infinite-wrap > article,
body.archive.category .site-main .infinite-wrap article.ast-article-post {
  float: none !important;
  clear: none !important;
  position: static !important;
  grid-column: auto !important;

  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;

  margin: 0 !important;
  padding: 0 !important;

  background: #ffffff !important;
  border-radius: 24px !important;
  overflow: hidden !important;
  border: 1px solid rgba(16,32,38,0.08) !important;
  box-shadow: 0 14px 34px rgba(16,32,38,0.08) !important;

  display: flex !important;
  flex-direction: column !important;
  box-sizing: border-box !important;
}

/* Même style d'image pour les articles chargés au scroll */
body.archive.category .site-main .infinite-wrap article.ast-article-post .post-thumb,
body.archive.category .site-main .infinite-wrap article.ast-article-post .post-thumb-img-content,
body.archive.category .site-main .infinite-wrap article.ast-article-post .ast-blog-featured-section {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  background: #e9eeee !important;
}

body.archive.category .site-main .infinite-wrap article.ast-article-post img.wp-post-image,
body.archive.category .site-main .infinite-wrap article.ast-article-post .post-thumb img,
body.archive.category .site-main .infinite-wrap article.ast-article-post .post-thumb-img-content img,
body.archive.category .site-main .infinite-wrap article.ast-article-post .ast-blog-featured-section img {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  aspect-ratio: 16 / 9 !important;
  object-fit: cover !important;
  display: block !important;
  border-radius: 0 !important;
}

/* Même style texte pour les articles chargés au scroll */
body.archive.category .site-main .infinite-wrap article.ast-article-post .entry-header,
body.archive.category .site-main .infinite-wrap article.ast-article-post .entry-content,
body.archive.category .site-main .infinite-wrap article.ast-article-post .entry-summary {
  padding-left: 20px !important;
  padding-right: 20px !important;
  box-sizing: border-box !important;
}

body.archive.category .site-main .infinite-wrap article.ast-article-post .entry-header {
  padding-top: 18px !important;
  margin: 0 !important;
}

body.archive.category .site-main .infinite-wrap article.ast-article-post .entry-title {
  display: block !important;
  font-size: 1.18rem !important;
  line-height: 1.26 !important;
  letter-spacing: -0.025em !important;
  margin: 0 0 10px !important;
  color: #102026 !important;
}

body.archive.category .site-main .infinite-wrap article.ast-article-post .entry-title a {
  color: #102026 !important;
  text-decoration: none !important;
}

/* Date / méta discrète */
body.archive.category .site-main .infinite-wrap article.ast-article-post .entry-meta {
  display: block !important;
  font-size: 0.76rem !important;
  line-height: 1.4 !important;
  color: #7c898d !important;
  margin: 0 0 12px !important;
  opacity: 0.75 !important;
}

body.archive.category .site-main .infinite-wrap article.ast-article-post .entry-meta .cat-links,
body.archive.category .site-main .infinite-wrap article.ast-article-post .entry-meta .tags-links,
body.archive.category .site-main .infinite-wrap article.ast-article-post .entry-meta .comments-link,
body.archive.category .site-main .infinite-wrap article.ast-article-post .entry-meta .byline,
body.archive.category .site-main .infinite-wrap article.ast-article-post .entry-meta .author,
body.archive.category .site-main .infinite-wrap article.ast-article-post .entry-meta .vcard {
  display: none !important;
}

/* Extrait limité */
body.archive.category .site-main .infinite-wrap article.ast-article-post .entry-content,
body.archive.category .site-main .infinite-wrap article.ast-article-post .entry-summary {
  font-size: 0.95rem !important;
  line-height: 1.62 !important;
  color: #4d5d62 !important;
  padding-bottom: 22px !important;
  margin: 0 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

/* Responsive Infinite Scroll */
@media (max-width: 980px) {
  body.archive.category .site-main > .infinite-wrap,
  body.archive.category .site-main .infinite-wrap {
    grid-template-columns: repeat(2, minmax(240px, 1fr)) !important;
    gap: 22px !important;
  }
}

@media (max-width: 640px) {
  body.archive.category .site-main > .infinite-wrap,
  body.archive.category .site-main .infinite-wrap {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
}
/* =========================================================
   TVCapFerret — Titre éditorial premium pages catégories
   Catégorie centrée + description séparée
========================================================= */

/* Bloc visuel global */
body.archive.category .site-main::before {
  content: "";
  display: block !important;
  margin: 28px 0 0 !important;
  padding: 34px 36px 10px !important;
  border-radius: 28px 28px 0 0 !important;
  background: linear-gradient(135deg, #102026 0%, #164d58 55%, #247483 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 18px 45px rgba(0,0,0,0.14) !important;
  box-sizing: border-box !important;
}

/* Titre catégorie */
body.archive.category .site-main::after {
  display: block !important;
  margin: 0 0 28px !important;
  padding: 0 36px 34px !important;
  border-radius: 0 0 28px 28px !important;
  background: linear-gradient(135deg, #102026 0%, #164d58 55%, #247483 100%) !important;
  color: rgba(255,255,255,0.9) !important;
  box-shadow: 0 18px 45px rgba(0,0,0,0.14) !important;
  text-align: center !important;
  font-size: 1.05rem !important;
  line-height: 1.6 !important;
  box-sizing: border-box !important;
}

/* Culture */
body.archive.category-culture .site-main::before {
  content: "Culture";
  text-align: center !important;
  font-size: clamp(2.2rem, 4vw, 3.4rem) !important;
  line-height: 1.05 !important;
  font-weight: 800 !important;
  letter-spacing: -0.045em !important;
}

body.archive.category-culture .site-main::after {
  content: "Concerts, spectacles, expositions, rencontres et vie culturelle autour du Bassin d’Arcachon.";
}

/* Patrimoine */
body.archive.category-patrimoine .site-main::before {
  content: "Patrimoine";
  text-align: center !important;
  font-size: clamp(2.2rem, 4vw, 3.4rem) !important;
  line-height: 1.05 !important;
  font-weight: 800 !important;
  letter-spacing: -0.045em !important;
}

body.archive.category-patrimoine .site-main::after {
  content: "Histoires, lieux, mémoire locale, villages et récits du Bassin d’Arcachon.";
}

/* Environnement */
body.archive.category-environnement .site-main::before {
  content: "Environnement";
  text-align: center !important;
  font-size: clamp(2.2rem, 4vw, 3.4rem) !important;
  line-height: 1.05 !important;
  font-weight: 800 !important;
  letter-spacing: -0.045em !important;
}

body.archive.category-environnement .site-main::after {
  content: "Littoral, forêt, biodiversité, érosion, climat et grands enjeux naturels du Bassin.";
}

/* Sport */
body.archive.category-sport .site-main::before {
  content: "Sport";
  text-align: center !important;
  font-size: clamp(2.2rem, 4vw, 3.4rem) !important;
  line-height: 1.05 !important;
  font-weight: 800 !important;
  letter-spacing: -0.045em !important;
}

body.archive.category-sport .site-main::after {
  content: "Clubs, événements, compétitions et pratiques sportives autour du Bassin et de la Presqu’île.";
}

/* Actualités */
body.archive.category-actualite .site-main::before,
body.archive.category-actualites .site-main::before {
  content: "Actualités";
  text-align: center !important;
  font-size: clamp(2.2rem, 4vw, 3.4rem) !important;
  line-height: 1.05 !important;
  font-weight: 800 !important;
  letter-spacing: -0.045em !important;
}

body.archive.category-actualite .site-main::after,
body.archive.category-actualites .site-main::after {
  content: "Les dernières informations locales publiées par TVCapFerret sur le Bassin d’Arcachon.";
}

/* Mobile */
@media (max-width: 640px) {
  body.archive.category .site-main::before {
    margin: 18px 0 0 !important;
    padding: 26px 22px 8px !important;
    border-radius: 22px 22px 0 0 !important;
  }

  body.archive.category .site-main::after {
    margin: 0 0 22px !important;
    padding: 0 22px 26px !important;
    border-radius: 0 0 22px 22px !important;
    font-size: 0.98rem !important;
    line-height: 1.58 !important;
  }

  body.archive.category-culture .site-main::before,
  body.archive.category-patrimoine .site-main::before,
  body.archive.category-environnement .site-main::before,
  body.archive.category-sport .site-main::before,
  body.archive.category-actualite .site-main::before,
  body.archive.category-actualites .site-main::before {
    font-size: 2.1rem !important;
  }
}
.tvcf-topline__center {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex: 1;
  min-width: 0;
}

.tvcf-topline__nav {
  display: flex;
  align-items: center;
  gap: 26px;
  min-width: 0;
  white-space: nowrap;
}

.tvcf-topline__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-shrink: 0;
  white-space: nowrap;
}

.tvcf-topline__nav-video {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(15, 42, 77, 0.28);
  border-radius: 999px;
  background: #ffffff;
  color: #10233f;
  font-weight: 800;
  font-size: 15px;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(15, 42, 77, 0.06);
}

.tvcf-topline__nav-video:hover {
  background: #f6f8fb;
  color: #10233f;
  text-decoration: none;
}

.tvcf-video-icon {
  font-size: 14px;
  transform: translateY(1px);
}

.tvcf-topline__nav-radio {
  margin-left: 0;
}

.tvcf-topline__langs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 12px;
}
/* =========================================================
   TVCapFerret — Header actions propre
   Vidéos + radio + langues alignés à droite
========================================================= */

@media screen and (min-width:1025px){

  .tvcf-topline__center{
    display:flex !important;
    align-items:center !important;
    justify-content:flex-end !important;
    gap:22px !important;
    width:100% !important;
    min-width:0 !important;
  }

  .tvcf-topline__nav{
    display:flex !important;
    align-items:center !important;
    justify-content:flex-end !important;
    flex:1 1 auto !important;
    gap:18px !important;
    min-width:0 !important;
    white-space:nowrap !important;
  }

  .tvcf-topline__actions{
    display:flex !important;
    align-items:center !important;
    justify-content:flex-end !important;
    flex:0 0 auto !important;
    gap:10px !important;
    white-space:nowrap !important;
    margin-left:0 !important;
  }

  /* Pastille Vidéos maintenant dans actions, plus dans nav */
  .tvcf-topline__actions .tvcf-topline__nav-video{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:8px !important;

    height:42px !important;
    min-height:42px !important;
    max-height:42px !important;
    padding:0 18px !important;

    border-radius:999px !important;
    border:1px solid rgba(16,36,53,.30) !important;
    background:#ffffff !important;
    color:#102435 !important;

    font-size:15px !important;
    font-weight:850 !important;
    line-height:1 !important;
    text-decoration:none !important;

    box-shadow:0 2px 8px rgba(16,36,53,.06) !important;
    transform:none !important;
  }

  .tvcf-topline__actions .tvcf-topline__nav-video:hover,
  .tvcf-topline__actions .tvcf-topline__nav-video:focus{
    background:#102435 !important;
    color:#ffffff !important;
    border-color:#102435 !important;
    text-decoration:none !important;
  }

  .tvcf-topline__actions .tvcf-video-icon,
  .tvcf-topline__actions .tvcf-topline__video-icon{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:auto !important;
    height:auto !important;
    min-width:0 !important;
    min-height:0 !important;
    background:transparent !important;
    color:inherit !important;
    border-radius:0 !important;
    box-shadow:none !important;
    font-size:14px !important;
    line-height:1 !important;
    transform:translateY(1px) !important;
  }

  /* Radio maintenant dans actions */
  .tvcf-topline__actions .tvcf-topline__nav-radio,
  .tvcf-topline__actions button.tvcf-topline__nav-radio{
    appearance:none !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    flex-direction:row !important;
    gap:7px !important;

    width:auto !important;
    min-width:76px !important;
    height:42px !important;
    min-height:42px !important;
    max-height:42px !important;

    padding:4px 10px 4px 7px !important;
    margin:0 !important;

    border-radius:999px !important;
    border:1px solid rgba(181,138,59,.30) !important;
    background:#ffffff !important;
    color:#102435 !important;

    box-shadow:none !important;
    cursor:pointer !important;

    position:static !important;
    top:auto !important;
    right:auto !important;
    bottom:auto !important;
    left:auto !important;
    transform:none !important;
  }

  .tvcf-topline__actions .tvcf-topline__nav-radio:hover,
  .tvcf-topline__actions .tvcf-topline__nav-radio:focus,
  .tvcf-topline__actions .tvcf-topline__nav-radio.is-playing{
    background:#102435 !important;
    color:#ffffff !important;
    border-color:#102435 !important;
  }

  .tvcf-topline__actions .tvcf-topline__radio-logo{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    flex:0 0 30px !important;

    width:30px !important;
    height:30px !important;
    min-width:30px !important;
    min-height:30px !important;

    border-radius:999px !important;
    overflow:hidden !important;
    background:#ffffff !important;
    border:1px solid rgba(181,138,59,.28) !important;
  }

  .tvcf-topline__actions .tvcf-topline__radio-logo img{
    display:block !important;
    width:100% !important;
    height:100% !important;
    max-width:100% !important;
    max-height:100% !important;
    object-fit:cover !important;
  }

  .tvcf-topline__actions .tvcf-topline__radio-play{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    flex:0 0 22px !important;

    width:22px !important;
    height:22px !important;
    min-width:22px !important;
    min-height:22px !important;

    border-radius:999px !important;
    background:#102435 !important;
    color:#ffffff !important;

    font-size:9px !important;
    line-height:1 !important;
    padding-left:1px !important;
  }

  .tvcf-topline__actions .tvcf-topline__nav-radio:hover .tvcf-topline__radio-play,
  .tvcf-topline__actions .tvcf-topline__nav-radio:focus .tvcf-topline__radio-play{
    background:#b58a3b !important;
  }

  .tvcf-topline__actions .tvcf-topline__nav-radio.is-playing .tvcf-topline__radio-play{
    background:#16a34a !important;
  }

  .tvcf-topline__actions .tvcf-topline__langs{
    display:flex !important;
    align-items:center !important;
    gap:8px !important;
    margin-left:10px !important;
    padding-left:0 !important;
  }
}
/* =========================================================
   TVCapFerret — Descendre légèrement les boutons actions header
========================================================= */

@media screen and (min-width:1025px){

  .tvcf-topline__actions .tvcf-topline__nav-video,
  .tvcf-topline__actions .tvcf-topline__nav-radio{
    position:relative !important;
    top:7px !important;
    transform:none !important;
  }

}
/* =========================================================
   TVCapFerret — Ajustement vertical spécifique bouton radio
========================================================= */

@media screen and (min-width:1025px){

  .tvcf-topline__actions button#tvcfHeaderRadioBtn.tvcf-topline__nav-radio,
  .tvcf-topline__actions button#tvcfHeaderRadioBtn.tvcf-topline__nav-radio--compact{
    position:relative !important;
    top:7px !important;
    transform:none !important;
    margin-top:0 !important;
    margin-bottom:0 !important;
  }

}