/* 全局基础样式 */
* { 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%); min-height: 100vh; }
a { color: #2c3e50; text-decoration: none; transition: all 0.3s ease; }
a:hover { color: #e74c3c; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* 首页头部 */
.site-header { background: linear-gradient(to right, #1a2980, #26d0ce); color: white; padding: 20px 0; box-shadow: 0 4px 12px 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: 700; letter-spacing: 2px; text-shadow: 2px 2px 4px rgba(0,0,0,0.3); margin-bottom: 5px; }
.site-slogan { font-size: 1rem; opacity: 0.9; font-style: italic; }
.main-nav { background: rgba(255,255,255,0.15); backdrop-filter: blur(10px); border-radius: 50px; padding: 12px 30px; margin: 0 auto 15px; max-width: 900px; }
.header-decoration { position: absolute; top: 10px; right: 20px; width: 120px; height: 120px; border-radius: 50%; overflow: hidden; border: 4px solid rgba(255,255,255,0.3); }
.decoration-img { width: 100%; height: 100%; object-fit: cover; }

/* 首页主体 */
.home-main { max-width: 1200px; margin: 30px auto; padding: 0 20px; }
.hero-banner { border-radius: 20px; overflow: hidden; margin-bottom: 40px; box-shadow: 0 10px 30px rgba(0,0,0,0.15); }
.banner-inner { background-size: cover; background-position: center; padding: 80px 40px; 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; color: white; text-align: center; }
.banner-content h2 { font-size: 3rem; margin-bottom: 15px; text-shadow: 2px 2px 8px rgba(0,0,0,0.5); }
.banner-content p { font-size: 1.3rem; opacity: 0.9; }
.content-wrapper { background: white; border-radius: 20px; padding: 30px; box-shadow: 0 5px 20px rgba(0,0,0,0.08); }
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 25px; padding-bottom: 15px; border-bottom: 2px solid #3498db; }
.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; }
.section-decoration { width: 60px; height: 60px; border-radius: 10px; overflow: hidden; }
.news-flash-list { background: #f8f9fa; border-radius: 12px; padding: 20px; border-left: 5px solid #e74c3c; }
.news-flash-list li { padding: 10px 0; border-bottom: 1px dashed #ddd; }
.news-flash-list li:last-child { border-bottom: none; }
.news-flash-list a { font-size: 1.05rem; display: block; padding-left: 15px; position: relative; }
.news-flash-list a::before { content: '▶'; position: absolute; left: 0; color: #3498db; }
.layout-columns { display: flex; gap: 30px; margin-top: 40px; }
.col-main { flex: 3; }
.col-sidebar { flex: 1; }
.article-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 25px; }
.grid-item { background: #f8f9fa; border-radius: 12px; overflow: hidden; transition: transform 0.3s, box-shadow 0.3s; }
.grid-item:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.item-img { height: 180px; overflow: hidden; }
.item-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.grid-item:hover .item-img img { transform: scale(1.05); }
.item-content { padding: 15px; }
.item-content a { font-size: 1.1rem; font-weight: 600; display: block; margin-bottom: 10px; }
.item-meta { display: flex; justify-content: space-between; font-size: 0.85rem; color: #7f8c8d; }
.recommend-list { background: linear-gradient(145deg, #ffffff, #f0f0f0); border-radius: 15px; padding: 20px; border: 1px solid #e0e0e0; }
.recommend-item { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid #eee; }
.recommend-item:last-child { border-bottom: none; }
.rec-category { background: #9b59b6; color: white; padding: 3px 10px; border-radius: 20px; font-size: 0.8rem; }
.sidebar-widget { background: white; border-radius: 15px; padding: 20px; margin-bottom: 25px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.widget-title { font-size: 1.3rem; color: #2c3e50; margin-bottom: 15px; padding-bottom: 10px; border-bottom: 2px solid #f1c40f; }
.scroll-news-box { height: 300px; overflow: hidden; position: relative; }
.scroll-item { padding: 10px 0; border-bottom: 1px dotted #ddd; }
.scroll-item a { display: block; padding-left: 12px; position: relative; }
.scroll-item a::before { content: '●'; position: absolute; left: 0; color: #2ecc71; font-size: 0.8rem; }
.category-nav li { margin-bottom: 10px; }
.category-nav a { display: block; padding: 10px 15px; background: #ecf0f1; border-radius: 8px; }
.category-nav a:hover { background: #3498db; color: white; }
.sidebar-decoration { margin-top: 20px; border-radius: 12px; overflow: hidden; height: 150px; }

/* 首页尾部 */
.site-footer { background: linear-gradient(to right, #2c3e50, #4a6491); color: #bdc3c7; padding: 40px 0 20px; margin-top: 50px; }
.footer-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.footer-links { display: flex; justify-content: space-around; flex-wrap: wrap; margin-bottom: 30px; }
.links-section { flex: 1; min-width: 250px; margin: 15px; }
.links-section h4 { color: white; font-size: 1.2rem; margin-bottom: 15px; padding-bottom: 8px; border-bottom: 1px solid #7f8c8d; }
.links-section ul li { margin-bottom: 8px; }
.links-section a { color: #bdc3c7; }
.links-section a:hover { color: #1abc9c; }
.footer-info { text-align: center; padding-top: 20px; border-top: 1px solid #34495e; font-size: 0.9rem; line-height: 1.8; }
.footer-decoration { text-align: center; margin-top: 20px; }
.footer-decoration img { max-height: 80px; border-radius: 10px; opacity: 0.7; }

/* 列表页 */
.list-page-container { max-width: 1200px; margin: 30px auto; padding: 0 20px; }
.list-page-header { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; padding: 30px; border-radius: 20px; margin-bottom: 30px; position: relative; overflow: hidden; }
.breadcrumb { font-size: 0.9rem; margin-bottom: 15px; }
.breadcrumb a { color: #dfe6e9; }
.category-link { color: #fdcb6e; font-weight: bold; }
.page-title-area { display: flex; align-items: center; justify-content: space-between; }
.page-title { font-size: 2.5rem; margin-bottom: 10px; }
.title-decoration { width: 100px; height: 100px; border-radius: 50%; overflow: hidden; border: 4px solid rgba(255,255,255,0.3); }
.page-description { font-size: 1.1rem; opacity: 0.9; max-width: 800px; }
.list-content-wrapper { display: flex; gap: 30px; }
.list-filter { background: white; border-radius: 10px; padding: 15px 20px; margin-bottom: 25px; box-shadow: 0 3px 10px rgba(0,0,0,0.05); }
.list-filter a { display: inline-block; margin-right: 20px; padding: 5px 15px; border-radius: 20px; }
.filter-active { background: #3498db; color: white; }
.article-list-main { flex: 3; }
.list-article { display: flex; background: white; border-radius: 15px; overflow: hidden; margin-bottom: 25px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); transition: transform 0.3s; }
.list-article:hover { transform: translateX(5px); }
.article-thumb { flex: 0 0 250px; overflow: hidden; }
.article-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.list-article:hover .article-thumb img { transform: scale(1.05); }
.article-body { flex: 1; padding: 25px; }
.article-title { font-size: 1.5rem; margin-bottom: 12px; }
.article-excerpt { color: #636e72; margin-bottom: 15px; line-height: 1.7; }
.article-meta { display: flex; gap: 20px; font-size: 0.9rem; color: #7f8c8d; }
.meta-category a { background: #e74c3c; color: white; padding: 3px 10px; border-radius: 12px; }
.list-pagination { margin-top: 40px; text-align: center; }
.pagelist { display: inline-flex; background: white; border-radius: 50px; padding: 10px 20px; box-shadow: 0 5px 15px rgba(0,0,0,0.08); }
.pagelist li { margin: 0 5px; }
.pagelist a { display: block; width: 40px; height: 40px; line-height: 40px; border-radius: 50%; text-align: center; }
.pagelist a:hover { background: #3498db; color: white; }
.list-side-content { flex: 1; }
.side-block { background: white; border-radius: 15px; padding: 20px; margin-bottom: 25px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.side-block h4 { font-size: 1.3rem; color: #2c3e50; margin-bottom: 15px; padding-bottom: 10px; border-bottom: 2px solid #9b59b6; }
.side-item { padding: 10px 0; border-bottom: 1px dashed #ddd; }
.side-item:last-child { border-bottom: none; }
.side-item a { display: block; padding-left: 15px; position: relative; }
.side-item a::before { content: '›'; position: absolute; left: 0; color: #3498db; }
.side-decoration { border-radius: 12px; overflow: hidden; height: 200px; margin-top: 20px; }

/* 详情页 */
.detail-page-container { max-width: 1200px; margin: 30px auto; padding: 0 20px; display: flex; gap: 40px; }
.detail-header { margin-bottom: 20px; }
.breadcrumb { font-size: 0.95rem; }
.article-detail { flex: 3; background: white; border-radius: 20px; padding: 30px; box-shadow: 0 10px 30px rgba(0,0,0,0.08); }
.article-info { margin-bottom: 25px; }
.cat-link { display: inline-block; background: #1abc9c; color: white; padding: 5px 15px; border-radius: 20px; font-size: 0.9rem; margin-bottom: 15px; }
.article-title { font-size: 2.2rem; color: #2c3e50; margin-bottom: 15px; line-height: 1.3; }
.article-meta { display: flex; gap: 25px; color: #7f8c8d; font-size: 0.95rem; margin-bottom: 20px; }
.article-ad { background: #f8f9fa; border-radius: 10px; padding: 15px; text-align: center; margin: 25px 0; border: 1px dashed #bdc3c7; }
.article-content { font-size: 1.1rem; line-height: 1.8; color: #2d3436; }
.article-content p { margin-bottom: 1.2em; }
.article-tags { margin: 30px 0; }
.article-tags a { display: inline-block; background: #dfe6e9; color: #2d3436; padding: 5px 15px; border-radius: 20px; margin-right: 10px; font-size: 0.9rem; }
.article-tags a:hover { background: #74b9ff; color: white; }
.article-nav { display: flex; justify-content: space-between; background: #f8f9fa; padding: 20px; border-radius: 15px; margin: 30px 0; border-left: 5px solid #3498db; }
.article-nav a { flex: 1; text-align: center; padding: 10px; position: relative; }
.article-nav a:first-child::before { content: '← 上一篇'; position: absolute; top: -20px; left: 10px; font-size: 0.8rem; color: #7f8c8d; }
.article-nav a:last-child::before { content: '下一篇 →'; position: absolute; top: -20px; right: 10px; font-size: 0.8rem; color: #7f8c8d; }
.u-back-list { display: inline-block; background: linear-gradient(to right, #3498db, #2ecc71); color: white; padding: 12px 30px; border-radius: 30px; font-weight: bold; text-align: center; margin-top: 20px; }
.u-back-list:hover { transform: translateY(-3px); box-shadow: 0 7px 15px rgba(52, 152, 219, 0.4); }
.detail-sidebar { flex: 1; }
.related-articles { background: #f8f9fa; border-radius: 15px; padding: 20px; }
.related-item { padding: 12px 0; border-bottom: 1px solid #ddd; }
.related-item:last-child { border-bottom: none; }
.related-item a { font-weight: 600; display: block; margin-bottom: 5px; }
.related-meta { font-size: 0.85rem; color: #7f8c8d; }
.sidebar-decoration { margin-top: 25px; border-radius: 12px; overflow: hidden; height: 180px; }

/* 响应式 */
@media (max-width: 992px) {
    .layout-columns, .list-content-wrapper, .detail-page-container { flex-direction: column; }
    .article-grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
    .list-article { flex-direction: column; }
    .article-thumb { flex: 0 0 200px; }
    .page-title { font-size: 2rem; }
    .hero-banner { padding: 50px 20px
