/* =========================================================
   ACOMPIA — Ressources (mockup V2 — direction éditoriale)
   "Knowledge Center" cabinet d'avocats premium + touche IA
   ========================================================= */

body.ress-page {
  background: #FBFAF6;
  color: #1A1A1A;
}

/* ==================================================
   HERO SOBRE — page index Ressources
   ================================================== */
.ress-page-header {
  padding: 140px 48px 32px;
  max-width: 1280px;
  margin: 0 auto;
}
.ress-page-title {
  font-family: 'Geist', sans-serif;
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.05;
  margin: 0 0 16px;
  color: #0A0A0A;
}
.ress-page-subtitle {
  font-family: 'Geist', sans-serif;
  font-size: 17px;
  color: #3F3F3F;
  margin: 0;
  line-height: 1.55;
  max-width: 680px;
}
@media (max-width: 720px) {
  .ress-page-header { padding: 110px 24px 24px; }
  .ress-page-subtitle { font-size: 15.5px; }
}

/* ==================================================
   HERO ÉDITORIAL (legacy) — conservé pour compatibilité
   ================================================== */
.ress-masthead {
  padding: 152px 48px 0;
  max-width: 1280px;
  margin: 0 auto;
}
.ress-masthead-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 48px;
}
.ress-masthead-left { flex: 1; }
.ress-wordmark {
  font-family: 'Geist Mono', monospace;
  font-size: clamp(56px, 10vw, 132px);
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0 0 22px;
  color: #0A0A0A;
}
.ress-wordmark-dot {
  display: inline-block;
  width: 14px;
  height: 14px;
  background: #4F46E5;
  border-radius: 50%;
  margin-left: 8px;
  transform: translateY(-12px);
}
@media (max-width: 600px) {
  .ress-wordmark-dot { width: 9px; height: 9px; transform: translateY(-6px); }
}
.ress-byline {
  font-family: 'Geist', sans-serif;
  font-size: 15px;
  color: #3F3F3F;
  margin: 0;
  line-height: 1.5;
  max-width: 540px;
}
.ress-byline strong {
  color: #0A0A0A;
  font-weight: 600;
}
.ress-masthead-right {
  text-align: right;
  flex-shrink: 0;
  padding-bottom: 4px;
}
.ress-edition {
  font-family: 'Geist Mono', monospace;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #0A0A0A;
  font-weight: 500;
  margin-bottom: 6px;
}
.ress-count {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #888;
}
.ress-rule {
  border: none;
  border-top: 1px solid #1A1A1A;
  max-width: 1280px;
  margin: 40px auto 0;
}
@media (max-width: 720px) {
  .ress-masthead { padding: 120px 24px 0; }
  .ress-masthead-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }
  .ress-masthead-right { text-align: left; }
  .ress-rule { margin: 28px auto 0; }
}

/* ==================================================
   FILTRES — Geist Mono, underline accent
   ================================================== */
.ress-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 22px 48px 22px;
  border-bottom: 1px solid #E8E5DE;
}
.ress-filter {
  background: none;
  border: none;
  padding: 6px 0;
  font-family: 'Geist Mono', monospace;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #767676;
  cursor: pointer;
  transition: color 0.2s ease;
  position: relative;
}
.ress-filter:hover { color: #0A0A0A; }
.ress-filter--active {
  color: #0A0A0A;
}
.ress-filter--active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -22px;
  height: 2px;
  background: #4F46E5;
}
@media (max-width: 720px) {
  .ress-filters {
    padding: 18px 24px 18px;
    gap: 16px 22px;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
  }
  .ress-filter { flex-shrink: 0; }
}

/* ==================================================
   GRID DE COVERS — 1 featured + 7 standards
   ================================================== */
.ress-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 48px 120px;
}
@media (max-width: 980px) {
  .ress-grid {
    grid-template-columns: 1fr 1fr;
    padding: 36px 24px 80px;
  }
}
@media (max-width: 640px) {
  .ress-grid { grid-template-columns: 1fr; }
}

/* ===== Cover de base ===== */
.ress-cover {
  position: relative;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  border-radius: 18px;
  padding: 26px 28px 24px;
  aspect-ratio: 4/5;
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}
.ress-cover:hover {
  transform: translateY(-4px);
}

/* ===== Featured : 2 colonnes × 1 row, ratio paysage ===== */
.ress-cover--featured {
  grid-column: span 2;
  aspect-ratio: auto;
  min-height: 460px;
  padding: 36px 40px 32px;
}
@media (max-width: 980px) {
  .ress-cover--featured {
    grid-column: span 2;
    min-height: 380px;
  }
}
@media (max-width: 640px) {
  .ress-cover--featured {
    grid-column: span 1;
    min-height: 340px;
    padding: 28px 24px;
  }
}

/* ===== Variantes de fond ===== */
.ress-cover--aurora {
  background: linear-gradient(115deg, #4F46E5 0%, #8B5CF6 25%, #22D3EE 50%, #10B981 75%, #4F46E5 100%);
  background-size: 240% 240%;
  animation: aurora-shift 22s ease infinite;
  color: #FAFAF7;
}
.ress-cover--aurora::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.20), transparent 55%),
              linear-gradient(180deg, transparent 55%, rgba(10,10,10,0.30) 100%);
  pointer-events: none;
}
.ress-cover--ink {
  background: #0A0A0A;
  color: #FAFAF7;
}
.ress-cover--indigo {
  background: #4F46E5;
  color: #FAFAF7;
}
.ress-cover--dark {
  background: #131322;
  color: #FAFAF7;
}
.ress-cover--cream {
  background: #FFFFFF;
  border: 1px solid #0A0A0A;
  color: #0A0A0A;
}
.ress-cover--cream:hover {
  background: #FAFAF7;
}

@keyframes aurora-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* ===== Contenu interne ===== */
.ress-cover-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Geist Mono', monospace;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 500;
  position: relative;
  z-index: 1;
}
.ress-cover-num {
  opacity: 0.92;
}
.ress-cover-theme {
  opacity: 0.65;
  text-align: right;
}
.ress-cover--cream .ress-cover-num { opacity: 1; color: #0A0A0A; }
.ress-cover--cream .ress-cover-theme { opacity: 1; color: #767676; }

.ress-cover-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  z-index: 1;
  padding-top: 24px;
}
.ress-cover-eyebrow {
  font-family: 'Geist Mono', monospace;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 500;
  margin-bottom: 14px;
  opacity: 0.78;
}
.ress-cover-title {
  font-family: 'Geist', sans-serif;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.012em;
  margin: 0 0 14px;
}
.ress-cover--featured .ress-cover-title {
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.022em;
  max-width: 80%;
}
.ress-cover-desc {
  font-family: 'Geist', sans-serif;
  font-size: 14.5px;
  line-height: 1.55;
  margin: 0;
  opacity: 0.72;
  max-width: 92%;
}
.ress-cover--featured .ress-cover-desc {
  font-size: 16px;
  max-width: 72%;
  margin-bottom: 8px;
}
.ress-cover-meta {
  font-family: 'Geist Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  opacity: 0.65;
  margin-top: 22px;
  position: relative;
  z-index: 1;
}
.ress-cover--cream .ress-cover-meta { opacity: 0.7; color: #3F3F3F; }
.ress-cover--featured .ress-cover-meta { margin-top: 26px; }

/* Trait indigo apparaissant au hover sur les covers sombres */
.ress-cover::before {
  content: '';
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 14px;
  height: 1px;
  background: currentColor;
  opacity: 0;
  transform: scaleX(0.3);
  transform-origin: left center;
  transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}
.ress-cover:hover::before {
  opacity: 0.25;
  transform: scaleX(1);
}
.ress-cover--aurora:hover::before { opacity: 0; }

/* ==========================================================================
   ARTICLE — HERO + LAYOUT + CONTENT
   (Conservation du style article existant, juste mis à jour pour cohérence)
   ========================================================================== */

.article-hero {
  padding: 120px 24px 40px;
  max-width: 1000px;
  margin: 0 auto;
}
.article-breadcrumb {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #888;
  margin-bottom: 28px;
}
.article-breadcrumb a {
  color: #888;
  text-decoration: none;
}
.article-breadcrumb a:hover { color: #4F46E5; }
.article-breadcrumb .sep { color: #D4D0C5; margin: 0 8px; }

.article-hero-banner {
  aspect-ratio: 21/9;
  border-radius: 24px;
  margin-bottom: 36px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(115deg, #4F46E5 0%, #8B5CF6 25%, #22D3EE 50%, #10B981 75%, #4F46E5 100%);
  background-size: 220% 220%;
  animation: aurora-shift 18s ease infinite;
}
.article-hero-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 25% 30%, rgba(255,255,255,0.18), transparent 55%),
              linear-gradient(180deg, transparent 50%, rgba(10,10,10,0.25) 100%);
}
.article-hero-banner-content {
  position: absolute;
  inset: 0;
  padding: 44px 52px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: white;
  z-index: 2;
}
.article-eyebrow {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  opacity: 0.92;
  margin-bottom: 14px;
}
.article-title-banner {
  font-family: 'Geist', sans-serif;
  font-size: clamp(28px, 4.2vw, 46px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0;
  max-width: 90%;
  color: white;
}
.article-meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  color: #5C5C5C;
  padding-bottom: 4px;
}
.article-author-mini {
  display: flex;
  align-items: center;
  gap: 10px;
}
.article-author-mini-img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4F46E5 0%, #22D3EE 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Geist', sans-serif;
  font-weight: 600;
  color: white;
  font-size: 14px;
}
.article-author-mini-photo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  border: 1px solid #E8E5DE;
}

/* ==================================================
   BLOC AUTEUR ENRICHI — boost E-E-A-T (fin d'article)
   ================================================== */
.article-author-card {
  margin: 56px 0 32px;
  padding: 36px 40px;
  background: #FFFFFF;
  border: 1px solid #0A0A0A;
  border-radius: 18px;
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 36px;
  align-items: start;
  max-width: 720px;
}
.article-author-card-img {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 18%;
  display: block;
  border: 1px solid #E8E5DE;
}
.article-author-card-content { padding-top: 4px; }
.article-author-card-eyebrow {
  font-family: 'Geist Mono', monospace;
  font-size: 10.5px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #767676;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.article-author-card-eyebrow::before {
  content: '';
  width: 18px;
  height: 1px;
  background: #4F46E5;
}
.article-author-card-name {
  font-family: 'Geist', sans-serif;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.018em;
  margin: 0 0 6px;
  color: #0A0A0A;
  line-height: 1.2;
}
.article-author-card-title {
  font-family: 'Geist', sans-serif;
  font-size: 14px;
  color: #3F3F3F;
  margin: 0 0 16px;
  font-weight: 500;
  line-height: 1.45;
}
.article-author-card-bio {
  font-family: 'Geist', sans-serif;
  font-size: 14.5px;
  line-height: 1.62;
  color: #3F3F3F;
  margin: 0 0 18px;
  text-align: left;
  hyphens: none;
}
.article-author-card-links {
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
}
.article-author-card-link {
  font-family: 'Geist Mono', monospace;
  font-size: 10.5px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #4F46E5;
  text-decoration: none;
  border-bottom: 1px solid rgba(79,70,229,0.35);
  padding-bottom: 3px;
  transition: border-bottom-color 0.2s ease;
}
.article-author-card-link:hover {
  border-bottom-color: #4F46E5;
}
@media (max-width: 640px) {
  .article-author-card {
    grid-template-columns: 1fr;
    padding: 28px;
    gap: 22px;
  }
  .article-author-card-img {
    width: 96px;
    height: 96px;
  }
}
.article-author-mini strong {
  color: #0A0A0A;
  font-weight: 600;
}
.article-meta-bar .sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #D4D0C5;
}

.article-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 64px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 24px 60px;
}
.article-toc {
  position: sticky;
  top: 100px;
  align-self: start;
  padding-top: 8px;
}
.article-toc-title {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #888;
  margin-bottom: 16px;
}
.article-toc ol {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: toc;
}
.article-toc li {
  counter-increment: toc;
  margin-bottom: 4px;
}
.article-toc a {
  font-size: 13.5px;
  color: #5C5C5C;
  line-height: 1.45;
  display: block;
  padding: 6px 0 6px 14px;
  border-left: 1px solid #E8E5DE;
  transition: all 0.2s;
}
.article-toc a::before {
  content: counter(toc, decimal-leading-zero) "  ";
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  color: #B5B5B5;
  margin-right: 4px;
}
.article-toc a:hover {
  color: #4F46E5;
  border-left-color: #4F46E5;
}

.article-content {
  max-width: 720px;
  font-family: 'Geist', sans-serif;
  font-size: 17.5px;
  line-height: 1.78;
  color: #1A1A1A;
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  text-justify: inter-word;
}
.article-content > p:first-of-type {
  font-size: 21px;
  line-height: 1.55;
  color: #1F1F1F;
  font-weight: 400;
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
}
.article-content h2,
.article-content h3,
.article-content h4 {
  text-align: left;
  hyphens: none;
}
.article-content ul,
.article-content ol,
.article-content blockquote,
.article-content table {
  text-align: left;
  hyphens: none;
}
.article-content h2 {
  font-family: 'Geist', sans-serif;
  font-size: 30px;
  line-height: 1.22;
  margin: 64px 0 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #0A0A0A;
  scroll-margin-top: 100px;
}
.article-content h3 {
  font-size: 21px;
  line-height: 1.3;
  margin: 40px 0 12px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.article-content p { margin: 0 0 20px; }
.article-content strong {
  color: #0A0A0A;
  font-weight: 600;
}
.article-content a {
  color: #4F46E5;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: rgba(79,70,229,0.4);
}
.article-content a:hover { text-decoration-color: #4F46E5; }
.article-content ul,
.article-content ol {
  margin: 0 0 24px;
  padding-left: 24px;
}
.article-content li { margin-bottom: 10px; }
.article-content blockquote {
  margin: 28px 0;
  padding: 4px 0 4px 22px;
  border-left: 2px solid #4F46E5;
  font-size: 19px;
  line-height: 1.6;
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  color: #2A2A2A;
}

.callout-retenir {
  background: #FFFFFF;
  border: 1px solid #0A0A0A;
  padding: 24px 28px;
  border-radius: 12px;
  margin: 32px 0;
}
.callout-retenir-title {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #0A0A0A;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.callout-retenir-title::before {
  content: '';
  width: 18px;
  height: 1px;
  background: #4F46E5;
}
.callout-retenir ul {
  margin: 0;
  padding-left: 18px;
  font-size: 15.5px;
  line-height: 1.62;
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
}
.callout-retenir li {
  margin-bottom: 6px;
  text-align: justify;
  hyphens: auto;
}
.callout-retenir li:last-child { margin-bottom: 0; }

.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  font-size: 15px;
  background: white;
  border: 1px solid #E8E5DE;
  border-radius: 12px;
  overflow: hidden;
}
.article-content thead { background: #FAFAF7; }
.article-content th {
  padding: 14px 18px;
  text-align: left;
  font-weight: 600;
  font-size: 13.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #3F3F3F;
  border-bottom: 1px solid #E8E5DE;
}
.article-content td {
  padding: 14px 18px;
  border-bottom: 1px solid #F0EEE8;
}
.article-content tr:last-child td { border-bottom: none; }
.article-content tbody tr:hover { background: #FAFAF7; }

.article-faq { margin-top: 64px; }
.article-faq h2 { margin-bottom: 24px; }
.article-faq details {
  background: white;
  border: 1px solid #E8E5DE;
  border-radius: 12px;
  margin-bottom: 10px;
  padding: 0;
  transition: all 0.2s ease;
}
.article-faq details[open] { border-color: rgba(79,70,229,0.3); }
.article-faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 17px;
  line-height: 1.4;
  list-style: none;
  position: relative;
  padding: 20px 56px 20px 24px;
  color: #0A0A0A;
}
.article-faq summary::-webkit-details-marker { display: none; }
.article-faq summary::after {
  content: '+';
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  font-weight: 300;
  color: #4F46E5;
  transition: transform 0.25s ease;
  line-height: 1;
}
.article-faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.article-faq details > div {
  padding: 0 24px 22px;
  font-size: 16px;
  line-height: 1.7;
  color: #3F3F3F;
}

.article-ctas {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 720px;
  margin: 64px 0 32px;
  padding: 36px;
  background: #0A0A0A;
  border-radius: 24px;
  color: white;
  position: relative;
  overflow: hidden;
}
.article-ctas::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 100% 0%, rgba(79,70,229,0.25), transparent 50%);
  pointer-events: none;
}
.article-cta-block {
  position: relative;
  z-index: 2;
}
.article-cta-block h4 {
  color: white;
  font-size: 19px;
  margin: 0 0 8px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.article-cta-block p {
  color: rgba(240,241,248,0.7);
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 18px;
}
a.article-cta-btn,
.article-ctas a.article-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  background: #FFFFFF;
  color: #0A0A0A;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
a.article-cta-btn:hover,
.article-ctas a.article-cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(255,255,255,0.15);
}
a.article-cta-btn--accent,
.article-ctas a.article-cta-btn--accent {
  background: #4F46E5;
  color: #FFFFFF;
}
a.article-cta-btn--accent:hover,
.article-ctas a.article-cta-btn--accent:hover {
  box-shadow: 0 8px 24px rgba(79,70,229,0.4);
}
@media (max-width: 640px) {
  .article-ctas { grid-template-columns: 1fr; padding: 28px; }
}

.article-disclaimer {
  font-size: 12.5px;
  line-height: 1.6;
  color: #888;
  font-style: italic;
  max-width: 720px;
  padding: 22px 0 0;
  border-top: 1px solid #E8E5DE;
}

.article-similar {
  max-width: 1280px;
  margin: 80px auto 80px;
  padding: 60px 48px 0;
  border-top: 1px solid #E8E5DE;
}
.article-similar-title {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #888;
  margin-bottom: 28px;
}
.article-similar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 900px) {
  .article-similar { padding: 40px 24px 0; }
  .article-similar-grid { grid-template-columns: 1fr 1fr; }
  .article-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .article-toc { display: none; }
  .article-content { max-width: 100%; }
  .article-hero { padding: 100px 20px 32px; }
  .article-hero-banner-content { padding: 28px 24px; }
}
@media (max-width: 640px) {
  .article-similar-grid { grid-template-columns: 1fr; }
  .article-content {
    font-size: 16.5px;
    line-height: 1.72;
    text-align: left;
    hyphens: none;
  }
  .article-content > p:first-of-type { font-size: 18.5px; }
  .article-content h2 { font-size: 25px; margin: 48px 0 14px; }
  .article-content h3 { font-size: 19px; }
}

/* Nav fond + scroll : opacite renforcee pour eviter le bleed-through au scroll */
body.ress-page header {
  background: rgba(251, 250, 246, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
