@charset "utf-8";

/*列表页*/
.list_news{
    width: 1400px;
    height: auto;
    margin: 0 auto;
    background-color: #fff;
    padding-bottom: 50px;
    border-radius: 5px;
    min-height: 500px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}
.list_news1{
    width: 100%;
    height: auto;
    padding: 30px 30px;
    box-sizing: border-box;
}
.list_news_title{
    width: 100%;
    height: auto;
    margin-bottom: 20px;
}
.list_news_title h3 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;        /* 加大文字与线条间距 */
    margin: 0;
    font-size: 30px;  /* 标题字号同步放大 */
    color: #333;
}

.list_news_title h3::before,
.list_news_title h3::after {
    content: '';
    width: 100px;     /* ✅ 长度从60px → 100px */
    height: 3px;      /* ✅ 粗细从1px → 3px */
    border-radius: 2px; /* 加粗后加圆角更精致 */
}

/* 左侧：从透明到主题色 */
.list_news_title h3::before {
    background: linear-gradient(to right, transparent, #df0a0a);
}

/* 右侧：从主题色到透明 */
.list_news_title h3::after {
    background: linear-gradient(to left, transparent, #df0a0a);
}
.list_news_ul{
    width: 100%;
    height: auto;
    list-style: none;
    margin: 0;
    padding: 0;
}
.list_news_li{
    border-bottom: 1px dashed #e5e5e5;
}
.list_news_li:last-child {
    border-bottom: none;
}
.list_news_li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    text-decoration: none;
    color: #333;
    transition: color 0.2s;
}

.list_news_li a:hover {
    color: #df0a0a;
}

/* 标题样式 */
.list_news_li p {
    margin: 0;
    font-size: 18px;
    line-height: 1.5;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 日期样式 */
.list_news_li span {
    flex-shrink: 0;
    font-size: 18px;
    color: #999;
    white-space: nowrap;
}

@media only screen and (max-width: 1000px) {
    .list_news{
        width: 100%;
    }
    .main_yq1 {
        width: 100%;
        padding: 10px 10px;
        box-sizing: border-box;
        top: -115px;
    }
    .list_news_title h3{
        font-size: 20px;
    }
}