.latest-news {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  padding: 80px 0;
  background-color: var(--white);
}
.latest-news h2 {
  text-align: center;
  margin-bottom: 50px;
  font-size: 2.5rem;
  color: var(--black);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  justify-items: center;
}

.news-item {
  background-color: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 30px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
  height: 100%;
  width: 100%;
  max-width: 500px;
}
.news-item:hover {
  transform: translateY(-5px);
}
.news-item img {
  width: 100%;
  height: 280px;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: top;
     object-position: top;
}

.news-content {
  padding: 25px;
}
.news-content h3 {
  margin-bottom: 10px;
  color: var(--black);
  font-size: 1.3rem;
}
.news-content p {
  color: #666;
  margin-bottom: 20px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.news-date {
  color: var(--primary-400);
  font-size: 0.9rem;
  margin-bottom: 15px;
  font-weight: bold;
}

.read-more {
  color: var(--primary-400);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}
.read-more:hover {
  color: var(--dark-green);
}

.read-all {
  color: var(--primary-400);
  background-color: white;
  border: 1px solid var(--primary-400);
  text-decoration: none;
  width: 270px;
  height: 44px;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}
.read-all:hover {
  text-decoration: none;
  background-color: var(--primary-400);
  color: white;
}/*# sourceMappingURL=homelatests.css.map */