/* ════════════════════════════════════════════════════════════════════════════
   « Actus » — la section alimentée par La Régie.

   Le billet le plus récent est déplié, les précédents sont repliés derrière un
   bouton : une page d'accueil doit annoncer la dernière version, pas obliger à
   faire défiler trois notes de mise à jour pour atteindre la suite du site.
   ════════════════════════════════════════════════════════════════════════════ */

.news-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px);
}

.news-head { text-align: center; margin-bottom: 28px; }

/* Le point pulse : c'est le seul aveu visuel que la section est branchée en
   direct plutôt que recopiée à la main dans le HTML. */
/* Le point pulse dans la ligne d'accroche plutôt qu'au-dessus du titre :
   au-dessus, il décalait le titre en tuiles et l'ancre « News » atterrissait
   derrière l'en-tête. */
.news-dot {
  display: inline-block;
  width: 8px; height: 8px; border-radius: 50%;
  margin-right: 9px; vertical-align: middle;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(212, 168, 67, .55);
  animation: newsPulse 2.4s ease-out infinite;
}
@keyframes newsPulse {
  0%   { box-shadow: 0 0 0 0 rgba(212, 168, 67, .55); }
  70%  { box-shadow: 0 0 0 10px rgba(212, 168, 67, 0); }
  100% { box-shadow: 0 0 0 0 rgba(212, 168, 67, 0); }
}

.news-lede {
  color: var(--muted);
  margin-top: 14px;
  font-size: clamp(15px, 1.6vw, 17px);
  max-width: 46ch;
  margin: 14px auto 0;
}

.news-cards { display: grid; gap: 18px; }

.news-card {
  background: linear-gradient(180deg, rgba(31, 38, 46, .92), rgba(16, 20, 25, .92));
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: clamp(18px, 3vw, 30px);
}
/* Le dernier billet porte le liseré doré : on lit d'abord ce qui vient de sortir. */
.news-card-lead { border-color: rgba(212, 168, 67, .5); }

.news-card-head {
  display: flex; align-items: center; gap: 12px;
  flex-wrap: wrap; margin-bottom: 10px;
}
.news-version {
  font: 700 12px/1 var(--body);
  letter-spacing: .08em;
  color: #17110b;
  background: linear-gradient(180deg, #e7c063, var(--gold-deep));
  border-radius: 999px;
  padding: 5px 11px;
}
.news-date {
  font: 500 13px/1 var(--body);
  color: var(--muted);
}

.news-title {
  font: 400 clamp(21px, 2.6vw, 30px)/1.2 var(--display);
  color: var(--cream);
  margin: 0 0 14px;
}

.news-body { color: var(--text); font-size: clamp(15px, 1.55vw, 16.5px); line-height: 1.62; }
.news-body > * + * { margin-top: 12px; }
.news-h {
  font: 600 13px/1.3 var(--body);
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold);
  margin-top: 22px;
}
.news-body strong { color: var(--cream); font-weight: 700; }
.news-list { margin: 10px 0 0; padding-left: 20px; }
.news-list li { margin-top: 6px; }
.news-list li::marker { color: var(--gold); }

/* Replié = une hauteur fixe et un fondu en bas, pour que la coupe se lise
   comme « il y a la suite » et non comme un texte tronqué par accident. */
.news-collapsed {
  max-height: 132px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
}

.news-more {
  margin-top: 14px;
  font: 600 13px/1 var(--body);
  letter-spacing: .04em;
  color: var(--gold);
  background: transparent;
  border: 1px solid rgba(212, 168, 67, .45);
  border-radius: 999px;
  padding: 9px 16px;
  cursor: pointer;
  transition: background .18s ease, color .18s ease;
}
.news-more:hover { background: rgba(212, 168, 67, .14); }
.news-more:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* Eleana signe chaque billet — même visage, même cercle que sur Discord et
   en jeu, à gauche de l'en-tête comme l'auteure du message. */
.news-author { display: inline-flex; align-items: center; gap: 10px; margin-right: 6px; }
.news-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(212, 168, 67, .6);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .4);
}
.news-author-name {
  font: 600 13px/1 var(--body);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
}

@media (prefers-reduced-motion: reduce) {
  .news-dot { animation: none; }
}
