/* static/css/blog.css - BLOG PAGE SPECIFIC STYLES */
.blog-hero-bg {
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #b8860b 100%);
  position: relative;
}

.blog-hero-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('/static/img/blog-bg.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.15;
}

/* Blog card styles */
.blog-card {
  transition: all 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Category filter styles */
.category-filter {
  cursor: pointer;
  transition: all 0.2s ease;
}

.category-filter.active {
  background: linear-gradient(135deg, #1e3a8a, #3b82f6);
  color: white;
}

/* Search input styles */
.search-input {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(30, 58, 138, 0.1);
}

.search-input:focus {
  background: white;
  border-color: #1e3a8a;
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

/* Single post view styles */
.single-post {
  display: none;
}

.single-post.active {
  display: block;
}

.blog-grid.hidden {
  display: none;
}

/* Excerpt fade effect */
.excerpt-fade {
  background: linear-gradient(to bottom, rgba(75, 85, 99, 1) 0%, rgba(75, 85, 99, 0.8) 70%, transparent 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Blog specific responsive adjustments */
@media (max-width: 768px) {
  .blog-hero-bg::before {
    opacity: 0.1;
  }
  
  .blog-card {
    margin-bottom: 1.5rem;
  }
}