

/* ==========================================================
   NAVIGATION NATIVE ROSIE — suppression définitive
   ========================================================== */
body.single-post .pfbn-hide-old-nav{
  display:none!important;
  visibility:hidden!important;
  opacity:0!important;
  pointer-events:none!important;
  width:0!important;
  height:0!important;
  min-width:0!important;
  min-height:0!important;
  max-width:0!important;
  max-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  overflow:hidden!important;
}

/* Sélecteurs usuels Rosie / WordPress en sécurité supplémentaire. */
body.single-post .post-navigation,
body.single-post .single-post-navigation,
body.single-post .nav-previous,
body.single-post .nav-next,
body.single-post [class*="post-navigation"]:not(.pfbn-banner-nav),
body.single-post [class*="single-navigation"]:not(.pfbn-banner-nav){
  display:none!important;
}

html:has(.pfb-single-news),
body:has(.pfb-single-news){
  max-width:100%!important;
  overflow-x:hidden!important;
}

.pfb-single-news,
.pfb-single-news *{
  box-sizing:border-box;
}

.pfb-single-news{
  --bg:#05070a;
  --bg2:#080d14;
  --panel:#0d1621;
  --white:#fff;
  --text:#d7dee7;
  --muted:#96a2b0;
  --red:#df2631;
  --red2:#a8131c;
  --gold:#d9b65d;
  --gold2:#f2da89;
  --blue:#174d91;
  --line:rgba(255,255,255,.10);

  position:relative!important;
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
  background:#05070a!important;
  color:var(--text)!important;
  font-family:Inter,"Segoe UI",Arial,sans-serif;
}

.pfb-single-news a{
  text-decoration:none;
}

/* ==========================================================
   BARRE DE PROGRESSION — HORS DU CONTENEUR DU THÈME
   ========================================================== */

#pfbn-reading-progress-track{
  position:fixed!important;
  left:0!important;
  right:0!important;
  top:var(--pfbn-progress-top,0px)!important;
  width:100vw!important;
  height:6px!important;
  z-index:2147483647!important;
  overflow:hidden!important;
  background:rgba(3,6,10,.58)!important;
  box-shadow:0 1px 0 rgba(255,255,255,.12),0 2px 10px rgba(0,0,0,.24)!important;
  pointer-events:none!important;
  opacity:1!important;
  visibility:visible!important;
  transition:top .08s linear;
}

#pfbn-reading-progress{
  display:block!important;
  width:100%!important;
  height:100%!important;
  transform:scaleX(0);
  transform-origin:0 50%;
  background:linear-gradient(
    90deg,
    #174d91 0%,
    #4da7ff 18%,
    #ffffff 34%,
    #df2631 64%,
    #ff5160 76%,
    #d9b65d 100%
  )!important;
  box-shadow:
    0 0 12px rgba(255,255,255,.42),
    0 0 19px rgba(223,38,49,.46)!important;
  will-change:transform;
}



@media(max-width:782px){
  
}

/* ==========================================================
   BANNIÈRE NATIVE ROSIE — ELLE EST DÉSORMAIS SUPPRIMÉE EN BLOC
   ========================================================== */

.pfbn-rosie-banner-hidden{
  display:none!important;
  visibility:hidden!important;
  height:0!important;
  min-height:0!important;
  max-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  overflow:hidden!important;
}

/* ==========================================================
   NOTRE BANNIÈRE PFB — NOIRE, SANS POINTE, SANS BANDE BLANCHE
   ========================================================== */

.pfb-single-news .pfbn-article-banner{
  position:relative;
  min-height:360px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  isolation:isolate;
  background-image:var(--pfbn-banner-image);
  background-position:center;
  background-size:cover;
  background-repeat:no-repeat;
  margin:0!important;
  padding:0!important;
  border:0!important;
}

.pfb-single-news .pfbn-banner-overlay{
  position:absolute;
  inset:0;
  z-index:0;
  background:
    linear-gradient(90deg,rgba(0,0,0,.58),rgba(0,0,0,.38) 48%,rgba(0,0,0,.55)),
    linear-gradient(180deg,rgba(0,0,0,.30),rgba(0,0,0,.50));
  pointer-events:none;
}

.pfb-single-news .pfbn-banner-inner{
  position:relative;
  z-index:2;
  width:min(1080px,calc(100% - 150px));
  margin:auto;
  text-align:center;
}

.pfb-single-news .pfbn-banner-kicker{
  margin-bottom:12px;
  color:var(--gold2);
  font-size:9px;
  font-weight:900;
  letter-spacing:2.5px;
  text-transform:uppercase;
  text-shadow:0 2px 8px rgba(0,0,0,.9);
}

.pfb-single-news .pfbn-banner-title{
  max-width:1050px;
  margin:0 auto!important;
  color:#fff!important;
  font-size:clamp(30px,3.3vw,48px)!important;
  line-height:1.06!important;
  font-weight:800!important;
  letter-spacing:-.035em!important;
  text-shadow:0 3px 18px rgba(0,0,0,.95);
}

.pfb-single-news .pfbn-banner-meta{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  align-items:center;
  gap:9px;
  margin-top:16px;
  color:rgba(255,255,255,.82);
  font-size:9px;
  font-weight:800;
  letter-spacing:.55px;
  text-transform:uppercase;
  text-shadow:0 2px 8px rgba(0,0,0,.9);
}

.pfb-single-news .pfbn-banner-meta .dot{
  width:4px;
  height:4px;
  border-radius:50%;
  background:var(--red);
}

/* Navigation compacte : 50 px, indépendante du thème */
.pfb-single-news .pfbn-banner-nav{
  position:absolute;
  inset:0;
  z-index:4;
  pointer-events:none;
}

.pfb-single-news .pfbn-banner-arrow{
  position:absolute;
  top:50%;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:50px!important;
  min-width:50px!important;
  max-width:50px!important;
  height:50px!important;
  min-height:50px!important;
  max-height:50px!important;
  margin:0!important;
  padding:0 0 3px!important;
  transform:translateY(-50%);
  border:1px solid rgba(255,255,255,.78)!important;
  border-radius:50%!important;
  background:rgba(3,6,10,.74)!important;
  color:#fff!important;
  font-size:28px!important;
  line-height:1!important;
  font-weight:500!important;
  text-align:center!important;
  box-shadow:0 10px 28px rgba(0,0,0,.42)!important;
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
  text-shadow:0 2px 8px rgba(0,0,0,.95)!important;
  pointer-events:auto!important;
  transition:background .22s ease,border-color .22s ease,transform .22s ease!important;
}

.pfb-single-news .pfbn-banner-arrow:hover{
  background:rgba(223,38,49,.92)!important;
  border-color:#fff!important;
  color:#fff!important;
}

.pfb-single-news .pfbn-prev{
  left:22px;
}

.pfb-single-news .pfbn-next{
  right:22px;
}

.pfb-single-news .pfbn-prev:hover{
  transform:translateY(-50%) translateX(-2px);
}

.pfb-single-news .pfbn-next:hover{
  transform:translateY(-50%) translateX(2px);
}

/* Ligne = directement après la bannière. Aucun espace intermédiaire. */
.pfb-single-news .pfbn-topline{
  position:relative;
  z-index:5;
  width:100%;
  height:3px;
  margin:0!important;
  padding:0!important;
  background:linear-gradient(
    90deg,
    #174d91 0%,
    #4da7ff 17%,
    #fff 32%,
    #df2631 63%,
    #ff5160 76%,
    #d9b65d 100%
  );
  background-size:220% 100%;
  animation:pfbnLine 5s linear infinite;
  box-shadow:0 0 10px rgba(255,255,255,.15);
}

@keyframes pfbnLine{
  0%{background-position:0 50%}
  50%{background-position:100% 50%}
  100%{background-position:0 50%}
}

/* ==========================================================
   TEMPLATE PREMIUM
   ========================================================== */

.pfb-single-news .pfbn-wrap{
  width:min(1320px,calc(100% - 48px));
  margin:0 auto;
}

.pfb-single-news .pfbn-hero{
  position:relative;
  min-height:620px;
  display:flex;
  align-items:center;
  padding:72px 0 82px;
  overflow:hidden;
  background:
    radial-gradient(circle at 12% 12%,rgba(23,77,145,.18),transparent 28%),
    radial-gradient(circle at 88% 18%,rgba(223,38,49,.14),transparent 26%),
    linear-gradient(180deg,#05070a,#080d14);
}

.pfb-single-news .pfbn-hero:before{
  content:"NEWS";
  position:absolute;
  right:-2vw;
  bottom:-1vw;
  color:rgba(255,255,255,.023);
  font-size:clamp(170px,28vw,430px);
  font-weight:900;
  line-height:.72;
  letter-spacing:-.08em;
  pointer-events:none;
}

.pfb-single-news .pfbn-hero-grid{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(380px,.82fr);
  gap:clamp(42px,6vw,88px);
  align-items:center;
}

.pfb-single-news .pfbn-back{
  display:inline-flex;
  align-items:center;
  gap:9px;
  margin-bottom:28px;
  color:#fff!important;
  font-size:10px;
  font-weight:900;
  letter-spacing:1.5px;
  text-transform:uppercase;
  opacity:.82;
}

.pfb-single-news .pfbn-kicker{
  display:flex;
  align-items:center;
  gap:12px;
  margin:0 0 19px;
  color:var(--gold2);
  font-size:10px;
  font-weight:900;
  letter-spacing:2.8px;
  text-transform:uppercase;
}

.pfb-single-news .pfbn-kicker:before{
  content:"";
  width:37px;
  height:1px;
  background:linear-gradient(90deg,var(--red),var(--gold));
}

.pfb-single-news .pfbn-title{
  max-width:850px;
  margin:0!important;
  color:#fff!important;
  font-size:clamp(44px,5.8vw,82px)!important;
  line-height:.98!important;
  font-weight:900!important;
  letter-spacing:-.05em!important;
}

.pfb-single-news .pfbn-meta{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px;
  margin-top:28px;
  color:#9aa6b5;
  font-size:10px;
  font-weight:800;
  letter-spacing:.7px;
  text-transform:uppercase;
}

.pfb-single-news .pfbn-meta .dot{
  width:4px;
  height:4px;
  border-radius:50%;
  background:var(--red);
}

.pfb-single-news .pfbn-lead{
  max-width:760px;
  margin:26px 0 0!important;
  color:#bac4d0!important;
  font-size:17px;
  line-height:1.75;
}

.pfb-single-news .pfbn-hero-media{
  position:relative;
  min-height:470px;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:30px;
  background:#0a111a;
  box-shadow:0 34px 90px rgba(0,0,0,.34);
}

.pfb-single-news .pfbn-hero-media:after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(0deg,rgba(5,7,10,.30),transparent 45%);
}

.pfb-single-news .pfbn-hero-media img{
  width:100%;
  height:100%;
  min-height:470px;
  object-fit:cover;
}

.pfb-single-news .pfbn-fallback{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  background-size:cover;
  background-position:center;
}

.pfb-single-news .pfbn-fallback:before{
  content:"PFB";
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  color:rgba(255,255,255,.025);
  font-size:260px;
  font-weight:900;
  letter-spacing:-.08em;
}

.pfb-single-news .pfbn-fallback-inner{
  position:relative;
  z-index:2;
  text-align:center;
}

.pfb-single-news .pfbn-fallback-inner img{
  width:175px;
  max-height:175px;
  object-fit:contain;
  margin:auto;
}

.pfb-single-news .pfbn-fallback-inner span{
  display:block;
  margin-top:18px;
  color:#fff;
  font-size:9px;
  font-weight:900;
  letter-spacing:2.2px;
  text-transform:uppercase;
}

.pfb-single-news .pfbn-main{
  padding:clamp(76px,8vw,120px) 0;
  background:
    radial-gradient(circle at 90% 8%,rgba(217,182,93,.045),transparent 25%),
    #080d14;
}

.pfb-single-news .pfbn-content-grid{
  display:grid;
  grid-template-columns:minmax(0,860px) minmax(240px,300px);
  gap:clamp(45px,7vw,90px);
  justify-content:center;
  align-items:start;
}

.pfb-single-news .pfbn-article{
  min-width:0;
  color:#d7dee7;
  font-size:17px;
  line-height:1.9;
}

.pfb-single-news .pfbn-article>p:first-of-type{
  font-size:20px;
  line-height:1.8;
  color:#eef2f6;
}

.pfb-single-news .pfbn-article p{
  margin:0 0 25px!important;
  color:#c6cfda!important;
}

.pfb-single-news .pfbn-article h2,
.pfb-single-news .pfbn-article h3,
.pfb-single-news .pfbn-article h4{
  color:#fff!important;
  font-weight:900!important;
  letter-spacing:-.035em!important;
}

.pfb-single-news .pfbn-article h2{
  margin:58px 0 22px!important;
  font-size:clamp(31px,3.5vw,48px)!important;
  line-height:1.05!important;
}

.pfb-single-news .pfbn-article h3{
  margin:42px 0 18px!important;
  font-size:clamp(25px,2.5vw,34px)!important;
  line-height:1.1!important;
}

.pfb-single-news .pfbn-article h4{
  margin:34px 0 15px!important;
  font-size:22px!important;
}

.pfb-single-news .pfbn-article a{
  color:#fff!important;
  text-decoration:underline;
  text-decoration-color:rgba(223,38,49,.7);
  text-underline-offset:4px;
}

.pfb-single-news .pfbn-article strong{
  color:#fff!important;
}

.pfb-single-news .pfbn-article img{
  display:block;
  width:auto;
  max-width:100%;
  margin:38px auto;
  border-radius:20px;
  box-shadow:0 22px 65px rgba(0,0,0,.30);
}

.pfb-single-news .pfbn-article figure{
  max-width:100%!important;
  margin:38px auto!important;
}

.pfb-single-news .pfbn-article figcaption{
  margin-top:10px;
  color:#7f8b99;
  font-size:12px;
  text-align:center;
}

.pfb-single-news .pfbn-article blockquote{
  margin:42px 0!important;
  padding:28px 30px!important;
  border-left:3px solid var(--red)!important;
  border-radius:0 18px 18px 0;
  background:rgba(255,255,255,.035);
  color:#fff!important;
  font-size:20px;
  line-height:1.65;
}

.pfb-single-news .pfbn-article ul,
.pfb-single-news .pfbn-article ol{
  margin:24px 0 30px 23px!important;
  padding:0!important;
}

.pfb-single-news .pfbn-article li{
  margin-bottom:10px;
}

.pfb-single-news .pfbn-article table{
  width:100%;
  margin:35px 0;
  border-collapse:separate;
  border-spacing:0;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:16px;
  background:#0b121c;
}

.pfb-single-news .pfbn-article th,
.pfb-single-news .pfbn-article td{
  padding:15px;
  border-bottom:1px solid var(--line);
  color:#d8dee7;
}

.pfb-single-news .pfbn-article th{
  color:#fff;
  background:#111c2a;
  text-align:left;
}

.pfb-single-news .pfbn-aside{
  position:sticky;
  top:105px;
}

.pfb-single-news .pfbn-sidebox{
  padding:26px;
  border:1px solid var(--line);
  border-radius:24px;
  background:linear-gradient(145deg,rgba(255,255,255,.045),rgba(255,255,255,.014));
}

.pfb-single-news .pfbn-sidebox+.pfbn-sidebox{
  margin-top:18px;
}

.pfb-single-news .pfbn-side-label{
  color:var(--gold2);
  font-size:9px;
  font-weight:900;
  letter-spacing:2px;
  text-transform:uppercase;
}

.pfb-single-news .pfbn-sidebox h3{
  margin:10px 0!important;
  color:#fff!important;
  font-size:24px!important;
  line-height:1.08!important;
}

.pfb-single-news .pfbn-sidebox p{
  margin:0;
  color:#98a4b2;
  font-size:13px;
  line-height:1.7;
}

.pfb-single-news .pfbn-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  margin-top:18px;
  padding:0 20px;
  border-radius:999px;
  background:linear-gradient(135deg,var(--red),var(--red2));
  color:#fff!important;
  font-size:9px;
  font-weight:900;
  letter-spacing:1px;
  text-transform:uppercase;
  box-shadow:0 14px 30px rgba(223,38,49,.18);
}

.pfb-single-news .pfbn-share{
  display:flex;
  gap:9px;
  flex-wrap:wrap;
  margin-top:18px;
}

.pfb-single-news .pfbn-share a,
.pfb-single-news .pfbn-share button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:40px;
  padding:0 13px;
  border:1px solid var(--line);
  border-radius:999px;
  background:rgba(255,255,255,.035);
  color:#fff!important;
  font-size:9px;
  font-weight:900;
  letter-spacing:.7px;
  text-transform:uppercase;
  cursor:pointer;
}

.pfb-single-news .pfbn-related{
  padding:95px 0 120px;
  border-top:1px solid rgba(255,255,255,.06);
  background:#05070a;
}

.pfb-single-news .pfbn-related-head{
  display:flex;
  justify-content:space-between;
  gap:30px;
  align-items:end;
  margin-bottom:38px;
}

.pfb-single-news .pfbn-related-head h2{
  margin:0!important;
  color:#fff!important;
  font-size:clamp(36px,5vw,64px)!important;
  line-height:.98!important;
  font-weight:900!important;
  letter-spacing:-.045em!important;
}

.pfb-single-news .pfbn-related-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}

.pfb-single-news .pfbn-card{
  display:flex;
  flex-direction:column;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:24px;
  background:linear-gradient(145deg,#0d1621,#070b11);
  transition:.3s;
}

.pfb-single-news .pfbn-card:hover{
  transform:translateY(-6px);
  border-color:rgba(223,38,49,.35);
}

.pfb-single-news .pfbn-card-media{
  position:relative;
  display:block;
  aspect-ratio:16/10;
  overflow:hidden;
  background:#0a1018;
}

.pfb-single-news .pfbn-card-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:.55s;
}

.pfb-single-news .pfbn-card:hover .pfbn-card-media img{
  transform:scale(1.035);
}

.pfb-single-news .pfbn-card-fallback{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  background:
    radial-gradient(circle at 15% 15%,rgba(23,77,145,.38),transparent 30%),
    radial-gradient(circle at 88% 15%,rgba(223,38,49,.28),transparent 28%),
    linear-gradient(145deg,#09121d,#040608);
}

.pfb-single-news .pfbn-card-fallback img{
  width:105px!important;
  height:auto!important;
  object-fit:contain!important;
}

.pfb-single-news .pfbn-card-body{
  padding:25px;
}

.pfb-single-news .pfbn-card-date{
  color:var(--gold2);
  font-size:9px;
  font-weight:900;
  letter-spacing:1.5px;
  text-transform:uppercase;
}

.pfb-single-news .pfbn-card h3{
  margin:11px 0 0!important;
  color:#fff!important;
  font-size:23px!important;
  line-height:1.08!important;
  font-weight:900!important;
}

.pfb-single-news .pfbn-card h3 a{
  color:#fff!important;
}

.pfb-single-news .pfbn-final{
  padding:0 0 110px;
  background:#05070a;
}

.pfb-single-news .pfbn-finalbox{
  padding:clamp(40px,6vw,72px);
  border:1px solid var(--line);
  border-radius:34px;
  text-align:center;
  background:
    radial-gradient(circle at 5% 100%,rgba(23,77,145,.22),transparent 33%),
    radial-gradient(circle at 95% 0,rgba(223,38,49,.20),transparent 32%),
    linear-gradient(145deg,#0c1725,#070b11);
}

.pfb-single-news .pfbn-finalbox h2{
  max-width:850px;
  margin:0 auto!important;
  color:#fff!important;
  font-size:clamp(36px,5vw,66px)!important;
  line-height:.99!important;
  font-weight:900!important;
  letter-spacing:-.045em!important;
}

.pfb-single-news .pfbn-final-btns{
  display:flex;
  justify-content:center;
  gap:12px;
  flex-wrap:wrap;
  margin-top:28px;
}

.pfb-single-news .pfbn-final-btns a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:50px;
  padding:0 23px;
  border-radius:999px;
  color:#fff!important;
  font-size:9px;
  font-weight:900;
  letter-spacing:1px;
  text-transform:uppercase;
}

.pfb-single-news .pfbn-final-btns .red{
  background:linear-gradient(135deg,var(--red),var(--red2));
}

.pfb-single-news .pfbn-final-btns .ghost{
  border:1px solid rgba(255,255,255,.18);
  background:rgba(255,255,255,.04);
}

@media(max-width:1050px){
  .pfb-single-news .pfbn-hero-grid,
  .pfb-single-news .pfbn-content-grid{
    grid-template-columns:1fr;
  }

  .pfb-single-news .pfbn-aside{
    position:static;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:16px;
  }

  .pfb-single-news .pfbn-sidebox+.pfbn-sidebox{
    margin-top:0;
  }

  .pfb-single-news .pfbn-related-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media(max-width:700px){
  .pfb-single-news .pfbn-wrap{
    width:calc(100% - 28px);
  }

  .pfb-single-news .pfbn-article-banner{
    min-height:310px;
  }

  .pfb-single-news .pfbn-banner-inner{
    width:calc(100% - 120px);
  }

  .pfb-single-news .pfbn-banner-arrow{
    width:44px!important;
    min-width:44px!important;
    max-width:44px!important;
    height:44px!important;
    min-height:44px!important;
    max-height:44px!important;
    font-size:24px!important;
  }

  .pfb-single-news .pfbn-prev{
    left:10px;
  }

  .pfb-single-news .pfbn-next{
    right:10px;
  }

  .pfb-single-news .pfbn-hero{
    min-height:0;
    padding:55px 0 68px;
  }

  .pfb-single-news .pfbn-title{
    font-size:clamp(40px,12vw,62px)!important;
  }

  .pfb-single-news .pfbn-hero-media{
    min-height:310px;
    border-radius:22px;
  }

  .pfb-single-news .pfbn-hero-media img{
    min-height:310px;
  }

  .pfb-single-news .pfbn-aside{
    grid-template-columns:1fr;
  }

  .pfb-single-news .pfbn-related-grid{
    grid-template-columns:1fr;
  }

  .pfb-single-news .pfbn-related-head{
    align-items:flex-start;
    flex-direction:column;
  }
}

@media(prefers-reduced-motion:reduce){
  .pfb-single-news *,
  .pfb-single-news *:before,
  .pfb-single-news *:after{
    animation:none!important;
    transition:none!important;
  }
}
