/* Pagination numérotée des listes d'annonces. Maquette : docs/maquettes/pagination-liste. Charte : site public (rouge #a51e16). */
.cn-pager { display: flex; flex-direction: column; align-items: center; gap: 12px; margin: 32px 0 24px; }
.cn-pager-range { margin: 0; font-size: 13px; color: #6b6b6b; }
.cn-pager-list { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.cn-pager a, .cn-pager .cur, .cn-pager .gap, .cn-pager .off { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 12px; border-radius: 8px; font-weight: 600; font-size: 14px; text-decoration: none; }
.cn-pager a { background: #fff; border: 1px solid #d7d0c5; color: #171717; }
.cn-pager a:hover { border-color: #a51e16; color: #a51e16; }
.cn-pager a:focus-visible { outline: 2px solid #a51e16; outline-offset: 2px; }
.cn-pager .cur { background: #a51e16; border: 1px solid #a51e16; color: #fff; }
.cn-pager .gap { min-width: 24px; padding: 0; color: #6b6b6b; font-weight: 400; }
.cn-pager .off { background: #f5f4ef; border: 1px solid #e1e1e1; color: #b5b0a6; }
/* « ‹ Précédent » / « Suivant › » : libellés en toutes lettres, même hauteur que les numéros, rouges (demande de Nicolas, 02/12/2026) */
.cn-pager li.arrow a, .cn-pager li.arrow .off { gap: 8px; padding: 0 20px; font-weight: 700; }
.cn-pager li.arrow a { border-color: #a51e16; color: #a51e16; }
.cn-pager li.arrow a:hover { background: #a51e16; color: #fff; }
.cn-pager li.arrow .ch { font-size: 24px; line-height: 1; font-weight: 400; padding-bottom: 3px; }
/* Mobile : précédent · page X sur Y · suivant (les numéros ne tiendraient pas) */
.cn-pager-compact { display: none; align-items: center; justify-content: space-between; gap: 8px; width: 100%; }
.cn-pager-compact .here { font-size: 14px; font-weight: 600; text-align: center; }
.cn-pager-compact a { border-color: #a51e16; color: #a51e16; }
@media (max-width: 820px) {
    .cn-pager-list { display: none; }
    .cn-pager-compact { display: flex; }
}
