/* BLOG */
.blog-section {
  background: #f4f6fb;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.1);
}

.blog-card .card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.blog-card .card-body {
  padding: 18px;
}

.blog-card .tag {
  font-size: 11px;
  color: #c0392b;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 6px 0 8px;
}

.blog-card p {
  font-size: 13px;
  color: #888;
  margin-bottom: 14px;
}

.btn-outline {
  display: inline-block;
  border: 1.5px solid #c0392b;
  color: #c0392b;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.btn-outline:hover {
  background: #c0392b;
  color: #fff;
}
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 40px 0 20px;
}
.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid #ddd;
    color: #333;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    background-color: #fff;
}
.pagination .page-numbers:hover {
    background-color: #ff6b6b;
    border-color: #ff6b6b;
    color: #fff;
}
.pagination .page-numbers.current {
    background-color: #ff6b6b;
    border-color: #ff6b6b;
    color: #fff;
    font-weight: bold;
}
.pagination .page-numbers.prev,
.pagination .page-numbers.next {
    font-weight: bold;
}
.pagination .page-numbers.dots {
    border: none;
    background: transparent;
    cursor: default;
}
/* Tablet */
@media (max-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .blog-card .card-img {
    height: 180px;
  }

  .blog-card .card-body {
    padding: 14px;
  }

  .blog-card h4 {
    font-size: 14px;
  }
}