/* news — 新闻归档/详情样式 */
.logo a{color:#fff;}
.page-banner{background:var(--primary);color:#fff;padding:60px 0;}
.news-layout{display:grid;grid-template-columns:1fr 300px;gap:40px;}
@media(max-width:1024px){
  .news-layout{grid-template-columns:1fr;}
}
.news-card{background:#fff;border-radius:6px;overflow:hidden;box-shadow:0 2px 12px #00000014;margin-bottom:30px;}
.news-img{height:220px;background:#ccc;display:flex;align-items:center;justify-content:center;color:#777;}
.news-body{padding:24px;}
.news-meta{display:flex;gap:16px;margin-bottom:12px;font-size:13px;color:var(--text-gray);}
.news-category{background:rgba(245,166,35,0.15);color:var(--accent);padding:4px 10px;border-radius:4px;font-weight:600;}
.news-body h2{font-size:22px;margin-bottom:12px;color:var(--dark);line-height:1.4;}
.news-body h2 a:hover{color:var(--accent);}
.news-body p{color:var(--text-gray);line-height:1.7;margin-bottom:16px;}
.read-more{color:var(--accent);font-weight:600;font-size:14px;}
.read-more:hover{text-decoration:underline;}
.sidebar-widget{background:#fff;padding:24px;border-radius:6px;box-shadow:0 2px 12px #00000014;margin-bottom:24px;}
.sidebar-widget h3{font-size:18px;margin-bottom:16px;padding-bottom:12px;border-bottom:2px solid var(--accent);color:var(--dark);}
.category-list{list-style:none;}
.category-list li{padding:10px 0;border-bottom:1px solid #eee;}
.category-list li:last-child{border-bottom:none;}
.category-list a{display:flex;justify-content:space-between;font-size:14px;color:var(--text-dark);}
.category-list a:hover{color:var(--accent);}
.category-list .count{background:var(--light);padding:2px 10px;border-radius:10px;font-size:12px;}
.recent-post{display:flex;gap:12px;padding:12px 0;border-bottom:1px solid #eee;}
.recent-post:last-child{border-bottom:none;}
.recent-thumb{width:60px;height:60px;background:#ccc;border-radius:4px;flex-shrink:0;display:flex;align-items:center;justify-content:center;font-size:10px;color:#777;}
.recent-post h4{font-size:14px;font-weight:600;line-height:1.4;margin-bottom:4px;}
.recent-post h4 a:hover{color:var(--accent);}
.recent-post .date{font-size:12px;color:var(--text-gray);}
.pagination{display:flex;justify-content:center;gap:8px;margin-top:30px;}
.pagination a{width:40px;height:40px;display:flex;align-items:center;justify-content:center;border:1px solid #ddd;border-radius:4px;font-size:14px;font-weight:600;color:var(--text-dark);}
.pagination a:hover,.pagination a.active{background:var(--accent);color:#fff;border-color:var(--accent);}
