/* ============ BLOG — styles specifiques ============ */

.dot-sep{
  width:5px; height:5px; border-radius:50%; background:var(--red);
  display:inline-block; margin:0 9px; vertical-align:middle;
}

.btn{
  display:inline-flex; align-items:center; gap:9px;
  text-decoration:none; font-weight:600; font-size:0.92rem;
  padding:14px 26px; border-radius:var(--pill);
  transition:transform 220ms ease, background 200ms ease, border-color 200ms ease;
}
.btn-outline.dark{ border:1.5px solid var(--line); color:var(--ink); }
.btn-outline.dark:hover{ border-color:var(--red); color:var(--red-dark); transform:translateY(-2px); }

/* ---------- BLOG GRID (list + related) ---------- */
.blog-grid{ display:grid; grid-template-columns:repeat(3, 1fr); gap:26px; margin-top:42px; }
.blog-card{
  display:block; text-decoration:none; color:var(--ink);
  background:var(--white); border:1px solid var(--line); border-radius:var(--soft);
  overflow:hidden; transition:transform 260ms cubic-bezier(.2,.9,.3,1.3), box-shadow 260ms ease, border-color 260ms ease;
}
.blog-card:nth-child(3n+1){ transform:rotate(-1deg); }
.blog-card:nth-child(3n+2){ transform:rotate(0.8deg); }
.blog-card:nth-child(3n+3){ transform:rotate(-0.5deg); }
.blog-card:hover{ transform:rotate(0deg) translateY(-8px); box-shadow:0 24px 44px -20px rgba(23,23,23,0.22); border-color:var(--red); }
.blog-card-media{
  height:220px; background-size:cover; background-position:center;
  background-color:#241f1c; position:relative;
}
.blog-card-media .pt-cat{
  position:absolute; left:12px; bottom:12px; font-size:0.62rem; color:#fff;
  background:rgba(0,0,0,0.4); padding:4px 12px; border-radius:var(--pill);
}
.blog-card-body{ padding:22px 20px 24px; }
.blog-card-date{ font-size:0.74rem; color:var(--muted); }
.blog-card h3{ font-size:1rem; margin:10px 0 8px; line-height:1.35; }
.blog-card-body p{ font-size:0.86rem; color:var(--muted); line-height:1.55; margin:0 0 14px; }
.blog-card-link{ display:inline-flex; align-items:center; gap:6px; font-size:0.82rem; font-weight:600; color:var(--red-dark); }
.blog-card-link svg{ width:14px; height:14px; transition:transform 200ms ease; }
.blog-card:hover .blog-card-link svg{ transform:translateX(3px); }

@media (max-width:980px){ .blog-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:640px){
  .blog-grid{ grid-template-columns:1fr; }
  .blog-card:nth-child(n){ transform:none; }
}

/* ---------- PAGINATION ---------- */
.blog-pagination{ display:flex; gap:8px; margin-top:50px; flex-wrap:wrap; }
.blog-pagination a{
  width:40px; height:40px; border-radius:50%; border:1.5px solid var(--line);
  display:flex; align-items:center; justify-content:center; text-decoration:none;
  color:var(--ink); font-size:0.88rem; font-weight:500;
  transition:border-color 200ms ease, background 200ms ease, color 200ms ease;
}
.blog-pagination a:hover{ border-color:var(--red); color:var(--red-dark); }
.blog-pagination a.active{ background:var(--red); border-color:var(--red); color:var(--white); }

/* ---------- ARTICLE PAGE ---------- */
.article-banner{ padding-bottom:40px; }
.article-banner h1{ margin-top:16px; max-width:26ch; }
.article-meta{ margin-top:16px; font-size:0.86rem; color:#C9C8C4; }

.article-cover{
  margin-top:90px; height:min(48vw, 420px); min-height:220px; border-radius:var(--soft);
  background-size:cover; background-position:center; background-color:#241f1c;
  position:relative; z-index:2;
}

.article-layout{ display:grid; grid-template-columns:1fr 280px; gap:56px; align-items:start; margin-top:20px; }
.article-side{ position:sticky; top:100px; display:flex; flex-direction:column; gap:18px; }
.article-side .cp-info-card{ margin-top:0; }
.article-side h4{ font-family:'Poppins',sans-serif; font-size:0.88rem; margin-bottom:14px; }

/* ---------- TOC ---------- */
.toc-list{ list-style:none; margin:0; padding:0; }
.toc-list li{ margin-bottom:2px; }
.toc-list a{
  display:block; text-decoration:none; color:var(--muted); font-size:0.85rem;
  padding:7px 0 7px 14px; border-left:2px solid var(--line);
  transition:color 180ms ease, border-color 180ms ease;
}
.toc-list a:hover{ color:var(--red-dark); border-color:var(--red); }

/* ---------- SHARE ---------- */
.share-row{ display:flex; gap:9px; }
.share-row a{
  width:36px; height:36px; border-radius:50%; border:1.5px solid var(--line);
  display:flex; align-items:center; justify-content:center; color:var(--muted);
  transition:transform 200ms ease, border-color 200ms ease, background 200ms ease, color 200ms ease;
}
.share-row a:hover{ background:var(--red); border-color:var(--red); color:var(--white); transform:translateY(-2px) rotate(-6deg); }
.share-row svg{ width:15px; height:15px; fill:currentColor; }
.share-row a[aria-label="Email"] svg{ fill:none; stroke:currentColor; }

/* ---------- RECENT ARTICLES ---------- */
.recent-item{
  display:flex; gap:12px; align-items:center; text-decoration:none; color:var(--ink);
  padding:10px 0; border-bottom:1px solid var(--line);
}
.recent-item:last-child{ border-bottom:none; padding-bottom:0; }
.recent-item:first-child{ padding-top:0; }
.recent-thumb{
  width:56px; height:44px; border-radius:8px; background-size:cover; background-position:center;
  background-color:#241f1c; flex:none;
}
.recent-date{ font-size:0.7rem; color:var(--muted); }
.recent-item h5{ font-family:'Poppins',sans-serif; font-size:0.82rem; font-weight:600; margin:3px 0 0; line-height:1.35; }
.recent-item:hover h5{ color:var(--red-dark); }

@media (max-width:900px){
  .article-layout{ grid-template-columns:1fr; }
  .article-side{ position:static; }
}

.article-content{ font-size:1.03rem; line-height:1.85; color:var(--ink); max-width:70ch; }
.article-content h2{ font-family:'Poppins',sans-serif; font-size:1.5rem; margin:40px 0 16px; }
.article-content h3{ font-family:'Poppins',sans-serif; font-size:1.2rem; margin:32px 0 14px; }
.article-content p{ margin:0 0 22px; }
.article-content ul, .article-content ol{ margin:0 0 22px; padding-left:22px; }
.article-content li{ margin-bottom:8px; }
.article-content a{ color:var(--red-dark); text-decoration:underline; text-underline-offset:2px; }
.article-content img{ border-radius:14px; margin:28px 0; }
.article-content blockquote{
  border-left:3px solid var(--red); margin:28px 0; padding:6px 0 6px 22px;
  font-family:'Poppins',sans-serif; font-style:italic; color:var(--ink);
}
.article-content strong{ color:var(--ink); }
