/* 基础重置与全局样式 */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: "Microsoft YaHei", Arial, sans-serif; background-color: #f4f5f7; color: #333; line-height: 1.6; }
a { text-decoration: none; color: #333; transition: color 0.3s; }
a:hover { color: #e60012; }
ul, li { list-style: none; }
.container { width: 1200px; margin: 0 auto; overflow: hidden; }

/* 顶部 Header */
.header { background-color: #fff; border-bottom: 3px solid #e60012; padding-top: 25px; }
.top-bar { display: flex; justify-content: space-between; align-items: center; padding-bottom: 20px; }
.logo h1 a { font-size: 36px; color: #e60012; font-style: italic; font-weight: 900; letter-spacing: 2px; }
.search-box { display: flex; }
.search-box input { padding: 10px; width: 260px; border: 1px solid #ddd; border-radius: 4px 0 0 4px; outline: none; }
.search-box button { padding: 10px 20px; background: #e60012; color: #fff; border: none; border-radius: 0 4px 4px 0; cursor: pointer; font-size: 14px; }

/* 导航栏 */
.nav { background-color: #e60012; }
.nav ul { display: flex; }
.nav li { position: relative; }
.nav a { color: #fff; font-size: 16px; display: block; padding: 15px 30px; font-weight: bold; }
.nav a:hover, .nav .current a { background-color: #cc0010; color: #ffd700; }

/* 主体布局 */
.main { display: flex; justify-content: space-between; margin-top: 25px; }
.content-left { width: 850px; }
.sidebar { width: 320px; }

/* 通用区块样式 */
.section { background: #fff; padding: 25px; margin-bottom: 25px; border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,0.03); }
.section-title { font-size: 22px; border-bottom: 2px solid #e60012; padding-bottom: 12px; margin-bottom: 20px; font-weight: bold; color: #e60012; display: flex; justify-content: space-between; align-items: baseline; position: relative; }
.section-title::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 80px; height: 2px; background: #e60012; }
.section-title span a { font-size: 14px; color: #999; font-weight: normal; }
.section-title span a:hover { color: #e60012; }

/* 头条区域 */
.headline { margin-bottom: 25px; text-align: center; background: #fafafa; padding: 20px; border-radius: 6px; }
.headline h2 a { font-size: 28px; color: #e60012; font-weight: bold; line-height: 1.4; }
.headline p { color: #666; margin-top: 15px; font-size: 15px; text-align: left; text-indent: 2em; }

/* 图文资讯 */
.pic-news { display: flex; flex-wrap: wrap; gap: 20px; }
.pic-news li { width: calc(33.333% - 13.5px); }
.pic-news img { width: 100%; height: 170px; object-fit: cover; border-radius: 6px; transition: transform 0.3s; }
.pic-news li:hover img { transform: scale(1.03); }
.pic-news p { text-align: center; margin-top: 10px; font-size: 15px; font-weight: bold; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* 新闻列表 */
.news-list li { padding: 15px 0; border-bottom: 1px dashed #eee; display: flex; justify-content: space-between; align-items: center; }
.news-list li a { font-size: 16px; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-right: 20px; }
.news-list li span { color: #999; font-size: 14px; }
.news-list li::before { content: "■"; color: #e60012; margin-right: 10px; font-size: 12px; }

/* 侧边栏列表 (排行榜) */
.hot-list li { padding: 12px 0; border-bottom: 1px dashed #eee; display: flex; align-items: center; }
.hot-list li i { display: inline-block; width: 22px; height: 22px; background: #e0e0e0; color: #fff; text-align: center; line-height: 22px; border-radius: 4px; margin-right: 12px; font-size: 13px; font-style: normal; font-weight: bold; }
.hot-list li:nth-child(1) i { background: #e60012; }
.hot-list li:nth-child(2) i { background: #ff6600; }
.hot-list li:nth-child(3) i { background: #ffb400; }
.hot-list a { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 15px; }

/* 底部 Footer */
.footer { background: #222; color: #888; text-align: center; padding: 40px 0; margin-top: 40px; }
.footer p { margin-bottom: 15px; }
.footer a { color: #aaa; margin: 0 10px; }
.footer a:hover { color: #fff; }