/*
Theme Name: Baozhu Wuyidao
Theme URI: https://example.com/baozhu-wuyidao
Author: Baozhu Wuyidao
Author URI: https://example.com
Description: 宝珠武医道 WordPress 主题 — 承葛仙翁之法脉，融武学、医术、道法于一炉。以清补调养为纲，以站桩内功为基，导引气血，通达天地，回归生命本源。传统中式美学设计，深色背景配金墨配色，适配武医道文化传承网站。
Version: 1.0.0
Requires at least: 5.0
Tested up to: 6.5
Requires PHP: 7.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: baozhu-wuyidao
Tags: dark, traditional, chinese, wellness, one-column, custom-menu, featured-images, translation-ready
*/

:root {
  --bg: #0E1A18;
  --bg2: #162724;
  --bg3: #1D3330;
  --ink: #E8DFD0;
  --muted: #9CAFAC;
  --muted-lt: #C5D5D2;
  --rule: #2A423E;
  --accent: #C9A961;
  --accent2: #6B9B7E;
  --accent-dim: #8A7440;
  --jade: #4A8B6F;
  --crimson: #9B4A3A;
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: "Noto Sans CJK SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.8;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .serif {
  font-family: "Noto Serif CJK SC", "Songti SC", "STSong", serif;
  font-weight: 700;
}

a { color: var(--accent); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--ink); }

img { max-width: 100%; height: auto; }

/* === Nav === */
.bz-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(14, 26, 24, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
  transition: padding 0.3s;
}
.bz-nav .nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 2rem;
}
.bz-nav .logo {
  font-family: "Noto Serif CJK SC", serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.1em;
}
.bz-nav .logo span { color: var(--ink); font-weight: 400; font-size: 0.85rem; margin-left: 0.5rem; }
.bz-nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.bz-nav ul a {
  color: var(--muted);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  transition: color 0.3s;
}
.bz-nav ul a:hover,
.bz-nav ul .current-menu-item > a,
.bz-nav ul .current_page_item > a { color: var(--accent); }
.nav-toggle { display: none; }

@media (max-width: 768px) {
  .bz-nav ul { display: none; }
  .nav-toggle {
    display: block;
    background: none; border: none;
    color: var(--accent); font-size: 1.5rem; cursor: pointer;
  }
  .bz-nav ul.open {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg2); padding: 1rem 2rem; gap: 1rem;
    border-bottom: 1px solid var(--rule);
  }
}

/* === Hero === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: top;
  filter: brightness(0.45) contrast(1.1);
  z-index: 0;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, transparent 0%, rgba(14,26,24,0.7) 70%, var(--bg) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 2rem;
  animation: heroFade 2s ease-out;
}
@keyframes heroFade {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-content .title-en {
  font-size: 0.85rem;
  letter-spacing: 0.4em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  opacity: 0.8;
}
.hero-content h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  letter-spacing: 0.3em;
  color: var(--ink);
  text-shadow: 0 0 40px rgba(201, 169, 97, 0.3);
  margin-bottom: 1rem;
  padding-left: 0.3em;
}
.hero-content .subtitle {
  font-family: "Noto Serif CJK SC", serif;
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  color: var(--accent);
  letter-spacing: 0.15em;
  margin-bottom: 2rem;
}
.hero-content .tagline {
  max-width: 600px;
  margin: 0 auto 2.5rem;
  font-size: 1.05rem;
  color: var(--muted-lt);
  line-height: 2;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.5rem;
  border: 1px solid var(--accent-dim);
  border-radius: 50px;
  color: var(--accent);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  transition: all 0.3s;
}
.hero-badge:hover {
  background: rgba(201, 169, 97, 0.1);
  border-color: var(--accent);
}
.scroll-hint {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* === Section base === */
.bz-section {
  padding: 6rem 2rem;
  position: relative;
}
.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}
.section-label {
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.section-label::before {
  content: '';
  width: 30px; height: 1px;
  background: var(--accent);
}
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--ink);
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}
.section-desc {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 700px;
  line-height: 2;
  margin-bottom: 3rem;
}

/* === Lineage section === */
.lineage-section {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg2) 100%);
}
.lineage-tree {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}
.lineage-node {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.2rem 1.5rem;
  background: var(--bg3);
  border: 1px solid var(--rule);
  border-radius: 8px;
  transition: all 0.3s;
}
.lineage-node:hover {
  border-color: var(--accent-dim);
  transform: translateX(8px);
}
.lineage-node .node-num {
  flex-shrink: 0;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-family: "Noto Serif CJK SC", serif;
  color: var(--accent);
  font-size: 1rem;
  font-weight: 700;
}
.lineage-node .node-content h4 {
  font-size: 1.1rem;
  color: var(--ink);
  margin-bottom: 0.3rem;
}
.lineage-node .node-content p {
  font-size: 0.9rem;
  color: var(--muted);
}
.lineage-arrow {
  text-align: center;
  color: var(--accent-dim);
  font-size: 1.2rem;
  margin: -0.5rem 0;
}

/* === Philosophy: 清补调养 === */
.philosophy-section {
  background: var(--bg);
}
.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
@media (max-width: 768px) {
  .philosophy-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .philosophy-grid { grid-template-columns: 1fr; }
}
.philo-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: var(--bg2);
  border: 1px solid var(--rule);
  border-radius: 12px;
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
}
.philo-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.4s;
}
.philo-card:hover {
  border-color: var(--accent-dim);
  transform: translateY(-6px);
}
.philo-card:hover::before { transform: scaleX(1); }
.philo-card .char {
  font-family: "Noto Serif CJK SC", serif;
  font-size: 3.5rem;
  color: var(--accent);
  margin-bottom: 0.8rem;
  display: block;
  line-height: 1;
}
.philo-card .philo-name {
  font-size: 1.2rem;
  color: var(--ink);
  margin-bottom: 0.5rem;
}
.philo-card .philo-desc {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.7;
}

.principle-box {
  margin-top: 3rem;
  padding: 2.5rem;
  background: linear-gradient(135deg, var(--bg2), var(--bg3));
  border-radius: 12px;
  border: 1px solid var(--rule);
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.principle-box .principle-item {
  flex: 1;
  min-width: 200px;
}
.principle-box .principle-item h4 {
  font-size: 1.1rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.principle-box .principle-item p {
  font-size: 0.9rem;
  color: var(--muted);
}

/* === Bigu section === */
.bigu-section {
  background: linear-gradient(180deg, var(--bg2) 0%, var(--bg) 100%);
}
.bigu-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 768px) {
  .bigu-layout { grid-template-columns: 1fr; }
}
.bigu-text h3 {
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 1rem;
  margin-top: 2rem;
}
.bigu-text h3:first-child { margin-top: 0; }
.bigu-text p {
  color: var(--muted);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}
.bigu-text .highlight {
  color: var(--ink);
  font-weight: 500;
}
.bigu-soup {
  background: var(--bg3);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 2rem;
}
.bigu-soup h4 {
  font-size: 1.3rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
  text-align: center;
}
.soup-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--rule);
}
.soup-item:last-child { border-bottom: none; }
.soup-item .soup-icon {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(201, 169, 97, 0.1);
  border: 1px solid var(--accent-dim);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  font-family: "Noto Serif CJK SC", serif;
  font-size: 0.85rem;
  font-weight: 700;
}
.soup-item .soup-info h5 {
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: 0.2rem;
}
.soup-item .soup-info p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
}

/* === Therapy section === */
.therapy-section {
  background: var(--bg);
}
.therapy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
@media (max-width: 900px) {
  .therapy-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .therapy-grid { grid-template-columns: 1fr; }
}
.therapy-card {
  padding: 2rem;
  background: var(--bg2);
  border: 1px solid var(--rule);
  border-radius: 12px;
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
}
.therapy-card:hover {
  border-color: var(--jade);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}
.therapy-card .therapy-icon {
  width: 50px; height: 50px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(107,155,126,0.15), rgba(201,169,97,0.1));
  border: 1px solid var(--rule);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.2rem;
}
.therapy-card .therapy-icon svg {
  width: 26px; height: 26px;
  stroke: var(--accent2);
  fill: none;
  stroke-width: 1.5;
}
.therapy-card h4 {
  font-size: 1.2rem;
  color: var(--ink);
  margin-bottom: 0.8rem;
}
.therapy-card .therapy-sub {
  font-size: 0.8rem;
  color: var(--accent);
  letter-spacing: 0.05em;
  margin-bottom: 0.8rem;
}
.therapy-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
}

/* === Cultivation section === */
.cultivation-section {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg2) 100%);
  overflow: hidden;
}
.cultivation-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 768px) {
  .cultivation-layout { grid-template-columns: 1fr; gap: 2rem; }
}
.cultivation-visual {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}
.cultivation-visual img {
  width: 100%;
  display: block;
  border-radius: 16px;
  border: 1px solid var(--rule);
}
.cultivation-visual::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(14,26,24,0.5));
  border-radius: 16px;
}
.cultivation-content h3 {
  font-size: 1.6rem;
  color: var(--accent);
  margin-bottom: 1rem;
}
.cultivation-content > p {
  color: var(--muted);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}
.cult-feature {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1.2rem;
  background: var(--bg3);
  border-radius: 10px;
  border: 1px solid var(--rule);
  transition: border-color 0.3s;
}
.cult-feature:hover { border-color: var(--accent-dim); }
.cult-feature .feat-num {
  flex-shrink: 0;
  font-family: "Noto Serif CJK SC", serif;
  font-size: 1.8rem;
  color: var(--accent);
  opacity: 0.5;
  line-height: 1;
}
.cult-feature .feat-info h5 {
  font-size: 1.05rem;
  color: var(--ink);
  margin-bottom: 0.3rem;
}
.cult-feature .feat-info p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
}

/* === Course section === */
.course-section {
  background: var(--bg);
}
.course-tiers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-top: 2rem;
}
@media (max-width: 1000px) {
  .course-tiers { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .course-tiers { grid-template-columns: 1fr; }
}
.tier-card {
  padding: 2rem 1.5rem;
  background: var(--bg2);
  border: 1px solid var(--rule);
  border-radius: 14px;
  transition: all 0.4s;
  position: relative;
  display: flex;
  flex-direction: column;
}
.tier-card:hover {
  border-color: var(--accent-dim);
  transform: translateY(-6px);
}
.tier-card.featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, var(--bg3), var(--bg2));
}
.tier-card .tier-badge {
  position: absolute;
  top: -0.6rem; left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--bg);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.25rem 1rem;
  border-radius: 50px;
  white-space: nowrap;
}
.tier-card .tier-stage {
  font-size: 0.75rem;
  color: var(--accent);
  letter-spacing: 0.2em;
  margin-bottom: 0.5rem;
  margin-top: 0.5rem;
}
.tier-card h4 {
  font-size: 1.3rem;
  color: var(--ink);
  margin-bottom: 0.5rem;
}
.tier-card .tier-price {
  font-family: "Noto Serif CJK SC", serif;
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 0.3rem;
}
.tier-card .tier-price span {
  font-size: 0.85rem;
  color: var(--muted);
  font-family: "Noto Sans CJK SC", sans-serif;
}
.tier-card .tier-duration {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 1.2rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--rule);
}
.tier-card ul {
  list-style: none;
  flex: 1;
}
.tier-card ul li {
  font-size: 0.85rem;
  color: var(--muted);
  padding: 0.4rem 0;
  padding-left: 1.2rem;
  position: relative;
  line-height: 1.5;
}
.tier-card ul li::before {
  content: '\25C6';
  position: absolute;
  left: 0;
  color: var(--accent-dim);
  font-size: 0.6rem;
  top: 0.55rem;
}

/* === Quote section === */
.quote-section {
  background: var(--bg2);
  padding: 5rem 2rem;
  text-align: center;
}
.quote-section blockquote {
  max-width: 800px;
  margin: 0 auto;
}
.quote-section .quote-mark {
  font-family: "Noto Serif CJK SC", serif;
  font-size: 4rem;
  color: var(--accent);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 1rem;
}
.quote-section blockquote p {
  font-family: "Noto Serif CJK SC", serif;
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  color: var(--ink);
  line-height: 2;
  letter-spacing: 0.05em;
}
.quote-section .quote-author {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--accent);
  letter-spacing: 0.1em;
}

/* === Footer === */
.bz-footer {
  background: var(--bg);
  padding: 4rem 2rem 2rem;
  border-top: 1px solid var(--rule);
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
@media (max-width: 700px) {
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
}
.footer-brand h3 {
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 0.8rem;
  letter-spacing: 0.1em;
}
.footer-brand p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.8;
  max-width: 400px;
}
.footer-col h5 {
  font-size: 0.85rem;
  color: var(--ink);
  margin-bottom: 1rem;
  letter-spacing: 0.1em;
}
.footer-col p, .footer-col a {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.6rem;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--rule);
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
}

/* === Scroll animations === */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === Decorative elements === */
.divider-ornament {
  text-align: center;
  margin: 3rem 0;
  color: var(--accent-dim);
  font-size: 1rem;
  letter-spacing: 1rem;
}

/* === Blog / Post listing === */
.bz-content-area {
  max-width: var(--max);
  margin: 0 auto;
  padding: 8rem 2rem 4rem;
}
.bz-post-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}
.bz-post-card {
  background: var(--bg2);
  border: 1px solid var(--rule);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.4s;
}
.bz-post-card:hover {
  border-color: var(--accent-dim);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}
.bz-post-card .post-thumb img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.bz-post-card .post-body {
  padding: 1.5rem;
}
.bz-post-card .post-meta {
  font-size: 0.8rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}
.bz-post-card h2 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
}
.bz-post-card h2 a {
  color: var(--ink);
}
.bz-post-card h2 a:hover {
  color: var(--accent);
}
.bz-post-card .post-excerpt {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
}
.bz-post-card .read-more {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--accent);
  letter-spacing: 0.05em;
}

/* === Single post === */
.bz-single-post {
  max-width: 800px;
  margin: 0 auto;
  padding: 8rem 2rem 4rem;
}
.bz-single-post .post-header {
  text-align: center;
  margin-bottom: 3rem;
}
.bz-single-post .post-header .post-meta {
  font-size: 0.85rem;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.bz-single-post .post-header h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--ink);
  margin-bottom: 1rem;
}
.bz-single-post .post-featured-img {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 3rem;
  border: 1px solid var(--rule);
}
.bz-single-post .post-featured-img img {
  width: 100%;
  display: block;
}
.bz-single-post .post-content {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--ink);
}
.bz-single-post .post-content h2,
.bz-single-post .post-content h3,
.bz-single-post .post-content h4 {
  color: var(--accent);
  margin-top: 2rem;
  margin-bottom: 1rem;
}
.bz-single-post .post-content p {
  margin-bottom: 1.5rem;
  color: var(--muted-lt);
}
.bz-single-post .post-content blockquote {
  border-left: 3px solid var(--accent);
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: var(--muted);
}
.bz-single-post .post-content a {
  color: var(--accent);
  border-bottom: 1px solid var(--accent-dim);
}
.bz-single-post .post-content img {
  border-radius: 8px;
  margin: 1.5rem 0;
}
.bz-single-post .post-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--rule);
}
.bz-single-post .post-nav a {
  font-size: 0.9rem;
  color: var(--muted);
}
.bz-single-post .post-nav a:hover {
  color: var(--accent);
}

/* === Page template === */
.bz-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 8rem 2rem 4rem;
}
.bz-page h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--ink);
  margin-bottom: 2rem;
}
.bz-page .page-content {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--muted-lt);
}
.bz-page .page-content h2,
.bz-page .page-content h3 {
  color: var(--accent);
  margin-top: 2rem;
  margin-bottom: 1rem;
}
.bz-page .page-content p {
  margin-bottom: 1.5rem;
}

/* === Pagination === */
.bz-pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 3rem;
}
.bz-pagination .page-numbers {
  padding: 0.5rem 1rem;
  background: var(--bg2);
  border: 1px solid var(--rule);
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.9rem;
  transition: all 0.3s;
}
.bz-pagination .page-numbers:hover,
.bz-pagination .page-numbers.current {
  background: var(--bg3);
  border-color: var(--accent-dim);
  color: var(--accent);
}

/* === 404 === */
.bz-404 {
  max-width: 600px;
  margin: 0 auto;
  padding: 10rem 2rem;
  text-align: center;
}
.bz-404 h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  color: var(--accent);
  margin-bottom: 1rem;
}
.bz-404 p {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 2rem;
}
