.news {
  height: 1014px;
  background-image: url(../images/news-bg.png);
  background-repeat: round;
}
.news-title {
  height: 120px;
  font-weight: 600;
  font-size: 28px;
  color: #000000;
  display: flex;
  align-items: center;
}
.news-title-line {
  width: 26px;
  height: 6px;
  background: #4982ba;
  border-radius: 4px;
}
.main-content {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 100px;
  background-color: #ffffff00;
}

.news-content-item {
  display: flex;
}
.news-items {
  display: flex;
  flex-direction: column;
  gap: 65px;
}

.news-item {
  font-size: 23px;
  width: 340px;
  height: 120px;
  line-height: 120px;
  text-align: center;
  color: #000;
  cursor: pointer;
  background-color: aliceblue;
}

.news-item-active {
  color: #fff;
  display: grid !important;
  background: linear-gradient(to left, #8bcce5, #4982ba);
}

.news-content-right {
  position: relative;
}

.news-content-right-item {
  position: absolute;
  display: node;
  /* flex-direction: column; */
  gap: 40px;
  transition: opacity 0.3s ease;
  opacity: 0;
  width: 0px;
}

.news-content-right-item.item-img {
  grid-template-columns: repeat(2, 1fr);
  flex-direction: column;
  width: 100%;
  max-height: 690px;
  overflow: hidden;
  overflow-y: auto;
}

.news-content-right-item.item-img img {
  width: 318px;
  height: 345px;
  /* object-fit: cover; */
}

.news-content-right-item.item-img a {
  position: relative;
  width: 100%;
  text-align: center;
}
.news-content-right-item.item-img div {
  bottom: 0px;
  width: 100%;
  position: absolute;
  background-color: rgb(157, 157, 157);
  height: 40px;
  line-height: 40px;
  padding: 0px 16px;
  color: #fff;
  font-size: 19px;
}

.news-content-right-item.item-img {
  display: none;
  grid-template-columns: repeat(3, 1fr);
  flex-direction: column;
  gap: 40px;
}

.news-content-right-item.item-qrcode {
  grid-template-columns: repeat(4, 1fr);
  max-height: 700px;
  overflow: hidden;
  overflow-y: auto;
}

.news-content-right-item.item-qrcode a {
  width: auto;
  background: #f2f2f2;
  padding: 16px;
  box-sizing: border-box;
}

.news-content-right-item.item-qrcode .company-name {
  font-weight: 500;
  position: static;
  background-color: transparent;
  color: #000;
  padding: 0px;
  font-size: 20px;
  height: 24px;
  line-height: 15px;
}

.news-content-right-item.item-qrcode .title {
  font-weight: 500;
  font-size: 17px;
  line-height: 12px;
  height: 12px;
  position: static;
  background-color: transparent;
  color: #000;
  padding: 0px;
  margin: 11px 0px;
}

.news-content-right-item.item-qrcode img {
  height: auto;
  object-fit: contain;
  width: 100%;
}

.time-line {
  position: absolute;
  left: 0px;
  top: 50px;
  height: calc(100% - 100px);
  width: 50px;
  border-right: solid 1px #9dbad6;
  z-index: -1;
}

.news-timeline {
  min-width: 100px;
  height: 100px;
  box-shadow: 0px 7px 20px 0px rgba(74, 131, 187, 0.2);
  background-color: rgba(255, 255, 255, 1);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
  flex-direction: column;
}

.news-date {
  overflow-wrap: break-word;
  color: #000000;
  font-size: 22px;
  font-family: PingFangSC-Medium;
  font-weight: 500;
}

.news-year {
  color: #000000;
  font-size: 16px;
  font-family: PingFangSC-Medium;
  font-weight: 500;
}

.news-document {
  margin-left: 32px;
}

.news-doc-title {
  color: #000000;
  font-size: 24px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  margin-bottom: 15px;
}

.news-doc-content {
  color: #999999;
  font-size: 20px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.news-content-right-item.news-active {
  opacity: 1;
  width: 100%;
  display: grid !important;
}

/* .news-content-right-item.item-img.news-active {
  opacity: 1;
  height: auto;
  max-height: 700px;
}

.news-content-right-item.item-qrcode.news-active {
  opacity: 1;
  height: auto;
  max-height: 700px;
} */

@media (max-width: 900px) {
  .news-title {
    height: 150px !important;
  }
  .main-content {
    display: block !important;
  }

  .news-items {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0px !important;
    margin-bottom: 15px !important;
  }

  .news-item {
    width: auto !important;
    height: 60px !important;
    line-height: 60px !important;
  }

  .news-content-right-item {
    opacity: 0 !important;
    transition: opacity 0.3s ease;
  }

  .news-content-right-item.news-active {
    display: grid !important;
    gap: 25px !important;
    opacity: 1 !important;
  }

  .news-content-right-item.item-img {
    display: grid !important;
    grid-template-columns: repeat(1, 1fr);
    gap: 10px !important;
  }

  .news-content-right-item.item-qrcode {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px !important;
  }
}
