.index_tab {
    background-color: #ffffff;
    margin: 10px;
    box-sizing: border-box;
}

.index_tab h2 {
    width: 100%;
    font-size: 22px;
    font-weight: normal;
    display: block;
    box-sizing: border-box;
    background-color: var(--color-coffee);
    padding: 15px 20px;
}

.index_tab h2 span.current a {
    color: #fff;
}

.index_tab h2 span.current::after {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    content: '';
    display: block;
    width: 0;
    height: 0;
    margin-bottom: -12px;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid var(--theme);
}

.index_tab .list5 li {
    padding: 8px 0 8px 8px;
    background: url(../images/main_list_icon1.png) no-repeat left center;
}

.index_tab .list5.nopic .wen {
    padding-left: 0;
    height: auto;
}

.index_tab .list5 .wen {
    position: relative;
    padding-left: 22%;
    overflow: hidden;
}

.index_tab .list5.nopic .wen h4 {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    height: auto;
    font-weight: normal;
    margin-bottom: 5px;
}

.index_tab .list5 .wen h4 {
    font-size: 16px;
    line-height: 22px;
    height: 44px;
    overflow: hidden;
    color: #000;
    position: relative;
}

.wen h4 {
    position: relative; /* 添加 */
}

.wen h4:before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background-color: #a10000;
    transition: .5s;
}

.wen h4:hover:before {
    width: 100%; /* 添加悬停展开效果 */
}


.index_tab .time {
    padding: 0 0 0 35px;
    font-size: 11px;
    font-weight: 500;
    color: #999;
    text-align: left;
    background-image: url(../images/g_icon4.png);
    background-repeat: no-repeat;
    background-position: 0.15rem 50%;
    background-color: transparent;
    background-size: auto;
}

.part_news .more {
    color: white;
    float: right;
}


.part_news ul {
    margin: 10px;
}