/* ============================================================
   NEWS.CSS — страница новостей
   ============================================================ */

.news-filters {
  display: flex; flex-wrap: wrap; gap: 12px;
  justify-content: center; margin-bottom: 56px;
}
.filter-btn {
  padding: 8px 22px;
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.03);
  color: var(--muted);
  transition: all 0.2s;
  cursor: pointer;
}
.filter-btn:hover { background: rgba(255,255,255,0.08); color: #fff; }
.filter-btn.active {
  background: var(--gold); color: #000; border-color: var(--gold);
  box-shadow: 0 0 16px rgba(212,175,55,0.3);
}

/* ---- NEWS ROW (list view) ---- */
.news-row {
  display: flex; gap: 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s;
  margin-bottom: 24px;
}
.news-row:hover {
  border-color: rgba(212,175,55,0.3);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.news-row__img {
  width: 300px; flex-shrink: 0;
  overflow: hidden; background: #1a1a1a;
}
.news-row__img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s;
}
.news-row:hover .news-row__img img { transform: scale(1.05); }
.news-row__body {
  padding: 32px; display: flex;
  flex-direction: column; justify-content: center; flex: 1;
}
.news-row__meta {
  display: flex; align-items: center; gap: 16px; margin-bottom: 16px;
}
.news-row__date {
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted);
}
.news-row__title {
  font-size: clamp(20px, 3vw, 28px); font-weight: 700;
  color: #fff; margin-bottom: 12px; line-height: 1.35;
  transition: color 0.2s;
}
.news-row:hover .news-row__title { color: var(--gold); }
.news-row__excerpt {
  font-size: 14px; color: var(--muted); line-height: 1.65;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

@media (max-width: 640px) {
  .news-row { flex-direction: column; }
  .news-row__img { width: 100%; height: 200px; }
}

/* ---- NEWS DETAIL ---- */
.news-detail__header { margin-bottom: 40px; }
.news-detail__meta { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.news-detail__title {
  font-family: Georgia, serif;
  font-size: clamp(28px, 5vw, 48px); font-weight: 900;
  color: #fff; line-height: 1.2; margin-bottom: 0;
}
.news-detail__hero {
  width: 100%; max-height: 480px; object-fit: cover;
  border-radius: var(--radius-lg); margin-bottom: 40px;
  border: 1px solid var(--border);
}
.news-detail__body {
  font-size: 16px; color: rgba(255,255,255,0.82); line-height: 1.8;
}
.news-detail__body p { margin-bottom: 20px; }
.news-detail__body h2 { color: #fff; margin: 32px 0 12px; font-size: 22px; }
.news-detail__body h3 { color: var(--gold); margin: 24px 0 8px; font-size: 18px; }
.news-detail__back {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--muted); margin-bottom: 40px;
  transition: color 0.2s;
}
.news-detail__back:hover { color: #fff; }
.news-detail__back svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2.5; }
