.news-page {
  margin-top: 30px;
}

.news-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.news-header h1 {
  margin: 0;
  font-size: clamp(26px, 4vw, 42px);
}

.all-news {
  color: #93c5fd;
  font-weight: 700;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 16px;
}

.news-card {
  border-radius: 16px;
  border: 1px solid #2458ae;
  padding: 12px;
  background: linear-gradient(165deg, #0a1f44, #113367);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.news-card:hover {
  transform: translateY(-4px);
  border-color: #4a90f5;
  box-shadow: 0 14px 24px rgba(6, 22, 44, 0.5);
}

.news-image {
  height: 180px;
  border-radius: 12px;
  background:
    radial-gradient(circle at 80% 20%, rgba(147, 197, 253, 0.45), transparent 40%),
    linear-gradient(145deg, #123a80, #0a1d3f);
  transition: filter 0.22s ease, transform 0.22s ease;
}

.news-image.alt {
  background:
    radial-gradient(circle at 15% 25%, rgba(96, 165, 250, 0.45), transparent 35%),
    linear-gradient(145deg, #0f356f, #081529);
}

.news-card:hover .news-image {
  transform: scale(1.01);
  filter: brightness(1.08);
}

.news-card p {
  color: var(--text-muted);
  line-height: 1.5;
  min-height: 84px;
}

.news-links {
  display: flex;
  gap: 8px;
}

.news-links a {
  width: 38px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(72, 125, 211, 0.5);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(12, 43, 89, 0.95), rgba(8, 28, 58, 0.95));
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.news-links a:hover {
  transform: translateY(-1px);
  border-color: #7cb9ff;
}

.news-links a img {
  width: 16px;
  height: 16px;
  object-fit: contain;
  filter: brightness(0) invert(65%) sepia(80%) saturate(554%) hue-rotate(183deg) brightness(101%) contrast(99%);
}

.news-links a:hover img {
  filter: brightness(0) invert(89%) sepia(13%) saturate(693%) hue-rotate(180deg) brightness(102%) contrast(105%);
}

@media (max-width: 980px) {
  .news-grid {
    grid-template-columns: 1fr;
  }
}
