/* Blog Section Styles */
.blog-section {
  background: linear-gradient(135deg, #fafafa 0%, #ffffff 100%);
  padding: 80px 20px 60px;
  min-height: 100vh;
}

.blog-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Hero Post */
.hero-post {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  background: white;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  margin-bottom: 60px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-post:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  border-color: rgba(139, 195, 74, 0.3);
}

.hero-image {
  position: relative;
  overflow: hidden;
  height: 100%;
  min-height: 400px;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-post:hover .hero-image img {
  transform: scale(1.05);
}

.platform-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.hero-post:hover .platform-badge {
  transform: scale(1.1) rotate(5deg);
}

.platform-badge.instagram {
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.platform-badge.linkedin {
  background: linear-gradient(135deg, #0A66C2 0%, #004182 100%);
}

.hero-content {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.post-date {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.85rem;
  color: #95a5a6;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
  font-weight: 600;
}

.hero-title {
  font-family: 'Playball', cursive;
  font-size: 2.8rem;
  font-weight: 400;
  color: #2c3e50;
  margin-bottom: 20px;
  line-height: 1.4;
  letter-spacing: 1px;
}

.hero-excerpt {
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  color: #555;
  line-height: 1.7;
  margin-bottom: 25px;
}

.post-meta {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid #f0f0f0;
}

.read-more {
  font-family: 'Raleway', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #8BC34A;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.read-more::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: #8BC34A;
  transition: width 0.3s ease;
}

.read-more:hover::after {
  width: 100%;
}

.read-more:hover {
  color: #689F38;
}

/* Blog Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

/* Blog Cards */
.blog-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  animation: fadeInUp 0.8s ease-out both;
}

/* Stagger animation for cards */
.blog-card:nth-child(1) {
  animation-delay: 0.5s;
}

.blog-card:nth-child(2) {
  animation-delay: 0.6s;
}

.blog-card:nth-child(3) {
  animation-delay: 0.7s;
}

.blog-card:nth-child(4) {
  animation-delay: 0.8s;
}

.blog-card:nth-child(5) {
  animation-delay: 0.9s;
}

.blog-card:nth-child(6) {
  animation-delay: 1s;
}

.blog-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  border-color: rgba(139, 195, 74, 0.3);
}

.card-image {
  position: relative;
  overflow: hidden;
  height: 220px;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .card-image img {
  transform: scale(1.1);
}

.card-image .platform-badge {
  width: 40px;
  height: 40px;
  top: 15px;
  right: 15px;
}

.card-content {
  padding: 25px;
}

.card-title {
  font-family: 'Playball', cursive;
  font-size: 1.6rem;
  font-weight: 400;
  color: #2c3e50;
  margin-bottom: 12px;
  line-height: 1.4;
  letter-spacing: 0.5px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-excerpt {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.9rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Load More */
.load-more-container {
  text-align: center;
  margin-top: 40px;
}

.load-more-btn {
  padding: 15px 40px;
  background: linear-gradient(135deg, #8BC34A 0%, #689F38 100%);
  color: white;
  border: none;
  border-radius: 50px;
  font-family: 'Raleway', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(139, 195, 74, 0.3);
}

.load-more-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(139, 195, 74, 0.4);
  background: linear-gradient(135deg, #689F38 0%, #558B2F 100%);
}

.load-more-btn:active {
  transform: translateY(-1px);
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .hero-post {
    grid-template-columns: 1fr;
  }

  .hero-image {
    min-height: 300px;
  }

  .hero-content {
    padding: 30px;
  }
}

@media (max-width: 768px) {
  .blog-section {
    padding: 60px 15px 40px;
  }

  .blog-subtitle {
    font-size: 1rem;
  }

  .blog-filters {
    gap: 10px;
  }

  .filter-btn {
    padding: 10px 18px;
    font-size: 0.85rem;
  }

  .filter-btn svg {
    width: 16px;
    height: 16px;
  }

  .blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-excerpt {
    font-size: 0.95rem;
  }

  .card-image {
    height: 200px;
  }

  .post-meta {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .filter-btn {
    padding: 8px 14px;
    font-size: 0.8rem;
  }

  .hero-content {
    padding: 20px;
  }

  .hero-title {
    font-size: 1.9rem;
  }

  .card-content {
    padding: 20px;
  }

  .card-title {
    font-size: 1.4rem;
  }

  .card-excerpt {
    font-size: 0.85rem;
  }

  .load-more-btn {
    padding: 12px 30px;
    font-size: 0.9rem;
  }
}