/* Section Background */
.nh-blog-section {
  background: #f5f7fb;
  padding: 40px 20px;
}

/* Grid */
.nh-blog-grid {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* Card */
.nh-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.nh-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

/* Image */
.nh-img img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

/* Content */
.nh-content {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

/* Title */
.nh-content h3 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  height: 48px; /* FIXED height for alignment */
  overflow: hidden;
  margin-bottom: 8px;
}

/* Meta */
.nh-meta {
  font-size: 12px;
  color: #8a8f98;
  margin-bottom: 10px;
}

/* Description */
.nh-content p {
  font-size: 13px;
  color: #555;
  line-height: 1.6;
  height: 60px;
  overflow: hidden;
  margin-bottom: 15px;

  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Button */
.nh-btn {
  margin-top: auto;
  display: inline-block;
  text-align: center;
  padding: 10px;
  border-radius: 25px;
  background: #eef1f5;
  color: #4a4f57;
  font-size: 12px;
  text-decoration: none;
  transition: 0.3s;
}

.nh-btn:hover {
  background: #ff2ea6;
  color: #fff;
}

@media (max-width: 1024px) {
  .nh-blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .nh-blog-grid {
    grid-template-columns: 1fr;
  }
}