/* =====================================================
   全局样式
===================================================== */

body{
    font-family:"Microsoft YaHei",sans-serif;
    margin:0;
    padding:0;
    background:#fff;
    color:#4c4f60;
    line-height:1.6;
}

.container{
    max-width:1160px;
    margin:0 auto;
    padding:0 15px;
}

a{
    text-decoration:none;
    transition:.3s;
}

h2{
    font-size:30px;
    color:#31333e;
    margin-bottom:30px;
    text-align:center;
    font-weight:bold;
}

/* 修复登录状态下顶部空白 */
html{
    margin-top:0 !important;
}

body.admin-bar{
    margin-top:0 !important;
    padding-top:0 !important;
}

#wpadminbar{
    display:none !important;
}

/* =====================================================
   导航栏
===================================================== */

.header{
    background:#fff;
    padding:15px 0;
    border-bottom:1px solid #f7f6f9;
    position:sticky;
    top:0;
    z-index:1000;
}

.nav-flex{
    display:flex;
    align-items:center;
    justify-content:space-between;
}

.logo{
    display:flex;
    align-items:center;
    font-size:22px;
    font-weight:bold;
    color:#0088cb;
}

.logo img{
    width:28px;
    margin-right:10px;
}

.nav-list{
    display:flex;
    list-style:none;
    margin:0;
    padding:0;
    gap:25px;
}

.nav-list a{
    color:#36324a;
    font-size:15px;
    font-weight:500;
}

.nav-list a:hover{
    color:#0088cb;
}

/* =====================================================
   下载区域
===================================================== */

.download-wrapper{
    padding:100px 0;
    background:#fff;
    border-bottom:1px solid #f9f9f9;
}

.download-flex{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:80px;
    flex-wrap:wrap;
}

.download-media{
    flex:1;
    min-width:450px;
}

.download-media img{
    width:100%;
    display:block;
    border-radius:15px;
    box-shadow:0 20px 50px rgba(0,0,0,.1);
}

.download-content{
    flex:1;
    min-width:420px;
}

.download-content h1{
    font-size:38px;
    line-height:1.2;
    margin-bottom:25px;
    color:#31333e;
}

.download-content p{
    font-size:17px;
    color:#6f6c7f;
    margin-bottom:35px;
    line-height:1.8;
}

/* =====================================================
   下载按钮
===================================================== */

.btn-group-vertical{
    display:flex;
    flex-direction:column;
    gap:15px;
    max-width:360px;
}

.btn-dl{
    display:flex;
    align-items:center;
    padding:16px 25px;
    background:#0088cb;
    color:#fff;
    border-radius:12px;
    font-weight:600;
    font-size:16px;
    transition:.3s;
}

.btn-dl:hover{
    background:#36324a;
    transform:translateY(-3px);
    box-shadow:0 5px 15px rgba(0,136,203,.3);
}

.btn-dl img{
    width:24px;
    margin-right:15px;
    filter:brightness(0) invert(1);
}

.btn-dl .txt{
    flex:1;
}

/* =====================================================
   功能区
===================================================== */

.feature-section{
    padding:80px 0;
    background:#f7f6f9;
}

.feature-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.feature-card{
    background:#fff;
    padding:45px 30px;
    border-radius:16px;
    text-align:center;
    transition:.3s;
}

.feature-card:hover{
    transform:translateY(-5px);
    box-shadow:0 10px 30px rgba(0,0,0,.05);
}

.feature-card img{
    width:110px;
    height:110px;
    object-fit:contain;
    margin-bottom:25px;
}

.feature-card h3{
    color:#0088cb;
    font-size:22px;
    margin-bottom:15px;
}

.feature-card p{
    font-size:14px;
    color:#6f6c7f;
    line-height:1.8;
}

/* =====================================================
   安装步骤
===================================================== */

.info-section{
    padding:80px 0;
    background:#fff;
}

.step-list{
    padding:0;
    list-style:none;
    max-width:900px;
    margin:0 auto;
}

.step-item{
    display:flex;
    gap:20px;
    margin-bottom:25px;
}

.step-num{
    width:32px;
    height:32px;
    background:#0088cb;
    color:#fff;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:bold;
    flex-shrink:0;
}

.step-text h4{
    margin:0 0 8px;
    font-size:17px;
    color:#31333e;
}

.step-text p{
    margin:0;
    font-size:14px;
    color:#6f6c7f;
}

/* =====================================================
   FAQ折叠
===================================================== */

.faq-section{
    background:#fff;
}

.faq-wrap{
    max-width:900px;
    margin:0 auto;
}

.faq-box{
    border:1px solid #eee;
    border-radius:12px;
    margin-bottom:15px;
    overflow:hidden;
}

.faq-box summary{
    padding:18px 25px;
    cursor:pointer;
    font-size:17px;
    font-weight:600;
    color:#31333e;
    list-style:none;
}

.faq-box summary::-webkit-details-marker{
    display:none;
}

.faq-box summary::after{
    content:"+";
    float:right;
    font-size:22px;
    color:#0088cb;
}

.faq-box[open] summary::after{
    content:"−";
}

.faq-box p{
    padding:0 25px 20px;
    margin:0;
    font-size:14px;
    color:#666;
    line-height:1.8;
}

/* =====================================================
   页脚
===================================================== */

.site-footer{
    background:#2f3341;
    color:#fff;
    padding:80px 0 30px;
}

.footer-top{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:60px;
}

.footer-col h3{
    font-size:18px;
    margin-bottom:20px;
    color:#fff;
}

.footer-col p,
.footer-col a{
    color:#c9c9c9;
    font-size:14px;
}

.footer-col ul{
    list-style:none;
    margin:0;
    padding:0;
}

.footer-col li{
    list-style:none;
    margin-bottom:12px;
}

.footer-col a:hover{
    color:#0088cb;
}

.footer-bottom{
    text-align:center;
    margin-top:60px;
    padding-top:25px;
    border-top:1px solid rgba(255,255,255,.08);
}

.footer-bottom p{
    margin:8px 0;
    color:#999;
    font-size:13px;
}

/* =====================================================
   下载页通用样式
===================================================== */

.windows-hero{
    padding:60px 0 70px;
    text-align:center;
}

.windows-image{
    max-width:360px;
    margin:0 auto 25px;
}

.windows-image img{
    display:block;
    width:100%;
    height:auto;
    margin:0 auto;
}

.windows-hero h1{
    font-size:26px;
    color:#31333e;
    font-weight:500;
    margin:0 0 15px;
    line-height:1.3;
}

.windows-desc{
    font-size:16px;
    color:#777;
    margin-bottom:30px;
}

.windows-btn{
    display:inline-block;
    background:#2496e8;
    color:#fff;
    font-size:16px;
    font-weight:600;
    padding:14px 32px;
    border-radius:50px;
    transition:.3s;
}

.windows-btn:hover{
    background:#1c84d1;
    color:#fff;
}

.portable-link{
    display:block;
    margin-top:15px;
    color:#2496e8;
    font-size:14px;
}

.windows-content{
    padding:60px 0;
    background:#f7f8fa;
}

.windows-content .feature-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.windows-content .feature-card{
    background:#fff;
    padding:30px;
    border-radius:12px;
}

.windows-content .feature-card h3{
    font-size:18px;
    margin-bottom:10px;
}

.windows-content .feature-card p{
    font-size:14px;
    color:#666;
    margin:0;
}

/* =====================================================
   文章页 single.php
===================================================== */

.single-page a{
    color:#0088cb;
    text-decoration:none;
}

.single-page a:link{
    color:#0088cb;
}

.single-page a:visited{
    color:#0088cb;
}

.single-page a:hover{
    color:#005f8a;
}

.single-page a:active{
    color:#005f8a;
}

/* 文章头部居中 */
.single-page .single-header{
    text-align:center;
    padding:50px 0 30px;
    background:#fff;
}

.single-page .breadcrumb{
    font-size:14px;
    color:#888;
    margin-bottom:15px;
}

.single-page .breadcrumb a{
    color:#0088cb;
}

.single-page .single-header h1{
    max-width:860px;
    margin:0 auto 15px;
    font-size:34px;
    line-height:1.4;
    color:#31333e;
    font-weight:bold;
}

.single-page .post-meta{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:18px;
    font-size:14px;
    color:#888;
}

.single-page .post-meta a{
    color:#888;
}

/* 文章内容居中 */
.single-page .single-content{
    padding:20px 0 70px;
    background:#fff;
}

.single-page .single-layout{
    display:flex;
    justify-content:center;
    align-items:flex-start;
    width:100%;
}

/* 主文章宽度 */
.single-page .post-content{
    width:100%;
    max-width:860px;
    margin:0 auto;
    flex:none;
}

/* 特色图 */
.single-page .post-thumbnail{
    margin-bottom:30px;
}

.single-page .post-thumbnail img{
    width:100%;
    height:auto;
    display:block;
    border-radius:12px;
}

/* 正文 */
.single-page .content-body{
    font-size:16px;
    line-height:1.9;
    color:#444;
}

.single-page .content-body p{
    margin:0 0 20px;
}

.single-page .content-body img{
    max-width:100%;
    height:auto;
    display:block;
    margin:20px auto;
    border-radius:8px;
}

.single-page .content-body h2,
.single-page .content-body h3,
.single-page .content-body h4{
    color:#31333e;
    margin-bottom:15px;
    line-height:1.4;
}

/* 文章页正文 h3 标题加大 */
.single-page .content-body h3{
    font-size:28px;
    font-weight:700;
}

.single-page .content-body ul{
    margin-top:10px;
    margin-bottom:20px;
    padding-left:22px;
}

.single-page .content-body li{
    margin-bottom:8px;
}

/* 右侧栏，如果以后使用，不影响居中 */
.single-page .sidebar{
    width:300px;
    flex-shrink:0;
}

.single-page .widget{
    background:#fff;
    border:1px solid #eee;
    border-radius:10px;
    padding:20px;
    margin-bottom:20px;
}

.single-page .widget h3{
    margin:0 0 15px;
    font-size:18px;
}

.single-page .widget ul{
    list-style:none;
    margin:0;
    padding:0;
}

.single-page .widget li{
    margin-bottom:12px;
}

.single-page .widget a{
    color:#333;
}

.single-page .widget a:hover{
    color:#0088cb;
}

/* 相关推荐 */
.single-page .related-posts{
    padding:60px 0;
    background:#f7f8fa;
}

.single-page .related-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:25px;
}

.single-page .related-item{
    background:#fff;
    border-radius:10px;
    padding:20px;
    border:1px solid #eee;
}

.single-page .related-item h3{
    font-size:18px;
    margin:0;
    line-height:1.5;
}

/* =====================================================
   最新文章封面
===================================================== */

.post-thumb{
    width:100%;
    height:220px;
    overflow:hidden;
    border-radius:14px 14px 0 0;
}

.post-thumb img{
    width:100%;
    height:100%;
    display:block;
    object-fit:cover;
    transition:.35s;
}

.feature-card:hover .post-thumb img{
    transform:scale(1.06);
}

.post-info{
    padding:20px;
}

.post-info h3{
    font-size:20px;
    margin:0 0 12px;
    color:#31333e;
}

.post-info p{
    margin:0;
    font-size:14px;
    color:#666;
    line-height:1.8;
}

/* =====================================================
   响应式
===================================================== */

@media(max-width:991px){

    .feature-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .download-wrapper{
        padding:60px 0;
    }

    .download-flex{
        flex-direction:column;
        gap:30px;
        text-align:center;
    }

    .download-media{
        min-width:100%;
    }

    .download-content{
        min-width:100%;
    }

    .download-content h1{
        font-size:34px;
        text-align:center;
    }

    .download-content p{
        font-size:15px;
        text-align:center;
    }

    .btn-group-vertical{
        margin:0 auto;
        max-width:320px;
    }

    .nav-list{
        display:none;
    }

    .footer-top{
        grid-template-columns:1fr 1fr;
    }

    .windows-image{
        max-width:360px;
    }

    .windows-content .feature-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .single-page .single-layout{
        flex-direction:column;
    }

    .single-page .post-content{
        width:100%;
        max-width:100%;
    }

    .single-page .sidebar{
        width:100%;
    }

    .single-page .related-grid{
        grid-template-columns:1fr;
    }
}

@media(max-width:768px){

    .windows-hero{
        padding:40px 0 50px;
    }

    .windows-image{
        max-width:260px;
        margin:0 auto 20px;
    }

    .windows-hero h1{
        font-size:28px;
    }

    .windows-desc{
        font-size:15px;
        padding:0 15px;
    }

    .windows-btn{
        width:100%;
        max-width:280px;
        box-sizing:border-box;
        font-size:14px;
        padding:12px 18px;
    }

    .windows-content .feature-grid{
        grid-template-columns:1fr;
    }

    .single-page .single-header h1{
        font-size:26px;
    }

    .single-page .content-body h3{
        font-size:23px;
    }

    .single-page .post-meta{
        flex-direction:column;
        gap:5px;
    }
}

@media(max-width:600px){

    .feature-grid{
        grid-template-columns:1fr;
    }

    .download-wrapper{
        padding:40px 0;
    }

    .download-content h1{
        font-size:28px;
        line-height:1.3;
    }

    .btn-dl{
        font-size:14px;
        padding:14px 18px;
    }

    .download-media img{
        border-radius:12px;
    }

    .footer-top{
        grid-template-columns:1fr;
    }
}