/* Blog-specific styles */
.blog-header {
  background: var(--gradient-primary);
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.blog-header h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: white;
}

.blog-header p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto;
}

.blog-content {
  padding: 4rem 0;
  background: var(--background-light);
}

/* Blog Filters */
.blog-filters {
  margin-bottom: 3rem;
  text-align: center;
}

.blog-filters h3 {
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  font-size: 1.5rem;
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.filter-btn {
  background: white;
  border: 2px solid var(--border-light);
  color: var(--text-secondary);
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.filter-btn:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
}

.filter-btn.active {
  background: var(--gradient-primary);
  border-color: transparent;
  color: white;
  box-shadow: 0 4px 15px var(--shadow-medium);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.blog-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px var(--shadow-light);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px var(--shadow-medium);
}

.blog-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.blog-content-inner {
  padding: 1.5rem;
}

.blog-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.category {
  background: var(--gradient-primary);
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 500;
}

.date {
  color: var(--text-light);
  font-size: 0.9rem;
}

.blog-card h2 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.blog-card h2 a {
  color: var(--text-primary);
  text-decoration: none;
}

.blog-card h2 a:hover {
  color: var(--primary-color);
}

.blog-card p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.blog-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.read-time {
  color: var(--text-light);
  font-size: 0.9rem;
}

.read-more {
  color: var(--primary-color);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
}

.read-more:hover {
  color: var(--secondary-color);
}

.pagination {
  text-align: center;
  padding: 2rem 0;
}

.page-info {
  color: var(--text-secondary);
  font-size: 1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .blog-header h1 {
    font-size: 2.5rem;
  }

  .blog-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .blog-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .filter-buttons {
    gap: 0.5rem;
  }

  .filter-btn {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .filter-buttons {
    flex-direction: column;
    align-items: center;
  }

  .filter-btn {
    width: 200px;
    text-align: center;
  }
}
