.custom-blog-section-title{
    margin-top:40px;
    margin-bottom:20px
}
.custom-blog-section {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom:50px;
}

/* Each card now needs a fixed or percentage width */
.custom-blog-card {
  flex: 1 1 calc(33.333% - 20px); /* 3 cards per row with gap considered */
  max-width: calc(33.333% - 20px);
  box-sizing: border-box;

  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
}

.custom-blog-card img.custom-blog-image {
  width: 100%;
  height: auto;
  display: block;
}

.custom-blog-content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.custom-blog-title {
  font-size: 20px;
  font-weight: bold;
  margin: 12px 0 8px;
  color: #000;
}
.custom-blog-title a{
  color: #000;  
}

.custom-blog-date {
  font-size: 14px;
  color: #000;
  margin-bottom: 12px;
}

.custom-blog-description {
  color: #333;
  margin-bottom: auto;
}

.custom-read-more {
  margin-top: 16px;
  color: #e44b01;
  font-weight: bold;
  text-decoration: none;
  font-size: 14px;
}

/* Responsive fix for tablets and below */
@media screen and (max-width: 1024px) {
  .custom-blog-card {
    flex: 1 1 calc(50% - 20px);
    max-width: calc(50% - 20px);
  }
}

@media screen and (max-width: 768px) {
  .custom-blog-card {
    flex: 1 1 100%;
    max-width: 100%;
  }
}
