/* ============================================================
   wpdx-liezhe 子主题 — 分类页专属样式 (category.css)
   ------------------------------------------------------------
   作用域：.lz-category
   设计稿来源：HTML/02-07 各级分类页 <style> 块
   依赖：
     - style.css   提供 CSS 变量
     - components.css 提供
       .panel / .section / .sec-head / .hub-hero / .hstats
       .cs-type1 ~ .cs-type4 / .col-list / .post / .side-panel
       .cluster / .sub-layout / .more-btn / .vip-panel / .pop / .tagcloud
   仅在此文件中实现：
     - 同级互链 .sib-list / .sib-back
     - 暂无内容提示 .no-posts
     - 分类页专属组件（mid-cta / decision-grid / case-feed / faq / bot-cta / relhub）
     - 子分类锚点导航 .cluster-nav
     - 响应式补丁
   ============================================================ */


/* 面包屑 .breadcrumb → 已迁移到 components.css 统一管理 */



/* ============================================================
   5. 同级互链列表 .sib-list / .sib-back（侧栏导航）
   ============================================================ */
.lz-category .sib-list a{
    display:flex;
    align-items:center;
    padding:9px 0;
    border-bottom:1px solid var(--line);
    font-size:13px;
    color:var(--ink);
    transition:.14s;
}
.lz-category .sib-list a:hover{
    color:var(--brand);
    padding-left:4px;
}
.lz-category .sib-list a:last-child{border-bottom:0}
.lz-category .sib-list a:first-child{padding-top:0}
.lz-category .sib-list a.sib-cur{
    color:var(--brand);
    font-weight:700;
}
.lz-category .sib-list a .sd{
    margin-left:auto;
    font-size:11px;
    color:var(--muted);
}
.lz-category .sib-list a.sib-cur .sd{color:var(--brand)}

.lz-category .sib-back{
    display:block;
    text-align:center;
    background:var(--bg);
    color:var(--body);
    font-size:12.5px;
    font-weight:600;
    padding:10px;
    border-radius:9px;
    margin-top:12px;
    transition:.14s;
}
.lz-category .sib-back:hover{
    background:var(--brand-soft);
    color:var(--brand);
}


/* ============================================================
   6. 暂无内容提示 .no-posts
   ============================================================ */
.lz-category .no-posts{
    text-align:center;
    color:var(--muted);
    padding:40px 0;
    font-size:14px;
}


/* ============================================================
   7. 响应式适配
   ============================================================ */
@media (max-width:480px){
    /* 同级互链侧栏列表 */
    .lz-category .sib-list a{font-size:12.5px;padding:8px 0}
    .lz-category .sib-list a .sd{font-size:10.5px}
    .lz-category .sib-back{font-size:12px;padding:9px}

    /* 暂无内容提示 */
    .lz-category .no-posts{padding:28px 0;font-size:13px}
}


/* ============================================================
   8. 中部CTA横幅 .mid-cta
   ============================================================ */
.lz-category .mid-cta{background:#fdf6e7;border:1px solid #f5e2c0;border-radius:14px;padding:22px 26px;display:flex;align-items:center;gap:20px}
.lz-category .mid-cta .gift{width:48px;height:48px;background:#f59e0b;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:22px;flex-shrink:0}
.lz-category .mid-cta .mt{flex:1}
.lz-category .mid-cta h4{font-size:16px;font-weight:800;color:#92660d;margin-bottom:3px}
.lz-category .mid-cta p{font-size:13px;color:#a07515}
.lz-category .mid-cta a{background:var(--ink);color:#fff;font-size:13.5px;font-weight:700;padding:11px 22px;border-radius:9px;white-space:nowrap}


/* ============================================================
   9. 决策辅助网格 .decision-grid
   ============================================================ */
.lz-category .decision-intro{font-size:14px;color:var(--body);line-height:1.8;margin-bottom:18px}
.lz-category .decision-intro b{color:var(--ink);font-weight:700}
.lz-category .decision-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:11px}
.lz-category .dec-row{background:var(--bg);border-radius:12px;padding:15px 18px;display:flex;align-items:center;gap:14px;transition:.16s;cursor:pointer;border-left:3px solid var(--brand)}
.lz-category .dec-row:hover{background:var(--brand-soft);transform:translateY(-2px)}
.lz-category .dec-row .dec-icon{width:38px;height:38px;border-radius:10px;background:#fff;display:flex;align-items:center;justify-content:center;font-size:18px;flex-shrink:0;box-shadow:var(--shadow)}
.lz-category .dec-row .dec-icon .dg-icon-img{width:40px;height:40px;object-fit:contain;border-radius:6px}
.lz-category .dec-row .dec-text{flex:1;min-width:0}
.lz-category .dec-row .dec-who{font-size:12px;color:var(--muted);margin-bottom:3px}
.lz-category .dec-row .dec-go{font-size:14px;font-weight:600;color:var(--ink)}
.lz-category .dec-row .dec-go b{color:var(--brand);font-weight:800}
.lz-category .dec-row .dec-go em{font-style:normal;color:var(--brand);font-weight:700}


/* ============================================================
   10. 学员案例 .case-feed
   ============================================================ */
.lz-category .case-feed{background:linear-gradient(135deg,#f0fdf4,#dcfce7);border-radius:18px;padding:34px 36px}
.lz-category .case-feed-head{margin-bottom:20px;display:flex;align-items:baseline;flex-wrap:wrap;gap:0 14px}
.lz-category .case-feed-label{font-size:12px;font-weight:700;color:#0fa3a3;letter-spacing:1.5px;width:100%;margin-bottom:5px}
.lz-category .case-feed-head h2{font-size:22px;font-weight:800;color:var(--ink);letter-spacing:-.3px}
.lz-category .case-feed-head .cf-sub{font-size:13.5px;color:#3d6b50;font-weight:500}
.lz-category .case-feed-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:14px}
.lz-category .case-feed-card{background:#fff;border-radius:13px;overflow:hidden;transition:.16s;display:flex;flex-direction:column;cursor:pointer;min-width:0}
.lz-category .case-feed-card:hover{transform:translateY(-3px);box-shadow:0 12px 28px rgba(22,163,74,.12)}
.lz-category .case-feed-card .cfi{width:100%;aspect-ratio:16/9;overflow:hidden}
.lz-category .case-feed-card .cfi img{width:100%;height:100%;object-fit:cover;display:block}
.lz-category .case-feed-card .cfb{padding:16px 18px;flex:1;display:flex;flex-direction:column}
.lz-category .case-feed-card .cf-title{font-size:14px;font-weight:700;color:var(--ink);line-height:1.45;margin-bottom:7px}
.lz-category .case-feed-card .cf-desc{font-size:12px;color:var(--muted);line-height:1.6;flex:1;margin-bottom:11px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.lz-category .case-feed-card .cf-link{font-size:11.5px;color:#16a34a;font-weight:700;padding-top:10px;border-top:1px solid #e7f3eb}
.lz-category .case-feed-card .cf-link::after{content:" →";transition:transform .14s;display:inline-block}
.lz-category .case-feed-card:hover .cf-link::after{transform:translateX(3px)}
.lz-category .case-feed-more{text-align:right;font-size:13px;font-weight:600;color:#0fa3a3}
.lz-category .case-feed-more::after{content:" →"}


/* ============================================================
   11. FAQ 手风琴 .faq-item
   ============================================================ */
.lz-category .faq-item{background:var(--bg);border-radius:11px;margin-bottom:10px;overflow:hidden}
.lz-category .faq-q{padding:14px 22px;font-size:14.5px;font-weight:600;color:var(--ink);display:flex;align-items:center;gap:10px;cursor:pointer;position:relative;padding-right:36px}
.lz-category .faq-q::after{
    content:'';
    position:absolute;
    right:14px;
    top:50%;
    width:8px;
    height:8px;
    border-right:2px solid var(--muted, #9aa0ac);
    border-bottom:2px solid var(--muted, #9aa0ac);
    transform:translateY(-70%) rotate(45deg);
    transition:transform .25s ease;
}
.lz-category .faq-a{padding:0 22px 16px 22px;font-size:13.5px;color:var(--body);line-height:1.75;display:none}
.lz-category .faq-item.open .faq-a{display:block}
.lz-category .faq-item.open .faq-q::after{transform:translateY(-30%) rotate(-135deg)}


/* ============================================================
   12. 底部CTA .bot-cta
   ============================================================ */
.lz-category .bot-cta{background:linear-gradient(135deg,#1c2230,#0f1419);border-radius:18px;padding:46px;text-align:center;position:relative;overflow:hidden}
.lz-category .bot-cta::before{content:"";position:absolute;top:-100px;left:50%;transform:translateX(-50%);width:600px;height:300px;background:radial-gradient(ellipse,rgba(48,86,211,.18),transparent 65%)}
.lz-category .bot-cta .inner{position:relative}
.lz-category .bot-cta .blabel{font-size:12px;font-weight:700;color:rgba(255,255,255,.5);letter-spacing:1.5px;text-transform:uppercase;margin-bottom:9px}
.lz-category .bot-cta h2{color:#fff;font-size:28px;font-weight:800;margin-bottom:7px;letter-spacing:-.4px}
.lz-category .bot-cta p{color:rgba(255,255,255,.7);font-size:14.5px;margin-bottom:24px}
.lz-category .bot-cta .bbtns{display:flex;gap:13px;justify-content:center}
.lz-category .bot-cta .b1{background:#fff;color:var(--ink);font-size:15px;font-weight:800;padding:14px 30px;border-radius:11px}
.lz-category .bot-cta .b2{background:transparent;border:1.5px solid rgba(255,255,255,.3);color:#fff;font-size:15px;font-weight:600;padding:13px 28px;border-radius:11px}


/* ============================================================
   13. 继续探索 .relhub
   ============================================================ */
.lz-category .relhub{display:flex;gap:11px;flex-wrap:wrap;align-items:center}
.lz-category .relhub-label{font-size:13.5px;color:var(--muted);font-weight:600;margin-right:6px}
.lz-category .relhub a{background:var(--bg);border-radius:9px;padding:9px 18px;font-size:13.5px;font-weight:600;color:var(--ink);transition:.16s}
.lz-category .relhub a:hover{background:var(--brand-soft);color:var(--brand)}


/* ============================================================
   14b. 子分类锚点导航 .cluster-nav
   ============================================================ */
.lz-category .cluster-nav{
    display:flex;
    align-items:center;
    gap:8px;
    margin-bottom:18px;
    flex-wrap:wrap;
    padding:4px 0;
}
.lz-category .cluster-nav-label{
    font-size:13.5px;
    color:var(--muted);
    font-weight:600;
    margin-right:4px;
    flex-shrink:0;
}
.lz-category .cluster-nav-item{
    display:inline-flex;
    align-items:center;
    gap:5px;
    padding:7px 16px;
    border-radius:20px;
    font-size:13px;
    font-weight:500;
    color:var(--ink);
    background:var(--bg);
    transition:.16s;
    white-space:nowrap;
}
.lz-category .cluster-nav-item:hover{
    background:var(--brand-soft);
    color:var(--brand);
}
.lz-category .cluster-nav-item.active{
    background:var(--brand);
    color:#fff;
}
.lz-category .cluster-nav-count{
    font-size:11.5px;
    opacity:.7;
}


/* ============================================================
   15. 新组件响应式补丁
   ============================================================ */
@media (max-width:960px){
    .lz-category .decision-grid{grid-template-columns:1fr}
    .lz-category .case-feed-grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:768px){
    .lz-category .mid-cta{flex-direction:column;text-align:center;gap:14px}
    .lz-category .mid-cta .mt{text-align:center}
    .lz-category .case-feed{padding:24px 20px}
    .lz-category .case-feed-head h2{font-size:20px}
    .lz-category .bot-cta{padding:34px 22px}
    .lz-category .bot-cta h2{font-size:24px}
    .lz-category .bot-cta .bbtns{flex-direction:column;align-items:center;gap:10px}
}
@media (max-width:480px){
    .lz-category .case-feed-grid{grid-template-columns:1fr}
    .lz-category .case-feed{padding:20px 16px;border-radius:14px}
    .lz-category .bot-cta{padding:28px 16px;border-radius:14px}
    .lz-category .bot-cta h2{font-size:22px}
    .lz-category .bot-cta .b1,.lz-category .bot-cta .b2{font-size:14px;padding:12px 24px}
    .lz-category .mid-cta{padding:18px 16px;border-radius:11px}
    .lz-category .mid-cta h4{font-size:15px}
    .lz-category .dec-row{padding:13px 14px}
    .lz-category .relhub a{padding:8px 14px;font-size:13px}
}
