/*
Theme Name: 致诚老张
Theme URI: https://changzhilaozhang.com
Author: 老张
Author URI: https://changzhilaozhang.com
Description: 致诚老张个人博客主题——本地商业，讲点实话。
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: zhicheng-laozhang
*/

/* ====== 基础变量 ====== */
:root {
  --red: #C8102E;
  --red-deep: #9B0D23;
  --gold: #D4A574;
  --gold-deep: #B8895A;
  --green: #0F4C3A;
  --green-deep: #0A3327;
  --bg: #FAFAF7;
  --bg-warm: #FFF8F3;
  --bg-section: #F5F3EE;
  --white: #FFFFFF;
  --text: #1A1A1A;
  --text-2: #5C5C5C;
  --text-3: #8F8F8F;
  --border: #E8E6E0;
  --border-light: #F0EDE6;
  --max: 1160px;
  --max-article: 720px;
  --r: 16px;
  --r-sm: 10px;
  --r-lg: 24px;
  --shadow-sm: 0 2px 8px rgba(26,26,26,0.04);
  --shadow-md: 0 6px 20px rgba(26,26,26,0.06);
  --shadow-lg: 0 12px 40px rgba(26,26,26,0.08);
}

/* ====== 全局重置 ====== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Source Han Sans CN", "Microsoft YaHei", "Inter", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.wrap-article { max-width: var(--max-article); margin: 0 auto; padding: 0 28px; }
section { padding: 88px 0; }

/* ====== 通用标题 ====== */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--red); margin-bottom: 16px;
}
.eyebrow::before {
  content: ""; width: 20px; height: 2px; background: var(--red); border-radius: 2px;
}
.sec-title {
  font-size: 38px; font-weight: 800; line-height: 1.25;
  letter-spacing: -0.01em; color: var(--text);
}
.sec-desc {
  font-size: 17px; color: var(--text-2); margin-top: 12px; max-width: 560px; line-height: 1.7;
}
.sec-head { margin-bottom: 48px; }

/* ====== 导航 ====== */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,250,247,0.82);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border-bottom: 1px solid rgba(232,230,224,0.6);
}
.nav-in {
  display: flex; align-items: center; justify-content: space-between; height: 72px;
}
.logo {
  display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text);
}
.logo-mark {
  width: 36px; height: 36px; border-radius: 9px;
  background: linear-gradient(135deg, var(--red), var(--red-deep));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 900; box-shadow: 0 4px 12px rgba(200,16,46,0.25);
}
.logo-text { font-size: 20px; font-weight: 800; letter-spacing: 0.02em; }
.logo-text em { font-style: normal; color: var(--red); }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  text-decoration: none; color: var(--text); font-size: 15px; font-weight: 500;
  position: relative; padding: 6px 0; transition: color 0.2s;
}
.nav-links a:hover, .nav-links .current-menu-item a { color: var(--red); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--red); border-radius: 2px; transition: width 0.25s;
}
.nav-links a:hover::after, .nav-links .current-menu-item a::after { width: 100%; }
.nav-cta {
  background: var(--red); color: #fff; padding: 10px 22px; border-radius: 10px;
  text-decoration: none; font-size: 15px; font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(200,16,46,0.3); }

/* ====== Hero ====== */
.hero {
  padding: 110px 0 90px; position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse at 85% 20%, rgba(212,165,116,0.14) 0%, transparent 55%),
    radial-gradient(ellipse at 15% 90%, rgba(200,16,46,0.08) 0%, transparent 55%),
    linear-gradient(180deg, #FFF9F5 0%, var(--bg) 100%);
}
.hero::after {
  content: "长治"; position: absolute; right: -40px; top: 50%;
  transform: translateY(-50%);
  font-size: 320px; font-weight: 900; letter-spacing: -0.06em;
  color: rgba(200,16,46,0.045); line-height: 1; pointer-events: none;
  font-family: "PingFang SC", "Source Han Sans CN", "Microsoft YaHei", serif;
}
.hero-tag {
  display: inline-block; background: rgba(200,16,46,0.08); color: var(--red);
  padding: 7px 18px; border-radius: 100px; font-size: 14px; font-weight: 600;
  margin-bottom: 28px; border: 1px solid rgba(200,16,46,0.12);
  position: relative; z-index: 1;
}
.hero h1 {
  font-size: 64px; font-weight: 900; line-height: 1.15;
  letter-spacing: -0.02em; color: var(--text); position: relative; z-index: 1;
}
.hero h1 .accent {
  background: linear-gradient(135deg, var(--red), var(--gold-deep));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-lead {
  font-size: 19px; color: var(--text-2); line-height: 1.8;
  max-width: 620px; margin: 28px 0 40px; position: relative; z-index: 1;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; position: relative; z-index: 1; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 15px 30px; border-radius: 12px; font-size: 16px; font-weight: 600;
  text-decoration: none; cursor: pointer; border: none; transition: all 0.2s;
}
.btn-red { background: var(--red); color: #fff; box-shadow: 0 6px 16px rgba(200,16,46,0.22); }
.btn-red:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(200,16,46,0.3); }
.btn-ghost { background: #fff; color: var(--text); border: 1px solid var(--border); }
.btn-ghost:hover { border-color: var(--red); color: var(--red); }
.btn-ghost-red {
  background: transparent; color: var(--red);
  border: 2px solid var(--red);
}
.btn-ghost-red:hover { background: var(--red); color: #fff; }

/* ====== 一句话分隔 ====== */
.quote-band {
  padding: 72px 0;
  background: var(--bg);
  position: relative;
}
.big-quote {
  text-align: center;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.5;
  color: var(--text);
  letter-spacing: 0.02em;
  position: relative;
  padding: 0 20px;
}
.big-quote .lq, .big-quote .rq {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 64px;
  color: var(--gold);
  line-height: 0;
  vertical-align: -0.2em;
  font-weight: 400;
  margin: 0 6px;
}

/* ====== 服务卡片（三张） ====== */
.serve { background: var(--bg); padding-top: 0; }
.serve-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.serve-card {
  background: #fff; padding: 36px 30px 32px; border-radius: var(--r);
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  text-decoration: none; color: inherit; display: block;
  transition: all 0.28s; position: relative; overflow: hidden;
}
.serve-card::before {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 4px;
}
.serve-card.sc-r::before { background: linear-gradient(90deg, var(--red), var(--red-deep)); }
.serve-card.sc-g::before { background: linear-gradient(90deg, var(--green), var(--green-deep)); }
.serve-card.sc-y::before { background: linear-gradient(90deg, var(--gold), var(--gold-deep)); }
.serve-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.serve-icon {
  width: 56px; height: 56px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; margin-bottom: 20px;
}
.sc-r .serve-icon { background: rgba(200,16,46,0.08); }
.sc-g .serve-icon { background: rgba(15,76,58,0.08); }
.sc-y .serve-icon { background: rgba(212,165,116,0.18); }
.serve-card h3 { font-size: 20px; font-weight: 800; margin-bottom: 10px; color: var(--text); }
.serve-card p { font-size: 15px; color: var(--text-2); line-height: 1.75; margin-bottom: 18px; }
.serve-more { font-size: 13px; font-weight: 600; }
.sc-r .serve-more { color: var(--red); }
.sc-g .serve-more { color: var(--green); }
.sc-y .serve-more { color: var(--gold-deep); }

/* ====== 最新文章（交错布局） ====== */
.articles { background: var(--bg-warm); }
.articles-head {
  display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 32px;
  gap: 20px; flex-wrap: wrap;
}
.articles-more {
  font-size: 14px; color: var(--text-3); text-decoration: none; font-weight: 500;
  padding-bottom: 4px; border-bottom: 1px solid transparent; transition: all 0.2s;
  white-space: nowrap;
}
.articles-more:hover { color: var(--red); border-bottom-color: var(--red); }

.art-tabs {
  display: flex; gap: 8px; margin-bottom: 32px; flex-wrap: wrap;
}
.art-tab {
  background: #fff; border: 1px solid var(--border);
  padding: 8px 18px; border-radius: 100px; font-size: 14px; font-weight: 500;
  color: var(--text-2); cursor: pointer; transition: all 0.2s;
  font-family: inherit;
}
.art-tab:hover { border-color: var(--red); color: var(--red); }
.art-tab.active {
  background: var(--red); color: #fff; border-color: var(--red);
}

.articles-grid {
  display: flex; flex-direction: column; gap: 20px;
}
.art-card {
  background: #fff; border-radius: var(--r); overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  text-decoration: none; color: inherit;
  display: grid; grid-template-columns: 280px 1fr;
  transition: transform 0.25s, box-shadow 0.25s;
}
.art-card.art-row-flip { grid-template-columns: 1fr 280px; }
.art-card.art-row-flip .art-row-cover { order: 2; }
.art-card.art-row-flip .art-row-body { order: 1; }
.art-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: rgba(200,16,46,0.18); }
.art-row-cover {
  height: 180px; display: flex; align-items: center; justify-content: center;
  font-size: 52px; position: relative; overflow: hidden;
}
.art-row-cover img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1;
}
.art-row-cover::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.08));
}
.cov-r { background: linear-gradient(135deg, #E8445A, var(--red)); }
.cov-g { background: linear-gradient(135deg, #2D7A63, var(--green)); }
.cov-y { background: linear-gradient(135deg, var(--gold), var(--gold-deep)); }
.cov-d { background: linear-gradient(135deg, #3D3D3D, #1A1A1A); }
.cov-b { background: linear-gradient(135deg, #5B7FA5, #2D4A6B); }
.cov-n { background: linear-gradient(135deg, #C97B63, #8B4A3A); }
.art-row-body { padding: 26px 30px; display: flex; flex-direction: column; justify-content: center; }
.art-tag {
  display: inline-block; font-size: 12px; font-weight: 600;
  padding: 3px 10px; border-radius: 6px; margin-bottom: 12px;
  width: fit-content;
}
.tag-r { background: rgba(200,16,46,0.08); color: var(--red); }
.tag-g { background: rgba(15,76,58,0.08); color: var(--green); }
.tag-y { background: rgba(212,165,116,0.18); color: var(--gold-deep); }
.art-card h3 { font-size: 20px; font-weight: 800; line-height: 1.4; margin-bottom: 10px; color: var(--text); }
.art-card p { font-size: 14px; color: var(--text-2); line-height: 1.75; margin-bottom: 16px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.art-meta { display: flex; gap: 12px; font-size: 13px; color: var(--text-3); align-items: center; }
.art-meta .dot { width: 3px; height: 3px; background: var(--text-3); border-radius: 50%; }

/* 分类页兼容：三列小卡 */
.archive-grid {
  display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 24px; flex-direction: unset !important;
}
.archive-grid .art-card {
  grid-template-columns: 1fr !important; display: block;
}
.archive-grid .art-card .art-row-cover { order: unset !important; height: 160px; }
.archive-grid .art-card .art-row-body { order: unset !important; padding: 22px 24px 24px; }
.archive-grid .art-card h3 { font-size: 17px; }
.archive-grid .art-card p { -webkit-line-clamp: 2; }

/* ====== 关于老张（精简版） ====== */
.about-brief {
  background: var(--bg-section);
  position: relative; overflow: hidden;
}
.about-brief::before {
  content: ""; position: absolute; left: -120px; bottom: -120px;
  width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(15,76,58,0.05), transparent 70%);
}
.ab-grid {
  display: grid; grid-template-columns: 240px 1fr; gap: 56px; align-items: center;
  position: relative; z-index: 1;
}
.ab-avatar { display: flex; justify-content: center; }
.ab-avatar-box {
  width: 200px; height: 200px; border-radius: 24px;
  background: linear-gradient(145deg, var(--red) 0%, var(--red-deep) 60%, #4A0610 100%);
  color: rgba(255,255,255,0.95); font-size: 110px; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 20px 60px rgba(200,16,46,0.25);
  position: relative; overflow: hidden;
}
.ab-avatar-box::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(212,165,116,0.25), transparent 50%),
    radial-gradient(circle at 80% 90%, rgba(255,255,255,0.08), transparent 50%);
}
.ab-h2 { font-size: 34px; font-weight: 900; line-height: 1.25; margin-bottom: 18px; color: var(--text); }
.ab-p { font-size: 16px; color: var(--text-2); line-height: 1.9; margin-bottom: 24px; max-width: 640px; }
.ab-more {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 15px; font-weight: 600; color: var(--red); text-decoration: none;
  padding-bottom: 4px; border-bottom: 1px solid transparent; transition: all 0.2s;
}
.ab-more:hover { border-bottom-color: var(--red); }

/* ====== 内容栏目（旧，保留给分类页archive使用） ====== */
.cats { background: var(--bg-warm); position: relative; overflow: hidden; }
.cats::before {
  content: ""; position: absolute; top: -100px; right: -100px;
  width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(212,165,116,0.1), transparent 70%);
}
.cats-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.cat-card {
  background: #fff; padding: 32px 28px; border-radius: var(--r);
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  transition: all 0.25s; cursor: pointer; position: relative; z-index: 1;
  text-decoration: none; color: inherit; display: block;
}
.cat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--gold); }
.cat-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 18px;
}
.ci-r { background: rgba(200,16,46,0.08); }
.ci-g { background: rgba(15,76,58,0.08); }
.ci-y { background: rgba(212,165,116,0.15); }
.ci-d { background: rgba(26,26,26,0.06); }
.cat-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.cat-card p { font-size: 14px; color: var(--text-2); line-height: 1.7; }
.cat-card .count {
  margin-top: 16px; font-size: 12px; color: var(--text-3); font-weight: 500;
  display: inline-flex; align-items: center; gap: 4px;
}

/* ====== 联系区 ====== */
.contact {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-deep) 55%, #5C0814 100%);
  color: #fff; position: relative; overflow: hidden;
}
.contact::before {
  content: ""; position: absolute; top: -200px; right: -200px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(212,165,116,0.2), transparent 60%);
}
.contact::after {
  content: ""; position: absolute; bottom: -150px; left: -150px;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.05), transparent 60%);
}
.contact .wrap { position: relative; z-index: 1; }
.contact .sec-title { color: #fff; }
.contact .sec-desc { color: rgba(255,255,255,0.8); }
.contact-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 52px;
}
.ccard {
  background: rgba(255,255,255,0.08); backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.18); border-radius: var(--r);
  padding: 36px 28px; text-align: center; transition: all 0.25s;
}
.ccard:hover { background: rgba(255,255,255,0.14); transform: translateY(-4px); }
.ccard img.qr-img {
  width: 140px; height: 140px; object-fit: contain; border-radius: 8px;
  background: #fff; padding: 6px;
}
.ccard-icon { font-size: 44px; margin-bottom: 16px; line-height: 1; }
.ccard h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.ccard p { font-size: 14px; opacity: 0.8; line-height: 1.7; }
.ccard .val { font-size: 17px; font-weight: 700; margin-top: 14px; word-break: break-all; }
.ccard .note { font-size: 12px; opacity: 0.6; margin-top: 14px; }

/* ====== Footer ====== */
footer.site-footer {
  background: #141414; color: #fff; padding: 48px 0 28px;
}
.foot-top {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap;
  gap: 24px; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.foot-logo {
  display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 700;
}
.foot-logo-mark {
  width: 32px; height: 32px; border-radius: 8px; background: var(--red);
  display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 900;
}
.foot-nav { display: flex; gap: 24px; flex-wrap: wrap; }
.foot-nav a {
  color: rgba(255,255,255,0.6); text-decoration: none; font-size: 14px; transition: color 0.2s;
}
.foot-nav a:hover { color: #fff; }
.foot-bot {
  text-align: center; font-size: 12px; color: rgba(255,255,255,0.4);
  padding-top: 20px;
}
.foot-bot .sep { margin: 0 10px; opacity: 0.4; }
.foot-bot a { color: rgba(255,255,255,0.5); text-decoration: none; }
.foot-bot a:hover { color: #fff; }

/* ====== 文章详情页 ====== */
.article-header {
  padding: 64px 0 48px;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(212,165,116,0.1), transparent 50%),
    radial-gradient(ellipse at 20% 80%, rgba(200,16,46,0.06), transparent 50%),
    #FFF8F3;
  position: relative; overflow: hidden;
}
.article-header::after {
  content: ""; position: absolute; right: -40px; top: 50%; transform: translateY(-50%);
  font-size: 200px; font-weight: 900; color: rgba(200,16,46,0.04);
  pointer-events: none; line-height: 1;
}
.ah-wrap { max-width: var(--max-article); margin: 0 auto; padding: 0 28px; position: relative; z-index: 1; }
.ah-cat {
  display: inline-block; background: rgba(200,16,46,0.08); color: var(--red);
  padding: 5px 14px; border-radius: 100px; font-size: 13px; font-weight: 600;
  margin-bottom: 20px;
}
.ah-title { font-size: 40px; font-weight: 900; line-height: 1.25; letter-spacing: -0.015em; margin-bottom: 20px; }
.ah-meta { display: flex; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--text-3); align-items: center; }
.ah-meta .author { color: var(--text-2); font-weight: 500; }
.ah-meta .dot { width: 3px; height: 3px; background: var(--text-3); border-radius: 50%; }
.ah-cover {
  max-width: var(--max); margin: -16px auto 0; padding: 0 28px; position: relative; z-index: 2;
}
.ah-cover-inner {
  height: 280px; border-radius: 16px;
  background: linear-gradient(135deg, var(--red) 0%, var(--red-deep) 60%, #4A0610 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 96px; color: rgba(255,255,255,0.9); position: relative; overflow: hidden;
  box-shadow: 0 12px 40px rgba(200,16,46,0.2);
}
.ah-cover-inner img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1;
}
.ah-cover-inner::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 40%, rgba(212,165,116,0.25), transparent 60%),
    radial-gradient(circle at 70% 80%, rgba(255,255,255,0.08), transparent 50%);
}

.article-body { padding: 56px 0 80px; }
.ab-wrap { max-width: var(--max-article); margin: 0 auto; padding: 0 28px; }
.ab-wrap p { font-size: 17px; color: var(--text); line-height: 1.9; margin-bottom: 24px; }
.ab-wrap p.lead { font-size: 19px; color: var(--text); line-height: 1.85; font-weight: 500; margin-bottom: 36px;
  padding-left: 16px; border-left: 3px solid var(--red); }
.ab-wrap h2 {
  font-size: 24px; font-weight: 800; margin: 48px 0 20px;
  color: var(--text); letter-spacing: -0.01em;
  display: flex; align-items: center; gap: 12px;
}
.ab-wrap h2::before {
  content: ""; width: 4px; height: 22px; background: linear-gradient(180deg, var(--red), var(--gold));
  border-radius: 2px; flex-shrink: 0;
}
.ab-wrap blockquote {
  margin: 28px 0; padding: 20px 24px;
  background: #FFF8F0; border-left: 4px solid var(--gold);
  border-radius: 0 10px 10px 0;
  font-size: 16px; color: var(--text-2); line-height: 1.8;
}
.ab-wrap blockquote strong { color: var(--text); }
.ab-wrap ul, .ab-wrap ol { margin: 0 0 24px 24px; }
.ab-wrap li { font-size: 17px; line-height: 1.9; color: var(--text); margin-bottom: 8px; }
.ab-wrap .tip {
  margin: 28px 0; padding: 24px 28px;
  background: linear-gradient(135deg, #FFFAF0, #FFF5E6);
  border: 1px solid rgba(212,165,116,0.3); border-radius: 12px;
}
.ab-wrap .tip h4 {
  font-size: 15px; font-weight: 700; color: var(--gold-deep); margin-bottom: 8px;
}
.ab-wrap .tip p { font-size: 15px; color: var(--text-2); margin-bottom: 0; }

.article-sign {
  margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
}
.as-left { font-size: 15px; color: var(--text-2); }
.as-left strong { color: var(--text); font-weight: 700; }
.as-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.as-tag {
  font-size: 12px; padding: 4px 12px; background: #F5F3EE; color: var(--text-2);
  border-radius: 100px; font-weight: 500;
}

.related { background: #fff; padding: 64px 0 80px; border-top: 1px solid var(--border); }
.r-wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.r-title { font-size: 24px; font-weight: 800; margin-bottom: 32px; }
.r-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.r-card {
  background: var(--bg); border: 1px solid var(--border); border-radius: 12px;
  padding: 24px; text-decoration: none; color: inherit; transition: all 0.2s;
  display: block;
}
.r-card:hover { transform: translateY(-3px); box-shadow: 0 4px 16px rgba(0,0,0,0.05); border-color: rgba(200,16,46,0.2); }
.r-card .rc-tag {
  display: inline-block; font-size: 12px; font-weight: 600; padding: 3px 10px;
  border-radius: 6px; margin-bottom: 12px;
}
.r-card h3 { font-size: 17px; font-weight: 700; line-height: 1.5; margin-bottom: 8px; }
.r-card p { font-size: 14px; color: var(--text-2); line-height: 1.7;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.r-card .rc-meta { font-size: 12px; color: var(--text-3); margin-top: 14px; }

/* ====== 页面模板 ====== */
.page-header {
  padding: 64px 0 40px;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(200,16,46,0.06), transparent 50%),
    #FFF8F3;
  border-bottom: 1px solid var(--border);
}
.ph-wrap { max-width: 760px; margin: 0 auto; padding: 0 28px; }
.ph-tag {
  display: inline-block; background: rgba(200,16,46,0.08); color: var(--red);
  padding: 5px 14px; border-radius: 100px; font-size: 13px; font-weight: 600;
  margin-bottom: 16px;
}
.ph-title { font-size: 36px; font-weight: 900; line-height: 1.25; margin-bottom: 12px; }
.ph-desc { font-size: 16px; color: var(--text-2); }
.ph-updated { margin-top: 16px; font-size: 13px; color: var(--text-3); }

.page-content { padding: 56px 0 80px; }
.c-wrap { max-width: 760px; margin: 0 auto; padding: 0 28px; }
.c-wrap h2 {
  font-size: 22px; font-weight: 800; margin: 44px 0 16px; color: var(--text);
  padding-left: 14px; border-left: 4px solid var(--red); line-height: 1.4;
}
.c-wrap h2:first-child { margin-top: 0; }
.c-wrap p { font-size: 16px; color: var(--text-2); line-height: 1.9; margin-bottom: 16px; }
.c-wrap p strong { color: var(--text); font-weight: 600; }
.c-wrap ul { margin: 0 0 16px 20px; }
.c-wrap li { font-size: 16px; color: var(--text-2); line-height: 1.9; margin-bottom: 8px; }

/* ====== 关于老张独立页（page-about.php） ====== */
.about-header { padding-top: 0; }
.ah-top-band {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  padding: 22px 0; text-align: center;
}
.ah-top-quote {
  color: #fff; font-size: 18px; font-weight: 700; letter-spacing: 0.04em;
}
.about-header .ph-wrap { padding-top: 56px; }
.about-header { padding-bottom: 40px; background: #FFF8F3; border-bottom: 1px solid var(--border); }

.about-page { padding: 64px 0 96px; background: var(--bg); }
.about-wrap { max-width: 760px; margin: 0 auto; padding: 0 28px; }
.about-section { margin-bottom: 64px; }
.about-section:last-child { margin-bottom: 0; }
.about-lead {
  font-size: 22px !important; font-weight: 700; color: var(--text) !important;
  line-height: 1.6 !important; margin-bottom: 24px !important;
  padding-left: 16px; border-left: 4px solid var(--red);
}
.about-wrap p {
  font-size: 17px; color: var(--text-2); line-height: 1.9; margin-bottom: 18px;
}
.about-wrap p strong { color: var(--text); font-weight: 600; }
.about-h2 {
  font-size: 26px; font-weight: 800; color: var(--text);
  margin: 0 0 28px; padding-bottom: 14px;
  border-bottom: 2px solid var(--border);
  display: flex; align-items: center; gap: 12px;
}
.about-h2::before {
  content: ""; width: 4px; height: 24px; background: linear-gradient(180deg, var(--red), var(--gold));
  border-radius: 2px;
}

.quote-block {
  background: #FFFAF2;
  border: 1px solid rgba(212,165,116,0.35);
  border-left: 4px solid var(--gold);
  border-radius: 0 14px 14px 0;
  padding: 28px 32px 28px 56px;
  margin-bottom: 20px;
  position: relative;
}
.quote-block .qb-mark {
  position: absolute; left: 16px; top: 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 56px; color: var(--red); line-height: 1; font-weight: 700;
}
.quote-block p {
  font-size: 18px !important; font-weight: 700; color: var(--text) !important;
  line-height: 1.6 !important; margin-bottom: 10px !important;
}
.quote-block .qb-sign {
  font-size: 14px; color: var(--text-3); line-height: 1.7;
}

.help-list {
  list-style: none; margin: 0; padding: 0;
}
.help-list li {
  position: relative; padding: 18px 0 18px 36px;
  border-bottom: 1px dashed var(--border);
  font-size: 16px; color: var(--text-2); line-height: 1.85;
}
.help-list li:last-child { border-bottom: none; }
.help-list li::before {
  content: "✓"; position: absolute; left: 0; top: 20px;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--red); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
}
.help-list li strong { color: var(--text); }

.about-contact {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px;
}
.ac-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r);
  padding: 28px 20px; text-align: center; box-shadow: var(--shadow-sm);
}
.ac-card img.qr-img {
  width: 120px; height: 120px; object-fit: contain; border-radius: 8px;
  background: #fff; padding: 6px; margin-bottom: 12px;
}
.ac-card .ccard-icon {
  font-size: 40px; margin-bottom: 12px; line-height: 1;
}
.ac-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; color: var(--text); }
.ac-card p { font-size: 13px; color: var(--text-2); line-height: 1.6; margin-bottom: 4px !important; }
.ac-card .ac-note { font-size: 12px !important; color: var(--text-3) !important; }

/* ====== 响应式 ====== */
@media (max-width: 960px) {
  .serve-grid { grid-template-columns: 1fr; }
  .ab-grid { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .ab-avatar-box { width: 160px; height: 160px; font-size: 90px; }
  .ab-p { margin-left: auto; margin-right: auto; }
  .art-card, .art-card.art-row-flip {
    grid-template-columns: 1fr !important;
  }
  .art-card .art-row-cover, .art-card.art-row-flip .art-row-cover {
    order: unset !important; height: 200px;
  }
  .art-card .art-row-body, .art-card.art-row-flip .art-row-body { order: unset !important; }
  .archive-grid { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 46px; }
  .hero::after { font-size: 220px; right: -40px; }
  .sec-title { font-size: 30px; }
  .big-quote { font-size: 22px; }
  .big-quote .lq, .big-quote .rq { font-size: 48px; }
  .about-contact { grid-template-columns: 1fr; }
  .help-list li { padding-left: 32px; }
  .cats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  body { font-size: 15px; }
  .wrap, .ah-wrap, .ab-wrap, .ph-wrap, .about-wrap { padding: 0 18px; }
  section { padding: 64px 0; }
  .nav-links { display: none; }
  .hero { padding: 72px 0 64px; }
  .hero h1 { font-size: 36px; }
  .hero-lead { font-size: 16px; }
  .quote-band { padding: 56px 0; }
  .big-quote { font-size: 18px; }
  .big-quote .lq, .big-quote .rq { font-size: 40px; vertical-align: -0.1em; }
  .serve-card { padding: 28px 22px 24px; }
  .art-row-body { padding: 22px 20px; }
  .art-card h3 { font-size: 17px; }
  .archive-grid { grid-template-columns: 1fr; }
  .ab-avatar-box { width: 140px; height: 140px; font-size: 76px; }
  .ab-h2 { font-size: 26px; }
  .contact-grid { grid-template-columns: 1fr; }
  .foot-top { flex-direction: column; align-items: flex-start; }
  .foot-nav { gap: 16px; }
  .ah-title { font-size: 28px; }
  .ah-cover-inner { height: 180px; font-size: 64px; }
  .ab-wrap p { font-size: 16px; }
  .ab-wrap h2 { font-size: 20px; margin-top: 36px; }
  .r-grid { grid-template-columns: 1fr; }
  .quote-block { padding: 24px 22px 22px 46px; }
  .quote-block .qb-mark { font-size: 42px; left: 12px; top: 12px; }
  .quote-block p { font-size: 16px !important; }
  .about-lead { font-size: 19px !important; }
  .cats-grid { grid-template-columns: 1fr; }
}
