
/* YAARU BLOG / ACTUALITÉS 3.3.43
   Design éditorial isolé du home pour éviter toute régression. */
body.yaaru-theme.page-template-default:has(.yb-main),
body.yaaru-theme.single-post,
body.yaaru-theme.archive,
body.yaaru-theme.search{background:#fbf8f1;color:#173a31}
.yb-shell{width:min(1180px,calc(100% - 40px));margin-inline:auto}
.yb-header{position:sticky;top:0;z-index:60;background:rgba(251,248,241,.94);backdrop-filter:blur(14px);border-bottom:1px solid rgba(23,58,49,.08)}
.yb-header>.yb-shell{min-height:78px;display:grid;grid-template-columns:auto 1fr auto;gap:28px;align-items:center}
.yb-brand{display:inline-flex;align-items:center;text-decoration:none}
.yb-brand .st-logo-img{width:auto;max-width:138px;max-height:54px;object-fit:contain}
.yb-nav{justify-self:center;display:flex;align-items:center;gap:8px;padding:5px;border:1px solid rgba(23,58,49,.08);border-radius:999px;background:#fff}
.yb-nav a{padding:10px 14px;border-radius:999px;color:#39534b;text-decoration:none;font:600 .88rem/1 "Fredoka","Public Sans",sans-serif}
.yb-nav a:hover,.yb-nav a.is-active{background:#f4ebdc;color:#173a31}
.yb-header-cta,.yb-btn{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 19px;border-radius:12px;text-decoration:none;font-weight:700}
.yb-header-cta,.yb-btn-primary{background:#173a31;color:#fff!important}
.yb-main,.yb-article-main{overflow:hidden}
.yb-hero{padding:78px 0 64px;background:linear-gradient(145deg,#f7ecd9 0%,#fbf8f1 58%,#edf5ef 100%)}
.yb-hero-inner{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(290px,.55fr);gap:70px;align-items:end}
.yb-kicker{margin:0 0 12px;text-transform:uppercase;letter-spacing:.13em;font:700 .76rem/1.3 "Fredoka","Public Sans",sans-serif;color:#b46d37}
.yb-hero h1,.yb-article-head h1,.yb-section-head h2,.yb-newsletter h2{font-family:"Fraunces",Georgia,serif;letter-spacing:-.025em}
.yb-hero h1{font-size:clamp(3rem,5.3vw,5.6rem);line-height:.98;max-width:12.5ch;margin:0}
.yb-hero-copy>p:last-child{font-size:1.08rem;line-height:1.75;color:#5c6b66;max-width:670px;margin-top:24px}
.yb-hero-note{padding:27px;border:1px solid rgba(23,58,49,.08);border-radius:22px;background:rgba(255,255,255,.78);box-shadow:0 18px 45px rgba(23,58,49,.07)}
.yb-hero-note span{font-size:.78rem;text-transform:uppercase;letter-spacing:.12em;color:#b46d37;font-weight:800}
.yb-hero-note strong{display:block;font-family:"Fraunces",Georgia,serif;font-size:1.8rem;line-height:1.08;margin:8px 0 10px}
.yb-hero-note p{color:#68766f;line-height:1.65;margin:0}
.yb-featured-section{padding:72px 0 36px}
.yb-featured{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(360px,.92fr);border:1px solid rgba(23,58,49,.09);border-radius:26px;overflow:hidden;background:#fff;box-shadow:0 18px 52px rgba(23,58,49,.07)}
.yb-featured-media{display:block;min-height:440px;background:#e9efe9}
.yb-featured-media img{width:100%;height:100%;object-fit:cover;display:block}
.yb-featured-copy{padding:44px;align-self:center}
.yb-meta{display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px;color:#738079;font-size:.78rem}
.yb-chip{display:inline-flex;align-items:center;min-height:28px;padding:0 10px;border-radius:999px;background:#f4ebdc;color:#7d5432;font-weight:700}
.yb-featured h2,.yb-card h3{font-family:"Fraunces",Georgia,serif}
.yb-featured h2{font-size:clamp(2rem,3vw,3.25rem);line-height:1.08;margin:18px 0 16px}
.yb-featured h2 a,.yb-card h3 a{color:#173a31;text-decoration:none}
.yb-featured-copy>p{font-size:1.02rem;line-height:1.72;color:#66736e}
.yb-readmore,.yb-card-foot a,.yb-text-link{color:#b46d37;text-decoration:none;font-weight:800}
.yb-readmore{display:inline-flex;gap:8px;margin-top:12px}
.yb-list-section{padding:52px 0 88px}
.yb-section-head{display:flex;justify-content:space-between;gap:40px;align-items:end;margin-bottom:30px}
.yb-section-head h2{font-size:clamp(2.25rem,3.8vw,3.9rem);line-height:1.02;margin:0}
.yb-section-head>p{max-width:480px;color:#6b7772;line-height:1.65}
.yb-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.yb-card{min-width:0;border:1px solid rgba(23,58,49,.09);border-radius:20px;overflow:hidden;background:#fff;box-shadow:0 10px 32px rgba(23,58,49,.045);transition:transform .2s ease,box-shadow .2s ease}
.yb-card:hover{transform:translateY(-4px);box-shadow:0 18px 44px rgba(23,58,49,.08)}
.yb-card-media{display:block;aspect-ratio:16/10;overflow:hidden;background:#e9efe9}
.yb-card-media img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s ease}
.yb-card:hover .yb-card-media img{transform:scale(1.025)}
.yb-media-fallback{display:grid;place-items:center;width:100%;height:100%;min-height:220px;background:linear-gradient(145deg,#1f4e41,#d6b482);color:#fff;font:700 2rem/1 "Fraunces",Georgia,serif}
.yb-card-body{padding:22px}
.yb-card h3{font-size:1.55rem;line-height:1.15;margin:14px 0 10px}
.yb-card-body>p{color:#68756f;line-height:1.65;margin:0}
.yb-card-foot{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-top:22px;padding-top:17px;border-top:1px solid rgba(23,58,49,.08);font-size:.8rem;color:#78847e}
.yb-pagination,.yb-pagination .nav-links{display:flex;gap:8px;justify-content:center;align-items:center;flex-wrap:wrap;margin-top:44px}
.yb-pagination a,.yb-pagination span{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 14px;border:1px solid rgba(23,58,49,.12);border-radius:10px;background:#fff;text-decoration:none;color:#173a31}
.yb-pagination .current{background:#173a31;color:#fff;border-color:#173a31}
.yb-empty{padding:44px;border:1px dashed rgba(23,58,49,.22);border-radius:20px;text-align:center;background:#fff}
.yb-empty strong{display:block;font:700 1.6rem/1.2 "Fraunces",Georgia,serif}
.yb-newsletter{padding:60px 0;background:#173a31;color:#fff}
.yb-newsletter-inner{display:flex;justify-content:space-between;align-items:center;gap:48px}
.yb-newsletter h2{font-size:clamp(2.15rem,3.3vw,3.7rem);line-height:1.03;margin:0;max-width:720px}
.yb-newsletter p{color:#cbd7d2;line-height:1.6}
.yb-actions{display:flex;gap:12px;flex-wrap:wrap}
.yb-btn-light{background:#fff;color:#173a31!important}
.yb-footer{padding:42px 0 26px;background:#09261f;color:#c9d4cf}
.yb-footer-inner{display:flex;justify-content:space-between;gap:40px;align-items:flex-end}
.yb-brand-footer .st-logo-img{max-width:155px;filter:none}
.yb-footer p{max-width:460px;color:#aebdb7}
.yb-footer-links{display:flex;gap:22px;flex-wrap:wrap}
.yb-footer-links a{color:#d3ddd9;text-decoration:none}

/* Article */
.yb-article-head{padding:72px 0 44px;background:linear-gradient(145deg,#f7ecd9,#fbf8f1)}
.yb-article-head-inner{max-width:900px;text-align:center}
.yb-back{display:inline-block;margin-bottom:28px;color:#6f7a75;text-decoration:none;font-size:.9rem}
.yb-meta-center{justify-content:center}
.yb-article-head h1{font-size:clamp(3rem,5.4vw,5.7rem);line-height:1.02;margin:22px auto 18px;max-width:15ch}
.yb-article-deck{font-size:1.16rem;line-height:1.7;color:#60706a;max-width:760px;margin:0 auto}
.yb-article-cover{margin:42px 0 0;border-radius:26px;overflow:hidden;background:#e9efe9;box-shadow:0 22px 60px rgba(23,58,49,.08)}
.yb-article-cover img{width:100%;height:auto;max-height:680px;object-fit:cover;display:block}
.yb-article-layout{display:grid;grid-template-columns:minmax(0,760px) minmax(250px,310px);gap:70px;justify-content:center;align-items:start;padding-top:58px;padding-bottom:86px}
.yb-article-content{font-size:1.08rem;line-height:1.82;color:#354b44}
.yb-article-content>*:first-child{margin-top:0}
.yb-article-content h2{font:700 clamp(1.8rem,2.7vw,2.55rem)/1.15 "Fraunces",Georgia,serif;color:#173a31;margin:2.2em 0 .65em}
.yb-article-content h3{font:700 1.35rem/1.25 "Fraunces",Georgia,serif;color:#173a31;margin:1.9em 0 .55em}
.yb-article-content p{margin:0 0 1.28em}
.yb-article-content ul,.yb-article-content ol{padding-left:1.35em;margin:0 0 1.45em}
.yb-article-content li{margin:.4em 0}
.yb-article-content a{color:#a85f2e;text-underline-offset:3px}
.yb-article-content img{border-radius:16px}
.yb-article-content .yaaru-lead{font-size:1.2em;line-height:1.65;color:#29473e}
.yb-article-content .yaaru-summary,.yb-article-content .yaaru-cta{padding:24px;border-radius:18px;background:#f3f7f4;border:1px solid rgba(23,58,49,.08);margin:30px 0}
.yb-article-content .yaaru-summary h2,.yb-article-content .yaaru-cta h2{margin-top:0}
.yb-article-content .yaaru-btn{display:inline-flex;align-items:center;min-height:44px;padding:0 16px;border-radius:10px;background:#173a31;color:#fff!important;text-decoration:none;font-weight:700;margin:4px 8px 4px 0}
.yb-article-content .yaaru-btn2{background:#e7eee9;color:#173a31!important}
.yb-article-aside{position:sticky;top:110px}
.yb-aside-card{padding:26px;border:1px solid rgba(23,58,49,.09);border-radius:20px;background:#fff;box-shadow:0 14px 36px rgba(23,58,49,.05)}
.yb-aside-card h2{font:700 1.75rem/1.12 "Fraunces",Georgia,serif;margin:8px 0 12px}
.yb-aside-card p{color:#66736d;line-height:1.65}
.yb-aside-card .yb-btn{width:100%;margin:10px 0 14px}
.yb-related{padding:70px 0 86px;background:#f4efe5}
.yb-hero-small{padding:56px 0}
.yb-hero-small h1{font-size:clamp(2.7rem,4.5vw,4.8rem);margin:0}

/* Responsive */
@media(max-width:980px){
  .yb-header>.yb-shell{grid-template-columns:auto 1fr;min-height:70px}
  .yb-nav{display:none}
  .yb-header-cta{justify-self:end}
  .yb-hero-inner,.yb-featured,.yb-article-layout{grid-template-columns:1fr}
  .yb-hero-inner{gap:28px}
  .yb-featured-media{min-height:340px}
  .yb-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .yb-article-aside{position:static}
  .yb-section-head,.yb-newsletter-inner{align-items:flex-start;flex-direction:column}
}
@media(max-width:640px){
  .yb-shell{width:min(100% - 24px,1180px)}
  .yb-header>.yb-shell{gap:12px}
  .yb-brand .st-logo-img{max-width:112px;max-height:44px}
  .yb-header-cta{min-height:40px;padding:0 12px;font-size:.78rem}
  .yb-hero{padding:50px 0 42px}
  .yb-hero h1{font-size:clamp(2.55rem,12vw,3.65rem)}
  .yb-featured-section{padding:34px 0 18px}
  .yb-featured-media{min-height:250px}
  .yb-featured-copy{padding:24px}
  .yb-grid{grid-template-columns:1fr}
  .yb-list-section{padding:36px 0 62px}
  .yb-section-head{margin-bottom:22px}
  .yb-newsletter{padding:46px 0}
  .yb-actions{display:grid;width:100%}
  .yb-btn{width:100%}
  .yb-footer-inner{align-items:flex-start;flex-direction:column}
  .yb-article-head{padding:50px 0 30px}
  .yb-article-head h1{font-size:clamp(2.55rem,11vw,3.75rem)}
  .yb-article-cover{margin-top:24px;border-radius:16px}
  .yb-article-layout{padding-top:34px;padding-bottom:58px;gap:36px}
  .yb-article-content{font-size:1.02rem}
}

/* ==========================================================================
   YAARU BLOG 3.3.44 — POLISH / DENSITÉ / CONTRASTE
   Ajustements issus de la recette desktop + mobile.
   ========================================================================== */

/* Le lien d'évitement ne doit jamais rester visible hors focus clavier. */
.yaaru-skip{
  position:fixed!important;
  left:12px!important;
  top:-80px!important;
  z-index:99999!important;
  padding:10px 14px!important;
  border-radius:10px!important;
  background:#fff!important;
  color:#173a31!important;
  box-shadow:0 8px 24px rgba(0,0,0,.14)!important;
  text-decoration:none!important;
  transition:top .15s ease!important;
}
.yaaru-skip:focus{top:12px!important}

/* Navigation : un peu plus fine, moins de hauteur visuelle. */
.yb-header>.yb-shell{min-height:68px}
.yb-brand .st-logo-img{max-height:46px}
.yb-nav a{padding:9px 13px}
.yb-header-cta{min-height:42px;padding-inline:17px}

/* Hub Actualités : rythme plus dense. */
.yb-hero{padding:54px 0 46px}
.yb-hero-inner{gap:48px}
.yb-hero h1{font-size:clamp(2.8rem,4.7vw,5rem);line-height:1.01}
.yb-hero-copy>p:last-child{margin-top:18px;line-height:1.66}
.yb-hero-note{padding:22px}
.yb-featured-section{padding:46px 0 22px}
.yb-featured-media{min-height:380px}
.yb-featured-copy{padding:34px}
.yb-featured h2{margin:14px 0 13px}
.yb-list-section{padding:38px 0 64px}
.yb-section-head{margin-bottom:24px}
.yb-grid{gap:20px}
.yb-card-body{padding:19px}
.yb-card h3{margin:11px 0 8px}
.yb-card-foot{margin-top:17px;padding-top:14px}

/* Article : moins d'espace et meilleure densité éditoriale. */
.yb-article-head{padding:48px 0 30px}
.yb-back{margin-bottom:20px}
.yb-article-head h1{
  font-size:clamp(2.65rem,4.55vw,4.85rem);
  line-height:1.025;
  margin:16px auto 14px;
  max-width:16ch;
}
.yb-article-deck{font-size:1.09rem;line-height:1.62}
.yb-article-cover{
  margin-top:28px;
  border-radius:22px;
}
.yb-article-cover img{max-height:560px}
.yb-article-layout{
  grid-template-columns:minmax(0,720px) minmax(240px,285px);
  gap:48px;
  padding-top:40px;
  padding-bottom:62px;
}
.yb-article-content{font-size:1.045rem;line-height:1.74}
.yb-article-content h2{
  margin:1.65em 0 .52em;
  font-size:clamp(1.72rem,2.35vw,2.35rem);
}
.yb-article-content h3{margin:1.55em 0 .48em}
.yb-article-content p{margin-bottom:1.05em}
.yb-article-content ul,.yb-article-content ol{margin-bottom:1.15em}
.yb-article-content .yaaru-summary,
.yb-article-content .yaaru-cta{
  padding:20px 22px;
  margin:22px 0;
}
.yb-article-aside{top:92px}
.yb-aside-card{padding:22px}
.yb-aside-card h2{font-size:1.55rem}
.yb-aside-card p{margin-bottom:10px}
.yb-aside-card .yb-btn{margin:8px 0 10px;min-height:42px}
.yb-related{padding:46px 0 58px}

/* CTA vert : correction du contraste observé en recette. */
.yb-newsletter{
  padding:42px 0;
  background:#123d33;
  color:#fff;
}
.yb-newsletter .yb-kicker{color:#f2c98f!important}
.yb-newsletter h2{
  color:#fff!important;
  text-shadow:none!important;
}
.yb-newsletter p{color:#e0ebe7!important}
.yb-newsletter .yb-btn-primary{
  background:#f2cf9b!important;
  color:#173a31!important;
}
.yb-newsletter .yb-btn-primary:hover{background:#f7dbae!important}
.yb-newsletter .yb-btn-light{
  background:#fff!important;
  color:#173a31!important;
}
.yb-newsletter-inner{gap:34px}

/* Footer : lisibilité et hauteur réduite. */
.yb-footer{
  padding:30px 0 22px;
  background:#082b24;
  color:#f5f8f6;
}
.yb-footer p{color:#d4e0dc!important;margin:.65rem 0 0}
.yb-footer-links a{
  color:#f5f8f6!important;
  font-weight:650;
  text-underline-offset:4px;
}
.yb-footer-links a:hover{text-decoration:underline}
.yb-footer-inner{align-items:center}
.yb-brand-footer .st-logo-img{max-width:138px}

/* Cartes associées : images et hauteurs plus régulières. */
.yb-related .yb-card{height:100%;display:flex;flex-direction:column}
.yb-related .yb-card-media{aspect-ratio:16/9}
.yb-related .yb-card-body{display:flex;flex-direction:column;flex:1}
.yb-related .yb-card-foot{margin-top:auto}

/* Mobile : compacter sans coller les contenus. */
@media(max-width:980px){
  .yb-hero{padding:44px 0 38px}
  .yb-featured-section{padding-top:32px}
  .yb-article-layout{gap:30px}
  .yb-article-aside{order:2}
  .yb-newsletter-inner{gap:22px}
}

@media(max-width:640px){
  .yb-header>.yb-shell{min-height:60px}
  .yb-brand .st-logo-img{max-width:104px;max-height:40px}
  .yb-header-cta{min-height:38px;padding:0 11px;font-size:.74rem}
  .yb-hero{padding:34px 0 28px}
  .yb-hero h1{font-size:clamp(2.25rem,10.8vw,3.25rem)}
  .yb-hero-copy>p:last-child{font-size:.98rem;margin-top:14px}
  .yb-hero-note{padding:18px}
  .yb-featured-section{padding:24px 0 12px}
  .yb-featured-media{min-height:220px}
  .yb-featured-copy{padding:20px}
  .yb-featured h2{font-size:clamp(1.8rem,9vw,2.45rem)}
  .yb-list-section{padding:28px 0 46px}
  .yb-section-head{gap:10px}
  .yb-section-head h2{font-size:clamp(1.95rem,9vw,2.7rem)}
  .yb-card-body{padding:17px}
  .yb-card h3{font-size:1.4rem}
  .yb-card-foot{margin-top:14px}

  .yb-article-head{padding:32px 0 22px}
  .yb-back{margin-bottom:15px}
  .yb-article-head h1{
    font-size:clamp(2.25rem,10.2vw,3.25rem);
    line-height:1.04;
    margin:14px auto 12px;
  }
  .yb-article-deck{font-size:1rem;line-height:1.58}
  .yb-article-cover{margin-top:18px;border-radius:14px}
  .yb-article-layout{padding-top:26px;padding-bottom:44px;gap:28px}
  .yb-article-content{font-size:1rem;line-height:1.7}
  .yb-article-content h2{
    font-size:clamp(1.65rem,7.8vw,2.15rem);
    margin-top:1.5em;
  }
  .yb-article-content .yaaru-summary,
  .yb-article-content .yaaru-cta{padding:18px;margin:18px 0}
  .yb-aside-card{padding:18px}
  .yb-related{padding:36px 0 44px}

  .yb-newsletter{padding:34px 0}
  .yb-newsletter h2{font-size:clamp(1.9rem,8.6vw,2.55rem)}
  .yb-actions{gap:9px}
  .yb-footer{padding:26px 0 20px}
  .yb-footer-inner{gap:22px}
  .yb-footer-links{gap:16px}
}

/* ==========================================================================
   YAARU BLOG 3.3.45 — MOBILE ARTICLE GRID HOTFIX
   Corrige le cas observé où la colonne CTA restait à droite sur mobile,
   comprimant le texte principal sur quelques pixels.
   ========================================================================== */

/* Dès qu'on descend sous 1100px, l'article ne doit plus rester en 2 colonnes. */
@media (max-width:1100px){
  body.yaaru-theme.single-post .yb-article-layout{
    display:block!important;
    width:min(100% - 32px,760px)!important;
    max-width:760px!important;
    margin-inline:auto!important;
    padding-left:0!important;
    padding-right:0!important;
  }

  body.yaaru-theme.single-post .yb-article-content,
  body.yaaru-theme.single-post .yb-article-aside{
    display:block!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    grid-column:auto!important;
    position:static!important;
    left:auto!important;
    right:auto!important;
    top:auto!important;
  }

  body.yaaru-theme.single-post .yb-article-content{
    overflow-wrap:normal!important;
    word-break:normal!important;
  }

  body.yaaru-theme.single-post .yb-article-content p,
  body.yaaru-theme.single-post .yb-article-content li,
  body.yaaru-theme.single-post .yb-article-content h2,
  body.yaaru-theme.single-post .yb-article-content h3{
    width:auto!important;
    max-width:none!important;
    min-width:0!important;
    word-break:normal!important;
    overflow-wrap:break-word!important;
  }

  body.yaaru-theme.single-post .yb-article-aside{
    margin-top:30px!important;
  }

  body.yaaru-theme.single-post .yb-aside-card{
    width:100%!important;
    max-width:none!important;
  }
}

/* Mobile étroit : marge latérale sûre et CTA placé après le contenu. */
@media (max-width:640px){
  body.yaaru-theme.single-post .yb-article-layout{
    width:calc(100% - 24px)!important;
    max-width:none!important;
    padding-top:24px!important;
    padding-bottom:40px!important;
  }

  body.yaaru-theme.single-post .yb-article-content{
    font-size:1rem!important;
    line-height:1.68!important;
  }

  body.yaaru-theme.single-post .yb-article-content .yaaru-summary,
  body.yaaru-theme.single-post .yb-article-content .yaaru-cta{
    width:100%!important;
    max-width:none!important;
    margin-left:0!important;
    margin-right:0!important;
  }

  body.yaaru-theme.single-post .yb-article-aside{
    margin-top:24px!important;
  }
}
