.program-section {
  background: var(--pale);
}

.program-section-intro > div:last-child {
  max-width: 460px;
  color: var(--muted);
  font-size: 1.08rem;
}

.program-section-intro .text-link {
  margin-top: 13px;
  color: var(--ink);
}

.program-tiles,
.program-detail-grid {
  display: grid;
  gap: 18px;
}

.program-tiles {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.program-active { --program-tint: #e2eddc; --program-accent: #2f654d; }
.program-holiday { --program-tint: #fae7b8; --program-accent: #795018; }
.program-athlete { --program-tint: #f5e4db; --program-accent: #834633; }
.program-school { --program-tint: #e4e9f0; --program-accent: #455c75; }

.program-tile,
.program-detail-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
}

.program-tile {
  position: relative;
  padding: 24px;
  transition: border-color .15s, box-shadow .15s;
}

.program-tile:hover,
.program-tile:focus-within {
  border-color: var(--program-accent);
  box-shadow: 0 8px 24px #243d3210;
}

.program-tile-top {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 19px;
}

.program-icon {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--program-tint);
  color: var(--program-accent);
}

.program-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.program-number,
.program-kicker {
  color: var(--program-accent, var(--brand));
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .08em;
}

.program-number {
  font-variant-numeric: tabular-nums;
}

.program-kicker {
  margin-bottom: 8px;
  text-transform: uppercase;
}

.program-tile h3 {
  font-size: clamp(1.3rem, 2vw, 1.57rem);
}

.program-tile-description {
  margin: 12px 0 20px;
  color: var(--muted);
  font-size: .95rem;
}

.program-tile-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  min-height: 32px;
  margin-top: auto;
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
}

.program-tile-link::after {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  content: "";
}

.program-tile-link:hover,
.program-tile-link:focus-visible {
  text-decoration: underline;
}

.program-page .site-header nav a[aria-current="page"] {
  color: #f5cc6d;
  text-decoration: underline;
}

.program-hero {
  padding: clamp(42px, 6vw, 78px) 0;
  background: var(--brand);
  color: var(--cream);
}

.program-hero-layout {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: clamp(32px, 7vw, 100px);
}

.program-back {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  min-height: 36px;
  margin-bottom: 16px;
  font-size: .9rem;
  font-weight: 700;
}

.program-back:focus-visible {
  outline-color: var(--yellow);
}

.program-hero h1 span {
  color: #f5cc6d;
}

.program-hero .hero-lead {
  margin-top: 20px;
}

.program-jump {
  padding: 25px 28px 17px;
  border-radius: 26px 26px 26px 4px;
  background: var(--cream);
  color: var(--ink);
}

.program-jump ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.program-jump a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  min-height: 49px;
  padding: 7px 0;
  border-top: 1px solid var(--line);
  font-size: .94rem;
  font-weight: 700;
  text-decoration: none;
}

.program-jump a:hover {
  text-decoration: underline;
}

.program-jump-number {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--program-tint);
  color: var(--program-accent);
  font-size: .78rem;
}

.program-jump-arrow {
  font-size: 1.15rem;
}

.program-details {
  background: var(--pale);
}

.program-detail-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.program-detail-card {
  padding: clamp(23px, 3.5vw, 40px);
  border-top: 4px solid var(--program-accent);
}

.program-detail-card:target {
  box-shadow: 0 0 0 2px var(--program-accent);
}

.program-detail-card h2 {
  font-size: clamp(1.65rem, 2.8vw, 2.55rem);
}

.program-detail-description {
  margin-top: 15px;
  color: var(--muted);
}

.program-detail-list {
  flex: 1;
  margin: 18px 0 22px;
  padding-left: 1.2rem;
}

.program-detail-list li + li {
  margin-top: 7px;
}

.program-detail-list li::marker {
  color: var(--program-accent);
}

.program-detail-card .button {
  min-height: 48px;
  padding: 10px 17px;
  font-size: .92rem;
}

.program-page .footer-bottom {
  border-top: 1px solid #ffffff30;
}

.program-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 26px;
  font-size: .9375rem;
}

.program-breadcrumb a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.program-single .program-hero h1 {
  max-width: 13ch;
  font-size: clamp(2.75rem, 5.2vw, 4.5rem);
  overflow-wrap: break-word;
}

.program-single .program-hero .actions {
  margin-top: 28px;
}

.program-summary {
  align-self: center;
  padding: clamp(25px, 3vw, 38px);
  border-radius: 24px 24px 24px 4px;
  background: var(--cream);
  color: var(--ink);
}

.program-summary .program-icon {
  margin-bottom: 22px;
}

.program-summary h2 {
  font-size: 1.6rem;
}

.program-summary dl {
  margin: 24px 0 0;
}

.program-summary dl > div {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.program-summary dl > div + div {
  margin-top: 16px;
}

.program-summary dt {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: .875rem;
}

.program-summary dd {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.5;
}

.program-highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.program-highlight {
  padding: clamp(24px, 3vw, 35px);
  border-top: 3px solid var(--program-accent);
  border-radius: 0 0 16px 16px;
  background: var(--paper);
}

.program-highlight h3 {
  font-size: 1.4rem;
}

.program-highlight p {
  margin-top: 15px;
  color: var(--muted);
}

.program-related-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.program-related-heading h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.program-related-heading > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.program-related-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.program-related-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  text-decoration: none;
}

.program-related-card:hover {
  border-color: var(--program-accent);
  background: var(--pale);
}

.program-related-card strong {
  display: block;
  font-size: 1.0625rem;
  line-height: 1.4;
}

.program-related-card strong + span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: .875rem;
}

@media (max-width: 1020px) {
  .program-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 800px) {
  .program-hero-layout {
    grid-template-columns: 1fr;
  }

  .program-jump {
    max-width: 570px;
  }

  .program-summary {
    max-width: 570px;
  }

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

@media (max-width: 560px) {
  .program-tiles,
  .program-detail-grid,
  .program-highlights {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .program-tile,
  .program-jump {
    padding-inline: 20px;
  }
}

@media print {
  .program-hero {
    padding: 0 0 20px;
    background: white;
    color: #111;
  }

  .program-hero h1 span,
  .program-hero .eyebrow,
  .program-hero .hero-lead {
    color: inherit;
  }

  .program-back,
  .program-jump {
    display: none;
  }

  .program-page .program-details {
    display: block !important;
    padding: 0;
    background: white;
  }

  .program-detail-card {
    break-inside: avoid;
  }

  .program-breadcrumb,
  .program-related {
    display: none;
  }
}
