.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  padding: 1rem;
}

.news-card {
  background: #2a2a2a;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s;
}

.news-card:hover {
  transform: translateY(-5px);
}

.news-image {
  position: relative;
  padding-top: 56.25%; /* 16:9 aspect ratio */
}

.news-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-content {
  padding: 1rem;
}

.news-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.news-date {
  background: #444;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.875rem;
}

.news-category {
  background: #550f75;
  color: #fff;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.875rem;
}

.news-title {
  margin: 0.5rem 0;
  font-size: 1.25rem;
}

.news-title a {
  color: #fcfcfc;
  text-decoration: none;
}

.news-title a:hover {
  color: #ea81e8;
}

.news-preview {
  color: #bbb;
  font-size: 0.875rem;
  margin: 0;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin: 2rem 0;
}

.page-link {
  padding: 0.5rem 1rem;
  background: #550f75;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
}

.page-link:hover {
  background: #6a1c8a;
}

.page-current {
  padding: 0.5rem 1rem;
  background: #333;
  color: #fff;
  border-radius: 4px;
}
