.blog-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.blog-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.blog-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-content {
  padding: 20px;
}

.blog-category {
  display: inline-block;
  background: #e9ecef;
  color: #495057;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.blog-title {
  font-size: 20px;
  margin-bottom: 10px;
  color: #212529;
  font-weight: 500;
}

.blog-excerpt {
  color: #6c757d;
  font-size: 14px;
  margin-bottom: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #adb5bd;
}

.blog-date {
  display: flex;
  align-items: center;
}

.blog-date svg {
  margin-right: 5px;
}

.read-more {
  color: #37cce0;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: color 0.3s ease;
}

.read-more:hover {
  color: #37cce0;
  text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .blog-list {
    grid-template-columns: 1fr;
  }
}

.blog-list {
  margin-right: 2%;
}

/* Optional: Add a section header */
.section-header {
  text-align: center;
  margin-bottom: 30px;
}

.section-title {
  font-size: 32px;
  color: #212529;
  margin-bottom: 10px;
}

.section-subtitle {
  color: #6c757d;
  font-size: 16px;
}

@media (max-width: 768px) {
  .blog-list {
    margin-left: 6% !important;
    margin-right: 5% !important;
  }
}

@media (max-width: 768px) {
  .blog-section > .container {
    margin-left: -12%;
  }
}
