:root {
  --ink: #173026;
  --muted: #5d7268;
  --line: #e3ece7;
  --paper: #f7f7f6;
  --green: #1a8f45;
  --green-d: #146b34;
  --green-s: #eef6f1;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 68px;
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid rgba(23, 48, 38, .06);
  backdrop-filter: blur(14px);
}
.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand img { width: 38px; height: 38px; border-radius: 10px; object-fit: cover; }
.brand strong { display: block; font-size: 15px; line-height: 1.2; }
.brand small { display: block; color: var(--muted); font-size: 12px; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { color: var(--muted); font-size: 14px; font-weight: 700; }
.nav-links a:hover, .nav-links a.is-on { color: var(--green-d); }
.nav-btn {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
  white-space: nowrap;
}
.nav-btn:hover { background: var(--green-d); }
.page { padding: 36px 0 72px; background: var(--paper); }
.crumbs { color: var(--muted); font-size: 13px; margin-bottom: 18px; }
.crumbs a:hover { color: var(--green-d); }
.page-head { margin-bottom: 28px; max-width: 720px; }
.page-head h1 { font-size: 34px; line-height: 1.3; margin-bottom: 8px; }
.page-head p { color: var(--muted); }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 28px; align-items: start; }
.post-list { display: grid; gap: 12px; }
.post-row {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
}
.post-row:hover { border-color: #b7d7c4; box-shadow: 0 10px 24px rgba(23, 48, 38, .06); }
.post-row time {
  width: 74px;
  height: 74px;
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  background: var(--green-s);
  border-radius: 14px;
  line-height: 1.15;
}
.post-row time b { font-size: 16px; color: var(--green-d); }
.post-row time span { font-size: 12px; color: var(--muted); font-weight: 600; }
.post-main { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.post-row h2 { font-size: 17px; line-height: 1.4; }
.post-row h2 a:hover { color: var(--green-d); }
.post-row p {
  color: var(--muted);
  font-size: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.post-tags a {
  font-size: 12px;
  font-weight: 700;
  color: var(--green-d);
  background: var(--green-s);
  border-radius: 999px;
  padding: 3px 8px;
}
.post-tags a.tag-pin { background: var(--ink); color: #fff; }
.post-tags span {
  font-size: 12px;
  font-weight: 700;
  color: var(--green-d);
  background: var(--green-s);
  border-radius: 999px;
  padding: 3px 8px;
}
.pager { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.pager a, .pager span {
  min-height: 36px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 14px;
}
.pager a:hover { border-color: var(--green); color: var(--green-d); }
.side { position: sticky; top: 88px; display: grid; gap: 14px; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px; }
.side-card h2 { font-size: 13px; color: var(--muted); font-weight: 700; margin-bottom: 10px; }
.side-card p { color: var(--muted); font-size: 13px; margin-bottom: 12px; }
.side-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 14px;
  background: var(--paper);
  margin-bottom: 8px;
}
.side-row:last-child { margin-bottom: 0; }
.side-row:hover, .side-row.is-on { background: var(--green-s); color: var(--green-d); }
.side-row b {
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 12px;
  display: grid;
  place-items: center;
}
.side-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
}
.side-btn:hover { background: var(--green-d); }
.side-btn.line { margin-top: 8px; background: #fff; color: var(--ink); border: 1px solid var(--line); }
.side-btn.line:hover { background: var(--paper); }
.article-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px 32px 36px; }
.article h1 { font-size: 32px; line-height: 1.35; margin: 8px 0 12px; }
.meta { display: flex; flex-wrap: wrap; gap: 8px 14px; color: var(--muted); font-size: 13px; margin-bottom: 16px; }
.meta a:hover { color: var(--green-d); }
.article .post-tags { margin-bottom: 28px; }
.prose h2 { font-size: 22px; margin: 28px 0 10px; }
.prose p { margin-bottom: 14px; }
.prose ul { margin: 0 0 14px 1.2em; }
.prose li { margin: 4px 0; }
.article-nav { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 28px; color: var(--muted); font-size: 14px; }
.article-nav a { color: var(--green-d); font-weight: 700; }
.related { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.related h2 { font-size: 20px; margin-bottom: 12px; }
.related ul { list-style: none; display: grid; gap: 8px; }
.related a:hover { color: var(--green-d); }
.site-foot { background: #fff; border-top: 1px solid var(--line); padding: 28px 0 32px; }
.product-recommend {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 14px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}
.product-recommend span { font-weight: 700; }
.foot-copy {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}
.foot-copy a:hover, .product-recommend a:hover { color: var(--green-d); }
@media (max-width: 980px) {
  .nav-links { display: none; }
  .layout { grid-template-columns: 1fr; }
  .side { position: static; }
}
@media (max-width: 680px) {
  .wrap { width: min(1120px, calc(100% - 28px)); }
  .page-head h1, .article h1 { font-size: 26px; }
  .article-card { padding: 20px 16px 28px; }
  .post-row { align-items: flex-start; }
  .brand small { display: none; }
}
