/* 全局重置与高端留白 */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", sans-serif; color: #2c3e50; background-color: #f8f9fa; line-height: 1.6; }
a { color: #34495e; text-decoration: none; transition: all 0.3s ease; }
a:hover { color: #007bff; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* 极简头部 */
.site-header { background: #ffffff; box-shadow: 0 2px 15px rgba(0,0,0,0.03); position: sticky; top: 0; z-index: 1000; }
.header-flex { display: flex; justify-content: space-between; align-items: center; height: 80px; }
.logo h1 a { font-size: 24px; font-weight: 700; color: #1a1a1a; letter-spacing: -0.5px; }
.site-nav ul { display: flex; list-style: none; gap: 30px; }
.site-nav ul li { font-weight: 500; }

/* 科技感大屏 */
.hero-section { background: linear-gradient(135deg, #111936 0%, #1f2d5a 100%); color: #ffffff; padding: 90px 0; text-align: center; }
.hero-section h2 { font-size: 38px; margin-bottom: 20px; font-weight: 800; letter-spacing: 0.5px; }
.hero-section p { font-size: 16px; opacity: 0.8; max-width: 750px; margin: 0 auto 30px; }
.btn-primary { display: inline-block; background: #007bff; color: #ffffff; padding: 12px 35px; border-radius: 50px; font-weight: 600; box-shadow: 0 4px 15px rgba(0,123,255,0.3); }
.btn-primary:hover { background: #0056b3; }

/* 响应式双栏 */
.main-layout { display: flex; gap: 40px; margin: 40px auto 60px; }
.content-left { flex: 1; }
.sidebar { width: 300px; }

/* 高级感无框信息流 */
.section-title { font-size: 22px; margin-bottom: 25px; border-left: 4px solid #007bff; padding-left: 12px; font-weight: 700; }
.section-title span { font-size: 14px; color: #bbb; font-weight: 400; }
.post-item { background: #ffffff; padding: 25px; border-radius: 10px; margin-bottom: 20px; box-shadow: 0 4px 20px rgba(0,0,0,0.015); transition: transform 0.3s; }
.post-item:hover { transform: translateY(-3px); }
.post-content h3 { font-size: 19px; margin-bottom: 10px; font-weight: 600; }
.post-desc { font-size: 14px; color: #7f8c8d; margin-bottom: 15px; text-align: justify; }
.post-meta { font-size: 12px; color: #95a5a6; display: flex; gap: 20px; }

/* 侧边栏和分页 */
.widget { background: #ffffff; padding: 25px; border-radius: 10px; box-shadow: 0 4px 20px rgba(0,0,0,0.015); margin-bottom: 30px; }
.widget h3 { font-size: 16px; margin-bottom: 15px; border-bottom: 1px solid #f1f2f6; padding-bottom: 10px; font-weight: 700; }
.widget ul { list-style: none; }
.widget ul li { margin-bottom: 12px; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.page-banner { background: #f1f2f6; padding: 40px 0; text-align: center; }
.breadcrumb { font-size: 13px; color: #7f8c8d; margin-top: 5px; }
.pagination { text-align: center; margin-top: 40px; font-size: 14px; }

/* 详情页极致排版 */
.single-layout { max-width: 880px; margin: 40px auto; background: #ffffff; padding: 50px 40px; border-radius: 12px; box-shadow: 0 10px 40px rgba(0,0,0,0.02); }
.article-title { font-size: 30px; font-weight: 700; line-height: 1.4; margin-bottom: 20px; color: #1a1a1a; }
.article-meta { display: flex; gap: 20px; color: #95a5a6; font-size: 13px; margin-bottom: 35px; border-bottom: 1px solid #eee; padding-bottom: 15px; }
.article-body { font-size: 16px; color: #333333; line-height: 1.8; text-align: justify; }
.article-body p { margin-bottom: 25px; }
.article-nav { margin-top: 40px; padding-top: 20px; border-top: 1px dashed #eee; font-size: 14px; color: #555; }

/* 质感暗黑底部 */
.site-footer { background: #0f1423; color: #a0a5b5; padding: 60px 0 20px; font-size: 14px; }
.footer-grid { display: flex; justify-content: space-between; gap: 50px; margin-bottom: 40px; }
.footer-info { max-width: 450px; }
.footer-info h3, .footer-links h3 { color: #ffffff; font-size: 16px; margin-bottom: 15px; }
.footer-links ul { list-style: none; }
.footer-links ul li { margin-bottom: 10px; }
.footer-links ul li a { color: #a0a5b5; }
.footer-bottom { border-top: 1px solid #1f2538; padding-top: 20px; text-align: center; font-size: 12px; color: #555a6a; }
