#zbsc-container {
  width: 100%;
  height: 100%;
}

.zbsc-level-1 {
  width: 85%;
  height: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-top: 50px;
}

#news-level-2 {
  width: 900px;
}


/* 主内容区域 */
.wrap {
  display: flex;
  gap: 30px;
}

/* 左侧新闻列表 */
.wrap-left {
  width: 900px;
  flex: 1;
}

/* 右侧边栏 */
.wrap-right {
  width: 600px;
  flex-shrink: 0;
  position: absolute;
  top: 50px;
  left: 1140px;
}

.search-box {
  display: flex;
  margin-bottom: 80px;
  position: relative;
}

.search-box img {
  position: absolute;
  top: 14px;
  left: 8px;
}

.search-box input {
  width: 420px;
  height: 60px;
  flex: 1;
  padding: 8px 50px;
  border: 1px solid #ccc;
  outline: none;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}

.search-box button {
  width: 171px;
  height: 60px;
  padding: 8px 18px;
  background: #333333;
  color: #fff;
  border: none;
  cursor: pointer;
  font-family: PingFang TC;
  font-weight: 300;
  font-style: Light;
  font-size: 20px;
  leading-trim: NONE;
  line-height: 100%;
  letter-spacing: 20%;
  text-align: center;
  vertical-align: middle;
  border-bottom-right-radius: 10px;
  border-top-right-radius: 10px;
}

.widget {
  margin-top: 60px;
}

.widget-title {
  height: 44px;
  line-height: 44px;
  color: #333333;
  text-align: left;
  font-family: PingFang TC;
  font-weight: 600;
  font-style: Semibold;
  font-size: 24px;
  leading-trim: NONE;
  letter-spacing: 0%;
  vertical-align: middle;
  position: relative;
  margin-bottom: 30px;
}

.widget-title span {
  position: relative;
  z-index: 9;
}

.widget-title img {
  position: absolute;
  top: 6px;
  left: 75px;
}

/* 列表容器 */
.rank-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-family: "Microsoft Yahei", sans-serif;
  background-color: #f5f5f5;
  max-width: 800px;
  margin: 0 auto;
}

/* 列表项 */
.rank-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 16px;
  line-height: 1.6;
  font-size: 18px;
}

/* 序号样式（核心渐变效果） */
.rank-item::before {
  content: counter(list-counter);
  counter-increment: list-counter;
  width: 30px;
  text-align: center;
  margin-right: 12px;
  /* 关键：用nth-of-type给不同序号设置渐变颜色 */
}

.widget .rank-list {
  counter-reset: list-counter;
}

/* 给前3个序号设红色，后面设灰色，实现渐变过渡 */
.widget .rank-item:nth-of-type(1)::before,
.widget .rank-item:nth-of-type(2)::before,
.widget .rank-item:nth-of-type(3)::before {
  color: #e60012;
}

.widget .rank-item:nth-of-type(4)::before,
.widget .rank-item:nth-of-type(5)::before {
  color: #888888;
}

.widget .rank-item:nth-of-type(n + 6)::before {
  color: #666666;
}

.widget .rank-text {
  flex: 1;
  color: #333;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 16px;
}

.widget .rank-text.highlight {
  color: #e60012;
}

/* 响应式适配 - 手机端 */
@media (max-width: 768px) {
  .wrap {
    flex-direction: column;
    gap: 20px;
  }
  .wrap-right {
    width: 100%;
  }
  .banner {
    height: 160px;
  }
  .news-item {
    flex-direction: column;
  }
  .news-item img {
    width: 100%;
    height: 180px;
  }
  .news-tabs a {
    padding: 10px 12px;
    font-size: 14px;
  }
}

.back-link {
  font-size: 16px;
  color: #1E1E1E;
  margin-bottom: 1rem;
  display: inline-block;
  text-decoration: none;
  position: relative;
  cursor: pointer;
  left: -40px;
}

.back-link img {
  position: absolute;
  top: 4px;
  left: -25px;
}

#news-level-2 .news-detail_title {
  width: 600px;
  color: #333333;
  margin-bottom: 0.8rem;
  margin-left: auto;
  margin-right: auto;
  font-family: PingFang TC;
  font-weight: 600;
  font-style: Semibold;
  font-size: 24px;
  leading-trim: NONE;
  line-height: 1.5;
  letter-spacing: 0%;
  text-align: center;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.meta {
  text-align: center;
  color: #999999;
  font-size: 16px;
  margin-bottom: 1.5rem;
}

.meta .tag {
  width: 60px;
  height: 24px;
  line-height: 22px;
  display: inline-block;
  color: #d7000f;
  border: 1px solid #d7000f;
  border-radius: 2px;
  font-size: 12px;
  margin-left: 8px;
}

.content p {
  color: #333333;
  text-indent: 2em;
  text-align: justify;
  font-family: PingFang TC;
  font-weight: 400;
  font-style: Regular;
  font-size: 16px;
  leading-trim: NONE;
  line-height: 200%;
  letter-spacing: 10%;
  margin-bottom: 2rem;
}

.img-wrap {
  margin: 1.5rem 0;
  text-align: center;
}

.img-wrap img {
  max-width: 100%;
  height: auto;
  border: 1px solid #eee;
  margin-left: auto;
  margin-right: auto;
}
