:root {
  --bg: #f6f7f9;
  --card: #ffffff;
  --ink: #12141a;
  --muted: #5c6473;
  --line: #e6e8ee;
  --teal: #0f766e;
  --teal-soft: #e7f5f3;
  --navy: #0b1f2a;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: "PingFang SC", "Noto Sans SC", "WenQuanYi Micro Hei", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  height: 64px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; }
.logo {
  width: 32px; height: 32px; border-radius: 9px;
  background: linear-gradient(145deg, #14b8a6, #0f766e);
  color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 800;
}
.links { display: flex; gap: 26px; color: var(--muted); font-size: 14px; }
.links a.active, .links a:hover { color: var(--ink); font-weight: 700; }
.btn {
  height: 36px; padding: 0 16px; border-radius: 999px; border: 0;
  background: var(--teal); color: #fff; font-size: 13px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
}
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }

.hero {
  margin-top: 28px;
  background: var(--navy);
  color: #fff;
  border-radius: 24px;
  padding: 48px 52px;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 40px;
  overflow: hidden;
  position: relative;
}
.hero::after {
  content: "";
  position: absolute; right: -80px; top: -80px;
  width: 280px; height: 280px; border-radius: 50%;
  background: radial-gradient(circle, rgba(20,184,166,.35), transparent 70%);
}
.eyebrow { color: #99f6e4; font-size: 12px; letter-spacing: .18em; margin-bottom: 14px; }
.hero h1 { font-size: 40px; line-height: 1.22; font-weight: 800; max-width: 560px; }
.hero p { margin-top: 14px; color: #c5d0d8; font-size: 15px; max-width: 520px; }
.hero-btns { margin-top: 26px; display: flex; gap: 10px; flex-wrap: wrap; }
.hero .btn.light { background: #fff; color: var(--navy); }
.hero .btn.line { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.28); }
.stats { margin-top: 32px; display: flex; gap: 28px; color: #d8e2e8; font-size: 13px; }
.stats b { display: block; font-size: 22px; color: #fff; margin-bottom: 2px; }
.hero-panel {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 18px;
  padding: 16px;
  position: relative; z-index: 1;
}
.mini-post { background: #fff; color: var(--ink); border-radius: 14px; overflow: hidden; }
.mini-cover { height: 148px; background: linear-gradient(135deg, #134e4a, #0ea5a0 55%, #99f6e4); position: relative; }
.mini-cover span {
  position: absolute; left: 12px; bottom: 12px;
  background: rgba(0,0,0,.45); color: #fff; font-size: 11px; padding: 4px 8px; border-radius: 999px;
}
.mini-body { padding: 14px 16px 16px; }
.mini-body h3 { font-size: 15px; }
.mini-body p { color: var(--muted); font-size: 12px; margin-top: 6px; }
.tg-row {
  margin-top: 12px; color: #b7c5ce; font-size: 12px;
  display: flex; justify-content: space-between; align-items: center;
}
.dot { width: 7px; height: 7px; background: #34d399; border-radius: 50%; display: inline-block; margin-right: 6px; }

.cats {
  margin: 28px auto 8px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.cat {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px;
}
.cat.active { border-color: var(--teal); background: var(--teal-soft); }
.cat b { display: block; font-size: 15px; margin-bottom: 4px; }
.cat span { color: var(--muted); font-size: 12px; }

section { padding: 28px 0 8px; }
.sec-head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 16px; }
.sec-head h2 { font-size: 22px; }
.more { color: var(--teal); font-size: 13px; font-weight: 700; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.cover { height: 158px; position: relative; background-size: cover; background-position: center; }
.cover img { width: 100%; height: 158px; object-fit: cover; }
.c1 { background: linear-gradient(135deg, #1e3a5f, #38bdf8); }
.c2 { background: linear-gradient(135deg, #3f2b6b, #c084fc); }
.c3 { background: linear-gradient(135deg, #7c2d12, #fb923c); }
.c4 { background: linear-gradient(135deg, #14532d, #4ade80); }
.c5 { background: linear-gradient(135deg, #1e293b, #64748b); }
.c6 { background: linear-gradient(135deg, #0f766e, #5eead4); }
.tag {
  position: absolute; left: 12px; top: 12px;
  background: rgba(255,255,255,.92); font-size: 11px; padding: 3px 8px; border-radius: 999px; font-weight: 700;
}
.card .body { padding: 14px 16px 16px; }
.card h3 { font-size: 16px; margin-bottom: 6px; }
.card p { color: var(--muted); font-size: 13px; }
.meta { margin-top: 12px; display: flex; justify-content: space-between; color: #8a93a3; font-size: 12px; }

.empty {
  background: var(--card);
  border: 1px dashed var(--line);
  border-radius: 18px;
  padding: 42px 24px;
  text-align: center;
  color: var(--muted);
}
.empty b { display: block; color: var(--ink); font-size: 16px; margin-bottom: 8px; }

.banner {
  margin: 28px 0;
  background: var(--teal-soft);
  border: 1px solid #cce8e4;
  border-radius: 18px;
  padding: 22px 26px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.banner h3 { font-size: 18px; margin-bottom: 4px; }
.banner p { color: var(--muted); font-size: 13px; }

.article { padding: 28px 0 48px; }
.article-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
}
.article-cover { height: 280px; background-size: cover; background-position: center; }
.article-body { padding: 28px; }
.article-body h1 { font-size: 28px; line-height: 1.3; margin: 10px 0 12px; }
.article-meta { color: var(--muted); font-size: 13px; display: flex; gap: 12px; flex-wrap: wrap; }
.article-content { margin-top: 22px; font-size: 16px; white-space: pre-wrap; }
.back { display: inline-block; margin-bottom: 16px; color: var(--teal); font-weight: 700; font-size: 14px; }

footer {
  margin-top: 24px; border-top: 1px solid var(--line);
  padding: 28px 0 40px; color: var(--muted); font-size: 12px;
}
.foot { display: flex; justify-content: space-between; gap: 24px; }
.foot strong { color: var(--ink); font-size: 14px; }

.mobile-tab {
  display: none;
  position: sticky; bottom: 0;
  background: #fff; border-top: 1px solid var(--line);
  height: 58px; grid-template-columns: repeat(4, 1fr);
}
.mobile-tab a { display: grid; place-items: center; font-size: 11px; color: #8a93a3; }
.mobile-tab .on { color: var(--teal); font-weight: 700; }

@media (max-width: 820px) {
  .wrap { width: min(100% - 28px, 430px); }
  .links { display: none; }
  .hero { grid-template-columns: 1fr; padding: 28px 22px 22px; gap: 18px; border-radius: 20px; }
  .hero h1 { font-size: 28px; }
  .stats { gap: 16px; }
  .cats, .grid-3 { grid-template-columns: 1fr; }
  .banner, .foot { flex-direction: column; align-items: flex-start; }
  .mobile-tab { display: grid; }
  .hero-panel { display: none; }
  .article-cover { height: 180px; }
  footer { padding-bottom: 72px; }
}
