/* ═══════════════════════════════════════════════════════════════════════════
   La Verte Feuille — blog.css
   Styles complets pour la partie blog / site de news
   Chargé uniquement sur : is_home, is_singular('post'), is_category,
   is_tag, is_author, is_archive (hors woo)
   ══════════════════════════════════════════════════════════════════════════ */

/* ──────────────────────────────────────────────────────────────────────────
   1. VARIABLES LOCALES BLOG
   ────────────────────────────────────────────────────────────────────────── */
:root {
  --blog-sidebar-width: 290px;
  --blog-gap: 36px;
  --blog-grid-gap: 1px;
  --news-dark: #0f1f12;
  --news-bar-h: 38px;
}


/* ──────────────────────────────────────────────────────────────────────────
   2. BREAKING NEWS BAR
   ────────────────────────────────────────────────────────────────────────── */
.news-breaking-bar {
  background: var(--news-dark);
  color: #fff;
  overflow: hidden;
  border-bottom: 2px solid var(--green);
  height: var(--news-bar-h);
}
.news-breaking-bar__inner {
  display: flex;
  align-items: center;
  height: 100%;
}
.news-breaking-bar__label {
  flex-shrink: 0;
  background: var(--green);
  color: #fff;
  font-size: .625rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 0 14px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}
.news-breaking-bar__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  animation: lvfBreakingPulse 1.3s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes lvfBreakingPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .3; transform: scale(.7); }
}
.news-breaking-bar__track-wrap {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  height: 100%;
  display: flex;
  align-items: center;
}
.news-breaking-bar__track {
  display: flex;
  width: max-content;
  animation: lvfTickerScroll 42s linear infinite;
}
.news-breaking-bar__track:hover { animation-play-state: paused; }
.news-breaking-bar__item {
  padding: 0 32px 0 0;
  color: rgba(255,255,255,.8);
  text-decoration: none;
  white-space: nowrap;
  font-size: .75rem;
  letter-spacing: .01em;
  transition: color .15s;
}
.news-breaking-bar__item::before {
  content: '·';
  margin-right: 32px;
  color: var(--green);
  font-weight: 900;
}
.news-breaking-bar__item:first-child::before { display: none; margin: 0; }
.news-breaking-bar__item:hover { color: #fff; }
.news-breaking-bar__date {
  flex-shrink: 0;
  padding: 0 16px;
  color: rgba(255,255,255,.38);
  font-size: .625rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  border-left: 1px solid rgba(255,255,255,.08);
  height: 100%;
  display: flex;
  align-items: center;
  white-space: nowrap;
}
@keyframes lvfTickerScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}


/* ──────────────────────────────────────────────────────────────────────────
   3. MASTHEAD (EN-TÊTE PRESSE)
   ────────────────────────────────────────────────────────────────────────── */
.news-masthead {
  background: var(--news-dark);
  border-bottom: 3px solid var(--green);
}
.news-masthead__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
  padding: 10px 0;
  flex-wrap: wrap;
}
.news-masthead__logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  flex-shrink: 0;
}
.news-masthead__icon {
  font-size: 1.875rem;
  line-height: 1;
  flex-shrink: 0;
}
.news-masthead__name {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -.02em;
}
.news-masthead__tagline {
  font-size: .625rem;
  color: rgba(255,255,255,.45);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-top: 2px;
}
.news-masthead__cat-desc {
  flex: 1;
  font-size: .875rem;
  color: rgba(255,255,255,.6);
  margin: 0;
  line-height: 1.5;
  max-width: 380px;
}
.news-masthead__meta {
  text-align: right;
  flex-shrink: 0;
}
.news-masthead__edition {
  font-size: .5625rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--green);
}
.news-masthead__date-block {
  display: flex;
  align-items: baseline;
  gap: 5px;
  justify-content: flex-end;
  margin-top: 3px;
}
.news-masthead__date-day {
  font-size: 2.25rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.news-masthead__date-rest {
  font-size: .6875rem;
  color: rgba(255,255,255,.4);
  text-transform: uppercase;
  letter-spacing: .06em;
}
/* ── Variante tag (symbole #) */
.news-masthead__logo--tag .news-masthead__tag-symbol {
  width: 54px;
  height: 54px;
  background: var(--green);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 900;
  flex-shrink: 0;
}
/* ── Variante auteur */
.news-masthead--author .news-masthead__inner { align-items: center; }
.news-masthead__author-badge {
  font-size: .5rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 2px;
}
.news-masthead__author-avatar {
  width: 60px !important;
  height: 60px !important;
  border-radius: 50% !important;
  border: 2px solid var(--green) !important;
  object-fit: cover;
  flex-shrink: 0;
}


/* ──────────────────────────────────────────────────────────────────────────
   4. BARRE CATÉGORIES (sticky sous le header)
   ────────────────────────────────────────────────────────────────────────── */
.news-cat-bar {
  background: var(--white);
  border-bottom: 2px solid var(--green);
  position: sticky;
  top: 56px;
  z-index: 148;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
}
.news-cat-bar__inner {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.news-cat-bar__inner::-webkit-scrollbar { display: none; }
.news-cat-bar__item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 12px 16px;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: color .15s, border-color .15s;
  letter-spacing: .01em;
}
.news-cat-bar__item:hover { color: var(--green); }
.news-cat-bar__item.is-active {
  color: var(--green);
  border-bottom-color: var(--cat-accent, var(--green));
}


/* ──────────────────────────────────────────────────────────────────────────
   5. BREADCRUMB
   ────────────────────────────────────────────────────────────────────────── */
.news-breadcrumb-wrap {
  background: var(--cream);
  border-bottom: 1px solid var(--border);
}
.news-breadcrumb-wrap .breadcrumb {
  padding: 8px 0;
  margin: 0;
  font-size: .75rem;
}


/* ──────────────────────────────────────────────────────────────────────────
   6. HERO ÉDITORIAL (archive.php — page 1)
   ────────────────────────────────────────────────────────────────────────── */
.news-hero-section {
  background: var(--cream);
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

/* ── Version éditoriale 3 colonnes (archive.php) */
.news-hero-editorial {
  display: grid;
  grid-template-columns: 1fr 310px 252px;
  gap: var(--blog-grid-gap);
  background: var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
}
/* Grande UNE */
.news-une {
  grid-column: 1;
  grid-row: 1 / 3;
  position: relative;
}
.news-une__link { display: block; height: 100%; text-decoration: none; }
.news-une__img-wrap {
  height: 100%;
  min-height: 440px;
  position: relative;
  overflow: hidden;
  background: var(--news-dark);
}
.news-une__img-wrap--noimg {
  background: linear-gradient(135deg, #0f1f12 0%, #2d7a4f 100%);
}
.news-une__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .8s ease;
}
.news-une:hover .news-une__img-wrap img { transform: scale(1.04); }
.news-une__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,.92) 0%,
    rgba(0,0,0,.48) 45%,
    rgba(0,0,0,.12) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
}
.news-une__top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.news-une__title {
  font-family: var(--font-serif);
  font-size: 2rem;
  line-height: 1.18;
  color: #fff;
  margin: 0 0 10px;
  font-weight: 800;
  letter-spacing: -.03em;
  text-shadow: 0 2px 10px rgba(0,0,0,.3);
}
.news-une__excerpt {
  font-size: .9375rem;
  color: rgba(255,255,255,.78);
  margin: 0 0 14px;
  line-height: 1.5;
}

/* Stack secondaire */
.news-stack {
  grid-column: 2;
  grid-row: 1 / 3;
  display: flex;
  flex-direction: column;
  gap: var(--blog-grid-gap);
  background: var(--border);
}
.news-stack__item { flex: 1; background: var(--white); overflow: hidden; }
.news-stack__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}
.news-stack__img { height: 168px; overflow: hidden; flex-shrink: 0; }
.news-stack__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .45s ease;
}
.news-stack__item:hover .news-stack__img img { transform: scale(1.06); }
.news-stack__body {
  padding: 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.news-stack__title {
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--dark);
  margin: 0;
  transition: color .15s;
}
.news-stack__item:hover .news-stack__title { color: var(--green); }
.news-stack__excerpt {
  font-size: .8125rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
  flex: 1;
}

/* Flash info (3e colonne) */
.news-flash-col {
  grid-column: 3;
  grid-row: 1 / 3;
  background: var(--white);
  display: flex;
  flex-direction: column;
}
.news-flash-col__header {
  background: var(--news-dark);
  padding: 11px 14px;
  flex-shrink: 0;
}
.news-flash-col__badge {
  font-size: .5625rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--green);
}
.news-flash-item {
  display: flex;
  gap: 10px;
  padding: 13px 14px 0;
}
.news-flash-item:last-of-type { padding-bottom: 13px; flex: 1; align-items: flex-end; }
.news-flash-item__img-wrap {
  width: 58px;
  height: 58px;
  flex-shrink: 0;
  border-radius: 4px;
  overflow: hidden;
  background: var(--green-pale);
}
.news-flash-item__img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.news-flash-item__body { flex: 1; min-width: 0; }
.news-flash-item__cat {
  font-size: .5625rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--green);
  display: block;
  margin-bottom: 3px;
}
.news-flash-item__title {
  font-size: .8125rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
}
.news-flash-item__title a { color: var(--dark); text-decoration: none; transition: color .15s; }
.news-flash-item__title a:hover { color: var(--green); }
.news-flash-item__date { font-size: .5625rem; color: var(--text-muted); display: block; margin-top: 4px; text-transform: uppercase; letter-spacing: .04em; }
.news-flash-item__sep { border: none; border-top: 1px solid var(--border); margin: 0 14px; }

/* ── Version simple 2 colonnes (category.php, author.php) */
.news-hero {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: var(--blog-grid-gap);
  background: var(--border);
  border: 1px solid var(--border);
  overflow: hidden;
  border-radius: var(--radius-sm);
}
.news-hero__main { position: relative; overflow: hidden; }
.news-hero__main-link { display: block; height: 100%; text-decoration: none; }
.news-hero__main-img {
  position: relative;
  height: 100%;
  min-height: 380px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--news-dark), #2d7a4f);
}
.news-hero__main-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .7s ease;
}
.news-hero__main:hover .news-hero__main-img img { transform: scale(1.04); }
.news-hero__main-img--noimg { display: flex; flex-direction: column; justify-content: flex-end; padding: 28px; }
.news-hero__main-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  padding: 24px;
  background: linear-gradient(
    to top,
    rgba(0,0,0,.9) 0%,
    rgba(0,0,0,.38) 55%,
    transparent 100%
  );
}
.news-hero__main-title {
  font-family: var(--font-serif);
  font-size: 1.875rem;
  line-height: 1.2;
  color: #fff;
  margin: 0;
  font-weight: 800;
  letter-spacing: -.025em;
}
.news-hero__main-excerpt {
  font-size: .9375rem;
  color: rgba(255,255,255,.82);
  margin: 0;
  line-height: 1.5;
}
.news-hero__stack { display: flex; flex-direction: column; gap: var(--blog-grid-gap); background: var(--border); }
.news-hero__secondary { background: var(--white); overflow: hidden; flex: 1; }
.news-hero__secondary-link { display: flex; text-decoration: none; color: inherit; height: 100%; }
.news-hero__secondary-img { width: 140px; flex-shrink: 0; overflow: hidden; }
.news-hero__secondary-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.news-hero__secondary:hover .news-hero__secondary-img img { transform: scale(1.07); }
.news-hero__secondary-body {
  flex: 1;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}
.news-hero__secondary-title {
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  line-height: 1.35;
  color: var(--dark);
  font-weight: 700;
  margin: 0;
  transition: color .15s;
}
.news-hero__secondary:hover .news-hero__secondary-title { color: var(--green); }


/* ──────────────────────────────────────────────────────────────────────────
   7. EN-TÊTE DE SECTION
   ────────────────────────────────────────────────────────────────────────── */
.news-section-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 24px 0 16px;
  border-bottom: 2px solid var(--green);
  flex-wrap: wrap;
}
.news-section-header__badge {
  font-size: .5625rem;
  font-weight: 900;
  color: #fff;
  background: var(--green);
  padding: 5px 12px;
  border-radius: 2px;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.news-section-header__line {
  flex: 1;
  height: 1px;
  background: var(--border);
  min-width: 40px;
}
.news-section-header__page {
  font-size: .75rem;
  color: var(--text-muted);
  white-space: nowrap;
}


/* ──────────────────────────────────────────────────────────────────────────
   8. LAYOUT PRINCIPAL (grille + sidebar)
   ────────────────────────────────────────────────────────────────────────── */
.news-layout {
  display: grid;
  grid-template-columns: 1fr var(--blog-sidebar-width);
  gap: var(--blog-gap);
  padding: 24px 0 72px;
  align-items: start;
}
.news-main { min-width: 0; }


/* ──────────────────────────────────────────────────────────────────────────
   9. GRILLE D'ARTICLES
   ────────────────────────────────────────────────────────────────────────── */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--blog-grid-gap);
  background: var(--border);
  border: 1px solid var(--border);
}
.news-card {
  background: var(--white);
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s ease;
}
.news-card__img-wrap {
  display: block;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--green-pale);
  position: relative;
  text-decoration: none;
}
.news-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .45s ease;
}
.news-card:hover .news-card__img-wrap img { transform: scale(1.06); }
.news-card__cat-pill {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--green);
  color: #fff;
  font-size: .5rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 2px;
}
.news-card__body {
  padding: 14px 16px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 7px;
  border-top: 2px solid transparent;
  transition: border-color .15s;
}
.news-card:hover .news-card__body { border-top-color: var(--green); }
.news-card__badge { margin-bottom: -2px; }
.news-card__title {
  font-family: var(--font-serif);
  font-size: 1rem;
  line-height: 1.35;
  color: var(--dark);
  font-weight: 700;
  margin: 0;
  flex: 1;
}
.news-card__title a { color: inherit; text-decoration: none; }
.news-card__title a:hover { color: var(--green); }
.news-card__excerpt {
  font-size: .8125rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}
.news-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 4px;
}
.news-card__views { font-size: .6875rem; color: var(--text-muted); }


/* ──────────────────────────────────────────────────────────────────────────
   10. PILLS ET META
   ────────────────────────────────────────────────────────────────────────── */
.news-pill {
  display: inline-block;
  font-size: .5625rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 3px 9px;
  border-radius: 2px;
}
.news-pill--white { background: rgba(255,255,255,.18); color: #fff; border: 1px solid rgba(255,255,255,.3); }
.news-pill--green { background: var(--green-pale); color: var(--green); }

.news-cat-pill {
  display: inline-block;
  background: var(--green);
  color: #fff;
  font-size: .5rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 2px;
  align-self: flex-start;
}
.news-cat-pill--sm { font-size: .4375rem; padding: 2px 6px; }

.news-meta { display: flex; align-items: center; gap: 5px; font-size: .75rem; color: var(--text-muted); flex-wrap: wrap; }
.news-meta--light { color: rgba(255,255,255,.72); }
.news-meta--light .article-type-badge { opacity: .9; border: 1px solid rgba(255,255,255,.25); }
.news-meta--sm { font-size: .6875rem; }


/* ──────────────────────────────────────────────────────────────────────────
   11. SIDEBAR BLOG / NEWS
   ────────────────────────────────────────────────────────────────────────── */
.news-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 100px;
}
.news-widget {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--green);
  padding: 18px;
}
.news-widget__header {
  font-family: var(--font-serif);
  font-size: .9375rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.news-widget--newsletter {
  background: var(--news-dark);
  border-top-color: var(--green);
}
.news-widget--newsletter .news-widget__header {
  color: #fff;
  border-bottom-color: rgba(255,255,255,.1);
}
.news-widget--newsletter p {
  color: rgba(255,255,255,.6);
  font-size: .875rem;
  margin: 0 0 12px;
}
.news-widget--newsletter .blog-nl-form { flex-direction: column; }
.news-widget--newsletter .blog-nl-form__input {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.18);
  color: #fff;
}
.news-widget--newsletter .blog-nl-form__input::placeholder {
  color: rgba(255,255,255,.38);
}

/* Trending posts */
.trending-post {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  transition: opacity .15s;
}
.trending-post:last-child { border-bottom: none; }
.trending-post:hover { opacity: .82; }
.trending-post__num {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--border);
  min-width: 30px;
  line-height: 1;
  flex-shrink: 0;
  transition: color .15s;
}
.trending-post:hover .trending-post__num { color: var(--green); }
.trending-post__body { flex: 1; min-width: 0; }
.trending-post__cat {
  font-size: .5rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--green);
  display: block;
  margin-bottom: 3px;
}
.trending-post__title {
  font-size: .875rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--dark);
}
.trending-post:hover .trending-post__title { color: var(--green); }
.trending-post__meta { font-size: .6875rem; color: var(--text-muted); margin-top: 3px; }

/* Categories list in sidebar */
.news-cat-list { list-style: none; padding: 0; margin: 0; }
.news-cat-list li { border-bottom: 1px solid var(--border); }
.news-cat-list li:last-child { border-bottom: none; }
.news-cat-list li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 0;
  font-size: .875rem;
  color: var(--dark);
  text-decoration: none;
  transition: color .15s;
}
.news-cat-list li a:hover { color: var(--green); }
.news-cat-list__count {
  font-size: .6875rem;
  color: var(--text-muted);
  background: var(--cream);
  padding: 1px 7px;
  border-radius: 10px;
  flex-shrink: 0;
}

/* Sidebar products */
.sidebar-product {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
}
.sidebar-product:last-child { border-bottom: none; }
.sidebar-product:hover .sidebar-product__name { color: var(--green); }
.sidebar-product__img {
  width: 50px;
  height: 50px;
  border-radius: 6px;
  overflow: hidden;
  background: var(--green-pale);
  flex-shrink: 0;
}
.sidebar-product__img img { width: 100%; height: 100%; object-fit: cover; }
.sidebar-product__name {
  font-size: .875rem;
  font-weight: 500;
  color: var(--dark);
  transition: color .15s;
  line-height: 1.35;
}
.sidebar-product__price { font-size: .8125rem; color: var(--green); font-weight: 600; }

/* Tags cloud */
.blog-tags-cloud { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 4px; }
.blog-tag {
  display: inline-block;
  background: var(--cream);
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 3px 9px;
  font-size: .75rem;
  font-weight: 600;
  text-decoration: none;
  transition: background .15s, color .15s, border-color .15s;
}
.blog-tag:hover {
  background: var(--green-pale);
  color: var(--green);
  border-color: var(--green);
}


/* ──────────────────────────────────────────────────────────────────────────
   12. PAGINATION
   ────────────────────────────────────────────────────────────────────────── */
.news-pagination { display: flex; justify-content: center; margin-top: 28px; }
.news-pagination .nav-links { display: flex; gap: 3px; flex-wrap: wrap; justify-content: center; }
.news-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  font-size: .875rem;
  font-weight: 600;
  color: var(--dark);
  border: 1px solid var(--border);
  text-decoration: none;
  transition: all .15s;
}
.news-pagination .page-numbers:hover,
.news-pagination .page-numbers.current { background: var(--green); color: #fff; border-color: var(--green); }
.news-pagination .page-numbers.dots { border: none; color: var(--text-muted); min-width: auto; }


/* ──────────────────────────────────────────────────────────────────────────
   13. THÈMES / TYPES D'ARTICLES
   ────────────────────────────────────────────────────────────────────────── */
.news-topics-section {
  padding: 36px 0 52px;
  background: var(--cream);
  border-top: 1px solid var(--border);
  margin-top: 52px;
}
.news-topics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 14px;
  margin-top: 22px;
}
.news-topic-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 22px 14px;
  border-radius: var(--radius-md);
  text-decoration: none;
  border: 1.5px solid transparent;
  background: #fff;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.news-topic-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,.1);
  border-color: var(--green);
}
.news-topic-card__emoji { font-size: 2rem; }
.news-topic-card__name { font-weight: 700; font-size: .875rem; color: var(--dark); text-align: center; }
.news-topic-card__count { font-size: .6875rem; color: var(--text-muted); }
.news-topic-card--guide     { background: #e8f5e9; }
.news-topic-card--actualite { background: #e3f2fd; }
.news-topic-card--science   { background: #f3e5f5; }
.news-topic-card--legalite  { background: #fff8e1; }
.news-topic-card--bien-etre { background: #fce4ec; }
.news-topic-card--tutoriel  { background: #e0f2f1; }

/* Filtres type (catégorie) */
.news-type-filters { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 6px; }
.news-type-filter {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 4px 12px;
  border: 1.5px solid var(--border);
  border-radius: 2px;
  font-size: .75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  transition: all .15s;
}
.news-type-filter:hover,
.news-type-filter.is-active {
  border-color: var(--green);
  color: var(--green);
  background: var(--green-pale);
}

/* Article type badges */
.article-type-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 50px;
  font-size: .625rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  white-space: nowrap;
}
.article-type-badge--guide     { background: #e8f5e9; color: #2e7d32; }
.article-type-badge--actualite { background: #e3f2fd; color: #1565c0; }
.article-type-badge--science   { background: #f3e5f5; color: #6a1b9a; }
.article-type-badge--legalite  { background: #fff8e1; color: #bf360c; }
.article-type-badge--bien-etre { background: #fce4ec; color: #880e4f; }
.article-type-badge--tutoriel  { background: #e0f2f1; color: #00695c; }


/* ──────────────────────────────────────────────────────────────────────────
   14. SINGLE ARTICLE — MISE EN PAGE
   ────────────────────────────────────────────────────────────────────────── */

/* Barre de progression de lecture */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--green);
  z-index: 9999;
  transition: width .08s linear;
  transform-origin: left;
}

/* Layout 2 colonnes (article + sidebar) */
.single-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  padding: 32px 0 72px;
  align-items: start;
}

/* Bandeau rubrique */
.article-rubrique-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 9px 0;
}
.article-rubrique-bar__inner {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.article-rubrique {
  display: inline-block;
  background: var(--green);
  color: #fff;
  font-size: .5625rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: 4px 11px;
  border-radius: 2px;
  text-decoration: none;
  transition: background .15s;
}
.article-rubrique:hover { background: var(--green-hover); }
.breadcrumb--inline { margin-left: auto; }

/* Header de l'article */
.single-article__header { margin-bottom: 28px; }
.single-article__title {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  line-height: 1.2;
  color: var(--dark);
  margin: 0 0 12px;
  font-weight: 800;
  letter-spacing: -.03em;
}
.single-article__lead {
  font-size: 1.1875rem;
  line-height: 1.65;
  color: var(--text);
  border-left: 4px solid var(--green);
  padding: 12px 20px;
  background: var(--cream);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 16px 0 0;
  font-style: italic;
}

/* Byline auteur */
.single-article__byline {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  border-bottom: 3px solid var(--green);
  margin-bottom: 0;
}
.single-article__author-link {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  color: var(--dark);
  flex-shrink: 0;
}
.single-article__author-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid var(--green);
  object-fit: cover;
}
.single-article__author-name {
  font-size: .8125rem;
  font-weight: 700;
  color: var(--dark);
}
.single-article__byline-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .75rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  flex: 1;
}
.single-article__byline-sep { color: var(--border); }
.single-article__updated { color: var(--green); font-style: italic; font-size: .75rem; }
.single-article__read-time,
.single-article__views { white-space: nowrap; }

/* Share buttons */
.single-article__share {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  margin-left: auto;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 7px 13px;
  border-radius: 4px;
  font-size: .75rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: opacity .15s, transform .15s;
}
.share-btn:hover { opacity: .85; transform: translateY(-1px); }
.share-btn--fb   { background: #1877F2; color: #fff; }
.share-btn--tw   { background: #000; color: #fff; }
.share-btn--wa   { background: #25D366; color: #fff; }
.share-btn--copy { background: var(--cream); color: var(--dark); border: 1px solid var(--border); }
.share-btn--print { background: #f0f0f0; color: #555; border: 1px solid var(--border); }

/* Image principale */
.single-article__cover {
  overflow: hidden;
  margin-bottom: 32px;
  aspect-ratio: 16/7;
  border-radius: 0;
}
.single-article__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.single-article__cover figcaption {
  font-size: .8125rem;
  color: var(--text-muted);
  text-align: center;
  padding: 8px 0;
  font-style: italic;
}

/* Table des matières inline */
.toc-block {
  background: var(--cream);
  border: 1px solid var(--border);
  border-left: 4px solid var(--green);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 18px 22px;
  margin-bottom: 32px;
}
.toc-block__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}
.toc-block__title {
  font-size: .9375rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0;
}
.toc-block__toggle {
  font-size: .8125rem;
  color: var(--green);
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
}
.toc-block__list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  counter-reset: toc-counter;
}
.toc-block__list li {
  padding: 5px 0;
  border-bottom: 1px solid var(--border);
  font-size: .875rem;
  counter-increment: toc-counter;
}
.toc-block__list li:last-child { border-bottom: none; }
.toc-block__list a {
  color: var(--green);
  text-decoration: none;
  transition: color .15s;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.toc-block__list a::before {
  content: counter(toc-counter);
  font-size: .625rem;
  font-weight: 900;
  color: var(--text-muted);
  min-width: 16px;
  flex-shrink: 0;
}
.toc-block__list a:hover { color: var(--dark); }

/* Contenu de l'article */
.single-article__content {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--dark);
}
.single-article__content h2 {
  font-family: var(--font-serif);
  font-size: 1.625rem;
  color: var(--dark);
  margin: 40px 0 16px;
  font-weight: 800;
  letter-spacing: -.02em;
  position: relative;
  padding-left: 14px;
  border-left: 4px solid var(--green);
}
.single-article__content h3 {
  font-size: 1.25rem;
  color: var(--dark);
  margin: 30px 0 12px;
  font-weight: 700;
  position: relative;
}
.single-article__content p { margin-bottom: 20px; }
.single-article__content ul,
.single-article__content ol { padding-left: 24px; margin-bottom: 20px; }
.single-article__content li { margin-bottom: 9px; }

.single-article__content blockquote {
  margin: 32px 0;
  padding: 20px 26px;
  border-left: 4px solid var(--green);
  background: var(--green-pale);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 1.0625rem;
  font-style: italic;
  color: var(--text);
  position: relative;
}
.single-article__content blockquote::before {
  content: '\201C';
  position: absolute;
  top: -12px;
  left: 16px;
  font-size: 3.5rem;
  color: var(--green);
  font-style: normal;
  line-height: 1;
  opacity: .35;
}
.single-article__content blockquote p { margin: 0; }
.single-article__content blockquote cite {
  display: block;
  margin-top: 10px;
  font-size: .8125rem;
  font-style: normal;
  color: var(--text-muted);
}

.single-article__content pre,
.single-article__content code { font-family: 'Courier New', Courier, monospace; font-size: .875em; }
.single-article__content pre {
  background: #1e1e2e;
  color: #cdd6f4;
  padding: 20px 24px;
  border-radius: var(--radius-md);
  overflow-x: auto;
  margin: 24px 0;
  line-height: 1.6;
}
.single-article__content :not(pre) > code {
  background: var(--green-pale);
  color: var(--green);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: .875em;
}
.single-article__content table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  font-size: .9375rem;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: 0 1px 8px rgba(0,0,0,.07);
}
.single-article__content table th {
  background: var(--green);
  color: #fff;
  font-weight: 700;
  padding: 11px 16px;
  text-align: left;
  font-size: .875rem;
  letter-spacing: .03em;
}
.single-article__content table td {
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.single-article__content table tr:last-child td { border-bottom: none; }
.single-article__content table tr:nth-child(even) td { background: var(--cream); }

.single-article__content figure { margin: 32px 0; }
.single-article__content figure img { width: 100%; height: auto; border-radius: var(--radius-md); display: block; }
.single-article__content figcaption {
  margin-top: 8px;
  font-size: .8125rem;
  color: var(--text-muted);
  text-align: center;
  font-style: italic;
}
.single-article__content hr {
  border: none;
  border-top: 2px solid var(--border);
  margin: 40px auto;
  width: 60%;
}
.single-article__content img { max-width: 100%; height: auto; border-radius: var(--radius-md); }

/* Ancres sur titres */
.heading-anchor {
  position: absolute;
  left: -1.5em;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  color: var(--green);
  font-size: .875rem;
  text-decoration: none;
  padding: 0 4px;
  transition: opacity .2s;
  cursor: pointer;
}
.single-article__content h2:hover .heading-anchor,
.single-article__content h3:hover .heading-anchor { opacity: 1; }


/* ──────────────────────────────────────────────────────────────────────────
   15. PRODUITS LIÉS À L'ARTICLE
   ────────────────────────────────────────────────────────────────────────── */
.single-article__related-products {
  margin: 40px 0;
  padding: 28px;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  border-top: 3px solid var(--green);
}
.single-article__related-title {
  font-size: 1.0625rem;
  font-weight: 700;
  margin: 0 0 18px;
  color: var(--dark);
}
.single-article__products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.article-product-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--dark);
  transition: box-shadow .2s, transform .2s;
}
.article-product-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,.1);
  transform: translateY(-2px);
  border-color: var(--green);
}
.article-product-card__img {
  width: 68px;
  height: 68px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--green-pale);
  flex-shrink: 0;
}
.article-product-card__img img { width: 100%; height: 100%; object-fit: cover; }
.article-product-card__info { flex: 1; min-width: 0; }
.article-product-card__name {
  font-size: .875rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--dark);
  margin-bottom: 3px;
}
.article-product-card__meta {
  font-size: .75rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.article-product-card__price {
  font-size: .875rem;
  font-weight: 700;
  color: var(--green);
}
.article-product-card__cta {
  font-size: .75rem;
  font-weight: 700;
  color: var(--green);
  flex-shrink: 0;
  white-space: nowrap;
}
.single-article__shop-link { text-align: center; margin-top: 16px; }


/* ──────────────────────────────────────────────────────────────────────────
   16. ARTICLES LIÉS
   ────────────────────────────────────────────────────────────────────────── */
.related-articles {
  margin: 44px 0;
  padding: 36px 0 0;
  border-top: 2px solid var(--green);
}
.related-articles__title {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0 0 22px;
  color: var(--dark);
}
.related-articles__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.related-article-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  transition: box-shadow .2s, transform .2s;
}
.related-article-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,.1);
  transform: translateY(-3px);
}
.related-article-card__img { aspect-ratio: 16/9; overflow: hidden; background: var(--green-pale); }
.related-article-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.related-article-card:hover .related-article-card__img img { transform: scale(1.05); }
.related-article-card__body { padding: 14px; flex: 1; display: flex; flex-direction: column; gap: 5px; }
.related-article-card__cat {
  font-size: .5625rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--green);
}
.related-article-card__title {
  font-family: var(--font-serif);
  font-size: .9375rem;
  font-weight: 700;
  line-height: 1.35;
  flex: 1;
  color: var(--dark);
}
.related-article-card:hover .related-article-card__title { color: var(--green); }
.related-article-card__meta { font-size: .6875rem; color: var(--text-muted); margin-top: 4px; }


/* ──────────────────────────────────────────────────────────────────────────
   17. ARTICLE UTILE ? + TAGS
   ────────────────────────────────────────────────────────────────────────── */
.article-helpful {
  margin: 36px 0;
  padding: 28px;
  background: var(--green-pale);
  border: 1px solid var(--green);
  border-radius: var(--radius-lg);
  text-align: center;
}
.article-helpful__q {
  font-weight: 700;
  font-size: 1.0625rem;
  margin-bottom: 16px;
  color: var(--dark);
}
.article-helpful__btns { display: flex; gap: 14px; justify-content: center; }
.article-helpful__btn {
  padding: 10px 28px;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  background: var(--white);
  cursor: pointer;
  font-size: .9375rem;
  font-family: inherit;
  font-weight: 600;
  transition: all .15s;
}
.article-helpful__btn:hover { border-color: var(--green); background: var(--green-pale); }
.article-helpful__btn.is-selected { border-color: var(--green); background: var(--green); color: #fff; }

.single-article__tags {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.single-article__tags-label { font-size: .8125rem; color: var(--text-muted); font-weight: 600; }


/* ──────────────────────────────────────────────────────────────────────────
   18. BOX AUTEUR
   ────────────────────────────────────────────────────────────────────────── */
.author-box {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: var(--cream);
  border: 1px solid var(--border);
  border-left: 4px solid var(--green);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-top: 36px;
}
.author-box img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: cover;
  border: 2px solid var(--green);
}
.author-box__name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}
.author-box__name a { color: inherit; text-decoration: none; }
.author-box__name a:hover { color: var(--green); }
.author-box__bio {
  font-size: .875rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0 0 10px;
}
.author-box__link {
  font-size: .8125rem;
  font-weight: 700;
  color: var(--green);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.author-box__link:hover { text-decoration: underline; }


/* ──────────────────────────────────────────────────────────────────────────
   19. NAVIGATION PRÉCÉDENT / SUIVANT
   ────────────────────────────────────────────────────────────────────────── */
.post-nav {
  display: flex;
  gap: 16px;
  margin: 44px 0;
  padding: 28px 0 0;
  border-top: 1px solid var(--border);
}
.post-nav__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 18px 22px;
  background: var(--cream);
  border: 1px solid var(--border);
  text-decoration: none;
  color: var(--text);
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.post-nav__item:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,.1);
  transform: translateY(-2px);
  border-color: var(--green);
}
.post-nav__item--next { text-align: right; }
.post-nav__dir {
  font-size: .625rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--green);
}
.post-nav__title {
  font-family: var(--font-serif);
  font-size: .9375rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--dark);
}


/* ──────────────────────────────────────────────────────────────────────────
   20. SIDEBAR ARTICLE (sticky)
   ────────────────────────────────────────────────────────────────────────── */
.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.blog-sidebar--sticky { position: sticky; top: 90px; }
.blog-widget {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--green);
  padding: 20px;
}
.blog-widget__title {
  font-family: var(--font-serif);
  font-size: .9375rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.blog-widget--newsletter .blog-widget__nl-icon { font-size: 1.5rem; margin-bottom: 8px; }

/* TOC widget sidebar */
.toc-widget { }
.toc-widget__progress-wrap {
  height: 3px;
  background: var(--border);
  border-radius: 2px;
  margin-bottom: 14px;
  overflow: hidden;
}
.toc-widget__progress-bar {
  height: 100%;
  background: var(--green);
  border-radius: 2px;
  width: 0%;
  transition: width .1s linear;
}
.toc-widget__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}
.toc-widget__list li a {
  display: block;
  padding: 7px 10px 7px 12px;
  font-size: .8125rem;
  color: var(--text-muted);
  text-decoration: none;
  border-left: 2px solid var(--border);
  transition: color .15s, border-color .15s, background .15s;
  line-height: 1.45;
}
.toc-widget__list li a:hover { color: var(--green); background: var(--green-pale); }
.toc-widget__list li a.is-active {
  color: var(--green);
  font-weight: 700;
  border-left-color: var(--green);
  background: var(--green-pale);
}
.toc-widget__list li[data-level="3"] a { padding-left: 22px; font-size: .75rem; }

/* Popular posts dans sidebar article */
.popular-post {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
}
.popular-post:last-child { border-bottom: none; }
.popular-post:hover .popular-post__title { color: var(--green); }
.popular-post__title { font-size: .875rem; font-weight: 500; color: var(--dark); line-height: 1.4; }
.popular-post__date { font-size: .75rem; color: var(--text-muted); margin-top: 2px; }

/* Newsletter form */
.blog-nl-form { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.blog-nl-form__input {
  flex: 1;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 9px 12px;
  font-size: .875rem;
  font-family: inherit;
  outline: none;
  transition: border-color .15s;
}
.blog-nl-form__input:focus { border-color: var(--border-focus); }

/* Commentaires */
.single-article__comments {
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
}


/* ──────────────────────────────────────────────────────────────────────────
   21. BOUTON RETOUR EN HAUT
   ────────────────────────────────────────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(0,0,0,.2);
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition: opacity .3s, transform .3s, background .15s;
  z-index: 990;
}
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { background: var(--green-hover); }


/* ──────────────────────────────────────────────────────────────────────────
   22. RESPONSIVE
   ────────────────────────────────────────────────────────────────────────── */
@media (max-width: 1200px) {
  .news-hero-editorial {
    grid-template-columns: 1fr 290px;
  }
  .news-flash-col { display: none; }
  .news-une { grid-column: 1; grid-row: 1; }
  .news-stack { grid-column: 2; grid-row: 1; }
}

@media (max-width: 1100px) {
  .news-layout { grid-template-columns: 1fr 260px; gap: 24px; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .single-article__products-grid { grid-template-columns: 1fr; }
  .single-layout { grid-template-columns: 1fr 280px; gap: 28px; }
}

@media (max-width: 900px) {
  .news-hero-editorial { grid-template-columns: 1fr; }
  .news-une { grid-column: 1; grid-row: 1; }
  .news-une__img-wrap { min-height: 300px; }
  .news-une__title { font-size: 1.5rem; }
  .news-stack { grid-column: 1; grid-row: 2; flex-direction: row; }
  .news-stack__img { height: 130px; }

  .news-hero { grid-template-columns: 1fr; }
  .news-hero__main-img { min-height: 280px; }
  .news-hero__stack { flex-direction: row; }
  .news-hero__secondary-img { width: 110px; }

  .news-layout { grid-template-columns: 1fr; gap: 20px; }
  .news-sidebar { position: static; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }

  .related-articles__grid { grid-template-columns: repeat(2, 1fr); }
  .single-article__products-grid { grid-template-columns: repeat(2, 1fr); }

  .single-layout { grid-template-columns: 1fr; }
  .blog-sidebar--sticky { position: static; }
  .single-article__title { font-size: 1.75rem; }
  .news-masthead__meta { display: none; }
}

@media (max-width: 768px) {
  .news-hero-editorial { grid-template-columns: 1fr; }
  .news-stack { flex-direction: column; }
  .news-breaking-bar__date { display: none; }
  .single-article__byline { flex-direction: column; gap: 10px; }
  .single-article__share { margin-left: 0; }
  .breadcrumb--inline { margin-left: 0; }
  .post-nav { flex-direction: column; }
  .post-nav__item--next { text-align: left; }
  .news-topics-grid { grid-template-columns: repeat(3, 1fr); }
  .news-cat-bar { top: 0; }
}

@media (max-width: 600px) {
  .news-grid { grid-template-columns: 1fr; }
  .related-articles__grid { grid-template-columns: 1fr; }
  .single-article__products-grid { grid-template-columns: 1fr; }
  .author-box { flex-direction: column; gap: 12px; }
  .article-helpful__btns { gap: 8px; }
  .news-topics-grid { grid-template-columns: repeat(2, 1fr); }
  .single-article__title { font-size: 1.5rem; }
  .back-to-top { bottom: 16px; right: 16px; }
  .heading-anchor { display: none; }
}

@media (max-width: 480px) {
  .news-stack { flex-direction: column; }
  .single-article__share { flex-wrap: wrap; }
  .share-btn { padding: 6px 10px; font-size: .6875rem; }
}

/* ──────────────────────────────────────────────────────────────────────────
   23. MODE IMPRESSION
   ────────────────────────────────────────────────────────────────────────── */
@media print {
  .news-breaking-bar,
  .news-cat-bar,
  .blog-sidebar,
  .blog-sidebar--sticky,
  .news-sidebar,
  .reading-progress,
  .back-to-top,
  .single-article__share,
  .article-helpful,
  .post-nav,
  .single-article__comments { display: none !important; }

  .single-layout { grid-template-columns: 1fr; }
  .single-article__content { font-size: 11pt; line-height: 1.7; }
  .single-article__title { font-size: 20pt; }
  a[href]::after { content: ' (' attr(href) ')'; font-size: .7em; color: #666; }
}

/* ──────────────────────────────────────────────────────────────────────────
   24. COMPLÉMENTS — classes mineures
   ────────────────────────────────────────────────────────────────────────── */

/* Breadcrumb — élément courant (non cliquable) */
.breadcrumb__current {
  color: var(--text-muted);
  font-weight: 500;
  max-width: 220px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-block;
  vertical-align: bottom;
}

/* Sidebar produits — prix unique, sans historique barré */
.sidebar-product__price {
  display: flex;
  align-items: baseline;
  gap: 3px;
  flex-wrap: wrap;
}
.sidebar-product__price .woocommerce-Price-amount {
  font-size: .875rem;
  font-weight: 700;
  color: var(--green);
}

/* Sources widget */
.sources-link {
  font-size: .8125rem;
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: opacity .15s;
}
.sources-link:hover { opacity: .8; text-decoration: underline; }

/* Produits liés — prix */
.article-product-card__price .woocommerce-Price-amount {
  font-size: inherit;
  color: inherit;
}
