/*



Theme Name: 吴丽玉律师 · 个人博客



Theme URI: https://fzlvs.com



Author: 吴丽玉



Description: 藏蓝鎏金律师个人博客主题。深色导航 / Hero大图 / 数据亮点条 / 业务卡片 / 精选案例 / 律师简介 / 法律文章 / CTA联系区。兼容 Elementor，响应式，SEO友好。



Version: 1.0.0



Requires at least: 6.0



Tested up to: 6.7



Requires PHP: 7.4



License: GPL v2 or later



Text Domain: wuliyu-law



Tags: blog, one-column, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready



*/







/* ==============================================



   1. DESIGN TOKENS



   ============================================== */



:root {



  --gold:        #c9a86a;



  --gold-dark:   #a5854f;



  --gold-light:  #e8dcc4;



  --gold-lite:   #f7f2e8;



  --ink:         #7c5a2e;



  --ink-soft:    #3d2f1e;



  --tx:          #4a4338;



  --tx-mid:      #6f6657;



  --tx-dim:      #9a8f7d;



  --line:        #e0d8cc;



  --line-soft:   #efe9df;



  --bg:          #ffffff;



  --bg-soft:     #faf9f7;



  --bg-page:     #f6f1e7;



  --bg-foot:     #322b23;



  --radius:      12px;



  --radius-sm:   8px;



  --serif:       "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", serif;



  --sans:        "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;



  --shadow:      0 1px 3px rgba(31,58,95,.06);



}







/* ==============================================



   2. RESET & BASE



   ============================================== */



*, *::before, *::after { box-sizing: border-box; }



html { scroll-behavior: smooth; }



body {



  margin: 0;



  font-family: var(--sans);



  font-size: 16px;



  line-height: 1.75;



  color: var(--tx);



  background: var(--bg-page);



  -webkit-font-smoothing: antialiased;



}



img { max-width: 100%; height: auto; display: block; }



a { color: var(--gold-dark); text-decoration: none; transition: color .2s; }



a:hover { color: var(--gold); }



h1, h2, h3, h4, h5, h6 { font-family: var(--serif); color: var(--ink); margin: 0 0 .6em; line-height: 1.35; }



h1 { font-size: 2.1rem; }



h2 { font-size: 1.7rem; }



h3 { font-size: 1.25rem; }



p { margin: 0 0 1em; }



.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }







/* ==============================================



   3. HEADER



   ============================================== */



.site-header {



  background: var(--ink-soft);



  position: sticky;



  top: 0;



  z-index: 100;



  box-shadow: 0 2px 12px rgba(0,0,0,.15);



}



.site-header .container {



  display: flex;



  align-items: center;



  justify-content: space-between;



  min-height: 64px;



  gap: 20px;



}



.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }



.brand-mark {



  width: 34px; height: 34px; border-radius: 8px;



  background: var(--gold); flex-shrink: 0;



  display: flex; align-items: center; justify-content: center;



  color: #fff; font-family: var(--serif); font-size: 17px; font-weight: 500;



}



.brand-name { color: #fff; font-family: var(--serif); font-size: 19px; white-space: nowrap; }



.brand-name span { color: var(--gold); }



.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 26px; }



.main-nav a { color: #d3d1c7; font-size: 15px; padding: 6px 0; position: relative; }



.main-nav a:hover, .main-nav .current-menu-item > a { color: var(--gold-light); }



.main-nav .current-menu-item > a::after {



  content: ""; position: absolute; left: 0; right: 0; bottom: 0;



  height: 2px; background: var(--gold);



}



.header-cta {



  background: var(--gold); color: #fff; border: none;



  padding: 9px 22px; border-radius: 999px; cursor: pointer;



  font-size: 14px; font-family: var(--sans); transition: background .2s;



}



.header-cta:hover { background: var(--gold-dark); color: #fff; }









  .main-nav ul { flex-direction: column; gap: 14px; }



  .header-cta { display: none; }



}







/* ==============================================



   4. HERO



   ============================================== */



.hero {



  background: var(--bg);



  color: var(--tx);



  padding: 88px 0;



  position: relative;



  border-bottom: 1px solid var(--line-soft);



}



.hero-eyebrow { color: var(--gold-dark); font-size: 13px; letter-spacing: 3px; margin-bottom: 16px; text-transform: uppercase; }



.hero h1 { color: var(--ink); font-size: 2.8rem; line-height: 1.25; margin-bottom: 20px; letter-spacing: -0.5px; }



.hero h1 em { font-style: normal; color: var(--gold-dark); }



.hero-desc { color: var(--tx-mid); font-size: 16px; max-width: 540px; margin-bottom: 30px; line-height: 1.85; }



.hero-stats { display: flex; gap: 32px; margin-bottom: 36px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--line-soft); }



.hero-stats div { border-left: 2px solid var(--gold); padding-left: 14px; }



.hero-stats b { display: block; font-family: var(--serif); font-size: 22px; color: var(--ink); }



.hero-stats span { font-size: 13px; color: var(--tx-dim); }



.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }



.btn { display: inline-block; padding: 12px 30px; border-radius: 999px; font-size: 15px; border: none; cursor: pointer; }



.btn-gold { background: var(--gold); color: #fff; }



.btn-gold:hover { background: var(--gold-dark); color: #fff; }



.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }



.btn-ghost:hover { background: var(--bg-soft); color: var(--gold-dark); border-color: var(--gold-dark); }



.hero-visual { display: flex; justify-content: center; }



.hero-avatar {



  width: 260px; height: 260px; border-radius: 50%;



  background: var(--gold-lite);



  border: 2px solid var(--gold);



  display: flex; align-items: center; justify-content: center;



  font-family: var(--serif); font-size: 64px; color: var(--gold-dark);



}



@media (max-width: 900px) {



  .hero { padding: 56px 0; }



  .hero .container { grid-template-columns: 1fr; }



  .hero h1 { font-size: 2rem; }



  .hero-visual { order: -1; }



  .hero-avatar { width: 150px; height: 150px; font-size: 38px; }



}







/* ==============================================



   5. STATS BAR



   ============================================== */



.stats-bar { background: var(--bg-soft); border-bottom: 1px solid var(--line-soft); }



.stats-grid {



  display: grid; grid-template-columns: repeat(4, 1fr);



  padding: 34px 0; gap: 12px;



}



.stat-item { text-align: center; }



.stat-item .num { font-family: var(--serif); font-size: 34px; font-weight: 500; color: var(--ink); }



.stat-item .num small { font-size: 18px; color: var(--gold-dark); }



.stat-item .lbl { color: var(--tx-mid); font-size: 14px; margin-top: 2px; }



@media (max-width: 700px) {



  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }



}







/* ==============================================



   6. SECTION COMMON



   ============================================== */



.section { padding: 72px 0; }



.section-head { text-align: center; max-width: 640px; margin: 0 auto 46px; }



.section-head .sub { color: var(--gold-dark); font-size: 14px; letter-spacing: 2px; }



.section-head h2 { font-size: 2rem; }



.section-head p { color: var(--tx-mid); }



.section-alt { background: var(--bg-soft); }







/* ==============================================



   7. SERVICE CARDS



   ============================================== */



.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }



.service-card {
  color: inherit; text-decoration: none;

  background: var(--bg); border: 1px solid var(--line-soft);



  border-radius: var(--radius); padding: 28px 24px;



  transition: transform .2s, box-shadow .2s, border-color .2s;



}



.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold); }



.service-icon {



  width: 48px; height: 48px; border-radius: 10px;



  background: var(--bg-soft); display: flex; align-items: center; justify-content: center;



  margin-bottom: 16px; color: var(--gold-dark); font-size: 22px;



}



.service-card h3 { font-size: 1.15rem; }



.service-card p { color: var(--tx-mid); font-size: 14px; }



.service-card .case-count { color: var(--tx-dim); font-size: 13px; }



@media (max-width: 900px) {



  .services-grid { grid-template-columns: repeat(2, 1fr); }



}



@media (max-width: 600px) {



  .services-grid { grid-template-columns: 1fr; }



}







/* ==============================================



   8. CASES



   ============================================== */



.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }



.case-card {



  background: var(--ink-soft); border-radius: var(--radius);



  padding: 26px 24px; color: var(--gold-light); display: flex; flex-direction: column; gap: 8px;



  transition: transform .2s, box-shadow .2s;



}



.case-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(16,30,48,.28); }



.case-tag {



  align-self: flex-start; background: rgba(201,168,106,.25);



  color: var(--gold-light); font-size: 13px; padding: 4px 12px; border-radius: 999px;



}



.case-card h3 { color: #fff; font-size: 1.05rem; margin: 4px 0 0; }



.case-result { color: #9c8f73; font-size: 14px; }



.case-link { color: var(--gold); font-size: 14px; margin-top: auto; }



@media (max-width: 900px) {



  .cases-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }



}







/* ==============================================



   9. ABOUT



   ============================================== */



.about-wrap { display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: center; }



.about-avatar {



  width: 100%; aspect-ratio: 1; border-radius: var(--radius);



  background: var(--line); display: flex; align-items: center; justify-content: center;



  font-size: 88px; color: var(--tx-dim); overflow: hidden;



}



.about-avatar img { width: 100%; height: 100%; object-fit: cover; }



.about-avatar .ph {



  font-family: var(--serif); font-size: 60px; color: #b4b2a9;



}



.about-name { font-size: 1.5rem; margin-bottom: 4px; }



.about-meta { color: var(--tx-mid); font-size: 14px; margin-bottom: 16px; }



.about-desc { color: var(--tx); }



.about-points { list-style: none; padding: 0; margin: 18px 0 22px; }



.about-points li { padding: 7px 0 7px 30px; position: relative; color: var(--tx); }



.about-points li::before {



  content: ""; position: absolute; left: 4px; top: 16px;



  width: 14px; height: 2px; background: var(--gold);



}



@media (max-width: 900px) {



  .about-wrap { grid-template-columns: 1fr; gap: 28px; }



  .about-avatar { max-width: 280px; margin: 0 auto; }



}







/* ==============================================



   10. BLOG CARDS



   ============================================== */



.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }



.post-card {



  background: var(--bg); border: 1px solid var(--line-soft);



  border-radius: var(--radius); overflow: hidden;



  transition: transform .2s, box-shadow .2s, border-color .2s;



  display: flex; flex-direction: column;



}



.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold); }



.post-thumb { aspect-ratio: 16/10; background: var(--bg-soft); display: flex; align-items: center; justify-content: center; color: var(--tx-dim); font-size: 32px; overflow: hidden; }



.post-thumb img { width: 100%; height: 100%; object-fit: cover; }



.post-body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }



.post-cat { font-size: 12px; color: var(--gold-dark); letter-spacing: 1px; margin-bottom: 6px; }



.post-body h3 { font-size: 1.02rem; margin-bottom: 8px; }



.post-body h3 a { color: var(--ink); }



.post-body h3 a:hover { color: var(--gold-dark); }



.post-meta { color: var(--tx-dim); font-size: 13px; margin-top: auto; }



@media (max-width: 900px) {



  .blog-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }



}







/* ==============================================



   11. CTA



   ============================================== */



.cta-band { background: var(--ink-soft); border-radius: var(--radius); padding: 48px; text-align: center; }



.cta-band h2 { color: var(--gold-light); font-size: 1.6rem; }



.cta-band p { color: #c9bda3; }



.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }







/* ==============================================



   12. FOOTER



   ============================================== */



.site-footer { background: var(--bg-foot); color: #b8b2a7; padding: 52px 0 24px; margin-top: 72px; }



.footer-inner { max-width: 1440px; margin: 0 auto; padding: 0 40px; }



.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 32px; }



.footer-grid h4 { color: #f1ece2; font-size: 1.05rem; margin-bottom: 14px; }



.footer-grid p, .footer-grid li { font-size: 14px; line-height: 1.9; }



.footer-grid ul { list-style: none; padding: 0; margin: 0; }



.footer-grid a { color: #b8b2a7; }



.footer-grid a:hover { color: var(--gold-light); }



.footer-bottom { border-top: 1px solid #4a4136; padding-top: 18px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; color: #8f8779; }



@media (max-width: 900px) {



  .footer-grid { grid-template-columns: 1fr; gap: 28px; }



}







/* ==============================================



   13. SINGLE / ARCHIVE / PAGE



   ============================================== */



.single-wrap, .page-wrap { max-width: 820px; margin: 0 auto; padding: 56px 24px; }



.entry-header { margin-bottom: 30px; }



.entry-header .post-cat { display: block; margin-bottom: 8px; }



.entry-header h1 { font-size: 2rem; line-height: 1.4; }



.entry-meta { color: var(--tx-dim); font-size: 14px; }



.entry-content { font-size: 16.5px; }



.entry-content p { margin-bottom: 1.2em; }



.entry-content h2 { font-size: 1.5rem; margin: 1.6em 0 .7em; }



.entry-content h3 { font-size: 1.2rem; margin: 1.4em 0 .6em; }



.entry-content ul, .entry-content ol { margin: 0 0 1.2em 1.4em; }



.entry-content blockquote {



  margin: 1.4em 0; padding: 16px 20px; border-left: 3px solid var(--gold);



  background: var(--gold-lite); color: var(--tx); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;



}



.entry-content img { border-radius: var(--radius-sm); margin: 1em 0; }



.entry-tags { margin-top: 32px; display: flex; gap: 10px; flex-wrap: wrap; }



.entry-tags a {



  background: var(--bg-soft); color: var(--tx-mid); padding: 5px 14px;



  border-radius: 999px; font-size: 13px;



}



.entry-tags a:hover { background: var(--gold-lite); color: var(--gold-dark); }



.post-nav { display: flex; justify-content: space-between; gap: 20px; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line-soft); font-size: 14px; }

/* 相关阅读（single.php 文章底部推荐） */
.related-posts { margin-top: 40px; padding: 26px 28px 22px; background: var(--bg-soft); border: 1px solid var(--line-soft); border-radius: var(--radius); }
.related-title { font-size: 1.12rem; color: var(--ink-soft); margin-bottom: 18px; padding-left: 12px; border-left: 4px solid var(--gold); }
.related-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px; }
.related-list li { font-size: 15px; line-height: 1.65; }
.related-list a { color: var(--tx); text-decoration: none; display: inline-block; }
.related-list a:hover { color: var(--gold-dark); text-decoration: underline; }
@media (max-width: 640px) { .related-list { grid-template-columns: 1fr; } }







/* Archive list */



.archive-list { max-width: 820px; margin: 0 auto; padding: 40px 24px; }



.archive-title { margin-bottom: 30px; }



.archive-list .post-item {



  padding: 22px 0; border-bottom: 1px solid var(--line-soft);



}



.archive-list .post-item h2 { font-size: 1.3rem; margin-bottom: 6px; }



.archive-list .post-item h2 a { color: var(--ink); }



.archive-list .post-item h2 a:hover { color: var(--gold-dark); }



.archive-list .post-meta { font-size: 13px; color: var(--tx-dim); }



.pagination { display: flex; gap: 8px; justify-content: center; padding: 34px 0; flex-wrap: wrap; }



.pagination .page-numbers {



  min-width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center;



  border: 1px solid var(--line); border-radius: 8px; padding: 0 10px; color: var(--tx);



}



.pagination .current { background: var(--gold); border-color: var(--gold); color: #fff; }







/* 404 */



.notfound { text-align: center; padding: 100px 24px; }



.notfound h1 { font-size: 4rem; color: var(--gold); }







/* Elementor full-width support */



.elementor-page .site-main { padding: 0; }



.elementor-page .entry-content { font-size: 1rem; }







/* ==============================================



   14. RESPONSIVE TWEAKS



   ============================================== */



@media (max-width: 700px) {



  .section { padding: 52px 0; }



  .section-head h2 { font-size: 1.6rem; }



  .cta-band { padding: 34px 22px; }



}







/* ==============================================



   15. 杂志式布局（左侧边栏 + 右侧内容流）



   ============================================== */



.layout-wrap {



  display: grid;



  grid-template-columns: 300px minmax(0, 1fr);



  min-height: 100vh;



  column-gap: 5px;



  max-width: 1440px;



  margin: 0 auto;



  background: var(--bg);



  box-shadow: 0 0 40px rgba(90, 72, 40, .08);



}







/* ---- 左侧边栏（白底线框） ---- */



.side-rail {



  background: var(--bg);



  border-right: 1px solid var(--line);



  position: sticky;



  top: 0;



  height: 100vh;



  overflow-y: auto;



  z-index: 90;



}



.side-inner {



  display: flex;



  flex-direction: column;



  align-items: center;



  padding: 48px 38px 36px;



  gap: 28px;



  min-height: 100%;



}



.side-brand { text-align: center; }



.side-avatar {



  width: 112px; height: 112px; border-radius: 50%;



  background: var(--gold-lite);



  border: 2px solid var(--gold);



  margin: 0 auto 16px;



  display: flex; align-items: center; justify-content: center;



  overflow: hidden;



  font-family: var(--serif); font-size: 44px; color: var(--gold-dark);



}



.side-avatar img { width: 100%; height: 100%; object-fit: cover; }



.side-name {



  display: block; color: var(--ink); font-family: var(--serif);



  font-size: 22px; margin-bottom: 6px;



}



.side-name:hover { color: var(--gold-dark); }



.side-role { color: var(--gold-dark); font-size: 13px; letter-spacing: 1px; }







/* 关键词导航 */



.side-keywords {



  margin-top: 22px;



  padding-top: 18px;



  border-top: 1px solid var(--line-soft);



}



.side-block-title {



  font-size: 12px;



  color: var(--tx-dim);



  letter-spacing: 2px;



  margin-bottom: 12px;



  font-weight: 500;



}



.side-keyword-list {



  display: flex;



  flex-wrap: wrap;



  gap: 8px;



}



.side-keyword {



  display: inline-block;



  padding: 5px 12px;



  font-size: 13px;



  color: var(--ink);



  background: var(--gold-lite);



  border: 1px solid var(--gold-light);



  border-radius: 999px;



  text-decoration: none;



  transition: background .18s, color .18s, border-color .18s;



}



.side-keyword:hover {



  background: var(--gold);



  color: #fff;



  border-color: var(--gold-dark);



}







/* 执业信息核验 */



.side-verify {



  width: 100%;



  margin-top: 22px;



  padding: 18px;



  border-radius: var(--radius-sm);



  background: var(--bg-soft);



  border: 1px solid var(--line);



}



.side-verify-eyebrow {



  font-size: 12px;



  color: var(--gold-dark);



  letter-spacing: 2px;



  text-transform: uppercase;



  margin-bottom: 6px;



  font-weight: 500;



}



.side-verify-title {



  font-family: var(--serif);



  font-size: 16px;



  color: var(--ink);



  margin-bottom: 10px;



  line-height: 1.4;



}



.side-verify-desc {



  font-size: 13px;



  color: var(--tx-mid);



  line-height: 1.7;



  margin-bottom: 12px;



}



.side-verify-list {



  list-style: none;



  padding: 0;



  margin: 0;



  display: flex;



  flex-direction: column;



  gap: 8px;



}



.side-verify-list li {



  position: relative;



  padding-left: 14px;



  font-size: 13.5px;



  line-height: 1.5;



}



.side-verify-list li::before {



  content: "";



  position: absolute;



  left: 0;



  top: 8px;



  width: 5px;



  height: 5px;



  border-radius: 50%;



  background: var(--gold-dark);



}



.side-verify-list a {



  color: var(--ink);



  text-decoration: none;



  border-bottom: 1px solid transparent;



  transition: color .2s, border-color .2s;



}



.side-verify-list a:hover {



  color: var(--gold-dark);



  border-bottom-color: var(--gold-light);



}







/* 垂直导航 */



.side-rail .main-nav { width: 100%; }



.side-rail .main-nav ul {



  flex-direction: column;



  gap: 4px;



  border-top: 1px solid var(--line-soft);



  padding-top: 18px;



}



.side-rail .main-nav a {



  display: block;



  color: var(--tx-mid);



  padding: 11px 18px;



  border-radius: 8px;



  font-size: 15px;



  transition: background .2s, color .2s;



}



.side-rail .main-nav a:hover { background: var(--bg-soft); color: var(--ink); }



.side-rail .main-nav .current-menu-item > a {



  background: var(--gold-lite);



  color: var(--gold-dark);



}



.side-rail .main-nav .current-menu-item > a::after { display: none; }







/* 联系方式 */



.side-contact {



  width: 100%;



  border-top: 1px solid var(--line-soft);



  padding-top: 18px;



  display: flex;



  flex-direction: column;



  gap: 12px;



}



.side-contact-row {



  display: flex;



  align-items: flex-start;



  gap: 10px;



  padding: 0 8px;



  font-size: 13.5px;



  color: var(--tx-mid);



  line-height: 1.5;



  word-break: break-all;



}



.side-contact-row a { color: var(--tx-mid); }



.side-contact-row a:hover { color: var(--gold-dark); }



.side-ico {



  flex-shrink: 0;



  width: 20px; height: 20px;



  display: inline-flex; align-items: center; justify-content: center;



  font-size: 12px;



}



.side-foot {



  margin-top: auto;



  font-size: 12px;



  color: var(--tx-dim);



  text-align: center;



  line-height: 1.6;



}







/* ---- 右侧内容区 ---- */



.site-main {



  min-width: 0;



  padding: 0;



}



.site-main > * { max-width: 100%; }







/* Hero 在右侧内容流内的样式 */



.hero {



  padding: 72px 56px 72px 0;



}



.hero-inner { max-width: 720px; margin-left: 56px; }







/* 右侧板块容器改为右侧流内 */



.site-main .container {



  max-width: 980px;



  padding: 0 56px 0 0;



}



.site-main .section { padding: 64px 0; }







/* 归档/文章/页面在右侧流内 */



.site-main .archive-list,



.site-main .single-wrap,



.site-main .page-wrap { padding: 48px 56px 48px 0; max-width: 980px; margin: 0; }







/* Elementor 全宽适配 */



.elementor-page .site-main .elementor { max-width: none; }







/* ---- 响应式：窄屏侧栏变顶部条 ---- */



@media (max-width: 900px) {



  .layout-wrap { grid-template-columns: 1fr; margin-left: 0; margin-right: 0; column-gap: 0; max-width: none; }



  .hero { padding: 48px 24px; }



  .hero-inner { margin-left: 0; }



  .site-main .container { padding: 0 24px; }



  .site-main .archive-list,



  .site-main .single-wrap,



  .site-main .page-wrap { padding: 32px 24px; }



  .side-rail {



    position: sticky;



    top: 0;



    height: auto;



    box-shadow: 0 2px 12px rgba(31,58,95,.08);



  }



  .side-inner {



    flex-direction: row;



    flex-wrap: wrap;



    align-items: center;



    padding: 14px 20px;



    gap: 14px;



  }



  .side-brand { display: flex; align-items: center; gap: 12px; text-align: left; }



  .side-avatar {



    width: 48px; height: 48px;



    margin: 0;



    font-size: 22px;



    border-width: 2px;



  }



  .side-name { font-size: 18px; margin-bottom: 0; }



  .side-role { display: none; }



  .side-contact, .side-foot { display: none; }



  .side-rail .mnav {




    order: 2;




    flex: 0 0 auto;




    margin-left: auto;




  }




  .side-rail .main-nav {



    order: 4;



    width: 100%;



    border-top: 1px solid var(--line-soft);



    padding-top: 10px;



  }






  .side-rail .main-nav ul { border-top: none; padding-top: 0; }



  .nav-toggle {



    display: inline-flex;



    align-items: center;



    justify-content: center;



    margin-left: auto;



    width: 40px; height: 40px;



    font-size: 20px;



    color: var(--ink);



    background: var(--bg-soft);



    border-radius: 8px;



  }



  .hero { padding: 48px 24px; }



  .site-main .container { padding: 0 24px; }



  .site-main .archive-list,



  .site-main .single-wrap,



  .site-main .page-wrap { padding: 32px 24px; }



}







/* === fzjtls 表格美化 v3（卡片化+!important·2026-08-19） === */



body .entry-content table,



body .entry-content .wp-block-table > table,



body .site-main table,



body article table {



  width: 100%;



  border-collapse: separate !important;



  border-spacing: 0 8px !important;



  margin: 1.5rem 0 2rem !important;



  font-size: 0.95rem;



  line-height: 1.75;



  background: transparent !important;



  table-layout: auto;



}



body .entry-content table thead th,



body .site-main table thead th,



body article table thead th {



  padding: 0.95rem 1.15rem;



  font-weight: 700;



  text-align: left;



  color: #1a3d5c;



  background: #f5f0e6 !important;



  border: none !important;



  letter-spacing: 0.05em;



}



body .entry-content table thead th:first-child,



body .site-main table thead th:first-child,



body article table thead th:first-child { border-radius: 8px 0 0 8px !important; }



body .entry-content table thead th:last-child,



body .site-main table thead th:last-child,



body article table thead th:last-child { border-radius: 0 8px 8px 0 !important; }



body .entry-content table tbody tr,



body .site-main table tbody tr,



body article table tbody tr {



  background: #fff !important;



  box-shadow: 0 1px 3px rgba(0,0,0,0.06) !important;



  transition: all 0.2s ease;



}



body .entry-content table tbody tr:hover,



body .site-main table tbody tr:hover,



body article table tbody tr:hover {



  background: #fafaf6 !important;



  box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;



}



body .entry-content table tbody td,



body .site-main table tbody td,



body article table tbody td {



  padding: 0.95rem 1.15rem !important;



  vertical-align: top;



  background: transparent !important;



  border: none !important;



  word-break: break-word;



}



body .entry-content table tbody tr td:first-child,



body .site-main table tbody tr td:first-child,



body article table tbody tr td:first-child {



  border-radius: 8px 0 0 8px !important;



  font-weight: 600;



  color: #1a3d5c;



}



body .entry-content table tbody tr td:last-child,



body .site-main table tbody tr td:last-child,



body article table tbody tr td:last-child {



  border-radius: 0 8px 8px 0 !important;



}



@media (max-width: 640px) {



  body .entry-content table, body .site-main table, body article table {



    font-size: 0.88rem; border-spacing: 0 5px !important;



  }



  body .entry-content table thead th, body .entry-content table tbody td,



  body .site-main table thead th, body .site-main table tbody td,



  body article table thead th, body article table tbody td {



    padding: 0.65rem 0.8rem !important;



  }



}











/* === fzjtls 正文边距 v4（防止文字贴边·2026-08-19） === */



body .entry-content,



body .site-main .entry-content,



body article .entry-content,



body .single-wrap .entry-content {



  padding-left: 1.5rem !important;



  padding-right: 1.5rem !important;



  max-width: 760px !important;



  margin-left: auto !important;



  margin-right: auto !important;



  box-sizing: border-box !important;



}



body .single-wrap,



body .site-main .single-wrap {



  padding-left: 0 !important;



  padding-right: 0 !important;



}



body .entry-content h1, body .entry-content h2, body .entry-content h3,



body .entry-content h4, body .entry-content p, body .entry-content ul,



body .entry-content ol, body .entry-content blockquote {



  margin-left: 0 !important;



  margin-right: 0 !important;



}



@media (max-width: 640px) {



  body .entry-content {



    padding-left: 1rem !important;



    padding-right: 1rem !important;



    max-width: 100% !important;



  }



}





/* === fzjtls 右侧文章区域居中 v5（2026-08-19） === */


body .site-main .container,


body .site-main .archive-list,


body .site-main .single-wrap,


body .site-main .page-wrap {


  max-width: 940px !important;


  margin-left: auto !important;


  margin-right: auto !important;


  padding-left: 28px !important;


  padding-right: 28px !important;


}


body .blog-grid,


body .cases-grid,


body .services-grid {


  margin-left: auto !important;


  margin-right: auto !important;


}


body .archive-list .post-item h2 {


  text-align: left;


}


@media (max-width: 900px) {


  body .site-main .container,


  body .site-main .archive-list,


  body .site-main .single-wrap,


  body .site-main .page-wrap {


    padding-left: 20px !important;


    padding-right: 20px !important;


    max-width: 100% !important;


  }


}



/* === fzjtls 移动端紧凑 v6（2026-08-19 修复：侧栏占首屏） === */

@media (max-width: 900px) {

  /* 隐藏侧栏冗余内容，腾出首屏给文章 */

  body .side-keywords,

  body .side-verify,

  body .side-block-title {

    display: none !important;

  }

  /* 侧栏压缩为顶部薄条 */

  body .side-rail {

    position: sticky !important;

    top: 0 !important;

    height: auto !important;

    padding: 0 !important;

    background: #fff !important;

    z-index: 100 !important;

  }

  body .side-inner {

    padding: 10px 16px !important;

    gap: 12px !important;

    flex-wrap: nowrap !important;

    min-height: 56px !important;

  }

  body .side-brand {

    flex: 1 !important;

    min-width: 0 !important;

  }

  body .side-avatar {

    width: 36px !important;

    height: 36px !important;

    font-size: 18px !important;

    flex-shrink: 0 !important;

  }

  body .side-name {

    font-size: 15px !important;

    font-weight: 600 !important;

    white-space: nowrap !important;

    overflow: hidden !important;

    text-overflow: ellipsis !important;

  }

  body .side-role {

    display: block !important;

    font-size: 11px !important;

    color: #888 !important;

    white-space: nowrap !important;

  }

  /* 菜单按钮 */

  body .nav-toggle {

    display: flex !important;

    align-items: center !important;

    justify-content: center !important;

    width: 40px !important;

    height: 40px !important;

    padding: 0 !important;

    border-radius: 8px !important;

    flex-shrink: 0 !important;

  }

  /* site-main 占据首屏 */

  body .site-main {

    padding: 0 !important;

  }

  /* 减少 hero/区块顶部留白 */

  body .hero {

    padding: 28px 20px 24px !important;

  }

  body .hero h1 {

    font-size: 1.6rem !important;

    line-height: 1.4 !important;

  }

  body .section {

    padding: 36px 0 !important;

  }

  body .section-head h2 {

    font-size: 1.4rem !important;

  }

  body .stats-grid {

    padding: 24px 20px !important;

  }

  body .cta-band {

    padding: 28px 18px !important;

  }

  body .footer-grid {

    padding: 28px 20px !important;

  }

}



@media (max-width: 480px) {

  /* 极窄屏进一步压缩 */

  body .side-name { font-size: 14px !important; }

  body .hero h1 { font-size: 1.4rem !important; }

  body .post-card { padding: 14px !important; }

  body .post-card h3 { font-size: 1rem !important; }

}

/* === fzjtls 移动端菜单修复 v6.1（2026-08-19） === */
@media (max-width: 900px) {
  /* 允许菜单展开换行（v6 的 nowrap 导致菜单被压扁看不见） */
  body .side-inner {
    flex-wrap: wrap !important;
  }
  body .side-brand {
    order: 1 !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }
  body .nav-toggle {
    order: 2 !important;
    margin-left: auto !important;
    position: relative !important;
    z-index: 110 !important;
    cursor: pointer !important;
  }
  /* 展开后的菜单：占满整行、白底、竖排 */
  body .side-rail .main-nav,
  body .main-nav {
    order: 4 !important;
    flex-basis: 100% !important;
    width: 100% !important;
    background: #fff !important;
    box-shadow: 0 4px 12px rgba(31,58,95,0.08) !important;
    border-top: 1px solid #eee !important;
    padding: 10px 6px !important;
    margin: 0 !important;
  }
  body .side-rail .main-nav ul,
  body .main-nav ul {
    flex-direction: column !important;
    gap: 2px !important;
  }
  body .side-rail .main-nav a,
  body .main-nav a {
    display: block !important;
    padding: 10px 12px !important;
    border-radius: 6px !important;
  }
}
