@media screen and (min-width: 768px) {
    /**
     * 网页宽度大于768时
     */
    main{
        width: 1000px !important;
    }
    .w-main-left{
        width: 700px;
    }
    .w-main-right{
        width: 300px;
    }
}
@media screen and (max-width: 1320px) {
    /**
     * 网页宽度小于 1320 时
     */
    .w-header-third-login{
        display: none;
    }
    .w-header-left{
        display: none;
    }
}
@media screen and (max-width: 768px) {
    /**
     * 网页宽度小于 768 时
     */
    main{
        width: 100%;
    }
    .w-main-left{
        width: 100%;
    }
    .w-main-right{
        display: none;
    }
    .w-header-logo{
        display: none;
    }
    .w-header-logo{
        display: none;
    }
    footer div:first-child{
        display: none !important;
    }
    footer div:last-child{
        width: 100% !important;
    }
    .w-header{
        padding-left: 10px;
    }
    .w-header-subtitle-author{
        display: none;
    }
}
@media screen and (max-width: 508px) {
    .w-art-right{
        display: none !important;
    }
}
body{
    margin: 0px !important;
    position: relative;
    display: flex;
    flex-direction: column; /* 垂直排列子元素 */
    min-height: 100vh;     /* 最小高度为视口高度 */
}
header{
    width: 100%;
    height: 50px;
    box-sizing: border-box;
    position: absolute;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    right: 0;
    overflow: hidden;
    background: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
main{
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: auto;
    padding-top: 10px;
    flex: 1;
}
main::after {
    content: "";
    display: table;
    clear: both;
}
.pre-main{
    width: 100%;
    height: 56px;
}
.w-header-middle{
    width: 100%;
    max-width: 1000px;
    margin: auto;
    height: 50px;
    line-height: 50px;
    flex: 1;
}
#header-all{
    z-index: 999;
    transition: transform 0.6s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.show-title{
    transform: translateY(-50px);
}
.w-main{
    float: left;
    overflow: hidden;
}
.w-padding{
    padding: 10px;
}
.w-header-tab{
    width: auto;
    box-sizing: border-box;
    float: left;
    padding: 0px 20px 0px 20px;
    font-size: 18px;
    cursor: pointer;
}
.w-header-tab:hover{
    color: #1989fa;
}
.w-header-tab>a{
    color: black;
    text-decoration: none;
}
.w-header-tab>a:hover{
    color: #1989fa;
}
.w-header-login{
    float: right;
    margin-right: 15px;
    color: #606266;
    cursor: pointer;
}
.w-header-login span:hover{
    color: #1989fa;
}
.w-header-third-login .iconfont{
    font-size: 28px;
    cursor: pointer;
}
.w-header-third-login .iconfont:hover{
    color: #1989fa;
}
.w-header-tab:first-child{
    padding-left: 0px;
}
.w-header{
    width: 100%;
    height: 50px;
    max-width: 1320px;
    margin: 0 auto;
}
.w-header-right{
    width: 160px;
    height: 50px;
    box-sizing: border-box;
    line-height: 50px;
}
.w-header-left{
    width: 160px;
    height: 50px;
    box-sizing: border-box;
    line-height: 65px;
}
.w-header-tab-list{
    align-items: center;
    display: flex;
    overflow: hidden;
}
.w-main-left {
    box-sizing: border-box;
    margin-top: 10px;
    padding: 10px 25px;
    border-radius: 5px;
    /*box-shadow: 1px 2px 5px rgba(0, 0, 0, 0.1);*/
}
.w-main-right{
    box-sizing: border-box;
    padding-left: 20px !important;
}
.w-header-search{
    padding-left: 20px;
}
.w-header-search-all{
    width: 200px;
    font-size: 14px;
    position: relative;
    transition: width 0.5s ease;
}
.w-header-search-all:focus-within{
    width: 250px;
}
#w-header-search-input{
    height: 32px;
    -webkit-appearance: none;
    background-color: #FFF;
    background-image: none;
    border-radius: 16px;
    border: 1px solid #DCDFE6;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    color: #606266;
    display: inline-block;
    outline: 0;
    -webkit-transition: border-color .2s cubic-bezier(.645,.045,.355,1);
    transition: border-color .2s cubic-bezier(.645,.045,.355,1);
    width: 100%;
    padding: 1px 10px 0 10px !important;
}
.w-header-search-icon{
    position: absolute;
    top: 0;
    font-size: 20px;
    color: #c0c4cc;
    padding-top: 2px;
    right: 8px;
}
.w-header-search-all:focus-within .w-header-search-icon{
    color: #1989fa;
}
.w-header-search-icon:hover{
    cursor: pointer;
}

footer{
    height: auto!important;
    width: 100%;
    text-align: center;
    margin-top: 20px;
    padding: 20px;
    box-sizing: border-box;
    border-top: 1px solid #f0f0f0;
    margin-bottom: 15px;
    display: flex;
    margin-bottom: 0px;
}
footer div:first-child>img{
    height: 140px;
}
footer div:first-child>img:first-child{
    height: 60px;
}
footer div:first-child{
    width: 50%;
    text-align: right;
    padding-right: 20px;
    box-sizing: border-box;
    border-right: 2px solid #f0f0f0;
    height: 140px;
    align-items: center;
    display: flex;
    justify-content: flex-end;
}
footer div:last-child{
    width: 50%;
    text-align: left;
    padding-left: 20px;
    box-sizing: border-box;
    color:#606266;
    font-size: 13px;
    line-height: 28px;
}
.icon-address{
    font-size: 17px;
    margin-right: 5px;
}
.icon-email{
    font-size: 18px;
    margin-right: 5px;
}
footer a{
    text-decoration: none;
    color:#606266;
}
footer a:hover{
    color:black;
}
.w-header-subtitle{
    display: flex;
}
.w-header-subtitle-title{
    font-size: 22px;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.w-art-content{
    margin-top: 20px;
}
.w-art-content-title{
    font-size: 28px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
}
.w-art-opt{
    position: absolute;
    width: 50px;
    height: 180px;
    margin-left: -85px;
    position: fixed;
    top: 35%;
    /*border: 1px solid #ebeef5;*/
    border-radius: 4px;
    /*box-shadow: 0 2px 12px 0 rgba(0,0,0,.1);*/
    background: white;
}
.w-art-opt div{
    width: 50px;
    height: 60px;
    text-align: center;
    line-height: 60px;
}
.w-art-opt div span{
    font-size: 25px;
    padding-right: 0 !important;
}
.w-art-opt div:hover{
    background-color: #ecf5ff;
    color: #1989fa !important;
    cursor: pointer;
}
@keyframes jump {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
    100% {
        transform: scale(1);
    }
}
.w-art-content-info p{
    line-height: 1.8;
}
.w-art-content-info{
    color: #303030;
}
.w-art-content-info img{
    cursor: pointer;
    border-radius: 3px;
}
input::placeholder {
    color: #c0c4cc; /* 设置颜色为红色 */
}
.w-art-content-author{
    margin-top: 15px;
    margin-bottom: 25px;
    display: flex; /* 使用 Flexbox 布局 */
    height: 50px; /* 设置容器高度 */
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 12px;
}
.w-art-picture{
    width: 50px;
    height: 50px;
    border-radius: 25px;
    overflow: hidden;
    cursor: pointer;
}
.w-art-top-picture{
    width: 40px;
    height: 40px;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    margin-right: 10px;
}
.w-art-top-name{
    color: #303030;
}
.w-art-msg{
    flex-grow: 1; /* 右侧 div 充满剩余空间 */
    height: 50px; /* 确保右侧 div 高度 */
    padding-left: 12px;
}
.w-art-msgs{
    color: #606266;
    font-size: 13px;
}
.w-art-msgs > span{
    margin-right: 10px;
}
.w-art-msgs .iconfont{
    font-size: 13px;
}
.w-art-md{
    display: block;
    border: 1px solid #1989fa;
    padding: 0 4px;
    font-size: 10px;
    color: #1989fa;
    border-radius: 3px;
}
.w-art-msg > div{
    height: 25px;
}
.w-art-msg > div:last-child{
    height: 25px;
    display: flex; /* 使用 Flexbox */
    align-items: flex-end; /* 垂直底部对齐 */
}
.w-art-author-name{
    color: #303030;
    cursor: pointer;
}
.w-art-author-name:hover{
    color: black;
}
.w-header-subtitle-author{
    display: flex;
    align-items: center;
}