/* ====================================
   Media City Group - Article Page Styles
   Inspired by Actu Cameroun : Clean, journalistic, pro-readability
   ==================================== */

/* --- Import Google Fonts (Merriweather for headlines, Roboto for body) --- */
@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@400;700;900&family=Roboto:wght@300;400;500;700&display=swap');

/* --- Article Page Layout --- */
.article-page {
  background: #ffffff;
  color: #1a1a1a;
  font-family: 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

.article-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

/* --- Breadcrumbs (Fil d'Ariane) --- */
.breadcrumbs {
  font-size: 13px;
  color: #9ca3af;
  margin-bottom: 24px;
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
}

.breadcrumbs a {
  color: #6b7280;
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumbs a:hover {
  color: #3b82f6;
}

.breadcrumbs .separator {
  margin: 0 8px;
  color: #d1d5db;
}

.breadcrumbs .current {
  color: #6b7280;
}

/* --- Category Badge --- */
.article-category {
  margin-bottom: 20px;
}

.category-badge {
  display: inline-block;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #7c3aed;
  border: 1px solid #7c3aed;
  border-radius: 4px;
  background: transparent;
  font-family: 'Roboto', sans-serif;
}

/* --- Main Title (H1) --- */
.article-title {
  font-family: 'Merriweather', 'Georgia', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  line-height: 1.2;
  color: #0f172a;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

/* --- Lead Paragraph (Chapeau) --- */
.article-lead {
  font-size: 1.25rem;
  line-height: 1.7;
  color: #4b5563;
  margin-bottom: 24px;
  font-weight: 400;
}

/* --- Meta Data Line --- */
.article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  border-top: 1px solid #f3f4f6;
  border-bottom: 1px solid #f3f4f6;
  margin-bottom: 32px;
  font-size: 13px;
  color: #9ca3af;
  flex-wrap: wrap;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.meta-item svg {
  color: #9ca3af;
  flex-shrink: 0;
}

.meta-separator {
  color: #e5e7eb;
}

/* --- Featured Image --- */
.article-featured-image {
  width: 100%;
  margin-bottom: 32px;
  border-radius: 12px;
  overflow: hidden;
}

.article-featured-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.article-featured-image:hover img {
  transform: scale(1.02);
}

/* --- Article Body --- */
.article-body {
  font-size: 1.1rem;
  line-height: 1.9;
  color: #374151;
}

.article-body h2 {
  font-family: 'Merriweather', 'Georgia', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #1f2937;
  margin-top: 40px;
  margin-bottom: 16px;
  line-height: 1.3;
}

.article-body p {
  margin-bottom: 20px;
}

.article-body blockquote {
  border-left: 4px solid #3b82f6;
  padding: 16px 24px;
  margin: 32px 0;
  background: #f8fafc;
  border-radius: 0 8px 8px 0;
  font-family: 'Merriweather', serif;
  font-style: italic;
  color: #4b5563;
  font-size: 1.1rem;
  line-height: 1.7;
}

/* --- Article Footer --- */
.article-footer {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid #f3f4f6;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.article-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tag {
  padding: 6px 14px;
  background: #f3f4f6;
  border-radius: 100px;
  font-size: 13px;
  color: #6b7280;
  font-weight: 500;
  transition: all 0.2s;
}

.tag:hover {
  background: #e5e7eb;
  color: #374151;
}

.article-share {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: #9ca3af;
}

/* --- Header override for white background --- */
.article-page .header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid #f3f4f6;
}

.article-page .header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
}

.article-page .nav .logo-text {
  color: #0f172a;
}

.article-page .nav-menu .nav-link {
  color: #6b7280;
}

.article-page .nav-menu .nav-link:hover,
.article-page .nav-menu .nav-link.active {
  color: #0f172a;
  background: #f3f4f6;
}

/* --- Footer override for article page --- */
.article-page .footer {
  background: #f8fafc;
  border-top: 1px solid #f3f4f6;
}

.article-page .footer-brand p {
  color: #6b7280;
}

.article-page .footer-links a {
  color: #6b7280;
}

.article-page .footer-contact li {
  color: #6b7280;
}

.article-page .footer-bottom {
  border-top: 1px solid #f3f4f6;
}

.article-page .footer-bottom p {
  color: #9ca3af;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .article-container {
    padding: 24px 16px 60px;
  }

  .article-title {
    font-size: 1.6rem;
  }

  .article-lead {
    font-size: 1.1rem;
  }

  .article-body {
    font-size: 1rem;
  }

  .article-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .article-meta {
    gap: 8px;
    font-size: 12px;
  }
}
