.header-warp{
    width: 100%;
    padding: 15px 0;
}
.header-main{
    display: flex;
    flex-direction: row;
    max-width: 1200px;
    margin: 0 auto;
}
.header-logo{
    width: auto;
}
.header-logo img{
    width: auto;
    height: 60px;
}
.header-slogan{
    height: 30px;
    line-height: 20px;
    font-size: 16px;
    font-weight: bold;
    color: #999;
    padding: 5px 0;
    margin-top: 15px;
    margin-left: 5px;
}
ul.header-menu{
    display: flex;
    flex-direction: row;
    width: 640px;
    min-height: 40px;
    margin: 10px 0 10px auto;
    border-radius: 5px;
    overflow: hidden;
    background-color: #e40002;
}
ul.header-menu li{
    width: 12.5%;
    height: 100%;
}
ul.header-menu li a{
    display: flex;
    width: 100%;
    height: 100%;
    color: #fff;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    padding: 0;
    margin: 0;
}
ul.header-menu li a:hover{
    background-color: #f89c02;
}
.selected-item{
    background-color: #f89c02;
}
.shadow{
    border-bottom: 1px solid #ededed;box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}
.content-wrap{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    width: 100%;
    max-width: 1200px;
    margin: 15px auto;
    gap: 15px;
    align-items: flex-start;
}
.breadcrumb{
    width: 100%;
    max-width: 1200px;
    height: 30px;
    line-height: 30px;
    padding: 5px 0;
    margin: 5px auto;
}
.main-content{
    display: flex;
    flex-direction: column;
    width: calc(100% - 365px);
    min-height: 600px;
    padding: 0;
}
.article-head,.widget-head{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    padding-top: 10px;
    background-color: #f5f6fa;
    border-bottom: 1px solid #ededed;
    border-radius: 3px;
}
.article-head-cn,.widget-head-cn{
    height: 40px;
    line-height: 40px;
    font-size: 16px;
    font-weight: bold;
}
.article-head-cn{
    padding: 0 10px;
}
.article-head-more,.widget-head-more{
    height: 40px;
    line-height: 40px;
    margin-left: auto;
}
.selected-article-head{
    color: #e40002;
    border-bottom: 1px solid #e40002;
}
.article-list{
    margin-bottom: 25px;
}
.article-item{
    display: block;
    border-bottom: 1px solid #ededed;
    padding-bottom: 15px;
    padding-top: 15px;
}
.article-item,.widget-item-bar,.widget-item-data{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}
.article-item-img{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 260px;
    height: 150px;
    border: 1px solid #ededed;
    background-color: #fff;
}
.article-item-img img{
    width: auto;
    height: 100%;
}
.article-item-main{
    display: flex;
    flex-direction: column;
    flex: 1;
    margin-left: 15px;
    overflow: hidden;
}
.article-item-tit{
    height: 30px;
    line-height: 30px;
    font-size: 18px;
    padding-right: 10px;
    box-sizing: border-box;
    margin-bottom: 10px;
    overflow: hidden;
}
.widget-item-icon{
    height: 25px;
    line-height: 25px;
    color: #999;
    margin-right: 5px;
}
.widget-item-cn{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    height: 25px;
    line-height: 25px;
    color: #999;
    font-size: 12px;
}
.widget-head-span{
    display: inline-block;
    width: 5px;
    height: 20px;
    background-color: #e40002;
    margin-right: 5px;
}
.widget-item-data{
    margin-right: 25px;
}
.article-item-desc{
    min-height: 50px;
    max-height: 75px;
    line-height: 25px;
    color: #999;
    font-size: 14px;
    margin-top: auto;
    overflow: hidden;
}
.sidebar{
    width: 350px;
    min-height: 600px;
    padding: 0 15px;
    background-color: #f5f6fa;
    border-radius: 3px;
    box-sizing: border-box;
}
.widget-list{
    display: flex;
    flex-direction: column;
}
.widget-item{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ededed;
}
.widget-item-img{
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-shrink: 0;
    width: 100px;
    height: 75px;
    overflow: hidden;
    border: 1px solid #ededed;
    background-color: #fff;
}
.widget-item-img img{
    width: auto;
    height: 75px;
}
.widget-item-tit{
    height: 40px;
    line-height: 20px;
    margin: 5px 0;
    overflow: hidden;
}
.article-item:hover,.widget-item:hover{
    background-color: #ededed;
}

/* 内容详情样式 */
.detail-head{ margin:15px 15px 0 15px;}
.detail-title{ min-height: 25px; line-height: 25px; font-size: 16px; font-weight: bold; text-align: center; padding: 5px 0; margin: 0;}
.detail-bar{display: flex;flex-direction: row;flex-wrap: nowrap;justify-content: flex-start; padding: 0 5px; box-sizing: border-box;
    border-bottom: 1px solid var(--border-color); margin-top: 5px;}
.detail-bar-item{ height: 25px;line-height: 25px;margin-right: 25px;color: var(--light-primary-color);overflow: hidden;}
.detail-bar-date{ height: 25px;line-height: 25px;margin-left: auto;color: var(--light-primary-color); overflow: hidden;}
.detail-bar-item i,.detail-bar-date i{ height: 25px;line-height: 25px; font-size: 16px; margin-right: 5px;}
.detail-description{ min-height: 50px; line-height: 25px; font-size: 13px; color: var(--icon-default-color); background-color: var(--bg-color);
    padding: 10px; box-sizing: border-box;border-bottom-left-radius: 5px; border-bottom-right-radius: 5px;}
.detail-content{width: 100%;padding: 15px;box-sizing: border-box; overflow: hidden;}
.detail-content{ line-height: 21px;flex: 1; margin-bottom: 15px;}
.detail-content img,.detail-content *{ max-width: 100%;}
/* 内容详情中分页样式 */
.detail-page{ display: flex; flex-direction: column; padding-top: 15px; margin: auto 15px 15px 15px; border-top: 1px solid var(--border-color);}
.detail-page dl{ display: flex; flex-direction: row; flex-wrap: nowrap; margin: 10px 0;}
.detail-page dl dt{ font-weight: bold; white-space: nowrap;}
.detail-page dl dd{ overflow: hidden; white-space: nowrap;}

.footer{
    background-color: #262b2f;
}
.footer *{
    color: #bababa;
}
.footer a:hover{
    color: #eee;
}
.footer-copyright{
    width: 100%;
    max-width: 1200px;
    min-height: 25px;
    line-height: 25px;
    text-align: center;
    padding: 10px 0 25px 0;
    margin: auto;
}
.footer-main{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    width: 100%;
    max-width: 1200px;
    padding-top: 50px;
    padding-bottom: 30px;
    margin: auto;
}
.footer-link{
    display: flex;
    flex-direction: column;
    width: 40%;
}
.footer-link-tit{
    height: 30px;
    line-height: 30px;
    margin-bottom: 20px;
}
.footer-link-main{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
}
.footer-link-item{
    height: 25px;
    line-height: 25px;
    padding-right: 50px;
    margin-bottom: 5px;
}
.footer-con{
    display: flex;
    flex-direction: column;
    width: 60%;
    margin-bottom: 30px;
}
.footer-menu{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    margin-bottom: 20px;
}
ul.footer-menu li{
    width: 12.5%;
    height: 25px;
    line-height: 25px;
    text-align: right;
}
.footer-info{
    width: 100%;
    height: 25px;
    line-height: 25px;
    text-align: right;
}


@media (max-width: 768px) {
    .header-warp{ padding-bottom: 0;}
    .header-logo{ height: 40px;padding-left: 10px;}
    .header-logo img{ height: 40px;}
    ul.header-menu{
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        width: 100%;
        border-radius: 0;
        margin-bottom: 0;
    }
    .header-main{
        flex-wrap: wrap;
    }
    ul.header-menu li{
        width: 25%;
        height: 35px;
        border-bottom: 1px solid #999;
    }
    ul.header-menu li a{
        height: 35px;
        line-height: 35px;
    }
    .header-slogan{
        padding: 0;
        margin-top: 5px;
        font-size: 13px;
        font-weight: bold;
        overflow-wrap: break-word;
        word-wrap: break-word; /* 兼容旧浏览器 */
    }
    .sidebar{
        display: none;
    }
    .content-wrap{
        width: 100%;
        margin: 0;
    }
    .main-content{
        width: 100%;
        padding: 0;
    }
    .article-item-img{
        width: 120px;
        height: 80px;
    }
    .article-item-tit{
        min-height: 25px;
        max-height: 50px;
        line-height: 25px;
        margin-bottom: 5px;
    }
    .article-item-desc{
        display: none;
    }
    .widget-item-icon,.widget-item-cn{
        height: 20px;
        line-height: 20px;
    }
    .footer-main{
        display: none;
    }
}
