/* Blog List Page Styles */

.header-sticky {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.breadcrumb {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 20px 0;
  border-bottom: 1px solid #dee2e6;
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.breadcrumb-nav a {
  color: #6c757d;
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb-nav a:hover {
  color: #82c931;
}

.breadcrumb-separator {
  color: #adb5bd;
  font-size: 12px;
}

.breadcrumb-current {
  color: #495057;
  font-weight: 500;
}

/* Blog Header */
.blog-header {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  padding: 60px 0;
  text-align: center;
}

.blog-header-content {
  max-width: 800px;
  margin: 0 auto;
}

.blog-header-category {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
  color: white;
  font-size: 32px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.blog-header-title {
  font-size: 48px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 20px;
  line-height: 1.2;
}

.blog-header-description {
  font-size: 18px;
  color: #6c757d;
  margin-bottom: 30px;
  line-height: 1.6;
}

.blog-header-stats {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.blog-stats-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #495057;
  font-size: 16px;
}

.blog-stats-item i {
  color: #82c931;
}

.blog-stats-item strong {
  color: #1a1a1a;
}

/* Category Filter */
.category-filter {
  background: #fff;
  padding: 30px 0;
  border-bottom: 1px solid #e9ecef;
  position: sticky;
  top: 80px;
  z-index: 100;
}

.category-filter-wrapper {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.category-filter h3 {
  font-size: 18px;
  font-weight: 600;
  color: #495057;
  margin: 0;
}

.category-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.category-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.3s ease;
  border: 2px solid #e9ecef;
  color: #495057;
  background: #fff;
}

.category-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.category-btn.active {
  background: #82c931;
  color: white;
  border-color: #82c931;
}

.category-btn-1:hover,
.category-btn-1.active {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-color: #667eea;
  color: white;
}

.category-btn-2:hover,
.category-btn-2.active {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  border-color: #f093fb;
  color: white;
}

.category-btn-3:hover,
.category-btn-3.active {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  border-color: #4facfe;
  color: white;
}

/* Blog Posts */
.blog-posts {
  padding: 60px 0;
  background: #f8f9fa;
}

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

.blog-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid #f1f3f4;
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.blog-image {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
}

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

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

.blog-category {
  position: absolute;
  top: 20px;
  left: 20px;
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.blog-content {
  padding: 30px;
}

.blog-content h3 {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 15px;
  line-height: 1.4;
}

.blog-content h3 a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.blog-content h3 a:hover {
  color: #82c931;
}

.blog-content p {
  color: #6c757d;
  line-height: 1.6;
  margin-bottom: 20px;
  font-size: 15px;
}

.blog-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid #f1f3f4;
}

.blog-date {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #6c757d;
  font-size: 14px;
  font-weight: 500;
}

.blog-link {
  color: #82c931;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all 0.3s ease;
}

.blog-link:hover {
  color: #6ba82a;
  transform: translateX(5px);
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.pagination-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pagination-btn,
.pagination-number {
  padding: 12px 16px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 44px;
  justify-content: center;
}

.pagination-btn {
  background: #fff;
  color: #495057;
  border: 2px solid #e9ecef;
}

.pagination-btn:hover {
  background: #82c931;
  color: white;
  border-color: #82c931;
  transform: translateY(-2px);
}

.pagination-number {
  background: #fff;
  color: #495057;
  border: 2px solid #e9ecef;
}

.pagination-number:hover {
  background: #f8f9fa;
  border-color: #82c931;
  color: #82c931;
}

.pagination-number.active {
  background: #82c931;
  color: white;
  border-color: #82c931;
}

.pagination-numbers {
  display: flex;
  gap: 5px;
}

/* No Posts */
.no-posts {
  text-align: center;
  padding: 80px 20px;
}

.no-posts-content {
  max-width: 500px;
  margin: 0 auto;
}

.no-posts i {
  font-size: 64px;
  color: #dee2e6;
  margin-bottom: 30px;
}

.no-posts h3 {
  font-size: 24px;
  font-weight: 600;
  color: #495057;
  margin-bottom: 15px;
}

.no-posts p {
  color: #6c757d;
  margin-bottom: 30px;
  line-height: 1.6;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, #82c931 0%, #6ba82a 100%);
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(130, 201, 49, 0.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
  }
}

@media (max-width: 768px) {
  .blog-header {
    padding: 40px 0;
  }

  .blog-header-title {
    font-size: 32px;
  }

  .blog-header-category {
    width: 60px;
    height: 60px;
    font-size: 24px;
    margin-bottom: 20px;
  }

  .blog-header-stats {
    gap: 20px;
  }

  .category-filter {
    position: static;
  }

  .category-filter-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .category-buttons {
    width: 100%;
    justify-content: center;
  }

  .blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .blog-posts {
    padding: 40px 0;
  }

  .pagination-wrapper {
    flex-wrap: wrap;
    gap: 5px;
  }

  .pagination-btn span {
    display: none;
  }
}

@media (max-width: 480px) {
  .blog-header-title {
    font-size: 24px;
  }

  .blog-header-description {
    font-size: 16px;
  }

  .category-btn {
    padding: 8px 16px;
    font-size: 13px;
  }

  .blog-content {
    padding: 20px;
  }

  .blog-content h3 {
    font-size: 18px;
  }

  .blog-meta {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
}
