:root {
  --lx-bg: #f0fdf4;
  --lx-card: #ffffff;
  --lx-text: #14532d;
  --lx-sub: #64748b;
  --lx-green: #16a34a;
  --lx-green-dark: #15803d;
  --lx-line: #bbf7d0;
  --lx-soft: #f5f3ff;
  --lx-radius: 10px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  background: var(--lx-bg);
  color: var(--lx-text);
  font-size: 15px;
  line-height: 1.8;
  min-height: 100vh;
}
a { color: var(--lx-green); text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
.lx-wrap { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* 顶部 */
.lx-header {
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid var(--lx-line);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
}
.lx-header-inner { min-height: 72px; display: flex; align-items: center; gap: 22px; }
.lx-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--lx-text); flex: 0 0 auto; }
.lx-mark {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--lx-green); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 900;
  box-shadow: 0 4px 12px rgba(22, 163, 74, .22);
}
.lx-logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.lx-logo-text b { font-size: 16px; color: var(--lx-text); letter-spacing: .02em; }
.lx-logo-text i { margin-top: 3px; font-size: 8px; font-style: normal; color: #94a3b8; letter-spacing: .15em; }
.lx-nav { display: flex; align-items: center; gap: 2px; flex: 1; overflow-x: auto; }
.lx-nav a {
  white-space: nowrap; color: #475569; font-size: 13px; font-weight: 500;
  padding: 8px 12px; border-radius: 6px; transition: .18s;
}
.lx-nav a:hover { color: var(--lx-green); background: #f0fdf4; }
.lx-all {
  flex: 0 0 auto; padding: 8px 18px; border-radius: 7px;
  background: var(--lx-green); color: #fff; font-size: 13px; font-weight: 700;
  transition: .18s;
}
.lx-all:hover { background: var(--lx-green-dark); transform: translateY(-1px); }

/* 首页 */
.lx-main { padding: 34px 0 58px; }
.lx-section-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 30px;
  margin-bottom: 24px; border-bottom: 1px solid var(--lx-line); padding-bottom: 18px;
}
.lx-kicker { font-size: 10px; letter-spacing: .16em; color: var(--lx-green); font-weight: 700; margin-bottom: 5px; }
.lx-section-head h1 { font-size: 24px; line-height: 1.4; color: var(--lx-text); font-weight: 800; }
.lx-section-desc { max-width: 430px; color: var(--lx-sub); font-size: 12.5px; line-height: 1.9; }
.lx-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.lx-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--lx-card); border: 1px solid var(--lx-line); border-radius: var(--lx-radius);
  transition: transform .2s, box-shadow .2s;
}
.lx-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(20, 83, 45, .08); }
.lx-thumb { display: block; aspect-ratio: 16 / 8.5; overflow: hidden; background: #e7f6ea; }
.lx-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.lx-card:hover .lx-thumb img { transform: scale(1.035); }
.lx-card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.lx-meta { display: flex; align-items: center; gap: 12px; color: #94a3b8; font-size: 10.5px; margin-bottom: 8px; }
.lx-tag { display: inline-block; padding: 2px 8px; border-radius: 4px; background: #fef3c7; color: #a16207; font-size: 10px; font-weight: 700; }
.lx-card h2 { font-size: 18px; line-height: 1.5; margin-bottom: 8px; color: var(--lx-text); }
.lx-card h2 a { color: inherit; }
.lx-card h2 a:hover { color: var(--lx-green); }
.lx-card p { color: var(--lx-sub); font-size: 13px; line-height: 1.8; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.lx-more { margin-top: auto; padding-top: 12px; font-size: 12px; font-weight: 700; color: var(--lx-green); }
.lx-more span { display: inline-block; transition: transform .18s; }
.lx-more:hover span { transform: translateX(3px); }
.lx-card:first-child { grid-column: 1 / -1; flex-direction: row; }
.lx-card:first-child .lx-thumb { width: 43%; flex: 0 0 43%; aspect-ratio: auto; min-height: 245px; }
.lx-card:first-child .lx-card-body { justify-content: center; padding: 26px 30px; }
.lx-card:first-child h2 { font-size: 23px; }
.lx-card:first-child p { -webkit-line-clamp: 3; }

/* 列表 / 内页标题 */
.lx-pagehead { padding: 12px 0 24px; border-bottom: 1px solid var(--lx-line); margin-bottom: 24px; }
.lx-pagehead h1 { font-size: 30px; line-height: 1.35; margin-bottom: 7px; }
.lx-pagehead > p:last-child { color: var(--lx-sub); font-size: 13px; }
.lx-list { display: flex; flex-direction: column; gap: 16px; }
.lx-list-card {
  display: flex; gap: 18px; padding: 16px; background: #fff;
  border: 1px solid var(--lx-line); border-radius: var(--lx-radius);
  transition: .2s;
}
.lx-list-card:hover { box-shadow: 0 7px 22px rgba(20, 83, 45, .07); transform: translateY(-2px); }
.lx-list-thumb { width: 250px; height: 155px; flex: 0 0 250px; overflow: hidden; border-radius: 7px; background: #e7f6ea; }
.lx-list-thumb img { width: 100%; height: 100%; object-fit: cover; }
.lx-list-body { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.lx-list-body h2 { font-size: 18px; line-height: 1.5; margin-bottom: 6px; }
.lx-list-body h2 a { color: var(--lx-text); }
.lx-list-body h2 a:hover { color: var(--lx-green); }
.lx-list-body p { color: var(--lx-sub); font-size: 12.5px; line-height: 1.8; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lx-info-panel { background: #fff; border: 1px solid var(--lx-line); border-radius: var(--lx-radius); padding: 26px 28px; margin-bottom: 20px; }
.lx-info-panel h2 { font-size: 22px; margin-bottom: 14px; }
.lx-info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.lx-info-grid div { padding: 13px 16px; border-radius: 7px; background: #f0fdf4; }
.lx-info-grid span { display: block; color: #94a3b8; font-size: 11px; }
.lx-info-grid b { display: block; color: var(--lx-text); font-size: 13px; font-weight: 600; }
.lx-about-text { color: #475569; font-size: 14px; line-height: 1.95; }
.lx-about-text p { margin-bottom: 10px; }
.lx-empty { padding: 60px 20px; text-align: center; border: 1px dashed var(--lx-line); border-radius: var(--lx-radius); color: #94a3b8; background: #fff; }

/* 内容页 */
.lx-article-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 28px; align-items: start; }
.lx-article { background: #fff; border: 1px solid var(--lx-line); border-radius: var(--lx-radius); padding: 34px 38px 30px; min-width: 0; }
.lx-article h1 { font-size: 28px; line-height: 1.45; margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.lx-article-meta { display: flex; flex-wrap: wrap; gap: 14px; color: #94a3b8; font-size: 11.5px; padding-bottom: 18px; border-bottom: 1px solid #eef7f0; margin-bottom: 22px; }
.lx-article-body { color: #334155; font-size: 15px; line-height: 2; }
.lx-article-body p { margin: 0 0 16px; }
.lx-article-body h2, .lx-article-body h3 { margin: 26px 0 12px; color: var(--lx-text); line-height: 1.5; }
.lx-article-body h2 { font-size: 21px; }
.lx-article-body h3 { font-size: 17px; }
.lx-article-body img { margin: 14px 0; border-radius: 8px; height: auto; }
.lx-article-body a { text-decoration: underline; }
.lx-article-body blockquote { margin: 18px 0; padding: 14px 18px; background: #f0fdf4; border-left: 3px solid var(--lx-green); color: #475569; }
.lx-article-foot { margin-top: 30px; padding-top: 18px; border-top: 1px solid #eef7f0; }
.lx-article-foot a { font-size: 12.5px; font-weight: 600; }
.lx-side { display: flex; flex-direction: column; gap: 16px; }
.lx-side-card { background: #fff; border: 1px solid var(--lx-line); border-radius: var(--lx-radius); padding: 18px 20px; }
.lx-side-card h2 { font-size: 15px; color: var(--lx-text); padding-bottom: 10px; border-bottom: 1px solid #eef7f0; margin-bottom: 10px; }
.lx-side-card ul { list-style: none; }
.lx-side-card li { padding: 7px 0; border-bottom: 1px dashed #edf7ef; }
.lx-side-card li:last-child { border-bottom: 0; }
.lx-side-card li a { color: #475569; font-size: 12.5px; line-height: 1.6; }
.lx-side-card li a:hover { color: var(--lx-green); }
.lx-side-links { display: flex; flex-wrap: wrap; gap: 6px 12px; }
.lx-side-links a { color: #475569; font-size: 12px; }

/* 分页 */
.lx-pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; margin-top: 30px; }
.lx-pager a, .lx-pager span {
  min-width: 34px; height: 32px; padding: 0 11px; border: 1px solid var(--lx-line);
  border-radius: 6px; background: #fff; color: #475569; font-size: 12px;
  display: inline-flex; align-items: center; justify-content: center;
}
.lx-pager a:hover, .lx-pager .cur { background: var(--lx-green); border-color: var(--lx-green); color: #fff; }

/* 页脚 */
.lx-footer { margin-top: 20px; border-top: 1px solid var(--lx-line); background: #f8fff9; }
.lx-footer-main { display: grid; grid-template-columns: 2fr 1fr 1fr 1.35fr; gap: 34px; padding-top: 36px; padding-bottom: 28px; }
.lx-footer-brand p { margin-top: 13px; color: var(--lx-sub); font-size: 12px; line-height: 1.9; max-width: 300px; }
.lx-footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.lx-footer-links h3 { font-size: 13px; color: var(--lx-text); margin-bottom: 8px; }
.lx-footer-links a, .lx-footer-links span { color: var(--lx-sub); font-size: 12px; line-height: 1.9; }
.lx-footer-links a:hover { color: var(--lx-green); }
.lx-footer-flinks { display: flex; gap: 14px; align-items: baseline; flex-wrap: wrap; padding: 14px 24px; border-top: 1px solid #e4f5e8; border-bottom: 1px solid #e4f5e8; }
.lx-footer-flinks b { font-size: 12px; color: var(--lx-text); white-space: nowrap; }
.lx-footer-flinks div { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.lx-footer-flinks a { color: #94a3b8; font-size: 11px; }
.lx-footer-flinks a:hover { color: var(--lx-green); }
.lx-footer-bottom { display: flex; justify-content: space-between; gap: 15px; padding-top: 16px; padding-bottom: 22px; color: #94a3b8; font-size: 11px; }

@media (max-width: 900px) {
  .lx-header-inner { flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; gap: 10px; }
  .lx-nav { order: 3; flex-basis: 100%; overflow-x: auto; }
  .lx-all { margin-left: auto; }
  .lx-grid { grid-template-columns: 1fr; }
  .lx-card:first-child { flex-direction: column; }
  .lx-card:first-child .lx-thumb { width: 100%; flex-basis: auto; aspect-ratio: 16 / 9; min-height: 0; }
  .lx-card:first-child .lx-card-body { padding: 20px; }
  .lx-section-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .lx-section-head h1 { font-size: 21px; }
  .lx-article-wrap { grid-template-columns: 1fr; }
  .lx-article { padding: 24px 20px; }
  .lx-article h1 { font-size: 23px; }
  .lx-footer-main { grid-template-columns: 1fr 1fr; gap: 24px; }
  .lx-info-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .lx-wrap { padding: 0 16px; }
  .lx-list-card { flex-direction: column; padding: 12px; gap: 12px; }
  .lx-list-thumb { width: 100%; height: auto; flex-basis: auto; aspect-ratio: 16 / 9; }
  .lx-list-body h2 { font-size: 16px; }
  .lx-logo-text b { font-size: 14px; }
  .lx-footer-main { grid-template-columns: 1fr; gap: 20px; }
  .lx-footer-bottom { flex-direction: column; gap: 4px; }
}
