/* ========== Blog Section ========== */
.blog-section {
  background-color: #f8f9fa;
  font-family: 'Cairo', sans-serif;
}

/* عنوان الصفحة */
.section-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: #0d6efd;
  position: relative;
}

.section-title {
  margin-top: 40px; /* زوّد أو قلل حسب اللي تحبه */
  margin-bottom: 40px;
  font-weight: bold;
  font-size: 2.5rem;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: #0dcaf0;
  margin: 12px auto 0;
  border-radius: 2px;
}

/* أزرار الفلاتر */
.filter-btn {
  border-radius: 30px;
  font-weight: bold;
  padding: 6px 20px;
  transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
  background-color: #0d6efd;
  color: #fff;
  border-color: #0d6efd;
}

/* كروت المقال */
.blog-item .card {
  border: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-item .card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
}

.blog-item .card-img-top {
  height: 220px;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
}

.blog-item .card-title {
  font-size: 1.2rem;
  font-weight: bold;
  color: #0d6efd;
}

.blog-item .card-text {
  color: #555;
  font-size: 0.95rem;
}

.blog-item small {
  color: #777;
}

/* زر اقرأ المزيد */
.blog-item .btn-outline-primary {
  font-size: 0.9rem;
  border-radius: 20px;
}

/* Responsive */
@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }

  .blog-item .card-img-top {
    height: 180px;
  }
}
