* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Microsoft Yahei", sans-serif;
  background-color: #fdf5f2;
}
a{
  color: #000;
  text-decoration: none;
}
#bg_box{
  background-image: url(/2026nslh/2026nslh_bg.png);
  background-size: 100%;
  background-repeat: no-repeat;
}
.addMargin {
  margin-bottom: 60px;
}
.addMargin2{
  margin-bottom: 60px;
}
.swiper-button-prev, .swiper-container-rtl .swiper-button-next{
  background-image: none;
}
.swiper-button-next, .swiper-container-rtl .swiper-button-prev{
  background-image: none;
}
/* 顶部banner区域 */
.top-banner {
  width: 100%;
  text-align: center;
  position: relative;
  overflow: hidden;
  z-index: -1;
}
.top-banner img{
  width: 100%;
}
.banner-title {
  font-size: 50px;
  color: #fff;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 1;
}
.meeting-info {
  text-align: center;
  color: #fff;
  font-size: 14px;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

/* 容器 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 会议信息卡片 */
.meeting-card {
  background: url(/2026nslh/bg_jianjie.png) no-repeat;
  background-size: 100% 100%;
  border-radius: 8px;
  padding: 50px;
  margin-top: -140px;
  position: relative;
}

.meeting-card h2 {
  color: #e62429;
  font-size: 30px;
  margin-bottom: 30px;
  text-align: center;
}

.meeting-card p {
  color: #e62429;
  font-size: 20px;
  line-height: 2;
  text-align: left;
  text-indent: 2em;
}

.section-title img{
  width: 100%;
}
/* 两会动态 */
.news-container {
  overflow: hidden;
  margin-bottom: 30px;
  display: flex;
}

.news-swiper {
  width: 50%;
  height: 100%;
}

.news-swiper .swiper-slide {
  width: 100%;
  height: 348px;
}

.news-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-list-container {
  width: 50%;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.news-list {
  list-style: none;
  flex: 1;
}

.news-list li {
  font-size: 20px;
  color: #000;
  line-height: 1;
  padding-left: 15px;
  position: relative;
  margin-bottom: 34px;
  cursor: pointer;
  transition: color 0.3s;
}
.news-list li:last-child{
  margin-bottom: 0;
}
.news-list li:hover {
  color: #e62429;
}

.news-list li::before {
  content: url(/2026nslh/icon_lhdt_list.png);
  position: absolute;
  left: 0;
  color: #e62429;
  font-size: 12px;
  top: 50%;
  transform: translateY(-50%);
}
.news-list li a{
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}
.news-list li a:hover{
  color: #e62429;
}
.lhdt_l_t{
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  background-color: #e7594d;
}
.lhdt_l_t p{
  width: 80%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 60px;
  padding-left: 20px;
  font-size: 20px;
  color: #fff;
}
.btn-more{
  text-align: center;
  position: relative;
}
.btn-more::after{
  content: '';
  background: #e3e3e3;
  height: 1px;
  width: 100%;
  position: absolute;
  top: 50%;
  left: 0;
  z-index: -1;
}
.swiper-pagination-bullet{
background: #ffd7e5;
width: 15px;
height: 15px;
}
.swiper-pagination-bullet-active{
  background: #ffff00;
}
.swiper-container-horizontal>.swiper-pagination-bullets{
  position: absolute;
  left: unset;
  right: 10px;
  bottom: 15px;
  width: unset;
}
/* 两会观察 */
.lhgc_swiper_box{
  position: relative;
}
.observation-swiper {
  margin-bottom: 30px;
  /* padding: 0 5px; */
}

.observation-swiper .swiper-slide {
  padding: 5px;
  overflow: hidden;
  
  text-align: center;
}

.observation-swiper .swiper-slide img {
  border-radius: 8px;
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}
.observation-swiper .swiper-slide p{
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 20px;
  line-height: 2;
  padding: 0 10px;
} 
.swiper-button-prev{
  height: unset;
  width: unset;
  left: -70px;
}
.swiper-button-next{
  height: unset;
  width: unset;
  right: -70px;
}
/* 选项卡样式 - 修正所有错误 */
.tab-container {
  margin-bottom: 40px;
}

.tab-nav {
  display: flex;
  justify-content: center;
  position: relative;
}
.tab-nav::before,.tab-nav::after{
  width: 25%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-size: 100%;
 
  height: 46px;
  background-repeat: no-repeat;
}
.tab-nav::before{
  content: '';
  background-image: url(/2026nslh/bg_dbwy_left.png);
  background-position: left center;
  left: 0;
}
.tab-nav::after{
  content: '';
  background-image: url(/2026nslh/bg_dbwy_right.png);
  background-position: right center;
  right: 0;
}
.tab-btn {
  background: #fff;
  border: 1px solid #e62429;
  color: #e62429;
  padding: 10px 30px;
  margin: 0 20px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 35px;
  font-weight: 600;
}

.tab-btn.active {
  background: #e62429;
  color: #fff;
}

.tab-content {
  display: none;
  overflow: hidden;
}

.tab-content.active {
  display: flex;
  /* 增加间距，布局更美观 */
}

/* 修正：删除乱码、修正单位、补充基础样式 */
.channel-img-container {
  width: 50%;
}

.channel-img-container img {
  width: 100%;
  height: 353px;
  /* 修正kW→px，合理单位 */
  object-fit: cover;
  transition: all 0.3s ease;
  /* 图片切换平滑过渡 */
}

.channel-list-container {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.channel-list {
  list-style: none;
  flex: 1;
  /* 滚动条预留间距 */
}

.channel-list li {
  font-size: 14px;
  color: #666;
  line-height: 1.8;
  padding: 19px 30px;
  cursor: pointer;
  transition: all 0.3s;
}
.channel-list li p{
  /* 基础样式 - 可根据你的需求调整 */
  width: 100%;          /* 盒子宽度，按需修改 */
  font-size: 20px;       /* 文字大小，决定行高基础 */
  line-height: 2;      /* 行高，通常设置为1.5-1.8倍字体大小 */
  
  /* 关键样式 - 实现两行高度和文字截断 */
  height: calc(20px * 2 * 2); /* 盒子高度 = 字体大小 × 行高 × 2行 */
  overflow: hidden;             /* 隐藏超出盒子的内容 */
  display: -webkit-box;         /* 弹性盒模型，用于多行截断 */
  -webkit-line-clamp: 2;        /* 限制显示的行数为2 */
  -webkit-box-orient: vertical; /* 排列方向为垂直 */
  
  /* 可选：添加省略号（超出两行时显示） */
  text-overflow: ellipsis;
  
  /* 辅助样式 - 方便查看效果 */
  padding: 0 8px;
  
}
.channel-list li p a{
  color: #000;
  font-weight: 600;
}
.channel-list li:hover,
.channel-list li.active {
  background-color: #ffe5e5;
  position: relative;
  color: #c22119;
}
.channel-list li.active::before{
  content: '';
  width: 0;
  height: 0;
  border: 20px solid transparent;
  border-right-color: #ffe5e5;
  position: absolute;
  left: -40px;
  top: 50%;
  transform: translateY(-50%);
}
.channel-list li.active p a{
  color: #c22119;
}
/* 响应式适配 */
@media (max-width: 768px) {
  .banner-title {
    font-size: 32px;
  }

  .news-container {
    flex-direction: column;
  }

  .news-swiper,
  .news-list-container {
    width: 100%;
  }

  .news-swiper {
    height: 200px;
  }

  .tab-content.active {
    flex-direction: column;
    gap: 20px;
  }

  .channel-img-container,
  .channel-list-container {
    width: 100%;
    padding-left: 0;
  }

  .channel-img-container {
    margin-bottom: 20px;
  }

  .channel-img-container img {
    height: 250px;
    /* 移动端图片高度适配 */
  }
}