.programs-page {
  background: #f7f8fb;
  color: #302f5f;
}

.programs-hero,
.programs-guide,
.programs-catalog,
.programs-after {
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.programs-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  gap: 28px;
  align-items: stretch;
  padding-top: 52px;
  padding-bottom: 34px;
}

.programs-hero__content,
.programs-hero__note,
.program-card,
.programs-guide article,
.programs-after > div,
.programs-empty {
  border: 1px solid #dfe7e5;
  border-radius: 18px;
  background: #fff;
}

.programs-hero__content {
  padding: 34px;
}

.programs-eyebrow {
  margin: 0 0 14px;
  color: #4f9c66;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.programs-hero h1 {
  max-width: 820px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 5vw, 78px);
  line-height: .98;
  letter-spacing: 0;
}

.programs-hero p,
.programs-section-head p,
.program-card__text,
.programs-guide p,
.programs-after p,
.programs-empty p {
  color: #68738a;
  line-height: 1.6;
}

.programs-hero__content > p:not(.programs-eyebrow) {
  max-width: 760px;
  margin: 22px 0 0;
  font-size: 22px;
}

.programs-actions,
.program-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.programs-button,
.program-card__primary,
.program-card__secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
}

.programs-button,
.program-card__primary {
  color: #fff;
  background: #0d1424;
  box-shadow: 0 10px 22px rgba(13, 20, 36, .14);
}

.programs-button--light,
.program-card__secondary {
  color: #302f5f;
  background: #f4f6fb;
}

.programs-hero__note {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 26px;
  background: linear-gradient(135deg, #ffffff 0%, #eef7f1 100%);
}

.programs-hero__note strong {
  font-size: 24px;
}

.programs-hero__note span {
  color: #68738a;
  line-height: 1.55;
}

.programs-guide {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding-top: 8px;
  padding-bottom: 38px;
}

.programs-guide article {
  padding: 20px;
}

.programs-guide span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  border-radius: 50%;
  color: #fff;
  background: #8ecfa3;
  font-weight: 900;
}

.programs-guide h2 {
  margin: 0 0 8px;
  font-size: 20px;
}

.programs-guide p {
  margin: 0;
}

.programs-section-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 18px;
}

.programs-section-head h2,
.programs-after h2,
.programs-empty h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 3vw, 52px);
  line-height: 1.05;
}

.programs-section-head p {
  max-width: 520px;
  margin: 0;
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0 0 52px;
  list-style: none;
}

.program-card {
  overflow: hidden;
}

.program-card__media {
  display: block;
  overflow: hidden;
  background: #eef7f1;
}

.program-card__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.36;
  object-fit: cover;
  transition: transform .25s ease;
}

.program-card:hover .program-card__media img {
  transform: scale(1.035);
}

.program-card__body {
  padding: 20px;
}

.program-card__badge {
  display: inline-flex;
  margin: 0 0 12px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #302f5f;
  background: #dff1e5;
  font-size: 14px;
  font-weight: 800;
}

.program-card h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.15;
}

.program-card h3 a {
  color: inherit;
  text-decoration: none;
}

.program-card__text {
  margin: 12px 0 0;
}

.program-card__meta {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #dfe7e5;
}

.program-card__meta span {
  color: #68738a;
  font-weight: 800;
}

.program-card__meta strong {
  color: #302f5f;
  font-size: 26px;
  white-space: nowrap;
}

.program-card__actions {
  margin-top: 18px;
}

.program-card__primary,
.program-card__secondary {
  flex: 1 1 130px;
}

.programs-after {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding-bottom: 72px;
}

.programs-after > div,
.programs-empty {
  padding: 26px;
}

.programs-after p,
.programs-empty p {
  margin: 12px 0 0;
}

@media (max-width: 980px) {
  .programs-hero,
  .programs-guide,
  .programs-grid,
  .programs-after {
    grid-template-columns: 1fr;
  }

  .programs-section-head {
    display: block;
  }

  .programs-section-head p {
    margin-top: 10px;
  }
}

@media (max-width: 560px) {
  .programs-hero__content {
    padding: 24px;
  }

  .program-card__meta {
    display: block;
  }

  .program-card__meta strong {
    display: block;
    margin-top: 6px;
  }
}