/* ==================================================
   INTRODUCTION DE LA PAGE
================================================== */

.articles-hero {
  padding: 75px 0 65px;
  background: var(--bg-alt);
}

.articles-hero .container {
  max-width: var(--max-width);
}

.articles-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 0.95rem;
  font-weight: 600;
}

.articles-hero h1 {
  margin: 0 0 18px;
  color: var(--text);
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.15;
}

.articles-hero p {
  max-width: 760px;
  margin: 0;
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.8;
}


/* ==================================================
   LISTE DES ARTICLES
================================================== */

.articles-list {
  padding: 65px 0 85px;
  background: var(--bg);
}

.articles-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.articles-section-heading h2 {
  margin: 0;
  color: var(--text);
  font-size: 1.7rem;
}

.articles-section-heading span {
  color: var(--text-muted);
  font-size: 0.9rem;
}


/* ==================================================
   GRILLE
================================================== */

.articles-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
}


/* ==================================================
   CARTE ARTICLE
================================================== */

.article-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}


/* ==================================================
   VISUEL DE L'ARTICLE
================================================== */

.article-thumb {
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 25px;
  background: var(--bg-alt);
}

.article-thumb-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  color: var(--accent);
}

.article-thumb-content i {
  font-size: 4rem;
}

.article-thumb-content span {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 3px;
}


/* ==================================================
   CONTENU DE LA CARTE
================================================== */

.article-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 25px;
}

.article-category {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 600;
}

.article-card h2 {
  margin: 0 0 14px;
  color: var(--text);
  font-size: 1.35rem;
  line-height: 1.4;
}

.article-card p {
  margin: 0 0 24px;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.75;
}


/* ==================================================
   BAS DE LA CARTE
================================================== */

.article-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.article-source {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.9rem;
}


/* ==================================================
   RESPONSIVE
================================================== */

@media (max-width: 768px) {

  .articles-hero {
    padding: 55px 0 45px;
  }

  .articles-list {
    padding: 45px 0 60px;
  }

  .articles-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .article-thumb {
    min-height: 190px;
  }

  .article-card-body {
    padding: 21px;
  }

}

@media (max-width: 480px) {

  .articles-section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .article-card h2 {
    font-size: 1.2rem;
  }

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

}