/* Liste d'articles (blog, archives) — maquette blog.html */
/* fil d'Ariane */
.crumbs{font-size:13.5px;color:var(--muted);display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.crumbs a:hover{color:var(--violet);text-decoration:underline}
.crumbs span[aria-current]{color:var(--ink)}
/* méta auteur */
.by{display:flex;align-items:center;gap:10px;font-size:13.5px;color:var(--muted);flex-wrap:wrap}
.by img{width:32px;height:32px;border-radius:50%;object-fit:cover}
.by b{color:var(--ink);font-weight:600}
.by .dot{width:3px;height:3px;border-radius:50%;background:var(--muted)}
.tag{font-size:12.5px;font-weight:600;color:var(--gold);letter-spacing:.02em}
/* cartes article */
.post{border:1px solid var(--line);border-radius:var(--r);overflow:hidden;background:#fff;display:flex;flex-direction:column;transition:box-shadow .2s,transform .2s}
.post:hover{box-shadow:0 10px 26px rgba(60,20,70,.1);transform:translateY(-2px)}
.post .im{aspect-ratio:16/9;overflow:hidden;background:var(--lav)}
.post .im img{width:100%;height:100%;object-fit:cover;transition:transform .4s}
.post:hover .im img{transform:scale(1.03)}
.post .bd{padding:16px 18px 18px;display:flex;flex-direction:column;gap:8px;flex:1}
.post h3{font-size:17.5px;line-height:1.3}
.post p{font-size:14.5px;color:var(--muted);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.post .by{margin-top:auto;padding-top:6px;font-size:13px}
.post .by img{width:26px;height:26px}
/* en-tête du blog */
.bhead{background:linear-gradient(90deg,#fdf9fd 0%,#f7f0f8 45%,#f3eaf4 100%);border-bottom:1px solid var(--line)}
.bhead .wrap{display:grid;grid-template-columns:1.3fr 1fr;gap:40px;align-items:end;padding-top:28px;padding-bottom:40px}
.bhead .crumbs{grid-column:1/-1;margin-bottom:10px}
.bhead h1{font-size:50px;margin-bottom:14px}
.bhead h1 b{color:var(--violet);font-weight:700}
.bhead p{font-size:18px;max-width:560px}
.bhead .count{justify-self:end;display:flex;gap:28px;color:var(--muted);font-size:14px}
.bhead .count b{display:block;font:500 34px/1 Lora,serif;color:var(--violet);margin-bottom:4px}

/* filtres */
.filters{display:flex;gap:8px;flex-wrap:wrap;margin:36px 0 30px}
.filters button{font:600 14px Figtree;padding:10px 18px;min-height:44px;border-radius:99px;border:1.5px solid var(--line);background:#fff;color:var(--ink);cursor:pointer;transition:border-color .2s,background .2s}
.filters button:hover{border-color:var(--violet)}
.filters button[aria-pressed=true]{background:var(--violet);border-color:var(--violet);color:#fff}
.filters button small{font-weight:500;opacity:.7;margin-left:4px}

/* à la une */
.feat{display:grid;grid-template-columns:1.25fr 1fr;border-radius:16px;overflow:hidden;background:linear-gradient(90deg,#efe6ef,#f8f3f8);transition:box-shadow .2s}
.feat:hover{box-shadow:0 14px 34px rgba(60,20,70,.13)}
.feat .im{position:relative;min-height:380px;overflow:hidden}
.feat .im img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .5s}
.feat:hover .im img{transform:scale(1.03)}
.feat .flag{position:absolute;top:16px;left:16px;background:var(--gold);color:#fff;font-size:12.5px;font-weight:700;padding:5px 12px;border-radius:99px;letter-spacing:.03em}
.feat .tx{padding:40px 46px;display:flex;flex-direction:column;justify-content:center;gap:14px}
.feat h2{font-size:34px}
.feat p{font-size:16.5px}
.feat .btn{align-self:flex-start;margin-top:6px}

/* grille */
.posts{display:grid;grid-template-columns:repeat(3,1fr);gap:24px 20px;margin-top:28px}
.empty{display:none;text-align:center;color:var(--muted);padding:40px 0}
.empty.on{display:block}

/* pagination */
.pager{display:flex;justify-content:center;align-items:center;gap:6px;margin-top:44px}
.pager a,.pager span{min-width:44px;height:44px;display:grid;place-items:center;border-radius:8px;font-weight:600;color:var(--ink);border:1.5px solid var(--line);padding:0 10px}
.pager a:hover{border-color:var(--violet);color:var(--violet)}
.pager [aria-current]{background:var(--violet);border-color:var(--violet);color:#fff}
.pager span.gap{border:0;min-width:24px;padding:0}
.pager .nav svg{width:18px;height:18px}
.pager .nav[aria-disabled]{opacity:.35;pointer-events:none}
.pager-info{text-align:center;color:var(--muted);font-size:13.5px;margin-top:12px}

@media (max-width:1080px){
  .bhead .wrap{grid-template-columns:1fr;gap:20px}
  .bhead .count{justify-self:start}
  .feat{grid-template-columns:1fr}
  .feat .im{min-height:0;aspect-ratio:16/9}
  .posts{grid-template-columns:1fr 1fr}
}
@media (max-width:620px){
  .bhead .wrap{padding-top:18px;padding-bottom:28px;gap:16px}
  .bhead h1{font-size:36px;margin-bottom:10px}
  .bhead p{font-size:16px}
  .bhead .count{gap:22px;font-size:13px}.bhead .count b{font-size:26px}
  .filters{flex-wrap:nowrap;overflow-x:auto;margin:22px -16px 22px;padding:0 16px;scrollbar-width:none;scroll-padding:0 16px}
  .filters::-webkit-scrollbar{display:none}
  .filters button{flex:none}
  .feat{border-radius:var(--r)}
  .feat .tx{padding:20px 18px 22px;gap:10px}
  .feat h2{font-size:24px}
  .feat p{font-size:15px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
  .feat .btn{align-self:stretch;justify-content:center;min-height:48px}
  .feat .hide-m{display:none}
  .posts{grid-template-columns:1fr;gap:12px;margin-top:16px}
  .post{flex-direction:row;align-items:stretch}
  .post .im{aspect-ratio:auto;width:112px;flex:none}
  .post .bd{padding:12px 14px;gap:5px}
  .post h3{font-size:15.5px}
  .post p{display:none}
  .post .by{padding-top:2px;font-size:12.5px;gap:7px}
  .post .by img{display:none}
  .pager{gap:4px;margin-top:32px}
  .pager a,.pager span{min-width:44px;padding:0 6px}
  .pager .hide-m{display:none}
}
/* compléments thème */
.crumbs span[aria-hidden]{color:var(--muted)}
.empty a{color:var(--violet);font-weight:600}
.pager span.nav{min-width:44px;height:44px;display:grid;place-items:center;border-radius:8px;border:1.5px solid var(--line);opacity:.35}
.post .by img,.feat .by img{border-radius:50%;object-fit:cover}
.news .news-msg{flex-basis:100%;font-size:13px;opacity:.9}
.news .rsm-news-todo{flex-wrap:wrap}
.news button svg.i{width:18px;height:18px}
