html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.main {
  overflow-x: hidden;
  overflow-y: auto;
  height: 100vh;
}


/* cms */
.box_cms {
  width: 1224px;
  margin: auto;
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.cms_left {
  flex: 1;
  margin-right: 40px;
}

.left_row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
  box-sizing: border-box;
}

.cms_list {
  /* width: 400px; */
  width: calc(50% - 20px);
}
.cms_list_active {
  flex: 1;
  padding-left: 40px;
}
.cms_list_half {
  width: calc(33.33% - 26.66px);
  margin-bottom: 40px;
}
.cms_title {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #dddddd;
  align-items: center;
}
.cms_title p {
  border-bottom: 3px solid var(--text-color);
  padding-bottom: 5px;
  font-weight: bold;
  font-size: 18px;
  color: var(--text-color);
  line-height: 25px;
}
.cms_title .more {
  display: flex;
  align-items: center;
  font-weight: bold;
  font-size: 14px;
  color: #333333;
  line-height: 20px;
  margin-right: 3px;
  cursor: pointer;
}
.cms_title .more img {
  width: 14px;
  height: 14px;
  margin-left: 3px;
}
.cms_item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  cursor: pointer;
  border-bottom: 1px dashed #dddddd;
}
.list_image {
  width: 380px;
  height: 236px;
  margin-top: 10px;
  img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
  }
}

/* .cms_item:last-of-type {
  border-bottom: 0;
} */
.cms_item p {
  font-size: 14px;
  color: #333333;
  line-height: 20px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* 限制显示两行 */
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
}
.cms_item:hover p {
  color: #000;
  font-weight: bold;
}
.cms_item span {
  font-size: 14px;
  color: #999999;
  line-height: 40px;
  flex-shrink: 0;
  margin-left: 15px;
}
.cms_img {
  width: 100%;
  height: 172px;
  flex-shrink: 0;
  margin-top: 10px;
  object-fit: cover;
}

.active_list {
  width: 100%;
  display: flex;
  margin-top: 10px;
  margin-bottom: 20px;
}
.active_item {
  width: 197.5px;
  box-sizing: border-box;
  margin-right: 10px;
  cursor: pointer;
}
.active_item:last-child {
  margin-right: 0;
}
.active_item:hover {
  transform: scale(1.03);
  transition: transform 0.2s;
}

.active_item p {
  color: #333333;
  font-size: 14px;
  color: #333333;
  line-height: 20px;
  margin-bottom: 4px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* 限制显示两行 */
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
}
.active_item span {
  font-size: 14px;
  color: #999999;
  line-height: 20px;
}
.active_item .active_img {
  width: 100%;
  height: 126px;
  object-fit: cover;
  margin-bottom: 4px;
}

/* 右侧 */
.cms_right {
  flex-shrink: 0;
  width: 380px;
}
.box_login_qrcode {
  width: 100%;
  height: 203px;
  background: url("../../../images/web/bg_9_blue.png") no-repeat center center;
  background-size: 100% 100%;
  box-sizing: border-box;
  padding: 13px 0;
  text-align: center;
}
.box_login_qrcode .msg {
  width: fit-content;
  font-size: 18px;
  line-height: 25px;
  text-align: center;
  margin: 0 auto;
  margin-bottom: 14px;
  position: relative;

  font-weight: 400;
  font-size: 14px;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 3px;
  background: #ffffff;
  box-shadow: 0px 0px 5px 0px rgba(199, 175, 178, 0.5);
  border-radius: 18px;
  cursor: pointer;
}
.box_login_qrcode .msg div {
  padding: 5px 24px;

  font-weight: 500;
  font-size: 14px;
  color: var(--text-color);
  line-height: 20px;
  border-radius: 18px;
}
.box_login_qrcode .msg .act {
  background: var(--text-color);
  color: #fff;
}
.box_login_qrcode .qrcode {
  position: relative;
  width: 100px;
  height: 94px;
  background: #ffffff;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
  cursor: pointer;
  margin-bottom: 13px;
}
.box_login_qrcode .qrcode img {
  width: 100px;
  height: 94px;
}
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  height: 100%;
  font-size: 18px;
  font-weight: bold;
  color: white;
  background-color: rgb(0 0 0 / 70%); /* 半透明黑色背景 */
  justify-content: center;
  align-items: center;
}
.overlay-text {
  display: flex;
  align-items: center;
}

.cms_imgs {
  display: flex;
  flex-wrap: wrap;
}
.cms_imgs img {
  width: calc(50% - 5px);
  height: 90px;
  margin-top: 10px;
  cursor: pointer;
  object-fit: cover;
}
.cms_imgs img:hover {
  transform: scale(1.02);
  transition: transform 0.2s;
}
.cms_imgs img:nth-child(2n) {
  margin-left: 10px;
}

.popup {
  width: 100vw;
  height: 100vh;
  position: absolute;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.48);
  z-index: 999;
  overflow: hidden;
}
.popup_content {
  width: 442px;
  height: 442px;
  background: url("../../../images/web/bg_8_blue.png");
  background-size: 100% 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
  margin-top: 30vh;
}
.popup_content div {
  background-color: #fff;
  padding: 12px;
  border-radius: 10px;
}
.popup_content img {
  width: 197px;
  height: 197px;
}

.cms_bottom {
  width: 100%;
}

@media only screen and (max-width: 1250px) {
  .main {
    overflow-x: auto;
  }
  .left_row {
    padding-left: 20px;
  }
  .cms_list_active {
    box-sizing: border-box;
    padding-left: 20px;
  }
}
