.program-page {
  background: #fff;
}

.program-header {
  position: relative;
  z-index: 20;
  background: #fff;
}

.program-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
}

.program-nav__actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.back-link {
  padding: 10px 16px;
  color: #333;
  font-size: 15px;
}

.back-link::before {
  content: "← ";
  color: var(--gold);
}

.program-hero {
  position: relative;
  min-height: clamp(500px, 66vh, 720px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
  background: #222;
}

.program-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.program-gallery {
  padding: 36px 0;
  background: #f4f3ef;
}

.program-hero--slideshow .program-gallery__controls {
  z-index: 2;
}

.program-hero--slideshow > img {
  object-position: center 55%;
}

.program-gallery__frame {
  position: relative;
  height: min(65vh, 620px);
  min-height: 280px;
  background: #262626;
}

.program-gallery__frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.program-gallery__controls {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  color: white;
  background: rgba(0, 0, 0, .75);
}

.program-gallery__controls button {
  width: 40px;
  height: 40px;
  border: 0;
  color: inherit;
  background: transparent;
  font-size: 20px;
  cursor: pointer;
}

.program-gallery__controls button:focus-visible {
  outline: 2px solid white;
}

.program-gallery__controls span {
  min-width: 54px;
  text-align: center;
  font-size: 14px;
}

.program-hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 15%, rgba(0, 0, 0, 0.76) 100%);
}

.program-hero__content {
  position: relative;
  z-index: 1;
  padding-bottom: 70px;
}

.program-kicker {
  margin: 0 0 12px;
  color: #e3c892;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.program-hero h1 {
  max-width: 900px;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(46px, 7vw, 88px);
  line-height: 1.05;
  letter-spacing: 0;
}

.program-summary {
  max-width: 780px;
  margin: 24px 0 0;
  font-size: 19px;
  line-height: 1.85;
}

.program-jump {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid #e8e8e8;
  background: rgba(255, 255, 255, 0.96);
}

.program-jump .shell {
  display: flex;
  gap: 34px;
  min-height: 64px;
  align-items: center;
  overflow-x: auto;
}

.program-jump a {
  flex: 0 0 auto;
  color: #555;
  font-size: 15px;
  font-weight: 600;
}

.program-jump a:hover {
  color: var(--gold-dark);
}

.program-section {
  scroll-margin-top: 70px;
  padding: 90px 0;
}

.program-section:nth-child(even) {
  background: #f5f5f3;
}

body[data-program="meditation"] #section-1 {
  background: linear-gradient(rgba(255, 255, 255, .82), rgba(255, 255, 255, .86)), url("assets/program-photos/meditation/IMG_5782.jpg") center / cover no-repeat;
}

body[data-program="meditation"] #section-2 {
  background: linear-gradient(rgba(255, 255, 255, .82), rgba(255, 255, 255, .86)), url("assets/program-photos/meditation/IMG_1155.jpg?v=2") center / cover no-repeat;
}

body[data-program="meditation"] #section-3 {
  background: linear-gradient(rgba(255, 255, 255, .82), rgba(255, 255, 255, .86)), url("assets/program-photos/meditation/IMG_9689.jpg?v=2") center 35% / cover no-repeat;
}

.program-section__grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.75fr) minmax(0, 1.5fr);
  gap: clamp(50px, 8vw, 120px);
}

.program-section__number {
  display: block;
  margin-bottom: 18px;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 20px;
}

.program-section h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.15;
  letter-spacing: 0;
}

.program-section__body > p {
  margin: 0 0 26px;
  color: #444;
  font-size: 18px;
  line-height: 1.9;
}

.program-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 34px;
  border: 1px solid #ddd;
  background: #ddd;
}

.program-point {
  min-height: 160px;
  padding: 28px;
  background: #fff;
}

.program-point h3 {
  margin: 0 0 12px;
  color: #222;
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0;
}

.program-point--expandable summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
}

.program-point--expandable summary::marker {
  color: #aa8748;
}

.program-point--expandable p + p {
  margin-top: 12px;
}

.spiritual-read-more {
  display: inline-block;
  margin-top: 16px;
  color: #98763e;
  font-weight: 700;
  text-decoration: underline;
}

.spiritual-tree {
  margin: 30px 0;
  padding: 24px;
  background: #f4f4f1;
  text-align: center;
}

.spiritual-illustrations {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
  margin: 30px 0;
}

.spiritual-illustrations .spiritual-tree {
  margin: 0;
}

@media (max-width: 600px) {
  .spiritual-illustrations {
    grid-template-columns: 1fr;
  }
}

.spiritual-tree img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 650px;
  margin: 0 auto;
}

.spiritual-tree figcaption {
  margin-top: 16px;
  color: #667078;
  font-size: 14px;
  line-height: 1.6;
}

.spiritual-tree figcaption a {
  text-decoration: underline;
}

.program-point p {
  margin: 0;
  color: #666;
  font-size: 15px;
  line-height: 1.75;
}

.program-note {
  margin-top: 32px;
  padding: 22px 26px;
  border-left: 3px solid var(--gold);
  color: #555;
  background: #f7f3eb;
  font-size: 15px;
  line-height: 1.8;
}

.program-next {
  padding: 72px 0;
  color: #fff;
  background: #343434;
}

.program-next__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.program-next p {
  margin: 0 0 10px;
  color: #c8b58f;
  font-size: 14px;
}

.program-next h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 46px);
  letter-spacing: 0;
}

.program-next a {
  flex: 0 0 auto;
  padding: 14px 24px;
  border: 1px solid #b9985d;
  color: #fff;
}

.program-footer {
  padding: 25px 0;
  color: #ddd;
  background: #222;
}

.program-footer .shell {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.program-footer p {
  margin: 0;
}

.program-footer a {
  color: #d6bd8b;
}

html[lang="en-US"] .program-hero h1,
html[lang="en-US"] .program-section h2,
html[lang="en-US"] .program-point h3,
html[lang="en-US"] .program-next h2 {
  font-family: "Playfair Display", Georgia, serif;
}

@media (max-width: 760px) {
  .program-header .topbar {
    display: none;
  }

  .program-nav {
    min-height: 76px;
  }

  .program-nav .brand,
  .program-nav .brand img {
    width: 210px;
    min-width: 0;
    height: auto;
  }

  .back-link {
    display: none;
  }

  .program-hero {
    min-height: 570px;
  }

  .program-hero__content {
    padding-bottom: 48px;
  }

  .program-summary {
    font-size: 16px;
    line-height: 1.75;
  }

  .program-jump .shell {
    gap: 24px;
  }

  .program-section {
    padding: 64px 0;
  }

  .program-section__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .program-points {
    grid-template-columns: 1fr;
  }

  .program-next__inner,
  .program-footer .shell {
    align-items: flex-start;
    flex-direction: column;
  }
}
