body {
    background: #F4F8F5 !important;
    color: #2A3A32 !important;
    font-family: -apple-system, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif !important;
    font-size: 16px;
    line-height: 1.75;
    margin: 0;
}
a { color: #1E8E6E; }
a:hover { color: #115C48; }
img { max-width: 100%; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 16px; box-sizing: border-box; }

/* ---------- 顶部（统一头部，含 404/分类/文章） ---------- */
#header { background: #fff !important; border-bottom: 1px solid #E2EFE8; }
.head-top {
    background: linear-gradient(90deg, #1E8E6E, #115C48);
    height: 4px;
}
.head-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 14px 0 10px; }
.logo { display: flex; align-items: center; gap: 8px; }
.logo .logo_tit { font-size: 26px; font-weight: 800; letter-spacing: 1px; }
.logo .logo_tit a { color: #1E8E6E; text-decoration: none; }
.logo .logo_tag { font-size: 12px; color: #D9A94E; background: #FDF6E7; border: 1px solid #F0E0B8; border-radius: 20px; padding: 2px 10px; }
#bs-navbar { margin: 6px 0 0; }
#bs-navbar ul { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
#bs-navbar ul li a {
    display: block; padding: 8px 16px; color: #3A5146 !important;
    text-decoration: none; font-size: 15px; border-radius: 22px; background: #F1F7F3;
    transition: all .2s;
}
#bs-navbar ul li a:hover, #bs-navbar ul li.on a { background: #1E8E6E !important; color: #fff !important; }

/* ---------- 首页查询区 hero（首页第1页） ---------- */
.hero {
    margin: 0 0 22px;
    background: linear-gradient(135deg, #1E8E6E 0%, #16735A 60%, #0F5C46 100%);
    border-radius: 18px;
    padding: 40px 30px 30px;
    color: #fff;
    box-shadow: 0 8px 26px rgba(21,105,83,.28);
    position: relative;
    overflow: hidden;
}
.hero::after {
    content: "";
    position: absolute; right: -40px; top: -40px;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(255,255,255,.14), transparent 70%);
    border-radius: 50%;
}
.hero .hero-in { position: relative; z-index: 1; }
.hero .hero-h2 { font-size: 30px; font-weight: 800; margin: 0 0 8px; color: #fff; }
.hero .hero-sub { font-size: 15px; color: #D6EFE3; margin: 0 0 20px; }
.hero-search { display: flex; gap: 10px; max-width: 560px; margin: 0 0 24px; }
.hero-search input {
    flex: 1; min-width: 0; height: 48px; padding: 0 20px;
    border: none; border-radius: 24px; font-size: 16px; outline: none;
    box-shadow: 0 2px 6px rgba(0,0,0,.12);
}
.hero-search button {
    height: 48px; padding: 0 30px; border: none; border-radius: 24px;
    background: #D9A94E; color: #3A2A08; font-size: 16px; font-weight: 700; cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,.12);
}
.hero-search button:hover { background: #E6B85C; }
.hero-groups { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-group {
    display: flex; align-items: center; gap: 10px;
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.32);
    border-radius: 14px;
    padding: 12px 18px;
    color: #fff; text-decoration: none;
    backdrop-filter: blur(4px);
    transition: all .2s;
}
.hero-group:hover { background: rgba(255,255,255,.24); transform: translateY(-2px); }
.hero-group .hg-ico { font-size: 20px; line-height: 1; }
.hero-group .hg-name { font-size: 15px; font-weight: 600; }

/* ---------- 区块标题 ---------- */
.block-tit {
    font-size: 22px; font-weight: 800; color: #1E8E6E;
    border-left: 4px solid #1E8E6E; padding-left: 12px;
    margin: 30px 0 16px;
}

/* ---------- 首页分组区块（精致） ---------- */
.cate-sec {
    background: #fff;
    border: 1px solid #E2EFE8;
    border-radius: 16px;
    padding: 20px 22px 16px;
    margin: 0 0 18px;
    box-shadow: 0 2px 8px rgba(24,58,46,.05);
}
.cate-sec-h {
    display: flex; align-items: center; gap: 10px;
    border-bottom: 1px solid #EDF4F0;
    padding-bottom: 12px; margin-bottom: 6px;
}
.cate-sec-h .cate-ico { font-size: 18px; line-height: 1; }
.cate-sec-h h3 { margin: 0; font-size: 18px; font-weight: 700; color: #1E8E6E; }
.cate-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 26px; }
.cate-list li {
    flex: 1 1 46%; min-width: 260px;
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    padding: 9px 0;
    border-bottom: 1px dashed #F0F5F2;
}
.cate-list li:last-child { border-bottom: none; }
.cate-list li a {
    color: #33463D; text-decoration: none; font-size: 15px;
    flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.cate-list li a::before { content: "·"; color: #1E8E6E; font-weight: 900; margin-right: 8px; }
.cate-list li a:hover { color: #1E8E6E; }
.cate-list li .date { font-size: 12px; color: #A9BAB1; flex: none; }
.cate-more {
    display: inline-block; margin-top: 10px;
    font-size: 13px; color: #1E8E6E; text-decoration: none;
}
.cate-more:hover { text-decoration: underline; }

/* ---------- 最新收录 ---------- */
.home-latest {
    background: #fff; border: 1px solid #E2EFE8; border-radius: 16px;
    padding: 10px 22px; box-shadow: 0 2px 8px rgba(24,58,46,.05);
}
.home-latest ul { list-style: none; margin: 0; padding: 0; }
.home-latest ul li {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 12px 0; border-bottom: 1px dashed #F0F5F2;
}
.home-latest ul li:last-child { border-bottom: none; }
.home-latest ul li a { color: #33463D; text-decoration: none; font-size: 15px; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.home-latest ul li a:hover { color: #1E8E6E; }
.home-latest ul li .date { font-size: 12px; color: #A9BAB1; flex: none; }

/* ---------- 分类页词条网格（无图文字） ---------- */
.cat-grid { display: flex; flex-wrap: wrap; gap: 14px; }
.cat-grid ul { list-style: none; margin: 0; padding: 0; width: 100%; display: flex; flex-wrap: wrap; gap: 14px; }
.cat-grid ul li {
    flex: 1 1 30%; min-width: 260px; list-style: none;
    background: #fff; border: 1px solid #E2EFE8; border-radius: 14px;
    padding: 18px; box-shadow: 0 2px 8px rgba(24,58,46,.05);
    transition: all .2s; box-sizing: border-box;
}
.cat-grid ul li:hover { border-color: #1E8E6E; box-shadow: 0 5px 16px rgba(30,142,110,.12); }
.cat-grid ul li h3 { margin: 0 0 8px; font-size: 16px; line-height: 1.5; }
.cat-grid ul li h3 a { color: #115C48; text-decoration: none; }
.cat-grid ul li h3 a:hover { color: #1E8E6E; }
.cat-grid ul li p { font-size: 13px; color: #8A9A92; margin: 0 0 10px; line-height: 1.75; }
.cat-grid ul li .info { font-size: 12px; color: #A9BAB1; }
.cat-grid ul li .info span { margin-right: 14px; }
.cat-desc {
    font-size: 14px; line-height: 1.9; color: #4C6156;
    background: #EAF4EE; border: 1px solid #CDE5D6; border-radius: 10px;
    padding: 12px 18px; margin: 0 0 18px;
}

/* ---------- 文章页（词条释义排版，无图） ---------- */
.main-article {
    background: #fff; border: 1px solid #E2EFE8; border-radius: 16px;
    padding: 30px 34px; box-shadow: 0 2px 8px rgba(24,58,46,.05);
}
.article-tit h1 { font-size: 28px; line-height: 1.4; color: #115C48; margin: 0 0 10px; }
.article-info { font-size: 13px; color: #A9BAB1; border-bottom: 1px dashed #E2EFE8; padding-bottom: 14px; }
.article-content { font-size: 16px; line-height: 2; color: #33463D; margin-top: 10px; }
.article-content h2 {
    font-size: 20px; font-weight: 700; color: #1E8E6E;
    border-left: 4px solid #1E8E6E; padding-left: 12px; margin: 28px 0 12px;
}
.article-content h3 { font-size: 18px; color: #115C48; margin: 20px 0 10px; }
.article-content p { margin: 0 0 16px; }
.article-content img { display: none !important; }
.article-content a { color: #1E8E6E; }
.article-content ul, .article-content ol { margin: 0 0 16px 2em; }
.article-content li { margin: 5px 0; }

/* 相关词条 */
.article-related { margin-top: 28px; }
.article-related h3 { font-size: 18px; font-weight: 700; color: #1E8E6E; border-left: 4px solid #1E8E6E; padding-left: 12px; margin: 0 0 14px; }
.article-related ul.pro { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px; }
.article-related ul.pro li {
    flex: 1 1 30%; min-width: 230px; list-style: none;
    background: #F8FBF9; border: 1px solid #E2EFE8; border-radius: 12px;
    padding: 16px 18px; transition: all .2s; box-sizing: border-box;
}
.article-related ul.pro li:hover { border-color: #1E8E6E; box-shadow: 0 4px 12px rgba(30,142,110,.1); }
.article-related ul.pro li .img { display: none; }
.article-related ul.pro li h3 { font-size: 15px; margin: 0 0 6px; border: none; padding: 0; }
.article-related ul.pro li h3 a { color: #115C48; text-decoration: none; }
.article-related ul.pro li h3 a:hover { color: #1E8E6E; }
.article-related ul.pro li p { font-size: 13px; color: #8A9A92; margin: 0; line-height: 1.7; }

/* ---------- 404 页面（统一绿） ---------- */
.not404 {
    background: #fff; border: 1px solid #E2EFE8; border-radius: 18px;
    padding: 60px 30px; text-align: center;
    box-shadow: 0 2px 8px rgba(24,58,46,.05);
    margin: 20px 0;
}
.not404 .n404-num {
    font-size: 90px; font-weight: 800; color: #1E8E6E; line-height: 1; margin-bottom: 10px;
}
.not404 h1 { font-size: 24px; color: #33463D; margin: 0 0 10px; }
.not404 p { font-size: 15px; color: #8A9A92; margin: 0 0 22px; }
.not404 .n404-search { margin: 0 auto 22px; }
.not404 .n404-home {
    display: inline-block; padding: 12px 30px;
    background: #1E8E6E; color: #fff; border-radius: 24px;
    font-size: 15px; font-weight: 600; text-decoration: none;
    box-shadow: 0 3px 10px rgba(30,142,110,.25);
}
.not404 .n404-home:hover { background: #115C48; }

/* ---------- 页脚 ---------- */
#footer { background: #fff; border-top: 1px solid #E2EFE8; margin-top: 30px; padding: 22px 0 26px; }
.footer { text-align: center; color: #8A9A92; font-size: 13px; }
.footer .footer-hot { text-align: left; margin-bottom: 12px; }
.footer .footer-hot strong { font-size: 15px; color: #1E8E6E; }
.footer .footer-hot p { margin: 5px 0; }
.footer .footer-hot a { color: #1E8E6E; text-decoration: none; }
.footer .footer-hot a:hover { text-decoration: underline; }
.footer-copyright p { margin: 4px 0; }

/* ---------- 首页 · 大家都在搜（热词引导） ---------- */
.hot-tags {
    background: #fff; border: 1px solid #E2EFE8; border-radius: 16px;
    padding: 14px 20px; margin: 0 0 18px;
    box-shadow: 0 2px 8px rgba(24,58,46,.05);
}
.hot-tags-tit {
    display: inline-block; font-size: 14px; font-weight: 700; color: #fff;
    background: linear-gradient(90deg, #1E8E6E, #115C48);
    border-radius: 20px; padding: 4px 14px; margin-right: 8px; vertical-align: middle;
}
.hot-tags-list { display: inline-block; }
.hot-tags-list a {
    display: inline-block; margin: 4px 4px; padding: 4px 14px;
    font-size: 13px; color: #33463D; text-decoration: none;
    background: #F1F7F3; border: 1px solid #E2EFE8; border-radius: 20px;
    transition: all .2s;
}
.hot-tags-list a:hover { background: #1E8E6E; color: #fff; border-color: #1E8E6E; }

/* ---------- 首页 · 五大分类入口（门户导航） ---------- */
.cate-entry-wrap { display: flex; flex-wrap: wrap; gap: 14px; margin: 0 0 22px; }
.cate-entry {
    flex: 1 1 30%; min-width: 240px; box-sizing: border-box;
    display: flex; gap: 14px; align-items: flex-start;
    background: #fff; border: 1px solid #E2EFE8; border-radius: 16px;
    padding: 18px 20px; box-shadow: 0 2px 8px rgba(24,58,46,.05);
    transition: all .2s;
}
.cate-entry:hover { border-color: #1E8E6E; box-shadow: 0 6px 18px rgba(30,142,110,.12); transform: translateY(-2px); }
.cate-entry-ico { font-size: 26px; line-height: 1.2; flex: none; }
.cate-entry-body h3 { margin: 0 0 8px; font-size: 17px; font-weight: 700; color: #115C48; }
.cate-entry-body h3 span { font-size: 12px; color: #8A9A92; font-weight: 400; margin-left: 8px; }
.cate-entry-body p { margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.cate-entry-body p a {
    font-size: 12px; color: #1E8E6E; text-decoration: none;
    background: #F4FAF6; border: 1px solid #D8ECDF; border-radius: 14px;
    padding: 2px 10px;
}
.cate-entry-body p a:hover { background: #1E8E6E; color: #fff; border-color: #1E8E6E; }

/* ---------- 首页 · 分组空组提示 ---------- */
.cate-empty .cate-empty-tip { margin: 10px 0 4px; font-size: 13px; color: #A9BAB1; }
.cate-sec-h .cate-more { margin-left: auto; }

/* ---------- 首页 · 人气词条 TOP ---------- */
.hot-rank .hot-rank-box {
    background: #fff; border: 1px solid #E2EFE8; border-radius: 16px;
    padding: 8px 22px; box-shadow: 0 2px 8px rgba(24,58,46,.05);
}
.hot-rank ul { list-style: none; margin: 0; padding: 0; }
.hot-rank ul li {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 0; border-bottom: 1px dashed #F0F5F2;
}
.hot-rank ul li:last-child { border-bottom: none; }
.hot-rank .rank-num {
    flex: none; width: 34px; text-align: center;
    font-size: 12px; font-weight: 700; color: #fff;
    background: #1E8E6E; border-radius: 8px; padding: 3px 0;
}
.hot-rank ul li:nth-child(1) .rank-num, .hot-rank ul li:nth-child(2) .rank-num, .hot-rank ul li:nth-child(3) .rank-num { background: #D9A94E; color: #3A2A08; }
.hot-rank ul li a { flex: 1; min-width: 0; color: #33463D; text-decoration: none; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hot-rank ul li a:hover { color: #1E8E6E; }
.hot-rank .rank-view { flex: none; font-size: 12px; color: #A9BAB1; }

/* ---------- 移动端 ---------- */
@media (max-width: 800px) {
    .cat-grid ul li { flex: 1 1 100%; }
    .article-related ul.pro li { flex: 1 1 100%; }
    .cate-list li { flex: 1 1 100%; min-width: 0; }
    .main-article { padding: 20px; }
    .hero { padding: 28px 18px 24px; }
    .hero .hero-h2 { font-size: 24px; }
    .hero-search { max-width: 100%; }
    .hero-group { flex: 1 1 42%; }
    .home-latest ul li { flex-direction: column; align-items: flex-start; gap: 4px; }
    #bs-navbar ul { justify-content: center; }
    .cate-entry { flex: 1 1 100%; }
    .hot-tags-list { display: block; margin-top: 6px; }
    .hot-rank .rank-view { display: none; }
    .cate-entry-ico { font-size: 22px; }
    .cate-list li { flex: 1 1 100%; min-width: 0; }
}

/* ---------- 分类页 · 分组锚点导航条 ---------- */
.cat-tab {
    display: flex; flex-wrap: wrap; gap: 10px;
    background: #fff; border: 1px solid #E2EFE8; border-radius: 16px;
    padding: 14px 18px; margin: 0 0 22px;
    box-shadow: 0 2px 8px rgba(24,58,46,.05);
}
.cat-tab a {
    display: inline-block; padding: 8px 18px; font-size: 14px;
    color: #33463D; text-decoration: none;
    background: #F1F7F3; border: 1px solid #E2EFE8; border-radius: 22px;
    transition: all .2s;
}
.cat-tab a:hover { background: #1E8E6E; color: #fff; border-color: #1E8E6E; }

/* ---------- 分类页 · 每组词条区块 ---------- */
.catg-sec { margin: 0 0 28px; }
.catg-tit {
    display: flex; align-items: center; gap: 8px;
    font-size: 20px; font-weight: 800; color: #1E8E6E;
    border-left: 4px solid #1E8E6E; padding-left: 12px; margin: 0 0 14px;
}
.catg-empty {
    background: #F8FBF9; border: 1px dashed #CDE5D6; border-radius: 14px;
    padding: 18px 22px;
}
.catg-empty .cate-empty-tip { margin: 6px 0 0; font-size: 14px; color: #A9BAB1; }

/* ---------- 文章页 · 热门词条（内链） ---------- */
.article-hot { margin-top: 24px; }
.article-hot h3 {
    font-size: 18px; font-weight: 700; color: #1E8E6E;
    border-left: 4px solid #1E8E6E; padding-left: 12px; margin: 0 0 12px;
}
.article-hot ul {
    list-style: none; margin: 0; padding: 0;
    background: #F8FBF9; border: 1px solid #E2EFE8; border-radius: 12px;
    padding: 6px 18px; display: flex; flex-wrap: wrap; gap: 0 26px;
}
.article-hot ul li {
    flex: 1 1 46%; min-width: 240px; padding: 8px 0;
    border-bottom: 1px dashed #F0F5F2;
}
.article-hot ul li:last-child { border-bottom: none; }
.article-hot ul li a {
    color: #33463D; text-decoration: none; font-size: 14px;
    display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.article-hot ul li a::before { content: "·"; color: #1E8E6E; font-weight: 900; margin-right: 8px; }
.article-hot ul li a:hover { color: #1E8E6E; }

@media (max-width: 800px) {
    .cat-tab { justify-content: center; }
    .cat-tab a { font-size: 13px; padding: 6px 12px; }
    .article-hot ul li { flex: 1 1 100%; min-width: 0; }
    .catg-tit { font-size: 18px; }
}
