/* article.css — Redesigned article page */

/* ── ARTICLE DARK HEADER (style Futura) ── */
.article-dark-header {
  background: #000918;
  padding: 35px 24px 25px;
  margin-top: -1px;
}
.article-dark-inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.article-hero-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.article-hero-source {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  transition: opacity .2s;
}
.article-hero-source:hover { opacity: .8; }
.article-hero-source .src-fav { width: 18px; height: 18px; border-radius: 4px; }
.article-hero-cat, .article-hero-tag {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #fff;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 5px;
  padding: 3px 10px;
}
.article-hero-cat { background: rgba(139,92,246,.3); border-color: rgba(139,92,246,.4); }
.article-hero-tag { background: rgba(255,255,255,.08); }
.article-hero-title {
  font-family: var(--sans);
  font-size: 38px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.8px;
  color: #fff;
  margin-bottom: 20px;
}
.article-hero-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--sans);
}
.article-hero-date { font-size: 13px; color: rgba(255,255,255,.5); }
.article-hero-sep { color: rgba(255,255,255,.2); }

/* Image pont (à cheval sombre/clair) */
.article-img-bridge {
  background: linear-gradient(to bottom, #000918 50%, var(--bg, #f5f3ef) 50%);
  padding: 0 24px;
}
.article-img-bridge-inner {
  max-width: 950px;
  margin: 0 auto;
}
/* aspect-ratio porté par le conteneur <div> (fiable sur iOS, contrairement à sur <img>) */
.article-bridge-wrap {
  width: 100%;
  aspect-ratio: 21/9;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,.15);
  background: #0a0f1e;
}
.article-bridge-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Légendes d'images : « une » + corps d'article (crédit photo unifié) */
.single-content figure { margin: 1.5em 0; }
.single-content figure img { display: block; margin: 0 auto; }
.article-img-caption,
.single-content figcaption,
.single-content .wp-element-caption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  max-width: 680px;
  margin: 11px auto 0;
  padding: 0 16px;
  border-left: 0;
  font-size: 12.5px;
  line-height: 1.45;
  font-style: italic;
  color: var(--muted, #78716c);
  text-align: center;
}
.article-img-caption::before,
.single-content figcaption::before,
.single-content .wp-element-caption::before {
  content: "";
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  background-color: var(--red, #e1122e);
  -webkit-mask: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCI+PHBhdGggZD0iTTkgMyA3LjYgNUg0YTIgMiAwIDAgMC0yIDJ2MTFhMiAyIDAgMCAwIDIgMmgxNmEyIDIgMCAwIDAgMi0yVjdhMiAyIDAgMCAwLTItMmgtMy42TDE1IDNIOXptMyAxNWE1IDUgMCAxIDEgMC0xMCA1IDUgMCAwIDEgMCAxMHoiLz48Y2lyY2xlIGN4PSIxMiIgY3k9IjEzIiByPSIzIi8+PC9zdmc+Cg==") center / contain no-repeat;
          mask: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCI+PHBhdGggZD0iTTkgMyA3LjYgNUg0YTIgMiAwIDAgMC0yIDJ2MTFhMiAyIDAgMCAwIDIgMmgxNmEyIDIgMCAwIDAgMi0yVjdhMiAyIDAgMCAwLTItMmgtMy42TDE1IDNIOXptMyAxNWE1IDUgMCAxIDEgMC0xMCA1IDUgMCAwIDEgMCAxMHoiLz48Y2lyY2xlIGN4PSIxMiIgY3k9IjEzIiByPSIzIi8+PC9zdmc+Cg==") center / contain no-repeat;
}

/* Sub-nav sombre pour article */
.sub-nav { background: #000918; border-bottom-color: rgba(255,255,255,.08); }
.sub-nav-info { color: rgba(255,255,255,.5); }
.sub-nav-sep { color: rgba(255,255,255,.2); }
.sub-nav-back-arrow { color: rgba(255,255,255,.6); }
.sub-nav-back-arrow:hover { background: rgba(255,255,255,.08); }
.share-label { color: rgba(255,255,255,.4); }
.share-btn { border-color: rgba(255,255,255,.1); color: rgba(255,255,255,.5); background: rgba(255,255,255,.05); }
.share-btn:hover { border-color: rgba(255,255,255,.25); color: #fff; background: rgba(255,255,255,.1); }

@media(max-width:640px) {
  .article-dark-header { padding: 24px 16px 20px; }
  .article-hero-title { font-size: 28px; letter-spacing: 0; }
  .article-img-bridge { padding: 0 14px; }
  .article-bridge-wrap { aspect-ratio: 16/9; border-radius: 10px; }
}

[data-theme="dark"] .article-img-bridge {
  background: linear-gradient(to bottom, #04091a 50%, var(--bg) 50%);
}

/* ── LAYOUT 2 COLONNES ── */
.article-page { max-width: 1000px; margin: 0 auto; padding: 32px 24px 50px; display: grid; grid-template-columns: 1fr 320px; gap: 40px; }
@media(max-width:860px) { .article-page { grid-template-columns: 1fr; gap: 0; } }

.article-main { min-width: 0; }

/* ── BREADCRUMB ── */
.breadcrumb { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); margin-bottom: 20px; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb svg { width: 10px; height: 10px; flex-shrink: 0; }

/* ── META LINE ── */
.meta-line { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.meta-source { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--blue); text-decoration: none; }
.meta-source:hover { text-decoration: underline; }
.meta-source img { width: 18px; height: 18px; border-radius: 4px; }
.meta-cat { font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: var(--blue-pale); color: var(--blue); border: 1px solid var(--blue-mid); border-radius: 4px; padding: 2px 8px; }
.meta-sep { color: var(--border-strong); font-size: 12px; }
.meta-date, .meta-readtime { font-size: 12px; color: var(--muted); }

/* ── TITLE ── */
.article-title { font-size: 34px; font-weight: 800; line-height: 1.2; letter-spacing: -.8px; margin-bottom: 20px; color: var(--ink); }
@media(max-width:600px) { .article-title { font-size: 24px; } }

/* ── HERO IMAGE ── */
.article-hero { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 12px; margin-bottom: 28px; display: block; }

/* ── CTA TOP (avant le résumé) ── */
.btn-read-top {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; padding: 16px 24px; margin-bottom: 28px;
  background: var(--blue); color: #fff;
  border-radius: 12px; font-weight: 700; font-size: 15px;
  text-decoration: none; transition: background .15s;
}
.btn-read-top:hover { background: var(--blue-dark, #2563eb); }
.btn-read-top svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ── AI SUMMARY — REDESIGN ── */
.ai-summary { margin-bottom: 32px; }
.ai-summary-header { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; flex-wrap: wrap; }
.ai-read-time { font-size: 12px; color: var(--muted); font-family: var(--sans); }
.ai-intro-phrase { font-size: 13px; color: var(--muted); margin-bottom: 16px; font-style: italic; line-height: 1.5; }
.ai-summary-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: linear-gradient(135deg, #8b5cf6, #3b82f6); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 6px;
}
.ai-summary-badge svg { width: 14px; height: 14px; }

.ai-essential {
  font-size: 17px; font-weight: 600; line-height: 1.6; color: var(--ink);
  padding: 20px 24px; background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; margin-bottom: 16px;
}

.ai-points { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.ai-point {
  display: flex; gap: 12px; padding: 16px 20px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 10px; font-size: 14px; line-height: 1.6; color: var(--ink-2);
}
.ai-point-icon {
  flex-shrink: 0; width: 24px; height: 24px;
  background: var(--blue-pale); border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800; color: var(--blue);
}
.ai-point strong { color: var(--ink); }

.ai-impact {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 16px 20px; background: linear-gradient(135deg, rgba(139,92,246,.06), rgba(59,130,246,.06));
  border: 1px solid rgba(139,92,246,.15); border-radius: 10px;
  font-size: 14px; line-height: 1.6; color: var(--ink-2);
}
.ai-impact-icon { flex-shrink: 0; font-size: 18px; margin-top: 2px; }

/* ── ACTIONS BAR ── */
.actions-bar {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 20px 0; margin-bottom: 8px;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.btn-read {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue); color: #fff;
  padding: 12px 24px; border-radius: 10px;
  font-weight: 700; font-size: 14px; text-decoration: none;
  transition: background .15s;
}
.btn-read:hover { background: var(--blue-dark, #2563eb); }
.btn-read svg { width: 14px; height: 14px; }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 16px; border-radius: 10px;
  border: 1.5px solid var(--border-strong);
  background: var(--surface); color: var(--muted);
  font-size: 13px; font-weight: 600; cursor: pointer;
  transition: all .15s; text-decoration: none; font-family: inherit;
}
.btn-secondary:hover { border-color: var(--blue); color: var(--blue); }
.btn-secondary.active { border-color: var(--blue); color: var(--blue); background: var(--blue-pale); }
.btn-secondary.active svg { fill: var(--blue); }
.btn-secondary svg { width: 16px; height: 16px; }
.actions-right { margin-left: auto; display: flex; gap: 6px; }
.btn-icon {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1.5px solid var(--border-strong); background: var(--surface);
  color: var(--muted); cursor: pointer; display: flex;
  align-items: center; justify-content: center; transition: all .15s;
  text-decoration: none; font-family: inherit;
}
.btn-icon:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-pale); }
.btn-icon.copied { border-color: #22c55e; color: #22c55e; background: rgba(34,197,94,.08); }

/* ── TAGS & HUBS SECTION ── */
.tags-hubs-section {
  margin: 24px 0 32px; padding: 20px 24px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px;
}
.tags-hubs-group { margin-bottom: 16px; }
.tags-hubs-group:last-child { margin-bottom: 0; }
.tags-hubs-label {
  font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; color: var(--muted); margin-bottom: 10px;
  display: flex; align-items: center; gap: 6px;
}
.tags-hubs-label svg { width: 12px; height: 12px; opacity: .6; }

.tags-row { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-pill {
  font-size: 12px; font-weight: 500; color: var(--ink-2);
  background: transparent; border: 1px solid var(--border-strong);
  border-radius: 20px; padding: 5px 14px; text-decoration: none;
  transition: all .2s;
}
.tag-pill:hover { background: var(--blue); color: #fff; border-color: var(--blue); }

.hubs-row { display: flex; flex-wrap: wrap; gap: 8px; }
.hub-chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; color: var(--ink-2);
  background: linear-gradient(135deg, rgba(139,92,246,.06), rgba(59,130,246,.06));
  border: 1px solid rgba(139,92,246,.15);
  border-radius: 10px; padding: 8px 14px; text-decoration: none;
  transition: all .2s;
}
.hub-chip:hover { background: linear-gradient(135deg, rgba(139,92,246,.15), rgba(59,130,246,.15)); border-color: var(--blue); color: var(--blue); }
.hub-chip img { width: 18px; height: 18px; border-radius: 4px; }

/* ── SIDEBAR ── */
.article-sidebar { position: sticky; top: 80px; align-self: start; }
/* Mobile : pas de sidebar, la page article s'arrête aux commentaires + "À lire ensuite" */
@media(max-width:860px) { .article-sidebar { display: none; } }

.sidebar-section { margin-bottom: 28px; }
.sidebar-title {
  font-size: 13px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--muted); margin-bottom: 14px;
}

/* Related cards (sidebar) */
.related-list { display: flex; flex-direction: column; gap: 12px; }
.related-card {
  display: flex; gap: 10px; text-decoration: none;
  padding: 10px; border-radius: 10px; background: var(--surface);
  border: 1px solid var(--border); transition: all .15s;
}
.related-card:hover { border-color: var(--blue-mid); }
.related-card img {
  width: 72px; height: 52px; border-radius: 6px;
  object-fit: cover; flex-shrink: 0;
}
.related-card-text { flex: 1; min-width: 0; }
.related-card-title {
  font-size: 13px; font-weight: 600; color: var(--ink); line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.related-card:hover .related-card-title { color: var(--blue); }
.related-card-meta { font-size: 11px; color: var(--muted); margin-top: 4px; }

/* ── LIRE ENSUITE (single next article) ── */
.read-next {
  margin: 32px 0 24px;
  padding-top: 15px;
  border-top: 1px solid var(--border);
}
.read-next-label {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
}
.read-next-card {
  display: flex;
  gap: 14px;
  padding: 14px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  text-decoration: none;
  transition: all .2s;
}
.read-next-card:hover { border-color: var(--blue-mid); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.read-next-img {
  width: 120px; min-height: 80px;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
  background-color: var(--blue-pale);
  flex-shrink: 0;
}
.read-next-body { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.read-next-title {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
  margin-bottom: 6px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.read-next-card:hover .read-next-title { color: var(--blue); }
.read-next-meta { font-size: 12px; color: var(--muted); }

/* ── BOUCLE RETOUR ── */
.back-to-feed {
  text-align: center;
  padding: 10px 0 0;
}
.btn-back-feed {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 10px;
  border: 1.5px solid var(--border-strong);
  background: var(--surface);
  color: var(--blue);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: all .15s;
}
.btn-back-feed:hover { border-color: var(--blue); background: var(--blue-pale); }
.btn-back-feed svg { flex-shrink: 0; }

/* Newsletter mini widget */
.nl-widget {
  padding: 20px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(139,92,246,.08), rgba(59,130,246,.08));
  border: 1px solid rgba(139,92,246,.15);
}
/* Sondage du moment en sidebar : version compacte du widget */
.poll-side .ap-poll { margin: 0; max-width: none; padding: 16px 18px; box-shadow: none; }
.poll-side .ap-poll-q { font-size: 1rem; margin-bottom: 12px; }
.poll-side .ap-poll-opt { padding: 10px 13px; font-size: 13.5px; }
.nl-widget h4 { font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.nl-widget p { font-size: 12px; color: var(--muted); margin-bottom: 12px; line-height: 1.5; }
.nl-widget .nl-terms { margin: 9px 0 0; font-size: 11px; font-weight: 600; color: var(--muted); line-height: 1.6; text-align: center; }
.nl-widget input {
  width: 100%; padding: 10px 12px; border: 1px solid var(--border);
  border-radius: 8px; font-size: 13px; background: var(--bg);
  color: var(--ink); margin-bottom: 8px; font-family: inherit;
}
.nl-widget button {
  width: 100%; padding: 10px; background: var(--blue); color: #fff;
  border: none; border-radius: 8px; font-size: 13px; font-weight: 700;
  cursor: pointer; font-family: inherit;
}
.nl-widget button:hover { background: var(--blue-dark, #2563eb); }

/* ── RÉSUMÉ HEBDO (kept from old) ── */
.wrap{max-width:1000px;margin:0 auto;padding:20px 15px 80px}
.weekly-body p { font-size: 15px; line-height: 1.75; color: var(--ink); margin: 6px 0; }
.weekly-intro { font-size: 16px !important; font-weight: 500; color: var(--ink-2) !important; margin-bottom: 16px !important; }
.weekly-theme { font-size: 16px; font-weight: 700; color: var(--ink); margin: 24px 0 8px; letter-spacing: -.2px; }
.weekly-retenir {
  margin-top: 28px; padding: 16px 20px;
  background: var(--blue-pale); border-left: 3px solid var(--blue);
  border-radius: 4px; font-size: 14px; color: var(--ink); line-height: 1.6;
}
.weekly-retenir strong { color: var(--blue); }

/* ── LISTE SEMAINES ── */
.weekly-list { display: flex; flex-direction: column; gap: 2px; }
.weekly-item {
  display: block; padding: 20px 24px;
  background: var(--paper); border: 1px solid var(--border);
  border-radius: var(--radius); text-decoration: none;
  transition: all .15s; margin-bottom: 8px;
}
.weekly-item:hover { border-color: var(--blue-mid); background: var(--surface); }
.weekly-item-dates { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.weekly-item-title { font-size: 17px; font-weight: 700; color: var(--ink); letter-spacing: -.2px; margin-bottom: 6px; line-height: 1.4; }
.weekly-item:hover .weekly-item-title { color: var(--blue); }
.weekly-item-meta { font-size: 12px; color: var(--muted); }

/* ── SOURCE ENRICHIE ── */
.src-hd { padding: 32px 0 28px; border-bottom: 1px solid var(--border); margin-bottom: 32px; }
.src-hd-main { display: flex; align-items: flex-start; gap: 20px; }
.src-avatar {
  width: 56px; height: 56px; border-radius: 12px;
  background: var(--blue-pale); border: 1px solid var(--blue-mid);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 800; color: var(--blue);
  flex-shrink: 0; text-transform: uppercase;
}
.src-hd-name { font-size: 26px; font-weight: 800; color: var(--ink); letter-spacing: -.4px; margin-bottom: 6px; }
.src-hd-meta { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.src-hd-cats { display: flex; flex-wrap: wrap; gap: 6px; }
.src-cat-n { font-size: 10px; font-weight: 700; background: var(--blue); color: #fff; border-radius: 3px; padding: 1px 5px; margin-left: 3px; }
.src-articles-hd { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.src-articles-hd h2 { font-size: 15px; font-weight: 700; color: var(--ink); letter-spacing: -.2px; }
.arow-img-ph {
  width: 64px; height: 48px; border-radius: 4px;
  background: var(--blue-pale); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800; color: var(--blue); opacity: .7; text-transform: uppercase;
}

/* ── LISTE ARTICLES SOURCE ── */
.art-list { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.arow {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 16px; border-top: 1px solid var(--border);
  background: var(--paper); text-decoration: none; transition: background .12s;
}
.arow:first-child { border-top: none; }
.arow:hover { background: var(--surface); }
.arow-img { width: 72px; height: 52px; object-fit: cover; border-radius: 4px; flex-shrink: 0; }
.arow-body { flex: 1; min-width: 0; }
.arow-title {
  font-size: 14px; font-weight: 600; color: var(--ink); line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 4px;
}
.arow:hover .arow-title { color: var(--blue); }
.arow-meta { font-size: 12px; color: var(--muted); }
.arow-cat {
  font-size: 11px; font-weight: 600; color: var(--blue); background: var(--blue-pale);
  border: 1px solid var(--blue-mid); border-radius: 3px; padding: 2px 8px; white-space: nowrap; flex-shrink: 0;
}

/* ── DARK MODE ── */
[data-theme="dark"] .weekly-retenir { background: var(--blue-pale); }
[data-theme="dark"] .weekly-item { background: var(--paper); border-color: var(--border); }
[data-theme="dark"] .weekly-item:hover { background: var(--surface); border-color: var(--blue-mid); }
[data-theme="dark"] .arow { background: var(--paper); border-color: var(--border); }
[data-theme="dark"] .arow:hover { background: var(--surface); }
[data-theme="dark"] .art-list { border-color: var(--border); }
[data-theme="dark"] .src-avatar { background: var(--blue-pale); border-color: var(--blue-mid); }

/* ── MOBILE ARTICLE PAGE ── */
@media (max-width: 640px) {
  .article-page { padding: 20px 14px 40px; }

  /* CTA top */
  .btn-read-top { padding: 14px 16px; font-size: 14px; border-radius: 10px; margin-bottom: 22px; }

  /* AI Summary */
  .ai-essential { padding: 16px; font-size: 15px; }
  .ai-point { padding: 12px 14px; }
  .ai-impact { padding: 12px 14px; }

  /* Actions bar — wrap nicely */
  .actions-bar {
    flex-wrap: wrap; gap: 8px; padding: 16px 0;
  }
  .actions-bar .btn-read {
    width: 100%; justify-content: center; padding: 13px 20px; font-size: 14px; border-radius: 10px; order: 1;
  }
  .actions-bar .btn-secondary {
    flex: 1; justify-content: center; padding: 10px 8px; font-size: 12px; border-radius: 8px; order: 2;
  }
  .actions-right {
    margin-left: 0; width: 100%; justify-content: center; gap: 8px; order: 3;
  }
  .btn-icon { width: 36px; height: 36px; }

  /* Tags & hubs */
  .tags-hubs-section { padding: 16px; margin: 16px 0 24px; }
  .tag-pill { padding: 4px 10px; font-size: 11px; }
  .hub-chip { padding: 6px 10px; font-size: 11px; }

  /* Hero image */
  .article-hero { border-radius: 8px; margin-bottom: 20px; }

  /* Meta line */
  .meta-line { gap: 6px; margin-bottom: 12px; }
}

/* AllezParis : pastille de rubrique en rouge PSG (au lieu du violet IAfeed) */
.article-hero-cat { background: rgba(225,18,46,.25) !important; border-color: rgba(225,18,46,.5) !important; color: #fff; }

/* ══════════════════ RÉACTIONS + COMMENTAIRES (un seul bloc) ══════════════════ */
/* La carte unique reprend le style de .ap-react */
.engage-card { max-width: 680px; margin: 34px auto; background: var(--card, #fff); border: 1px solid var(--border, #e8eaf0); border-radius: 16px; padding: 20px 22px; box-shadow: 0 2px 12px rgba(0,0,0,.05); }
/* Les réactions perdent leur propre carte à l'intérieur du bloc */
.engage-card .ap-react { max-width: none; margin: 0; padding: 0; background: none; border: 0; border-radius: 0; box-shadow: none; }
[data-theme="dark"] .engage-card .ap-react { background: none; border: 0; }
.engage-sep { height: 1px; background: var(--border); margin: 20px 0; }

.comments { }
.comments-title { font-size: 1.05rem; font-weight: 800; letter-spacing: -.01em; color: var(--ink); margin: 0 0 18px; display: flex; align-items: center; gap: 10px; }
.comments-count { display: inline-flex; align-items: center; justify-content: center; min-width: 26px; height: 24px; padding: 0 8px; border-radius: 12px; background: var(--blue-pale); color: var(--blue); font-size: 13px; font-weight: 800; }

/* Formulaire (à plat dans la carte) */
.cmt-form { margin-bottom: 22px; }
.cmt-form-row { display: flex; gap: 10px; margin-bottom: 10px; }
.cmt-input { width: 100%; font: inherit; font-size: 15px; color: var(--ink); background: var(--surface, #fff); border: 1px solid var(--border-strong); border-radius: 9px; padding: 11px 13px; transition: border-color .15s, box-shadow .15s; }
.cmt-input::placeholder { color: var(--muted); }
.cmt-input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-pale); }
.cmt-textarea { resize: vertical; min-height: 74px; line-height: 1.5; }
.cmt-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cmt-form-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; }
.cmt-note { font-size: 12px; color: var(--muted); }
.cmt-submit { font: inherit; font-weight: 700; font-size: 14px; color: #fff; background: var(--blue); border: 0; border-radius: 9px; padding: 11px 22px; cursor: pointer; transition: background .15s, transform .05s; }
.cmt-submit:hover { background: var(--blue-dark, #2563eb); }
.cmt-submit:active { transform: translateY(1px); }
.cmt-submit:disabled { opacity: .6; cursor: default; }
.cmt-form-reply { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); background: var(--blue-pale); border-radius: 8px; padding: 8px 12px; margin-bottom: 10px; }
.cmt-form-reply[hidden] { display: none; }
.cmt-msg[hidden] { display: none; }
.cmt-form-reply strong { color: var(--blue); }
.cmt-cancel-reply { margin-left: auto; font-size: 18px; line-height: 1; color: var(--muted); background: none; border: 0; cursor: pointer; padding: 0 4px; }
.cmt-cancel-reply:hover { color: var(--ink); }
.cmt-msg { margin: 12px 0 0; font-size: 13px; font-weight: 600; padding: 10px 12px; border-radius: 8px; }
.cmt-msg.is-err { background: rgba(225,18,46,.1); color: #c81e37; }
.cmt-msg.is-ok { background: rgba(22,163,74,.12); color: #15803d; }

/* Liste */
.cmt-list, .cmt-replies { list-style: none; margin: 0; padding: 0; }
.cmt { display: flex; flex-wrap: wrap; gap: 12px; }
.cmt-root { padding: 18px 0; border-bottom: 1px solid var(--border); }
.cmt-root:last-child { border-bottom: 0; }
.cmt-av { flex: none; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 16px; color: #fff; background: linear-gradient(135deg, var(--blue), #1e3a8a); }
.cmt-reply .cmt-av { width: 32px; height: 32px; font-size: 13px; background: linear-gradient(135deg, #64748b, #334155); }
.cmt-main { flex: 1 1 0; min-width: 0; }
.cmt-head { display: flex; align-items: baseline; gap: 8px; margin-bottom: 4px; }
.cmt-author { font-weight: 700; font-size: 14px; color: var(--ink); }
.cmt-time { font-size: 12px; color: var(--muted); }
.cmt-body { font-size: 15px; line-height: 1.55; color: var(--ink-2); word-wrap: break-word; overflow-wrap: anywhere; }
/* Barre d'actions : j'aime, répondre, signaler */
.cmt-actions { display: flex; align-items: center; gap: 14px; margin-top: 8px; }
.cmt-like { display: inline-flex; align-items: center; gap: 5px; font: inherit; font-size: 12px; font-weight: 700; color: var(--muted); background: none; border: 0; padding: 2px 0; cursor: pointer; transition: color .15s; }
.cmt-like svg { fill: none; stroke: currentColor; stroke-width: 2; transition: fill .15s, stroke .15s, transform .12s; }
.cmt-like:hover { color: #e1122e; }
.cmt-like:hover svg { transform: scale(1.12); }
.cmt-like.is-liked { color: #e1122e; }
.cmt-like.is-liked svg { fill: #e1122e; stroke: #e1122e; }
.cmt-like-n { font-variant-numeric: tabular-nums; }
.cmt-reply-btn { font: inherit; font-size: 12px; font-weight: 700; color: var(--blue); background: none; border: 0; padding: 2px 0; cursor: pointer; }
.cmt-reply-btn:hover { text-decoration: underline; }
.cmt-report { font: inherit; font-size: 12px; font-weight: 600; color: var(--muted); background: none; border: 0; padding: 2px 0; cursor: pointer; }
.cmt-report:hover { color: #c81e37; text-decoration: underline; }
.cmt-report.is-done, .cmt-report:disabled { color: var(--muted); opacity: .7; cursor: default; text-decoration: none; }
.cmt-replies { flex-basis: 100%; margin-top: 4px; margin-left: 52px; padding-left: 16px; border-left: 2px solid var(--border); display: flex; flex-direction: column; gap: 16px; }
@media (max-width: 600px) { .cmt-replies { margin-left: 18px; } }
.cmt-replies:empty { display: none; }
.cmt-empty { color: var(--muted); font-size: 15px; padding: 8px 0; }
/* Tri */
.cmt-sort { display: flex; gap: 8px; margin-bottom: 6px; }
.cmt-sort[hidden] { display: none; }
.cmt-sort-btn { font: inherit; font-size: 12.5px; font-weight: 700; color: var(--muted); background: none; border: 0; padding: 6px 4px; cursor: pointer; border-bottom: 2px solid transparent; transition: color .15s, border-color .15s; }
.cmt-sort-btn:hover { color: var(--ink); }
.cmt-sort-btn.is-active { color: var(--blue); border-bottom-color: var(--blue); }
/* Turnstile invisible (interaction-only) : pas de marge → aucun espace vide tant que le widget reste masqué.
   Le défi n'apparaît que si Cloudflare l'exige, et se glisse alors juste au-dessus du bouton. */
.cmt-turnstile { margin: 0; }
.cmt-note a { color: var(--muted); text-decoration: underline; }
.cmt-note a:hover { color: var(--ink-2); }

/* Dark */
[data-theme="dark"] .engage-card { background: var(--surface); border-color: var(--border); }
[data-theme="dark"] .cmt-input { background: var(--paper); }
[data-theme="dark"] .cmt-msg.is-err { background: rgba(225,18,46,.18); color: #fca5a5; }
[data-theme="dark"] .cmt-msg.is-ok { background: rgba(22,163,74,.2); color: #86efac; }

@media (max-width: 640px) {
  .engage-card { margin: 26px auto; padding: 16px 15px; }
  .engage-sep { margin: 16px 0; }
  .comments-title { font-size: 1rem; }
  .cmt-form-row { flex-direction: column; gap: 10px; }
  .cmt-form-foot { flex-direction: column; align-items: stretch; gap: 10px; }
  .cmt-submit { width: 100%; }
  .cmt-av { width: 34px; height: 34px; font-size: 14px; }
  .cmt-replies { padding-left: 12px; }
}

/* AllezParis : ligne méta du 