.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;
}
.menu_selected{
    background-color: #f89c02;
}

.content-wrap{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    width: 100%;
    max-width: 1200px;
    height: auto;
    margin: 15px auto;
    gap: 15px;
    align-items: flex-start;
}
.main-content{
    width: calc(100% - 365px);
    padding: 10px 0;
}
.article-head,.widget-head{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    border-bottom: 1px solid #ededed;
}
.article-head-cn,.widget-head-cn{
    height: 40px;
    line-height: 40px;
    font-size: 16px;
    font-weight: bold;
}
.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-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{
    min-height: 30px;
    line-height: 30px;
    font-size: 18px;
    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;
    line-height: 25px;
    color: #999;
    font-size: 14px;
    margin-top: auto;
    overflow: hidden;
}
.sidebar{
    width: 350px;
    height: auto;
    padding: 10px 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;
}
.footer{
    background-color: #262b2f;
}
.footer *{
    color: #fff;
}
.footer-copyright{
    width: 100%;
    max-width: 1200px;
    height: 25px;
    line-height: 25px;
    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;
    margin: auto;
}
.footer-link{
    width: 40%;
}
.footer-con{
    display: flex;
    flex-direction: column;
    width: 60%;
    margin-bottom: 30px;
}
.footer-menu{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}
@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%;
        max-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;
    }
}
