/* ============================================================
   行知随笔 · 简约首页
   白底 / 黑字 / 细线 / 留白
   ============================================================ */
:root {
  /* 颜色与字体都指向主题预设，可在「外观 → 编辑器 → 样式」里直接改 */
  --dl-ink: var(--wp--preset--color--ink, #111111);
  --dl-muted: var(--wp--preset--color--muted, #6f6f6f);
  --dl-line: var(--wp--preset--color--line, #e5e5e5);
  --dl-line-soft: #efefef;
  --dl-paper: var(--wp--preset--color--paper, #ffffff);
  --dl-serif: var(--wp--preset--font-family--serif, "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", Georgia, serif);
  --dl-sans: var(--wp--preset--font-family--sans, "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif);
  --dl-kai: var(--wp--preset--font-family--kai, "KaiTi", "楷体", "Kaiti SC", "STKaiti", "BiauKai", "AR PL UKai CN", "Noto Serif CJK SC", serif);
}

body {
  background: var(--dl-paper);
  color: var(--dl-ink);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--dl-ink); }
.wp-site-blocks { background: transparent; }

/* 首页全宽，内部用 .dl-wrap 控制版心 */
body.home .wp-block-post-content,
body.home .entry-content {
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
body.home main.wp-block-group {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
body.home .wp-block-post-content.is-layout-constrained > .dl-hero,
body.home .wp-block-post-content.is-layout-constrained > .dl-posts,
body.home .wp-block-post-content.is-layout-constrained > .dl-about {
  max-width: none !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.dl-wrap {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 28px;
  box-sizing: border-box;
}

/* ---------------- Hero ---------------- */
.dl-hero {
  padding: clamp(68px, 10vw, 112px) 0 clamp(56px, 8vw, 84px);
  border-bottom: 1px solid var(--dl-line);
}
.dl-eyebrow {
  margin: 0 0 20px;
  color: var(--dl-muted);
  font-size: 0.64rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}
.dl-hero h1 {
  margin: 0 0 26px;
  font-size: clamp(2.5rem, 5.8vw, 4.2rem);
  line-height: 1.15;
  letter-spacing: -0.035em;
}
.dl-lead {
  max-width: 44ch;
  margin: 0 0 38px;
  color: var(--dl-muted);
  font-size: clamp(0.96rem, 1.2vw, 1.02rem);
  line-height: 2.05;
}
.dl-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 26px;
}
.dl-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 24px;
  background: var(--dl-ink);
  border: 1px solid var(--dl-ink);
  color: #fff;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease;
}
.dl-btn:hover {
  background: transparent;
  color: var(--dl-ink);
}
.dl-link {
  color: var(--dl-ink);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  border-bottom: 1px solid var(--dl-ink);
  padding-bottom: 3px;
  transition: opacity 0.25s ease;
}
.dl-link:hover { opacity: 0.5; }

/* ---------------- 区块标题 ---------------- */
.dl-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}
.dl-section-head h2 {
  margin: 0;
  font-size: clamp(1.5rem, 2.7vw, 2rem);
  line-height: 1.3;
  letter-spacing: -0.02em;
}
.dl-section-head span {
  color: var(--dl-muted);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* ---------------- 文章索引 ---------------- */
.dl-posts {
  padding: clamp(56px, 8vw, 88px) 0 clamp(52px, 7vw, 76px);
  border-bottom: 1px solid var(--dl-line);
}
.dl-posts .bh-list {
  border-top: 1px solid var(--dl-ink);
}
.dl-posts .bh-row {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) 28px;
  gap: 30px;
  align-items: start;
  padding: 27px 0;
  border-bottom: 1px solid var(--dl-line);
}
.dl-posts .bh-row-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  padding-top: 5px;
  color: var(--dl-muted);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
}
.dl-posts .bh-index {
  color: var(--dl-ink);
  font-family: var(--dl-serif);
  font-size: 0.92rem;
  letter-spacing: 0.04em;
}
.dl-posts .bh-cat { color: var(--dl-muted); }
.dl-posts .bh-date { white-space: nowrap; }
.dl-posts .bh-title {
  margin: 0 0 9px;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  line-height: 1.45;
  letter-spacing: -0.01em;
}
.dl-posts .bh-title a {
  color: var(--dl-ink);
  text-decoration: none;
  transition: opacity 0.25s ease;
}
.dl-posts .bh-title a:hover { opacity: 0.55; }
.dl-posts .bh-ex {
  max-width: 58ch;
  margin: 0 0 10px;
  color: var(--dl-muted);
  font-size: 0.9rem;
  line-height: 1.9;
}
.dl-posts .bh-meta {
  color: var(--dl-muted);
  font-size: 0.64rem;
  letter-spacing: 0.1em;
}
.dl-posts .bh-arrow {
  align-self: center;
  color: var(--dl-muted);
  font-size: 1rem;
  line-height: 1;
  text-decoration: none;
  transition: color 0.25s ease, transform 0.25s ease;
}
.dl-posts .bh-row:hover .bh-arrow {
  color: var(--dl-ink);
  transform: translateX(4px);
}
.dl-posts .bh-empty { color: var(--dl-muted); }

/* ---------------- 关于 ---------------- */
.dl-about {
  padding: clamp(56px, 8vw, 92px) 0 clamp(68px, 9vw, 108px);
}
.dl-about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(36px, 6vw, 76px);
  padding-top: 28px;
  border-top: 1px solid var(--dl-line);
}
.dl-about h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  line-height: 1.38;
  letter-spacing: -0.025em;
}
.dl-about p {
  max-width: 50ch;
  margin: 0 0 18px;
  color: var(--dl-muted);
  font-size: 0.94rem;
  line-height: 2;
}
.dl-about p:last-of-type { margin-bottom: 0; }
.dl-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-top: 28px;
}
.dl-tag {
  color: var(--dl-muted);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.dl-tag:hover {
  color: var(--dl-ink);
  border-color: var(--dl-ink);
}

/* ---------------- 页头 ---------------- */
.bh-site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding-top: 18px;
  padding-bottom: 18px;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--dl-line-soft);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.bh-site-header > .alignwide,
.bh-site-footer > .alignwide {
  max-width: 960px !important;
  padding-left: 28px;
  padding-right: 28px;
  box-sizing: border-box;
}
.bh-brand {
  margin: 0;
  font-family: var(--dl-serif);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
}
.bh-brand a {
  color: var(--dl-ink);
  text-decoration: none;
}
.bh-tagline {
  margin: 5px 0 0;
  color: var(--dl-muted);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.bh-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.bh-nav a {
  position: relative;
  padding-bottom: 4px;
  color: var(--dl-ink);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
}
.bh-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--dl-ink);
  transition: width 0.28s ease;
}
.bh-nav a:hover::after { width: 100%; }

/* ---------------- 页脚 ---------------- */
.bh-site-footer {
  padding: 26px 0 34px;
  background: var(--dl-paper);
  color: var(--dl-muted);
  border: 0;
  border-top: 1px solid var(--dl-line);
}
.bh-foot-inner {
  display: flex !important;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.bh-foot-brand {
  margin: 0;
  font-family: var(--dl-serif);
  font-size: 0.94rem;
  font-weight: 600;
}
.bh-foot-brand a {
  color: var(--dl-ink);
  text-decoration: none;
}
.bh-foot-note {
  margin: 6px 0 0;
  color: var(--dl-muted);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  line-height: 1.8;
}
.bh-foot-right { text-align: right; }

/* ---------------- 文章正文：楷体 ---------------- */
body.single .entry-content,
body.single .wp-block-post-content,
body.single .entry-content :is(p, li, blockquote, dd, dt, figcaption, td, th) {
  font-family: var(--dl-kai);
}
body.single .entry-content :is(pre, code, kbd, samp) {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

/* ---------------- 响应式 ---------------- */
@media (max-width: 820px) {
  .dl-about-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .dl-posts .bh-row {
    grid-template-columns: minmax(0, 1fr) 24px;
    gap: 8px 16px;
    padding: 24px 0;
  }
  .dl-posts .bh-row-meta {
    grid-column: 1 / -1;
    padding-top: 0;
  }
  .dl-posts .bh-arrow {
    grid-column: 2;
    grid-row: 2;
    align-self: end;
  }
}
@media (max-width: 600px) {
  .dl-wrap { padding: 0 20px; }
  .bh-site-header > .alignwide,
  .bh-site-footer > .alignwide {
    padding-left: 20px;
    padding-right: 20px;
  }
  .dl-hero h1 { letter-spacing: -0.03em; }
  .dl-actions { gap: 18px; }
  .dl-btn { padding: 12px 20px; }
  .dl-section-head { margin-bottom: 24px; }
  .dl-section-head span { font-size: 0.58rem; }
  .bh-nav { gap: 18px; }
  .bh-site-header { padding-top: 15px; padding-bottom: 15px; }
  .bh-foot-right { text-align: left; }
}

/* ============================================================
   模块化首页（区块版）
   每个 .bh-module 就是一张「PPT 页面」，可在编辑器里随意增删排序
   ============================================================ */
.bh-home { background: var(--dl-paper); }

.bh-module {
  position: relative;
  padding: clamp(56px, 8vw, 92px) 0;
  border-bottom: 1px solid var(--dl-line);
  box-sizing: border-box;
}
.bh-module:first-child { padding-top: clamp(64px, 9vw, 112px); }
body.home .bh-site-footer { border-top: 0; }

.bh-wrap {
  width: 100%;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 28px;
  padding-right: 28px;
  box-sizing: border-box;
}

/* 小标签 */
.bh-eyebrow {
  margin: 0 0 20px !important;
  color: var(--dl-muted);
  font-family: var(--dl-sans);
  font-size: 0.64rem;
  line-height: 1.6;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

/* ---------------- 01 封面 ---------------- */
.bh-hero {
  padding-top: clamp(72px, 10vw, 120px);
  padding-bottom: clamp(60px, 8vw, 90px);
}
.bh-hero-title {
  margin: 0 0 26px !important;
  font-size: clamp(2.5rem, 5.8vw, 4.2rem);
  line-height: 1.15;
  letter-spacing: -0.035em;
}
.bh-lead {
  max-width: 44ch;
  margin: 0 0 38px !important;
  color: var(--dl-muted);
  font-size: clamp(0.96rem, 1.2vw, 1.02rem);
  line-height: 2.05;
}
.bh-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 26px;
}
.bh-hero-actions .wp-block-button { margin: 0; }

/* 按钮：一套「主按钮 + 文字链接」的固定样式 */
.bh-btn .wp-block-button__link,
.bh-cta-actions .bh-btn .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 24px;
  background: var(--dl-ink);
  border: 1px solid var(--dl-ink);
  border-radius: 0;
  color: var(--dl-paper);
  font-family: var(--dl-sans);
  font-size: 0.82rem;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease;
}
.bh-btn .wp-block-button__link:hover,
.bh-cta-actions .bh-btn .wp-block-button__link:hover {
  background: transparent;
  color: var(--dl-ink);
}
.bh-text-link .wp-block-button__link {
  padding: 0 0 3px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid currentColor;
  border-radius: 0;
  color: var(--dl-ink);
  font-family: var(--dl-sans);
  font-size: 0.82rem;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: opacity 0.25s ease;
}
.bh-text-link .wp-block-button__link:hover {
  background: transparent;
  color: var(--dl-ink);
  opacity: 0.5;
}

/* ---------------- 区块标题 ---------------- */
.bh-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}
.bh-section-head h2 {
  margin: 0 !important;
  font-size: clamp(1.5rem, 2.7vw, 2rem);
  line-height: 1.3;
  letter-spacing: -0.02em;
}
.bh-section-kicker {
  margin: 0 !important;
  color: var(--dl-muted);
  font-family: var(--dl-sans);
  font-size: 0.62rem;
  line-height: 1.6;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ---------------- 02 最新文章 ---------------- */
.bh-latest { padding-top: clamp(56px, 8vw, 88px); padding-bottom: clamp(52px, 7vw, 76px); }
.bh-query { margin: 0; }

.bh-latest .wp-block-post-template.bh-post-list {
  counter-reset: bh-post;
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--dl-ink);
}
.bh-latest .bh-post-list > li {
  counter-increment: bh-post;
  position: relative;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) 28px;
  gap: 30px;
  align-items: start;
  margin: 0;
  padding: 27px 0;
  border-bottom: 1px solid var(--dl-line);
}
.bh-latest .bh-post-list > li::after {
  content: "→";
  grid-column: 3;
  align-self: center;
  color: var(--dl-muted);
  font-size: 1rem;
  line-height: 1;
  transition: color 0.25s ease, transform 0.25s ease;
}
.bh-latest .bh-post-list > li:hover::after {
  color: var(--dl-ink);
  transform: translateX(4px);
}
.bh-post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  padding-top: 5px;
  color: var(--dl-muted);
  font-family: var(--dl-sans);
  font-size: 0.66rem;
  line-height: 1.6;
  letter-spacing: 0.1em;
}
.bh-post-meta::before {
  content: counter(bh-post, decimal-leading-zero);
  color: var(--dl-ink);
  font-family: var(--dl-serif);
  font-size: 0.92rem;
  letter-spacing: 0.04em;
}
.bh-post-meta .wp-block-post-terms { margin: 0; }
.bh-post-meta .wp-block-post-date { margin: 0; white-space: nowrap; }
.bh-post-meta a {
  color: var(--dl-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}
.bh-post-meta a:hover { color: var(--dl-ink); }
.bh-post-main { min-width: 0; }
.bh-post-title {
  margin: 0 0 9px !important;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  line-height: 1.45;
  letter-spacing: -0.01em;
}
.bh-post-title a {
  color: var(--dl-ink);
  text-decoration: none;
  transition: opacity 0.25s ease;
}
.bh-post-title a:hover { opacity: 0.55; }
.bh-post-ex {
  max-width: 58ch;
  margin: 0;
  color: var(--dl-muted);
  font-family: var(--dl-sans);
  font-size: 0.9rem;
  line-height: 1.9;
}
.bh-post-ex .wp-block-post-excerpt__excerpt { margin: 0; }
.bh-post-reading {
  margin: 10px 0 0;
  color: var(--dl-muted);
  font-size: 0.64rem;
  letter-spacing: 0.1em;
}
.bh-empty { color: var(--dl-muted); }

/* ---------------- 03 关于 ---------------- */
.bh-about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(36px, 6vw, 76px);
  padding-top: 28px;
  border-top: 1px solid var(--dl-line);
}
.bh-about-title h2 {
  margin: 0 !important;
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  line-height: 1.38;
  letter-spacing: -0.025em;
}
.bh-about-body p {
  max-width: 50ch;
  margin: 0 0 18px !important;
  color: var(--dl-muted);
  font-size: 0.94rem;
  line-height: 2;
}
.bh-about-body p:last-child { margin-bottom: 0 !important; }
.bh-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-top: 28px !important;
}
.bh-tags a {
  color: var(--dl-muted);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.bh-tags a:hover {
  color: var(--dl-ink);
  border-color: var(--dl-ink);
}

/* ---------------- 04 图文 ---------------- */
.bh-media-grid { gap: clamp(28px, 5vw, 64px); }
.bh-media-grid .wp-block-column { margin: 0; }
.bh-figure { margin: 0 !important; }
.bh-figure img {
  display: block;
  width: 100%;
  height: auto;
  filter: grayscale(100%);
  transition: filter 0.4s ease;
}
.bh-figure:hover img { filter: grayscale(0%); }
.bh-image-text h2 {
  margin: 0 0 18px !important;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.4;
  letter-spacing: -0.02em;
}
.bh-image-text p { color: var(--dl-muted); line-height: 2; }
.bh-image-text .wp-block-buttons { margin-top: 26px; }

/* ---------------- 05 引言 ---------------- */
.bh-quote-module { text-align: center; }
.bh-quote {
  margin: 0 auto !important;
  padding: 0 !important;
  border: 0 !important;
  max-width: 780px;
}
.bh-quote p {
  margin: 0 !important;
  font-family: var(--dl-serif);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.75;
  letter-spacing: -0.01em;
}
.bh-quote cite {
  display: block;
  margin-top: 24px;
  color: var(--dl-muted);
  font-family: var(--dl-sans);
  font-size: 0.68rem;
  font-style: normal;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ---------------- 06 分类目录 ---------------- */
.bh-cats-module .wp-block-categories-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 40px;
  border-top: 1px solid var(--dl-ink);
}
.bh-cats-module .wp-block-categories-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding: 15px 0;
  border-bottom: 1px solid var(--dl-line);
  color: var(--dl-muted);
  font-size: 0.72rem;
}
.bh-cats-module .wp-block-categories-list li a {
  color: var(--dl-ink);
  font-family: var(--dl-serif);
  font-size: 1.02rem;
  text-decoration: none;
  transition: opacity 0.2s ease;
}
.bh-cats-module .wp-block-categories-list li a:hover { opacity: 0.5; }

/* ---------------- 07 关注 ---------------- */
.bh-cta-module { text-align: center; }
.bh-cta-module h2 {
  margin: 0 0 20px !important;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  line-height: 1.35;
  letter-spacing: -0.025em;
}
.bh-cta-lead {
  max-width: 46ch;
  margin: 0 auto 32px !important;
  color: var(--dl-muted);
  line-height: 2;
}
.bh-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
}
.bh-cta-actions .wp-block-button { margin: 0; }

/* ---------------- 08 空白模块 ---------------- */
.bh-blank h2 {
  margin: 0 0 16px !important;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.4;
}
.bh-blank p { max-width: 62ch; color: var(--dl-muted); line-height: 2; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 820px) {
  .bh-about-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .bh-latest .bh-post-list > li {
    grid-template-columns: minmax(0, 1fr) 24px;
    gap: 8px 16px;
    padding: 24px 0;
  }
  .bh-latest .bh-post-meta { grid-column: 1 / -1; padding-top: 0; }
  .bh-latest .bh-post-list > li::after { grid-column: 2; grid-row: 2; align-self: end; }
  .bh-cats-module .wp-block-categories-list { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .bh-wrap { padding-left: 20px; padding-right: 20px; }
  .bh-hero-title { letter-spacing: -0.03em; }
  .bh-hero-actions, .bh-cta-actions { gap: 18px; }
  .bh-btn .wp-block-button__link, .bh-cta-actions .bh-btn .wp-block-button__link { padding: 12px 20px; }
  .bh-section-head { margin-bottom: 24px; }
  .bh-section-kicker { font-size: 0.58rem; white-space: normal; }
  .bh-about-body p, .bh-post-ex { font-size: 0.9rem; }
}

/* 让模块与页头/页脚统一到 960px / 28px 的版心，并去掉模块之间多余的间隙 */
.bh-wrap.has-global-padding {
  padding-left: 28px !important;
  padding-right: 28px !important;
}
.bh-module { margin-top: 0 !important; margin-bottom: 0 !important; }
body.home .bh-site-footer { margin-top: 0 !important; }
.bh-site-header.has-global-padding,
.bh-site-footer.has-global-padding {
  padding-left: 0 !important;
  padding-right: 0 !important;
}
@media (max-width: 600px) {
  .bh-wrap.has-global-padding { padding-left: 20px !important; padding-right: 20px !important; }
}
body.home footer.wp-block-template-part { margin-block-start: 0 !important; }

/* 编辑器里不显示「暂无文章」占位，避免误以为首页没内容 */
.editor-styles-wrapper .wp-block-query-no-results { display: none; }

/* 页头/页脚站名固定为宋体，不受全局正文样式覆盖 */
body .bh-brand,
body .bh-foot-brand {
  font-family: var(--dl-serif) !important;
  font-size: 1.1rem !important;
  font-weight: 600 !important;
}
body .bh-foot-brand { font-size: 0.94rem !important; }
body .bh-tagline {
  font-family: var(--dl-sans) !important;
  font-size: 0.62rem !important;
  color: var(--dl-muted) !important;
  letter-spacing: 0.18em !important;
}

/* 编辑器画布里让首页模块保持与前台一致的满宽 */
.editor-styles-wrapper .bh-module {
  max-width: none !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* 精确修正模块内部间距（抵消区块默认 gap） */
.bh-hero-actions { gap: 26px !important; margin-top: 0 !important; }
.bh-section-head { gap: 20px !important; margin-bottom: 30px !important; }
.bh-query { margin-top: 0 !important; }
.bh-post-ex { margin-top: 0 !important; }
.bh-post-meta { gap: 10px !important; }
.bh-post-meta .wp-block-post-terms,
.bh-post-meta .wp-block-post-date {
  font-family: var(--dl-sans);
  font-size: inherit;
  line-height: inherit;
  letter-spacing: inherit;
}
.bh-about-body p.bh-tags { margin-top: 28px !important; margin-bottom: 0 !important; }
body .bh-nav a { font-weight: 400 !important; }
