/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Oct 05 2025 | 16:30:35 */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
	  margin: 0 auto;
  padding: 28px 16px;
  box-sizing: border-box;
}

@media (max-width: 1000px) { .news-grid { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 720px)  { .news-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 420px)  { .news-grid { grid-template-columns: 1fr; } }

.news-card {
  position: relative;
	background: #fff;
  overflow: hidden;
	  box-shadow: 0 6px 18px rgba(12,12,12,0.04);
  opacity: 1;               /* Pour l’animation si tu utilises reveal */
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.news-card.revealed {
  opacity: 1;
  transform: translateY(0);
}

.news-image {
  width: 100%;
  padding-top: 100%; /* carré */
  background-size: cover;
  background-position: center;
}

.news-meta {
  margin-top: 10px;
  text-align: center;
}

.news-title {
  font-size: 1.1em;
  font-weight: bold;
  margin: 0.5em 0;
}

.news-excerpt {
  font-size: 0.9em;
  color: #666;
}
.news-date {
  font-size: 1.3rem;
  color: #666;
  margin: 12px 0;
}
.load-more-btn {
    transition: background 0.3s;
}
.load-more-btn:hover {
    background: #cccccc !important;
}
/* Responsive : 1 colonne sur mobile */
@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
    .load-more-btn {
        width: 100%;
        max-width: 200px;
    }
}