/* ====================================================
   PAGE TOUS LES ARTICLES
==================================================== */

.all-articles {
  margin: 2rem 0;
}

.all-articles__title {
  font-size: clamp(1.5rem, 1.2rem + 1.5vw, 2.6rem);
  color: #004080;
  margin: 0 0 0.5rem;
}

.all-articles__intro {
  color: #555;
  font-size: clamp(0.9rem, 0.8rem + 0.3vw, 1.05rem);
  margin: 0 0 2rem;
}

.all-articles__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 830px) {
  .all-articles__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .all-articles__grid {
    grid-template-columns: 1fr;
  }
}

.all-articles__empty {
  color: #666;
  font-style: italic;
}

/* ── Carte article ── */
.art-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border-radius: 0.625rem;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, .08);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .04);
  transition: box-shadow .2s ease, transform .2s ease;
}

.art-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
  transform: translateY(-3px);
}

.art-card__img {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #004080;
  background-size: cover;
  background-position: center;
}

.art-card__body {
  flex: 1;
  padding: 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.art-card__title {
  font-size: clamp(0.95rem, 0.85rem + 0.4vw, 1.15rem);
  font-weight: 800;
  color: #004080;
  line-height: 1.25;
  margin: 0;
}

.art-card__excerpt {
  font-size: 0.9rem;
  color: #444;
  line-height: 1.4;
  margin: 0;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.art-card__read {
  font-size: 0.85rem;
  font-weight: 700;
  color: #e86a1a;
  margin-top: 0.5rem;
}
