.news-container {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  max-width: 1100px;
  margin: 20px auto;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  height: 300px;
}

.news-image {
  flex: 1;
  background-color: #eaeaea;
  overflow: hidden;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; 
  aspect-ratio: 16 / 9; 
}

.news-content {
  flex: 1;
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.news-content h3 img{
	margin-bottom:6px;
}

.news-content h3 {
  margin: 0;
  font-size: 20px;
  color: #000;
}

.news-content p {
  margin: 10px 0;
  font-size: 14px;
  color: #555;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  height: calc(1.4em * 4);
}

.news-content button {
  margin-top: 10px;
  padding: 8px 18px;
  background-color: #f2f2f2;
  border: none;
  border-radius: 20px;
  font-size: 14px;
  cursor: pointer;
  color: #333;
  align-self: start;
}

.news-content button:hover {
  background-color: #e0e0e0;
}

@media (max-width: 768px) {
  .news-container {
    flex-direction: column;
    height: auto;
  }

  .news-image img {
    height: 200px; /* Adjusts image height for smaller screens */
  }
}
