/**
 * Homepage Hero - visual update to match provided design
 v2
 * Put this file at: /css/blocks/homepage-hero.css
 */

/* Outer wrapper */
.homepage-hero {
  position: relative;
  text-align: center;
  padding: 80px 20px 80px;
  overflow: hidden;
  box-sizing: border-box;
  min-height: 560px;
  background: url(../../img/pink-bg-gradient.svg) no-repeat center bottom;
  background-size: cover;
}

.homepage-hero .hero-bg img {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: auto;
  z-index: -2;
  pointer-events: none;
}

.hero-content {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
  padding: 0 24px;
  box-sizing: border-box;
  color: #000;
}

/* Heading */
.hero-heading {
  font-family: Inter;
  font-weight: 800;
  font-size: 48px;
  line-height: 116%;
  letter-spacing: -3px;
  text-align: center;
  margin-bottom: 30px;
}

.hero-heading strong {
  color: #A33691;
  font-weight: 800;
  position: relative;
}

.hero-heading strong::after {
  content: '';
  background: url(../../img/underline-purple.svg) no-repeat center bottom;
  width: 221px;
  height: 156px;
  position: absolute;
  left: -15px;
  top: 35px;
}

.hero-description {
  font-family: Inter;
  font-weight: 400;
  font-size: 24px;
  line-height: 128%;
  letter-spacing: -0.3px;
  text-align: center;
  margin-bottom: 44px;
  opacity: 0.7;
}

/* All prompt-box related styles have been moved to template-parts/prompt-box.php */
/* This keeps the CSS co-located with the component for better maintainability */

/* Homepage hero specific responsive adjustments (non-prompt related) */
@media (max-width: 768px) {
  .hero-heading { 
    font-size: 34px; 
  }
  
  .hero-description { 
    font-size: 15px; 
    margin-bottom: 20px;
    line-height: 140% !important;
  }
  
  .homepage-hero { 
    padding-top: 72px; 
    padding-bottom: 72px; 
    min-height: 420px; 
  }
  
  .hero-heading strong::after {
    display: none;
  }
  
  .homepage-hero .hero-content {
    padding: unset;
  }
}