.posts {
  padding: 170px 0;
}
.posts-wrap .ps-title {
  text-align: center;
  font-weight: bold;
  color: #13132b;
  font-size: 40px;
  line-height: 46px;
  margin-bottom: 22px;
}
.posts-wrap .ps-desc {
  font-family: "Inter", Arial, Tahoma, sans-serif;
  color: #666;
  font-weight: 400;
  font-size: 16px;
  line-height: 22px;
  max-width: 930px;
  margin: 0 auto;
  text-align: center;
  margin-bottom: 84px;
}
.posts-wrap .ps-title span {
  color: #51bbc9;
}
.posts-list .post-item {
  padding: 0 18px;
  width: 33.3333333333%;
}
.posts .posts-list {
  margin: 0 -18px;
  display: flex;
  user-select: none;
}
.post-item .post-item-a {
  border-radius: 10px;
  overflow: hidden;
  height: 100%;
}
.post-item-a .post-image {
  display: block;
  position: relative;
  aspect-ratio: 200/111;
  overflow: hidden;
}
.post-item-a .post-image:before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
.post-item-a .post-image img {
  display: block;
  object-fit: cover;
  object-position: center;
  width: 100%;
  min-height: 160px;
}
.post-item-a .post-b {
  border-radius: 10px 10px 0 0;
  padding: 32px 44px 44px;
  background-color: #faf5f0;
  margin-top: -10px;
  position: relative;
  height: 100%;
}
.post-info {
  display: flex;
  font-family: "Inter", Arial, Tahoma, sans-serif;
  font-size: 12px;
  line-height: 16px;
  font-weight: bold;
  margin-bottom: 20px;
}
.post-info .post-ct {
  padding: 4px 0;
  color: #c7b4a2;
  margin-right: 12px;
}
.post-info .post-dt {
  padding: 4px 15px;
  color: #666;
  border-radius: 3px;
  background-color: #f0e8df;
}
.post-b .post-title {
  font-weight: bold;
  font-size: 26px;
  line-height: 28px;
  color: #13132b;
  margin-bottom: 10px;
}
.post-b .post-desc {
  font-family: "Inter", Arial, Tahoma, sans-serif;
  color: #666;
  font-weight: 400;
  font-size: 16px;
  line-height: 22px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  margin-bottom: 22px;
}
.post-b .post-r a {
  color: #51bbc9;
  font-family: "Inter", Tahoma, sans-serif;
  font-size: 18px;
  line-height: 22px;
  display: inline-block;
  vertical-align: top;
  position: relative;
  padding-right: 28px;
}
.post-b .post-r a:hover {
  color: #3b919d;
}
.post-b .post-r a:after {
  content: "";
  width: 18px;
  height: 18px;
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  background-image: url(../images/right.svg);
}
.posts-list .post-subs {
  border-radius: 10px;
  background-color: #e7f6f8;
  padding: 0 42px 15px;
  position: relative;
  height: 100%;
}
.post-subs .pbs-wr {
  position: relative;
  top: -42px;
}
.post-subs .post-subs-image {
  margin-bottom: 18px;
}
.post-subs .post-subs-image svg {
  display: block;
  margin: 0 auto;
}
.post-subs .subs-a {
  text-align: center;
  color: #13132b;
  margin-bottom: 16px;
  font-size: 36px;
  line-height: 40px;
  font-weight: bold;
}
.subs-input input {
  width: 100%;
  display: block;
  text-align: center;
  border-radius: 4px;
  border: 1px solid #666;
  background-color: #faf5f0;
  font-family: "Inter", Arial, Tahoma, sans-serif;
  color: #666;
  font-size: 16px;
  line-height: 22px;
  padding: 6px 10px;
  color: #111;
}
.subs-button {
  position: absolute;
  bottom: 0;
  width: 234px;
  left: 0;
  right: 0;
  margin: auto;
  bottom: -26px;
}
.subs-button button {
  display: block;
  width: 100%;
  border-radius: 3px;
  color: #fff;
  background-color: #51bbc9;
  font-weight: bold;
  font-size: 22px;
  line-height: 26px;
  padding: 18px 15px;
  border: 0;
  cursor: pointer;
}
.subs-button button:hover {
  background-color: #3b919d;
}

@media only screen and (max-width: 1260px) {
  .post-subs .post-subs-image svg {
    max-width: 107%;
    height: auto;
    min-height: 240px;
  }
}

@media only screen and (max-width: 1160px) {
  .posts .posts-list {
    margin: 0 -13px;
  }
  .posts-list .post-item {
    padding: 0 13px;
  }
  .post-b .post-title {
    font-size: 22px;
    line-height: 26px;
  }
  .post-b .post-desc {
    font-size: 12px;
    line-height: 16px;
  }
  .post-b .post-r a {
    font-size: 16px;
  }
  .post-item-a .post-b {
    padding: 30px 36px 36px;
  }
  .post-info {
    margin-bottom: 15px;
  }
  .post-subs .subs-a {
    font-size: 30px;
    line-height: 34px;
  }
}

@media only screen and (max-width: 1060px) {
  .posts {
    padding: 150px 0 160px;
  }
  .post-b .post-title {
    font-size: 18px;
    line-height: 22px;
  }
  .post-item-a .post-b {
    padding: 20px 24px 24px;
  }
  .post-subs .subs-a {
    font-size: 26px;
    line-height: 30px;
  }
  .subs-button {
    width: 170px;
    bottom: -17px;
  }
  .subs-button button {
    padding: 10px;
    font-size: 18px;
  }
  .posts-list .post-subs {
    padding: 0 30px 15px;
  }
  .post-subs .pbs-wr {
    top: -30px;
  }
}

@media only screen and (max-width: 900px) {
  .posts-wrap .ps-desc {
    margin-bottom: 30px;
  }
  .posts .posts-list {
    width: 100%;
    margin: 0;
    display: block;
  }
  .posts-list .post-item {
    width: 300px;
    padding: 30px 0 20px;
  }
  .post-subs .post-subs-image svg {
    height: 254px;
  }
  .post-subs .subs-a {
    margin-bottom: 16.5px;
  }
}

@media only screen and (max-width: 840px) {
  .posts {
    padding: 130px 0 110px;
  }
}

@media only screen and (max-width: 600px) {
  .posts {
    padding: 110px 0 90px;
  }
}
