/* Photographic retreat choices and full-view photos supplied for these pages. */
.retreat-program-grid {
  align-items: stretch;
  gap: 30px;
}
.retreat-program.retreat-program--photo {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: 650px;
  overflow: hidden;
  padding: 260px 42px 42px;
  border: 0;
  border-radius: 22px;
  background: var(--forest);
  color: var(--white);
}
.retreat-program--photo .retreat-program-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}
.retreat-program--photo:nth-child(2) .retreat-program-image {
  object-position: 70% 35%;
}
.retreat-program--photo::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(9, 31, 23, .1) 0%, rgba(9, 31, 23, .64) 30%, rgba(9, 31, 23, .86) 55%, rgba(9, 31, 23, .97) 100%);
}
.retreat-program-content {
  width: 100%;
  min-width: 0;
}
.retreat-program--photo .eyebrow {
  margin-bottom: 20px;
  color: #f0f3e8;
}
.retreat-program--photo h3 {
  margin-bottom: 24px;
  font-size: clamp(2.7rem, 4.2vw, 3.55rem);
}
.retreat-program--photo h3 em,
.retreat-program--photo:nth-child(2) h3 em {
  color: var(--gold);
}
.retreat-program--photo p:not(.eyebrow),
.retreat-program--photo:nth-child(2) p:not(.eyebrow),
.retreat-program--photo:nth-child(2) .eyebrow {
  color: #f0f3e8;
}
.retreat-program--photo p:not(.eyebrow) {
  max-width: 100%;
  line-height: 1.75;
}
.retreat-program--photo .button {
  max-width: 100%;
  margin-top: 30px;
  border-radius: 30px;
  text-align: center;
  white-space: normal;
}
.wellness-setting.editorial-grid {
  row-gap: 42px;
}
.wellness-building-photo {
  grid-column: 1 / -1;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}
.wellness-building-photo img,
.volunteer-stay .volunteer-comfort-photo img,
.yujing-station-photo img {
  width: 100%;
  height: auto;
  margin-top: 0;
  border-radius: 4px;
}
.volunteer-stay {
  row-gap: 32px;
}
.volunteer-stay > .volunteer-stay-heading {
  grid-column: 1;
  grid-row: 1;
}
.volunteer-stay > .volunteer-comfort-photo {
  grid-column: 1;
  grid-row: 2;
  max-width: 560px;
  margin: 0;
}
.volunteer-stay > .faq-list {
  grid-column: 2;
  grid-row: 2;
}
.yujing-station-photo {
  width: 100%;
  max-width: 1000px;
  margin: 42px auto 24px;
}
.wellness-building-photo figcaption,
.volunteer-comfort-photo figcaption,
.yujing-station-photo figcaption {
  margin-top: 13px;
  color: var(--muted);
  font-size: .875rem;
  line-height: 1.65;
}
@media (max-width: 1000px) {
  .retreat-program.retreat-program--photo {
    min-height: 650px;
    padding: 240px 29px 34px;
  }
  .retreat-program--photo h3 {
    font-size: 2.9rem;
  }
}
@media (max-width: 760px) {
  .retreat-program-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .retreat-program.retreat-program--photo {
    min-height: 600px;
    padding: 220px 28px 34px;
    border-radius: 18px;
  }
  .retreat-program--photo h3 {
    font-size: clamp(2.5rem, 7.6vw, 3.3rem);
  }
  .retreat-program--photo .button {
    margin-top: 26px;
    padding-inline: 22px;
  }
  .wellness-setting.editorial-grid {
    row-gap: 28px;
  }
  .volunteer-stay {
    row-gap: 27px;
  }
  .volunteer-stay > .volunteer-stay-heading,
  .volunteer-stay > .volunteer-comfort-photo,
  .volunteer-stay > .faq-list {
    grid-column: 1;
    grid-row: auto;
  }
  .yujing-station-photo {
    margin-top: 30px;
  }
}
