/* Blog Page Specific Styles */
.page-header {
  padding: 150px 0 80px;
  position: relative;
  overflow: hidden;
}

.page-header h1 { font-size: 3.5rem; margin-bottom: 15px; }
.page-header p { color: var(--text-muted); font-size: 1.2rem; }
.pt-0 { padding-top: 0; }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}

.blog-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
  border-color: rgba(96, 165, 250, 0.3);
}

.blog-img-wrapper {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.blog-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.category-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--primary);
  color: white;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.blog-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-meta {
  display: flex;
  gap: 15px;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 15px;
}

.blog-meta i {
  color: var(--primary);
}

.blog-content h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  line-height: 1.4;
}

.blog-content h3 a {
  color: var(--text-light);
}

.blog-content h3 a:hover {
  color: var(--primary);
}

.blog-content p {
  color: var(--text-muted);
  margin-bottom: 20px;
  flex-grow: 1;
  font-size: 0.95rem;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.95rem;
}

.read-more:hover {
  color: var(--primary-hover);
  padding-left: 5px; /* Slide effect */
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.page-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-light);
  transition: all 0.3s ease;
}

.page-link:hover, .page-link.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}
