.programsSection {
  max-width: 100vw;
  overflow: hidden;
  padding: 82px 24px;
  background: #f6efdf;
}

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

.programsSection__heroCard {
  position: relative;
  min-height: 618px;
  align-self: start;
  padding: 24px;
  background: #17407d;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.programsSection__heroTitle {
  width: min(100%, 625px);
  margin: 0;
  flex: 1;
  color: #ffffff;
  font-family: Outfit, "Arial Black", sans-serif;
  font-size: clamp(42px, 4.44vw, 64px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.64px;
  text-transform: uppercase;
}

.programsSection__heroEmblem {
  position: absolute;
  top: 34px;
  right: 24px;
  width: 107px;
  height: 46.332px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.programsSection__heroEmblem svg {
  width: 100%;
  height: 100%;
}

.programsSection__heroContent {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 0;
  width: 100%;
  overflow: hidden;
}

.programsSection__divider {
  width: 100%;
  height: 1px;
  background: #377ee4;
  flex-shrink: 0;
}

.programsSection__heroDescription {
  margin: 0;
  color: #f6efdf;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 26.4px;
  letter-spacing: 0;
}

.programsSection__heroDescription p {
  margin: 0;
}

.programsSection__detailsButton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  padding: 0 30px;
  background: #ffffff;
  color: #17407d;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 15.6px;
  font-weight: 600;
  line-height: 20px;
  letter-spacing: 0.188px;
}

.programsSection__heroDetailsButton {
  width: 126px;
}

.programsSection__cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.programsSection__programCard {
  display: grid;
  grid-template-columns: 221px minmax(0, 1fr);
  height: 297px;
}

.programsSection__programCard--light {
  background: #377ee4;
}

.programsSection__programCard--dark {
  background: #17407d;
}

.programsSection__programCardMedia {
  position: relative;
  height: 297px;
}

.programsSection__statusBanner {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 16px;
  width: 221px;
  height: 54px;
  padding: 7px 14px;
}

.programsSection__statusBanner--info {
  background: #377ee4;
}

.programsSection__statusBanner--check {
  background: #001d44;
}

.programsSection__statusIcon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.programsSection__statusText {
  margin: 0;
  color: #ffffff;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 15.6px;
  font-weight: 600;
  line-height: 20px;
  letter-spacing: 0.188px;
  text-transform: uppercase;
}

.programsSection__programCardImage {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;

  @media (max-width: 768px) {
    aspect-ratio: 16/11;
  }
}

.programsSection__programCardBody {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 15px 22px 24px;
  overflow: hidden;
}

.programsSection__programCardText {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  min-height: 0;
  flex: 1;
}

.programsSection__programCardTitle {
  margin: 0;
  color: #ffffff;
  font-family: Outfit, "Arial Black", sans-serif;
  font-size: 32px;
  font-weight: 600;
  line-height: 35.2px;
  letter-spacing: -0.32px;
  flex-shrink: 0;
}

.programsSection__programCardDescription {
  max-width: 409px;
  margin: 0;
  color: #ffffff;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 21.6px;
  letter-spacing: 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;

  @media (max-width: 768px) {
    font-size: 16px;
  }
}

.programsSection__programCardDescription p {
  margin: 0;
}

.programsSection__cardDetailsButton {
  align-self: flex-start;
}

@media (max-width: 768px) {
  .programsSection {
    padding: 24px 12px;
  }

  .programsSection__inner {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .programsSection__heroCard {
    min-height: 284px;
    padding: 19px 20px 23px;
  }

  .programsSection__heroTitle {
    width: min(100%, 329.704px);
    font-size: 42px;
    line-height: 42px;
    letter-spacing: -0.42px;
    min-height: 100%;
  }

  /* Larger ASEF mark, shifted past the edge so it partly clips (matches Figma bleed) */
  .programsSection__heroEmblem {
    right: -160px;
    width: min(220px, 62vw);
    height: auto;
    aspect-ratio: 107 / 46.332;
  }

  .programsSection__heroContent {
    gap: 24px;
    margin-top: 24px;
    max-width: 329.704px;
  }

  .programsSection__heroDescription {
    font-size: 16px;
    line-height: 21.6px;
  }

  .programsSection__heroDetailsButton {
    display: none;
  }

  .programsSection__cards {
    gap: 16px;
  }

  .programsSection__programCard {
    grid-template-columns: 1fr;
    height: auto;
  }

  .programsSection__programCardMedia {
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  .programsSection__statusBanner {
    position: static;
    width: 100%;
  }

  .programsSection__programCardBody {
    gap: 10px;
    min-height: 290px;
    padding: 13px 12px;
  }

  .programsSection__programCardText {
    gap: 16px;
  }

  .programsSection__programCardTitle {
    width: 200px;
    font-size: 24px;
    line-height: 24px;
    letter-spacing: 0;
  }

  .programsSection__cardDetailsButton {
    min-height: 43px;
    padding: 12px 22px;
    font-size: 14px;
    line-height: 17.2px;
    letter-spacing: 0.162px;
  }
}
