.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 30px;
  padding: 20px 0;
}

.blog-card {
  background: white;
  border-radius: 12px;
  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 8px 12px rgba(0, 0, 0, 0.15);
}

.blog-card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.05);
}

.blog-card-content {
  padding: 20px;
}

.blog-card-tags {
  margin-bottom: 12px;
}

.tag {
  display: inline-block;
  padding: 4px 8px;
  margin-right: 8px;
  background-color: #f0f5ff;
  border: 1px solid #c7d2fe;
  border-radius: 4px;
  color: #3b82f6;
  font-size: 12px;
  font-weight: 500;
}

.blog-card-title {
  font-size: 18px;
  margin: 0 0 12px 0;
  color: #1a202c;
  font-weight: 600;
}

.blog-card-excerpt {
  font-size: 14px;
  color: #4a5568;
  margin-bottom: 20px;
  line-height: 1.5;
}

.blog-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid #e5e7eb;
}

.blog-card-date {
  font-size: 13px;
  color: #718096;
}

.read-more {
  color: var(--color-link);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.read-more:hover {
  color: #1a56db;
}

@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-card {
    max-width: 100%;
  }
}