/* Sunlit Canopy Liquid Canvas for Volunteer Hero */
.page-volunteer .hero-banner-clean {
  position: relative;
  min-height: clamp(520px, 74vh, 760px);
  padding: 150px 0 60px;
  overflow: hidden;
  background: #020703;
  contain: layout paint;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

@media (max-width: 768px) {
  .page-volunteer .hero-banner-clean {
    min-height: 480px;
    padding: 125px 0 50px;
  }
}

/* Remove 1px dividing border so blend mask feathers seamlessly into body wrap */
.page-volunteer .hero-banner-clean::after {
  display: none !important;
}

/* WebGL Canvas */
#volunteer-fluid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 1;
  pointer-events: none;
  touch-action: none;
}

/* Deepened Soft Ambient Vignette matching source */
.volunteer-vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(circle at 50% 36%, transparent 30%, rgba(2, 7, 3, 0.75) 100%);
}

/* Seamless Optical Feather Mask fading into #020703 */
.volunteer-bottom-blend-mask {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 170px;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(to bottom, 
    rgba(2, 7, 3, 0) 0%, 
    rgba(2, 7, 3, 0.22) 28%, 
    rgba(2, 7, 3, 0.78) 72%, 
    #020703 100%
  );
  transform: translateZ(0);
}

/* Interactive Hero Content elevated above canvas, vignette, and mask */
.page-volunteer .hero-banner-clean .hero-content {
  position: relative;
  z-index: 5;
  pointer-events: auto;
  max-width: 820px;
  margin: 0 auto;
}

.page-volunteer .hero-banner-clean h1 {
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.95), 0 2px 8px rgba(0, 0, 0, 0.85);
}

.page-volunteer .hero-banner-clean p {
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.95), 0 1px 6px rgba(0, 0, 0, 0.85);
  color: rgba(255, 255, 255, 0.95) !important;
}

/* Tighter transition into Core Prerequisites and Specialized Departments */
.page-volunteer .section-enrollment {
  padding-top: 1.75rem;
}

.page-volunteer .section-enrollment .volunteer-grid {
  margin-top: 0.75rem;
}

/* Fallback video management */
.page-volunteer .hero-banner-clean .volunteer-fluid-bg {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 0 !important;
  pointer-events: none !important;
  opacity: 0.95;
  object-fit: cover;
}

.page-volunteer .hero-banner-clean.has-webgl .volunteer-fluid-bg {
  display: none !important;
}
