.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 32px;
}

.news-card {
  background: #fff;
  border: 1px solid #eee;
  padding: 20px;
  border-radius: 8px;
  transition: box-shadow 0.2s ease;
}

.news-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.news-card img {
  max-width: 100%;
  height: auto;
  margin-bottom: 12px;
  border-radius: 4px;
}

.news-card h5 {
  font-size: 1.2em;
  margin-bottom: 12px;
}

.news-card p {
  font-size: 0.95em;
  color: #555;
  margin-bottom: 16px;
}

.news-card .read-more {
  display: inline-block;
  padding: 8px 18px;
  background-color: #0078cc;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.news-card .read-more:hover {
  background-color: #005fa3;
  text-decoration: none;
  transform: translateY(-2px);
}


.news-footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 24px;
  font-size: 20px;
  font-weight: 500;
  color: #0078cc;
}



.news-footer-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 100%;
  background-color: #0078cc;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.news-footer-links a:hover::after {
  transform: scaleX(1);
}
