/* Work page accents. Loaded after the shared stylesheet. */
.work-ministries .detail {
  scroll-margin-top:100px;
  border:1px solid rgba(7,63,61,.13);
  border-top:4px solid var(--c);
  border-radius:8px;
  background:var(--work-wash);
}
.work-ministries .detail.t-spirit   {--work-wash:#edf3f9}
.work-ministries .detail.t-intellect{--work-wash:#fbf4e7}
.work-ministries .detail.t-emotion  {--work-wash:#fbf0f1}
.work-ministries .detail.t-earth    {--work-wash:#eaf3ee}
.work-ministries .detail .n{color:var(--c-ink)}
.work-ministries .detail .facts{border-top-color:rgba(7,63,61,.16)}

.work-ministries .detail,
.work-ministries .detail:nth-of-type(even){
  grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);
  grid-template-rows:auto auto auto;
  column-gap:clamp(24px,4vw,52px);
  row-gap:0;
  padding:clamp(20px,3vw,36px);
}
.work-ministries .detail > .work-heading{
  grid-column:1 / -1;
  grid-row:1;
  margin-bottom:24px;
}
.work-ministries .detail .work-heading h2{
  max-width:26ch;
  margin:8px 0 0;
  font-size:clamp(28px,3vw,38px);
}
.work-ministries .detail > .work-gallery,
.work-ministries .detail:nth-of-type(even) > .work-gallery{
  grid-column:1 / -1;
  grid-row:2;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:16px;
  aspect-ratio:auto;
}
.work-ministries .detail .work-gallery__image{
  width:100%;
  height:auto;
  aspect-ratio:16/10;
  object-fit:cover;
}
#outreach .work-gallery__image:last-child{object-position:center 70%}
.work-ministries .detail > .txt,
.work-ministries .detail:nth-of-type(even) > .txt{
  grid-column:1;
  grid-row:3;
  order:0;
  margin-top:28px;
}
.work-ministries .detail > .txt > p:first-child{margin-top:0}
.work-ministries .detail > .facts{
  grid-column:2;
  grid-row:3;
  display:block;
  margin-top:28px;
  padding-top:0;
  border-top:0;
}
.work-ministries .detail > .facts li{max-width:none}

@media (max-width:760px){
  .work-ministries .detail,
  .work-ministries .detail:nth-of-type(even){grid-template-columns:minmax(0,1fr)}
  .work-ministries .detail > .work-gallery,
  .work-ministries .detail:nth-of-type(even) > .work-gallery{
    grid-column:1;
    grid-template-columns:minmax(0,1fr);
    gap:12px;
  }
  .work-ministries .detail .work-gallery__image{aspect-ratio:4/3}
  .work-ministries .detail > .txt,
  .work-ministries .detail:nth-of-type(even) > .txt{grid-column:1;grid-row:3;margin-top:24px}
  .work-ministries .detail > .facts{grid-column:1;grid-row:4;margin-top:22px;padding-top:18px;border-top:1px solid rgba(7,63,61,.16)}
  .k-phead.work-banner{
    background-position:center,center bottom;
    background-size:cover,auto 118%;
  }
}

#healing .work-gallery--healing{
  grid-template-columns:repeat(6,minmax(0,1fr));
  align-items:start;
}
#healing .work-gallery--healing .work-gallery__image{
  grid-column:span 2;
  aspect-ratio:3/4;
  object-position:center;
}
#healing .work-gallery--healing .work-gallery__image--landscape{
  grid-column:span 3;
  aspect-ratio:4/3;
}
#healing .work-gallery--healing .work-gallery__image--building{object-position:left center}
@media (max-width:760px){
  #healing .work-gallery--healing{grid-template-columns:minmax(0,1fr)}
  #healing .work-gallery--healing .work-gallery__image{grid-column:1;width:min(100%,480px);justify-self:center}
  #healing .work-gallery--healing .work-gallery__image--building{aspect-ratio:16/9}
}

section.work-one-health{
  padding:76px 0 66px;
  background:#103c35;
  color:#eef6f1;
}
.work-one-health-intro{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,.9fr);
  gap:clamp(36px,6vw,90px);
  align-items:end;
  margin-bottom:46px;
}
.work-one-health .eyebrow{color:#b3dac5}
.work-one-health .eyebrow::before{background:#a7d5b9}
.work-one-health h2{max-width:16ch;margin:0;color:#fff;font-size:clamp(38px,4vw,58px);line-height:1.12}
.work-one-health-copy p{max-width:55ch;color:#e0ede6}
.work-one-health-copy p:last-child{margin-bottom:0}
.work-one-health-photo{margin:0;min-width:0}
.work-one-health-photo img{
  display:block;
  width:100%;
  height:clamp(360px,43vw,560px);
  object-fit:cover;
  object-position:center top;
}
.work-one-health-photo figcaption{
  margin-top:12px;
  color:#b3cfc0;
  font-size:12px;
  line-height:1.4;
}

section.work-club{
  background:#f9f5f3;
}
.work-club-layout{
  display:grid;
  grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);
  gap:clamp(36px,6vw,88px);
  align-items:center;
}
.work-club-photo{margin:0;min-width:0}
.work-club-photo img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover}
.work-club h2{margin:0 0 22px;font-size:clamp(36px,3.6vw,52px);line-height:1.12}
.work-club p:last-child{max-width:43ch;margin-bottom:0}
.work-club .inline-link{color:#8f1727;font-weight:600}

@media (max-width:860px){
  .work-ministries .detail{scroll-margin-top:12px}
  .work-one-health-intro{grid-template-columns:minmax(0,1fr);gap:22px}
  .work-club-layout{grid-template-columns:minmax(0,1fr);gap:30px}
  .work-club-photo img{max-height:420px}
}
@media (max-width:620px){
  section.work-one-health{padding:56px 0 48px}
  .work-one-health-intro{margin-bottom:30px}
  .work-one-health h2{font-size:clamp(34px,9vw,42px)}
  .work-one-health-photo img{height:auto;aspect-ratio:4/3;object-position:center 35%}
}
