.programs-v2 {
  width: 100%;
  padding: 112px 40px;
  display: flex;
  justify-content: center;
  overflow: hidden;
  border-top: 1px solid #ded7d1;
  border-bottom: 1px solid #ded7d1;
  background-color: #f2f2f2;
  color: #171717;
}

.programs-v2-inner {
  width: 100%;
  max-width: 1280px;
}

.programs-v2-top {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 56px;
}

.programs-v2-head {
  width: 58%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.programs-v2-head .section-title {
  max-width: 650px;
}

.programs-v2-media {
  width: 42%;
  min-width: 360px;
  min-height: 330px;
  overflow: hidden;
  background-color: #171717;
}

.programs-v2-media img {
  width: 100%;
  height: 330px;
  object-fit: cover;
  object-position: center;
}

.programs-v2-body {
  margin-top: 54px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.programs-v2-level {
  width: 100%;
  padding: 0;
  display: flex;
  align-items: stretch;
  background-color: #ffffff;
}

.programs-v2-level-head {
  width: 31%;
  min-width: 300px;
  padding: 34px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 42px;
  border-right: 1px solid #ded7d1;
}

.programs-v2-level-head span {
  display: block;
  color: #a50f0f;
  font-family: "PT Serif", Georgia, serif;
  font-size: 72px;
  font-weight: 700;
  line-height: 72px;
}

.programs-v2-level-head h3 {
  margin-top: 8px;
  color: #171717;
  font-size: 22px;
  font-weight: 500;
  line-height: 28px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.programs-v2-level-head p {
  max-width: 260px;
  color: #6f6f6f;
  font-size: 18px;
  line-height: 24px;
}

.programs-v2-list {
  flex: 1;
  padding: 18px 30px 18px 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 0 22px;
}

.programs-v2-list a {
  width: calc(50% - 11px);
  min-width: 250px;
  padding: 18px 0 17px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-bottom: 1px solid #ded7d1;
  color: #6f6f6f;
  font-size: 16px;
  line-height: 21px;
  transition:
    color 0.25s ease,
    border-color 0.25s ease;
}

.programs-v2-list a:hover,
.programs-v2-list a:focus-visible {
  border-color: #a50f0f;
  color: #171717;
}

.programs-v2-list a span {
  display: block;
  color: #171717;
  font-size: 18px;
  font-weight: 500;
  line-height: 23px;
}

.programs-v2-list a small {
  display: block;
  margin-top: 4px;
  color: #a50f0f;
  font-size: 13px;
  font-weight: 500;
  line-height: 17px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media (max-width: 1080px) {
  .programs-v2 {
    padding: 96px 32px;
  }

  .programs-v2-top,
  .programs-v2-body {
    flex-direction: column;
    gap: 42px;
  }

  .programs-v2-level {
    flex-direction: column;
  }

  .programs-v2-head,
  .programs-v2-media,
  .programs-v2-level-head {
    width: 100%;
    min-width: 0;
  }

  .programs-v2-level-head {
    border-right: 0;
    border-bottom: 1px solid #ded7d1;
  }

  .programs-v2-level-head p {
    max-width: 620px;
  }
}

@media (max-width: 760px) {
  .programs-v2 {
    padding: 78px 20px;
  }

  .programs-v2-media {
    min-height: 280px;
  }

  .programs-v2-media img {
    height: 280px;
  }

  .programs-v2-level {
    padding: 0;
  }

  .programs-v2-level-head {
    padding: 28px 24px;
    gap: 26px;
  }

  .programs-v2-list {
    padding: 12px 24px 16px;
  }
}
@media (max-width: 520px) {
  .programs-v2 {
    padding: 68px 18px;
  }

  .programs-v2-body {
    margin-top: 40px;
  }

  .programs-v2-media {
    min-height: 240px;
  }

  .programs-v2-media img {
    height: 240px;
  }

  .programs-v2-level-head {
    gap: 22px;
  }

  .programs-v2-level-head span {
    font-size: 52px;
    line-height: 56px;
  }

  .programs-v2-level-head h3 {
    font-size: 20px;
    line-height: 26px;
  }

  .programs-v2-list a {
    width: 100%;
    min-width: 0;
  }
}
