.blogs-page {
  padding: 2rem 0 5rem;
  background: #f7f9fc;
}

.blogs-container {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding-bottom: 3rem;
}

.blogs-hero {
  text-align: center;
  margin-bottom: 40px;
  margin-top: 20px;
}

.blogs-hero h1 {
  font-size: 42px;
  margin-bottom: 12px;
  color: #123d73;
  font-weight: 800;
}

.blogs-hero p {
  max-width: 700px;
  margin: 0 auto;
  color: #667085;
  line-height: 1.8;
}

/* FIXED GRID */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* CARD IMPROVEMENTS */
.blog-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.blog-card img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  display: block;
}

/* CONTENT */
.blog-card-content {
  padding: 20px;
}

.blog-meta {
  font-size: 13px;
  color: #667085;
  margin-bottom: 10px;
  font-weight: 600;
}

.blog-card h2 {
  font-size: 22px;
  line-height: 1.4;
  margin-bottom: 10px;
  color: #111827;
}

.blog-card p {
  color: #667085;
  line-height: 1.7;
  margin-bottom: 16px;
}

/* BUTTON */
.read-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  background:#1B9CEB;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
  border: 2px solid transparent;
}

.read-more-btn:hover {
  background: #fff;
  color: #1B9CEB;
    border: 2px solid #1B9CEB;
}

/* RESPONSIVE FIXES */

@media (max-width: 991.98px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .blogs-hero h1 {
    font-size: 36px;
  }
}

@media (max-width: 767.98px) { 
  .blog-grid {
    grid-template-columns: 1fr ;
  }

  .blogs-hero h1 {
    font-size: 28px;
  }

  .blog-card img {
    height: 180px;
  }

.blog-card{
width: 335px;
margin: 0 auto;

  }
  
  .blogs-hero{
    padding-top:90px !important;
  margin-top: 0px !important;
  }

  .blogs-page{
   padding:0 !important;
  }
}   