:root {
  --post-primary: #2d5016;
  --post-bg: #faf8f5;
  --post-card: #ffffff;
  --post-text: #2c2c2c;
  --post-muted: #777;
  --post-line: #e8e4de;
  --post-warm: #f4a72c;
  --post-danger: #c0392b;
  --post-radius: 16px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  background: var(--post-bg);
  color: var(--post-text);
  line-height: 1.85;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

.post-shell {
  display: grid;
  grid-template-columns: minmax(0, 720px) 280px;
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 24px 80px;
}

@media (max-width: 960px) {
  .post-shell {
    grid-template-columns: 1fr;
    padding: 16px;
  }
}

.post-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--post-line);
}

.post-nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.post-nav-logo {
  font-size: 20px;
  font-weight: 800;
  color: var(--post-primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
}

.post-nav-logo .logo-mark {
  font-size: 22px;
}

.post-nav-links {
  display: flex;
  gap: 16px;
  margin-left: 8px;
  flex: 1;
}

.post-nav-links a {
  color: #555;
  text-decoration: none;
  font-size: 14px;
}

.post-nav-links a:hover {
  color: var(--post-primary);
}

.post-nav-cta {
  background: var(--post-primary);
  color: #fff;
  padding: 8px 16px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
}

.post-nav-cta:hover {
  background: #1f3a0e;
}

article.post {
  background: var(--post-card);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.04);
  counter-reset: article-step;
}

@media (max-width: 600px) {
  article.post {
    padding: 24px 20px;
    border-radius: 16px;
  }
}

.post-breadcrumb {
  font-size: 13px;
  color: var(--post-muted);
  margin-bottom: 16px;
}

.post-breadcrumb a {
  color: var(--post-muted);
  text-decoration: none;
}

.post-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(240px, 0.75fr);
  gap: 22px;
  background: linear-gradient(135deg, var(--post-color, var(--post-primary)) 0%, #1f3a0e 100%);
  color: #fff;
  padding: 36px 32px;
  border-radius: 20px;
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
}

.post-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 90% 10%, rgba(255, 255, 255, 0.15) 0%, transparent 50%);
}

.post-hero-main,
.post-hero-panel {
  position: relative;
  z-index: 1;
}

.post-hero-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  color: #2d5016;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 14px;
}

.post-hero-emoji {
  font-size: 48px;
  margin-bottom: 12px;
}

.post-hero-title {
  font-family: 'Noto Serif SC', serif;
  font-size: 32px;
  font-weight: 800;
  margin: 0 0 8px;
  line-height: 1.3;
}

.post-hero-subtitle {
  font-size: 16px;
  opacity: 0.9;
  margin: 0;
}

.post-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.post-hero-actions button,
.post-hero-actions a {
  border: none;
  border-radius: 999px;
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.post-hero-actions button {
  background: var(--post-warm);
  color: #fff;
}

.post-hero-actions a {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.34);
}

.post-hero-panel {
  align-self: stretch;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 16px;
  padding: 18px;
  backdrop-filter: blur(10px);
}

.post-hero-panel span {
  display: block;
  color: #ffeac2;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 8px;
}

.post-hero-panel strong {
  display: block;
  font-size: 18px;
  line-height: 1.45;
}

.post-hero-panel ul {
  list-style: none;
  margin: 14px 0;
  padding: 0;
}

.post-hero-panel li {
  position: relative;
  padding-left: 18px;
  margin: 8px 0;
  font-size: 14px;
  opacity: 0.92;
}

.post-hero-panel li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.8em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--post-warm);
}

.post-hero-panel small {
  display: block;
  opacity: 0.75;
  font-size: 12px;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  font-size: 13px;
  color: var(--post-muted);
  margin: 16px 0 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--post-line);
}

.post-section {
  margin: 36px 0;
  counter-increment: article-step;
}

.post-section h2 {
  font-family: 'Noto Serif SC', serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--post-primary);
  margin: 0 0 16px;
  padding-left: 14px;
  border-left: 6px solid var(--post-warm);
  line-height: 1.5;
}

.post-section h2::before {
  content: 'STEP ' counter(article-step, decimal-leading-zero);
  display: block;
  width: fit-content;
  color: #9a5a00;
  background: #fff0d3;
  border-radius: 999px;
  padding: 3px 9px;
  font-family: 'Noto Sans SC', sans-serif;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0 0 8px;
}

.post-section p {
  margin: 0 0 14px;
}

.post-intro {
  font-size: 18px;
  line-height: 1.9;
  color: #333;
  background: linear-gradient(180deg, #f7f4ee 0%, transparent 100%);
  padding: 24px;
  border-radius: 14px;
  margin: 28px 0;
}

.decision-brief {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr 0.85fr;
  gap: 12px;
  margin: 24px 0 30px;
}

.brief-card {
  background: #fff;
  border: 1px solid var(--post-line);
  border-radius: 14px;
  padding: 18px;
}

.brief-primary {
  background: #f8fbf5;
  border-color: #dfe9d7;
}

.brief-card span {
  display: inline-flex;
  color: var(--post-primary);
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 8px;
}

.brief-card h2 {
  color: var(--post-primary);
  font-family: 'Noto Serif SC', serif;
  font-size: 20px;
  line-height: 1.45;
  margin: 0 0 8px;
}

.brief-card p,
.brief-card li {
  color: #5f5f5f;
  font-size: 14px;
  line-height: 1.75;
}

.brief-card p {
  margin: 0;
}

.brief-card ul {
  margin: 0;
  padding-left: 18px;
}

.brief-card.danger {
  background: #fff8f3;
  border-color: #f0d1bc;
}

.brief-card.danger span {
  color: #a84f18;
}

.agent-protocol,
.agent-path,
.action-plan,
.handoff-card {
  margin: 30px 0;
  border: 1px solid var(--post-line);
  border-radius: 18px;
  background: #fff;
}

.agent-protocol {
  padding: 26px;
  background: linear-gradient(180deg, #fffaf1 0%, #ffffff 74%);
}

.protocol-head .eyebrow,
.path-title span,
.action-plan-head span,
.handoff-card > div:first-child span {
  display: inline-flex;
  color: #9a5a00;
  background: #fff0d3;
  border: 1px solid #f4d28a;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
}

.protocol-head h2,
.path-title h2,
.action-plan-head h2,
.handoff-card h2 {
  font-family: 'Noto Serif SC', serif;
  color: var(--post-primary);
  font-size: 24px;
  line-height: 1.45;
  margin: 12px 0 8px;
}

.protocol-head p,
.action-plan-head p,
.handoff-card p {
  color: #555;
  font-size: 15px;
  margin: 0;
}

.protocol-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 20px;
}

.protocol-card,
.day-card {
  border: 1px solid var(--post-line);
  border-radius: 14px;
  padding: 16px;
  background: #fff;
}

.protocol-card span,
.day-card b {
  color: var(--post-warm);
  font-weight: 900;
  font-size: 13px;
}

.protocol-card h3,
.day-card h3 {
  color: var(--post-primary);
  font-size: 17px;
  margin: 8px 0 6px;
  line-height: 1.45;
}

.protocol-card p,
.day-card p {
  color: #666;
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}

.post-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.post-quick-actions button,
.post-quick-actions a {
  border: none;
  border-radius: 999px;
  padding: 11px 18px;
  background: var(--post-primary);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.post-quick-actions a,
.post-quick-actions button + button {
  background: #fff;
  color: var(--post-primary);
  border: 1px solid rgba(45, 80, 22, 0.28);
}

.agent-path {
  padding: 24px;
  background: #f8fbf5;
}

.path-steps {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.path-step {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  background: #fff;
  border: 1px solid #dfe9d7;
  border-radius: 12px;
  padding: 12px 14px;
}

.path-step strong {
  color: var(--post-primary);
  font-size: 15px;
}

.path-step small {
  color: #666;
  font-size: 13px;
  line-height: 1.6;
}

.action-plan {
  padding: 24px;
  background: linear-gradient(180deg, #f7f4ee 0%, #fff 100%);
}

.day-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.handoff-card {
  padding: 26px;
  background: linear-gradient(135deg, #17310e 0%, #2d5016 100%);
  color: #fff;
}

.handoff-card h2,
.handoff-card p {
  color: #fff;
}

.handoff-card p {
  opacity: 0.86;
}

.handoff-card .handoff-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 18px;
}

.handoff-grid div {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  padding: 12px;
  font-size: 14px;
}

.handoff-card .post-quick-actions button {
  background: var(--post-warm);
  color: #fff;
}

.handoff-card .post-quick-actions button + button {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.self-check {
  background: #f7f4ee;
  border-radius: 14px;
  padding: 24px;
}

.self-check h3 {
  margin: 0 0 16px;
  font-size: 18px;
  color: var(--post-primary);
}

.self-check h3::before {
  content: 'STEP ' counter(article-step, decimal-leading-zero);
  display: block;
  width: fit-content;
  color: #9a5a00;
  background: #fff0d3;
  border-radius: 999px;
  padding: 3px 9px;
  font-size: 11px;
  font-weight: 900;
  margin: 0 0 8px;
}

.self-check ul {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}

.self-check li {
  padding: 10px 16px;
  margin: 6px 0;
  background: #fff;
  border-radius: 10px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  transition: all 0.2s;
  border: 2px solid transparent;
}

.self-check li:hover {
  border-color: var(--post-warm);
}

.self-check li::before {
  content: '☐';
  font-size: 18px;
  color: var(--post-muted);
  line-height: 1.6;
}

.self-check li.checked {
  background: #fff7e6;
  border-color: var(--post-warm);
}

.self-check li.checked::before {
  content: '☑';
  color: var(--post-warm);
}

.self-check-tip {
  font-size: 14px;
  color: var(--post-warm);
  background: #fff7e6;
  padding: 12px 14px;
  border-radius: 10px;
  border-left: 4px solid var(--post-warm);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 600px) {
  .two-col {
    grid-template-columns: 1fr;
  }
}

.col-card {
  background: #f7f4ee;
  padding: 18px 20px;
  border-radius: 14px;
}

.col-card h4 {
  margin: 0 0 10px;
  font-size: 15px;
  color: var(--post-primary);
}

.list-clean {
  list-style: none;
  padding: 0;
  margin: 0;
}

.list-clean li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  font-size: 15px;
}

.list-clean li:last-child {
  border-bottom: none;
}

.recipe-card {
  background: #fff;
  border: 1px solid var(--post-line);
  border-radius: 14px;
  padding: 18px 20px;
  margin: 12px 0;
}

.recipe-card h4 {
  margin: 0 0 6px;
  color: var(--post-primary);
  font-size: 17px;
}

.recipe-card .recipe-line {
  font-size: 14px;
  color: var(--post-muted);
  margin: 4px 0;
}

.recipe-card .recipe-line strong {
  color: #333;
  font-weight: 600;
  margin-right: 4px;
}

.tea-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 600px) {
  .tea-grid {
    grid-template-columns: 1fr;
  }
}

.tea-card {
  background: linear-gradient(135deg, #fff7e6 0%, #ffeac2 100%);
  border-radius: 14px;
  padding: 20px;
  border: 1px solid #f4d28a;
}

.tea-card h4 {
  margin: 0 0 8px;
  color: #b45200;
  font-size: 17px;
}

.lifestyle-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
}

@media (max-width: 800px) {
  .lifestyle-grid {
    grid-template-columns: 1fr;
  }
}

.lifestyle-card {
  background: #f0f7ea;
  border-radius: 14px;
  padding: 18px;
}

.lifestyle-card h4 {
  margin: 0 0 8px;
  color: var(--post-primary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.seasonal-card {
  background: linear-gradient(135deg, #f0f7ea 0%, #d6ebc7 100%);
  border-radius: 14px;
  padding: 24px;
  border-left: 6px solid var(--post-primary);
}

.myths-list {
  display: grid;
  gap: 14px;
}

.myth-card {
  background: #fff;
  border: 1px solid var(--post-line);
  border-radius: 14px;
  padding: 18px;
}

.myth-card .myth-q {
  font-weight: 700;
  color: var(--post-danger);
  margin-bottom: 6px;
}

.myth-card .myth-q::before {
  content: '✗ ';
}

.myth-card .myth-a {
  color: #444;
}

.myth-card .myth-a::before {
  content: '✓ ';
  color: var(--post-primary);
  font-weight: 700;
}

.cta-banner {
  background: linear-gradient(135deg, #2d5016 0%, #4a7c2e 100%);
  color: #fff;
  padding: 36px 28px;
  border-radius: 20px;
  text-align: center;
  margin: 40px 0;
}

.cta-banner h3 {
  font-family: 'Noto Serif SC', serif;
  font-size: 24px;
  margin: 0 0 12px;
}

.cta-banner p {
  margin: 0 0 20px;
  opacity: 0.9;
  font-size: 15px;
}

.cta-btn {
  display: inline-block;
  background: var(--post-warm);
  color: #fff;
  padding: 14px 32px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 17px;
  transition: transform 0.15s;
}

.cta-btn:hover {
  transform: translateY(-2px);
}

.cta-btn-outline {
  display: inline-block;
  background: transparent;
  color: #fff;
  padding: 14px 28px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  margin-left: 12px;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.related-card {
  background: #fff;
  border: 1px solid var(--post-line);
  border-radius: 12px;
  padding: 14px;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s;
}

.related-card:hover {
  border-color: var(--post-primary);
  transform: translateY(-2px);
}

.related-card .icon {
  font-size: 24px;
}

.related-card .name {
  font-weight: 700;
  color: var(--post-primary);
  font-size: 15px;
  margin-top: 6px;
}

.related-card .tagline {
  font-size: 12px;
  color: var(--post-muted);
  margin-top: 4px;
}

aside.post-aside {
  position: sticky;
  top: 80px;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (max-width: 960px) {
  aside.post-aside {
    position: static;
  }
}

.aside-card {
  background: var(--post-card);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.aside-card h4 {
  margin: 0 0 12px;
  color: var(--post-primary);
  font-size: 15px;
}

.aside-test {
  background: linear-gradient(135deg, var(--post-primary) 0%, #4a7c2e 100%);
  color: #fff;
}

.aside-test h4 {
  color: #fff;
}

.aside-test p {
  font-size: 13px;
  opacity: 0.9;
  margin: 0 0 12px;
}

.aside-test .cta-btn {
  display: block;
  text-align: center;
  padding: 12px;
  margin-top: 8px;
}

.aside-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.aside-list li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.aside-list li:last-child {
  border-bottom: none;
}

.aside-list a {
  color: #444;
  text-decoration: none;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.aside-list a:hover {
  color: var(--post-primary);
}

.toc-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: toc;
}

.toc-list li {
  counter-increment: toc;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.toc-list li:last-child {
  border-bottom: none;
}

.toc-list a {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  color: #444;
  text-decoration: none;
  font-size: 13px;
  line-height: 1.55;
  padding: 8px 0;
}

.toc-list a::before {
  content: counter(toc, decimal-leading-zero);
  color: var(--post-warm);
  font-weight: 900;
  font-size: 11px;
  line-height: 1.9;
}

.toc-list a:hover {
  color: var(--post-primary);
}

.disclaimer {
  background: #fafafa;
  border: 1px solid var(--post-line);
  border-radius: 12px;
  padding: 16px;
  font-size: 13px;
  color: var(--post-muted);
  line-height: 1.7;
  margin-top: 28px;
}

.float-wechat {
  position: fixed;
  right: 20px;
  bottom: 30px;
  z-index: 100;
  background: var(--post-warm);
  color: #fff;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 11px;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(244, 167, 44, 0.5);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.float-wechat .icon {
  font-size: 22px;
  margin-bottom: 2px;
}

.posts-index .posts-hero {
  background: linear-gradient(135deg, #2d5016 0%, #4a7c2e 100%);
  color: #fff;
  padding: 60px 24px 40px;
  text-align: center;
}

.posts-index .posts-hero h1 {
  font-family: 'Noto Serif SC', serif;
  font-size: 36px;
  margin: 0 0 12px;
}

.posts-index .posts-hero p {
  margin: 0;
  opacity: 0.9;
}

.posts-index .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 24px;
}

.posts-index .post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.posts-index .post-grid-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  text-decoration: none;
  color: inherit;
  border: 2px solid transparent;
  transition: all 0.2s;
  display: block;
}

.posts-index .post-grid-card:hover {
  border-color: var(--post-primary);
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.posts-index .post-grid-card .icon {
  font-size: 36px;
  display: block;
}

.posts-index .post-grid-card .name {
  font-family: 'Noto Serif SC', serif;
  font-weight: 800;
  color: var(--post-primary);
  font-size: 22px;
  margin: 12px 0 4px;
}

.posts-index .post-grid-card .tagline {
  color: var(--post-muted);
  font-size: 14px;
  margin-bottom: 8px;
}

.posts-index .post-grid-card .read-more {
  font-size: 13px;
  color: var(--post-warm);
  font-weight: 700;
}

@media (max-width: 860px) {
  .post-hero,
  .decision-brief,
  .protocol-grid,
  .day-grid,
  .handoff-card .handoff-grid {
    grid-template-columns: 1fr;
  }

  .path-step {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

@media (max-width: 600px) {
  .post-hero {
    padding: 26px 20px;
  }

  .post-hero-title {
    font-size: 26px;
  }

  .post-hero-actions button,
  .post-hero-actions a {
    width: 100%;
    text-align: center;
  }

  .agent-protocol,
  .agent-path,
  .action-plan,
  .handoff-card {
    padding: 20px;
    border-radius: 14px;
  }

  .protocol-head h2,
  .path-title h2,
  .action-plan-head h2,
  .handoff-card h2 {
    font-size: 21px;
  }

  .post-quick-actions button,
  .post-quick-actions a {
    width: 100%;
    text-align: center;
  }
}
