/* ==========================================================================
   wpdx-liezhe 子主题 — 内容页样式 (single.css)
   --------------------------------------------------------------------------
   覆盖范围：文章详情 (.lz-single) + 单页面 (.lz-page) + 404
   规则：选择器严格限定在 .lz-single / .lz-page 作用域内，避免污染全局。
   依赖：style.css 提供 CSS 变量；components.css 提供 .panel / .side-panel /
         .vip-panel / .pop / .section / .breadcrumb 等共享组件样式。
   ========================================================================== */


/* 面包屑 .breadcrumb → 已迁移到 components.css 统一管理 */


/* ==========================================================================
   2. 主布局 .post-layout（左主内容 + 右侧栏 308px）—— 文章页 + 单页面共用
   ========================================================================== */
.lz-single .post-layout,
.lz-page .post-layout{display:grid;grid-template-columns:1fr 308px;gap:24px;align-items:start}
.lz-single .post-main,
.lz-page .post-main{background:var(--card);border-radius:14px;box-shadow:var(--shadow);padding:34px 38px}


/* ==========================================================================
   3. 文章标题 + 元数据条
   ========================================================================== */
.lz-single .post-title{font-size:28px;font-weight:800;color:var(--ink);letter-spacing:-.4px;line-height:1.35;margin:0 0 14px}
.lz-single .post-meta{display:flex;flex-wrap:wrap;gap:18px;font-size:12.5px;color:var(--muted);padding-bottom:18px;border-bottom:1px solid var(--line);margin-bottom:22px}
.lz-single .post-meta span{display:flex;align-items:center;gap:5px}
.lz-single .post-meta a{color:var(--brand)}
.lz-single .post-meta a:hover{color:var(--brand-dark)}
.lz-single .post-meta .meta-updated{color:var(--muted)}


/* ==========================================================================
   4. 工具评测卡 .tool-card（左封面 240px + 右主体）
   ========================================================================== */
.lz-single .tool-card{
  background:linear-gradient(135deg,#f8f9fc,#eef1fc);
  border:1px solid #dde3f3;
  border-radius:14px;
  padding:24px;
  margin-bottom:26px;
  display:grid;
  grid-template-columns:240px 1fr;
  gap:24px;
  align-items:stretch;
  min-height:200px;
}
.lz-single .tool-card>*{min-width:0}
.lz-single .tool-card .tc-img{
  position:relative;
  width:100%;
  border-radius:11px;
  overflow:hidden;
  background:#fff;
  box-shadow:0 4px 14px rgba(28,34,48,.08);
  display:flex;
  align-items:center;
  justify-content:center;
  color:#8b919b;
  font-size:13px;
  min-height:180px;
}
.lz-single .tool-card .tc-img .tc-badge{
  position:absolute;top:10px;right:10px;
  background:#3056d3;color:#fff;
  font-size:11px;font-weight:700;
  padding:4px 11px;border-radius:11px;letter-spacing:.3px;
}
.lz-single .tool-card .tc-badge.free{background:#16a34a}
.lz-single .tool-card .tc-badge.paid{background:#f59e0b}
.lz-single .tool-card .tc-badge.freemium{background:#3056d3}
.lz-single .tool-card .tc-body{display:flex;flex-direction:column}
.lz-single .tool-card .tc-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:14px;
  margin-bottom:8px;
}
.lz-single .tool-card .tc-cat{
  display:inline-block;
  background:rgba(48,86,211,.1);
  color:var(--brand);
  font-size:11.5px;font-weight:700;
  padding:4px 11px;border-radius:11px;
  flex-shrink:0;
}
.lz-single .tool-card .tc-cat:hover{opacity:.75}
.lz-single .tool-card .tc-rating{text-align:right;flex-shrink:0}
.lz-single .tool-card .tc-rating-big{
  font-size:28px;font-weight:800;
  color:#f59e0b;
  letter-spacing:-.6px;line-height:1;
}
.lz-single .tool-card .tc-rating-big em{
  font-style:normal;
  font-size:13px;color:var(--muted);
  font-weight:600;margin-left:1px;
}
.lz-single .tool-card .tc-rating-stars{
  font-size:12px;color:#f59e0b;
  letter-spacing:1px;margin-top:2px;
}
.lz-single .tool-card .tc-name{
  font-size:26px;font-weight:800;
  color:var(--ink);letter-spacing:-.3px;
  margin:0 0 8px;line-height:1.25;
}
.lz-single .tool-card .tc-desc{
  font-size:13.5px;color:var(--body);
  line-height:1.7;margin-bottom:16px;
  flex:1;
}
.lz-single .tool-card .tc-actions{
  display:flex;gap:10px;
  align-items:center;
  justify-content:flex-end;
  margin-top:auto;
}
.lz-single .tool-card .tc-go{
  background:linear-gradient(135deg,var(--brand),#5b8de8);
  color:#fff;font-size:14px;font-weight:700;
  padding:11px 24px;border-radius:9px;
  display:inline-flex;align-items:center;gap:8px;
  transition:.14s;
  box-shadow:0 4px 12px rgba(48,86,211,.25);
  text-decoration:none;
}
.lz-single .tool-card .tc-go:hover{
  transform:translateY(-2px);
  box-shadow:0 6px 18px rgba(48,86,211,.35);
  color:#fff;
}
.lz-single .tool-card .tc-go::after{
  content:"›";font-size:18px;font-weight:800;line-height:1;
}
.lz-single .tool-card .tc-icon-btn{
  width:42px;height:42px;border-radius:9px;
  background:#fff;border:1px solid var(--line);
  display:flex;align-items:center;justify-content:center;
  color:var(--muted);transition:.14s;cursor:pointer;
  flex-shrink:0;
}
.lz-single .tool-card .tc-icon-btn:hover{
  border-color:var(--brand);color:var(--brand);
}


/* ==========================================================================
   5. 正文排版 .post-body / .entry-content
   --------------------------------------------------------------------------
   兼容两个类名：设计稿用 .post-body，WordPress the_content 通常加 .entry-content
   参考知乎阅读体验：宽松行高、充足段间距、柔和文字色、清晰标题层级
   ========================================================================== */
.lz-single .post-body,
.lz-single .entry-content{font-size:16px;line-height:1.8;color:#222}

.lz-single .post-body h2,
.lz-single .entry-content h2{font-size:22px;font-weight:700;color:#111;margin:2em 0 .8em;padding-left:13px;border-left:4px solid var(--brand);line-height:1.4}
.lz-single .post-body h3,
.lz-single .entry-content h3{font-size:19px;font-weight:700;color:#111;margin:1.8em 0 .6em;line-height:1.45}
.lz-single .post-body h4,
.lz-single .entry-content h4{font-size:17px;font-weight:600;color:#222;margin:1.5em 0 .5em;line-height:1.5}
.lz-single .post-body h5,
.lz-single .entry-content h5{font-size:15px;font-weight:600;color:#222;margin:1.3em 0 .4em}
.lz-single .post-body h6,
.lz-single .entry-content h6{font-size:14px;font-weight:600;color:#333;margin:1.2em 0 .4em}

.lz-single .post-body p,
.lz-single .entry-content p{margin:0 0 1.5em; line-height:1.8;}

.lz-single .post-body strong,.lz-single .post-body b,
.lz-single .entry-content strong,.lz-single .entry-content b{color:#111;font-weight:700}

.lz-single .post-body a,
.lz-single .entry-content a{color:#1772f6;text-decoration:none}
.lz-single .post-body a:hover,
.lz-single .entry-content a:hover{text-decoration:underline;color:#1259c4}

.lz-single .post-body img,
.lz-single .entry-content img{max-width:100%;height:auto;border-radius:10px;margin:1.2em 0;display:block}

.lz-single .post-body ul,.lz-single .post-body ol,
.lz-single .entry-content ul,.lz-single .entry-content ol{margin:0 0 1.5em;padding-left:1.5em;line-height:1.8}
.lz-single .post-body li,
.lz-single .entry-content li{margin-bottom:.5em}

.lz-single .post-body table,
.lz-single .entry-content table{border-collapse:collapse;width:100%;margin:1.5em 0;font-size:13.5px;border-radius:10px;overflow:hidden}
.lz-single .post-body th,
.lz-single .entry-content th{background:var(--brand);color:#fff;padding:10px 14px;text-align:left;font-weight:700;font-size:13px;border:1px solid #fff}
.lz-single .post-body td,
.lz-single .entry-content td{padding:10px 14px;border:1px solid #fff;background:#fff}
.lz-single .post-body tr:nth-child(even) td,
.lz-single .entry-content tr:nth-child(even) td{background:var(--bg)}

.lz-single .post-body blockquote,
.lz-single .entry-content blockquote{border-left:3px solid #ddd;padding:.8em 1.2em;margin:1.5em 0;border-radius:0 8px 8px 0;color:#555;background:#fafafa}
.lz-single .post-body blockquote p:last-child,
.lz-single .entry-content blockquote p:last-child{margin-bottom:0}

.lz-single .post-body code,
.lz-single .entry-content code{background:#f5f6f8;color:#d63384;padding:2px 6px;border-radius:4px;font-size:.875em;font-family:Menlo,Monaco,Consolas,"Courier New",monospace}
.lz-single .post-body pre,
.lz-single .entry-content pre{background:#1e293b;color:#e2e8f0;padding:20px 22px;border-radius:10px;overflow-x:auto;font-size:14px;line-height:1.7;margin:1.5em 0;font-family:Menlo,Monaco,Consolas,"Courier New",monospace}
.lz-single .post-body pre code,
.lz-single .entry-content pre code{background:transparent;color:inherit;padding:0;font-size:inherit}

.lz-single .post-body hr,
.lz-single .entry-content hr{border:0;border-top:1px solid var(--line);margin:2em 0}


/* ==========================================================================
   5b. WordPress 图片对齐 — .lz-single + .lz-page 共用
   --------------------------------------------------------------------------
   覆盖上方 img{display:block} 全局 reset，确保 WP 编辑器对齐方式前端生效
   ========================================================================== */

/* --- 基础对齐类 --- */
.lz-single .post-body .alignleft,
.lz-single .entry-content .alignleft,
.lz-page .page-body .alignleft,
.lz-page .entry-content .alignleft{
  float:left;margin:0.5em 1.5em 1em 0;max-width:50%}
.lz-single .post-body .alignright,
.lz-single .entry-content .alignright,
.lz-page .page-body .alignright,
.lz-page .entry-content .alignright{
  float:right;margin:0.5em 0 1em 1.5em;max-width:50%}
.lz-single .post-body .aligncenter,
.lz-single .entry-content .aligncenter,
.lz-page .page-body .aligncenter,
.lz-page .entry-content .aligncenter{
  display:block;margin:0 auto 1em;float:none;text-align: center;}
.lz-single .post-body .alignnone,
.lz-single .entry-content .alignnone,
.lz-page .page-body .alignnone,
.lz-page .entry-content .alignnone{
  display:block;margin:0 0 1em;float:none}

/* 对齐图片覆盖通用 img reset（恢复 display/margin） */
.lz-single .post-body img.alignleft,
.lz-single .entry-content img.alignleft,
.lz-page .page-body img.alignleft,
.lz-page .entry-content img.alignleft,
.lz-single .post-body img.alignright,
.lz-single .entry-content img.alignright,
.lz-page .page-body img.alignright,
.lz-page .entry-content img.alignright{
  display:inline;border-radius:10px}

/* --- wp-caption 图片说明容器 --- */
.lz-single .post-body .wp-caption,
.lz-single .entry-content .wp-caption,
.lz-page .page-body .wp-caption,
.lz-page .entry-content .wp-caption{max-width:100%}
.lz-single .post-body .wp-caption.alignleft,
.lz-single .entry-content .wp-caption.alignleft,
.lz-page .page-body .wp-caption.alignleft,
.lz-page .entry-content .wp-caption.alignleft{margin:0.5em 1.5em 1em 0}
.lz-single .post-body .wp-caption.alignright,
.lz-single .entry-content .wp-caption.alignright,
.lz-page .page-body .wp-caption.alignright,
.lz-page .entry-content .wp-caption.alignright{margin:0.5em 0 1em 1.5em}
.lz-single .post-body .wp-caption.aligncenter,
.lz-single .entry-content .wp-caption.aligncenter,
.lz-page .page-body .wp-caption.aligncenter,
.lz-page .entry-content .wp-caption.aligncenter{margin:0 auto 1em}
.lz-single .post-body .wp-caption-text,
.lz-single .entry-content .wp-caption-text,
.lz-page .page-body .wp-caption-text,
.lz-page .entry-content .wp-caption-text{font-size:13px;color:#666;text-align:center;margin-top:0.5em}

/* --- Gutenberg 块编辑器 figure.wp-block-image --- */
.lz-single .post-body figure.wp-block-image,
.lz-single .entry-content figure.wp-block-image,
.lz-page .page-body figure.wp-block-image,
.lz-page .entry-content figure.wp-block-image{margin:0 0 1.5em}
.lz-single .post-body figure.wp-block-image.alignleft,
.lz-single .entry-content figure.wp-block-image.alignleft,
.lz-page .page-body figure.wp-block-image.alignleft,
.lz-page .entry-content figure.wp-block-image.alignleft{
  float:left;margin:0.5em 1.5em 1em 0;max-width:50%}
.lz-single .post-body figure.wp-block-image.alignright,
.lz-single .entry-content figure.wp-block-image.alignright,
.lz-page .page-body figure.wp-block-image.alignright,
.lz-page .entry-content figure.wp-block-image.alignright{
  float:right;margin:0.5em 0 1em 1.5em;max-width:50%}
.lz-single .post-body figure.wp-block-image.aligncenter,
.lz-single .entry-content figure.wp-block-image.aligncenter,
.lz-page .page-body figure.wp-block-image.aligncenter,
.lz-page .entry-content figure.wp-block-image.aligncenter{
  margin:0 auto 1.5em}
.lz-single .post-body figure.wp-block-image img,
.lz-single .entry-content figure.wp-block-image img,
.lz-page .page-body figure.wp-block-image img,
.lz-page .entry-content figure.wp-block-image img{
  display:block;margin:0;border-radius:10px}

/* --- 清除浮动 — 防止浮动图片溢出内容区 --- */
.lz-single .post-body::after,
.lz-single .entry-content::after,
.lz-page .page-body::after,
.lz-page .entry-content::after{content:"";display:table;clear:both}


/* ==========================================================================
   6. 本文目录 .post-toc（双列）
   ========================================================================== */
.lz-single .post-toc{background:var(--bg);border-radius:11px;padding:16px 20px;margin:20px 0 26px}
.lz-single .post-toc-title{font-size:13px;font-weight:700;color:var(--ink);margin-bottom:10px;display:flex;align-items:center;gap:7px}
.lz-single .post-toc-title::before{content:"≡";color:var(--brand);font-size:16px}
.lz-single .post-toc ul{list-style:none;padding:0;margin:0;font-size:13px;column-count:2;column-gap:24px}
.lz-single .post-toc li{margin-bottom:6px;break-inside:avoid}
.lz-single .post-toc a{color:var(--body);text-decoration:none;transition:.14s}
.lz-single .post-toc a:hover{color:var(--brand)}


/* ==========================================================================
   7. 文章末尾 CTA .post-cta
   ========================================================================== */
.lz-single .post-cta{background:linear-gradient(135deg,#1c2230,#0f1419);border-radius:14px;padding:30px;text-align:center;margin:30px 0;position:relative;overflow:hidden}
.lz-single .post-cta::before{content:"";position:absolute;top:-80px;left:50%;transform:translateX(-50%);width:400px;height:200px;background:radial-gradient(ellipse,rgba(48,86,211,.18),transparent 65%)}
.lz-single .post-cta .inner{position:relative}
.lz-single .post-cta h3{color:#fff;font-size:21px;font-weight:800;margin:0 0 8px;padding:0;border:0}
.lz-single .post-cta p{color:rgba(255,255,255,.7);font-size:13.5px;margin:0 0 18px}
.lz-single .post-cta .btns{display:flex;gap:11px;justify-content:center;flex-wrap:wrap}
.lz-single .post-cta .b1{background:#fff;color:var(--ink);font-size:14px;font-weight:800;padding:12px 26px;border-radius:9px;text-decoration:none}
.lz-single .post-cta .b1:hover{color:var(--ink);background:#f5f6f9}
.lz-single .post-cta .b2{background:transparent;border:1.5px solid rgba(255,255,255,.3);color:#fff;font-size:14px;font-weight:600;padding:11px 24px;border-radius:9px;text-decoration:none}
.lz-single .post-cta .b2:hover{color:#fff;border-color:#fff}


/* ==========================================================================
   8. 文章末尾标签 .post-tags
   ========================================================================== */
.lz-single .post-tags{padding:18px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);font-size:13px;color:var(--muted);margin-top:24px}
.lz-single .post-tags a{display:inline-block;background:var(--bg);color:var(--body);padding:5px 12px;border-radius:7px;margin:0 6px 5px 0;font-size:12px;transition:.14s;text-decoration:none}
.lz-single .post-tags a:hover{background:var(--brand-soft);color:var(--brand)}


/* ==========================================================================
   9. 作者信息卡 .post-author
   ========================================================================== */
.lz-single .post-author{display:flex;gap:16px;padding:20px;background:var(--bg);border-radius:11px;margin:20px 0}
.lz-single .post-author>img,
.lz-single .post-author .avatar{width:64px;height:64px;border-radius:50%;flex-shrink:0;display:block}
.lz-single .post-author .pa-body{flex:1;min-width:0}
.lz-single .post-author .pa-body h4{font-size:14.5px;font-weight:700;color:var(--ink);margin:0 0 5px}
.lz-single .post-author .pa-body p{font-size:12.5px;color:var(--body);line-height:1.65;margin:0}
.lz-single .post-author .pa-body a{font-size:12px;color:var(--brand);margin-right:14px;display:inline-block;margin-top:7px;text-decoration:none}
.lz-single .post-author .pa-body a:hover{color:var(--brand-dark);text-decoration:underline}


/* ==========================================================================
   10. 相关文章 .related-posts
   ========================================================================== */
.lz-single .related-posts{margin-top:30px}
.lz-single .related-posts h3{font-size:18px;font-weight:800;color:var(--ink);margin:0 0 14px;padding-left:11px;border-left:3px solid var(--brand)}
.lz-single .related-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.lz-single .related-grid a{background:var(--bg);border-radius:11px;padding:14px;transition:.16s;display:block;text-decoration:none}
.lz-single .related-grid a:hover{background:var(--brand-soft);transform:translateY(-2px)}
.lz-single .related-grid h4{font-size:13.5px;font-weight:700;color:var(--ink);line-height:1.5;margin:0 0 8px}
.lz-single .related-grid .rp-date{font-size:11.5px;color:var(--muted)}


/* ==========================================================================
   11. 评论区 .post-comments
   ========================================================================== */
.lz-single .post-comments{margin-top:24px;background:var(--card);border-radius:14px;box-shadow:var(--shadow);padding:30px 32px}
.lz-single .post-comments .comments-title,
.lz-single .post-comments h2.comments-title{font-size:18px;font-weight:800;color:var(--ink);margin:0 0 16px;padding-left:11px;border-left:3px solid var(--brand)}

/* 评论表情选择器 #smilies：抵消 .lz-single img{display:block} 全局 reset，恢复水平排列 */
.lz-single #smilies{display:flex;flex-wrap:wrap;gap:4px;align-items:center;margin:8px 0}
.lz-single #smilies a{display:inline-flex;align-items:center;padding:2px;border-radius:6px;text-decoration:none;line-height:0}
.lz-single #smilies a:hover{background:var(--brand-soft)}
.lz-single #smilies img{display:inline-block;width:auto;max-width:none;margin:0;border-radius:0;vertical-align:middle}
/* 正文中通过 convert_smilies() 输出的 wp-smiley 表情同样保持内联 */
.lz-single .post-body img.wp-smiley,
.lz-single .entry-content img.wp-smiley,
.lz-single .post-comments img.wp-smiley{display:inline-block;width:auto;max-width:none;margin:0 2px;border-radius:0;vertical-align:text-bottom}


/* ==========================================================================
   12. 侧栏 - 子方向列表 .sib-list（设计稿独有，非通用组件）
   ========================================================================== */
.lz-single .sib-list{display:block}
.lz-single .sib-list a{display:flex;justify-content:space-between;align-items:center;padding:9px 0;border-bottom:1px solid var(--line);font-size:13px;color:var(--ink);transition:.14s;text-decoration:none}
.lz-single .sib-list a:last-child{border-bottom:0}
.lz-single .sib-list a:hover{color:var(--brand)}
.lz-single .sib-list .sib-cur{color:var(--brand);font-weight:700}
.lz-single .sib-list .sd{color:var(--muted);font-size:11.5px}


/* ==========================================================================
   13. 响应式
   ========================================================================== */
@media (max-width:960px){
  .lz-single .post-layout,
  .lz-page .post-layout{grid-template-columns:1fr}
  .lz-single .related-grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:768px){
  /* 图片对齐：移动端取消浮动，图片全宽 */
  .lz-single .post-body .alignleft,
  .lz-single .entry-content .alignleft,
  .lz-single .post-body .alignright,
  .lz-single .entry-content .alignright,
  .lz-single .post-body figure.wp-block-image.alignleft,
  .lz-single .entry-content figure.wp-block-image.alignleft,
  .lz-single .post-body figure.wp-block-image.alignright,
  .lz-single .entry-content figure.wp-block-image.alignright{float:none;max-width:100%;margin:0 0 1em}
  .lz-single .post-body img.alignleft,
  .lz-single .entry-content img.alignleft,
  .lz-single .post-body img.alignright,
  .lz-single .entry-content img.alignright{display:block}

  .lz-single .post-body,
  .lz-single .entry-content{overflow-x:auto}
  .lz-single .post-main{padding:24px 22px}
  .lz-single .post-title{font-size:22px}
  .lz-single .post-meta{gap:10px;font-size:12px}
  .lz-single .tool-card{grid-template-columns:1fr;padding:18px;gap:18px}
  .lz-single .tool-card .tc-img{min-height:160px}
  .lz-single .tool-card .tc-name{font-size:22px}
  .lz-single .tool-card .tc-rating-big{font-size:24px}
  .lz-single .post-body,
  .lz-single .entry-content{font-size:15px;line-height:1.8}
  .lz-single .post-body h2,
  .lz-single .entry-content h2{font-size:20px;margin:1.6em 0 .7em}
  .lz-single .post-body h3,
  .lz-single .entry-content h3{font-size:17px;margin:1.4em 0 .5em}
  .lz-single .post-toc ul{column-count:1}
  .lz-single .post-cta{padding:22px 18px}
  .lz-single .post-cta h3{font-size:18px}
  .lz-single .post-cta .btns{flex-direction:column}
  .lz-single .post-cta .b1,
  .lz-single .post-cta .b2{width:100%}
  .lz-single .related-grid{grid-template-columns:1fr}
  .lz-single .post-author{flex-direction:column;text-align:center;padding:18px}
  .lz-single .post-author>img,
  .lz-single .post-author .avatar{margin:0 auto}
}
@media (max-width:480px){
  /* 主内容卡片 */
  .lz-single .post-main{padding:18px 16px;border-radius:12px}
  .lz-single .post-title{font-size:22px;letter-spacing:-.2px;margin-bottom:12px}
  .lz-single .post-meta{gap:8px 12px;font-size:11.5px;padding-bottom:14px;margin-bottom:16px}

  /* 工具评测卡：极小屏进一步压缩 */
  .lz-single .tool-card{padding:14px;gap:14px;border-radius:11px;min-height:0}
  .lz-single .tool-card .tc-img{min-height:140px}
  .lz-single .tool-card .tc-head{flex-direction:column;align-items:flex-start;gap:8px}
  .lz-single .tool-card .tc-rating{text-align:left}
  .lz-single .tool-card .tc-name{font-size:19px;margin-bottom:6px}
  .lz-single .tool-card .tc-desc{font-size:13px;line-height:1.65;margin-bottom:12px}
  .lz-single .tool-card .tc-rating-big{font-size:22px}
  .lz-single .tool-card .tc-actions{flex-wrap:wrap;justify-content:flex-start}
  .lz-single .tool-card .tc-go{padding:10px 18px;font-size:13px;flex:1;justify-content:center}
  .lz-single .tool-card .tc-icon-btn{width:38px;height:38px}

  /* 正文排版 */
  .lz-single .post-body,
  .lz-single .entry-content{font-size:14.5px;line-height:1.75}
  .lz-single .post-body h2,
  .lz-single .entry-content h2{font-size:17px;margin:1.4em 0 .6em;padding-left:10px;border-left-width:3px}
  .lz-single .post-body h3,
  .lz-single .entry-content h3{font-size:15.5px;margin:1.2em 0 .5em}
  .lz-single .post-body h4,
  .lz-single .entry-content h4{font-size:14.5px;margin:1em 0 .4em}
  .lz-single .post-body blockquote,
  .lz-single .entry-content blockquote{padding:11px 14px;font-size:13.5px}
  .lz-single .post-body pre,
  .lz-single .entry-content pre{padding:14px;font-size:12.5px}

  /* 表格：缩小字号与内距 */
  .lz-single .post-body th,
  .lz-single .entry-content th,
  .lz-single .post-body td,
  .lz-single .entry-content td{padding:8px 11px;font-size:12.5px}

  /* 本文目录 */
  .lz-single .post-toc{padding:12px 14px;margin:14px 0 18px}

  /* 文末 CTA */
  .lz-single .post-cta{padding:18px 14px;border-radius:12px}
  .lz-single .post-cta h3{font-size:16px}
  .lz-single .post-cta p{font-size:12.5px;margin-bottom:14px}
  .lz-single .post-cta .b1,
  .lz-single .post-cta .b2{padding:10px 18px;font-size:13.5px}

  /* 标签区 */
  .lz-single .post-tags{padding:14px 0;margin-top:18px}
  .lz-single .post-tags a{font-size:11.5px;padding:4px 10px}

  /* 作者卡 */
  .lz-single .post-author{padding:14px;gap:10px}
  .lz-single .post-author>img,
  .lz-single .post-author .avatar{width:54px;height:54px}

  /* 评论区 */
  .lz-single .post-comments{padding:18px 14px;border-radius:12px;margin-top:18px}
  .lz-single .post-comments .comments-title,
  .lz-single .post-comments h2.comments-title{font-size:16px;margin-bottom:12px}
  .lz-single #smilies{gap:3px;margin:6px 0}
}


/* ##########################################################################
   ==================== .lz-page 单页面 / 404 专属样式 ====================
   --------------------------------------------------------------------------
   来源：原 page.css 合并（均为 .lz-page 作用域）
   ########################################################################## */


/* ==========================================================================
   P-0. 作用域内 box-sizing 隔离
   ========================================================================== */
.lz-page,
.lz-page *,
.lz-page *::before,
.lz-page *::after { box-sizing: border-box; }


/* ==========================================================================
   P-1. 页面标题
   ========================================================================== */
.lz-page .post-title{font-size:28px;font-weight:800;color:var(--ink);letter-spacing:-.4px;line-height:1.35;margin:0 0 22px;padding-bottom:18px;border-bottom:1px solid var(--line)}


/* ==========================================================================
   P-2. 正文排版 .page-body / .entry-content
   --------------------------------------------------------------------------
   兼容两个类名：模板用 .page-body，WordPress the_content 通常加 .entry-content
   ========================================================================== */
.lz-page .page-body,
.lz-page .entry-content{font-size:15px;line-height:1.9;color:var(--ink)}

.lz-page .page-body h1,
.lz-page .entry-content h1{font-size:24px;font-weight:800;color:var(--ink);margin:32px 0 16px;line-height:1.35}
.lz-page .page-body h2,
.lz-page .entry-content h2{font-size:22px;font-weight:800;color:var(--ink);margin:30px 0 14px;padding-left:13px;border-left:4px solid var(--brand);line-height:1.4}
.lz-page .page-body h3,
.lz-page .entry-content h3{font-size:17px;font-weight:700;color:var(--ink);margin:24px 0 11px;line-height:1.45}
.lz-page .page-body h4,
.lz-page .entry-content h4{font-size:15.5px;font-weight:700;color:var(--ink);margin:20px 0 10px;line-height:1.5}
.lz-page .page-body h5,
.lz-page .entry-content h5{font-size:14.5px;font-weight:700;color:var(--ink);margin:16px 0 8px}
.lz-page .page-body h6,
.lz-page .entry-content h6{font-size:13.5px;font-weight:700;color:var(--ink);margin:14px 0 8px}

.lz-page .page-body p,
.lz-page .entry-content p{margin:0 0 16px}

.lz-page .page-body strong,.lz-page .page-body b,
.lz-page .entry-content strong,.lz-page .entry-content b{color:var(--ink);font-weight:700}

.lz-page .page-body a,
.lz-page .entry-content a{color:var(--brand);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
.lz-page .page-body a:hover,
.lz-page .entry-content a:hover{text-decoration-thickness:2px;color:var(--brand-dark)}

.lz-page .page-body img,
.lz-page .entry-content img{max-width:100%;height:auto;border-radius:10px;margin:12px 0;display:block}

.lz-page .page-body ul,.lz-page .page-body ol,
.lz-page .entry-content ul,.lz-page .entry-content ol{margin:0 0 16px;padding-left:24px}
.lz-page .page-body li,
.lz-page .entry-content li{margin-bottom:7px}

.lz-page .page-body table,
.lz-page .entry-content table{border-collapse:collapse;width:100%;margin:16px 0;font-size:13.5px;border-radius:10px;overflow:hidden}
.lz-page .page-body th,
.lz-page .entry-content th{background:var(--brand);color:#fff;padding:10px 14px;text-align:left;font-weight:700;font-size:13px}
.lz-page .page-body td,
.lz-page .entry-content td{padding:10px 14px;border-bottom:1px solid var(--line);background:#fff}
.lz-page .page-body tr:nth-child(even) td,
.lz-page .entry-content tr:nth-child(even) td{background:var(--bg)}

.lz-page .page-body blockquote,
.lz-page .entry-content blockquote{background:var(--bg);border-left:3px solid var(--brand);padding:14px 20px;margin:16px 0;border-radius:0 8px 8px 0;font-size:14px;color:var(--body)}
.lz-page .page-body blockquote p:last-child,
.lz-page .entry-content blockquote p:last-child{margin-bottom:0}

.lz-page .page-body code,
.lz-page .entry-content code{background:var(--bg);color:var(--red);padding:2px 6px;border-radius:4px;font-size:13.5px;font-family:Menlo,Monaco,Consolas,"Courier New",monospace}
.lz-page .page-body pre,
.lz-page .entry-content pre{background:#1e293b;color:#e2e8f0;padding:18px 20px;border-radius:10px;overflow-x:auto;font-size:13.5px;line-height:1.65;margin:16px 0;font-family:Menlo,Monaco,Consolas,"Courier New",monospace}
.lz-page .page-body pre code,
.lz-page .entry-content pre code{background:transparent;color:inherit;padding:0;font-size:inherit}

.lz-page .page-body hr,
.lz-page .entry-content hr{border:0;border-top:1px solid var(--line);margin:24px 0}

/* 分页 wp_link_pages */
.lz-page .page-body .page-links,
.lz-page .entry-content .page-links{margin:20px 0;font-size:13.5px;color:var(--muted);display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.lz-page .page-body .page-links a,
.lz-page .entry-content .page-links a{display:inline-block;padding:4px 10px;border:1px solid var(--line);border-radius:6px;text-decoration:none;color:var(--body);transition:.14s}
.lz-page .page-body .page-links a:hover,
.lz-page .entry-content .page-links a:hover{background:var(--brand-soft);border-color:var(--brand);color:var(--brand)}


/* ==========================================================================
   P-3. 标签排序页 .tag-sort
   ========================================================================== */
.lz-page .tag-sort-nav{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 24px;padding:16px 20px;background:var(--bg);border-radius:10px}
.lz-page .tag-sort-nav a{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:6px;background:var(--card);color:var(--ink);font-weight:700;font-size:13px;text-decoration:none;transition:.14s;border:1px solid var(--line)}
.lz-page .tag-sort-nav a:hover{background:var(--brand);color:#fff;border-color:var(--brand)}
.lz-page .all-tags{list-style:none;padding:0;margin:0}
.lz-page .all-tags li{margin-bottom:12px}
.lz-page .all-tags li h3{font-size:18px;font-weight:800;color:var(--brand);margin:24px 0 10px;padding-bottom:8px;border-bottom:1px solid var(--line)}
.lz-page .all-tags li a{display:inline-block;padding:4px 12px;margin:4px 6px 4px 0;font-size:13.5px;color:var(--body);background:var(--bg);border-radius:6px;text-decoration:none;transition:.14s}
.lz-page .all-tags li a:hover{background:var(--brand-soft);color:var(--brand)}
.lz-page .all-tags li a i{font-style:normal;color:var(--muted);margin-left:4px;font-size:12px}


/* ==========================================================================
   P-4. 评论区 .page-comments
   ========================================================================== */
.lz-page .page-comments{margin-top:24px;background:var(--card);border-radius:14px;box-shadow:var(--shadow);padding:30px 32px}
.lz-page .page-comments .comments-title,
.lz-page .page-comments h2.comments-title{font-size:18px;font-weight:800;color:var(--ink);margin:0 0 16px;padding-left:11px;border-left:3px solid var(--brand)}

/* 评论表情选择器 #smilies */
.lz-page #smilies{display:flex;flex-wrap:wrap;gap:4px;align-items:center;margin:8px 0}
.lz-page #smilies a{display:inline-flex;align-items:center;padding:2px;border-radius:6px;text-decoration:none;line-height:0}
.lz-page #smilies a:hover{background:var(--brand-soft)}
.lz-page #smilies img{display:inline-block;width:auto;max-width:none;margin:0;border-radius:0;vertical-align:middle}
.lz-page .page-body img.wp-smiley,
.lz-page .entry-content img.wp-smiley,
.lz-page .page-comments img.wp-smiley{display:inline-block;width:auto;max-width:none;margin:0 2px;border-radius:0;vertical-align:text-bottom}


/* ==========================================================================
   P-5. 404 页面
   ========================================================================== */
.lz-page .error-404-content{
  text-align:center;
  padding:80px 20px 100px;
  max-width:560px;
  margin:0 auto;
}
.lz-page .error-404-title{
  font-size:42px;
  font-weight:700;
  color:var(--heading, #1a1a1a);
  margin:0 0 16px;
}
.lz-page .error-404-desc{
  font-size:16px;
  color:var(--muted, #666);
  margin:0 0 36px;
  line-height:1.7;
}
.lz-page .error-404-search{
  display:flex;
  gap:0;
  margin:0 0 28px;
  border-radius:8px;
  overflow:hidden;
  box-shadow:0 2px 8px rgba(0,0,0,.06);
}
.lz-page .error-404-search-input{
  flex:1;
  padding:12px 16px;
  border:1px solid var(--border, #e0e0e0);
  border-right:none;
  border-radius:8px 0 0 8px;
  font-size:14px;
  outline:none;
  transition:border-color .2s;
}
.lz-page .error-404-search-input:focus{
  border-color:var(--brand, #2563eb);
}
.lz-page .error-404-search-btn{
  padding:12px 24px;
  background:var(--brand, #2563eb);
  color:#fff;
  border:none;
  border-radius:0 8px 8px 0;
  font-size:14px;
  font-weight:500;
  cursor:pointer;
  transition:background .2s;
}
.lz-page .error-404-search-btn:hover{
  background:var(--brand-hover, #1d4ed8);
}
.lz-page .error-404-home-btn{
  display:inline-block;
  padding:12px 32px;
  background:var(--brand, #2563eb);
  color:#fff;
  border-radius:8px;
  font-size:14px;
  font-weight:500;
  text-decoration:none;
  transition:background .2s;
}
.lz-page .error-404-home-btn:hover{
  background:var(--brand-hover, #1d4ed8);
}


/* ==========================================================================
   P-6. .lz-page 响应式
   ========================================================================== */
@media (max-width:768px){
  /* 图片对齐：移动端取消浮动，图片全宽 */
  .lz-page .page-body .alignleft,
  .lz-page .entry-content .alignleft,
  .lz-page .page-body .alignright,
  .lz-page .entry-content .alignright,
  .lz-page .page-body figure.wp-block-image.alignleft,
  .lz-page .entry-content figure.wp-block-image.alignleft,
  .lz-page .page-body figure.wp-block-image.alignright,
  .lz-page .entry-content figure.wp-block-image.alignright{float:none;max-width:100%;margin:0 0 1em}
  .lz-page .page-body img.alignleft,
  .lz-page .entry-content img.alignleft,
  .lz-page .page-body img.alignright,
  .lz-page .entry-content img.alignright{display:block}

  .lz-page .post-main{padding:24px 22px}
  .lz-page .post-title{font-size:22px}
  .lz-page .page-body,
  .lz-page .entry-content{font-size:14.5px;line-height:1.8}
  .lz-page .page-body h2,
  .lz-page .entry-content h2{font-size:19px}
  .lz-page .page-body h3,
  .lz-page .entry-content h3{font-size:16px}
  .lz-page .page-comments{padding:22px 18px}

  .lz-page .error-404-content{padding:50px 16px 70px}
  .lz-page .error-404-title{font-size:30px}
  .lz-page .error-404-desc{font-size:15px;margin-bottom:28px}
}
@media (max-width:480px){
  /* 主内容卡片 */
  .lz-page .post-main{padding:18px 16px;border-radius:12px}
  .lz-page .post-title{font-size:22px;letter-spacing:-.2px;margin:0 0 16px;padding-bottom:14px}

  /* 正文排版 */
  .lz-page .page-body,
  .lz-page .entry-content{font-size:14px;line-height:1.78}
  .lz-page .page-body h1,
  .lz-page .entry-content h1{font-size:20px;margin:24px 0 12px}
  .lz-page .page-body h2,
  .lz-page .entry-content h2{font-size:17px;margin:22px 0 11px;padding-left:10px;border-left-width:3px}
  .lz-page .page-body h3,
  .lz-page .entry-content h3{font-size:15px;margin:18px 0 9px}
  .lz-page .page-body h4,
  .lz-page .entry-content h4{font-size:14.5px}
  .lz-page .page-body blockquote,
  .lz-page .entry-content blockquote{padding:11px 14px;font-size:13.5px}
  .lz-page .page-body pre,
  .lz-page .entry-content pre{padding:14px;font-size:12.5px}

  /* 表格：横向滚动，避免撞破版面 */
  .lz-page .page-body table,
  .lz-page .entry-content table{display:block;overflow-x:auto;-webkit-overflow-scrolling:touch;white-space:nowrap;border-radius:8px}
  .lz-page .page-body th,
  .lz-page .entry-content th,
  .lz-page .page-body td,
  .lz-page .entry-content td{padding:8px 11px;font-size:12.5px}

  /* wp_link_pages 分页 */
  .lz-page .page-body .page-links,
  .lz-page .entry-content .page-links{font-size:12.5px;gap:6px}
  .lz-page .page-body .page-links a,
  .lz-page .entry-content .page-links a{padding:3px 8px}

  /* 评论区 */
  .lz-page .page-comments{padding:18px 14px;border-radius:12px;margin-top:18px}
  .lz-page .page-comments .comments-title,
  .lz-page .page-comments h2.comments-title{font-size:16px;margin-bottom:12px}
  .lz-page #smilies{gap:3px;margin:6px 0}

  /* 标签排序导航 */
  .lz-page .tag-sort-nav{gap:6px;padding:12px 14px}
  .lz-page .tag-sort-nav a{width:28px;height:28px;font-size:12px}
  .lz-page .all-tags li h3{font-size:16px;margin:18px 0 8px}
  .lz-page .all-tags li a{padding:3px 10px;font-size:12.5px}

  /* 404 */
  .lz-page .error-404-content{padding:40px 12px 60px}
  .lz-page .error-404-title{font-size:26px}
  .lz-page .error-404-search{flex-direction:column;border-radius:8px;overflow:visible;box-shadow:none}
  .lz-page .error-404-search-input{border-right:1px solid var(--border,#e0e0e0);border-radius:8px;margin-bottom:10px}
  .lz-page .error-404-search-btn{border-radius:8px}
}
