:root {
  --green: #0b8f4d;
  --green-dark: #066b39;
  --green-soft: #eaf7f0;
  --teal-soft: #e7f6f5;
  --blue-soft: #eef5ff;
  --purple-soft: #f3efff;
  --orange-soft: #fff4e6;
  --text: #1d2930;
  --muted: #6b7a86;
  --line: #e6ecea;
  --bg: #f7faf8;
  --card: #ffffff;
  --shadow: 0 14px 35px rgba(12, 72, 45, 0.08);
  --radius: 20px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #ffffff 0%, var(--bg) 50%, #ffffff 100%);
}
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.header-inner { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 260px; }
.brand-logo {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  color: var(--green); font-weight: 800; border: 3px solid var(--green); background: #fff;
}
.brand strong { display: block; font-size: 20px; letter-spacing: 0.02em; }
.brand strong::first-letter { color: var(--green); }
.brand small { color: var(--muted); font-size: 12px; }
.nav-links { display: flex; gap: 40px; font-weight: 700; }
.nav-links a { padding: 26px 0 22px; border-bottom: 3px solid transparent; }
.nav-links a.active, .nav-links a:hover { color: var(--green); border-bottom-color: var(--green); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.primary-btn, .ghost-btn, .link-btn, .load-more, .back-btn {
  border: 0; cursor: pointer; border-radius: 12px; transition: 0.18s ease; white-space: nowrap;
}
.primary-btn { background: var(--green); color: #fff; padding: 12px 20px; box-shadow: 0 8px 18px rgba(11,143,77,0.18); }
.primary-btn:hover { background: var(--green-dark); transform: translateY(-1px); }
.primary-btn.small { padding: 10px 16px; }
.primary-btn.full { width: 100%; }
.ghost-btn { background: #fff; color: #41505b; border: 1px solid var(--line); padding: 10px 14px; }
.ghost-btn:hover { color: var(--green); border-color: #bfe4d0; background: #f7fffb; }
.hero {
  margin-top: 28px; min-height: 255px; display: grid; grid-template-columns: 1.55fr 0.95fr; gap: 0;
  background: linear-gradient(135deg, #f0fbf4 0%, #ffffff 55%, #f6fbff 100%);
  border: 1px solid var(--line); border-radius: 26px; overflow: hidden; box-shadow: var(--shadow);
}
.hero-text { padding: 42px 38px 34px; }
.eyebrow { color: var(--green); font-weight: 700; margin: 0 0 10px; }
.hero h1 { margin: 0; font-size: clamp(30px, 4vw, 46px); line-height: 1.18; letter-spacing: -0.02em; }
.hero h1 span { color: var(--green); }
.hero-desc { color: var(--muted); font-size: 16px; line-height: 1.8; max-width: 780px; margin: 14px 0 24px; }
.search-panel { display: flex; gap: 10px; background: #fff; border: 1px solid #cfe5da; border-radius: 16px; padding: 8px; box-shadow: 0 8px 20px rgba(12,72,45,0.06); }
.search-panel input { flex: 1; border: 0; outline: 0; padding: 0 14px; font-size: 16px; min-width: 100px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.chip {
  border: 1px solid var(--line); background: #fff; color: #475967; padding: 10px 18px; border-radius: 999px; cursor: pointer;
}
.chip.active, .chip:hover { background: var(--green); color: #fff; border-color: var(--green); }
.hero-card { position: relative; min-height: 255px; background: linear-gradient(135deg, rgba(255,255,255,0.25), rgba(234,247,240,0.9)); overflow: hidden; }
.hero-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 35% 20%, rgba(11,143,77,0.08), transparent 35%), linear-gradient(90deg, rgba(255,255,255,0.8), transparent 35%); }
.clinic-window { position: absolute; right: 40px; top: 30px; width: 180px; height: 120px; border-radius: 12px; background: linear-gradient(135deg, #ffffff, #eaf5f0); border: 10px solid #fff; box-shadow: 0 8px 25px rgba(0,0,0,0.08); }
.rehab-bed { position: absolute; right: 65px; bottom: 52px; width: 240px; height: 28px; border-radius: 999px; background: #a6d6c4; box-shadow: 0 18px 0 #d7eee4; }
.ball { position: absolute; right: 300px; bottom: 38px; width: 54px; height: 54px; border-radius: 50%; background: linear-gradient(135deg, #37bf7c, #a5e6c5); }
.plant { position: absolute; right: 18px; bottom: 30px; width: 60px; height: 110px; background: radial-gradient(circle at 30% 25%, #86cfa2 0 15px, transparent 16px), radial-gradient(circle at 65% 40%, #65b982 0 18px, transparent 19px), linear-gradient(#75a680, #75a680); background-size: 60px 70px, 60px 70px, 8px 55px; background-position: 0 0, 0 0, 27px 55px; background-repeat: no-repeat; }
.skeleton { position: absolute; left: 70px; top: 38px; width: 80px; height: 150px; border-radius: 40px; color: #9eb7aa; display: grid; place-items: center; font-size: 70px; opacity: .55; }
.section-block { margin-top: 22px; }
.section-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; gap: 16px; }
.section-title h2 { margin: 0; font-size: 21px; }
.section-title p { margin: 6px 0 0; color: var(--muted); }
.link-btn { background: transparent; color: var(--green); }
.topic-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.topic-card { min-height: 160px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); display: flex; justify-content: space-between; align-items: flex-end; overflow: hidden; position: relative; box-shadow: var(--shadow); cursor: pointer; }
.topic-card h3 { margin: 0 0 8px; font-size: 20px; }
.topic-card p { margin: 0 0 16px; color: #536572; }
.topic-card button { border: 0; border-radius: 10px; padding: 8px 14px; color: var(--green); background: rgba(255,255,255,0.82); }
.topic-card span { font-size: 58px; font-weight: 900; opacity: .18; }
.topic-card.green { background: var(--green-soft); }
.topic-card.blue { background: var(--blue-soft); }
.topic-card.purple { background: var(--purple-soft); }
.topic-card.orange { background: var(--orange-soft); }
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 22px; align-items: start; }
.main-column, .side-card, .detail-article { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.main-column { padding: 20px; }
.sticky-title select { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; color: #4c5c66; background: #fff; }
.article-list { display: grid; gap: 14px; }
.article-card { display: grid; grid-template-columns: 140px 1fr auto; gap: 18px; align-items: center; padding: 16px; border: 1px solid var(--line); border-radius: 18px; background: #fff; transition: .18s ease; }
.article-card:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(12,72,45,0.08); border-color: #cae6d5; }
.thumb { height: 96px; border-radius: 16px; display: grid; place-items: center; color: rgba(0,0,0,0.35); font-weight: 900; font-size: 28px; background: linear-gradient(135deg, #eaf7f0, #f7fbff); position: relative; overflow: hidden; }
.thumb::after { content: ""; position: absolute; width: 76px; height: 76px; border-radius: 50%; right: -12px; bottom: -18px; background: rgba(11,143,77,0.08); }
.card-body h3 { margin: 0 0 8px; font-size: 18px; }
.card-body p { margin: 0 0 10px; color: var(--muted); line-height: 1.65; }
.meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13px; color: #7a8993; }
.tag { display: inline-flex; align-items: center; border-radius: 999px; padding: 5px 10px; background: #eef6f1; color: #18824c; }
.card-actions { display: flex; flex-direction: column; gap: 10px; min-width: 96px; }
.outline-btn { border: 1px solid #b8ddca; color: var(--green); background: #fff; padding: 10px 12px; border-radius: 12px; cursor: pointer; font-weight: 700; }
.text-btn { border: 0; background: transparent; color: var(--green); cursor: pointer; }
.load-more { width: 100%; margin-top: 16px; padding: 14px; background: #f8fcfa; border: 1px solid var(--line); color: var(--green); font-weight: 700; }
.sidebar { display: grid; gap: 16px; }
.side-card { padding: 20px; }
.side-card h3 { margin: 0 0 14px; font-size: 18px; }
.mini-item { display: grid; grid-template-columns: 56px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.mini-item:last-child { border-bottom: 0; }
.mini-thumb { border-radius: 12px; background: var(--green-soft); display: grid; place-items: center; font-weight: 800; color: var(--green); }
.mini-item strong { display: block; font-size: 14px; line-height: 1.45; }
.mini-item span { display: block; color: #80909a; font-size: 12px; margin-top: 4px; }
.latest-row { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.latest-row:last-child { border-bottom: 0; }
.latest-row time { color: #7b8b94; }
.about-card p { color: var(--muted); line-height: 1.7; }
.notice { background: #f7fbff; border: 1px solid #d7e9fa; padding: 12px; border-radius: 14px; }
.detail-view { padding: 26px 0; }
.hidden { display: none !important; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 22px; align-items: start; }
.detail-article { padding: 26px; }
.back-btn { background: #f4fbf7; color: var(--green); padding: 10px 14px; margin-bottom: 18px; }
.detail-title { font-size: clamp(28px, 4vw, 40px); line-height: 1.2; margin: 0 0 14px; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 14px; color: var(--muted); margin-bottom: 16px; }
.detail-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.key-box, .summary-box, .warning-box { border-radius: 18px; padding: 20px; margin: 18px 0; border: 1px solid var(--line); }
.key-box { background: linear-gradient(135deg, var(--green-soft), #fff); }
.summary-box { background: #fff; }
.warning-box { background: #fff8ec; border-color: #f2d7a9; color: #6f4f16; }
.detail-section { margin: 24px 0; }
.detail-section h2 { color: var(--green); font-size: 22px; margin: 0 0 10px; }
.detail-section p { color: #42505a; line-height: 1.9; margin: 0; }
.original-link { display: inline-flex; margin-top: 12px; }
.footer { margin-top: 28px; padding: 28px 0 20px; border-top: 1px solid var(--line); background: rgba(255,255,255,0.8); }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; text-align: center; }
.footer-grid div { padding: 18px; border-right: 1px solid var(--line); }
.footer-grid div:last-child { border-right: 0; }
.footer strong { display: block; color: var(--green); margin-bottom: 8px; }
.footer span, .disclaimer { color: var(--muted); font-size: 13px; }
.disclaimer { width: min(1180px, calc(100% - 40px)); margin: 12px auto 0; text-align: center; line-height: 1.8; }
.toast { position: fixed; left: 50%; bottom: 32px; transform: translateX(-50%); background: rgba(0,0,0,0.78); color: #fff; padding: 12px 18px; border-radius: 999px; z-index: 99; }
@media (max-width: 980px) {
  .header-inner { height: auto; padding: 14px 0; flex-wrap: wrap; }
  .nav-links { order: 3; width: 100%; gap: 20px; justify-content: center; }
  .header-actions { display: none; }
  .hero, .content-layout, .detail-layout { grid-template-columns: 1fr; }
  .hero-card { display: none; }
  .topic-grid { grid-template-columns: repeat(2, 1fr); }
  .article-card { grid-template-columns: 108px 1fr; }
  .card-actions { grid-column: 1 / -1; flex-direction: row; }
}
@media (max-width: 640px) {
  .container { width: min(100% - 24px, 1180px); }
  .brand { min-width: auto; }
  .brand strong { font-size: 17px; }
  .hero-text { padding: 26px 20px; }
  .search-panel { flex-direction: column; }
  .topic-grid { grid-template-columns: 1fr; }
  .article-card { grid-template-columns: 1fr; }
  .thumb { height: 120px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid div { border-right: 0; border-bottom: 1px solid var(--line); }
}
.brand-logo-img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}
