/* ===========================================
   BLOG HERO SECTION
   Seamless integration with shared background
   =========================================== */

#blog-hero {
  position: relative;
  min-height: 55vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 10rem;
  padding-bottom: 6rem;
  /* Completely transparent - shared background shows through */
  background: transparent;
  color: white;
  overflow: hidden;
}

/* Content layering - above grid, below nothing */
#blog-hero > .container {
  position: relative;
  z-index: 10;
}

/* Homepage title language, adapted to the centered editorial hero. */
#blog-hero .blog-hero-title {
  max-width: 18ch;
  margin: 0 auto 1.5rem;
  color: #f8f7ff;
  font-size: clamp(3.1rem, 5vw, 4.8rem);
  font-weight: 820;
  letter-spacing: -0.055em;
  line-height: 0.98;
  text-shadow: none;
  text-wrap: balance;
}

#blog-hero .blog-hero-title-highlight {
  background: var(--brand-title-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding: 0 0.045em 0.08em;
  margin-left: -0.08em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* Description styling */
#blog-hero p {
  color: rgba(199, 210, 254, 0.85);
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
}

/* Button shadow enhancement */
#blog-hero .btn--cta-demo {
  box-shadow: 0 10px 40px rgba(99, 102, 241, 0.35);
}

@media (max-width: 768px) {
  #blog-hero {
    min-height: 60vh;
    padding-top: 8rem;
    padding-bottom: 4rem;
  }

  #blog-hero .blog-hero-title {
    font-size: clamp(2.8rem, 12vw, 3.5rem);
  }
}
