.program-full-card {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 12px 48px 0 rgba(0, 0, 0, 0.06);
  margin-bottom: 40px;
  padding: 10px;
}
.program-full-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    270deg,
    rgba(180, 147, 118, 0) 33.43%,
    #b49376 86.59%
  );
}
.programs-list-block .section__heading p {
  max-width: 585px;
  margin-left: auto;
  margin-right: auto;
}
.program-full-card__content {
  position: relative;
  z-index: 2;
  width: 50%;
  padding: 24px;
  display: flex;
  min-width: 800px;
  flex-direction: column;
  border-radius: 30px;
  background: #fffcf4;
  backdrop-filter: blur(15px);
  min-height: 100%;
}
.program-membership a::after {
  display: none;
}
.program-membership a {
  background: #1a3046;
  color: #fff;
  border: 1px solid #1a3046;
}
.program-membership a:hover {
  border-color: #1a3046;
  color: #1a3046;
}
.program-full-card__content .program-years-badge {
  width: max-content;
}
.program-full-card__image {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.program-full-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Years badge */
.program-years-badge {
  display: inline-block;
  background: #fae6b9;
  color: #1a3046;
  font-size: 16px;
  font-family: "Lexend", sans-serif;
  font-weight: 600;
  line-height: 1;
  margin-bottom: 19px;
  padding: 6px 14px;
  border-radius: 4px;
}

/* Title */
.program-full-card__title {
  color: #1a3046;
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  margin-bottom: 10px;
  line-height: 29px;
  letter-spacing: -0.32px;
}

/* Description */
.program-full-card__desc {
  margin: 0 0 10px 0;
  color: #4a4a4a;
}
.program-full-card__desc p {
  margin: 0;
}

/* Development section */
.program-development__title {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: #1a3046;
  margin-bottom: 12px;
}
.program-development {
  margin-bottom: 19px;
}
.program-development__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
}
.program-development__list li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  color: #4a4a4a;
  line-height: 1.5;
}
.program-development__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 14px;
  height: 14px;
  background-image: url("../../../assets/icons/star.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

/* Memberships */
.program-memberships {
  display: flex;
  gap: 16px;
}
.program-membership {
  flex: 1;
  background: #f5ede2;
  border-radius: 20px;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
}
.program-membership > a {
  margin-top: auto;
}
.program-membership__type {
  color: #1a3046;
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  margin-bottom: 11px;
  line-height: 29px;
  letter-spacing: -0.32px;
}
.program-membership__meta {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 4px 8px;
  border-radius: 4px;
  width: max-content;
  margin-bottom: 10px;
  background: #fae6b9;
  color: #1a3046;
  font-family: "Lexend", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 17.5px;
}
.program-membership__meta svg {
  flex-shrink: 0;
  margin-top: 2px;
}
.program-membership__locations {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.program-membership__activities-title {
  display: block;
  font-size: 16px;
  font-weight: 700;
  padding-top: 16px;
  margin-bottom: 10px;
  margin-top: 16px;
  border-top: 1px solid #ece4d2;
  color: #1a3046;
}
.program-activities {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
  gap: 10px;
  flex: 1;
}
.program-activities li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  color: #4a4a4a;
  line-height: 1.5;
}
.program-activities li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 14px;
  height: 14px;
  background-image: url("../../../assets/icons/star.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

/* Full-width button inside membership */
.filled__button--full {
  width: 100%;
  justify-content: center;
  margin-top: auto;
}

/* ── TABLET (≤ 991px) ── */
@media only screen and (max-width: 991px) {
  .program-full-card__content {
    width: 100%;
    position: static;
  }
  .program-full-card::before {
    top: unset;
    bottom: 10px;
    height: 300px;
    border-radius: 24px;
  }
  .program-full-card__image {
    position: static;
    height: 300px;
    border-radius: 24px;
    overflow: hidden;
  }
  .program-full-card__content {
    min-width: unset;
    width: 100%;
  }
  .program-full-card__image img {
    height: 300px;
  }
  .program-development__list {
    grid-template-columns: 1fr;
  }
  .program-full-card__image,
  .program-full-card::before {
    display: none;
  }
}
@media only screen and (max-width: 767px) {
  .program-memberships {
    flex-direction: column;
  }
  .program-membership__meta {
    font-size: 14px;
    width: fit-content;
  }
  .programs-list {
    padding-bottom: 0;
  }
  .program-full-card__content {
    padding: 10px;
  }
}
/* ── MOBILE (≤ 575px) ── */
@media only screen and (max-width: 575px) {
  .program-full-card {
    border-radius: 20px;
    margin-bottom: 24px;
  }
  .program-full-card__content {
    padding: 24px 20px;
  }
  .program-memberships {
    flex-direction: column;
  }
  .program-full-card__image {
    height: 240px;
  }
  .program-full-card__image img {
    height: 240px;
  }
  .programs-list-block {
    padding-top: 50px;
    padding-bottom: 50px;
  }
}
