.program-section {
  background: #fffdf8;
  color: #173b38;
  border-block: 1px solid #e8e7da;
  scroll-margin-top: 1rem;
}

.program-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .6rem 1.5rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.7rem);
}

.program-heading h2 {
  color: #173b38;
  font-size: clamp(1.65rem, 3.4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -.025em;
}

.program-hours {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin: 0;
  color: #315851;
  font-weight: 650;
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
}

.program-clock {
  display: inline-block;
  position: relative;
  width: 1.1rem;
  height: 1.1rem;
  border: 1.5px solid currentColor;
  border-radius: 50%;
}

.program-clock::before {
  content: "";
  position: absolute;
  width: 29%;
  height: 39%;
  left: 43%;
  bottom: 43%;
  border-bottom: 1.5px solid currentColor;
  border-left: 1.5px solid currentColor;
}

.program-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.2rem, 3.25vw, 2.9rem);
  list-style: none;
  padding: 0;
  margin: 0;
}

.program-step {
  --wash: #eaf3e9;
  --accent: #235c47;
  position: relative;
  min-width: 0;
}

.program-bingo { --wash: #ffede5; --accent: #924432; }
.program-consultation { --wash: #fbefce; --accent: #77561f; }

.program-picture {
  height: clamp(9.1rem, 18vw, 13.75rem);
  display: grid;
  place-items: center;
  background: var(--wash);
  border-radius: 48% 48% 1.2rem 1.2rem / 38% 38% 1.2rem 1.2rem;
  overflow: hidden;
}

.program-picture img {
  width: 96%;
  height: 92%;
  min-height: 0;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.program-copy {
  margin-top: 1.15rem;
}

.program-moment {
  position: relative;
  display: flex;
  align-items: center;
  margin: 0 0 .7rem;
  color: var(--accent);
  font-size: 1rem;
  font-weight: 750;
  line-height: 1.45;
  font-variant-numeric: tabular-nums;
}

.program-moment span {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding-right: .8rem;
  background: #fffdf8;
}

.program-moment span::before {
  content: "";
  width: .64rem;
  height: .64rem;
  flex: none;
  border-radius: 50%;
  background: var(--accent);
}

.program-step:not(:last-child) .program-moment::after {
  content: "";
  position: absolute;
  left: 0;
  right: calc(-1 * clamp(1.2rem, 3.25vw, 2.9rem));
  height: 1px;
  border-bottom: 2px dotted #c8cbbb;
}

.program-copy h3 {
  color: #173b38;
  margin: 0;
  font-size: clamp(1.2rem, 1.9vw, 1.62rem);
  line-height: 1.45;
  font-weight: 700;
  letter-spacing: -.02em;
}

.program-optional {
  display: inline-block;
  vertical-align: middle;
  margin: 0 0 .15rem .6rem;
  padding: .12rem .55rem;
  border: 1px solid #d9c8a2;
  border-radius: 2rem;
  color: #674c21;
  font-size: .8rem;
  line-height: 1.4;
  font-weight: 650;
  white-space: nowrap;
}

.program-detail {
  margin: .5rem 0 0;
  color: #3d534f;
  font-size: 1rem;
  line-height: 1.8;
}

.program-footnote {
  margin: 1.65rem 0 0;
  padding-top: 1.05rem;
  border-top: 1px solid #d9dfd2;
  font-size: .94rem;
  color: #475c52;
  line-height: 1.7;
}

@media (max-width: 740px) {
  .program-heading { display: grid; gap: .4rem; }
  .program-steps { grid-template-columns: 1fr; gap: 1.6rem; }
  .program-step {
    --picture-size: clamp(4.7rem, 23vw, 7.5rem);
    display: grid;
    grid-template-columns: var(--picture-size) minmax(0, 1fr);
    gap: clamp(.8rem, 3.5vw, 1.4rem);
    align-items: start;
  }
  .program-picture {
    position: relative;
    z-index: 1;
    height: var(--picture-size);
    border-radius: 50%;
  }
  .program-step:not(:last-child)::before {
    content: "";
    position: absolute;
    left: calc(var(--picture-size) / 2);
    top: calc(var(--picture-size) - 2px);
    bottom: -1.7rem;
    border-left: 2px dotted #bfc6b6;
  }
  .program-picture img { width: 93%; height: 88%; }
  .program-copy { margin: 0; }
  .program-moment { margin-bottom: .2rem; font-size: .91rem; }
  .program-moment span { padding: 0; background: none; }
  .program-moment span::before,
  .program-step:not(:last-child) .program-moment::after { display: none; }
  .program-copy h3 { font-size: clamp(1.05rem, 4.8vw, 1.35rem); }
  .program-detail { margin-top: .35rem; line-height: 1.7; }
  .program-optional { margin-left: .35rem; padding-inline: .4rem; }
}
