/* 
 * 健康参考报 - 统一样式表
 * 风格：数字报纸、权威期刊、厚重、严谨
 * 配色：#8e0000 (报刊红), #333333 (墨迹黑), #fdfdfd (纸张白), #555555 (辅助灰)
 */

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: "Georgia", "Times New Roman", "Source Han Serif SC", "Noto Serif CJK SC", "SimSun", serif; font-size: 16px; color: #333; line-height: 1.8; background-color: #f4f1ea; }
a { text-decoration: none; color: #222; transition: 0.2s; }
a:hover { color: #8e0000; text-decoration: underline; }
ul { list-style: none; }
img { max-width: 100%; height: auto; border: 1px solid #ddd; padding: 4px; background: #fff; }

.container { width: 1100px; margin: 0 auto; background: #fff; box-shadow: 0 0 20px rgba(0,0,0,0.1); padding: 0 40px; }
.clearfix::after { content: ""; display: block; clear: both; }

/* 报头样式 */
.newspaper-header { padding-top: 30px; border-bottom: 4px double #333; margin-bottom: 5px; text-align: center; }
.header-info { display: flex; justify-content: space-between; font-size: 13px; color: #666; border-bottom: 1px solid #eee; padding-bottom: 10px; margin-bottom: 20px; font-family: sans-serif; }

.logo-area h1 { font-size: 64px; font-weight: 900; color: #8e0000; letter-spacing: 10px; margin-bottom: 10px; font-family: "SimSun", serif; }
.logo-area p { font-size: 14px; color: #555; text-transform: uppercase; letter-spacing: 4px; margin-bottom: 20px; }

/* 导航 - 经典报纸通栏 */
.nav-wrap { border-top: 1px solid #333; border-bottom: 1px solid #333; margin-bottom: 30px; }
.nav { display: flex; justify-content: center; flex-wrap: wrap; }
.nav li a { display: block; padding: 10px 20px; font-size: 18px; font-weight: bold; color: #333; }
.nav li a:hover, .nav li.active a { color: #fff; background: #8e0000; }

/* 首页排版布局 */
.newspaper-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; border-bottom: 1px solid #eee; padding-bottom: 30px; }

/* 头条区域 */
.headline-box { border-bottom: 2px solid #333; padding-bottom: 30px; margin-bottom: 30px; }
.headline-box h2 { font-size: 36px; line-height: 1.2; margin-bottom: 15px; color: #000; text-align: center; }
.headline-box .meta { text-align: center; font-size: 14px; color: #888; margin-bottom: 20px; }
.headline-content { display: flex; gap: 20px; }
.headline-img { width: 350px; flex-shrink: 0; }
.headline-text { flex: 1; font-size: 16px; color: #444; }

/* 栏目版块 */
.section-box { margin-bottom: 40px; }
.section-title { border-bottom: 2px solid #8e0000; margin-bottom: 20px; display: flex; justify-content: space-between; align-items: flex-end; }
.section-title h3 { background: #8e0000; color: #fff; padding: 5px 20px; font-size: 18px; }
.section-title .more { font-size: 13px; color: #999; padding-bottom: 5px; }

.article-list li { border-bottom: 1px dashed #ddd; padding: 12px 0; display: flex; justify-content: space-between; }
.article-list li span { color: #999; font-size: 13px; font-family: sans-serif; }

/* 侧边栏 - 导读风格 */
.sidebar-mod { background: #f9f9f9; padding: 20px; border: 1px solid #eee; margin-bottom: 30px; }
.sidebar-mod h4 { font-size: 20px; border-bottom: 1px solid #333; padding-bottom: 10px; margin-bottom: 15px; text-align: center; }
.rank-list li { margin-bottom: 15px; border-bottom: 1px solid #eee; padding-bottom: 10px; }
.rank-list li a { font-weight: bold; font-size: 15px; }

/* 列表页样式 */
.list-wrap { padding: 40px 0; }
.breadcrumb { font-size: 14px; color: #888; margin-bottom: 30px; border-bottom: 1px solid #eee; padding-bottom: 10px; }
.list-item { display: flex; gap: 30px; padding: 30px 0; border-bottom: 1px solid #eee; }
.list-item-img { width: 240px; flex-shrink: 0; }
.list-item-content { flex: 1; }
.list-item-content h2 { font-size: 24px; margin-bottom: 15px; }
.list-item-content p { color: #666; font-size: 15px; margin-bottom: 15px; height: 72px; overflow: hidden; }

/* 分页 */
.pagination { text-align: center; margin-top: 50px; padding: 20px 0; border-top: 1px solid #333; }
.pagination li { display: inline-block; margin: 0 5px; }
.pagination a, .pagination span { border: 1px solid #ddd; padding: 8px 16px; background: #fff; font-family: sans-serif; }
.pagination .thisclass { background: #8e0000; color: #fff; border-color: #8e0000; }

/* 内容页样式 */
.article-wrap { max-width: 800px; margin: 0 auto; padding: 60px 0; }
.article-header { text-align: center; margin-bottom: 50px; border-bottom: 1px solid #333; padding-bottom: 30px; }
.article-header h1 { font-size: 42px; line-height: 1.3; margin-bottom: 20px; color: #000; }
.article-meta { font-size: 14px; color: #666; font-family: sans-serif; }
.article-meta span { margin: 0 15px; }

.article-body { font-size: 18px; color: #222; text-align: justify; }
.article-body p { margin-bottom: 30px; text-indent: 2em; }
.article-body img { display: block; margin: 30px auto; max-width: 100%; }

/* 脚注/版权 */
.newspaper-footer { border-top: 4px double #333; margin-top: 50px; padding: 40px 0; text-align: center; }
.footer-links { margin-bottom: 20px; font-weight: bold; }
.footer-links a { margin: 0 15px; }
.copyright { font-size: 13px; color: #666; line-height: 2; font-family: sans-serif; }

/* 搜索框 */
.search-area { position: absolute; right: 40px; top: 35px; }
.search-form { display: flex; border: 1px solid #333; }
.search-form input { border: none; padding: 5px 10px; outline: none; width: 150px; }
.search-form button { background: #333; color: #fff; border: none; padding: 5px 15px; cursor: pointer; }
