/* Articles longs pré-rendus (public/articles/{slug}.html) — complète les styles de public/article.html. */

.article-breadcrumb {
  margin-bottom: 24px;
  font-size: 12px;
  color: rgba(0,0,0,.4);
}
.article-breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.article-breadcrumb li { display: inline-flex; align-items: center; gap: 6px; }
.article-breadcrumb li + li::before { content: "/"; color: rgba(0,0,0,.25); }
.article-breadcrumb a { color: rgba(0,0,0,.5); text-decoration: none; transition: color .2s; }
.article-breadcrumb a:hover { color: #000; }
.article-breadcrumb [aria-current] {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.article-intro {
  margin-top: 24px;
  font-size: 17px;
  line-height: 1.65;
  color: rgba(0,0,0,.78);
}

.article-byline {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-top: 20px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(0,0,0,.08);
  font-size: 12px;
  font-weight: 500;
  color: rgba(0,0,0,.45);
}
.article-byline a { color: rgba(0,0,0,.6); }

.article-toc {
  margin-top: 28px;
  padding: 20px 22px;
  border-radius: 14px;
  background: rgba(0,0,0,.035);
}
.article-toc-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(0,0,0,.45);
  margin-bottom: 10px;
}
.article-toc ol { padding-left: 20px; }
.article-toc li {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(0,0,0,.4);
  margin-bottom: 6px;
}
.article-toc li:last-child { margin-bottom: 0; }
.article-toc a { color: rgba(0,0,0,.7); text-decoration: none; }
.article-toc a:hover { color: #000; text-decoration: underline; }

.article-body section,
.article-faq,
.article-sources { scroll-margin-top: 96px; }
.article-body h2,
.article-faq h2,
.article-sources h2,
.article-related h2 {
  font-family: "Clash Display", sans-serif;
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: #000;
  margin: 40px 0 14px;
}
.article-body h3 {
  scroll-margin-top: 96px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
  color: #000;
  margin: 28px 0 10px;
}
.article-body ul,
.article-body ol {
  padding-left: 22px;
  margin-bottom: 18px;
}
.article-body li {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(0,0,0,.65);
  margin-bottom: 8px;
}
.article-body strong { color: rgba(0,0,0,.85); font-weight: 600; }

.article-body .article-example {
  margin: 22px 0;
  padding: 18px 20px;
  border-left: 3px solid #000;
  border-radius: 0 12px 12px 0;
  background: rgba(0,0,0,.035);
}
.article-body .article-example p,
.article-body .article-example li { font-size: 14px; color: rgba(0,0,0,.7); }
.article-body .article-example p:last-child,
.article-body .article-example ul:last-child,
.article-body .article-example ol:last-child { margin-bottom: 0; }

.article-faq-item {
  padding: 16px 0;
  border-top: 1px solid rgba(0,0,0,.08);
}
.article-faq-item:last-child { border-bottom: 1px solid rgba(0,0,0,.08); }
.article-faq-item h3 {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  color: #000;
  margin-bottom: 8px;
}
.article-faq-item p {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(0,0,0,.65);
}

.article-sources ol { padding-left: 22px; }
.article-sources li {
  font-size: 13px;
  line-height: 1.55;
  color: rgba(0,0,0,.45);
  margin-bottom: 8px;
}
.article-sources a {
  color: rgba(0,0,0,.65);
  overflow-wrap: anywhere;
}
.article-sources a:hover { color: #000; }

.article-related {
  margin-top: 40px;
  padding-top: 4px;
}
.article-related h2 { margin-top: 0; }
.article-related-product {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 20px;
  border-radius: 14px;
  background: rgba(0,0,0,.035);
  text-decoration: none;
  transition: background .2s;
}
.article-related-product:hover { background: rgba(0,0,0,.06); }
.article-related-kicker {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(0,0,0,.45);
}
p.article-related-kicker { margin: 22px 0 10px; }
.article-related-name {
  font-family: "Clash Display", sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #000;
}
.article-related-desc {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(0,0,0,.6);
}
.article-related-list { list-style: none; }
.article-related-list li { border-top: 1px solid rgba(0,0,0,.08); }
.article-related-list li:last-child { border-bottom: 1px solid rgba(0,0,0,.08); }
.article-related-list a {
  display: block;
  padding: 12px 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  color: rgba(0,0,0,.8);
  text-decoration: none;
}
.article-related-list a:hover { color: #000; text-decoration: underline; }

.article-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.btn-demo.btn-demo-ghost,
button.btn-demo.btn-demo-ghost {
  background: rgba(0,0,0,.06);
  color: #000 !important;
  -webkit-text-fill-color: #000;
}
.btn-demo.btn-demo-ghost:hover { background: rgba(0,0,0,.1); }
