.main-program-page-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  font-family: 'Degular', 'Noto Kufi Arabic', sans-serif;
  margin-top: 20px;
}
.main-program-page-container {
  display: flex;
  justify-content: flex-start;
  max-width: 1340px;
  flex-direction: column;
  width: 100%;
  padding: 20px 23px;
  font-family: 'Degular', 'Noto Kufi Arabic', sans-serif;
}
.main-program-page-container h5 {
  font-weight: 700;
  font-size: 24px;
  line-height: 32px;
  color: #1a2029;
}
.program-page-flex-container {
  display: flex;
  width: fit-content;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}
.program-page-flex-container-item {
  height: 310px;
  width: 310px;
  border-radius: 8px;
  background-color: #0b252a;
  overflow: hidden;
}
.program-page-flex-container-item:hover {
  box-shadow: rgba(14, 30, 37, 0.12) 0px 2px 4px 0px,
    rgba(14, 30, 37, 0.32) 0px 2px 16px 0px;
}
.program-page-flex-container-item img {
  width: 100%;
  height: 110px;
  object-fit: cover;
}
.text-details-container {
  padding: 0px 20px;
  padding-top: 30px;
  padding-bottom: 13px;
  height: 200px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between !important;
  color: white;
}
.text-details-container .top h4 {
  padding: 0;
  margin: 0;
  font-weight: 700;
  font-size: 19px;
  line-height: 21px;
  max-width: 100%;
  color: #e4e7e7;
}
.text-details-container .top > span {
  padding: 0;
  margin: 0;
  font-weight: 400;
  font-size: 14px;
  opacity: 60%;
}
.text-details-container .bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.text-details-container .bottom .sp-1 {
  background-color: #4b5a64;
  font-weight: 400;
  font-size: 12px;
  padding: 2px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}
.text-details-container .bottom .sp-2 {
  font-size: 12px;
  font-weight: 400px;
  padding: 6px 1px;
  opacity: 60%;
}

@media only screen and (max-width: 700px) {
  .main-program-page-container {
    padding: 20px 20px;
  }
  .main-program-page-container h5 {
    font-size: 17px;
    line-height: 24px;
  }
  .program-page-flex-container {
    width: 100%;
    gap: 20px;
  }
  .program-page-flex-container-item {
    height: 300px;
    width: 100%;
  }
  .main-program-page-wrapper {
    margin-top: 10px;
  }
}
@media only screen and (max-width: 450px) {
  .text-details-container {
    padding: 0px 15px;
    padding-top: 20px;
    padding-bottom: 15px;
  }
  .program-page-flex-container-item {
    height: 280px;
  }
  .text-details-container {
    height: 170px;
  }
  .text-details-container .top h4 {
    font-size: 17px;
    line-height: 24px;
  }
  .text-details-container .top > span {
    font-size: 12px;
    opacity: 60%;
  }
  .text-details-container .bottom .sp-1 {
    font-size: 12px;
    padding: 2px 6px;
    display: flex;
  }
}
