/* ===== BLOG PAGE LAYOUT STYLES ===== */

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero Override for Blog Page */

/* Dark gradient overlay on hero images */
.blog-page .hero-slide::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.35) 0%,
    rgba(0, 0, 0, 0.2) 50%,
    rgba(0, 0, 0, 0.4) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.blog-page .hero-overlay-container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  z-index: 2;
}

.blog-page .hero-overlay-container .page-container {
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-page .hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  background-color: transparent;
  top: 0;
  color: #fff;
}

.blog-page .hero-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: #fff;
  text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.3);
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: fadeInUp 0.8s ease-out;
}

.blog-page .hero-content .hero-subtitle {
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 15px;
  color: #fff;
  opacity: 0.95;
  letter-spacing: 1px;
  animation: fadeInUp 0.8s ease-out 0.15s both;
}

.blog-page .hero-content .hero-desc {
  font-size: 1.1rem;
  font-weight: 300;
  margin-bottom: 25px;
  color: #fff;
  opacity: 0.95;
  line-height: 1.8;
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

.blog-page .hero-content .hero-desc strong {
  color: #fff;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.2);
  padding: 2px 8px;
  border-radius: 4px;
}

.blog-page .hero-highlights {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 30px;
  animation: fadeInUp 0.8s ease-out 0.45s both;
}

.blog-page .hero-highlights span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 8px 16px;
  border-radius: 9999px;
  font-size: 0.95rem;
  font-weight: 500;
}

.blog-page .hero-highlights span i {
  color: white;
  font-size: 1rem;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-page .hero-cta {
  justify-content: center;
}

.blog-page .hero-cta .btn-hero-small {
  background: #fff;
  border: 2px solid #e5e7eb;
  color: #333;
  padding: 16px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease;
  display: inline-block;
}

.blog-page .hero-cta .btn-hero-small:hover {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #333;
}

/* Main Content Section */
.blog-content {
  padding: 80px 0;
  background: #fff;
}

.blog-content .page-container {
  padding: 0;
}

.blog-article {
  max-width: 1200px;
  margin: 0 auto;
}

/* Mobile hero adjustments */
@media (max-width: 768px) {
  .blog-page .hero-overlay-container {
    justify-content: center;
  }
  
  .blog-page .hero-overlay-container .page-container {
    padding: 0 20px;
    justify-content: center;
  }
  
  .blog-page .hero-content {
    text-align: center;
    max-width: 100%;
  }
  
  .blog-page .hero-content h1 {
    font-size: 2rem;
    letter-spacing: 1px;
  }
  
  .blog-page .hero-content .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .blog-page .hero-content .hero-desc {
    display: none;
  }
  
  .blog-page .hero-highlights {
    justify-content: center;
    gap: 10px;
    padding: 0 10px;
  }
  
  .blog-page .hero-highlights span {
    padding: 8px 15px;
    font-size: 0.85rem;
  }
  
  .blog-page .hero-cta {
    justify-content: center;
  }
  
  .blog-page .hero-cta .btn-hero-small {
    padding: 12px 30px;
    font-size: 0.9rem;
  }
  
  .blog-content {
    padding: 40px 0;
  }
  
  .blog-article {
    padding: 0 15px;
  }
}

