.th-our-offset-programs {
  position: relative;
  padding: 98px 0 73px;
}
.th-our-program-content h3 {
  margin-bottom: 7px;
}
.th-our-offset-programs .th-our-program-content h5 {
  font-family: "Montserrat", sans-serif;
  max-width: unset;
  font-weight: 600;
  font-size: 24px;
  letter-spacing: 1.2px;
  margin: 0;
  margin-bottom: 3px;
}
.th-our-program-content p {
  margin-bottom: 0;
}
.th-our-program-content p span {
  color: #3e9430;
}
.th-our-program-content p strong {
  font-weight: 600;
  font-family: "Montserrat", sans-serif;
}
.th-our-offset-programs ul li {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.th-our-offset-programs ul li:nth-child(2n + 1) .th-our-program-content {
  order: 1;
  padding-right: 80px;
  padding-left: 0;
}
.th-our-offset-programs ul li:nth-child(2n + 1) .th-our-program-image {
  order: 2;
  text-align: right;
}
.th-our-offset-programs
  ul
  li:nth-child(2n + 1)
  .th-our-program-image-outer::before {
  transform: translate(-50%, -50%) rotate(-13deg);
}
.th-our-program-content {
  width: 50%;
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding-left: 70px;
}
.th-our-program-image {
  width: 50%;
  text-align: left;
  position: relative;
  padding-left: 50px;
  padding-top: 50px;
  padding-bottom: 50px;
  padding-right: 50px;
}

.th-our-program-image img {
  display: inline-block;
  display: inline-block;
  border-radius: 20px;
  box-shadow: 0 0 16px 0 rgba(0, 0, 0, 0.52);
}
.th-our-program-image-outer {
  position: relative;
  display: inline-block;
}
.th-our-program-image-outer::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  background-image: url(../images/our-offset-pattern.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(13deg);
  z-index: -1;
  border-radius: 20px;
  box-shadow: 0 0 16px 0 rgba(0, 0, 0, 0.52);
}

@media only screen and (max-width: 1300px) {
  .th-our-offset-programs ul li:nth-child(2n + 1) .th-our-program-content {
    padding-right: 50px;
  }
  .th-our-program-content {
    padding-left: 50px;
  }
  .th-our-program-image img {
    max-width: 100%;
  }
}
@media only screen and (max-width: 1200px) {
  .th-our-offset-programs ul li:nth-child(2n + 1) .th-our-program-content {
    padding-right: 30px;
  }
  .th-our-program-content {
    padding-left: 30px;
  }
  .th-our-offset-programs {
    padding: 80px 0 65px;
  }
  .th-our-program-image {
    padding-left: 45px;
    padding-top: 45px;
    padding-bottom: 45px;
    padding-right: 45px;
  }
  .th-our-offset-programs ul li {
    margin-bottom: 50px;
  }
}
@media only screen and (max-width: 991px) {
  .th-our-offset-programs {
    padding: 56px 0 45px;
  }
  .th-our-offset-programs ul li {
    display: block;
  }
  .th-our-program-content {
    width: 100%;
    padding-left: 0;
    padding: 35px 0 0 !important;
  }
  .th-our-offset-programs ul li:nth-child(2n + 1) .th-our-program-content {
    padding-right: 0;
  }
  .th-our-program-image {
    width: 100%;
  }
  .th-our-offset-programs ul li:nth-child(2n + 1) .th-our-program-image {
    text-align: left;
  }
  .th-our-offset-programs ul li {
    margin-bottom: 40px;
  }
  .th-our-offset-programs .th-our-program-content h5 {
    font-size: 22px;
  }
  .th-our-program-image {
    padding-left: 50px;
  }
}
@media only screen and (max-width: 767px) {
  .th-our-offset-programs {
    padding: 47px 0 35px;
  }
  .th-our-program-content {
    padding: 30px 0 0 !important;
  }
  .th-our-offset-programs .th-our-program-content h5 {
    font-size: 20px;
    letter-spacing: 1px;
  }
}
@media only screen and (max-width: 600px) {
  .th-our-offset-programs .th-our-program-content h5 {
    font-size: 19px;
    letter-spacing: 0.5px;
  }
  .th-our-program-image {
    padding-left: 44px;
  }
}
@media only screen and (max-width: 500px) {
  .th-our-offset-programs {
    padding: 39px 0 35px;
  }
  .th-pagination {
    padding: 10px 0;
  }
  .th-our-program-image {
    padding-left: 36px;
    padding-top: 36px;
    padding-bottom: 36px;
    padding-right: 36px;
  }
  .th-our-program-content {
    padding: 25px 0 0 !important;
  }
}
@media only screen and (max-width: 400px) {
  /* our offset programs */
  .th-our-program-image {
    padding-left: 27px;
    padding-top: 27px;
    padding-bottom: 27px;
    padding-right: 27px;
  }
  /* our offset programs */
}
