/* ============================================================
   News page (/actualites)
   ============================================================ */

.news-page { background: #000; min-height: 70vh; }

/* ── Hero ─────────────────────────────────────────────────── */
.news-hero {
  position: relative;
  padding: 120px 0 56px;
  background:
    radial-gradient(800px 400px at 50% 0%, rgba(201,147,58,0.08), transparent 60%),
    #000;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.news-hero .container { text-align: center; }
.news-hero .section-label { display: inline-block; }
.news-page-title {
  font-size: clamp(32px, 4.4vw, 56px);
  margin: 0 0 16px;
}
.news-page-desc {
  margin: 0 auto;
  max-width: 600px;
}

/* Filter tabs */
.news-filters {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 32px;
  padding: 6px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
}
.news-filter {
  padding: 8px 18px;
  border-radius: 8px;
  background: transparent;
  border: 1px solid transparent;
  color: rgba(241,243,246,0.62);
  font-family: 'Inter', sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.15s;
}
.news-filter:hover { color: #fff; background: rgba(255,255,255,0.04); }
.news-filter.is-active {
  background: rgba(201,147,58,0.12);
  border-color: rgba(201,147,58,0.35);
  color: var(--gold-lt);
}

/* ── List ─────────────────────────────────────────────────── */
.news-list {
  padding: 56px 0 90px;
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 22px;
}

/* ── Card ─────────────────────────────────────────────────── */
.news-card {
  display: flex;
  flex-direction: column;
  background: rgba(13, 16, 22, 0.85);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.news-card:hover {
  transform: translateY(-3px);
  border-color: rgba(245,216,133,0.25);
  box-shadow: 0 18px 36px rgba(0,0,0,0.45);
}

.news-card-img {
  position: relative;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(245,216,133,0.78);
}
.news-card-img svg { width: 48px; height: 48px; }
.news-card-img--patch  { background: linear-gradient(135deg, rgba(201,147,58,0.22), rgba(201,147,58,0.04)); }
.news-card-img--event  { background: linear-gradient(135deg, rgba(160,80,80,0.22), rgba(160,80,80,0.04)); color: rgba(245,160,160,0.85); }
.news-card-img--server { background: linear-gradient(135deg, rgba(110,168,212,0.18), rgba(110,168,212,0.04)); color: rgba(176,210,236,0.85); }

.news-card-img::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.10), transparent);
}

.news-card-body {
  padding: 22px 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.news-tag {
  display: inline-block;
  align-self: flex-start;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  background: rgba(201,147,58,0.10);
  border: 1px solid rgba(201,147,58,0.30);
  color: var(--gold-lt);
}
.news-tag--event {
  background: rgba(232,108,108,0.08);
  border-color: rgba(232,108,108,0.25);
  color: rgba(245,160,160,0.92);
}
.news-tag--server {
  background: rgba(110,168,212,0.08);
  border-color: rgba(110,168,212,0.25);
  color: rgba(176,210,236,0.92);
}
.news-title {
  font-family: 'Cinzel', 'Playfair Display', 'Inter', serif;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin: 0;
  line-height: 1.35;
}
.news-excerpt {
  font-size: 13.5px;
  color: rgba(241,243,246,0.62);
  line-height: 1.6;
  margin: 0;
  flex: 1;
}
.news-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.news-date {
  font-size: 11.5px;
  color: rgba(241,243,246,0.45);
  letter-spacing: 0.02em;
}
.news-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-lt);
  transition: gap 0.15s;
}
.news-link:hover { gap: 7px; }

/* Empty state */
.news-empty-soon {
  text-align: center;
  margin: 56px auto 0;
  font-size: 13px;
  color: rgba(241,243,246,0.40);
  font-style: italic;
}

/* Responsive */
@media (max-width: 600px) {
  .news-hero { padding: 96px 0 40px; }
  .news-list { padding: 40px 0 64px; }
  .news-filters { gap: 4px; padding: 4px; }
  /* Bump filter pills to ~38px high for easier tapping */
  .news-filter { padding: 10px 14px; font-size: 12px; min-height: 38px; }
  .news-grid { gap: 16px; }
  /* Slightly bigger tag badges on mobile (10 -> 11px is more readable) */
  .news-tag { font-size: 11px; }
}
