/* ── BLOG PAGE CSS ────────────────────────────────────────────────────────── */

/* Blog hero */
.blog-hero {
  max-width: 720px;
  margin: 0 auto;
  padding: 4rem 2rem 3rem;
  text-align: center;
}

.blog-hero h1 {
  font-family: Georgia, serif;
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: .8rem;
}

.blog-hero h1 em { font-style: normal; color: var(--amber); }
.blog-hero p { color: var(--muted); font-size: .95rem; line-height: 1.65; }

/* Category filter */
.blog-filter {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  justify-content: center;
  padding: 0 1.5rem 2.5rem;
  max-width: 960px;
  margin: 0 auto;
}

.blog-filter-btn {
  padding: .4rem 1rem;
  border-radius: 50px;
  font-size: .78rem;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,.1);
  background: transparent;
  color: var(--muted);
  text-decoration: none;
  transition: all .2s;
  display: flex;
  align-items: center;
  gap: .35rem;
}

.blog-filter-btn:hover { border-color: rgba(245,166,35,.3); color: var(--white); }
.blog-filter-btn.current { background: var(--amber); border-color: var(--amber); color: var(--navy); }

/* Blog grid */
.blog-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem 5rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-bottom: 3rem;
}

/* Blog post card */
.blog-card {
  background: rgba(13,58,82,.45);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color .3s, transform .3s;
  text-decoration: none;
  color: inherit;
}

.blog-card:hover { border-color: rgba(245,166,35,.3); transform: translateY(-4px); }

.blog-thumb {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--navy-mid), var(--navy-light));
  overflow: hidden;
  position: relative;
}

.blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}

.blog-card:hover .blog-thumb img { transform: scale(1.04); }

.blog-thumb-ph {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.15);
  font-size: .72rem;
}

.blog-cat-badge {
  position: absolute;
  top: .8rem;
  left: .8rem;
  font-size: .65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  background: var(--amber);
  color: var(--navy);
  padding: .2rem .6rem;
  border-radius: 6px;
}

.blog-body {
  padding: 1.4rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .72rem;
  color: var(--muted);
}

.blog-meta time { display: flex; align-items: center; gap: .3rem; }
.blog-meta .read-time { display: flex; align-items: center; gap: .3rem; }
.blog-meta .sep { color: rgba(255,255,255,.2); }

.blog-title {
  font-family: Georgia, serif;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--white);
}

.blog-excerpt {
  font-size: .8rem;
  color: var(--muted);
  line-height: 1.65;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: .8rem;
  padding-top: .8rem;
  border-top: 1px solid rgba(255,255,255,.06);
}

.blog-author {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .75rem;
  color: var(--muted);
}

.blog-author-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(245,166,35,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .65rem;
  font-weight: 700;
  color: var(--amber);
  flex-shrink: 0;
}

.blog-read-link {
  font-size: .75rem;
  font-weight: 700;
  color: var(--amber);
  display: flex;
  align-items: center;
  gap: .3rem;
  text-decoration: none;
  transition: gap .2s;
}

.blog-card:hover .blog-read-link { gap: .5rem; }

/* Featured article */
.blog-featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(13,58,82,.55);
  border: 1px solid rgba(245,166,35,.2);
  margin-bottom: 1.4rem;
  text-decoration: none;
  color: inherit;
  transition: border-color .3s;
}

.blog-featured:hover { border-color: rgba(245,166,35,.45); }

.blog-featured .blog-thumb {
  aspect-ratio: auto;
  min-height: 280px;
}

.blog-featured .blog-body {
  padding: 2rem;
  justify-content: center;
}

.blog-featured .blog-title {
  font-size: 1.4rem;
  margin-bottom: .5rem;
}

.blog-featured .blog-excerpt { -webkit-line-clamp: 4; }

/* Pagination */
.blog-pagination {
  display: flex;
  justify-content: center;
  gap: .5rem;
  flex-wrap: wrap;
  padding-bottom: 3rem;
}

.blog-pagination a,
.blog-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  font-size: .85rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.1);
  color: var(--muted);
  transition: all .2s;
}

.blog-pagination a:hover { border-color: rgba(245,166,35,.3); color: var(--white); }
.blog-pagination .current { background: var(--amber); border-color: var(--amber); color: var(--navy); }
.blog-pagination .dots { border: none; width: auto; color: var(--muted); }

/* ─── SINGLE ARTICLE ────────────────────────────────────────────────────── */

.single-hero {
  max-width: 860px;
  margin: 0 auto;
  padding: 4rem 2rem 2rem;
}

.single-hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .6rem;
  margin-bottom: 1.2rem;
}

.single-hero-meta .cat-tag {
  font-size: .68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  background: var(--amber);
  color: var(--navy);
  padding: .2rem .65rem;
  border-radius: 6px;
}

.single-hero-meta time {
  font-size: .78rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: .3rem;
}

.single-hero-meta .read-time {
  font-size: .78rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: .3rem;
}

.single-hero h1 {
  font-family: Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.single-hero .excerpt {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.75;
  max-width: 680px;
  margin-bottom: 1.5rem;
}

.single-author {
  display: flex;
  align-items: center;
  gap: .8rem;
}

.single-author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(245,166,35,.3);
  flex-shrink: 0;
}

.single-author-avatar img { width: 100%; height: 100%; object-fit: cover; }

.single-author-name { font-size: .85rem; font-weight: 700; color: var(--white); }
.single-author-title { font-size: .75rem; color: var(--muted); }

/* Cover image */
.single-cover {
  max-width: 860px;
  margin: 0 auto 2.5rem;
  padding: 0 2rem;
}

.single-cover img {
  width: 100%;
  border-radius: 20px;
  display: block;
}

/* Article layout */
.single-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 3rem;
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 2rem 5rem;
  align-items: start;
}

/* Article content */
.article-content {
  font-size: .93rem;
  line-height: 1.8;
  color: var(--light);
}

.article-content h2 {
  font-family: Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin: 2.5rem 0 .8rem;
  line-height: 1.25;
}

.article-content h3 {
  font-family: Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin: 2rem 0 .6rem;
}

.article-content p { margin-bottom: 1.3rem; }

.article-content a { color: var(--amber); text-decoration: none; }
.article-content a:hover { text-decoration: underline; }

.article-content ul,
.article-content ol {
  margin: 0 0 1.3rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: .45rem;
}

.article-content li { color: var(--light); }

.article-content blockquote {
  border-left: 3px solid var(--amber);
  margin: 1.5rem 0;
  padding: .8rem 1.4rem;
  background: rgba(245,166,35,.06);
  border-radius: 0 12px 12px 0;
  font-style: italic;
  color: var(--muted);
}

.article-content img {
  max-width: 100%;
  border-radius: 14px;
  margin: 1.5rem 0;
  display: block;
}

.article-content code {
  background: rgba(255,255,255,.08);
  padding: .15em .45em;
  border-radius: 5px;
  font-size: .85em;
  color: var(--amber);
}

.article-content pre {
  background: rgba(7,38,56,.8);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  padding: 1.2rem;
  overflow-x: auto;
  margin-bottom: 1.3rem;
}

.article-content pre code {
  background: none;
  padding: 0;
  color: var(--light);
}

/* Article callout box */
.article-callout {
  background: rgba(245,166,35,.08);
  border: 1px solid rgba(245,166,35,.2);
  border-radius: 14px;
  padding: 1.2rem 1.5rem;
  margin: 1.5rem 0;
  display: flex;
  gap: .8rem;
  align-items: flex-start;
}

.article-callout svg { color: var(--amber); flex-shrink: 0; margin-top: 2px; }
.article-callout p { margin: 0; color: var(--light); font-size: .88rem; }

/* Article tags */
.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.07);
}

.article-tag {
  font-size: .72rem;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 6px;
  padding: .25rem .7rem;
  color: var(--muted);
  text-decoration: none;
  transition: all .2s;
}

.article-tag:hover { border-color: rgba(245,166,35,.3); color: var(--amber); }

/* Share bar */
.share-bar {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.07);
  flex-wrap: wrap;
}

.share-bar span { font-size: .78rem; color: var(--muted); }

.share-btn {
  display: flex;
  align-items: center;
  gap: .4rem;
  padding: .4rem .9rem;
  border-radius: 50px;
  font-size: .75rem;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,.1);
  background: transparent;
  color: var(--muted);
  text-decoration: none;
  transition: all .2s;
}

.share-btn:hover { border-color: rgba(245,166,35,.3); color: var(--amber); }

/* Sidebar */
.article-sidebar { position: sticky; top: 84px; }

.sidebar-toc {
  background: rgba(13,58,82,.45);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  padding: 1.4rem;
  margin-bottom: 1.2rem;
}

.sidebar-toc h4 {
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted);
  margin-bottom: .8rem;
}

.toc-list { list-style: none; display: flex; flex-direction: column; gap: .3rem; }

.toc-list a {
  display: block;
  font-size: .78rem;
  color: var(--muted);
  text-decoration: none;
  padding: .2rem 0;
  border-left: 2px solid transparent;
  padding-left: .7rem;
  transition: all .2s;
  line-height: 1.4;
}

.toc-list a:hover,
.toc-list a.active { color: var(--amber); border-left-color: var(--amber); }

.sidebar-cta {
  background: linear-gradient(135deg, rgba(13,58,82,.7), rgba(26,77,107,.5));
  border: 1px solid rgba(245,166,35,.2);
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
}

.sidebar-cta h4 {
  font-family: Georgia, serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: .4rem;
}

.sidebar-cta p {
  font-size: .78rem;
  color: var(--muted);
  margin-bottom: 1rem;
  line-height: 1.5;
}

/* Related articles */
.related-articles {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 2rem 5rem;
}

.related-articles h2 {
  font-family: Georgia, serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

/* Category badge variants */
.blog-cat-badge.cat-conseil { background: rgba(245,166,35,.2); color: var(--amber); }
.blog-cat-badge.cat-actu    { background: rgba(26,77,107,.8); color: var(--light); border: 1px solid rgba(255,255,255,.15); }
.blog-cat-badge.cat-guide   { background: rgba(34,139,34,.15); color: #6fcf97; }
.blog-cat-badge.cat-cas     { background: rgba(156,39,176,.15); color: #ce93d8; }

/* Resources section */
.res-section { margin-top: 5rem; }

.res-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 2rem;
}

.res-card {
  background: rgba(13,58,82,.35);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 14px;
  padding: 1.4rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: border-color .3s;
}

.res-card:hover { border-color: rgba(245,166,35,.3); }

.res-ico {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(245,166,35,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--amber);
}

.res-body h4 { font-size: .88rem; font-weight: 700; margin-bottom: .3rem; }
.res-body p  { font-size: .75rem; color: var(--muted); line-height: 1.5; margin-bottom: .6rem; }

.res-dl {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .75rem;
  font-weight: 700;
  color: var(--amber);
  text-decoration: none;
  transition: opacity .2s;
}
.res-dl:hover { opacity: .8; }

/* Newsletter */
.nl-block {
  background: rgba(13,58,82,.4);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center;
  margin-top: 4rem;
  margin-bottom: 2rem;
}

.nl-block h3 {
  font-family: Georgia, serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: .5rem;
}

.nl-block p {
  font-size: .85rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.nl-form {
  display: flex;
  gap: .8rem;
  max-width: 420px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}

.nl-form input {
  flex: 1;
  min-width: 200px;
  background: rgba(7,38,56,.7);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50px;
  padding: .7rem 1.2rem;
  font-size: .85rem;
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  outline: none;
}

.nl-form input:focus { border-color: var(--amber); }
.nl-form input::placeholder { color: var(--muted); }

.nl-btn {
  background: var(--amber);
  color: var(--navy);
  border: none;
  border-radius: 50px;
  padding: .7rem 1.5rem;
  font-weight: 700;
  font-size: .85rem;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: background .2s;
}
.nl-btn:hover { background: var(--amber-light); }
.nl-btn:disabled { opacity: .6; cursor: default; }

/* Light mode — ressources + newsletter */
[data-theme="light"] .res-card { background: #ffffff !important; border-color: rgba(7,38,56,.1) !important; }
[data-theme="light"] .nl-block  { background: #ffffff !important; border-color: rgba(7,38,56,.1) !important; }
[data-theme="light"] .nl-form input { background: #f0f4f8 !important; border-color: rgba(7,38,56,.12) !important; color: var(--text) !important; }

/* Responsive ressources */
@media (max-width: 900px) { .res-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .res-grid { grid-template-columns: 1fr; } }

/* Light mode */
[data-theme="light"] .blog-card { background: #ffffff !important; border-color: rgba(7,38,56,.1) !important; box-shadow: 0 2px 12px rgba(7,38,56,.06); }
[data-theme="light"] .blog-card:hover { border-color: var(--amber) !important; }
[data-theme="light"] .blog-title { color: var(--text) !important; }
[data-theme="light"] .blog-featured { background: #ffffff !important; }
[data-theme="light"] .blog-filter-btn { border-color: rgba(7,38,56,.1) !important; color: rgba(45,74,99,.7) !important; background: #ffffff !important; }
[data-theme="light"] .blog-pagination a,
[data-theme="light"] .blog-pagination span { border-color: rgba(7,38,56,.1) !important; color: rgba(45,74,99,.7) !important; background: #ffffff !important; }
[data-theme="light"] .sidebar-toc { background: #ffffff !important; border-color: rgba(7,38,56,.1) !important; }
[data-theme="light"] .article-content { color: var(--text) !important; }
[data-theme="light"] .article-content h2,
[data-theme="light"] .article-content h3 { color: var(--text) !important; }
[data-theme="light"] .article-content code { background: rgba(7,38,56,.08) !important; color: var(--navy) !important; }
[data-theme="light"] .article-content pre { background: #f0f4f8 !important; border-color: rgba(7,38,56,.1) !important; }
[data-theme="light"] .article-tag { background: #f0f4f8 !important; border-color: rgba(7,38,56,.1) !important; color: rgba(45,74,99,.7) !important; }

/* Responsive */
@media (max-width: 960px) {
  .single-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
  .related-grid { grid-template-columns: 1fr 1fr; }
  .blog-featured { grid-template-columns: 1fr; }
  .blog-featured .blog-thumb { min-height: 200px; }
}

@media (max-width: 768px) {
  .blog-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .blog-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .single-layout { padding: 0 1.2rem 4rem; }
  .single-hero { padding: 3rem 1.2rem 1.5rem; }
  .single-cover { padding: 0 1.2rem; }
}

/* ═══════════════════════════════════════════════════════════════════════════
 * SINGLE ARTICLE
 * ═══════════════════════════════════════════════════════════════════════════ */

.art-wrap {
  max-width: 740px;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
}

/* Fil d'Ariane */
.art-breadcrumb {
  font-size: .75rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: .35rem;
  flex-wrap: wrap;
}
.art-breadcrumb a { color: var(--muted); text-decoration: none; transition: color .2s; }
.art-breadcrumb a:hover { color: var(--amber); }
.art-breadcrumb span:last-child { color: var(--amber); }

/* Badge catégorie */
.art-cat {
  display: inline-block;
  font-size: .68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  padding: .3rem .8rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}
.art-cat.cat-conseil { background: rgba(245,166,35,.2);  color: var(--amber); }
.art-cat.cat-actu    { background: rgba(26,77,107,.8);   color: var(--light); border: 1px solid rgba(255,255,255,.15); }
.art-cat.cat-guide   { background: rgba(34,139,34,.15);  color: #6fcf97; }
.art-cat.cat-cas     { background: rgba(156,39,176,.15); color: #ce93d8; }

/* Titre */
.art-title {
  font-family: Georgia, serif;
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.art-title em { font-style: normal; color: var(--amber); }

/* Méta */
.art-meta {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-size: .78rem;
  color: var(--muted);
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.art-meta span { display: flex; align-items: center; gap: .35rem; }

/* Image de couverture */
.art-cover {
  width: 100%;
  aspect-ratio: 16/7;
  background: linear-gradient(135deg, var(--navy-mid), var(--navy-light));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2.5rem;
  position: relative;
  overflow: hidden;
}
.art-cover-img {
  aspect-ratio: auto;
  background: none;
  display: block;
}
.art-cover-img img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
}
.art-cover-label {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  font-size: .7rem;
  background: rgba(245,166,35,.15);
  color: var(--amber);
  padding: .25rem .7rem;
  border-radius: 6px;
  font-weight: 700;
}

/* ── Contenu éditeur ─────────────────────────────────────────────────────── */
.art-content { font-size: .92rem; color: var(--light); line-height: 1.78; }

.art-content h2 {
  font-family: Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
  margin: 2.2rem 0 .7rem;
  color: var(--white);
}
.art-content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 1.5rem 0 .5rem;
  color: var(--light);
}
.art-content p { margin-bottom: 1.1rem; }
.art-content strong { color: var(--white); font-weight: 700; }
.art-content a { color: var(--amber); text-decoration: none; }
.art-content a:hover { text-decoration: underline; }

/* Listes — puces ambre */
.art-content ul {
  list-style: none;
  margin: .5rem 0 1.2rem;
  display: flex;
  flex-direction: column;
  gap: .45rem;
  padding: 0;
}
.art-content ul li {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .88rem;
  color: var(--light);
  line-height: 1.6;
}
.art-content ul li::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
  flex-shrink: 0;
  margin-top: .45em;
}

/* Listes ordonnées — cercles ambre numérotés (style steps) */
.art-content ol {
  list-style: none;
  counter-reset: step-counter;
  margin: .8rem 0 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 0;
}
.art-content ol li {
  display: flex;
  align-items: flex-start;
  gap: .8rem;
  font-size: .88rem;
  color: var(--light);
  line-height: 1.65;
  counter-increment: step-counter;
}
.art-content ol li::before {
  content: counter(step-counter);
  min-width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--amber);
  color: var(--navy);
  font-weight: 800;
  font-size: .8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: .1em;
}

/* Blockquote → callout ambre */
.art-content blockquote {
  background: rgba(245,166,35,.07);
  border-left: 3px solid var(--amber);
  border-radius: 0 10px 10px 0;
  padding: 1rem 1.2rem;
  margin: 1.5rem 0;
  font-style: normal;
}
.art-content blockquote p { margin: 0; font-size: .88rem; color: var(--light); }
.art-content blockquote strong { color: var(--amber); }
.art-content blockquote cite { display: none; } /* WP ajoute parfois une citation */

/* Images dans le contenu */
.art-content img {
  max-width: 100%;
  border-radius: 12px;
  margin: 1.2rem 0;
  display: block;
}

/* Code */
.art-content code {
  background: rgba(255,255,255,.08);
  padding: .15em .45em;
  border-radius: 5px;
  font-size: .85em;
  color: var(--amber);
}
.art-content pre {
  background: rgba(7,38,56,.8);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  padding: 1.2rem;
  overflow-x: auto;
  margin-bottom: 1.3rem;
}
.art-content pre code { background: none; padding: 0; color: var(--light); }

/* CTA inline (bloc Gutenberg Group avec class "cta-inline") */
.art-content .cta-inline,
.wp-block-group.cta-inline {
  background: linear-gradient(135deg, rgba(13,58,82,.7), rgba(26,77,107,.4));
  border: 1px solid rgba(245,166,35,.2);
  border-radius: 16px;
  padding: 1.8rem;
  text-align: center;
  margin: 2.5rem 0;
}
.art-content .cta-inline h3,
.wp-block-group.cta-inline h3 { font-family: Georgia, serif; font-size: 1.15rem; margin-bottom: .5rem; }
.art-content .cta-inline p,
.wp-block-group.cta-inline p  { font-size: .82rem; color: var(--muted); margin-bottom: 1.2rem; }
.art-content .cta-inline .btn-cta,
.wp-block-group.cta-inline .btn-cta {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--amber);
  color: var(--navy);
  padding: .75rem 1.6rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: .88rem;
  text-decoration: none;
  transition: all .2s;
}
.art-content .cta-inline .btn-cta:hover,
.wp-block-group.cta-inline .btn-cta:hover { background: var(--amber-light); transform: translateY(-2px); }

/* ── Footer article : tags + partage ─────────────────────────────────────── */
.art-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.07);
}

.art-tags { display: flex; gap: .5rem; flex-wrap: wrap; }

.art-tag {
  font-size: .72rem;
  font-weight: 700;
  padding: .25rem .7rem;
  border-radius: 50px;
  background: rgba(255,255,255,.06);
  color: var(--muted);
  border: 1px solid rgba(255,255,255,.08);
  text-decoration: none;
  transition: all .2s;
}
.art-tag:hover { border-color: rgba(245,166,35,.3); color: var(--amber); }

.share-btns { display: flex; gap: .6rem; }

.share-btn {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .75rem;
  font-weight: 700;
  padding: .4rem .9rem;
  border-radius: 50px;
  background: transparent;
  border: 1px solid rgba(255,255,255,.12);
  color: var(--muted);
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: all .2s;
  text-decoration: none;
}
.share-btn:hover { border-color: rgba(245,166,35,.3); color: var(--amber); }

/* ── Articles liés ───────────────────────────────────────────────────────── */
.related { margin-top: 3.5rem; }
.related h3 { font-family: Georgia, serif; font-size: 1.2rem; font-weight: 700; margin-bottom: 1.2rem; }

.related-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.rel-card {
  background: rgba(13,58,82,.4);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 12px;
  padding: 1.1rem;
  text-decoration: none;
  color: inherit;
  transition: border-color .2s;
}
.rel-card:hover { border-color: rgba(245,166,35,.3); }
.rel-cat { font-size: .65rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--amber); margin-bottom: .4rem; }
.rel-card h4 { font-size: .88rem; font-weight: 700; line-height: 1.35; color: var(--light); }

/* Light mode — article */
[data-theme="light"] .art-content { color: var(--text) !important; }
[data-theme="light"] .art-content h2,
[data-theme="light"] .art-content h3 { color: var(--text) !important; }
[data-theme="light"] .art-content strong { color: var(--text) !important; }
[data-theme="light"] .art-content ul li,
[data-theme="light"] .art-content ol li { color: var(--text) !important; }
[data-theme="light"] .art-content blockquote { background: rgba(245,166,35,.05) !important; }
[data-theme="light"] .art-content blockquote p { color: var(--text) !important; }
[data-theme="light"] .art-content code { background: rgba(7,38,56,.08) !important; }
[data-theme="light"] .rel-card { background: #ffffff !important; border-color: rgba(7,38,56,.1) !important; }
[data-theme="light"] .rel-card h4 { color: var(--text) !important; }
[data-theme="light"] .art-tag { background: #f0f4f8 !important; border-color: rgba(7,38,56,.1) !important; }
[data-theme="light"] .art-cover { background: linear-gradient(135deg, #e2eaf2, #c8d8e8) !important; }

/* Responsive — article */
@media (max-width: 600px) {
  .art-wrap { padding: 2rem 1.2rem 4rem; }
  .art-footer { flex-direction: column; align-items: flex-start; }
  .related-grid { grid-template-columns: 1fr; }
  .art-meta { gap: .7rem; }
}
