/* 基础重置与全局样式 */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif; line-height: 1.6; color: #333; background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%); background-attachment: fixed; }
a { text-decoration: none; color: #2c3e50; transition: all 0.3s ease; }
a:hover { color: #e74c3c; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }

/* 首页头部 */
.site-header { background: linear-gradient(to right, #1a2980, #26d0ce); padding: 20px 0; box-shadow: 0 4px 20px rgba(0,0,0,0.1); position: relative; overflow: hidden; }
.header-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; position: relative; }
.logo-area { text-align: center; margin-bottom: 15px; }
.logo-link { display: inline-block; }
.logo-text { font-size: 2.8rem; font-weight: 800; color: white; text-shadow: 2px 2px 4px rgba(0,0,0,0.3); letter-spacing: 1px; }
.site-slogan { font-size: 1.1rem; color: rgba(255,255,255,0.85); margin-top: 5px; font-style: italic; }
.main-nav { background: rgba(255,255,255,0.95); border-radius: 10px; padding: 12px 20px; box-shadow: 0 3px 15px rgba(0,0,0,0.08); }
.header-decoration { position: absolute; top: 10px; right: 20px; width: 120px; opacity: 0.7; }
.decoration-img { border-radius: 10px; box-shadow: 0 4px 8px rgba(0,0,0,0.2); }

/* 首页主体 */
.home-main { padding: 30px 0; }
.hero-banner { margin-bottom: 40px; border-radius: 15px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.15); }
.banner-inner { background-size: cover; background-position: center; padding: 80px 20px; position: relative; }
.banner-inner::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.4); }
.banner-content { position: relative; z-index: 2; text-align: center; color: white; }
.banner-content h2 { font-size: 3rem; margin-bottom: 15px; text-shadow: 2px 2px 5px rgba(0,0,0,0.5); }
.banner-content p { font-size: 1.3rem; opacity: 0.9; }
.content-wrapper { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 25px; border-bottom: 2px solid #3498db; padding-bottom: 10px; }
.section-title { font-size: 1.8rem; color: #2c3e50; position: relative; }
.section-title span { background: linear-gradient(to right, #3498db, #2ecc71); -webkit-background-clip: text; -webkit-text-fill-color: transparent; padding-right: 15px; }
.section-decoration { width: 60px; }
.article-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 25px; margin-bottom: 40px; }
.grid-item { background: white; border-radius: 12px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.08); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.grid-item:hover { transform: translateY(-8px); box-shadow: 0 12px 25px rgba(0,0,0,0.15); }
.item-inner { height: 100%; display: flex; flex-direction: column; }
.item-img { height: 180px; background-size: cover; background-position: center; }
.item-content { padding: 20px; flex-grow: 1; }
.item-content h4 { font-size: 1.2rem; margin-bottom: 10px; color: #2c3e50; line-height: 1.4; }
.item-meta { display: flex; justify-content: space-between; font-size: 0.85rem; color: #7f8c8d; margin-top: 15px; }
.home-layout-columns { display: grid; grid-template-columns: 2fr 1fr; gap: 30px; margin-top: 40px; }
.news-list-container { background: white; border-radius: 10px; padding: 20px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.news-list li { padding: 12px 0; border-bottom: 1px dashed #eee; display: flex; justify-content: space-between; align-items: center; }
.news-list li:last-child { border-bottom: none; }
.news-date { font-size: 0.85rem; color: #95a5a6; }
.recommend-list { display: grid; gap: 15px; }
.recommend-item { background: white; border-radius: 10px; overflow: hidden; box-shadow: 0 3px 10px rgba(0,0,0,0.05); display: flex; }
.recommend-img { width: 100px; height: 100px; background-size: cover; background-position: center; flex-shrink: 0; }
.recommend-info { padding: 15px; flex-grow: 1; }
.recommend-info h5 { font-size: 1rem; margin-bottom: 5px; }
.recommend-info p { font-size: 0.85rem; color: #7f8c8d; }
.ranking-section { background: white; border-radius: 10px; padding: 20px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); margin-bottom: 25px; }
.ranking-list li { padding: 12px 0; border-bottom: 1px solid #f1f1f1; display: flex; align-items: center; }
.rank-index { display: inline-block; width: 26px; height: 26px; background: linear-gradient(45deg, #ff6b6b, #ee5a24); color: white; border-radius: 50%; text-align: center; line-height: 26px; margin-right: 12px; font-size: 0.9rem; }
.rank-title { flex-grow: 1; }
.category-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.category-tag { background: linear-gradient(45deg, #3498db, #2ecc71); color: white; padding: 8px 15px; border-radius: 20px; font-size: 0.9rem; }
.category-tag:hover { background: linear-gradient(45deg, #2980b9, #27ae60); color: white; transform: scale(1.05); }
.sidebar-decoration { margin-top: 20px; border-radius: 10px; overflow: hidden; }

/* 首页尾部 */
.site-footer { background: linear-gradient(to right, #2c3e50, #4a6491); color: #ecf0f1; padding: 40px 0 20px; margin-top: 50px; }
.footer-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.footer-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; margin-bottom: 30px; }
.links-section h4 { font-size: 1.2rem; margin-bottom: 15px; color: #3498db; border-left: 4px solid #3498db; padding-left: 10px; }
.links-section ul li { margin-bottom: 10px; }
.links-section ul li a { color: #bdc3c7; }
.links-section ul li a:hover { color: #3498db; padding-left: 5px; }
.footer-info { border-top: 1px solid #4a6491; padding-top: 20px; text-align: center; }
.copyright p { margin-bottom: 8px; color: #95a5a6; }
.footer-decoration { width: 100px; margin: 15px auto 0; opacity: 0.6; }

/* 列表页 */
.list-page-container { max-width: 1200px; margin: 30px auto; padding: 0 20px; }
.list-page-header { background: white; border-radius: 12px; padding: 25px; box-shadow: 0 5px 20px rgba(0,0,0,0.08); margin-bottom: 30px; }
.breadcrumb { font-size: 0.95rem; color: #7f8c8d; margin-bottom: 15px; }
.breadcrumb a { color: #3498db; }
.page-title-area { display: flex; align-items: center; justify-content: space-between; margin-bottom: 15px; }
.page-title { font-size: 2.2rem; color: #2c3e50; background: linear-gradient(to right, #3498db, #2ecc71); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.title-decoration { width: 80px; }
.page-description { color: #7f8c8d; font-size: 1.05rem; line-height: 1.6; }
.list-content-wrapper { display: grid; grid-template-columns: 2fr 1fr; gap: 30px; }
.list-main-content { background: white; border-radius: 12px; padding: 25px; box-shadow: 0 5px 20px rgba(0,0,0,0.08); }
.list-header-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; padding-bottom: 15px; border-bottom: 1px solid #eee; }
.total-count { font-size: 1rem; color: #7f8c8d; }
.view-toggle { display: flex; gap: 10px; }
.view-btn { padding: 6px 15px; border: 1px solid #ddd; background: white; border-radius: 4px; cursor: pointer; }
.view-btn.active { background: #3498db; color: white; border-color: #3498db; }
.article-list { margin-bottom: 30px; }
.list-item { display: flex; padding: 20px 0; border-bottom: 1px solid #f1f1f1; }
.list-item:last-child { border-bottom: none; }
.item-media { width: 200px; flex-shrink: 0; margin-right: 20px; }
.media-img { height: 120px; background-size: cover; background-position: center; border-radius: 8px; }
.item-body { flex-grow: 1; }
.item-title { font-size: 1.3rem; margin-bottom: 10px; }
.item-excerpt { color: #666; margin-bottom: 15px; line-height: 1.5; }
.item-meta { display: flex; align-items: center; gap: 15px; font-size: 0.9rem; color: #95a5a6; }
.item-category { background: #f1f8ff; color: #3498db; padding: 3px 10px; border-radius: 4px; }
.pagination-container { text-align: center; margin-top: 30px; }
.pagelist { display: inline-flex; gap: 8px; }
.pagelist li a { display: block; padding: 8px 15px; background: white; border: 1px solid #ddd; border-radius: 4px; }
.pagelist li a:hover { background: #3498db; color: white; border-color: #3498db; }
.list-sidebar { background: white; border-radius: 12px; padding: 25px; box-shadow: 0 5px 20px rgba(0,0,0,0.08); align-self: start; }
.sidebar-widget { margin-bottom: 30px; }
.widget-header { border-bottom: 2px solid #3498db; padding-bottom: 10px; margin-bottom: 15px; }
.widget-title { font-size: 1.3rem; color: #2c3e50; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.tag-item { background: #f1f8ff; color: #3498db; padding: 6px 12px; border-radius: 15px; font-size: 0.9rem; }
.tag-item:hover { background: #3498db; color: white; }
.hot-list { display: grid; gap: 12px; }
.hot-item { display: flex; align-items: center; padding: 10px; background: #f9f9f9; border-radius: 8px; }
.hot-rank { width: 36px; height: 36px; background: linear-gradient(45deg, #ff6b6b, #ee5a24); color: white; border-radius: 50%; text-align: center; line-height: 36px; margin-right: 12px; flex-shrink: 0; }
.hot-content h5 { font-size: 0.95rem; margin-bottom: 3px; }
.hot-content p { font-size: 0.85rem; color: #95a5a6; }

/* 详情页 */
.detail-page-container { max-width: 1200px; margin: 30px auto; padding: 0 20px; display: grid; grid-template-columns: 2fr 1fr; gap: 30px; }
.detail-header { grid-column: 1 / -1; }
.breadcrumb { font-size: 0.95rem; color: #7f8c8d; margin-bottom: 20px; }
.article-detail { background: white; border-radius: 12px; padding: 30px; box-shadow: 0 5px 25px rgba(0,0,0,
