#news {
  background: #fff;
  padding: 30px 0 0 0;
}
#news .row {
  margin-left: 0;
  margin-right: 0;
}
#news .rtlist {
  opacity: 1; 
  border-top: 1px solid #C9C9CA;
  border-bottom: 1px solid #C9C9CA;
}
    #news .rtlist ul {
        box-sizing: border-box;
        margin: 0;
        padding: 0;
        width: 100%;
        float: left;
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        margin-top: 0;
        margin-bottom: 1rem;
    }
        #news .rtlist ul li {
            list-style: none;
            width: 45%;
            /* 添加相对定位，为a元素内的伪元素定位提供参考 */
            position: relative;
            letter-spacing: 1.6px;
        }
            #news .rtlist ul li a {
                /* 移除旧的边框样式 */
                /* border-bottom: 2px solid transparent; */
                box-sizing: border-box;
                display: block; /* 改为block使链接填满li宽度 */
                text-decoration: none;
                color: inherit;
                /* 添加相对定位，为伪元素提供定位基准 */
                position: relative;
                padding-bottom: 2px; /* 为线条留出空间 */
            }

            #news .rtlist ul li p {
                color: #333333;
                display: -webkit-box;
                -webkit-box-orient: vertical;
                overflow: hidden;
                margin-bottom: 16px;
            }

            #news .rtlist ul li i {
                font-size: 0.8rem;
                margin: 1.11rem 0 1.11rem 0;
                color: #646464;
                display: block;
                font-style: normal;
                transition: .5s;
                -webkit-transition: .5s;
                -moz-transition: .5s;
                -ms-transition: .5s;
                -o-transition: .5s;
            }
            #news .rtlist ul li:hover i {
                color: #cd2b1d;
            }
            #news .rtlist ul li:hover p {
                color: #cd2b1d;
            }
/* 创建"线条"伪元素 - 修正版 */
            #news .rtlist ul li a::after {
                content: ''; /* 伪元素必须内容 */
                position: absolute;
                left: 0; /* 从最左侧开始 */
                bottom: 0; /* 定位在底部 */
                width: 0; /* 初始宽度为0（不可见） */
                height: 2px; /* 线条粗细 */
                background-color: #cd2b1d; /* 使用与:hover一致的颜色 */
                transition: width 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* 动画属性：宽度变化 */
            }

/* 鼠标悬停时，让"线条"宽度变为100% */
            #news .rtlist ul li a:hover::after {
                width: 100%; /* 从左到右滑到最右侧 */
            }


/* 左侧图片区域容器 - 已存在 */
#news .lf {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  background: #f8f9fa; /* 可选：添加背景色占位 */
  letter-spacing: 1.6px;
}

/* 轮播列表容器 */
#news .lf ul.cheng {
  position: relative;
  width: 100%;
  height: 500px; /* 与.lf的min-height匹配 */
  margin: 0;
  padding: 0;
  list-style: none;
}

/* 移动端响应式 */
@media screen and (max-width: 768px) {
    #news .lf {
        min-height: auto;
    }

        #news .lf ul.cheng {
            height: 440px;
        }
}

@media screen and (max-width: 480px) {
    #news .lf ul.cheng {
        height: 390px;
    }
}


/* 单个轮播项 */
#news .lf ul.cheng li {
  position: absolute; /* 关键：使所有li堆叠 */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0; /* 默认隐藏 */
  transition: opacity 0.8s ease-in-out;
  list-style: none;
  z-index: 1;
}


/* 当前活跃的轮播项 */
#news .lf ul.cheng li.active {
  opacity: 1;
  z-index: 2;
}

/* 图片容器 */
#news .lf ul.cheng li span {
  display: block;
  width: 100%;
  height: 300px; /* 图片区域高度 */
  overflow: hidden;
  border-radius: 8px; /* 可选：圆角 */
}
@media screen and (max-width: 768px) {
    #news .lf ul.cheng li span {
        height: 200px;
    }
}

@media screen and (max-width: 480px) {
    #news .lf ul.cheng li span {
        height: 160px;
    }
}

/* 图片样式 */
#news .lf ul.cheng li span img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 关键：保持比例并填充容器 */
  display: block;
  transition: transform 0.5s ease;
}

/* 图片悬停效果 */
#news .lf ul.cheng li:hover span img {
  transform: scale(1.03);
}

/* 日期样式 */
#news .lf ul.cheng li i {
  display: block;
  font-size: 0.9rem;
  color: #666;
  margin: 15px 0 8px 0;
  font-style: normal;
  font-family: HarmonyOS_Sans_SC_Light, sans-serif;
}

/* 标题样式 */
#news .lf ul.cheng li b {
  display: block;
  font-size: 1.4rem;
  font-weight: bold;
  color: #333;
  line-height: 1.4;
  margin-bottom: 14px;
  height:81px;
}
#news .lf ul.cheng li a{
color: #000;
font-size: 0.80rem;
text-underline-offset: unset;
}
/* 左右箭头按钮容器 */
#news .lf .rt {
  position: absolute;
  bottom: 38px;
  right: 20px;
  z-index: 10;
  display: flex;
  gap: 12px;
}

/* 单个箭头按钮 */
#news .lf .rt span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

/* 箭头按钮悬停效果 */
#news .lf .rt span:hover {
  background: #cd2b1d;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

/* 箭头按钮中的图片 */
#news .lf .rt span img {
  width: 24px;
  height: 24px;
  transition: opacity 0.3s ease;
}

/* 默认显示第一个图标，悬停时切换 */
#news .lf .rt span img:first-child {
  opacity: 1;
}
#news .lf .rt span img:last-child {
  opacity: 0;
  position: absolute;
}
#news .lf .rt span:hover img:first-child {
  opacity: 0; 
}

#news .lf .rt span:hover img:last-child {
  opacity: 1;  
}

#news .t6_rt img:nth-child(1){ 
  opacity: 1;
}
    #news .lf ul.cheng li img {
        width: 100%; /* 图片宽度占满容器 */
        height: auto; /* 高度自动调整，保持比例 */
        max-height: 300px; /* 设置最大高度，防止图片过高 */
        object-fit: cover; /* 裁剪图片以适应容器，避免变形 */
        display: block; /* 防止图片下方出现空白 */
    }


.pagination {
    display: inline-block;
    padding-left: 0;
    margin: 20px 0;
    border-radius: 4px
}

    .pagination > li {
        display: inline
    }

        .pagination > li > a,
        .pagination > li > span {
            position: relative;
            float: left;
            padding: 6px 12px;
            margin-left: -1px;
            line-height: 1.42857143;
            color: #a82f34;
            text-decoration: none;
            background-color: #fff;
            border: 1px solid #ddd
        }

        .pagination > li:first-child > a,
        .pagination > li:first-child > span {
            margin-left: 0;
            border-top-left-radius: 4px;
            border-bottom-left-radius: 4px
        }

        .pagination > li:last-child > a,
        .pagination > li:last-child > span {
            border-top-right-radius: 4px;
            border-bottom-right-radius: 4px
        }

        .pagination > li > a:focus,
        .pagination > li > a:hover,
        .pagination > li > span:focus,
        .pagination > li > span:hover {
            color: #a82f34;
            background-color: #eee;
            border-color: #ddd
        }

    .pagination > .active > a,
    .pagination > .active > a:focus,
    .pagination > .active > a:hover,
    .pagination > .active > span,
    .pagination > .active > span:focus,
    .pagination > .active > span:hover {
        z-index: 2;
        color: #fff;
        cursor: default;
        background-color: #a82f34;
        border-color: #a82f34
    }

    .pagination > .disabled > a,
    .pagination > .disabled > a:focus,
    .pagination > .disabled > a:hover,
    .pagination > .disabled > span,
    .pagination > .disabled > span:focus,
    .pagination > .disabled > span:hover {
        color: #777;
        cursor: not-allowed;
        background-color: #fff;
        border-color: #ddd
    }

.pagination-lg > li > a,
.pagination-lg > li > span {
    padding: 10px 16px;
    font-size: 18px
}

.pagination-lg > li:first-child > a,
.pagination-lg > li:first-child > span {
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px
}

.pagination-lg > li:last-child > a,
.pagination-lg > li:last-child > span {
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px
}

.pagination-sm > li > a,
.pagination-sm > li > span {
    padding: 5px 10px;
    font-size: 12px
}

.pagination-sm > li:first-child > a,
.pagination-sm > li:first-child > span {
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px
}

.pagination-sm > li:last-child > a,
.pagination-sm > li:last-child > span {
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px
}