/* Page template: Liste articles (AV) */

.av-blog-archive{
    display:block;
    margin: 24px auto;
    max-width: 1100px;
    padding: 0 16px;
  }
  
  /* --- Vedette --- */
  /* Objectif: image ≈ 240px de large (≈2x des vignettes 120px), centrée au-dessus du titre */
  .av-featured{
    margin-bottom: 24px;
  }
  .av-featured-card{
    background:#f8fafc;
    border:1px solid #e5e7eb;
    border-radius:16px;
    overflow:hidden;
    transition: box-shadow .2s ease, transform .2s ease;
  }
  .av-featured__link{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap: 14px;
    text-decoration:none;
    color:inherit;
    padding: 16px;
  }
  .av-featured__link:hover{
    box-shadow:0 8px 28px rgba(0,0,0,.06);
    transform: translateY(-1px);
  }
  .av-featured__media{
    width:100%;
    display:flex;
    justify-content:center;
  }
  .av-featured__media img{
    display:block;
    width:100%;
    height:auto;
    max-width: 240px;       /* ≈ 2x les 120px des cartes */
    border-radius: 12px;
  }
  .av-featured__placeholder{
    display:block;
    width: 240px;
    aspect-ratio:1/1;
    background:#eef2f7;
    border-radius:12px;
  }
  .av-featured__title{
    font-size: clamp(1.25rem, 1.1rem + 1.2vw, 1.6rem);
    line-height:1.25;
    font-weight:800;
    text-align:center;
    color:#111827;
  }
  
  /* --- Bloc “3 suivants” : réutilise .av-recent / .av-card / etc. du shortcode --- */
  .av-next-three{ margin-bottom: 24px; }
  
  /* --- Liste paginée (rang 5 et +) --- */
  /* Ligne cliquable : imagette à gauche (= même taille que av-thumb ~120px), titre à droite, centré verticalement */
  .av-list{ margin-top: 8px; }
  .av-list__ul{
    list-style:none;
    margin:0; padding:0;
    border-top:1px solid #e5e7eb;
  }
  .av-list__item{
    margin:0; padding:0;
    border-bottom:1px solid #e5e7eb;
  }
  .av-listcard__link{
    display:grid;
    grid-template-columns: 120px 1fr;   /* image / texte */
    align-items:center;                 /* centre verticalement le titre */
    gap: 14px;
    padding: 12px 0;
    text-decoration:none;
    color:#111827;
  }
  .av-listcard__link:hover{
    background:#f9fafb;
  }
  .av-listcard__media{
    width:120px; height:120px;
    border-radius:10px;
    overflow:hidden;
    display:flex;
    align-items:center;
    justify-content:center;
  }
  .av-listcard__media img{
    width:100%; height:auto; display:block;
  }
  .av-listcard__title{
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.35;
    margin:0;
  }
  
  /* Message vide */
  .av-list__empty{
    text-align:center;
    color:#6b7280;
    padding: 12px 0;
  }
  
  /* --- Pagination --- */
  .av-pagination{
    display:flex;
    justify-content:center;
    margin-top:16px;
  }
  .av-pagination .page-numbers{
    display:inline-block;
    padding:.4rem .6rem;
    margin: 0 4px;
    border:1px solid #e5e7eb;
    border-radius:8px;
    text-decoration:none;
    color:#111827;
  }
  .av-pagination .page-numbers.current{
    background:#111827;
    color:#fff;
    border-color:#111827;
  }
  .av-pagination .page-numbers:hover{
    background:#f3f4f6;
  }
  
  /* Responsive petits écrans : on garde la lecture confortable */
  @media (max-width: 480px){
    .av-listcard__link{
      grid-template-columns: 96px 1fr;
      gap: 12px;
    }
    .av-listcard__media{
      width:96px; height:96px;
    }
  }
  