/* ===== BLOG LIST ===== */
.blog-wrap {
  max-width: 1200px;
  margin: 0 auto;
}

.blog-title {
  color: #00bfff;
  text-align: center;
  margin-bottom: 20px;
}

.blog-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 20px 0 30px;
}

.blog-filters .btn {
  background: rgba(0,191,255,0.1);
  color: #00bfff;
  padding: 8px 14px;
  border-radius: 12px;
  transition: .3s;
}
.blog-filters .btn:hover,
.blog-filters .btn.active {
  background: rgba(0,191,255,0.35);
  box-shadow: 0 0 15px rgba(0,191,255,0.5);
  color: #fff;
}

.blog-empty {
  text-align: center;
  opacity: .9;
}

/* Cards grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 20px;
}

.post-card {
  background: rgba(255,255,255,0.05);
  border-radius: 16px;
  padding: 14px;
  backdrop-filter: blur(12px);
  box-shadow: 0 0 20px rgba(0,191,255,0.2);
  transition: transform .25s, box-shadow .25s;
}
.post-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0,191,255,0.45);
}

.post-thumb {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  margin-bottom: 10px;
}

.post-title {
  display: inline-block;
  font-size: 1.15rem;
  color: #00bfff;
  margin: 4px 0 6px;
  transition: .25s;
}
.post-title:hover { color: #fff; text-shadow: 0 0 10px #00bfff; }

.post-meta {
  font-size: .9rem;
  opacity: .9;
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 10px;
}
.post-cat {
  background: rgba(0,191,255,0.14);
  padding: 2px 8px;
  border-radius: 999px;
  color: #00e1ff;
  font-size: .82rem;
}

.post-excerpt {
  opacity: .95;
  margin-bottom: 12px;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}
.pagination .btn {
  background: rgba(0,191,255,0.1);
  color: #00bfff;
  padding: 8px 14px;
  border-radius: 10px;
  transition: .25s;
}
.pagination .btn:hover,
.pagination .btn.active {
  background: rgba(0,191,255,0.35);
  color: #fff;
  box-shadow: 0 0 15px rgba(0,191,255,0.5);
}

/* ===== ARTICLE ===== */
.article-wrap {
  max-width: 900px;
  margin: 0 auto;
}

.article-title {
  color: #00bfff;
  text-align: center;
  margin-bottom: 8px;
}

.article-meta {
  text-align: center;
  opacity: .92;
  margin-bottom: 12px;
}
.article-cat {
  color: #00e1ff;
}

.article-cover {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 15px;
  margin: 10px 0 20px;
}

/* Contenu riche depuis Trumbowyg */
.article-content {
  line-height: 1.8;
}
.article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}
.article-content table {
  width: 100%;
  border-collapse: collapse;
}
.article-content table, 
.article-content th, 
.article-content td {
  border: 1px solid rgba(255,255,255,0.15);
}
.article-content th, 
.article-content td {
  padding: 8px;
}

.article-sep {
  border: 0;
  border-top: 1px solid rgba(255,255,255,0.15);
  margin: 24px 0;
}
.recent-title {
  color: #00bfff;
  margin-bottom: 8px;
}
.recent-list {
  margin-left: 18px;
}
.recent-list a {
  color: #00bfff;
  transition: .25s;
}
.recent-list a:hover { color: #fff; text-shadow: 0 0 10px #00bfff; }

/* ===== Responsive (si tu veux l’activer plus tard)
@media (max-width: 1024px) {
  .blog-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 680px) {
  .blog-grid { grid-template-columns: 1fr; }
}
===== */
