.blog-container {
  width: 100%;
  max-width: 100%;
  padding: 40px 20px;
  background-color: #f7f9fc;
  box-sizing: border-box;
  overflow-x: hidden;
  margin: 0 auto;
}

.blog-title {
  font-size: 32px;
  color: #1a71cc;
  text-align: center;
  margin-bottom: 30px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  width: 100%;
  box-sizing: border-box;
}

.news-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-6px);
}

.news-card img {
  width: 100%;
  max-width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.news-card h3 {
  font-size: 18px;
  font-weight: 600;
  padding: 12px;
  color: #333;
  min-height: 48px;
}

.read-more {
  display: block;
  padding: 10px 12px;
  color: #1a71cc;
  text-decoration: none;
  font-weight: bold;
}

.read-more:hover {
  text-decoration: underline;
}

.view-more-btn {
  padding: 10px 20px;
  background-color: #1a71cc;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.3s ease;
}

.view-more-btn:hover {
  background-color: #145ba8;
}

/* Responsive */
@media (max-width: 1200px) {
  .news-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .blog-container {
    padding: 20px 12px;
    max-width: 95%;
  }

  .news-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .news-card img {
    height: 140px;
  }

  .news-card h3 {
    font-size: 15px;
  }

  .read-more {
    font-size: 13px;
  }

  .view-more-btn {
    font-size: 14px;
    padding: 8px 16px;
  }
}
