/* ==========================================================================
   BLOG PAGE - HERO SECTION
   ========================================================================== */

.fda-blog-hero {
  --blog-hero-primary: #6c5dd3;
  --blog-hero-primary-glow: rgba(108, 93, 211, 0.15);

  position: relative;
  min-height: 55vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 160px 20px 80px;
  background-color: var(--color-bg-dark, #050508);
  overflow: hidden;
  z-index: 1;
}

/* Background Image & Overlay */
.fda-blog-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  mix-blend-mode: luminosity;
  z-index: -2;
}

.fda-blog-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(5, 5, 8, 0.75) 0%, rgba(5, 5, 8, 0.6) 40%, rgba(5, 5, 8, 0.95) 100%);
  z-index: -1;
}

/* Subtle Corner Decorations */
.fda-blog-decor-left,
.fda-blog-decor-right {
  position: absolute;
  width: 600px;
  height: 600px;
  filter: blur(90px);
  z-index: -1;
  pointer-events: none;
}

.fda-blog-decor-left {
  top: -100px;
  left: -200px;
  background: radial-gradient(circle, var(--blog-hero-primary-glow) 0%, transparent 70%);
}

.fda-blog-decor-right {
  bottom: -100px;
  right: -200px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.12) 0%, transparent 70%);
}

/* Main Content Wrapper */
.fda-blog-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  width: 100%;
  margin: auto;
}

/* Eyebrow Badge */
.fda-blog-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
}

.fda-blog-badge-line {
  height: 1px;
  width: 40px;
  background-color: var(--blog-hero-primary);
  opacity: 0.6;
}

.fda-blog-badge-text {
  color: var(--blog-hero-primary);
  font-family: var(--font-primary, sans-serif);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 14px;
}

/* Heading */
.fda-blog-hero-title {
  font-family: var(--font-primary, sans-serif);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.fda-blog-hero-title .highlight {
  background: linear-gradient(135deg, #A855F7 0%, #6366F1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Subtext */
.fda-blog-hero-desc {
  font-family: var(--font-secondary, sans-serif);
  font-size: 18px;
  line-height: 1.6;
  color: #94A3B8;
  max-width: 720px;
  margin: 0 auto;
}

/* Simple Entrance Animations */
.fda-blog-fade-in {
  opacity: 0;
  animation: fdaBlogFadeIn 1s forwards cubic-bezier(0.16, 1, 0.3, 1);
}

.fda-blog-delay-1 {
  animation-delay: 0.1s;
}

.fda-blog-delay-2 {
  animation-delay: 0.2s;
}

@keyframes fdaBlogFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === LIGHT THEME OVERRIDES === */
[data-theme="light"] .fda-blog-hero {
  background-color: var(--color-bg-dark, #faf9ff);
}

[data-theme="light"] .fda-blog-hero-overlay {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.6) 40%, rgba(255, 255, 255, 0.95) 100%);
}

[data-theme="light"] .fda-blog-hero-bg {
  opacity: 0.85;
  mix-blend-mode: normal;
}

[data-theme="light"] .fda-blog-hero-title {
  color: var(--color-text-light, #090814);
}

[data-theme="light"] .fda-blog-hero-desc {
  color: var(--color-text-muted, #5c5a68);
}

/* === Responsive === */
@media (max-width: 768px) {
  .fda-blog-hero {
    min-height: auto !important;
    padding: 100px 20px 40px !important;
  }

  .fda-blog-hero-title {
    font-size: clamp(24px, 7vw, 34px) !important;
    line-height: 1.25 !important;
    margin-bottom: 16px !important;
  }

  .fda-blog-hero-title br {
    display: none !important; /* Prevent text splitting on mobile */
  }

  .fda-blog-hero-desc {
    font-size: 14px !important;
    line-height: 1.55 !important;
  }
}
