/* --- Bloc article : mise en carte --- */
.astroid-component .blog-items .blog-item {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  overflow: hidden;
  margin-bottom: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.astroid-component .blog-items .blog-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 22px rgba(0,0,0,0.12);
}

/* --- Image sur le côté gauche --- */
.astroid-component .blog-items .blog-item .item-image {
  flex: 0 0 35%;
  max-width: 35%;
}

.astroid-component .blog-items .blog-item .item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 180px;
  transition: transform 0.4s ease;
}

.astroid-component .blog-items .blog-item:hover .item-image img {
  transform: scale(1.05);
}

/* --- Contenu texte à droite --- */
.astroid-component .blog-items .blog-item .has-image {
  flex: 1;
  padding: 20px 25px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* --- Titre --- */
.astroid-component .blog-items .blog-item .article-intro-text strong {
  display: block;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #006633;
  text-transform: uppercase;
}

/* --- Texte description --- */
.astroid-component .blog-items .blog-item .article-intro-text {
  font-size: 1rem;
  line-height: 1.7;
  color: #444;
}

/* --- Responsive : image au-dessus en mobile --- */
@media (max-width: 768px) {
  .astroid-component .blog-items .blog-item {
    flex-direction: column;
  }
  .astroid-component .blog-items .blog-item .item-image {
    max-width: 100%;
    flex: none;
  }
  .astroid-component .blog-items .blog-item .has-image {
    padding: 15px;
  }
}





/* ARTCILES*/
/* --- Meta infos (catégorie, date, temps de lecture) --- */
.article-info {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 10px 0 15px 0;
  padding: 0;
  font-size: 0.9rem;
  color: #666;
}

.article-info dd {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.article-info i {
  color: #006633; /* Vert institutionnel */
  font-size: 0.95rem;
}

/* --- Catégorie --- */
.article-info .category-name a {
  font-weight: 600;
  color: #006633;
  text-decoration: none;
}
.article-info .category-name a:hover {
  text-decoration: underline;
}

/* --- Date --- */
.article-info .published time {
  font-style: italic;
  color: #444;
}

/* --- Temps de lecture --- */
.article-info .readtime span {
  background: #f3f8f4;
  color: #006633;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .article-info {
    gap: 10px;
    font-size: 0.85rem;
  }
}
