/* ============================================================
   ACTUALITES - page liste « toutes les publications »
   (fond sombre, recherche, filtres par catégorie, mise en avant)
   Chargé uniquement sur actualites/index.html.
   ============================================================ */

/* Le fond sombre et le conteneur viennent de .page-dark / .page-inner
   (components.css) - ici, uniquement ce qui est propre aux actualités. */

.news-page{min-height:100vh;}

.news-page h1{
  font-family:var(--serif);font-weight:400;
  font-size:clamp(2.4rem, 5vw, 4rem);line-height:1.1;
  color:var(--teal-light);
  margin-bottom:2.8rem;
}

/* ---------- Barre de recherche ---------- */
.np-search{
  display:flex;align-items:center;gap:1.2rem;
  padding-bottom:1.1rem;margin-bottom:2rem;
  border-bottom:1px solid rgba(255,255,255,.3);
}
.np-search input{
  flex:1;background:none;border:none;
  color:#fff;font-family:var(--display);font-weight:300;font-size:1.3rem;
}
.np-search input::placeholder{color:rgba(255,255,255,.5);}
.np-search input:focus{outline:none;}
.np-search svg{width:22px;height:22px;flex-shrink:0;color:rgba(255,255,255,.75);}

/* ---------- Mise en page 2 colonnes ---------- */
.np-layout{display:grid;grid-template-columns:230px 1fr;gap:4rem;align-items:start;}

/* ---------- Colonne filtres ---------- */
.np-sidebar{position:sticky;top:8.5rem;}
.np-sidebar-label{
  font-size:.9rem;font-weight:400;color:rgba(255,255,255,.85);
  margin-bottom:1.4rem;font-family:var(--display);
}
.np-filters{display:flex;flex-wrap:wrap;gap:.7rem;}
.np-filter-chip{
  font-family:var(--blair);
  font-size:.72rem;letter-spacing:.13em;text-transform:uppercase;font-weight:300;
  color:#fff;background:none;
  border:1px solid rgba(255,255,255,.3);
  padding:.55rem .9rem;cursor:pointer;
  transition:border-color .25s, background .25s, color .25s;
}
.np-filter-chip:hover{border-color:#fff;}
.np-filter-chip.active{
  background:var(--teal-light);border-color:var(--teal-light);color:#20283a;
}

/* Newsletter en bas de colonne */
.np-newsletter{
  margin-top:3rem;
  border:1px solid rgba(255,255,255,.22);
  padding:1.6rem 1.5rem;
  clip-path:polygon(22px 0, 100% 0, 100% 100%, 0 100%, 0 22px);
}
.np-newsletter p{font-size:.92rem;font-weight:400;margin-bottom:1rem;}
.np-newsletter .view-all{margin-top:0;color:#fff;font-size:.72rem;}
.np-newsletter .view-all .tri{border-top-color:var(--teal-light);}

/* ---------- Mise en avant (carte + encart) ---------- */
.np-featured{
  display:grid;grid-template-columns:1.15fr 1fr;
  margin-bottom:1rem;
}
.np-featured .featured-card{height:100%;}
.np-mustread{
  background:var(--sand);color:var(--ink-soft);
  padding:3rem 2.6rem;
  display:flex;flex-direction:column;
  clip-path:polygon(0 0, 100% 0, 100% 100%, 30px 100%, 0 calc(100% - 30px));
  font-family:var(--display);
}
.np-mustread h2{
  font-family:var(--serif);font-weight:500;font-size:2rem;line-height:1.1;
  color:var(--ink-soft);margin-bottom:1.2rem;
}
.np-mustread .sub{
  font-size:.74rem;letter-spacing:.14em;text-transform:uppercase;font-family:var(--blair);font-weight:300;
  color:var(--ink-mid);max-width:24ch;
}
.np-mustread .view-all{margin-top:auto;color:var(--ink-soft);}

/* ---------- Liste des publications ---------- */
.np-list{margin-top:1rem;}
.np-item{
  display:block;padding:2.4rem 0;
  border-bottom:1px solid rgba(255,255,255,.14);
}
.np-item > *{transition:transform .35s var(--ease-out);}
.np-item:hover > *{transform:translateX(6px);}
.np-item-top{
  display:flex;justify-content:space-between;align-items:center;
  gap:1rem;margin-bottom:1.1rem;
}
.np-item-top .date{color:rgba(255,255,255,.6);}
.np-item h3{
  font-size:1.35rem;font-weight:400;line-height:1.4;
  color:#fff;margin-bottom:.6rem;max-width:70ch;
  transition:color .25s, transform .35s var(--ease-out);
}
.np-item:hover h3{color:var(--teal-light);}
.np-item p{
  font-size:.9rem;font-weight:300;line-height:1.7;
  color:rgba(255,255,255,.6);max-width:92ch;
}
.np-item[hidden]{display:none;}

.np-empty{
  padding:3rem 0;color:rgba(255,255,255,.6);font-size:.95rem;
}
.np-empty[hidden]{display:none;}

/* ---------- Responsive ---------- */
@media (max-width:900px){
  .np-search input{font-size:1.05rem;}
  .np-layout{grid-template-columns:1fr;gap:2.5rem;}
  .np-sidebar{position:static;}
  .np-featured{grid-template-columns:1fr;}
  .np-newsletter{max-width:340px;}
}
