.news-section {
  padding: 60px 20px;
  color: #fff;
}

.news-header {
  text-align: center;
  margin-bottom: 40px;
}

.news-header h2 {
  font-size: 2rem;
  font-weight: 700;
}

.news-header p {
  color: #aaa;
  font-size: 0.95rem;
}

.news-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.news-card {
  background: linear-gradient(160deg, #242750, #1a1c36);
  border-radius: 12px;
  width: 300px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 20px rgba(0,0,0,0.4);
  transition: transform 0.3s ease;
  backdrop-filter: blur(8px);
}

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

.news-img-wrapper {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.news-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-date {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0,0,0,0.6);
  padding: 4px 10px;
  font-size: 12px;
  border-radius: 6px;
  color: #fff;
}

.news-body {
  padding: 15px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  text-align: left;
}

.news-body h5 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: #fff;
}

.news-body p {
  font-size: 0.9rem;
  color: #ccc;
  flex: 1;
}

.news-body a {
  color: #00bfff;
  font-weight: bold;
  font-size: 0.9rem;
  margin-top: 10px;
  text-decoration: none;
}

.news-body a:hover {
  text-decoration: underline;
}
