.x-con {
  margin-top: 80px;
  margin-bottom: 90px;
}
.x-con .x-items {
  background-color: #f0f4f7;
  border-radius: 20px;
  margin-bottom: 60px;
  display: flex;
  justify-content: space-between;
  transition: all 0.5s;
  padding: 60px 4.17%;
}
.x-con .x-items .x-lf {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 59.5%;
  /* hover状态 */
}
.x-con .x-items .x-lf div p {
  font-family: DIN-Medium;
  font-size: 16px;
  color: #0094de;
  font-weight: 600;
}
.x-con .x-items .x-lf div a {
  transition: all 0.5s;
}
.x-con .x-items .x-lf div a:nth-child(2) {
  font-size: 24px;
  font-weight: bold;
  margin-top: 10px;
  line-height: 1.3;
  color: #333333;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  display: -moz-box;
  -moz-line-clamp: 2;
  -moz-box-orient: vertical;
  word-wrap: break-word;
  word-break: break-word;
  white-space: normal;
  margin-bottom: 26px;
}
.x-con .x-items .x-lf div a:nth-child(3) {
  font-size: 14px;
  line-height: 24px;
  color: #666666;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  display: -moz-box;
  -moz-line-clamp: 4;
  -moz-box-orient: vertical;
  word-wrap: break-word;
  word-break: break-word;
  white-space: normal;
}
.x-con .x-items .x-lf a.more {
  width: 130px;
  height: 40px;
  border-radius: 20px;
  border: solid 1px #0094de;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  font-weight: bold;
  color: #0094de;
  position: relative;
  /* 新增：防止伪元素溢出圆角 */
  overflow: hidden;
  /* 新增：文字颜色过渡 */
  transition: all 0.3s ease;
}
.x-con .x-items .x-lf a.more::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: #0094de;
  border-radius: 20px;
  /* 背景层在文字下方 */
  z-index: -1;
  /* 背景宽度过渡动画 */
  transition: width 0.3s ease;
}
.x-con .x-items .x-lf a.more:hover {
  color: #ffffff;
  box-shadow: 1px 1px 10px #0094de;
}
.x-con .x-items .x-lf a.more:hover::before {
  width: 100%;
}
.x-con .x-items a.x-rt {
  width: 34.1%;
}
.x-con .x-items a.x-rt p {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  width: 100%;
  height: 300px;
}
.x-con .x-items:nth-last-child(2) {
  margin-bottom: 98px;
}
.x-con .x-items:hover {
  transform: translateX(4px);
  box-shadow: 1px 1px 10px #f0f4f7;
}
.x-con .x-items:hover .x-lf div a {
  color: #0094de !important;
}
@media (max-width: 1700px) {
  .x-con .x-items {
    padding: 55px 4%;
  }
  .x-con .x-items a.x-rt p {
    height: 280px;
  }
}
@media (max-width: 1599px) {
  .x-con {
    margin-top: 70px;
    margin-bottom: 80px;
  }
  .x-con .x-items {
    padding: 50px 3.8%;
    margin-bottom: 50px;
  }
  .x-con .x-items .x-lf div a:nth-child(2) {
    font-size: 22px;
  }
  .x-con .x-items a.x-rt p {
    height: 260px;
  }
  .x-con .x-items:nth-last-child(2) {
    margin-bottom: 80px;
  }
}
@media (max-width: 1477px) {
  .x-con {
    margin-top: 60px;
    margin-bottom: 70px;
  }
  .x-con .x-items {
    padding: 45px 3.5%;
    margin-bottom: 45px;
  }
  .x-con .x-items .x-lf div a:nth-child(2) {
    font-size: 20px;
    margin-bottom: 22px;
  }
  .x-con .x-items a.x-rt p {
    height: 240px;
  }
  .x-con .x-items:nth-last-child(2) {
    margin-bottom: 70px;
  }
}
@media (max-width: 1365px) {
  .x-con .x-items {
    padding: 40px 3.2%;
    margin-bottom: 40px;
  }
  .x-con .x-items .x-lf a.more {
    width: 120px;
    height: 38px;
    font-size: 13px;
  }
  .x-con .x-items a.x-rt p {
    height: 267px;
  }
  .x-con .x-items:nth-last-child(2) {
    margin-bottom: 60px;
  }
}
@media (max-width: 1199px) {
  .x-con {
    margin-top: 50px;
    margin-bottom: 60px;
  }
  .x-con .x-items {
    padding: 35px 3%;
  }
  .x-con .x-items .x-lf {
    width: 55%;
  }
  .x-con .x-items a.x-rt {
    width: 40%;
  }
  .x-con .x-items a.x-rt p {
    height: 250px;
  }
}
@media (max-width: 990px) {
  .x-con .x-items {
    flex-direction: column-reverse;
    padding: 30px 4%;
    margin-bottom: 35px;
  }
  .x-con .x-items .x-lf {
    width: 100%;
    margin-top: 30px;
  }
  .x-con .x-items a.x-rt {
    width: 100%;
  }
  .x-con .x-items a.x-rt p {
    height: 280px;
  }
  .x-con .x-items:nth-last-child(2) {
    margin-bottom: 50px;
  }
}
@media (max-width: 767px) {
  .x-con {
    margin-top: 66px;
    margin-bottom: 65px;
  }
  .x-con .x-items {
    border-radius: 15px;
    margin-bottom: 30px;
    padding: 25px 5%;
  }
  .x-con .x-items .x-lf {
    margin-top: 44px;
  }
  .x-con .x-items .x-lf div p {
    font-size: 14px;
  }
  .x-con .x-items .x-lf div a:nth-child(2) {
    font-size: 18px;
    margin-top: 18px;
    margin-bottom: 30px;
    -webkit-line-clamp: 3;
    -moz-line-clamp: 3;
  }
  .x-con .x-items .x-lf div a:nth-child(3) {
    font-size: 14px;
    line-height: 1.8;
    -webkit-line-clamp: 3;
    -moz-line-clamp: 3;
  }
  .x-con .x-items .x-lf a.more {
    width: 100%;
    height: 45px;
    border-radius: 22px;
    font-size: 15px;
    margin-top: 29px;
    margin-bottom: 19px;
  }
  .x-con .x-items a.x-rt p {
    height: 200px;
    border-radius: 10px;
  }
  .x-con .x-items:nth-last-child(2) {
    margin-bottom: 55px;
  }
}
