/* ── Article page ── */
.article-wrap {
  max-width: 780px;
  margin: 0 auto;
  padding: 120px 24px 80px;
}

.article-back a {
  color: var(--accent);
  font-size: .9rem;
  text-decoration: none;
  opacity: .8;
  transition: opacity .2s;
}
.article-back a:hover { opacity: 1; }

.article { margin-top: 32px; }

/* Header */
.article-header { margin-bottom: 32px; }

.article-cat {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.article-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 16px;
}

.article-meta {
  display: flex;
  gap: 16px;
  font-size: .85rem;
  color: rgba(255,255,255,.45);
}

/* Cover */
.article-cover {
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 40px;
}
.article-cover img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

/* Contenu */
.article-content {
  font-size: 1.05rem;
  line-height: 1.85;
  color: rgba(255,255,255,.8);
}
.article-content h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
  margin: 40px 0 16px;
}
.article-content h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
  margin: 32px 0 12px;
}
.article-content p { margin-bottom: 20px; }
.article-content a {
  color: var(--accent);
  text-decoration: underline;
}
.article-content ul, .article-content ol {
  padding-left: 24px;
  margin-bottom: 20px;
}
.article-content li { margin-bottom: 8px; }
.article-content blockquote {
  border-left: 3px solid var(--accent);
  padding: 12px 20px;
  margin: 24px 0;
  background: rgba(99,102,241,.08);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: rgba(255,255,255,.7);
}
.article-content strong { color: #fff; font-weight: 600; }

/* ── Sources ── */
.article-sources {
  margin-top: 56px;
  padding: 28px 32px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
}

.sources-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255,255,255,.9);
  margin-bottom: 20px;
}
.sources-title svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
}

.sources-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sources-list li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.source-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(99,102,241,.15);
  border: 1px solid rgba(99,102,241,.3);
  color: var(--accent);
  font-size: .75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.source-link {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.65);
  font-size: .9rem;
  text-decoration: none;
  transition: color .2s;
}
.source-link:hover { color: var(--accent); }
.source-link svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  opacity: .6;
}

/* Footer article */
.article-footer {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Loading / Error */
.article-loading,
.article-error {
  text-align: center;
  padding: 80px 24px;
  color: rgba(255,255,255,.45);
  font-size: 1rem;
}
.article-error a {
  color: var(--accent);
  text-decoration: none;
  display: block;
  margin-top: 16px;
}

/* Blog loading / empty */
.blog-loading,
.blog-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 24px;
  color: rgba(255,255,255,.35);
}

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 48px;
}
.pag-btn {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  color: #fff;
  padding: 10px 20px;
  border-radius: 100px;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  font-size: .9rem;
  transition: background .2s;
}
.pag-btn:hover { background: rgba(99,102,241,.2); }
.pag-info {
  color: rgba(255,255,255,.4);
  font-size: .85rem;
}

/* Newsletter msg */
.newsletter-msg {
  font-size: .85rem;
  margin-top: 10px;
  text-align: center;
}
.newsletter-msg.success { color: #4ade80; }
.newsletter-msg.error   { color: #f87171; }

@media (max-width: 600px) {
  .article-cover img { height: 220px; }
  .article-footer { flex-direction: column; }
  .article-sources { padding: 20px; }
}
