/* ============================================================
   blog.css — Direction B v2 "Passion Pop équilibrée"
   Styles for /blog/*/ article pages (189 articles)
   All existing class names preserved; visual refaite
   ============================================================ */

html {
  --bg: #fdf6e8;
  --bg-alt: #f4ead0;
  --paper: #fff9e9;
  --cream: #f8e8a8;
  --ink: #1a1208;
  --ink-soft: #3d2f1a;
  --ink-muted: #6b5a42;
  --line: rgba(26, 18, 8, 0.15);
  --red: #e8242c;
  --red-dark: #b01820;
  --blue: #1b5aa8;
  --yellow: #ffc83d;
  --green: #10a36f;
  --purple: #6c3ab0;
  --font-display: 'Bungee', Impact, sans-serif;
  --font-shout: 'Bangers', Impact, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-hand: 'Caveat', cursive;
  --red-light: #e8242c;
  --red-bright: #e8242c;
  --dark: #fdf6e8;
  --dark2: #f4ead0;
  --dark3: #fff;
  --dark4: #fff9e9;
  --border: rgba(26, 18, 8, 0.15);
  --text: #1a1208;
  --muted: #3d2f1a;
  --subtle: #6b5a42;
  --radius: 0;
  --radius-lg: 0;
  scroll-behavior: smooth;
  background: #fdf6e8;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #fdf6e8;
  color: #1a1208;
  line-height: 1.65;
  overflow-x: hidden;
  font-size: clamp(15px, 1.2vw, 17px);
  -webkit-font-smoothing: antialiased;
  padding-top: 70px; /* header space */
}.article-hero-inner,
.article-header {
  max-width: 860px;
  margin: 0 auto;
  padding: 24px clamp(16px, 3vw, 32px) 0;
}

/* Category badge — pop pill */
.article-cat-badge,
.category-badge {
  display: inline-block;
  font-family: 'Bangers', Impact, sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 12px;
  border: 3px solid #1a1208;
  box-shadow: 3px 3px 0 #1a1208;
  background: #e8242c;
  color: #fff;
  margin-bottom: 20px;
  transform: rotate(-1deg);
}
/* Different categories = different accent colors */
.article-cat-badge.guide,
.category-badge.guide { background: #e8242c; }
.article-cat-badge.cgc,
.category-badge.cgc { background: #ffc83d; color: #1a1208; }
.article-cat-badge.key,
.category-badge.key { background: #1b5aa8; }
.article-cat-badge.valeur,
.category-badge.valeur { background: #10a36f; }
.article-cat-badge.histoire,
.category-badge.histoire { background: #6c3ab0; }
.article-cat-badge.app,
.category-badge.app { background: #e8242c; }
.article-cat-badge.collection,
.category-badge.collection { background: #e8242c; }

.article-hero h1,
.article-header h1 {
  font-family: 'Bungee', Impact, sans-serif;
  font-size: clamp(28px, 4.5vw, 52px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.8px;
  margin-bottom: 18px;
  color: #1a1208;
  text-transform: uppercase;
}

.article-meta,
.meta-info {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 13.5px;
  color: #6b5a42;
  flex-wrap: wrap;
  padding-bottom: 20px;
  border-bottom: 2px solid #1a1208;
  font-weight: 600;
}
.article-meta strong,
.meta-info strong { color: #1a1208; font-weight: 700; }
.meta-sep { color: #6b5a42; margin: 0 6px; }/* ── BREADCRUMB ─────────────────────────────────────────── */
.breadcrumb {
  max-width: 860px;
  margin: 0 auto;
  padding: 16px clamp(16px, 3vw, 32px);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 13px;
  color: #6b5a42;
  font-weight: 600;
}
.breadcrumb a { color: #6b5a42; text-decoration: none; }
.breadcrumb a:hover { color: #e8242c; }
.breadcrumb span { color: #6b5a42; margin: 0 6px; }

/* ── ARTICLE BODY ───────────────────────────────────────── */
.article-layout,
.article-body {
  max-width: 860px;
  margin: 0 auto;
  padding: 32px clamp(16px, 3vw, 32px) 64px;
}
.article-content h2,
.article-body h2 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  letter-spacing: -0.4px;
  line-height: 1.2;
  margin: 40px 0 16px;
  color: #1a1208;
  padding-top: 8px;
}
.article-content h2::before,
.article-body h2::before {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: #e8242c;
  margin-bottom: 16px;
}
.article-content h3,
.article-body h3 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 700;
  margin: 24px 0 10px;
  color: #1a1208;
  line-height: 1.3;
}
.article-content p,
.article-body p {
  color: #3d2f1a;
  line-height: 1.75;
  margin-bottom: 16px;
  font-size: clamp(15px, 1.3vw, 17px);
  font-weight: 500;
}
.article-content strong,
.article-body strong { color: #1a1208; font-weight: 700; }
.article-content ul,
.article-content ol,
.article-body ul,
.article-body ol {
  color: #3d2f1a;
  padding-left: 22px;
  margin-bottom: 16px;
}
.article-content li,
.article-body li {
  margin-bottom: 8px;
  line-height: 1.7;
  font-size: clamp(15px, 1.3vw, 17px);
  font-weight: 500;
}
.article-content a,
.article-body a {
  color: #e8242c;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  font-weight: 600;
}
.article-content a:hover,
.article-body a:hover { color: #b01820; }

/* Emphasis */
.article-content em,
.article-body em { color: #1a1208; font-style: italic; }

/* ── CALLOUT ────────────────────────────────────────────── */
.callout {
  background: #ffc83d;
  border: 3px solid #1a1208;
  box-shadow: 5px 5px 0 #1a1208;
  padding: 20px 24px;
  margin: 28px 0;
  transform: rotate(-0.4deg);
  border-radius: 0;
}
.callout p { margin-bottom: 0; color: #1a1208; font-weight: 500; }
.callout strong { color: #1a1208; font-weight: 800; }

/* ── INFO BOX ───────────────────────────────────────────── */
.info-box {
  background: #fff;
  border: 3px solid #1a1208;
  box-shadow: 4px 4px 0 #1a1208;
  padding: 22px;
  margin: 28px 0;
  border-radius: 0;
}
.info-box h4 {
  font-family: 'Bungee', Impact, sans-serif;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: -0.2px;
  margin-bottom: 10px;
  color: #1a1208;
  text-transform: uppercase;
}
.info-box ul {
  color: #3d2f1a;
  padding-left: 20px;
  margin-bottom: 0;
}
.info-box li { margin-bottom: 6px; font-size: 14px; font-weight: 500; }

/* ── STEPS ──────────────────────────────────────────────── */
.steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 24px 0;
}
.step {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 18px;
  align-items: flex-start;
  padding: 18px;
  background: #fff;
  border: 2px solid rgba(26, 18, 8, 0.15);
  border-radius: 0;
}
.step-num {
  width: 44px;
  height: 44px;
  background: #1a1208;
  color: #fff;
  border: 3px solid #1a1208;
  box-shadow: 3px 3px 0 #1a1208;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bungee', Impact, sans-serif;
  font-size: 18px;
  font-weight: 400;
  flex-shrink: 0;
  transform: rotate(-3deg);
}
.step:first-child .step-num { background: #e8242c; }
.step:last-child .step-num { background: #ffc83d; color: #1a1208; }
.step-content h4 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #1a1208;
}
.step-content p {
  font-size: 14px;
  color: #3d2f1a;
  margin-bottom: 0;
  line-height: 1.65;
  font-weight: 500;
}

/* ── PROBLEM CARDS (within articles) ────────────────────── */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 24px 0;
}
.problem-card {
  background: #fff;
  border: 3px solid #1a1208;
  box-shadow: 4px 4px 0 #1a1208;
  padding: 20px;
}
.problem-card h3 {
  font-family: 'Bungee', Impact, sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #1a1208;
  letter-spacing: -0.2px;
  margin: 0 0 10px;
  text-transform: uppercase;
  line-height: 1.15;
}
.problem-card p {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 14px;
  color: #3d2f1a;
  margin-bottom: 0;
  line-height: 1.6;
  font-weight: 500;
}
.p-icon,
.problem-card .p-icon {
  width: 40px;
  height: 40px;
  background: #e8242c;
  color: #fff;
  border: 2px solid #1a1208;
  box-shadow: 2px 2px 0 #1a1208;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 12px;
  transform: rotate(-4deg);
  flex-shrink: 0;
}

/* ── METHOD CARDS (comparative cards in articles) ───────── */
.method-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 24px 0;
}
.method-card {
  background: #fff;
  border: 3px solid #1a1208;
  box-shadow: 4px 4px 0 #1a1208;
  padding: 20px;
  border-radius: 0;
}
.method-card h3 {
  font-family: 'Bungee', Impact, sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: #1a1208;
  letter-spacing: -0.2px;
  margin: 0 0 10px;
  text-transform: uppercase;
}
.method-card p {
  font-size: 13px;
  line-height: 1.55;
  color: #3d2f1a;
  margin: 0 0 10px;
  font-weight: 500;
}
.method-score {
  display: inline-block;
  font-family: 'Bangers', Impact, sans-serif;
  font-size: 12px;
  letter-spacing: 1.3px;
  padding: 4px 10px;
  border: 2px solid #1a1208;
  margin-top: 6px;
}
.method-score.score-good { background: #10a36f; color: #fff; }
.method-score.score-ok { background: #ffc83d; color: #1a1208; }
.method-score.score-bad { background: #e8242c; color: #fff; }

/* ── FAQ ────────────────────────────────────────────────── */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 24px 0;
}
.faq-item {
  background: #fff;
  border: 3px solid #1a1208;
  box-shadow: 4px 4px 0 #1a1208;
  border-radius: 0;
  overflow: hidden;
  transition: box-shadow 280ms ease-out, background 280ms ease-out;
}
.faq-item.open {
  background: #ffc83d;
  box-shadow: 5px 5px 0 #1a1208;
}
.faq-q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 16px 20px;
  color: #1a1208;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: clamp(14px, 1.5vw, 16px);
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.faq-q::after {
  content: '+';
  font-family: 'Bangers', Impact, sans-serif;
  font-size: 20px;
  color: #fff;
  background: #e8242c;
  border: 2px solid #1a1208;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 200ms ease-out;
}
.faq-item.open .faq-q::after {
  content: '+';
  transform: rotate(45deg);
}
.faq-a {
  display: none;
  padding: 0 20px 18px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 14.5px;
  color: #1a1208;
  line-height: 1.7;
  font-weight: 500;
}
.faq-item.open .faq-a { display: block; }
.faq-a a { color: #b01820; font-weight: 700; }

/* ── CTA BLOCK ──────────────────────────────────────────── */
.cta-block {
  background: #e8242c;
  color: #fff;
  background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1.5px);
  background-size: 6px 6px;
  border: 3px solid #1a1208;
  box-shadow: 6px 6px 0 #1a1208;
  border-radius: 0;
  padding: clamp(28px, 4vw, 44px) clamp(16px, 3vw, 28px);
  text-align: center;
  margin: 40px 0;
}
.cta-block h2 {
  font-family: 'Bungee', Impact, sans-serif;
  font-size: clamp(22px, 3.5vw, 32px);
  color: #fff;
  margin-bottom: 12px;
  margin-top: 0;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  line-height: 1.05;
  text-shadow: 3px 3px 0 #1a1208;
  padding-top: 0;
}
.cta-block h2::before { display: none; }
.cta-block p {
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 20px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.55;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  background: #ffc83d;
  border: 3px solid #1a1208;
  box-shadow: 4px 4px 0 #1a1208;
  border-radius: 0;
  color: #1a1208 !important;
  text-decoration: none;
  font-family: 'Bangers', Impact, sans-serif;
  font-weight: 400;
  font-size: 15px;
  letter-spacing: 1.8px;
  transition: transform 140ms ease-out, box-shadow 140ms ease-out;
}
.btn-primary:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 #1a1208;
  text-decoration: none;
  color: #1a1208 !important;
}
.cta-note {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 12px;
  font-weight: 600;
}

/* ── INTERNAL LINKS ─────────────────────────────────────── */
.internal-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 32px 0;
}
.internal-links h3 {
  grid-column: 1 / -1;
  font-family: 'Bangers', Impact, sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #e8242c;
  margin-bottom: 6px;
}
.int-link {
  background: #fff;
  border: 3px solid #1a1208;
  box-shadow: 3px 3px 0 #1a1208;
  border-radius: 0;
  padding: 16px 18px;
  text-decoration: none;
  display: block;
  transition: transform 200ms ease-out, box-shadow 200ms ease-out;
  border-bottom: 3px solid #1a1208;
}
.int-link:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 #1a1208;
  background: #f8e8a8;
  color: inherit;
}
.int-link .il-label {
  font-family: 'Bangers', Impact, sans-serif;
  font-size: 11px;
  color: #e8242c;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1.3px;
  margin-bottom: 4px;
}
.int-link .il-title {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #1a1208;
}/* ── PILLAR INTERNAL LINKS (aside in articles) ─────────── */
.pillar-internal-links {
  background: #f8e8a8;
  border: 3px solid #1a1208;
  box-shadow: 5px 5px 0 #1a1208;
  border-radius: 0;
  padding: 22px 24px;
  margin: 32px 0;
  transform: rotate(-0.3deg);
}
.pillar-internal-links h3 {
  font-family: 'Bungee', Impact, sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: #1a1208;
  margin: 0 0 12px;
  letter-spacing: -0.2px;
  text-transform: uppercase;
}
.pillar-internal-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pillar-internal-links li {
  color: #1a1208;
  font-size: 14.5px;
  line-height: 1.55;
  font-weight: 500;
}
.pillar-internal-links li::before {
  content: '→ ';
  color: #e8242c;
  font-weight: 800;
  margin-right: 4px;
}
.pillar-internal-links a {
  color: #b01820;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  font-weight: 700;
}
.pillar-internal-links a:hover {
  color: #e8242c;
  text-decoration: underline;
}

/* ── SHORT ANSWER block in articles ─────────────────────── */
.short-answer {
  background: #10a36f;
  color: #fff;
  border: 3px solid #1a1208;
  box-shadow: 5px 5px 0 #1a1208;
  border-radius: 0;
  padding: 22px 26px;
  margin: 24px 0 32px;
  transform: rotate(-0.4deg);
}
.short-answer-label {
  font-family: 'Bangers', Impact, sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: #ffc83d;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.short-answer p {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: clamp(15px, 1.5vw, 16.5px);
  color: #fff;
  line-height: 1.6;
  margin: 0;
  font-weight: 500;
}
.short-answer p strong { color: #ffc83d; font-weight: 800; }

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 900px) {
  .method-cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .link-grid { grid-template-columns: 1fr; }
  .internal-links { grid-template-columns: 1fr; }
  .breadcrumb { padding: 12px 16px; }
  .article-layout,
  .article-body { padding: 24px 16px 48px; }
  .article-hero { padding: 24px 0 0; }
  .article-header { padding: 20px 16px 0; }
  .problem-grid { grid-template-columns: 1fr; }
  .method-cards { grid-template-columns: 1fr; }
  body { padding-top: 64px; }
}

/* ── REDUCED MOTION ─────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .callout, .short-answer, .author-byline,
  .pillar-internal-links, .article-cat-badge, .category-badge,
  .step-num, .p-icon { transform: none !important; }
  * { transition: none !important; animation: none !important; }
}

:focus-visible {
  outline: 3px solid #ffc83d;
  outline-offset: 3px;
}

/* ============================================================
   BLOG LISTING (/blog/ and /blog/page/N/)
   ============================================================ */

.blog-hero {
  padding: clamp(40px, 5vw, 60px) 0 clamp(30px, 4vw, 50px);
  background: #fdf6e8;
  background-image: radial-gradient(rgba(232, 36, 44, 0.1) 1px, transparent 1.5px);
  background-size: 6px 6px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 3px solid #1a1208;
}
.blog-hero::before { display: none; }
.blog-hero .section-label {
  display: inline-block;
  padding: 5px 12px;
  background: #e8242c !important;
  color: #fff !important;
  border: 3px solid #1a1208;
  box-shadow: 3px 3px 0 #1a1208;
  font-family: 'Bangers', Impact, sans-serif;
  font-size: 13px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  transform: rotate(-1deg);
  margin-bottom: 18px;
  border-radius: 0;
}
.blog-hero h1 {
  font-family: 'Bungee', Impact, sans-serif;
  font-size: clamp(32px, 5.5vw, 68px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -1px;
  text-transform: uppercase;
  max-width: 900px;
  margin: 0 auto 14px;
  color: #1a1208;
  padding-top: 0;
}
.blog-hero h1::before { display: none; }
.blog-hero p {
  font-family: 'Inter', sans-serif;
  font-size: clamp(15px, 1.4vw, 18px);
  color: #3d2f1a;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.55;
  font-weight: 500;
}
.blog-hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 1.5vw, 20px);
  margin-top: 20px;
  flex-wrap: wrap;
}
.blog-hero-stat {
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  color: #1a1208;
  font-weight: 600;
  padding: 8px 14px;
  background: #fff;
  border: 2px solid #1a1208;
  box-shadow: 3px 3px 0 #1a1208;
}
.blog-hero-stat strong {
  color: #e8242c;
  font-weight: 800;
  font-family: 'Bangers', Impact, sans-serif;
  letter-spacing: 1px;
}
.blog-hero-sep { display: none; }

.blog-section { padding: clamp(40px, 5vw, 60px) clamp(16px, 3vw, 48px); }
.blog-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: clamp(24px, 3vw, 40px);
  align-items: start;
}
@media (max-width: 1023px) {
  .blog-inner { grid-template-columns: 1fr; }
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 1279px) { .articles-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 767px) { .articles-grid { grid-template-columns: 1fr; } }

.article-card {
  background: #fff;
  border: 3px solid #1a1208;
  box-shadow: 4px 4px 0 #1a1208;
  border-radius: 0;
  overflow: hidden;
  transition: transform 200ms ease-out, box-shadow 200ms ease-out;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  position: relative;
}
.article-card::before { display: none; }
.article-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 #1a1208;
}
.article-card.featured {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: stretch;
}
@media (max-width: 767px) { .article-card.featured { flex-direction: column; } }
.article-card-body {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.article-card.featured .article-card-body { padding: 28px 32px; flex: 1; }

.article-cat {
  display: inline-block;
  font-family: 'Bangers', Impact, sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  padding: 4px 10px;
  border: 2px solid #1a1208;
  background: #e8242c;
  color: #fff;
  align-self: flex-start;
  margin-bottom: 12px;
}
.cat-guide { background: #e8242c; color: #fff; }
.cat-cgc { background: #ffc83d; color: #1a1208; }
.cat-valeur { background: #10a36f; color: #fff; }
.cat-key { background: #1b5aa8; color: #fff; }
.cat-histoire { background: #6c3ab0; color: #fff; }.article-card h2 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(15px, 1.5vw, 17px);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 10px;
  color: #1a1208;
  padding-top: 0;
  letter-spacing: -0.2px;
  text-transform: none;
}
.article-card h2::before { display: none; }
.article-card.featured h2 {
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.25;
  margin-bottom: 12px;
}
.article-card p {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #3d2f1a;
  line-height: 1.55;
  flex: 1;
  margin-bottom: 14px;
  font-weight: 500;
}
.article-card.featured p { font-size: 15px; max-width: 65ch; }
.article-card .article-meta {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: #6b5a42;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  padding-bottom: 0;
  border-bottom: none;
  font-weight: 600;
}
.article-link {
  font-family: 'Bangers', Impact, sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: #e8242c;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
  letter-spacing: 1.2px;
}
.article-link::after {
  position: absolute;
  inset: 0;
  content: '';
}

/* Sidebar */
.blog-sidebar { position: sticky; top: 90px; }
@media (max-width: 1023px) { .blog-sidebar { position: static; } }
.sidebar-block {
  background: #fff;
  border: 3px solid #1a1208;
  box-shadow: 4px 4px 0 #1a1208;
  border-radius: 0;
  padding: 20px;
  margin-bottom: 18px;
}
.sidebar-block h3 {
  font-family: 'Bangers', Impact, sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: #e8242c;
  margin-bottom: 14px;
}
.cat-filter { display: flex; flex-direction: column; gap: 6px; }
.cat-filter a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border: 2px solid #1a1208;
  background: #fff;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #1a1208;
  transition: all 140ms;
  font-weight: 600;
}
.cat-filter a:hover {
  background: #f8e8a8;
  box-shadow: 2px 2px 0 #1a1208;
}
.cat-filter a.active {
  background: #1a1208;
  color: #ffc83d;
  box-shadow: 3px 3px 0 #e8242c;
}
.cat-count {
  font-family: 'Bangers', Impact, sans-serif;
  font-size: 11px;
  background: #ffc83d;
  color: #1a1208;
  padding: 2px 8px;
  letter-spacing: 1px;
  border: 1px solid #1a1208;
}
.sidebar-cta {
  background: #e8242c;
  color: #fff;
  background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1.5px);
  background-size: 6px 6px;
  border: 3px solid #1a1208;
  box-shadow: 4px 4px 0 #1a1208;
  border-radius: 0;
  padding: 22px;
  text-align: center;
}
.sidebar-cta h3 {
  font-family: 'Bungee', Impact, sans-serif;
  font-size: 17px;
  font-weight: 400;
  color: #fff;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: -0.3px;
  line-height: 1.15;
}
.sidebar-cta .sidebar-title {
  color: #fff;
}
.sidebar-cta p {
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 14px;
  line-height: 1.5;
  font-weight: 500;
}
.btn-cta-sm {
  display: block;
  background: #ffc83d;
  color: #1a1208 !important;
  text-align: center;
  padding: 10px 14px;
  border: 3px solid #1a1208;
  box-shadow: 3px 3px 0 #1a1208;
  border-radius: 0;
  font-family: 'Bangers', Impact, sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-decoration: none;
  transition: all 140ms;
}
.btn-cta-sm:hover {
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 #1a1208;
  text-decoration: none;
  color: #1a1208 !important;
}/* Search */
.search-bar { position: relative; margin-bottom: 18px; }
.search-bar input {
  width: 100%;
  padding: 12px 14px 12px 38px;
  background: #fff;
  border: 2px solid #1a1208;
  border-radius: 0;
  color: #1a1208;
  font-family: 'Inter', sans-serif;
  font-size: 14.5px;
  font-weight: 500;
  outline: none;
}
.search-bar input:focus { box-shadow: 3px 3px 0 #e8242c; }
.search-bar input::placeholder { color: #6b5a42; }
.search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #6b5a42;
  font-size: 16px;
  pointer-events: none;
}

.no-results {
  display: none;
  text-align: center;
  padding: 48px 16px;
  color: #3d2f1a;
  font-size: 15px;
  grid-column: 1 / -1;
  background: #fff9e9;
  border: 3px solid #1a1208;
  font-weight: 500;
}

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.page-btn {
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  border: 3px solid #1a1208;
  background: #fff;
  color: #1a1208;
  font-family: 'Bangers', Impact, sans-serif;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 140ms;
  text-decoration: none;
  box-shadow: 2px 2px 0 #1a1208;
}
.page-btn:hover:not(:disabled) {
  background: #f8e8a8;
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0 #1a1208;
  color: #1a1208;
}
.page-btn.active {
  background: #e8242c;
  border-color: #1a1208;
  color: #fff;
  box-shadow: 3px 3px 0 #1a1208;
}
.page-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.page-info {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #6b5a42;
  padding: 0 8px;
  font-weight: 600;
}

/* ── Hub banner (blog index) ────────────────────────────────────────────── */
.hub-banner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px 8px;
}
.hub-banner-inner {
  border: 3px solid #1a1208;
  background: #fff;
  box-shadow: 4px 4px 0 #1a1208;
  padding: 20px 24px;
}
.hub-banner-title {
  font-family: 'Bangers', Impact, sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #e8242c;
  margin-bottom: 14px;
}
.hub-banner-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.hub-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  border: 2px solid #1a1208;
  background: #fdf6e3;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #1a1208;
  text-decoration: none;
  transition: all 140ms;
  box-shadow: 2px 2px 0 #1a1208;
}
.hub-chip:hover {
  background: #ffc83d;
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0 #1a1208;
}
.hub-chip-emoji { font-size: 15px; }
@media (max-width: 600px) {
  .hub-banner { padding: 0 12px 8px; }
  .hub-banner-inner { padding: 16px; }
  .hub-chip { padding: 6px 10px; font-size: 12px; }
}.article-card h2 a {
  color: inherit;
  text-decoration: none;
}
.article-card h2 a:hover { color: #e8242c; }

/* ── Article bottom hub CTA ─────────────────────────────── */
.article-hubs-cta {
  margin: 3rem auto 0;
  max-width: 800px;
  padding: 1.5rem;
  background: #fffdf5;
  border: 3px solid #1a1208;
  box-shadow: 5px 5px 0 #1a1208;
}
.article-hubs-cta h3 {
  font-family: 'Bangers', Impact, sans-serif;
  font-size: 1.15rem;
  letter-spacing: 1px;
  color: #1a1208;
  text-align: center;
  margin: 0 0 1rem;
}
.article-hubs-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.article-hubs-grid a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  background: #fff;
  border: 2px solid #1a1208;
  box-shadow: 2px 2px 0 #1a1208;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: .8rem;
  font-weight: 600;
  color: #1a1208;
  text-decoration: none;
  transition: transform .15s, box-shadow .15s;
}
.article-hubs-grid a:hover {
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0 #1a1208;
  color: #e8242c;
}.hub-index-stats .stat { text-align: center; }
.hub-index-stats .stat-num { font-family: 'Bangers', Impact, sans-serif; font-size: 2rem; color: #e8242c; display: block; }
.hub-index-stats .stat-label { font-size: .8rem; color: #6b5a42; font-weight: 600; }
@media (max-width: 560px) { .hub-cards-grid { grid-template-columns: 1fr; } .hub-index-hero h1 { font-size: 1.6rem; } }

/* ── AUTHOR HUBS ──────────────────────────────────────────── */

/* Author CTA block at bottom of articles (parallel to .article-hubs-cta) */
.article-authors-cta {
  margin: 2.5rem 0 0;
  padding: 1.5rem 1.75rem;
  background: #fffdf5;
  border: 3px solid #1a1208;
  box-shadow: 5px 5px 0 #1a1208;
}
.article-authors-cta h3 {
  font-family: 'Bangers', Impact, sans-serif;
  font-size: 1.15rem;
  letter-spacing: 1px;
  color: #1a1208;
  margin-bottom: .75rem;
  text-align: center;
}
.article-authors-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.article-authors-grid a {
  display: inline-block;
  padding: 6px 14px;
  background: #fff;
  border: 2px solid #1a1208;
  box-shadow: 2px 2px 0 #1a1208;
  font-family: 'Inter', sans-serif;
  font-size: .82rem;
  font-weight: 600;
  color: #1a1208;
  text-decoration: none;
  transition: transform .12s, box-shadow .12s, color .12s;
}
.article-authors-grid a:hover {
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0 #1a1208;
  color: #e8242c;
}/* Author dropdown filter on blog index */
.author-filter-bar {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin: 0 0 1.5rem;
  padding: .75rem 1rem;
  background: #fff;
  border: 3px solid #1a1208;
  box-shadow: 4px 4px 0 #1a1208;
}
.author-filter-label {
  font-family: 'Bangers', Impact, sans-serif;
  font-size: .95rem;
  letter-spacing: .5px;
  color: #1a1208;
  white-space: nowrap;
}
.author-filter-select {
  flex: 1;
  max-width: 340px;
  padding: 8px 12px;
  font-family: 'Inter', sans-serif;
  font-size: .85rem;
  font-weight: 500;
  color: #1a1208;
  background: #fffdf5;
  border: 2px solid #1a1208;
  border-radius: 0;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%231a1208' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 30px;
}
.author-filter-select:focus {
  outline: 2px solid #e8242c;
  outline-offset: 1px;
}
@media (max-width: 600px) {
  .author-filter-bar {
    flex-direction: column;
    align-items: stretch;
  }
  .author-filter-select {
    max-width: 100%;
  }
}
@media (max-width: 600px) {
  .char-grid { grid-template-columns: 1fr; }
}

/* ── Author Hub Pages — Visual Polish & Pagination ──────────────────────── */

/* Stats cards row under hero */
.author-stats-row {
  max-width: 900px;
  margin: -8px auto 32px;
  padding: 0 16px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.author-stat-card {
  background: #fff;
  border: 3px solid #1a1208;
  box-shadow: 4px 4px 0 #1a1208;
  padding: 14px 12px;
  text-align: center;
  transition: transform 140ms;
}
.author-stat-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 #1a1208;
}
.author-stat-card-num {
  font-family: 'Bangers', Impact, sans-serif;
  font-size: 2rem;
  line-height: 1;
  color: #e8242c;
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.author-stat-card-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  color: #6b5a42;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}
@media (max-width: 560px) {
  .author-stats-row { gap: 8px; }
  .author-stat-card { padding: 10px 6px; }
  .author-stat-card-num { font-size: 1.4rem; }
  .author-stat-card-label { font-size: 0.65rem; }
}

/* Bio — better readability */
.author-bio {
  background: #fff;
  border: 3px solid #1a1208;
  box-shadow: 4px 4px 0 #1a1208;
  padding: 28px 32px;
  margin-bottom: 32px;
  position: relative;
}
.author-bio h2 {
  font-family: 'Bangers', Impact, sans-serif;
  font-size: 1.6rem;
  letter-spacing: 1.5px;
  color: #1a1208;
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid #1a1208;
  display: flex;
  align-items: center;
  gap: 10px;
}
.author-bio h2::before { content: '✍️'; font-size: 1.3rem; }
.author-bio p {
  font-family: 'Inter', sans-serif;
  font-size: 1.04rem;
  line-height: 1.78;
  color: #2a2010;
  margin: 0 0 18px;
}
.author-bio p:last-child { margin-bottom: 0; }
/* Drop cap on first paragraph */
.author-bio p:first-of-type::first-letter {
  font-family: 'Bangers', Impact, sans-serif;
  font-size: 3.6rem;
  line-height: 0.9;
  float: left;
  margin: 4px 10px 0 0;
  color: #e8242c;
  font-weight: 400;
}
.author-bio strong {
  color: #1a1208;
  font-weight: 700;
  background: linear-gradient(180deg, transparent 70%, #ffe88a 70%, #ffe88a 95%, transparent 95%);
  padding: 0 1px;
}
.author-bio em { color: #6b5a42; font-style: italic; }
@media (max-width: 600px) {
  .author-bio { padding: 18px 18px; }
  .author-bio p { font-size: 0.98rem; line-height: 1.7; }
  .author-bio p:first-of-type::first-letter { font-size: 2.8rem; }
}

/* Characters grid section */
.author-characters-grid-section {
  background: #fffaf0;
  border: 3px solid #1a1208;
  box-shadow: 4px 4px 0 #1a1208;
  padding: 24px 28px;
  margin-bottom: 32px;
}
.author-characters-grid-section h2 {
  font-family: 'Bangers', Impact, sans-serif;
  font-size: 1.4rem;
  letter-spacing: 1.5px;
  color: #1a1208;
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.author-characters-grid-section h2::before { content: '🦸'; font-size: 1.2rem; }
.author-characters-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.author-characters-grid a,
.author-characters-grid span {
  display: inline-block;
  padding: 6px 14px;
  border: 2px solid #1a1208;
  background: #fff;
  color: #1a1208;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 2px 2px 0 #1a1208;
  transition: transform 120ms;
}
.author-characters-grid a:hover {
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0 #1a1208;
  background: #ffc83d;
}

/* Impact section */
.author-impact {
  background: #1a1208;
  color: #fff;
  border: 3px solid #1a1208;
  box-shadow: 4px 4px 0 #e8242c;
  padding: 24px 28px;
  margin-bottom: 32px;
}
.author-impact h2 {
  font-family: 'Bangers', Impact, sans-serif;
  font-size: 1.4rem;
  letter-spacing: 1.5px;
  color: #ffc83d;
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.author-impact h2::before { content: '💥'; font-size: 1.2rem; }
.author-impact p {
  font-size: 1rem;
  line-height: 1.7;
  color: #f5f0e6;
  margin: 0;
}
.author-impact strong {
  color: #ffc83d;
  background: none;
  padding: 0;
}

/* Articles section heading */
.author-articles-section { margin-top: 8px; }
.author-articles-section h2 {
  font-family: 'Bangers', Impact, sans-serif;
  font-size: 1.6rem;
  letter-spacing: 1.5px;
  color: #1a1208;
  margin: 0 0 6px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.author-articles-section h2::before { content: '📚'; font-size: 1.3rem; }
.author-articles-count {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: #6b5a42;
  margin-bottom: 18px;
}
.author-articles-count strong { color: #e8242c; font-weight: 700; }

/* ── /auteur/ pillar — Search + Featured + Era Cards ───────────────────── */

/* Search + filter bar */
.authors-search-wrap {
  max-width: 900px;
  margin: -8px auto 28px;
  padding: 0 16px;
}
.authors-search {
  display: flex;
  align-items: center;
  background: #fff;
  border: 3px solid #1a1208;
  box-shadow: 4px 4px 0 #1a1208;
  padding: 0;
  overflow: hidden;
}
.authors-search-icon {
  font-size: 1.2rem;
  padding: 0 14px;
  color: #6b5a42;
}
.authors-search-input {
  flex: 1;
  border: 0;
  background: transparent;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  padding: 14px 0;
  outline: none;
  color: #1a1208;
}
.authors-search-input::placeholder { color: #9a8a72; }
.authors-search-clear {
  border: 0;
  background: transparent;
  color: #6b5a42;
  font-size: 1.4rem;
  padding: 0 14px;
  cursor: pointer;
  display: none;
}
.authors-search-clear:hover { color: #e8242c; }
.authors-search-clear.visible { display: block; }

.authors-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  align-items: center;
}
.authors-filter-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  color: #6b5a42;
  font-weight: 600;
  margin-right: 4px;
}
.authors-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 14px;
  border: 2px solid #1a1208;
  background: #fff;
  color: #1a1208;
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 2px 2px 0 #1a1208;
  transition: transform 120ms, background 120ms;
}
.authors-filter-chip:hover {
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0 #1a1208;
  background: #f8e8a8;
}
.authors-filter-chip.active {
  background: #e8242c;
  color: #fff;
  box-shadow: 3px 3px 0 #1a1208;
}
.authors-filter-chip.active:hover { background: #c91e25; }

.authors-search-empty {
  display: none;
  text-align: center;
  padding: 32px 16px;
  font-family: 'Inter', sans-serif;
  color: #6b5a42;
  font-size: 0.95rem;
}
.authors-search-empty.visible { display: block; }

/* Featured authors strip */
.featured-authors {
  max-width: 1180px;
  margin: 0 auto 40px;
  padding: 0 16px;
}
.featured-authors-title {
  font-family: 'Bangers', Impact, sans-serif;
  font-size: 1.5rem;
  letter-spacing: 1.5px;
  color: #1a1208;
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.featured-authors-title::before { content: '⭐'; font-size: 1.3rem; }
.featured-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .featured-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .featured-grid { grid-template-columns: 1fr; } }

.featured-card {
  background: #fff;
  border: 3px solid #1a1208;
  box-shadow: 5px 5px 0 #1a1208;
  padding: 18px 16px 14px;
  text-decoration: none;
  color: #1a1208;
  display: block;
  position: relative;
  transition: transform 160ms, box-shadow 160ms;
}
.featured-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 8px 8px 0 #1a1208;
}
.featured-card-emoji {
  font-size: 2.4rem;
  line-height: 1;
  display: block;
  margin-bottom: 8px;
}
.featured-card-name {
  font-family: 'Bangers', Impact, sans-serif;
  font-size: 1.25rem;
  letter-spacing: 1px;
  color: #1a1208;
  margin: 0 0 4px;
}
.featured-card-years {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  color: #6b5a42;
  font-weight: 600;
  margin-bottom: 10px;
}
.featured-card-chars {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 10px;
}
.featured-card-char {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  padding: 2px 6px;
  background: #fffaf0;
  border: 1px solid #d8cfb8;
  color: #1a1208;
  font-weight: 500;
}
.featured-card-count {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: 'Bangers', Impact, sans-serif;
  font-size: 0.95rem;
  color: #e8242c;
  letter-spacing: 1px;
}
.featured-card-badge {
  position: absolute;
  top: -10px;
  right: -10px;
  background: #ffc83d;
  border: 2px solid #1a1208;
  font-family: 'Bangers', Impact, sans-serif;
  font-size: 0.8rem;
  letter-spacing: 1px;
  padding: 2px 8px;
  color: #1a1208;
  box-shadow: 2px 2px 0 #1a1208;
}

/* Era section headers (redesigned) */
.era-section { max-width: 1180px; margin: 0 auto 40px; padding: 0 16px; }
.era-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 3px solid #1a1208;
}
.era-header-emoji {
  font-size: 1.8rem;
}
.era-header-title {
  font-family: 'Bangers', Impact, sans-serif;
  font-size: 1.8rem;
  letter-spacing: 1.5px;
  color: #1a1208;
  margin: 0;
}
.era-header-count {
  margin-left: auto;
  font-family: 'Bangers', Impact, sans-serif;
  font-size: 1rem;
  letter-spacing: 1px;
  color: #fff;
  background: #1a1208;
  padding: 4px 14px;
  border: 2px solid #1a1208;
  box-shadow: 3px 3px 0 #e8242c;
}
.era-header.era-marvel .era-header-count { box-shadow: 3px 3px 0 #e8242c; }
.era-header.era-dc     .era-header-count { box-shadow: 3px 3px 0 #0074E8; }
.era-header.era-indie  .era-header-count { box-shadow: 3px 3px 0 #6b5a42; }
.era-header.era-modern .era-header-count { box-shadow: 3px 3px 0 #6B21A8; }

/* Author card (redesigned) */
.author-pillar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}
.author-pillar-card {
  background: #fff;
  border: 3px solid #1a1208;
  box-shadow: 4px 4px 0 #1a1208;
  padding: 16px;
  text-decoration: none;
  color: #1a1208;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 140ms, box-shadow 140ms;
}
.author-pillar-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 #1a1208;
}
.author-pillar-card.hidden { display: none; }
.author-pillar-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.author-pillar-card-emoji {
  font-size: 1.6rem;
  line-height: 1;
}
.author-pillar-card-name {
  font-family: 'Bangers', Impact, sans-serif;
  font-size: 1.05rem;
  letter-spacing: 1px;
  color: #1a1208;
  margin: 0;
  flex: 1;
}
.author-pillar-card-years {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  color: #6b5a42;
  font-weight: 600;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.author-pillar-card-bio {
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  color: #2a2010;
  line-height: 1.45;
  margin: 0 0 12px;
  flex: 1;
}
.author-pillar-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px dashed #d8cfb8;
}
.author-pillar-card-count {
  font-family: 'Bangers', Impact, sans-serif;
  font-size: 0.85rem;
  color: #e8242c;
  letter-spacing: 1px;
}
.author-pillar-card-arrow {
  color: #1a1208;
  font-weight: 700;
}

/* Role badge */
.author-pillar-card-role {
  position: absolute;
  top: -8px;
  right: 12px;
  background: #fff;
  border: 2px solid #1a1208;
  padding: 1px 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  color: #6b5a42;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.author-pillar-card.role-writer .author-pillar-card-role { background: #fffaf0; }
.author-pillar-card.role-artist .author-pillar-card-role { background: #ffe8e8; }

/* FAQ redesigned */
.authors-faq {
  max-width: 900px;
  margin: 48px auto;
  padding: 0 16px;
}
.authors-faq-title {
  font-family: 'Bangers', Impact, sans-serif;
  font-size: 1.8rem;
  letter-spacing: 1.5px;
  color: #1a1208;
  margin: 0 0 24px;
  text-align: center;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
}
.authors-faq-title::before { content: '❓'; font-size: 1.5rem; }
.authors-faq-item {
  background: #fff;
  border: 3px solid #1a1208;
  box-shadow: 4px 4px 0 #1a1208;
  margin-bottom: 14px;
  padding: 0;
  overflow: hidden;
}
.authors-faq-item summary {
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #1a1208;
  padding: 16px 20px;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 12px;
}
.authors-faq-item summary::-webkit-details-marker { display: none; }
.authors-faq-item summary::before {
  content: '+';
  font-family: 'Bangers', Impact, sans-serif;
  font-size: 1.6rem;
  color: #e8242c;
  line-height: 1;
  flex-shrink: 0;
  transition: transform 200ms;
}
.authors-faq-item[open] summary::before {
  transform: rotate(45deg);
}
.authors-faq-item summary:hover { background: #fffaf0; }
.authors-faq-item p {
  margin: 0;
  padding: 0 20px 18px 50px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #2a2010;
}
.authors-faq-item p strong { color: #1a1208; font-weight: 700; }
.authors-faq-item p a { color: #e8242c; text-decoration: underline; }

@media (max-width: 600px) {
  .featured-card { padding: 14px 12px 12px; }
  .featured-card-emoji { font-size: 2rem; }
  .featured-card-name { font-size: 1.1rem; }
  .era-header-title { font-size: 1.4rem; }
  .author-pillar-grid { grid-template-columns: 1fr; }
}

/* ── /comics/ pillar — Records + Featured + Issue Cards ─────────────────── */

/* Top records strip — high-value comics */
.top-records {
  max-width: 1180px;
  margin: 0 auto 32px;
  padding: 0 16px;
}
.top-records-title {
  font-family: 'Bangers', Impact, sans-serif;
  font-size: 1.5rem;
  letter-spacing: 1.5px;
  color: #1a1208;
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.top-records-title::before { content: '💰'; font-size: 1.3rem; }
.top-records-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}
.record-card {
  background: linear-gradient(135deg, #1a1208 0%, #2a1f0e 100%);
  border: 3px solid #1a1208;
  box-shadow: 5px 5px 0 #ffc83d;
  padding: 16px 18px;
  text-decoration: none;
  color: #fff;
  display: block;
  position: relative;
  transition: transform 160ms, box-shadow 160ms;
}
.record-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 8px 8px 0 #ffc83d;
}
.record-card-year {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  color: #ffc83d;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
}
.record-card-title {
  font-family: 'Bangers', Impact, sans-serif;
  font-size: 1.25rem;
  letter-spacing: 1px;
  color: #fff;
  margin: 4px 0 4px;
  line-height: 1.1;
}
.record-card-value {
  font-family: 'Bangers', Impact, sans-serif;
  font-size: 1.5rem;
  color: #ffc83d;
  letter-spacing: 1px;
  margin: 8px 0 0;
}
.record-card-value-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  color: #d8cfb8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
  margin-bottom: 0;
}

/* Issue cards (redesigned, replacing .issue-card / .char-card) */
.issues-pillar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.issue-pillar-card {
  background: #fff;
  border: 3px solid #1a1208;
  box-shadow: 4px 4px 0 #1a1208;
  text-decoration: none;
  color: #1a1208;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 140ms, box-shadow 140ms;
  overflow: hidden;
}
.issue-pillar-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 #1a1208;
}
.issue-pillar-card.hidden { display: none; }

/* Visual cover area — comic-book-style colored block with year + emoji */
.issue-pillar-card-cover {
  background: linear-gradient(135deg, #fdf6e8 0%, #f5edd6 100%);
  border-bottom: 3px solid #1a1208;
  padding: 14px 14px 10px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 100px;
}
.issue-pillar-card.pub-marvel .issue-pillar-card-cover {
  background: linear-gradient(135deg, #fff 0%, #ffe3e3 100%);
  border-bottom-color: #e8242c;
}
.issue-pillar-card.pub-dc .issue-pillar-card-cover {
  background: linear-gradient(135deg, #fff 0%, #d8ebff 100%);
  border-bottom-color: #0074E8;
}
.issue-pillar-card.pub-indie .issue-pillar-card-cover {
  background: linear-gradient(135deg, #fff 0%, #ece7d8 100%);
  border-bottom-color: #6b5a42;
}
.issue-pillar-card-cover-year {
  font-family: 'Bangers', Impact, sans-serif;
  font-size: 2.4rem;
  line-height: 1;
  color: #1a1208;
  letter-spacing: 1px;
}
.issue-pillar-card-cover-pub {
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}
.issue-pillar-card.pub-marvel .issue-pillar-card-cover-pub { color: #e8242c; }
.issue-pillar-card.pub-dc .issue-pillar-card-cover-pub { color: #0074E8; }
.issue-pillar-card.pub-indie .issue-pillar-card-cover-pub { color: #6b5a42; }

/* Type badge — corner */
.issue-pillar-card-type {
  position: absolute;
  top: 8px;
  right: 8px;
  background: #ffc83d;
  border: 2px solid #1a1208;
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 8px;
  color: #1a1208;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  box-shadow: 2px 2px 0 #1a1208;
}
.issue-pillar-card.type-first-appearance .issue-pillar-card-type { background: #ffc83d; }
.issue-pillar-card.type-death .issue-pillar-card-type { background: #1a1208; color: #fff; }
.issue-pillar-card.type-record-sale .issue-pillar-card-type { background: #e8242c; color: #fff; }
.issue-pillar-card.type-key-story .issue-pillar-card-type { background: #d8ebff; }
.issue-pillar-card.type-origin .issue-pillar-card-type { background: #c8f0c8; }
.issue-pillar-card.type-event .issue-pillar-card-type { background: #ffc8a8; }
.issue-pillar-card.type-classic-run .issue-pillar-card-type { background: #ece7d8; }

/* Card body */
.issue-pillar-card-body {
  padding: 14px 16px 12px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.issue-pillar-card-title {
  font-family: 'Bangers', Impact, sans-serif;
  font-size: 1.15rem;
  letter-spacing: 1px;
  color: #1a1208;
  margin: 0 0 4px;
  line-height: 1.15;
}
.issue-pillar-card-sub {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  color: #6b5a42;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}
.issue-pillar-card-significance {
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  color: #2a2010;
  line-height: 1.5;
  margin: 0 0 10px;
  flex: 1;
}
.issue-pillar-card-chars {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 10px;
}
.issue-pillar-card-char {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  padding: 2px 6px;
  background: #fffaf0;
  border: 1px solid #d8cfb8;
  color: #1a1208;
  font-weight: 600;
}
.issue-pillar-card-value {
  font-family: 'Bangers', Impact, sans-serif;
  font-size: 0.95rem;
  color: #e8242c;
  letter-spacing: 1px;
  background: #fffaf0;
  border: 2px solid #1a1208;
  padding: 4px 8px;
  display: inline-block;
  margin-bottom: 10px;
}
.issue-pillar-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px dashed #d8cfb8;
}
.issue-pillar-card-count {
  font-family: 'Bangers', Impact, sans-serif;
  font-size: 0.85rem;
  color: #e8242c;
  letter-spacing: 1px;
}
.issue-pillar-card-arrow {
  color: #1a1208;
  font-weight: 700;
}

/* Search bar — comics version */
.issues-search-wrap { max-width: 900px; margin: -8px auto 28px; padding: 0 16px; }
.issues-search {
  display: flex;
  align-items: center;
  background: #fff;
  border: 3px solid #1a1208;
  box-shadow: 4px 4px 0 #1a1208;
  overflow: hidden;
}
.issues-search-icon { font-size: 1.2rem; padding: 0 14px; color: #6b5a42; }
.issues-search-input {
  flex: 1;
  border: 0;
  background: transparent;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  padding: 14px 0;
  outline: none;
  color: #1a1208;
}
.issues-search-input::placeholder { color: #9a8a72; }
.issues-search-clear {
  border: 0;
  background: transparent;
  color: #6b5a42;
  font-size: 1.4rem;
  padding: 0 14px;
  cursor: pointer;
  display: none;
}
.issues-search-clear:hover { color: #e8242c; }
.issues-search-clear.visible { display: block; }

.issues-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  align-items: center;
}
.issues-filter-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  color: #6b5a42;
  font-weight: 600;
  margin-right: 4px;
}
.issues-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 14px;
  border: 2px solid #1a1208;
  background: #fff;
  color: #1a1208;
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 2px 2px 0 #1a1208;
  transition: transform 120ms, background 120ms;
}
.issues-filter-chip:hover {
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0 #1a1208;
  background: #f8e8a8;
}
.issues-filter-chip.active {
  background: #e8242c;
  color: #fff;
  box-shadow: 3px 3px 0 #1a1208;
}
.issues-filter-chip.active:hover { background: #c91e25; }

.issues-search-empty {
  display: none;
  text-align: center;
  padding: 32px 16px;
  font-family: 'Inter', sans-serif;
  color: #6b5a42;
  font-size: 0.95rem;
}
.issues-search-empty.visible { display: block; }

/* Issue FAQ — reuse authors-faq styling */
.issues-faq { max-width: 900px; margin: 48px auto; padding: 0 16px; }
.issues-faq-title {
  font-family: 'Bangers', Impact, sans-serif;
  font-size: 1.8rem;
  letter-spacing: 1.5px;
  color: #1a1208;
  margin: 0 0 24px;
  text-align: center;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
}
.issues-faq-title::before { content: '❓'; font-size: 1.5rem; }
.issues-faq-item {
  background: #fff;
  border: 3px solid #1a1208;
  box-shadow: 4px 4px 0 #1a1208;
  margin-bottom: 14px;
  padding: 0;
  overflow: hidden;
}
.issues-faq-item summary {
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #1a1208;
  padding: 16px 20px;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 12px;
}
.issues-faq-item summary::-webkit-details-marker { display: none; }
.issues-faq-item summary::before {
  content: '+';
  font-family: 'Bangers', Impact, sans-serif;
  font-size: 1.6rem;
  color: #e8242c;
  line-height: 1;
  flex-shrink: 0;
  transition: transform 200ms;
}
.issues-faq-item[open] summary::before { transform: rotate(45deg); }
.issues-faq-item summary:hover { background: #fffaf0; }
.issues-faq-item p {
  margin: 0;
  padding: 0 20px 18px 50px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #2a2010;
}
.issues-faq-item p strong { color: #1a1208; font-weight: 700; }
.issues-faq-item p a { color: #e8242c; text-decoration: underline; }

@media (max-width: 600px) {
  .issues-pillar-grid { grid-template-columns: 1fr; }
  .top-records-grid { grid-template-columns: 1fr; }
  .issue-pillar-card-cover-year { font-size: 1.8rem; }
}
/* ============================================================
   BX — Refonte listing /blog/ (v5.109.6) — design system "pop"
   Scope : body.bx-blog uniquement (pages index du blog FR).
   Les pages articles / catégories / hubs ne portent pas cette
   classe et restent sur les styles historiques ci-dessus.
   ============================================================ */

body.bx-blog { background: var(--bg); }

.bx-sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}

/* Fallback metrics pour limiter le CLS avant l'arrivée des fonts display */
@font-face {
  font-family: 'Bungee-fb';
  src: local('Impact'), local('Arial Black'), local('Arial Bold');
  size-adjust: 118%; ascent-override: 86%; descent-override: 24%; line-gap-override: 0%;
}
@font-face {
  font-family: 'Bangers-fb';
  src: local('Impact'), local('Arial Narrow Bold'), local('Arial Bold');
  size-adjust: 88%; ascent-override: 100%; descent-override: 28%; line-gap-override: 0%;
}

.bx-blog :focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

/* ── Hero ──────────────────────────────────────────────────── */
.bx-hero {
  padding: 56px 48px 46px;
  background-color: var(--paper);
  background-image: radial-gradient(rgba(232, 36, 44, 0.07) 1px, transparent 1.5px);
  background-size: 7px 7px;
  border-bottom: 3px solid var(--ink);
}
.bx-hero-inner { max-width: 1180px; margin: 0 auto; }
.bx-kicker {
  display: inline-block; padding: 5px 14px;
  background: var(--ink); color: var(--yellow);
  font-family: 'Bangers', 'Bangers-fb', Impact, sans-serif;
  font-size: 13px; letter-spacing: 1.8px; white-space: nowrap;
  box-shadow: 3px 3px 0 var(--red);
  transform: rotate(-1deg); margin-bottom: 18px;
}
.bx-h1 {
  font-family: 'Bungee', 'Bungee-fb', Impact, sans-serif;
  font-size: clamp(34px, 5vw, 58px); margin: 0;
  line-height: 0.98; letter-spacing: -1px;
  text-transform: uppercase; max-width: 880px; color: var(--ink);
}
.bx-stamp {
  background: var(--red); color: #fff; padding: 0 12px;
  display: inline-block; position: relative;
  transform: rotate(-1.5deg); white-space: nowrap;
  border: 3px solid var(--ink); box-shadow: 5px 5px 0 var(--ink);
}
.bx-letter { display: inline-block; }
.bx-write { display: inline-block; }

@keyframes bxStampIn {
  0%   { transform: scale(0) rotate(-14deg); opacity: 0; }
  60%  { transform: scale(1.18) rotate(1.5deg); opacity: 1; }
  80%  { transform: scale(0.96) rotate(-2.5deg); }
  100% { transform: scale(1) rotate(-1.5deg); opacity: 1; }
}
@keyframes bxLetterIn {
  0%   { transform: translateY(8px) scale(0); opacity: 0; }
  70%  { transform: translateY(0) scale(1.25); opacity: 1; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}
@keyframes bxWriteIn {
  0%   { clip-path: inset(-30% 100% -30% 0); }
  100% { clip-path: inset(-30% -8% -30% 0); }
}
@media (prefers-reduced-motion: no-preference) {
  .bx-stamp  { animation: bxStampIn 650ms cubic-bezier(0.34, 1.56, 0.64, 1) 120ms both; }
  .bx-letter { animation: bxLetterIn 340ms cubic-bezier(0.34, 1.56, 0.64, 1) both; }
  .bx-write  { animation: bxWriteIn 1.3s steps(12, end) 1.5s both; }
}

.bx-search { max-width: 640px; margin-top: 30px; position: relative; }
.bx-search-icon {
  position: absolute; left: 18px; top: 50%;
  transform: translateY(-50%); font-size: 20px; pointer-events: none;
}
.bx-search input[type="search"] {
  width: 100%; padding: 16px 18px 16px 52px; font-size: 16px;
  font-family: 'Inter', sans-serif; font-weight: 600; color: var(--ink);
  background: #fff; border: 3px solid var(--ink); box-shadow: 5px 5px 0 var(--ink);
  border-radius: 0; appearance: none; -webkit-appearance: none;
}
.bx-search input[type="search"]::-webkit-search-decoration { display: none; }

.bx-hero-stats {
  display: flex; gap: 18px; flex-wrap: wrap; margin-top: 22px;
  font-size: 14px; font-weight: 600; color: var(--ink-soft); align-items: center;
}
.bx-blog .hero-stat-num {
  font-family: 'Bangers', 'Bangers-fb', Impact, sans-serif;
  font-weight: 400; font-size: 17px; color: var(--red); letter-spacing: 1px;
}
.bx-blog .hero-stat-num.bx-blue { color: var(--blue); }
.bx-hand-note {
  font-family: 'Caveat', cursive; font-size: 19px;
  font-weight: 700; color: var(--red-dark);
}

/* ── Barre de filtres sticky ───────────────────────────────── */
.bx-filterbar {
  position: sticky; top: 70px; z-index: 40;
  background: var(--paper); border-bottom: 3px solid var(--ink);
  padding: 12px 48px;
}
.bx-filterbar-inner {
  max-width: 1180px; margin: 0 auto;
  display: flex; align-items: center; gap: 14px;
}
.bx-cats { display: flex; gap: 8px; flex: 1; flex-wrap: wrap; }
.bx-cat-chip {
  padding: 7px 13px; white-space: nowrap;
  background: #fff; color: var(--ink); text-decoration: none;
  font-family: 'Bangers', 'Bangers-fb', Impact, sans-serif;
  font-size: 13px; letter-spacing: 1.2px;
  border: 2px solid var(--ink); box-shadow: 2px 2px 0 var(--ink);
  display: inline-flex; align-items: center; gap: 7px; cursor: pointer;
}
.bx-blog .bx-cat-chip .cat-count {
  font-family: 'Inter', sans-serif; font-size: 10.5px; font-weight: 800;
  background: var(--bg-alt); color: var(--ink-muted);
  padding: 1px 6px; border-radius: 0; letter-spacing: 0;
}
.bx-cat-chip.active { box-shadow: 3px 3px 0 var(--ink); color: #fff; }
.bx-cat-chip.active .cat-count { background: rgba(0, 0, 0, 0.18); color: inherit; }
.bx-cat-chip.active[data-cat="all"]      { background: var(--ink); }
.bx-cat-chip.active[data-cat="guide"]    { background: var(--red); }
.bx-cat-chip.active[data-cat="key"]      { background: var(--yellow); color: var(--ink); }
.bx-cat-chip.active[data-cat="histoire"] { background: var(--blue); }
.bx-cat-chip.active[data-cat="valeur"]   { background: var(--green); }
.bx-cat-chip.active[data-cat="app"]      { background: #6b5a42; }
.bx-cat-chip.active[data-cat="cgc"]      { background: var(--purple); }
.bx-author-select {
  padding: 8px 10px; font-family: 'Inter', sans-serif;
  font-size: 13px; font-weight: 700; color: var(--ink);
  background: #fff; border: 2px solid var(--ink); box-shadow: 2px 2px 0 var(--ink);
  border-radius: 0; max-width: 190px; flex-shrink: 0;
}

/* ── Rails personnages + auteurs ───────────────────────────── */
.bx-rails {
  padding: 16px 48px;
  background-color: var(--bg-alt);
  background-image: radial-gradient(rgba(26, 18, 8, 0.05) 1px, transparent 1.5px);
  background-size: 6px 6px;
  border-bottom: 3px solid var(--ink);
}
.bx-rails-inner {
  max-width: 1180px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 10px;
}
.bx-rail-row { display: flex; align-items: center; gap: 16px; }
.bx-rail-label {
  font-family: 'Caveat', cursive; font-size: 21px; color: var(--red-dark);
  font-weight: 700; white-space: nowrap; flex-shrink: 0; width: 150px;
}
.bx-rail {
  display: flex; gap: 8px; flex: 1; overflow-x: auto;
  scrollbar-width: none; -ms-overflow-style: none;
}
.bx-rail::-webkit-scrollbar { display: none; }
.bx-explore-chip {
  padding: 6px 12px; background: #fff;
  border: 2px solid var(--ink); box-shadow: 2px 2px 0 var(--ink);
  font-size: 13px; font-weight: 700; font-family: 'Inter', sans-serif;
  color: var(--ink); text-decoration: none; white-space: nowrap;
  flex-shrink: 0; display: inline-flex; gap: 6px; align-items: center;
}
.bx-explore-chip.active { background: var(--ink); color: var(--yellow); }
.bx-rail-more {
  font-family: 'Bangers', 'Bangers-fb', Impact, sans-serif;
  font-size: 13px; letter-spacing: 1.2px; color: var(--red);
  white-space: nowrap; flex-shrink: 0; text-decoration: none;
}

/* ── À la une + plus lus ───────────────────────────────────── */
.bx-featured { padding: 52px 48px 10px; }
.bx-featured-inner { max-width: 1180px; margin: 0 auto; }
.bx-featured-grid {
  display: grid; grid-template-columns: 1.45fr 1fr;
  gap: 26px; align-items: stretch;
}
.bx-feat-card {
  background: #fff; border: 3px solid var(--ink); box-shadow: 6px 6px 0 var(--ink);
  display: flex; flex-direction: column; overflow: hidden; position: relative;
  transition: transform 0.14s ease, box-shadow 0.14s ease;
}
.bx-feat-card:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--ink); }
.bx-feat-card:hover .bx-feat-title { color: var(--red); }
.bx-feat-visual {
  min-height: 210px; position: relative;
  border-bottom: 3px solid var(--ink);
  display: flex; align-items: center; justify-content: center;
  background-image: radial-gradient(rgba(26, 18, 8, 0.12) 1px, transparent 1.5px);
  background-size: 8px 8px;
}
.bx-feat-emoji { font-size: 84px; transform: rotate(-6deg); filter: drop-shadow(5px 5px 0 var(--ink)); }
.bx-feat-badge {
  position: absolute; top: 18px; right: 18px; padding: 5px 12px;
  background: var(--yellow); color: var(--ink);
  font-family: 'Bangers', 'Bangers-fb', Impact, sans-serif;
  font-size: 12px; letter-spacing: 1.4px; border: 2px solid var(--ink);
  white-space: nowrap; box-shadow: 2px 2px 0 var(--ink); transform: rotate(3deg);
}
.bx-feat-body { padding: 26px 30px 28px; display: flex; flex-direction: column; flex: 1; }
.bx-cat-badge {
  display: inline-block; padding: 3px 10px; color: #fff;
  font-family: 'Bangers', 'Bangers-fb', Impact, sans-serif;
  font-size: 11px; letter-spacing: 1.4px;
  border: 2px solid var(--ink); white-space: nowrap;
}
.bx-feat-title {
  margin: 14px 0 0; font-family: 'Inter', sans-serif; font-size: 26px;
  font-weight: 800; line-height: 1.15; letter-spacing: -0.5px;
  color: var(--ink); transition: color 0.14s;
}
.bx-feat-title a, .bx-card-title a { color: inherit; text-decoration: none; }
.bx-feat-title a::after, .bx-card-title a::after {
  content: ''; position: absolute; inset: 0;
}
.bx-feat-excerpt { margin: 12px 0 0; font-size: 15px; color: var(--ink-soft); font-weight: 500; flex: 1; }
.bx-card-foot {
  margin-top: 18px; padding-top: 14px; border-top: 2px solid var(--ink);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; font-weight: 700; color: var(--ink-muted);
}
.bx-card-foot time, .bx-card-foot .bx-meta { white-space: nowrap; }
.bx-read {
  font-family: 'Bangers', 'Bangers-fb', Impact, sans-serif;
  font-size: 14px; letter-spacing: 1.3px; color: var(--red); white-space: nowrap;
}

.bx-popular {
  background: var(--ink); border: 3px solid var(--ink); box-shadow: 6px 6px 0 var(--red);
  padding: 24px 26px; display: flex; flex-direction: column;
}
.bx-popular-title {
  font-family: 'Bangers', 'Bangers-fb', Impact, sans-serif; font-weight: 400;
  font-size: 16px; color: var(--yellow); letter-spacing: 1.8px; margin: 0 0 6px;
}
.bx-popular ol { list-style: none; margin: 0; padding: 0; flex: 1; display: flex; flex-direction: column; }
.bx-popular li {
  display: flex; align-items: center; gap: 14px; padding: 13px 0;
  border-bottom: 2px solid rgba(255, 249, 233, 0.15);
}
.bx-popular li:last-child { border-bottom: none; }
.bx-pop-num {
  font-family: 'Bungee', 'Bungee-fb', Impact, sans-serif;
  font-size: 22px; color: var(--yellow); width: 30px; flex-shrink: 0; line-height: 1;
}
.bx-pop-emoji { font-size: 20px; flex-shrink: 0; }
.bx-popular a {
  color: var(--paper); font-size: 14.5px; font-weight: 700;
  line-height: 1.3; text-decoration: none;
}
.bx-popular a:hover { color: var(--yellow); }
.bx-popular-note { font-family: 'Caveat', cursive; font-size: 19px; color: var(--cream); margin-top: 12px; }

/* ── Grille d'articles ─────────────────────────────────────── */
.bx-articles { padding: 44px 48px 0; scroll-margin-top: 160px; }
.bx-articles-inner { max-width: 1180px; margin: 0 auto; }
.bx-grid-head {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 16px; flex-wrap: wrap; margin-bottom: 26px;
}
.bx-grid-head-label { font-family: 'Caveat', cursive; font-size: 21px; font-weight: 700; color: var(--red-dark); }
.bx-grid-head h2 {
  font-family: 'Bungee', 'Bungee-fb', Impact, sans-serif; font-weight: 400;
  font-size: 26px; margin: 0; letter-spacing: -0.5px;
  text-transform: uppercase; color: var(--ink);
}
.bx-grid-tools { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.bx-clear-btn {
  padding: 8px 14px; background: #fff; border: 2px solid var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
  font-family: 'Bangers', 'Bangers-fb', Impact, sans-serif;
  font-size: 13px; letter-spacing: 1.3px; color: var(--ink); cursor: pointer;
}
.bx-cols-toggle { display: flex; gap: 6px; align-items: center; }
.bx-cols-label { font-family: 'Caveat', cursive; font-size: 18px; font-weight: 600; color: var(--ink-muted); margin-right: 2px; }
.bx-cols-btn {
  width: 42px; height: 38px; background: #fff;
  border: 2px solid var(--ink); box-shadow: 2px 2px 0 var(--ink);
  display: flex; gap: 3px; align-items: center; justify-content: center; cursor: pointer;
  padding: 0;
}
.bx-cols-btn span { width: 5px; height: 16px; display: block; background: var(--ink); }
.bx-cols-btn[data-cols="2"] span { width: 8px; }
.bx-cols-btn[aria-pressed="true"] { background: var(--ink); }
.bx-cols-btn[aria-pressed="true"] span { background: var(--yellow); }

.bx-grid { display: grid; gap: 26px; grid-template-columns: repeat(3, 1fr); }
.bx-grid[data-cols="2"] { grid-template-columns: repeat(2, 1fr); }

.bx-card {
  background: #fff; border: 3px solid var(--ink); box-shadow: 5px 5px 0 var(--ink);
  display: flex; flex-direction: column; overflow: hidden; position: relative;
  transition: transform 0.14s ease, box-shadow 0.14s ease;
}
.bx-card:hover { transform: translate(-3px, -3px); box-shadow: 8px 8px 0 var(--ink); }
.bx-card:hover .bx-card-title { color: var(--red); }
.bx-card:active { transform: translate(0, 0); box-shadow: 2px 2px 0 var(--ink); }
.bx-thumb {
  height: 124px; border-bottom: 3px solid var(--ink); position: relative;
  display: flex; align-items: center; justify-content: center;
  background-image: radial-gradient(rgba(26, 18, 8, 0.1) 1px, transparent 1.5px);
  background-size: 6px 6px;
}
.bx-thumb-stack { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.bx-thumb-emoji { font-size: 36px; line-height: 1.1; transform: rotate(-5deg); filter: drop-shadow(3px 3px 0 var(--ink)); }
.bx-thumb-label {
  font-family: 'Bangers', 'Bangers-fb', Impact, sans-serif;
  font-size: 19px; letter-spacing: 2.2px; white-space: nowrap;
  color: #fff; text-shadow: 2px 2px 0 var(--ink);
}
.bx-cat-guide    { background-color: var(--red); }
.bx-cat-key      { background-color: var(--yellow); }
.bx-cat-histoire { background-color: var(--blue); }
.bx-cat-valeur   { background-color: var(--green); }
.bx-cat-app      { background-color: #6b5a42; }
.bx-cat-cgc      { background-color: var(--purple); }
.bx-cat-key .bx-thumb-label, .bx-cat-key.bx-cat-badge { color: var(--ink); text-shadow: none; }
.bx-card-body { padding: 18px 20px 20px; flex: 1; display: flex; flex-direction: column; }
.bx-card-title {
  margin: 0; font-family: 'Inter', sans-serif; font-size: 17.5px; font-weight: 800;
  line-height: 1.22; letter-spacing: -0.3px; color: var(--ink); transition: color 0.14s;
}
.bx-card-excerpt {
  margin: 9px 0 0; font-size: 13.5px; line-height: 1.55; color: var(--ink-soft);
  font-weight: 500; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.bx-card .bx-card-foot { margin-top: 14px; padding-top: 12px; font-size: 12px; }
.bx-card .bx-read { font-size: 13px; letter-spacing: 1.2px; }

/* ── Encart estimation (dans la grille) ────────────────────── */
.bx-cta {
  grid-column: 1 / -1; background-color: var(--ink);
  border: 3px solid var(--ink); box-shadow: 6px 6px 0 var(--yellow);
  background-image: radial-gradient(rgba(255, 200, 61, 0.12) 1px, transparent 1.5px);
  background-size: 8px 8px;
  padding: 26px 32px; display: flex; align-items: center; gap: 26px; flex-wrap: wrap;
}
.bx-cta-emoji { font-size: 44px; transform: rotate(-6deg); flex-shrink: 0; }
.bx-cta-body { flex: 1; min-width: 240px; }
.bx-cta-title {
  font-family: 'Bungee', 'Bungee-fb', Impact, sans-serif; font-weight: 400;
  font-size: 22px; color: #fff; line-height: 1.1; margin: 0;
}
.bx-cta-text { margin: 6px 0 0; color: rgba(255, 249, 233, 0.85); font-size: 14px; font-weight: 500; }
.bx-cta-btn {
  padding: 11px 20px; background: var(--red); color: #fff; text-decoration: none;
  border: 3px solid var(--ink); box-shadow: 3px 3px 0 var(--yellow);
  font-family: 'Bangers', 'Bangers-fb', Impact, sans-serif;
  font-size: 14px; letter-spacing: 1.5px; white-space: nowrap;
}

/* ── État vide ─────────────────────────────────────────────── */
.bx-blog .no-results {
  display: none; grid-column: 1 / -1; text-align: center; padding: 54px 30px;
  background: #fff; border: 3px solid var(--ink); box-shadow: 5px 5px 0 var(--ink);
  border-radius: 0; color: var(--ink);
}
.bx-empty-oops {
  font-family: 'Bangers', 'Bangers-fb', Impact, sans-serif;
  font-size: 42px; color: var(--red); letter-spacing: 2px;
}
.bx-empty-msg { font-size: 16px; font-weight: 600; color: var(--ink-soft); margin: 8px auto 20px; max-width: 420px; }
.bx-reset-btn {
  padding: 11px 20px; background: var(--red); color: #fff;
  border: 3px solid var(--ink); box-shadow: 3px 3px 0 var(--ink);
  font-family: 'Bangers', 'Bangers-fb', Impact, sans-serif;
  font-size: 14px; letter-spacing: 1.5px; cursor: pointer;
}

/* "Afficher plus" en mode filtre (rendu par lots de 24) */
.bx-more-wrap { grid-column: 1 / -1; text-align: center; padding: 8px 0 4px; }
.bx-more-btn {
  padding: 11px 22px; background: #fff; color: var(--ink);
  border: 3px solid var(--ink); box-shadow: 3px 3px 0 var(--ink);
  font-family: 'Bangers', 'Bangers-fb', Impact, sans-serif;
  font-size: 14px; letter-spacing: 1.5px; cursor: pointer;
}

/* ── Pagination ────────────────────────────────────────────── */
.bx-blog .pagination {
  margin: 46px 0 0; display: flex; justify-content: center; align-items: center;
  gap: 8px; flex-wrap: wrap; padding: 0;
}
.bx-blog .page-btn {
  min-width: 44px; height: 44px; padding: 0 13px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff; color: var(--ink); text-decoration: none;
  border: 3px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); border-radius: 0;
  font-family: 'Bangers', 'Bangers-fb', Impact, sans-serif;
  font-size: 16px; letter-spacing: 1px; cursor: pointer;
}
.bx-blog .page-btn.active { background: var(--red); color: #fff; }
.bx-blog .page-btn[aria-disabled="true"] { opacity: 0.35; cursor: default; box-shadow: 3px 3px 0 var(--ink); }
.bx-blog .page-info {
  font-family: 'Bangers', 'Bangers-fb', Impact, sans-serif;
  font-size: 16px; color: var(--ink-muted); padding: 0 4px;
  background: transparent; border: none; box-shadow: none;
}
.bx-blog .page-note {
  font-family: 'Caveat', cursive; font-size: 19px; font-weight: 600;
  color: var(--ink-muted); margin-left: 12px; white-space: nowrap;
}
.bx-blog .bx-bottom-space { height: 70px; }

/* ── Micro-interactions chips/boutons ──────────────────────── */
.bx-cat-chip, .bx-explore-chip, .bx-clear-btn, .bx-cols-btn, .bx-cta-btn,
.bx-reset-btn, .bx-more-btn, .bx-blog a.page-btn {
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}
.bx-cat-chip:hover, .bx-explore-chip:hover, .bx-clear-btn:hover, .bx-cols-btn:hover,
.bx-cta-btn:hover, .bx-reset-btn:hover, .bx-more-btn:hover, .bx-blog a.page-btn:hover {
  transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--ink);
}
.bx-cat-chip:active, .bx-explore-chip:active, .bx-clear-btn:active, .bx-cols-btn:active,
.bx-cta-btn:active, .bx-reset-btn:active, .bx-more-btn:active, .bx-blog a.page-btn:active {
  transform: translate(0, 0); box-shadow: 1px 1px 0 var(--ink);
}
.bx-cta-btn:hover { box-shadow: 4px 4px 0 var(--yellow); }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 920px) {
  .bx-grid, .bx-grid[data-cols="2"], .bx-grid[data-cols="3"] { grid-template-columns: repeat(2, 1fr); }
  .bx-featured-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .bx-grid, .bx-grid[data-cols="2"], .bx-grid[data-cols="3"] { grid-template-columns: 1fr; }
  .bx-hero { padding: 36px 20px 32px; }
  .bx-filterbar { padding: 10px 20px; }
  .bx-rails { padding: 14px 20px; }
  .bx-featured { padding: 36px 20px 6px; }
  .bx-articles { padding: 34px 20px 0; }
  .bx-cats {
    flex-wrap: nowrap; overflow-x: auto;
    scrollbar-width: none; -ms-overflow-style: none;
  }
  .bx-cats::-webkit-scrollbar { display: none; }
  .bx-author-select { display: none; }
  .bx-cols-toggle { display: none; }
  .bx-rail-more { display: none; }
  .bx-rail-label { width: auto; font-size: 18px; }
  .bx-h1 { font-size: clamp(28px, 8.5vw, 34px); }
  .bx-blog [data-rotate] { transform: none !important; }
  .bx-blog [data-rotate] .bx-letter { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .bx-blog *, .bx-blog *::before, .bx-blog *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
  .bx-blog [data-rotate] { transform: none !important; }
}
