/* =========================================
          1. 基础视觉系统
          ========================================= */
:root {
    --primary-green: #3D7D56;
    --primary-blue: #1A3A59;
    --accent-gold: #D4AF37;
    --text-main: #2C3E50;
    --text-sub: #606F7B;
    --bg-light: #F9F9F9;
    --font-serif: "Georgia", "Times New Roman", "Songti SC", serif;
    --sidebar-bg: #FFFFFF;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: "Microsoft YaHei", sans-serif; }
body { background-color: var(--bg-light); color: var(--text-main); line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
/* =========================================
          3. 页面主体内容
          ========================================= */
.page-wrapper { padding-top: 70px; }
.container { max-width: 1200px; margin: 0 auto; padding: 40px 20px; }

/* Hero */
.news-hero {
    background: linear-gradient(rgba(15, 32, 53, 0.8), rgba(26, 58, 89, 0.8));
    background-size: cover; background-position: center;
    height: 400px; color: white; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center;
}
.hero-tag { border: 1px solid var(--accent-gold); color: var(--accent-gold); padding: 4px 15px; border-radius: 30px; font-size: 0.8rem; letter-spacing: 2px; margin-bottom: 20px; text-transform: uppercase; }
.hero-title { font-family: var(--font-serif); font-size: 3rem; margin-bottom: 15px; font-weight: bold; text-shadow: 0 5px 15px rgba(0,0,0,0.5); }
.hero-sub { font-size: 1.1rem; max-width: 700px; opacity: 0.9; font-weight: 300; }

/* 1. 封面头条 (Headline) - 独立于筛选，常驻显示 */
.headline-wrapper {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    margin-bottom: 40px;
    display: flex;
    border: 1px solid #eee;
}
.headline-img {
    width: 55%;
    min-height: 400px;
    background: url('https://images.unsplash.com/photo-1576091160550-2187d80a1b9a?q=80&w=2670&auto=format&fit=crop') center/cover;
    position: relative;
}
.headline-tag {
    position: absolute; top: 30px; left: 30px;
    background: var(--primary-green); color: white;
    padding: 6px 16px; font-weight: bold; font-size: 0.8rem; text-transform: uppercase;
}
.headline-content {
    width: 45%;
    padding: 60px 50px;
    display: flex; flex-direction: column; justify-content: center;
}
.headline-date { font-size: 0.9rem; color: #999; margin-bottom: 10px; display: block; }
.headline-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--text-main);
    margin-bottom: 20px;
    line-height: 1.3;
    font-weight: bold;
}
.headline-desc {
    font-size: 1rem; color: var(--text-sub); line-height: 1.7; margin-bottom: 30px;
    text-align: justify;
}
.btn-read {
    display: inline-block;
    border-bottom: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    font-weight: bold;
    padding-bottom: 5px;
    width: fit-content;
}

/* 分类标签 */
.category-bar {
    display: flex; gap: 15px; margin-bottom: 30px; padding-bottom: 15px; border-bottom: 1px solid #eee;
    overflow-x: auto;
}
.cat-btn {
    padding: 8px 20px; border-radius: 20px; color: #666; cursor: pointer;
    transition: 0.3s; font-size: 0.9rem; background: #f5f5f5; border: 1px solid transparent; font-weight: 500; white-space: nowrap;
}
.cat-btn:hover { color: var(--primary-green); background: white; border-color: #ddd; }
.cat-btn.active { background: var(--primary-blue); color: white; border-color: var(--primary-blue); }

/* 动画 */
.fade-in { animation: fadeIn 0.5s ease-in-out; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.hidden { display: none !important; }

/* 主内容布局 */
.main-layout {
    display: grid;
    grid-template-columns: 2.5fr 1fr;
    gap: 40px;
}

/* 左侧文章列表 */
.news-feed { display: flex; flex-direction: column; gap: 30px; }

.news-item {
    background: white;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #eee;
    transition: 0.3s;
    display: flex;
    gap: 25px;
}
.news-item:hover { box-shadow: 0 10px 20px rgba(0,0,0,0.05); border-color: var(--primary-green); }

.news-thumb {
    width: 220px; height: 150px;
    background-color: #eee;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
}

.news-info { flex: 1; display: flex; flex-direction: column; }
.news-meta { font-size: 0.8rem; color: #999; margin-bottom: 8px; display: flex; gap: 15px; }
.news-tag-blue { color: var(--primary-blue); font-weight: bold; }
.news-tag-green { color: var(--primary-green); font-weight: bold; }

.news-title {
    font-size: 1.3rem; font-weight: bold; color: var(--text-main); margin-bottom: 10px; line-height: 1.4;
    font-family: var(--font-serif);
}
.news-excerpt {
    font-size: 0.95rem; color: #666; line-height: 1.6; margin-bottom: 15px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* 右侧侧边栏 */
.sidebar { display: flex; flex-direction: column; gap: 30px; }

.sidebar-widget {
    background: var(--sidebar-bg);
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #eee;
}

.widget-title {
    font-size: 1.1rem; font-weight: bold; color: var(--primary-blue);
    margin-bottom: 20px; padding-bottom: 10px;
    border-bottom: 2px solid var(--accent-gold);
    display: block;
}

/* 政策速递列表 */
.policy-list { list-style: none; padding: 0; }
.policy-list li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #eee;
}
.policy-list li:last-child { border: none; margin-bottom: 0; padding-bottom: 0; }
.policy-date { font-size: 0.75rem; color: #999; display: block; margin-bottom: 3px; }
.policy-link { font-size: 0.95rem; color: #333; font-weight: 500; line-height: 1.4; cursor: pointer; }
.policy-link:hover { color: var(--primary-blue); text-decoration: underline; }

/* 响应式 */
@media screen and (max-width: 1024px) {
    .headline-wrapper { flex-direction: column; }
    .headline-img, .headline-content { width: 100%; }
    .headline-img { height: 300px; min-height: auto; }
    .main-layout { grid-template-columns: 1fr; }
    .sidebar { order: 2; }
}

@media screen and (max-width: 768px) {
    .hero-title {font-size: 1.5rem;}
    .headline-title {font-size: 1.2rem;}
    .news-item { flex-direction: column; }
    .news-thumb { width: 100%; height: 200px; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
}