.blogs{
  margin-top: 100px;
}
.blog-section.blogs {
  padding: 60px 20px;
  background: #f9f9f9;
}

.blog-section.blogs .inner {
  max-width: 1200px;
  margin: 0 auto;
}

.blog-section.blogs h2 {
  margin-bottom: 40px;
  font-size: 32px;
  text-align: center;
  color: #333;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.blog-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px 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 16px rgba(0, 0, 0, 0.15);
}

.card-img {
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: #e0e0e0;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-card:hover .card-img img {
  transform: scale(1.05);
}

.card-body {
  padding: 20px;
}

.card-body h4 {
  margin-bottom: 10px;
  font-size: 18px;
  line-height: 1.4;
}

.card-body h4 a {
  color: #333;
  text-decoration: none;
}

.card-body h4 a:hover {
  color: #0066cc;
}

.card-body p {
  color: #666;
  font-size: 14px;
  line-height: 1.6;
}

.card-footer {
  padding: 15px 20px;
  border-top: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}

.category {
  color: #0066cc;
  font-weight: 500;
}

.date {
  color: #999;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.pagination a,
.pagination span {
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-decoration: none;
  color: #333;
}

.pagination a:hover {
  background: #0066cc;
  color: white;
}

.pagination .current {
  background: #0066cc;
  color: white;
}

@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
  }

  .blog-section.blogs h2 {
    font-size: 24px;
    margin-bottom: 30px;
  }

  .blog-section.blogs {
    padding: 40px 15px;
  }
}

@media (max-width: 480px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-section.blogs h2 {
    font-size: 20px;
  }

  .card-footer {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
}