/* Blog Modern Styles */

/* Blog Layout */
.blog-modern {
  padding: 80px 0;
}

.blog-modern .container {
  max-width: 1200px;
}

/* Blog Header */
.blog-header {
  text-align: center;
  margin-bottom: 60px;
}

.blog-header h1 {
  font-size: 3rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 1rem;
}

.blog-header p {
  font-size: 1.2rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

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

/* Blog Card */
.blog-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

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

.blog-card-image {
  position: relative;
  overflow: hidden;
  height: 250px;
}

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

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

.blog-card-content {
  padding: 30px;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
  font-size: 0.9rem;
  color: #666;
}

.blog-card-meta i {
  color: #80cc28;
}

.blog-card h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 15px;
  line-height: 1.4;
}

.blog-card p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
}

.blog-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #80cc28;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

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

/* Blog Categories */
.blog-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
  justify-content: center;
}

.blog-category {
  padding: 8px 16px;
  background: #f8f9fa;
  color: #666;
  border-radius: 20px;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.blog-category:hover,
.blog-category.active {
  background: #80cc28;
  color: white;
}

/* Blog Pagination */
.blog-pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 60px;
}

.blog-pagination a,
.blog-pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.blog-pagination a {
  background: #f8f9fa;
  color: #666;
}

.blog-pagination a:hover {
  background: #80cc28;
  color: white;
}

.blog-pagination .current {
  background: #80cc28;
  color: white;
}

/* Categories Navigation */
.category-nav {
  padding: 20px 0;
}

.categories-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.category-link {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  background: #f8f9fa;
  border-radius: 50px;
  color: #333;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid #e9ecef;
}

.category-link:hover {
  background: #e9ecef;
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.category-link i {
  margin-right: 8px;
  font-size: 1.1em;
}

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

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

  .blog-card-content {
    padding: 20px;
  }

  .categories-wrapper {
    flex-direction: column;
    align-items: stretch;
  }

  .category-link {
    justify-content: center;
  }
}
