:root {
    --primary-color: #198754;
    --bg-color: #f4f7f6;
    --text-color: #333;
}
body{
  font-family: "PingFang SC","Microsoft YaHei",-apple-system,sans-serif;
  background: var(--bg-color);
  color: var(--text-color);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: var(--text-color); transition: .25s; }
a:hover { color: var(--primary-color); }

/* Header */
.site-header { background: var(--primary-color); box-shadow: 0 2px 10px rgba(0,0,0,.1); }
.navbar-brand { font-weight: 800; font-size: 1.5rem; }
.nav-link { color: rgba(255,255,255,.85)!important; margin: 0 .4rem; }
.nav-link:hover, .nav-link.active { color: #fff!important; font-weight: 500; }

/* Featured */
.featured-card { background: #fff; border-radius: 12px; border: none; }
.featured-main h2 { font-size: 1.6rem; font-weight: 700; margin-top: 10px; }
.featured-main a { color: #000; }
.featured-main a:hover { color: var(--primary-color); }
.featured-sub li { padding: .7rem 0; border-bottom: 1px solid #eee; }
.featured-sub li:last-child { border-bottom: none; }
/* PC端保留左边框，移动端去除 */
@media (min-width: 768px) {
    .featured-sub { border-left: 1px solid #eee; }
}

/* Article */
.article-item { background: #fff; padding: 1.5rem; border-radius: 10px; margin-bottom: 1rem; transition: .25s; border: none; }
.article-item:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,.08)!important; }
.article-item h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: .5rem; }
.tag-badge { font-size: .75rem; background: #e9ecef; border-radius: 4px; padding: 2px 8px; margin-right: 8px; color: #666; }

/* Sidebar & Lists */
.sidebar-box { background: #fff; padding: 1.25rem; border-radius: 10px; margin-bottom: 1.5rem; border: none; }
.sidebar-title { font-weight: 700; font-size: 1.05rem; margin-bottom: 1rem; padding-left: 10px; border-left: 4px solid var(--primary-color); }

.hot-list { counter-reset: hot; }
.hot-list li { display: flex; align-items: baseline; margin-bottom: .7rem; line-height: 1.4; }
.hot-list li::before {
    counter-increment: hot;
    content: counter(hot);
    font-weight: bold;
    color: #adb5bd;
    margin-right: .8rem;
    font-style: italic;
    width: 15px;
}
.hot-list li:nth-child(1)::before { color: #dc3545; }
.hot-list li:nth-child(2)::before { color: #fd7e14; }
.hot-list li:nth-child(3)::before { color: #ffc107; }

/* Strategic & Friends */
.strategic-box { background: #fff; padding: 1.75rem 1.5rem; border-radius: 12px; border: 1px solid rgba(25,135,84,.15); }
.strategic-item { padding: 1rem; border-radius: 8px; background: #f8faf9; border: 1px solid #e9ecef; transition: .25s; text-align: center; }
.strategic-item:hover { transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0,0,0,.05); border-color: var(--primary-color); }
.strategic-logo,.strategic-logo a { font-weight: 700; color: var(--primary-color); }

.friend-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 10px; }
.friend-links a { display: block; background: #f8f9fa; padding: 6px 10px; font-size: 0.85rem; color: #666; text-align: center; border-radius: 4px; }
.friend-links a:hover { background: var(--primary-color); color: #fff; }

/* Footer */
footer { background: #343a40; color: #adb5bd; padding: 3rem 0; margin-top: 4rem; font-size: 0.9rem; }
footer a { color: #ced4da; }
footer a:hover { color: #fff; }

