/* =============================================================================
   actualites-2026.css — Cartes d'actualités (voir templates/page-actualites-2026.php)
   Fichier partagé : chargé sur la page publique ET dans l'admin (pour l'aperçu).
   ============================================================================= */

.actu-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
  margin-top: 8px;
}
.actu-card {
  background: #fff;
  border: 1px solid var(--dp-border, #e2e5ea);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}
.actu-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}
.actu-card-img {
  display: block;
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #eee;
  border: none;
  padding: 0;
  margin: 0;
  cursor: zoom-in;
  position: relative;
}
.actu-card-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.25s ease;
}
.actu-card-img:hover img { transform: scale(1.04); }
.actu-card-img::after {
  content: '🔍';
  position: absolute; top: 10px; right: 10px;
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.5); border-radius: 50%;
  font-size: 13px; color: #fff;
  opacity: 0; transition: opacity 0.2s ease;
}
.actu-card-img:hover::after { opacity: 1; }
.actu-card-img-count {
  position: absolute; bottom: 10px; right: 10px;
  background: rgba(0,0,0,0.65); color: #fff;
  font-size: 12px; font-weight: 700;
  padding: 3px 9px; border-radius: 12px;
}
.actu-card-body { padding: 18px 20px 20px; flex: 1; display: flex; flex-direction: column; }
.actu-card-date {
  font-size: 11.5px; text-transform: uppercase; letter-spacing: 1px;
  color: #0078d4; font-weight: 700; margin-bottom: 6px;
}
.actu-card-title { font-size: 17px; font-weight: 700; margin: 0 0 10px; line-height: 1.3; }
.actu-card-text { font-size: 14px; color: #444; line-height: 1.55; flex: 1; margin: 0 0 12px; }
.actu-card-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: auto; }
.actu-card-link { font-size: 13.5px; font-weight: 600; color: #0078d4; text-decoration: none; }
.actu-card-link:hover { text-decoration: underline; }
.actu-card-pdf {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 13px; font-weight: 600; color: #d83b01;
  text-decoration: none; padding: 5px 10px;
  background: rgba(216,59,1,0.08); border-radius: 5px;
}
.actu-card-pdf:hover { background: rgba(216,59,1,0.15); }
