/* MyWaqf teal-blue full-photo overlay, scoped to the two hero slides.
   Independent override: no change to other storefronts, buttons, or modal flows. */
.hero.hero-carousel{
  position:relative!important;
  display:block!important;
  width:min(1220px,calc(100% - 40px))!important;
  max-width:1220px!important;
  margin:28px auto 32px!important;
  padding:0!important;
  border-radius:26px!important;
  background:#087f95!important;
  overflow:hidden!important;
}
.hero.hero-carousel>.hero-slide{
  position:relative!important;
  display:none!important;
  width:100%!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
  background:#087f95!important;
}
.hero.hero-carousel>.hero-slide.active{display:block!important}
.hero.hero-carousel>.hero-slide>.hero-visual{
  position:absolute!important;
  inset:0!important;
  z-index:0!important;
  display:block!important;
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  overflow:hidden!important;
  pointer-events:none!important;
}
.hero.hero-carousel>.hero-slide>.hero-visual>.hero-image{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  background-size:cover!important;
  background-position:center 48%!important;
}
.hero.hero-carousel>.hero-slide>.hero-visual::after{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  z-index:1!important;
  background:linear-gradient(105deg,rgba(0,92,117,.78) 0%,rgba(0,136,157,.55) 50%,rgba(0,119,145,.28) 100%)!important;
  opacity:1!important;
}
.hero.hero-carousel>.hero-slide>.hero-copy{
  position:relative!important;
  z-index:2!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:center!important;
  width:100%!important;
  max-width:790px!important;
  min-width:0!important;
  height:auto!important;
  min-height:500px!important;
  margin:0!important;
  padding:30px clamp(26px,5.5vw,70px) 58px!important;
  box-sizing:border-box!important;
  color:#fff!important;
  overflow:visible!important;
}
.hero.hero-carousel>.hero-slide>.hero-copy h1{
  max-width:700px!important;
  height:auto!important;
  line-height:1.12!important;
  font-size:clamp(34px,4vw,50px)!important;
  color:#fff!important;
  overflow:visible!important;
  white-space:normal!important;
  overflow-wrap:break-word!important;
}
.hero.hero-carousel>.hero-slide>.hero-copy h1 em{color:#d4fff4!important}
.hero.hero-carousel>.hero-slide>.hero-copy>p{color:#fff!important;max-width:590px!important}
.hero.hero-carousel>.hero-slide>.hero-copy .hero-fund{
  background:rgba(0,94,116,.32)!important;
  border:1px solid rgba(226,255,255,.45)!important;
  color:#fff!important;
}
.hero.hero-carousel>.hero-slide>.hero-copy .hero-fund :is(span,small,strong){color:#fff!important}
.hero.hero-carousel>.hero-slide>.hero-copy .hero-actions{display:flex!important;flex-wrap:wrap!important;gap:12px!important}
.hero.hero-carousel>.hero-slide .hero-orbit,
.hero.hero-carousel>.hero-slide .hero-float,
.hero.hero-carousel>.hero-slide .hero-caption{display:none!important}
.hero.hero-carousel .hero-controls{
  position:absolute!important;z-index:6!important;
  left:auto!important;right:24px!important;bottom:16px!important;
}
@media(max-width:900px){
  .hero.hero-carousel{width:calc(100% - 28px)!important;margin:16px auto 24px!important;border-radius:21px!important}
  .hero.hero-carousel>.hero-slide{min-height:0!important;height:auto!important}
  .hero.hero-carousel>.hero-slide>.hero-copy{
    width:100%!important;max-width:none!important;
    min-height:0!important;height:auto!important;
    justify-content:flex-start!important;
    padding:28px 30px 64px!important;
  }
  .hero.hero-carousel>.hero-slide>.hero-copy h1{font-size:clamp(30px,6.4vw,44px)!important;line-height:1.15!important}
  .hero.hero-carousel>.hero-slide>.hero-visual::after{
    background:linear-gradient(180deg,rgba(0,105,127,.65) 0%,rgba(0,134,155,.55) 55%,rgba(0,97,119,.72) 100%)!important;
  }
}
@media(max-width:620px){
  .hero.hero-carousel{width:calc(100% - 24px)!important;margin:14px auto 22px!important;border-radius:19px!important}
  .hero.hero-carousel>.hero-slide,.hero.hero-carousel>.hero-slide.active{
    height:auto!important;min-height:0!important;max-height:none!important;
    overflow:hidden!important;
  }
  .hero.hero-carousel>.hero-slide>.hero-copy{
    position:relative!important;
    display:flex!important;flex-direction:column!important;
    justify-content:flex-start!important;align-items:flex-start!important;
    width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;
    padding:26px 20px 66px!important;
  }
  .hero.hero-carousel>.hero-slide>.hero-copy>*{flex-shrink:0!important;max-height:none!important}
  .hero.hero-carousel>.hero-slide>.hero-copy h1{
    display:block!important;
    width:100%!important;max-width:100%!important;
    height:auto!important;min-height:0!important;max-height:none!important;
    font-size:clamp(27px,7vw,33px)!important;
    line-height:1.16!important;
    white-space:normal!important;
    overflow:visible!important;
    overflow-wrap:break-word!important;
    margin:8px 0 14px!important;
  }
  .hero.hero-carousel>.hero-slide>.hero-copy>p{
    width:100%!important;max-width:100%!important;
    height:auto!important;font-size:13px!important;line-height:1.6!important;
    margin:0 0 16px!important;
  }
  .hero.hero-carousel>.hero-slide>.hero-copy .hero-fund{
    width:100%!important;max-width:100%!important;height:auto!important;
    padding:12px 14px!important;margin:0 0 16px!important;
  }
  .hero.hero-carousel>.hero-slide>.hero-copy .hero-actions{width:100%!important;height:auto!important;margin:0!important}
  .hero.hero-carousel>.hero-slide>.hero-visual,
  .hero.hero-carousel>.hero-slide>.hero-visual>.hero-image{min-height:0!important;height:100%!important;inset:0!important}
  .hero.hero-carousel .hero-controls{bottom:14px!important;left:20px!important;right:20px!important}
}
