.program-cards,
.program-cards *,
.program-cards *::before,
.program-cards *::after {
  box-sizing: border-box;
}

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

.program-cards__inner {
  max-width: 1800px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Section backgrounds (from Figma) */
.program-cards--orange {
  background: linear-gradient(0deg, #F7931D -34.46%, #A04D0B 51.2%, #A04D0B 100%);
}

.program-cards--teal {
  background: #005E81;
}

.program-cards--dark {
  background: linear-gradient(260deg, #00141B 36.41%, #003346 76.24%, #005E81 98.73%);
}

.program-cards--light {
  background: #D9F1FB;
}

/* audit: confirm exact light-blue vs Figma */

/* Heading — white on dark styles, dark on light */
.program-cards__heading {
  margin: 0 0 40px;
  text-align: center;
  font-family: 'Crimson Text', serif;
  font-size: 52px;
  font-weight: 400;
  color: #fff;
}

.program-cards--light .program-cards__heading {
  color: #2E2E2E;
}

/* Grid — centers a lone card; 3 cards fill the row */
.program-cards__grid {
  display: flex;
  justify-content: center;
  gap: 28px;
  align-items: stretch;
}

.program-cards__card {
  flex: 0 1 460px;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 16px;
  padding: 28px;
  font-family: 'Roboto', sans-serif;
}

.program-cards__card-image {
  margin: 0 0 20px;
}

.program-cards__card-image img {
  width: 100%;
  height: 280px;
  object-fit: contain;
  border-radius: 12px;
  display: block;
}

/* Content wrapper — full-height flex column so buttons bottom-align */
.program-cards__card-content {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.program-cards__card-title {
  margin: 0 0 12px;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.25;
  color: #2E2E2E;
}

.program-cards__card-body {
  font-size: 16px;
  line-height: 1.5;
  color: #444;
}

.program-cards__card-body p {
  margin: 0 0 12px;
}

/* Buttons row — pushed to card bottom */
.program-cards__card-buttons {
  margin-top: auto;
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.program-cards__button a {
  display: inline-flex;
  align-items: center;
  font-size: 15px;
  font-weight: 600;
  padding: 9px 20px;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

/* Primary = outline */
.program-cards__button--primary a {
  background: #fff;
  color: #005E81;
  border: 2px solid #005E81;
}

.program-cards__button--primary a:hover {
  background: #005E81;
  color: #fff;
}

/* Secondary = filled */
.program-cards__button--secondary a {
  background: #005E81;
  color: #fff;
  border: 2px solid #005E81;
}

.program-cards__button--secondary a:hover {
  background: #00394f;
  border-color: #00394f;
}

/* Mobile */
@media (max-width: 767px) {
  .program-cards__grid {
    flex-direction: column;
    align-items: center;
  }

  .program-cards__card {
    flex: none;
    width: 100%;
    max-width: 400px;
  }
}
