/* ===========================
   1. Filtre (boutons)
   =========================== */
.filter-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 40px 0 20px;
}
.filter-buttons .btn {
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  background-color: #2c2c2c;
  color: #ccc;
  transition: background 0.2s, color 0.2s;
}
.filter-buttons .btn:hover {
  background-color: #EC9600;
  color: #fff;
}
.filter-buttons .btn.active {
  background-color: #E53C00;
  color: #fff;
}

/* ===========================
   2. Grille d’articles
   =========================== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* ← toujours 2 colonnes */
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}
.news-card {
  background-color: #2c2c2c;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, box-shadow 0.2s;
}
.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}
.news-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.news-content {
  padding: 20px;
}
.news-content h2 {
  font-size: 22px;
  margin-bottom: 10px;
}
.news-content .date {
  font-size: 14px;
  color: #aaa;
  margin-bottom: 10px;
}
.news-content p {
  font-size: 16px;
  color: #ccc;
}

/* ===========================
   3. Styles des articles
   =========================== */
.article-section {
  max-width: 800px;
  margin: 80px auto;
  padding: 20px;
  background-color: #1e1e1e;
  color: white;
}
.article-section h1 {
  font-size: 36px;
  margin-bottom: 10px;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #aaa;
  margin-bottom: 30px;
}
.article-meta .author { font-weight: bold; color: #ccc; }
.article-meta .date::before {
  content: "•";
  margin: 0 6px;
  color: #666;
}
.article-banner {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 30px;
}
.article-content h2 {
  margin-top: 30px;
  font-size: 24px;
  color: #EC9600;
}
.article-content p {
  margin-bottom: 20px;
  font-size: 18px;
  line-height: 1.7;
}

.empty-message {
  text-align: center;
  font-size: 18px;
  color: #aaa;
  margin: 60px 0;
}

.pn-category img {
    width: 20px;
    height: auto;
}