/* =========================================================
   HERO SECTION: 00_encouraging_young_people
   NOTE: Hugo uses urlize → underscores, NOT hyphens
   ========================================================= */

#sec-00_encouraging_young_people {
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  min-height: 400px;

  background-image: var(--section-bg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;

  background-color: transparent !important;
}

/* HERO CONTAINER */
#sec-00_encouraging_young_people .hero-content {
  max-width: 48rem;
  margin-left: 0;
  margin-right: 0;
  padding: 2.5rem 0;
  box-sizing: border-box;
  text-align: left;
}

#sec-00_encouraging_young_people .hero-container {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  width: 100%;
  position: relative;
  z-index: 10;
}

/* MOBILE */
@media (max-width: 600px) {
  #sec-00_encouraging_young_people .hero-container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  #sec-00_encouraging_young_people .hero-content {
    padding: 1.5rem 0;
  }
}

/* SAFETY OVERRIDE */
#sec-00_encouraging_young_people.document-content {
  background-color: transparent !important;
}

/* =========================================================
   OVERLAY
   ========================================================= */

#sec-00_encouraging_young_people .home-gradient-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;

  background: linear-gradient(
    to right,
    #f7f9ff 0%,
    rgba(247, 249, 255, 0.6) 60%,
    rgba(247, 249, 255, 0) 100%
  );

  width: 100%;
  height: 100%;
}

/* stack content above overlay */
#sec-00_encouraging_young_people > *:not(.home-gradient-overlay) {
  position: relative;
  z-index: 2;
}

/* =========================================================
   TYPOGRAPHY
   ========================================================= */

#sec-00_encouraging_young_people .heroheading {
  font-family: 'Plus Jakarta Sans', 'Inter', Arial, sans-serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  color: #161c22;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 2rem;
  text-align: left;
}

#sec-00_encouraging_young_people .heroheading strong,
#sec-00_encouraging_young_people .heroheading b {
  color: #004d99;
  font-style: italic;
  font-weight: 800;
}

#sec-00_encouraging_young_people .heroparagraph {
  font-family: 'Inter', Arial, sans-serif;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  color: #424752;
  max-width: 40rem;
  margin: 0 0 2.5rem 0;
  line-height: 1.6;
  text-align: left;
}

/* =========================================================
   BUTTON
   ========================================================= */

#sec-00_encouraging_young_people a.herobutton {
  display: inline-block;
  background: linear-gradient(135deg, #004d99 0%, #1565c0 100%);
  color: #fff !important;

  padding: 1rem 2rem;
  border-radius: 0.75rem;

  font-family: 'Inter', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.125rem;

  box-shadow: 0 4px 24px rgba(0, 77, 153, 0.12);

  transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;

  margin: 0;
  text-decoration: none !important;
  border: none;
  cursor: pointer;
}

#sec-00_encouraging_young_people a.herobutton:hover {
  opacity: 0.9;
  box-shadow: 0 8px 32px rgba(0, 77, 153, 0.18);
}

#sec-00_encouraging_young_people a.herobutton:active {
  transform: scale(0.98);
}
