.banner {
  position: relative;
  height: 322px;
  margin-bottom: 40px;
}
.banner img {
  width: 100%;
  height: 322px;
  object-fit: cover;
}
.banner .title {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%);
  display: flex;
  justify-content: center;
  width: 100%;
  font-size: 48px;
  font-weight: 600;
  line-height: 58px;
  text-align: center;
  letter-spacing: 0px;
  color: #000;
}
.contain > .tabs-uls {
  display: flex;
  justify-content: center;
}
.contain > .tabs-uls li {
  padding: 6px 0;
  margin-right: 31px;
}
.contain > .tabs-uls li a {
  font-family: '苹方-简-常规';
  font-size: 21px;
  font-weight: normal;
  line-height: 25px;
  text-align: center;
  letter-spacing: 0px;
  color: #000000;
}
.contain > .tabs-uls .active {
  padding: 6px 29px;
  opacity: 1;
  background: linear-gradient(270deg, #0259fa 0%, #55d9cc 100%);
}
.contain > .tabs-uls .active a {
  color: white;
}
.contain .cols {
  width: 100%;
  margin: 40px 0;
}
.contain .cols .col {
  display: none;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  align-items: flex-start;
}
.contain .cols .col .item {
  border-radius: 4px;
  background: #f7f7f7;
  display: flex;
  flex-direction: column;
  padding: 16px 20px 28px;
  cursor: pointer;
  overflow: hidden;
}
.contain .cols .col .item .category {
  max-width: 350px;
  font-size: 25px;
  font-weight: 600;
  letter-spacing: 0px;
  color: #262c3d;
  margin-bottom: 14px;
}
.contain .cols .col .item .date {
  font-size: 12px;
  font-weight: 600;
  line-height: 14px;
  letter-spacing: 0px;
  color: #262c3d;
  margin-bottom: 14px;
}
.contain .cols .col .item .content {
  padding: 10px;
  box-sizing: border-box;
  max-width: 340px;
  margin-bottom: 14px;
}
.contain .cols .col .item .content .title {
  margin-top: 15px;
  font-size: 14px;
  font-weight: normal;
  line-height: 26px;
  letter-spacing: 0px;
  color: #666666;
}
.contain .cols .col .item .content img {
  transition: all 0.3s;
  width: 320px;
}
.contain .cols .col .item .likes {
  font-size: 13px;
  font-weight: 600;
  line-height: 16px;
  letter-spacing: 0px;
  color: #000;
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: flex-end;
}
.contain .cols .col .item:hover img {
  transform: scale(1.03);
}
.contain .cols .col .item:nth-child(3n + 1) {
  height: 430px;
}
.contain .cols .col .item:nth-child(3n + 1) .content img {
  height: 250px;
  object-fit: cover;
}
.contain .cols .col .item:nth-child(3n + 2) {
  height: 345px;
}
.contain .cols .col .item:nth-child(3n + 2) .content img {
  height: 164px;
  object-fit: cover;
}
.contain .cols .col .item:nth-child(3n + 3) {
  height: 385px;
}
.contain .cols .col .item:nth-child(3n + 3) .content img {
  height: 203px;
  object-fit: cover;
}
.contain .cols .col .item:nth-of-type(5) {
  margin-top: -85px;
}
.contain .cols .col .item:nth-of-type(8) {
  margin-top: -170px;
}
.contain .cols .col .item:nth-of-type(11) {
  margin-top: -255px;
}
.contain .cols .col .item:nth-of-type(14) {
  margin-top: -340px;
}
.contain .cols .col .item:nth-of-type(17) {
  margin-top: -425px;
}
.contain .cols .col .item:nth-of-type(20) {
  margin-top: -510px;
}
.contain .cols .col .item:nth-of-type(23) {
  margin-top: -595px;
}
.contain .cols .col .item:nth-of-type(26) {
  margin-top: -680px;
}
.contain .cols .col .item:nth-of-type(29) {
  margin-top: -765px;
}
.contain .cols .col .item:nth-of-type(32) {
  margin-top: -850px;
}
.contain .cols .col .item:nth-of-type(35) {
  margin-top: -935px;
}
.contain .cols .col .item:nth-of-type(38) {
  margin-top: -1020px;
}
.contain .cols .col .item:nth-of-type(41) {
  margin-top: -1105px;
}
.contain .cols .col .item:nth-of-type(44) {
  margin-top: -1190px;
}
.contain .cols .col .item:nth-of-type(47) {
  margin-top: -1275px;
}
.contain .cols .col .item:nth-of-type(50) {
  margin-top: -1360px;
}
.contain .cols .col .item:nth-of-type(53) {
  margin-top: -1445px;
}
.contain .cols .col .item:nth-of-type(56) {
  margin-top: -1530px;
}
.contain .cols .col .item:nth-of-type(6) {
  margin-top: -45px;
}
.contain .cols .col .item:nth-of-type(9) {
  margin-top: -90px;
}
.contain .cols .col .item:nth-of-type(12) {
  margin-top: -135px;
}
.contain .cols .col .item:nth-of-type(15) {
  margin-top: -180px;
}
.contain .cols .col .item:nth-of-type(18) {
  margin-top: -225px;
}
.contain .cols .col .item:nth-of-type(21) {
  margin-top: -270px;
}
.contain .cols .col .item:nth-of-type(24) {
  margin-top: -315px;
}
.contain .cols .col .item:nth-of-type(27) {
  margin-top: -360px;
}
.contain .cols .col .item:nth-of-type(30) {
  margin-top: -405px;
}
.contain .cols .col .item:nth-of-type(33) {
  margin-top: -450px;
}
.contain .cols .col .item:nth-of-type(36) {
  margin-top: -495px;
}
.contain .cols .col .item:nth-of-type(39) {
  margin-top: -540px;
}
.contain .cols .col .item:nth-of-type(42) {
  margin-top: -585px;
}
.contain .cols .col .item:nth-of-type(45) {
  margin-top: -630px;
}
.contain .cols .col .item:nth-of-type(48) {
  margin-top: -675px;
}
.contain .cols .col .item:nth-of-type(51) {
  margin-top: -720px;
}
.contain .cols .col .item:nth-of-type(54) {
  margin-top: -765px;
}
.contain .cols .col .item:nth-of-type(57) {
  margin-top: -810px;
}
.contain .cols .col:nth-of-type(1) {
  display: grid;
}
@media screen and (max-width: 768px) {
  main .banner {
    position: relative;
    height: 21.25rem;
    margin-bottom: 3.125rem;
  }
  main .banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  main .banner .title {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%);
    display: flex;
    justify-content: center;
    font-family: PingFangSC-Semibold;
    font-size: 3.125rem;
    font-weight: bold;
    line-height: 3.656rem;
    letter-spacing: 0px;
    color: #000000;
  }
  main .contain {
    padding: 0 1.875rem;
  }
  main .contain > .tabs-uls {
    display: flex;
    justify-content: space-between;
  }
  main .contain > .tabs-uls li {
    padding: 0.625rem 1.875rem;
    margin-right: 0;
  }
  main .contain > .tabs-uls li a {
    font-family: '苹方-简-常规';
    font-size: 1.3125rem;
    font-weight: normal;
    line-height: 1.5625rem;
    text-align: center;
    letter-spacing: 0px;
    color: #000000;
  }
  main .contain > .tabs-uls .active {
    opacity: 1;
    padding: 0.625rem 1.875rem;
    background: linear-gradient(270deg, #0259fa 0%, #55d9cc 100%);
  }
  main .contain > .tabs-uls .active a {
    color: white;
  }
  main .contain .cols {
    width: 100%;
    margin: 1.875rem 0;
  }
  main .contain .cols .col {
    display: none;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.875rem;
  }
  main .contain .cols .col .item {
    border-radius: 4px;
    background: #f7f7f7;
    display: flex;
    flex-direction: column;
    padding: 1.25rem;
    cursor: pointer;
    margin-top: 1.875rem !important;
    width: 18.125rem;
  }
  main .contain .cols .col .item .category {
    font-family: '苹方-简-常规';
    font-size: 1.625rem;
    font-weight: normal;
    line-height: 1.901rem;
    letter-spacing: 0px;
    color: #1d2129;
    margin-bottom: 1rem;
  }
  main .contain .cols .col .item .date {
    font-size: 1.25rem;
    font-weight: normal;
    line-height: 1.4625rem;
    letter-spacing: 0px;
    color: #86909c;
    margin-bottom: 1.375rem;
  }
  main .contain .cols .col .item .content {
    padding: 0;
    background-color: transparent;
    box-sizing: border-box;
    width: 100%;
    margin-bottom: 1.25rem;
  }
  main .contain .cols .col .item .content .title {
    margin-top: 1.25rem;
    font-family: '苹方-简-常规';
    font-size: 1.375rem;
    font-weight: normal;
    line-height: 2rem;
    letter-spacing: 0px;
    color: #4e5969;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
  }
  main .contain .cols .col .item .content img {
    width: 100%;
    height: 13.75rem !important;
  }
  main .contain .cols .col .item .likes {
    display: none;
  }
  main .contain .cols .col .item:nth-child(3n + 1) {
    height: auto;
  }
  main .contain .cols .col .item:nth-child(3n + 1) .content img {
    height: auto;
    object-fit: cover;
  }
  main .contain .cols .col .item:nth-child(3n + 2) {
    height: auto;
  }
  main .contain .cols .col .item:nth-child(3n + 2) .content img {
    height: auto;
    object-fit: cover;
  }
  main .contain .cols .col .item:nth-child(3n + 3) {
    height: auto;
  }
  main .contain .cols .col .item:nth-child(3n + 3) .content img {
    height: auto;
    object-fit: cover;
  }
  main .contain .cols .col .item:nth-child(odd) {
    height: 29.875rem;
  }
  main .contain .cols .col .item:nth-child(odd) .content img {
    height: 13.75rem;
    object-fit: cover;
  }
  main .contain .cols .col .item:nth-child(even) {
    height: 29.875rem;
  }
  main .contain .cols .col .item:nth-child(even) .content img {
    height: 9.375rem;
    object-fit: cover;
  }
  main .contain .cols .col:nth-of-type(1) {
    display: grid;
  }
}
