/* BLOG SECTION */
.blog-section {
  padding: 40px 5%;
  background: #f8fbff;
}

.section-heading {
  text-align: center;
  margin-bottom: 50px;
}

.section-heading h2 {
  font-size: 36px;
  color: #171994;
  margin-bottom: 10px;
}

.section-heading p {
  color: #555;
  font-size: 16px;
}

/* GRID */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

/* CARD */
.blog-card {
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  transition: 0.3s ease;
  display: flex;
  flex-direction: column;
}

/* .blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
} */

/* IMAGE */
.blog-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

/* CONTENT */
.blog-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-content h3 {
  font-size: 20px;
  color: #173054;
  margin-bottom: 12px;
}

.blog-content p {
  font-size: 15px;
  color: #555;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* BUTTON */
.blog-btn {
  padding: 10px 20px;
  font-weight: bold;
  font-size: 0.95rem;
  text-decoration: none;
  background: #171994;
  color: #fff;
  border: 2px solid transparent;
  transition: background 0.3s ease;
  text-align: center;
}

.blog-btn:hover {
  color: #171994;
  background: linear-gradient(white, white) padding-box,
              linear-gradient(#171994, #3a868f) border-box;
}

@media (max-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}