/* ============================================================
   Qantra — RAG Souverain article
   Scoped CSS for Be Theme child. All rules namespaced under
   .qantra-rag-article so the rest of the site is untouched.
   ============================================================ */

@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@400;500;600;700&display=swap");

.qantra-rag-article { box-sizing: border-box; }
.qantra-rag-article *, .qantra-rag-article *::before, .qantra-rag-article *::after { box-sizing: border-box; }
.qantra-rag-article { font-family: 'Inter', system-ui, sans-serif; color: #fff; background: #010101; }


  .qantra-rag-article, .qantra-rag-article { margin: 0; background: #010101; }
  .qantra-rag-article * { box-sizing: border-box; }
  .qantra-rag-article { font-family: 'Inter', system-ui, sans-serif; color: #fff; }

  .qantra-rag-article /* ---- Top nav ---------------------------------------------------------- */
  .nav {
    position: sticky; top: 0; z-index: 30;
    background: rgba(1,1,1,0.72);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .qantra-rag-article .nav-inner {
    max-width: 1280px; margin: 0 auto; padding: 14px 32px;
    display: flex; align-items: center; gap: 32px;
  }
  .qantra-rag-article .brand { display: flex; align-items: baseline; gap: 2px; text-decoration: none; color: #fff; }
  .qantra-rag-article .brand-text { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 22px; letter-spacing: -0.03em; }
  .qantra-rag-article .brand-arc { display: inline-flex; margin-left: -12px; transform: translateY(-7px); }
  .qantra-rag-article .brand-dot { color: rgba(255,255,255,0.5); font-family: 'Space Grotesk', sans-serif; font-weight: 500; font-size: 14px; margin-left: 2px; }
  .qantra-rag-article .nav-links { display: flex; gap: 28px; margin-left: 40px; }
  .qantra-rag-article .nav-links a { color: rgba(255,255,255,0.72); font-size: 14px; text-decoration: none; transition: color 120ms; }
  .qantra-rag-article .nav-links a:hover { color: #fff; }
  .qantra-rag-article .nav-cta { margin-left: auto; background: #ED6D1E; color: #fff; padding: 10px 18px; border-radius: 10px; font-family: 'Space Grotesk', sans-serif; font-weight: 500; font-size: 14px; text-decoration: none; line-height: 1; transition: background 120ms; }
  .qantra-rag-article .nav-cta:hover { background: #F2822F; color: #fff; }

  .qantra-rag-article /* ---- Hero ------------------------------------------------------------- */
  .hero {
    position: relative; overflow: hidden;
    padding: 88px 32px 72px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .qantra-rag-article .hero-bg {
    position: absolute; inset: 0;
    background:
      radial-gradient(80% 70% at 8% 35%, rgba(237,109,30,0.45) 0%, rgba(237,109,30,0.10) 28%, rgba(0,0,0,0) 60%),
      radial-gradient(60% 80% at 110% 90%, rgba(237,109,30,0.18) 0%, rgba(0,0,0,0) 55%),
      #010101;
    z-index: 0;
  }
  .qantra-rag-article .hero-grain {
    position: absolute; inset: 0; opacity: 0.5; mix-blend-mode: overlay; pointer-events: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.05  0 0 0 0 0.04  0 0 0 0 0.02  0 0 0 0.5 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
    z-index: 1;
  }
  .qantra-rag-article .hero-inner {
    position: relative; z-index: 2;
    max-width: 1100px; margin: 0 auto;
    display: flex; flex-direction: column; gap: 28px;
  }
  .qantra-rag-article .crumb {
    display: flex; align-items: center; gap: 10px;
    font-size: 13px; color: rgba(255,255,255,0.5);
  }
  .qantra-rag-article .crumb a { color: rgba(255,255,255,0.72); text-decoration: none; }
  .qantra-rag-article .crumb a:hover { color: #fff; }
  .qantra-rag-article .crumb-sep { opacity: 0.4; }
  .qantra-rag-article .crumb-current { color: #ED6D1E; }

  .qantra-rag-article .meta-row {
    display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
    margin-top: 4px;
  }
  .qantra-rag-article .pill {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 12px; border-radius: 999px;
    background: rgba(237,109,30,0.12);
    border: 1px solid rgba(237,109,30,0.28);
    color: #FFC08A;
    font-size: 12px; font-weight: 500; letter-spacing: 0.02em;
  }
  .qantra-rag-article .pill-dot { width: 6px; height: 6px; border-radius: 50%; background: #ED6D1E; box-shadow: 0 0 8px #ED6D1E; }
  .qantra-rag-article .meta-time { color: rgba(255,255,255,0.5); font-size: 13px; }
  .qantra-rag-article .meta-dot { color: rgba(255,255,255,0.3); }

  .qantra-rag-article .hero h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(44px, 6.4vw, 72px);
    font-weight: 600;
    letter-spacing: -0.035em;
    line-height: 1.02;
    margin: 0;
    text-wrap: balance;
    max-width: 18ch;
  }
  .qantra-rag-article .hero h1 .accent { color: #ED6D1E; }

  .qantra-rag-article .hero-lede {
    font-size: 19px; line-height: 1.6;
    color: rgba(255,255,255,0.78);
    max-width: 70ch;
    text-wrap: pretty;
    margin: 0;
  }

  .qantra-rag-article .hero-byline {
    margin-top: 16px;
    display: flex; align-items: center; gap: 14px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.06);
  }
  .qantra-rag-article .avatar {
    width: 38px; height: 38px; border-radius: 50%;
    background: linear-gradient(135deg, #ED6D1E 0%, #7A3409 100%);
    display: flex; align-items: center; justify-content: center;
    font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 14px; color: #fff;
    border: 1px solid rgba(255,255,255,0.1);
  }
  .qantra-rag-article .byline-text { display: flex; flex-direction: column; gap: 2px; }
  .qantra-rag-article .byline-name { font-size: 14px; font-weight: 500; color: #fff; }
  .qantra-rag-article .byline-role { font-size: 12px; color: rgba(255,255,255,0.5); }
  .qantra-rag-article .byline-share {
    margin-left: auto;
    display: flex; gap: 8px;
  }
  .qantra-rag-article .share-btn {
    width: 36px; height: 36px; border-radius: 8px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    display: inline-flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.7);
    cursor: pointer; text-decoration: none;
    transition: all 120ms;
  }
  .qantra-rag-article .share-btn:hover { background: rgba(237,109,30,0.12); border-color: rgba(237,109,30,0.4); color: #ED6D1E; }

  .qantra-rag-article /* ---- Hero key visual -------------------------------------------------- */
  .hero-visual {
    position: relative; z-index: 2;
    max-width: 1100px; margin: 56px auto 0;
    height: 360px;
    border-radius: 16px; overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    background:
      radial-gradient(60% 100% at 30% 50%, rgba(237,109,30,0.55) 0%, rgba(237,109,30,0.12) 35%, rgba(0,0,0,0) 60%),
      linear-gradient(135deg, #0C0C0D 0%, #010101 100%);
    display: flex; align-items: center; justify-content: center;
  }
  .qantra-rag-article .visual-grid {
    position: absolute; inset: 0;
    background-image:
      linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(60% 80% at 60% 50%, #000 30%, transparent 75%);
  }
  .qantra-rag-article .fortress {
    position: relative; z-index: 2;
    display: flex; align-items: center; gap: 24px;
  }
  .qantra-rag-article .fortress-shield {
    width: 160px; height: 180px;
    background: linear-gradient(180deg, rgba(237,109,30,0.18) 0%, rgba(237,109,30,0.04) 100%);
    border: 2px solid rgba(237,109,30,0.6);
    border-radius: 80px 80px 16px 16px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 0 60px rgba(237,109,30,0.4), inset 0 0 40px rgba(237,109,30,0.2);
    position: relative;
  }
  .qantra-rag-article .fortress-shield::before {
    content: ''; position: absolute; inset: 8px;
    border-radius: 72px 72px 12px 12px;
    border: 1px solid rgba(237,109,30,0.3);
  }
  .qantra-rag-article .shield-icon {
    width: 48px; height: 48px;
    color: #ED6D1E;
  }
  .qantra-rag-article .data-stack {
    display: flex; flex-direction: column; gap: 10px;
  }
  .qantra-rag-article .data-bar {
    width: 220px; height: 12px; border-radius: 4px;
    background: linear-gradient(90deg, rgba(237,109,30,0.6) 0%, rgba(237,109,30,0.1) 100%);
    border: 1px solid rgba(237,109,30,0.3);
  }
  .qantra-rag-article .data-bar:nth-child(2) { width: 180px; opacity: 0.7; }
  .qantra-rag-article .data-bar:nth-child(3) { width: 200px; opacity: 0.85; }
  .qantra-rag-article .data-bar:nth-child(4) { width: 140px; opacity: 0.5; }
  .qantra-rag-article .data-bar:nth-child(5) { width: 160px; opacity: 0.6; }
  .qantra-rag-article .visual-caption {
    position: absolute; bottom: 16px; left: 20px;
    font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
    color: rgba(255,255,255,0.4);
  }

  .qantra-rag-article /* ---- Article body ----------------------------------------------------- */
  .article {
    max-width: 1100px; margin: 0 auto;
    padding: 80px 32px 0;
    display: grid; grid-template-columns: 220px 1fr; gap: 80px;
    position: relative;
  }
  .qantra-rag-article .toc {
    position: sticky; top: 96px; align-self: start;
    display: flex; flex-direction: column; gap: 12px;
    padding-right: 16px;
    border-right: 1px solid rgba(255,255,255,0.06);
    max-height: calc(100vh - 120px); overflow-y: auto;
  }
  .qantra-rag-article .toc-label {
    font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
    color: rgba(255,255,255,0.4); font-weight: 500; margin-bottom: 4px;
  }
  .qantra-rag-article .toc a {
    font-size: 13px; line-height: 1.5;
    color: rgba(255,255,255,0.6); text-decoration: none;
    padding: 4px 0;
    border-left: 2px solid transparent;
    padding-left: 12px;
    margin-left: -14px;
    transition: all 120ms;
  }
  .qantra-rag-article .toc a:hover { color: #fff; border-left-color: rgba(237,109,30,0.4); }
  .qantra-rag-article .toc a.active { color: #ED6D1E; border-left-color: #ED6D1E; }
  .qantra-rag-article .toc-progress {
    margin-top: 24px;
    height: 4px; background: rgba(255,255,255,0.06); border-radius: 2px;
    overflow: hidden;
  }
  .qantra-rag-article .toc-progress-bar {
    height: 100%; width: 0%; background: #ED6D1E;
    transition: width 120ms linear;
  }

  .qantra-rag-article .content { min-width: 0; }
  .qantra-rag-article .content > * + * { margin-top: 24px; }
  .qantra-rag-article .content p {
    font-size: 17px; line-height: 1.72;
    color: rgba(255,255,255,0.78);
    text-wrap: pretty;
  }
  .qantra-rag-article .content p strong { color: #fff; font-weight: 600; }
  .qantra-rag-article .content h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 36px; font-weight: 600; letter-spacing: -0.025em; line-height: 1.1;
    color: #fff;
    margin-top: 64px;
    text-wrap: balance;
  }
  .qantra-rag-article .content h2 .num {
    font-size: 14px; letter-spacing: 0.14em; color: #ED6D1E;
    text-transform: uppercase; font-weight: 500;
    display: block; margin-bottom: 12px;
  }
  .qantra-rag-article .content h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.2;
    color: #fff;
    margin-top: 48px;
  }
  .qantra-rag-article .content a {
    color: #ED6D1E; text-decoration: none;
    border-bottom: 1px solid rgba(237,109,30,0.4);
    transition: all 120ms;
  }
  .qantra-rag-article .content a:hover { color: #F2822F; border-bottom-color: #F2822F; }

  .qantra-rag-article /* Pull quote / takeaway box */
  .takeaway {
    margin: 32px 0;
    padding: 24px 28px;
    border-radius: 16px;
    background:
      linear-gradient(135deg, rgba(237,109,30,0.10) 0%, rgba(237,109,30,0.02) 100%);
    border: 1px solid rgba(237,109,30,0.22);
    position: relative;
  }
  .qantra-rag-article .takeaway::before {
    content: ''; position: absolute; left: 0; top: 24px; bottom: 24px; width: 3px;
    background: #ED6D1E; border-radius: 0 2px 2px 0;
  }
  .qantra-rag-article .takeaway-label {
    font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
    color: #ED6D1E; font-weight: 600; margin-bottom: 8px;
  }
  .qantra-rag-article .takeaway-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 19px; line-height: 1.5; color: #fff;
    font-weight: 500; letter-spacing: -0.01em;
    margin: 0;
  }

  .qantra-rag-article /* Pillar cards row */
  .pillars {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
    margin: 32px 0;
  }
  .qantra-rag-article .pillar-card {
    padding: 24px; border-radius: 16px;
    background: #0C0C0D; border: 1px solid rgba(255,255,255,0.08);
    display: flex; flex-direction: column; gap: 12px;
    transition: all 240ms;
  }
  .qantra-rag-article .pillar-card:hover {
    border-color: rgba(237,109,30,0.4);
    background: linear-gradient(180deg, rgba(237,109,30,0.05) 0%, #0C0C0D 100%);
  }
  .qantra-rag-article .pillar-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px; color: #ED6D1E; font-weight: 600;
    letter-spacing: 0.02em;
  }
  .qantra-rag-article .pillar-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px; line-height: 1.25; font-weight: 600; color: #fff;
    letter-spacing: -0.01em;
  }
  .qantra-rag-article .pillar-desc {
    font-size: 14px; line-height: 1.55; color: rgba(255,255,255,0.6);
  }

  .qantra-rag-article /* Sectors grid */
  .sectors {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
    margin: 24px 0;
  }
  .qantra-rag-article .sector {
    display: flex; gap: 14px;
    padding: 18px 20px; border-radius: 12px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
  }
  .qantra-rag-article .sector-icon {
    flex-shrink: 0;
    width: 36px; height: 36px; border-radius: 8px;
    background: rgba(237,109,30,0.12);
    border: 1px solid rgba(237,109,30,0.24);
    display: flex; align-items: center; justify-content: center;
    color: #ED6D1E;
  }
  .qantra-rag-article .sector-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
  .qantra-rag-article .sector-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px; font-weight: 600; color: #fff;
  }
  .qantra-rag-article .sector-desc { font-size: 12px; color: rgba(255,255,255,0.55); line-height: 1.45; }

  .qantra-rag-article /* Steps timeline */
  .steps { margin: 32px 0; display: flex; flex-direction: column; gap: 0; }
  .qantra-rag-article .step {
    display: grid; grid-template-columns: 64px 1fr; gap: 20px;
    padding: 20px 0;
    position: relative;
  }
  .qantra-rag-article .step + .step { border-top: 1px solid rgba(255,255,255,0.06); }
  .qantra-rag-article .step-num {
    width: 44px; height: 44px; border-radius: 50%;
    background: rgba(237,109,30,0.10);
    border: 1px solid rgba(237,109,30,0.32);
    display: flex; align-items: center; justify-content: center;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 16px; font-weight: 600; color: #ED6D1E;
  }
  .qantra-rag-article .step-body { display: flex; flex-direction: column; gap: 6px; }
  .qantra-rag-article .step-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
  .qantra-rag-article .step-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px; font-weight: 600; color: #fff;
    letter-spacing: -0.01em;
  }
  .qantra-rag-article .step-time {
    font-size: 12px; color: #ED6D1E;
    padding: 3px 8px; border-radius: 999px;
    background: rgba(237,109,30,0.12);
    border: 1px solid rgba(237,109,30,0.24);
    font-weight: 500;
  }
  .qantra-rag-article .step-desc { font-size: 15px; line-height: 1.6; color: rgba(255,255,255,0.65); margin: 0; }

  .qantra-rag-article /* Case study card */
  .case-card {
    margin: 32px 0;
    padding: 32px;
    border-radius: 20px;
    background:
      radial-gradient(80% 100% at 100% 0%, rgba(237,109,30,0.22) 0%, rgba(0,0,0,0) 50%),
      linear-gradient(135deg, #0C0C0D 0%, #010101 100%);
    border: 1px solid rgba(255,255,255,0.08);
    display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center;
  }
  .qantra-rag-article .case-eyebrow {
    font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
    color: #ED6D1E; font-weight: 600; margin-bottom: 10px;
  }
  .qantra-rag-article .case-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 26px; line-height: 1.2; font-weight: 600; color: #fff;
    letter-spacing: -0.015em; margin-bottom: 10px;
    max-width: 30ch;
  }
  .qantra-rag-article .case-body { font-size: 15px; line-height: 1.6; color: rgba(255,255,255,0.7); margin-bottom: 14px; max-width: 60ch; }
  .qantra-rag-article .case-stat {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 15px; color: #ED6D1E; font-weight: 600;
  }
  .qantra-rag-article .case-link {
    display: inline-flex; align-items: center; gap: 8px;
    margin-top: 16px;
    font-size: 14px; font-weight: 500;
    color: #ED6D1E; text-decoration: none; border-bottom: none !important;
  }
  .qantra-rag-article .case-link:hover { color: #F2822F; }
  .qantra-rag-article .case-stat-block {
    flex-shrink: 0;
    text-align: right;
    border-left: 1px solid rgba(255,255,255,0.08);
    padding-left: 32px;
  }
  .qantra-rag-article .case-big {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 64px; line-height: 0.9; font-weight: 700;
    background: linear-gradient(180deg, #ED6D1E 0%, #A8470D 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
    letter-spacing: -0.04em;
  }
  .qantra-rag-article .case-big-label {
    font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
    color: rgba(255,255,255,0.5); margin-top: 8px;
  }

  .qantra-rag-article /* Benchmark grid */
  .benchmark {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
    margin: 28px 0;
  }
  .qantra-rag-article .bench-card {
    padding: 24px;
    border-radius: 16px;
    background: #0C0C0D;
    border: 1px solid rgba(255,255,255,0.08);
    display: flex; flex-direction: column; gap: 12px;
    position: relative; overflow: hidden;
  }
  .qantra-rag-article .bench-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, rgba(237,109,30,0) 0%, #ED6D1E 50%, rgba(237,109,30,0) 100%);
  }
  .qantra-rag-article .bench-icon-wrap {
    width: 40px; height: 40px; border-radius: 10px;
    background: rgba(237,109,30,0.12);
    border: 1px solid rgba(237,109,30,0.24);
    display: flex; align-items: center; justify-content: center;
    color: #ED6D1E;
  }
  .qantra-rag-article .bench-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 16px; font-weight: 600; color: #fff; letter-spacing: -0.01em;
  }
  .qantra-rag-article .bench-body { font-size: 13px; line-height: 1.5; color: rgba(255,255,255,0.65); }
  .qantra-rag-article .bench-body strong { color: #ED6D1E; font-weight: 600; }

  .qantra-rag-article /* Final CTA */
  .final-cta {
    margin-top: 80px;
    position: relative; overflow: hidden;
    padding: 80px 32px;
    border-radius: 24px;
    background:
      radial-gradient(80% 120% at 50% 100%, rgba(237,109,30,0.32) 0%, rgba(237,109,30,0.06) 35%, #000 70%),
      #010101;
    border: 1px solid rgba(237,109,30,0.18);
    text-align: center;
  }
  .qantra-rag-article .final-cta h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(36px, 4.4vw, 52px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.05;
    color: #fff; margin: 0 0 16px;
    max-width: 22ch; margin-left: auto; margin-right: auto;
  }
  .qantra-rag-article .final-cta p {
    font-size: 18px; line-height: 1.6;
    color: rgba(255,255,255,0.75);
    max-width: 60ch; margin: 0 auto 32px;
  }
  .qantra-rag-article .cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
  .qantra-rag-article .btn-primary {
    background: #ED6D1E; color: #fff !important;
    padding: 14px 24px; border-radius: 10px;
    font-family: 'Space Grotesk', sans-serif; font-weight: 500; font-size: 15px;
    text-decoration: none; border-bottom: none !important;
    display: inline-flex; align-items: center; gap: 8px;
    transition: all 120ms;
  }
  .qantra-rag-article .btn-primary:hover { background: #F2822F; transform: translateY(-1px); }
  .qantra-rag-article .btn-secondary {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.16) !important;
    color: #fff !important;
    padding: 14px 24px; border-radius: 10px;
    font-family: 'Space Grotesk', sans-serif; font-weight: 500; font-size: 15px;
    text-decoration: none; border-bottom: none !important;
    display: inline-flex; align-items: center; gap: 8px;
    transition: all 120ms;
  }
  .qantra-rag-article .btn-secondary:hover { background: rgba(255,255,255,0.08); }

  .qantra-rag-article /* Summary box */
  .summary {
    margin-top: 56px;
    padding: 32px;
    border-radius: 16px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.08);
  }
  .qantra-rag-article .summary h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase;
    color: #ED6D1E; font-weight: 600; margin: 0 0 16px;
  }
  .qantra-rag-article .summary ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
  .qantra-rag-article .summary li {
    font-size: 15px; line-height: 1.6; color: rgba(255,255,255,0.78);
    padding-left: 28px; position: relative;
  }
  .qantra-rag-article .summary li::before {
    content: ''; position: absolute; left: 0; top: 8px;
    width: 14px; height: 8px;
    border-left: 2px solid #ED6D1E; border-bottom: 2px solid #ED6D1E;
    transform: rotate(-45deg);
  }
  .qantra-rag-article .summary li strong { color: #fff; font-weight: 600; }

  .qantra-rag-article /* Newsletter CTA */
  .newsletter-cta {
    margin-top: 56px;
    position: relative; overflow: hidden;
    border-radius: 20px;
    border: 1px solid rgba(237,109,30,0.22);
    background: linear-gradient(135deg, #0C0C0D 0%, #010101 100%);
  }
  .qantra-rag-article .nl-glow {
    position: absolute; inset: 0; pointer-events: none;
    background:
      radial-gradient(50% 100% at 0% 50%, rgba(237,109,30,0.20) 0%, rgba(0,0,0,0) 60%),
      radial-gradient(40% 80% at 100% 100%, rgba(237,109,30,0.10) 0%, rgba(0,0,0,0) 60%);
  }
  .qantra-rag-article .nl-inner {
    position: relative; z-index: 1;
    padding: 28px 32px;
    display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center;
  }
  .qantra-rag-article .nl-icon {
    width: 48px; height: 48px; border-radius: 12px;
    background: rgba(237,109,30,0.12);
    border: 1px solid rgba(237,109,30,0.32);
    color: #ED6D1E;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
  }
  .qantra-rag-article .nl-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
  .qantra-rag-article .nl-eyebrow {
    font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
    color: #ED6D1E; font-weight: 600;
  }
  .qantra-rag-article .nl-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px; font-weight: 600; color: #fff; letter-spacing: -0.01em; line-height: 1.3;
  }
  .qantra-rag-article .nl-desc { font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.5; }
  .qantra-rag-article .nl-form {
    display: flex; gap: 8px; flex-shrink: 0;
  }
  .qantra-rag-article .nl-input {
    width: 240px; padding: 12px 14px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 10px;
    color: #fff; font-family: 'Inter', sans-serif; font-size: 14px;
    outline: none; transition: all 120ms;
  }
  .qantra-rag-article .nl-input::placeholder { color: rgba(255,255,255,0.4); }
  .qantra-rag-article .nl-input:focus { border-color: rgba(237,109,30,0.6); background: rgba(237,109,30,0.04); }
  .qantra-rag-article .nl-btn {
    padding: 12px 18px;
    background: #ED6D1E; color: #fff;
    border: 0; border-radius: 10px;
    font-family: 'Space Grotesk', sans-serif; font-weight: 500; font-size: 14px;
    cursor: pointer; transition: background 120ms;
    white-space: nowrap;
  }
  .qantra-rag-article .nl-btn:hover { background: #F2822F; }

  @media (max-width: 720px) {

    .qantra-rag-article .nl-inner { grid-template-columns: 1fr; gap: 16px; padding: 24px; }
    .qantra-rag-article .nl-form { flex-direction: column; width: 100%; }
    .qantra-rag-article .nl-input { width: 100%; }
    .qantra-rag-article .nl-btn { width: 100%; }
  
}

  .qantra-rag-article /* Related articles */
  .related {
    max-width: 1280px; margin: 96px auto 0;
    padding: 64px 32px 32px;
    border-top: 1px solid rgba(255,255,255,0.06);
  }
  .qantra-rag-article .related-head {
    display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 32px;
  }
  .qantra-rag-article .related-head h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 28px; font-weight: 600; color: #fff; letter-spacing: -0.02em; margin: 0;
  }
  .qantra-rag-article .related-head a {
    font-size: 14px; color: #ED6D1E; text-decoration: none;
  }
  .qantra-rag-article .related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .qantra-rag-article .related-card {
    border-radius: 16px;
    background: #0C0C0D;
    border: 1px solid rgba(255,255,255,0.06);
    overflow: hidden;
    text-decoration: none; color: inherit;
    transition: all 240ms;
    display: flex; flex-direction: column;
  }
  .qantra-rag-article .related-card:hover {
    border-color: rgba(237,109,30,0.4);
    transform: translateY(-2px);
  }
  .qantra-rag-article .related-thumb {
    height: 160px;
    background-size: cover; background-position: center;
    position: relative;
  }
  .qantra-rag-article .related-thumb-1 {
    background:
      radial-gradient(60% 80% at 50% 60%, rgba(237,109,30,0.5) 0%, rgba(0,0,0,0) 60%),
      linear-gradient(135deg, #1E1E22 0%, #010101 100%);
  }
  .qantra-rag-article .related-thumb-2 {
    background:
      radial-gradient(40% 80% at 70% 50%, rgba(237,109,30,0.45) 0%, rgba(0,0,0,0) 65%),
      radial-gradient(40% 80% at 30% 50%, rgba(237,109,30,0.25) 0%, rgba(0,0,0,0) 65%),
      linear-gradient(135deg, #0C0C0D 0%, #010101 100%);
  }
  .qantra-rag-article .related-body { padding: 20px 22px 22px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
  .qantra-rag-article .related-cat {
    font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
    color: #ED6D1E; font-weight: 600;
  }
  .qantra-rag-article .related-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 17px; line-height: 1.3; font-weight: 600; color: #fff;
    letter-spacing: -0.01em;
  }
  .qantra-rag-article .related-date { font-size: 12px; color: rgba(255,255,255,0.45); margin-top: auto; padding-top: 12px; }

  .qantra-rag-article /* Footer */
  .footer {
    margin-top: 0;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 64px 32px 32px;
    background: #010101;
  }
  .qantra-rag-article .footer-inner {
    max-width: 1280px; margin: 0 auto;
    display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px;
  }
  .qantra-rag-article .footer-col { display: flex; flex-direction: column; gap: 10px; }
  .qantra-rag-article .footer-brand {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700; font-size: 24px; letter-spacing: -0.03em; color: #fff;
    margin-bottom: 10px;
  }
  .qantra-rag-article .footer-brand .dot { color: #ED6D1E; }
  .qantra-rag-article .footer-brand .ai { color: rgba(255,255,255,0.5); }
  .qantra-rag-article .footer-text { font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.55; margin: 0; }
  .qantra-rag-article .footer-h {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
    color: rgba(255,255,255,0.5); font-weight: 500; margin-bottom: 4px;
  }
  .qantra-rag-article .footer-l { font-size: 14px; color: rgba(255,255,255,0.82); text-decoration: none; }
  .qantra-rag-article .footer-l:hover { color: #ED6D1E; }
  .qantra-rag-article .footer-meta {
    max-width: 1280px; margin: 48px auto 0; padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.06);
    display: flex; justify-content: space-between;
    font-size: 12px; color: rgba(255,255,255,0.4);
  }

  .qantra-rag-article /* Reading progress bar */
  .read-progress {
    position: fixed; top: 0; left: 0; height: 3px; width: 0%;
    background: linear-gradient(90deg, #ED6D1E 0%, #F2822F 100%);
    z-index: 50; transition: width 80ms linear;
    box-shadow: 0 0 12px rgba(237,109,30,0.6);
  }

  /* Responsive ============================================================ */
  @media (max-width: 960px) {
    .qantra-rag-article .article { grid-template-columns: 1fr; gap: 32px; padding-top: 56px; }
    .qantra-rag-article .toc { display: none; }
    .qantra-rag-article .pillars,
    .qantra-rag-article .benchmark,
    .qantra-rag-article .related-grid { grid-template-columns: 1fr; }
    .qantra-rag-article .sectors { grid-template-columns: 1fr; }
    .qantra-rag-article .case-card { grid-template-columns: 1fr; }
    .qantra-rag-article .case-stat-block { border-left: 0; border-top: 1px solid rgba(255,255,255,0.08); padding-left: 0; padding-top: 24px; text-align: left; }
    .qantra-rag-article .nav-links { display: none; }
    .qantra-rag-article .footer-inner { grid-template-columns: 1fr 1fr; }
    .qantra-rag-article .hero-visual { height: 240px; }
    .qantra-rag-article .fortress-shield { width: 110px; height: 130px; }
    .qantra-rag-article .data-bar { width: 140px !important; }
  }

  @media (max-width: 600px) {
    .qantra-rag-article .hero { padding: 56px 20px 48px; }
    .qantra-rag-article .hero-inner { gap: 20px; }
    .qantra-rag-article .hero h1 { font-size: clamp(30px, 8vw, 42px); letter-spacing: -0.025em; line-height: 1.06; }
    .qantra-rag-article .hero-lede { font-size: 16px; }
    .qantra-rag-article .meta-row { gap: 8px; }
    .qantra-rag-article .hero-byline { gap: 10px; padding-top: 18px; }
    .qantra-rag-article .hero-visual {
      margin: 32px 16px 0;
      height: auto;
      min-height: 220px;
      padding: 24px 18px 18px;
      flex-direction: column;
      gap: 16px;
      align-items: center;
      justify-content: center;
    }
    .qantra-rag-article .fortress { gap: 14px; }
    .qantra-rag-article .fortress-shield { width: 80px; height: 96px; }
    .qantra-rag-article .shield-icon { width: 36px; height: 36px; }
    .qantra-rag-article .data-bar { width: 96px !important; height: 9px; }
    .qantra-rag-article .visual-caption {
      position: static;
      bottom: auto; left: auto;
      text-align: center;
      font-size: 10px;
      line-height: 1.5;
      max-width: 100%;
    }
    .qantra-rag-article .article { padding: 40px 20px 0; gap: 24px; }
    .qantra-rag-article .content p { font-size: 16px; }
    .qantra-rag-article .content h2 { font-size: 26px; margin-top: 48px; }
    .qantra-rag-article .content h3 { font-size: 20px; margin-top: 36px; }
    .qantra-rag-article .takeaway { padding: 20px 22px; margin: 24px 0; }
    .qantra-rag-article .takeaway-text { font-size: 17px; }
    .qantra-rag-article .pillars { gap: 12px; margin: 24px 0; }
    .qantra-rag-article .pillar-card { padding: 20px; }
    .qantra-rag-article .case-card { padding: 24px; margin: 24px 0; }
    .qantra-rag-article .case-title { font-size: 22px; }
    .qantra-rag-article .case-big { font-size: 56px; }
    .qantra-rag-article .step { grid-template-columns: 48px 1fr; gap: 16px; }
    .qantra-rag-article .step-num { width: 40px; height: 40px; font-size: 14px; }
    .qantra-rag-article .related { padding: 48px 20px 24px; margin-top: 56px; }
    .qantra-rag-article .related-head h3 { font-size: 22px; }
    .qantra-rag-article .footer { padding: 48px 20px 24px; }
    .qantra-rag-article .footer-inner { grid-template-columns: 1fr; gap: 28px; }
    .qantra-rag-article .footer-meta { flex-direction: column; gap: 8px; }
  }

/* ======================================================================
   Be Theme override : full-width edge-to-edge sur cette page uniquement
   (le CSS étant chargé conditionnellement par slug, ces règles non-scopées
   ne s'appliquent QUE sur ce post.)
   ====================================================================== */

/* 1. Cacher les sections du template Be Theme qui dupliquent
      hero / newsletter / "À lire aussi" — mon design contient déjà tout */
.mfn-single-post-tmpl-builder > section.section:not(:has(.column_post_content)) {
    display: none !important;
}

/* 2. Casser TOUTES les contraintes de largeur Be Theme entre body et qantra-rag-article */
body.single-post #Wrapper,
body.single-post #Content,
body.single-post main.sections_group,
body.single-post .sections_group,
body.single-post .mfn-single-post-tmpl-builder,
body.single-post .mfn-single-post-tmpl-builder section.section,
body.single-post .mfn-single-post-tmpl-builder .section_wrapper,
body.single-post .mfn-single-post-tmpl-builder .mcb-section-inner,
body.single-post .mfn-single-post-tmpl-builder .wrap,
body.single-post .mfn-single-post-tmpl-builder .mcb-wrap-inner,
body.single-post .mfn-single-post-tmpl-builder .column,
body.single-post .mfn-single-post-tmpl-builder .mcb-column-inner,
body.single-post .mfn-single-post-tmpl-builder .column_post_content,
body.single-post .mfn-single-post-tmpl-builder .mcb-item-post_content-inner {
    max-width: none !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* 3. Reset padding vertical sur la section qui contient mon contenu (pas de gap entre nav Be Theme et hero) */
body.single-post .mfn-single-post-tmpl-builder section.section:has(.column_post_content) {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* 4. Le wrapper externe doit pouvoir s'étendre hors de tout parent éventuellement bridé */
body.single-post .qantra-rag-article {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #010101;
}

/* 5. Cacher la zone commentaires Be Theme / WP sur cette page */
body.single-post #comments,
body.single-post .comments-area,
body.single-post #respond,
body.single-post .comment-respond,
body.single-post .post-comments,
body.single-post #commentsAdd {
    display: none !important;
}

/* 6. Cacher aussi le wrapper column_post_comments (parent du #comments) */
body.single-post .column_post_comments,
body.single-post .mcb-item-post_comments-inner,
body.single-post [class*="post_comments"] {
    display: none !important;
}

/* ======================================================================
   Tally embed + footer line fix
   ====================================================================== */

/* Tally embed : carte blanche sur fond noir, accent orange */
.qantra-rag-article .tally-embed-wrap {
    background: rgba(255, 255, 255, 0.97);
    border-radius: 16px;
    padding: 16px 24px;
    margin: 32px 0 16px;
    box-shadow: 0 24px 60px rgba(237, 109, 30, 0.18), 0 0 0 1px rgba(237, 109, 30, 0.15);
    position: relative;
    overflow: hidden;
}
.qantra-rag-article .tally-embed-wrap::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ED6D1E 0%, #F2822F 50%, transparent 100%);
}
.qantra-rag-article .tally-embed-wrap iframe {
    display: block;
    width: 100% !important;
    min-height: 480px;
    border: 0;
    background: transparent;
}
.qantra-rag-article .cta-or-mail {
    margin: 18px auto 0;
    text-align: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
}
.qantra-rag-article .cta-or-mail a {
    color: #ED6D1E;
    text-decoration: none;
    font-weight: 500;
}
.qantra-rag-article .cta-or-mail a:hover {
    text-decoration: underline;
}

/* Fix de la ligne blanche entre fin de contenu et footer */
body.single-post main.sections_group,
body.single-post #Wrapper,
body.single-post #Content {
    background: #010101 !important;
}
body.single-post #Footer,
body.single-post #mfn-footer-template,
body.single-post .mfn-footer-tmpl {
    border-top: 0 !important;
    margin-top: 0 !important;
}
body.single-post .qantra-rag-article,
body.single-post .mfn-single-post-tmpl-builder section.section:has(.column_post_content) {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    border-bottom: 0 !important;
}

/* Newsletter Tally embed integration */
.qantra-rag-article .nl-tally {
    margin-top: 18px;
    width: 100%;
    background: transparent;
    border-radius: 12px;
    overflow: hidden;
}
.qantra-rag-article .nl-tally iframe {
    display: block;
    width: 100% !important;
    min-height: 160px;
    border: 0;
    background: transparent;
}

/* Hero H1 : blanc + accent orange (override Be Theme) */
.qantra-rag-article .hero h1 {
    color: #ffffff !important;
}
.qantra-rag-article .hero h1 .accent {
    color: #ED6D1E !important;
}

/* Related thumbs : vraies featured images (ajout 2026-05-03) */
.qantra-rag-article .related-thumb-photo {
    background-color: #0c0c0d;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}
.qantra-rag-article .related-thumb-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(1,1,1,0.55) 100%);
    pointer-events: none;
}

/* Hero RAG figure (post 861) — image schéma RAG en haut de l'article */
.qantra-rag-article .hero-visual-rag {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 24px 48px;
    background: radial-gradient(ellipse at center top, rgba(237,109,30,0.12) 0%, rgba(0,0,0,0) 60%), #010101;
    position: relative;
    overflow: hidden;
}
.qantra-rag-article .hero-rag-figure {
    margin: 0;
    max-width: 880px;
    width: 100%;
    border-radius: 18px;
    overflow: hidden;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 28px 72px rgba(0,0,0,0.55), 0 0 0 1px rgba(237,109,30,0.08);
    position: relative;
    z-index: 1;
}
.qantra-rag-article .hero-rag-figure img {
    display: block;
    width: 100%;
    height: auto;
    background: #fff;
}
.qantra-rag-article .hero-visual-rag .visual-caption {
    margin-top: 18px;
    color: rgba(255,255,255,0.5);
    font-size: 13px;
    text-align: center;
    z-index: 1;
}
.qantra-rag-article .hero-visual-rag .visual-caption a {
    color: #ED6D1E;
    text-decoration: none;
}
.qantra-rag-article .hero-visual-rag .visual-caption a:hover {
    text-decoration: underline;
}

/* ======================================================================
   RAG Architecture Diagram (post 861) — extrait de RAG Souverain.html
   Maj 2026-05-03
   ====================================================================== */

/* Wrapper hero pour centrer le diagramme */
.qantra-rag-article .hero-visual-rag-diagram {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 32px 24px 48px;
    background: radial-gradient(ellipse at center top, rgba(237,109,30,0.08) 0%, rgba(0,0,0,0) 60%), #010101;
    position: relative;
    overflow: hidden;
}
.qantra-rag-article .rag-diagram-wrap {
    width: 100%;
    max-width: 1180px;
    position: relative;
    z-index: 1;
}

/* RAG Architecture Diagram (card) */
.qantra-rag-article .rag-diagram {
    margin: 0;
    padding: 36px 32px 28px;
    background: #0C0C0D;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}
.qantra-rag-article .rag-diagram::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 80% 50% at 50% 100%, rgba(237,109,30,0.06), transparent 70%);
    pointer-events: none;
}
.qantra-rag-article .rag-diagram-eyebrow {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11px; letter-spacing: 0.16em;
    color: #ED6D1E; text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 8px;
    position: relative;
}
.qantra-rag-article .rag-diagram-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 20px; font-weight: 600; color: #fff;
    letter-spacing: -0.01em; margin-bottom: 24px;
    position: relative;
}
.qantra-rag-article .rag-diagram svg {
    display: block; width: 100%; height: auto;
    position: relative;
}
.qantra-rag-article .rag-diagram-caption {
    margin-top: 16px;
    font-size: 12px; color: rgba(255,255,255,0.45);
    text-align: center;
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: 0.04em;
    position: relative;
}

/* Animated packets along connectors */
@keyframes rag-flow {
    0% { offset-distance: 0%; opacity: 0; }
    8% { opacity: 1; }
    92% { opacity: 1; }
    100% { offset-distance: 100%; opacity: 0; }
}
@keyframes rag-pulse-node {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}
@keyframes rag-pulse-glow {
    0%, 100% { r: 28; opacity: 0.25; }
    50% { r: 36; opacity: 0.5; }
}
.qantra-rag-article .rag-packet {
    fill: #ED6D1E;
    filter: drop-shadow(0 0 6px rgba(237,109,30,0.8));
}
.qantra-rag-article .rag-pulse-glow {
    fill: #ED6D1E; opacity: 0.3;
    animation: rag-pulse-glow 2.4s ease-in-out infinite;
}
.qantra-rag-article .rag-node-active {
    animation: rag-pulse-node 2.4s ease-in-out infinite;
}

/* Override .hero-visual base rules quand l'image démo s'affiche (post 861) */
.qantra-rag-article .hero-visual.hero-visual-rag {
    height: auto !important;
    max-width: 1100px !important;
    margin: 56px auto 0 !important;
    overflow: visible !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: radial-gradient(ellipse at center top, rgba(237,109,30,0.12) 0%, rgba(0,0,0,0) 60%), #010101 !important;
}

/* ======================================================================
   Page 533 newsletter — fix full-width + grid TOC absent
   Maj 2026-05-03 (correctif basé sur screenshots utilisateur)
   ====================================================================== */

/* 1. Casser la contrainte 1240px du section_wrapper Be Theme — UNIQUEMENT
      pour le contenu de la page, pas pour header/footer */
body.page-id-533 main.sections_group > section.the_content,
body.page-id-533 main.sections_group > section.the_content > .section_wrapper,
body.page-id-533 main.sections_group > section.the_content > .section_wrapper > .the_content_wrapper {
    max-width: none !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* 2. Wrapper .qantra-rag-article : 100% width + fond noir */
body.page-id-533 .qantra-rag-article {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #010101;
}

/* 3. .article passe en display block sur cette page (pas de TOC sticky) */
body.page-id-533 .qantra-rag-article .article {
    display: block !important;
    grid-template-columns: none !important;
    padding: 0 !important;
}

/* 4. .content centré + max-width raisonnable + padding latéral */
body.page-id-533 .qantra-rag-article .article > .content {
    max-width: 880px !important;
    margin: 0 auto !important;
    padding: 80px 32px 0 !important;
    grid-column: auto !important;
}

/* 5. Masquer les sections Be Theme parasites entre contenu et footer */
body.page-id-533 .section.section-page-footer,
body.page-id-533 .mfn-builder-content.mfn-default-content-buider:empty,
body.page-id-533 .page-pager:empty {
    display: none !important;
}

/* 6. Background noir cohérent + reset border-top du footer */
body.page-id-533 #Wrapper,
body.page-id-533 #Content,
body.page-id-533 main.sections_group {
    background: #010101 !important;
}
body.page-id-533 #Footer,
body.page-id-533 #mfn-footer-template {
    border-top: 0 !important;
    margin-top: 0 !important;
}

/* 7. La section .related : restaurer son max-width interne (elle a son propre styling) */
body.page-id-533 .qantra-rag-article .related {
    max-width: 1280px;
    margin: 96px auto 0;
    padding: 64px 32px 32px;
}
