.blog-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

.blog-header {
  text-align: center;
  margin-bottom: 60px;
}

.blog-title {
  font-size: 48px;
  font-weight: bold;
  color: #333;
  margin-bottom: 20px;
}

.blog-subtitle {
  font-size: 20px;
  color: #666;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

.blog-filters {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 12px 24px;
  border: 2px solid #B24B45;
  background: white;
  color: #B24B45;
  font-size: 16px;
  font-weight: 600;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: #B24B45;
  color: white;
}

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

.blog-card {
  background: white;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  cursor: pointer;
  border-bottom: 5px solid transparent;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.blog-card.research {
  border-bottom-color: #755CAD;
}

.blog-card.community {
  border-bottom-color: #4998BE;
}

.blog-card.events {
  border-bottom-color: #B24B45;
}

.blog-card.insights {
  border-bottom-color: #398424;
}

.blog-card.news {
  border-bottom-color: #FDCB37;
}

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

.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: 15px;
  left: 15px;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-category.research {
  background: #755CAD;
  color: white;
}

.blog-category.community {
  background: #4998BE;
  color: white;
}

.blog-category.events {
  background: #B24B45;
  color: white;
}

.blog-category.insights {
  background: #398424;
  color: white;
}

.blog-category.news {
  background: #FDCB37;
  color: #333;
}

.blog-content {
  padding: 30px;
}

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

.blog-date {
  display: flex;
  align-items: center;
  gap: 5px;
}

.blog-author {
  display: flex;
  align-items: center;
  gap: 5px;
}

.blog-card-title {
  font-size: 22px;
  font-weight: bold;
  color: #333;
  margin-bottom: 12px;
  line-height: 1.3;
}

.blog-excerpt {
  font-size: 16px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
}

.read-more {
  color: #B24B45;
  font-weight: 600;
  text-decoration: none; 
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.3s ease;
}

.read-more:hover {
  color: #5a4585;
  gap: 8px;
}

.featured-post {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-bottom: 20px;
  border-bottom: 5px solid #B24B45;
  overflow: hidden;
}

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

.featured-content {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-tag {
  display: inline-block;
  background: #B24B45;
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
  width: fit-content;
}

.featured-title {
  font-size: 32px;
  font-weight: bold;
  color: #333;
  margin-bottom: 15px;
  line-height: 1.2;
}

.featured-excerpt {
  font-size: 18px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 25px;
}

.load-more {
  text-align: center;
  margin-top: 40px;
}

.load-more-btn {
  padding: 15px 30px;
  background: #B24B45;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.load-more-btn:hover {
  background: #822b27;
}

/* Responsive Design */
@media (max-width: 768px) {
  .blog-title {
    font-size: 36px;
  }

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

  .featured-post {
    grid-template-columns: 1fr;
  }

  .featured-image {
    height: 250px;
  }

  .featured-content {
    padding: 30px 20px;
  }

  .featured-title {
    font-size: 24px;
  }

  .blog-filters {
    gap: 10px;
  }

  .filter-btn {
    padding: 10px 18px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .blog-section {
    padding: 40px 15px;
  }

  .blog-content {
    padding: 20px;
  }

  .blog-card-title {
    font-size: 18px;
  }

  .blog-excerpt {
    font-size: 14px;
  }
}