/* Grille de la page blog */
.liste-articles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    width: 80%;
    margin: auto;
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
  
  /* Carte d'article */
  .carte-article {
    border: 1px solid #ddd;
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    transition: box-shadow 0.3s ease;
    background: #fff;
    
  }
  
  .carte-article:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }
  
  .carte-article a {
    text-decoration: none;
    color: inherit;
    display: block;
  }
  
  /* Image de l'article */
  .img-article img {
    width: 100%;
    height: 180px;
    object-fit: contain; /* ou cover si tu veux remplir */
    border-radius: 8px;
    margin-bottom: 1rem;
  }
  
  /* Titre de l'article */
  .carte-article h2 {
    font-weight: bold;
    font-size: 1.2rem;
  }
  
  /* Pagination */
  .pagination {
    margin: 2rem;
    text-align: center;
  }
  
  .pagination .page-numbers {
    display: inline-block;
    margin: 0 5px;
    padding: 0.5rem 0.8rem;
    background: #f4f4f4;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
  }
  
  .pagination .current {
    background: #0ADA5F;
    color: white;
  }
  
  /* ======= Page Article (single) ======= */
  
  .article-blog {
    max-width: 800px;
    margin: auto;
   padding: 2rem;


  }
  
  .article-blog h1 {
    font-size: 2rem;
    margin: 1rem 0;
    color: #2B364A;
 text-align: center;
  }
  
  .image-article img {
    height: 150px;
    width: auto;
    border-radius: 10px;
    margin-bottom: 1rem;

    display: block;
    margin-left: auto;
    margin-right: auto; /* ➤ centre horizontalement */
  }
  
  .contenu-article {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #333;
  }
  
  .meta-article {
    font-size: 0.9rem;
    color: #666;
    margin-top: 2rem;
    border-top: 1px solid #ccc;
    padding-top: 1rem;
  }
  
  /* Contenu formaté Gutenberg */
  .contenu-article p {
    margin-bottom: 1.5em;
  }
  
  .contenu-article h2,
  .contenu-article h3 {
    margin-top: 2em;
    margin-bottom: 1em;
  }
  
  .contenu-article ul,
  .contenu-article ol {
    margin-left: 2em;
    margin-bottom: 1.5em;
  }
  
  .contenu-article li {
    margin-bottom: 0.5em;
  }

  .bouton-retour-blog a{
   color: black;
   text-decoration: none;
  }

  .bouton-retour-blog a:hover{
    color: black;
    text-decoration: underline;
   }
  