/* First Light 0.5.58: distinct page templates and institutional fundraising UI. */
:root{
  --fls58-navy:#0B1644;
  --fls58-blue:#4D67AF;
  --fls58-pink:#EF8394;
  --fls58-ink:#243150;
  --fls58-muted:#66708A;
  --fls58-cream:#FAF7F5;
  --fls58-lilac:#EDEFF7;
  --fls58-line:rgba(11,22,68,.14);
  --fls58-max:1240px;
}

/* Remove the ornamental v0.5.57 treatment on pages now governed by real templates. */
body.fls-v0558-page .fls-hero:before,
body.fls-v0558-page .fls-hero:after,
body.fls-v0558-page .fls-info-box[data-fls-position]:before{display:none!important}
body.fls-v0558-page .fls-hero{
  min-height:0;
  padding:clamp(44px,6vw,88px);
  background:transparent;
  border:0;
  box-shadow:none;
}
body.fls-v0558-page .fls-hero .fls-stack-kicker{
  margin-bottom:14px;
  color:var(--fls58-blue);
  font-size:.76rem;
  font-weight:800;
  letter-spacing:.16em;
  text-transform:uppercase;
}
body.fls-v0558-page .fls-hero .fls-stack-heading{
  max-width:800px;
  margin:0 0 .32em;
  color:var(--fls58-navy);
  font-size:clamp(2.8rem,5.6vw,5.8rem);
  line-height:.96;
  letter-spacing:-.045em;
}
body.fls-v0558-page .fls-hero .fls-stack-copy{
  max-width:690px;
  color:var(--fls58-ink);
  font-size:clamp(1.04rem,1.55vw,1.24rem);
  line-height:1.68;
}
body.fls-v0558-page .fls-hero .fls-stack-actions{margin-top:28px}
body.fls-v0558-page .fls-button,
body.fls-v0558-page .fls-stack-action-primary,
body.fls-v0558-page .fls-stack-action-secondary{
  border-radius:0!important;
  font-weight:800;
}

.fls-v0558-hero-row>.fl-row-content-wrap>.fl-row-content,
.fls-v0558-body-row>.fl-row-content-wrap>.fl-row-content{max-width:var(--fls58-max)}
.fls-v0558-hero-media>.fl-col-content{height:100%;min-height:clamp(360px,48vw,640px);padding:0!important}
/* Beaver/PowerPack owns image geometry and crop. */
.fls-v0558-hero-media img{display:block;max-width:100%;height:auto}
.fls-v0558-hero-copy>.fl-col-content{display:flex;align-items:center;height:100%}
.fls-v0558-hero-copy>.fl-col-content>.fl-module{width:100%}

body.fls-v0558-page .fls-v0558-section .fls-info-box[data-fls-position],
body.fls-v0558-page .fls-v0558-section .fls-info-box{
  margin:0;
  padding:0;
  background:transparent;
  border:0;
  box-shadow:none;
  overflow:visible;
}
body.fls-v0558-page .fls-v0558-section .fls-stack-kicker{
  color:var(--fls58-blue);
  font-size:.74rem;
  font-weight:800;
  letter-spacing:.13em;
  text-transform:uppercase;
}
body.fls-v0558-page .fls-v0558-section .fls-stack-heading{
  color:var(--fls58-navy);
  font-size:clamp(1.8rem,3vw,3rem);
  line-height:1.06;
  letter-spacing:-.025em;
}
body.fls-v0558-page .fls-v0558-section .fls-stack-copy{
  color:var(--fls58-ink);
  line-height:1.72;
}
body.fls-v0558-page .fls-v0558-section .fls-stack-item{
  margin-top:18px;
  padding:20px 0 0;
  background:transparent;
  border:0;
  border-top:1px solid var(--fls58-line);
}
body.fls-v0558-page .fls-v0558-section .fls-stack-item:before{display:none}
.fls-v0558-supporting-photo img{display:block;max-width:100%;height:auto}
.fls-v0558-tail-group{margin-top:clamp(42px,6vw,84px)}

/* Program & Support: image-led hero, long-form main column, persistent visual rail. */
body.fls-layout-program .fls-v0558-program-main>.fl-col-content{padding-right:clamp(26px,5vw,72px)}
body.fls-layout-program .fls-v0558-program-rail>.fl-col-content{padding-left:clamp(12px,2vw,30px)}
body.fls-layout-program .fls-v0558-program-rail .fls-v0558-supporting-photo{position:sticky;top:118px}
body.fls-layout-program .fls-v0558-section{
  margin:0!important;
  padding:clamp(30px,4vw,50px) 0;
  border-bottom:1px solid var(--fls58-line);
}
body.fls-layout-program .fls-v0558-program-main .fls-v0558-section:first-child{padding-top:0}
body.fls-layout-program .fls-v0558-tail-group>.fl-col-group>.fl-col>.fl-col-content{
  padding:clamp(34px,5vw,58px);
  background:var(--fls58-lilac);
}
body.fls-layout-program.fls-page-donate .fls-v0558-program-rail{display:none}
body.fls-layout-program.fls-page-donate .fls-v0558-program-main{width:100%!important;max-width:900px;margin:0 auto;float:none}

/* Partnership & Action: dark institutional hero and a genuine 2x2 action grid. */
body.fls-layout-partner .fls-v0558-hero-row--partner .fls-hero .fls-stack-kicker{color:#F4A7B3}
body.fls-layout-partner .fls-v0558-hero-row--partner .fls-hero .fls-stack-heading,
body.fls-layout-partner .fls-v0558-hero-row--partner .fls-hero .fls-stack-copy{color:#fff}
body.fls-layout-partner .fls-v0558-grid-column>.fl-col-content{display:flex;flex-direction:column;gap:24px;padding:0 12px}
body.fls-layout-partner .fls-v0558-grid-column .fls-v0558-section{
  height:100%;
  margin:0!important;
  padding:clamp(28px,4vw,44px)!important;
  background:#fff;
  border:1px solid var(--fls58-line);
  border-top:4px solid var(--fls58-blue);
  box-shadow:0 16px 44px rgba(11,22,68,.055);
}
body.fls-layout-partner .fls-v0558-grid-column--right .fls-v0558-section{border-top-color:var(--fls58-pink)}
body.fls-layout-partner .fls-v0558-group--partner-rest>.fl-col{
  max-width:940px;
  margin:clamp(52px,7vw,92px) auto 0;
  float:none;
}
body.fls-layout-partner .fls-v0558-group--partner-rest .fls-v0558-section{
  margin:0!important;
  padding:clamp(32px,4vw,52px) 0!important;
  border-bottom:1px solid var(--fls58-line);
}
body.fls-layout-partner .fls-v0558-group--partner-rest .fls-v0558-supporting-photo{margin-top:36px}

/* Impact & Accountability: proof first, then deeper evidence in a split band. */
body.fls-layout-impact .fls-v0558-proof-column>.fl-col-content{height:100%;padding:0 10px}
body.fls-layout-impact .fls-v0558-proof-column .fls-v0558-section{
  height:100%;
  margin:0!important;
  padding:clamp(26px,3.2vw,40px)!important;
  background:#fff;
  border:1px solid var(--fls58-line);
}
body.fls-layout-impact .fls-v0558-proof-column .fls-stack-heading{font-size:clamp(1.65rem,2.4vw,2.35rem)}
body.fls-layout-impact .fls-v0558-group--impact-middle{margin-top:clamp(34px,5vw,64px)}
body.fls-layout-impact .fls-v0558-split-column>.fl-col-content{height:100%;padding:clamp(28px,4vw,48px);background:#fff}
body.fls-layout-impact .fls-v0558-split-column--right>.fl-col-content{background:var(--fls58-navy)}
body.fls-layout-impact .fls-v0558-split-column--right .fls-stack-kicker{color:#F4A7B3}
body.fls-layout-impact .fls-v0558-split-column--right .fls-stack-heading,
body.fls-layout-impact .fls-v0558-split-column--right .fls-stack-copy{color:#fff}

/* Story & Editorial: narrow reading measure with an independent visual rail. */
body.fls-layout-editorial .fls-v0558-hero-row--editorial{border-bottom:1px solid var(--fls58-line)}
body.fls-layout-editorial .fls-v0558-editorial-main>.fl-col-content{padding-right:clamp(28px,5vw,74px)}
body.fls-layout-editorial .fls-v0558-editorial-main .fls-v0558-section{
  max-width:760px;
  margin:0 0 clamp(44px,6vw,78px)!important;
}
body.fls-layout-editorial .fls-v0558-editorial-rail .fls-v0558-supporting-photo{position:sticky;top:118px}
body.fls-layout-editorial .fls-v0558-group--editorial-feature{
  margin-top:clamp(34px,5vw,64px);
  padding:clamp(36px,5vw,64px);
  background:var(--fls58-cream);
}
body.fls-layout-editorial .fls-v0558-group--editorial-feature>.fl-col{max-width:920px;margin:0 auto;float:none}
body.fls-layout-editorial.fls-page-faqs .fls-v0558-hero-media{display:none}
body.fls-layout-editorial.fls-page-faqs .fls-v0558-hero-copy{width:100%!important;max-width:920px;margin:0 auto;float:none}

/* Homepage fundraising: a serious split-section, not a donation-page card dropped into Home. */
body.fls-v0558-home .fls-home-give>.fl-row-content-wrap{padding:clamp(56px,7vw,104px) 24px!important}
body.fls-v0558-home .fls-home-give>.fl-row-content-wrap>.fl-row-content{max-width:var(--fls58-max)}
body.fls-v0558-home .fls-home-give .fl-col-group{display:flex;align-items:stretch}
body.fls-v0558-home .fls-home-give__visual>.fl-col-content{height:100%;margin:0!important}
body.fls-v0558-home .fls-home-give__image img{
  display:block;
  max-width:100%;
  height:auto;
  filter:saturate(.88) contrast(1.03);
}
body.fls-v0558-home .fls-home-give__content>.fl-col-content{height:100%;padding:0!important;background:#fff}
body.fls-v0558-home .fls-home-give__card{height:100%}
body.fls-v0558-home .fls-home-give__card>.fl-module-content{height:100%;margin:0!important}
body.fls-v0558-home .fls-home-give__card .pp-infobox{
  height:100%;
  padding:clamp(38px,5vw,66px);
  background:#fff;
  text-align:left!important;
  border:0;
  box-shadow:none;
}
body.fls-v0558-home .fls-home-give__card .pp-infobox-title-prefix{
  margin:0 0 12px;
  color:var(--fls58-blue)!important;
  font-size:.74rem;
  font-weight:800;
  letter-spacing:.16em;
  text-transform:uppercase;
}
body.fls-v0558-home .fls-home-give__card .pp-infobox-title{
  max-width:620px;
  margin:0 0 18px!important;
  color:var(--fls58-navy)!important;
  font-size:clamp(2.25rem,4.2vw,4.2rem)!important;
  line-height:.98!important;
  letter-spacing:-.04em;
}
body.fls-v0558-home .fls-home-give__card .pp-infobox-description>p:first-child{
  max-width:610px;
  margin:0 0 22px;
  color:var(--fls58-ink);
  font-size:1.03rem;
  line-height:1.65;
}
body.fls-v0558-home .fls-home-give__proof{
  display:flex;
  flex-wrap:wrap;
  gap:0;
  margin:0 0 28px;
  padding:14px 0;
  border-top:1px solid var(--fls58-line);
  border-bottom:1px solid var(--fls58-line);
}
body.fls-v0558-home .fls-home-give__proof span{
  color:var(--fls58-navy);
  font-size:.78rem;
  font-weight:800;
  letter-spacing:.05em;
  text-transform:uppercase;
}
body.fls-v0558-home .fls-home-give__proof span+span:before{content:"/";margin:0 12px;color:var(--fls58-pink)}

body.fls-v0558-home .fls-home-give .fls-donation-v0557{
  max-width:none;
  margin:0;
  padding:0;
  isolation:auto;
}
body.fls-v0558-home .fls-home-give .fls-donation__orb,
body.fls-v0558-home .fls-home-give .fls-donation__intro,
body.fls-v0558-home .fls-home-give .fls-donation__panel:after{display:none!important}
body.fls-v0558-home .fls-home-give .fls-donation__panel{
  padding:0;
  background:transparent;
  border:0;
  box-shadow:none;
  overflow:visible;
}
body.fls-v0558-home .fls-home-give .fls-donation__form{max-width:none;margin:0}
body.fls-v0558-home .fls-home-give .fls-donation fieldset{border:0;padding:0;margin:0 0 18px}
body.fls-v0558-home .fls-home-give .fls-donation__frequency{
  display:grid;
  grid-template-columns:1fr 1fr;
  border:1px solid var(--fls58-line);
}
body.fls-v0558-home .fls-home-give .fls-donation__frequency label,
body.fls-v0558-home .fls-home-give .fls-donation__amount-grid label{position:relative;margin:0}
body.fls-v0558-home .fls-home-give .fls-donation__frequency input,
body.fls-v0558-home .fls-home-give .fls-donation__amount-grid input{position:absolute;opacity:0;pointer-events:none}
body.fls-v0558-home .fls-home-give .fls-donation__frequency span{
  display:block;
  padding:12px 16px;
  color:var(--fls58-navy);
  font-size:.86rem;
  font-weight:800;
  text-align:center;
  cursor:pointer;
}
body.fls-v0558-home .fls-home-give .fls-donation__frequency label+label span{border-left:1px solid var(--fls58-line)}
body.fls-v0558-home .fls-home-give .fls-donation__frequency input:checked+span{background:var(--fls58-navy);color:#fff}
body.fls-v0558-home .fls-home-give .fls-donation__amounts legend{margin:0 0 9px;color:var(--fls58-navy);font-size:.9rem;font-weight:800}
body.fls-v0558-home .fls-home-give .fls-donation__amount-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
body.fls-v0558-home .fls-home-give .fls-donation__amount-grid span{
  display:block;
  padding:14px 8px;
  border:1px solid var(--fls58-line);
  color:var(--fls58-navy);
  background:#fff;
  font-weight:850;
  text-align:center;
  cursor:pointer;
}
body.fls-v0558-home .fls-home-give .fls-donation__amount-grid input:checked+span{background:var(--fls58-blue);border-color:var(--fls58-blue);color:#fff}
body.fls-v0558-home .fls-home-give .fls-donation__custom{
  display:grid;
  grid-template-columns:auto 1fr;
  align-items:center;
  margin-top:8px;
  padding-left:13px;
  border:1px solid var(--fls58-line);
}
body.fls-v0558-home .fls-home-give .fls-donation__custom-label{color:var(--fls58-navy);font-size:.84rem;font-weight:700}
body.fls-v0558-home .fls-home-give .fls-donation__custom-control{display:flex;align-items:center;justify-content:flex-end}
body.fls-v0558-home .fls-home-give .fls-donation__custom input{width:100%;border:0;padding:12px 12px 12px 6px;background:transparent}
body.fls-v0558-home .fls-home-give .fls-donation__dedication{margin:0 0 14px;padding:11px 0;border-top:1px solid var(--fls58-line);border-bottom:1px solid var(--fls58-line)}
body.fls-v0558-home .fls-home-give .fls-donation__dedication summary{color:var(--fls58-navy);font-size:.86rem;font-weight:800;cursor:pointer}
body.fls-v0558-home .fls-home-give .fls-donation__dedication label{display:block;margin:10px 0 5px;color:var(--fls58-ink);font-size:.8rem}
body.fls-v0558-home .fls-home-give .fls-donation__dedication input{width:100%;padding:10px 11px;border:1px solid var(--fls58-line)}
body.fls-v0558-home .fls-home-give .fls-donation__submit{
  width:100%;
  padding:15px 20px;
  border:0;
  background:var(--fls58-pink);
  color:var(--fls58-navy);
  font:inherit;
  font-weight:900;
  cursor:pointer;
}
body.fls-v0558-home .fls-home-give .fls-donation__security,
body.fls-v0558-home .fls-home-give .fls-donation__tax{margin:8px 0 0;color:var(--fls58-muted);font-size:.72rem;line-height:1.45;text-align:left}
body.fls-v0558-home .fls-home-give .fls-donation__tax{margin-top:2px}
body.fls-v0558-home .fls-home-give .fls-donation__not-ready{min-height:260px;padding:28px;background:var(--fls58-cream);text-align:left}
body.fls-v0558-home .fls-home-give .fls-donation__not-ready:before,
body.fls-v0558-home .fls-home-give .fls-donation__not-ready:after,
body.fls-v0558-home .fls-home-give .fls-donation__not-ready-mark{display:none}

@media(max-width:900px){
  .fls-v0558-hero-row .fl-col-group,
  .fls-v0558-body-row>.fl-row-content-wrap>.fl-row-content>.fl-col-group,
  body.fls-v0558-home .fls-home-give .fl-col-group{display:block}
  .fls-v0558-hero-media,
  .fls-v0558-hero-copy,
  .fls-v0558-program-main,
  .fls-v0558-program-rail,
  .fls-v0558-grid-column,
  .fls-v0558-proof-column,
  .fls-v0558-editorial-main,
  .fls-v0558-editorial-rail,
  .fls-v0558-split-column,
  body.fls-v0558-home .fls-home-give__visual,
  body.fls-v0558-home .fls-home-give__content{width:100%!important;float:none!important}
  .fls-v0558-hero-media>.fl-col-content{min-height:360px}
  .fls-v0558-hero-media img{min-height:360px;max-height:520px}
  body.fls-layout-program .fls-v0558-program-main>.fl-col-content,
  body.fls-layout-program .fls-v0558-program-rail>.fl-col-content,
  body.fls-layout-editorial .fls-v0558-editorial-main>.fl-col-content{padding-left:0;padding-right:0}
  body.fls-layout-program .fls-v0558-program-rail .fls-v0558-supporting-photo,
  body.fls-layout-editorial .fls-v0558-editorial-rail .fls-v0558-supporting-photo{position:static;margin-top:38px}
  body.fls-layout-partner .fls-v0558-grid-column>.fl-col-content,
  body.fls-layout-impact .fls-v0558-proof-column>.fl-col-content{padding:0 0 20px}
  body.fls-v0558-home .fls-home-give__image img{min-height:420px;max-height:540px}
}

@media(max-width:640px){
  body.fls-v0558-page .fls-hero{padding:36px 22px}
  body.fls-v0558-page .fls-hero .fls-stack-heading{font-size:clamp(2.45rem,12vw,4rem)}
  body.fls-v0558-home .fls-home-give>.fl-row-content-wrap{padding:42px 16px!important}
  body.fls-v0558-home .fls-home-give__card .pp-infobox{padding:30px 22px}
  body.fls-v0558-home .fls-home-give__card .pp-infobox-title{font-size:clamp(2rem,10vw,3rem)!important}
  body.fls-v0558-home .fls-home-give__proof{display:block}
  body.fls-v0558-home .fls-home-give__proof span{display:block;padding:4px 0}
  body.fls-v0558-home .fls-home-give__proof span+span:before{display:none}
  body.fls-v0558-home .fls-home-give .fls-donation__amount-grid{grid-template-columns:repeat(2,1fr)}
}
