/* 基础重置 */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Microsoft YaHei', sans-serif; color: #333; background: #f9f9f9; }
a { text-decoration: none; color: inherit; }
ul, li { list-style: none; }
img { max-width: 100%; height: auto; }

/* 头部导航 */
.z37ec8header { background: #1a1a2e; padding: 15px 0; position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,0.3); }
.z37ec8nav_container { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 0 20px; }
.z37ec8logo { font-size: 24px; font-weight: bold; color: #e94560; }
.z37ec8logo span { color: #fff; }
.z37ec8nav { display: flex; gap: 25px; }
.z37ec8nav a { color: #ccc; font-size: 15px; transition: color 0.3s; padding: 5px 0; }
.z37ec8nav a:hover, .z37ec8nav a.current { color: #e94560; border-bottom: 2px solid #e94560; }

/* 首页 Hero */
.z37ec8hero { background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%); color: #fff; padding: 100px 20px; text-align: center; }
.z37ec8hero_inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.z37ec8hero_text { flex: 1; min-width: 300px; text-align: left; }
.z37ec8hero_text h1 { font-size: 48px; margin-bottom: 20px; color: #e94560; }
.z37ec8hero_text p { font-size: 18px; line-height: 1.8; margin-bottom: 30px; color: #ddd; }
.z37ec8btn { display: inline-block; background: #e94560; color: #fff; padding: 15px 40px; border-radius: 30px; font-size: 18px; font-weight: bold; transition: background 0.3s; margin-right: 15px; }
.z37ec8btn:hover { background: #ff2e4d; }
.z37ec8btn_outline { background: transparent; border: 2px solid #e94560; color: #e94560; }
.z37ec8btn_outline:hover { background: #e94560; color: #fff; }
.z37ec8hero_img { flex: 1; min-width: 300px; text-align: center; }
.z37ec8hero_img img { max-width: 400px; filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5)); }

/* 首页特性区块 */
.z37ec8section { padding: 80px 20px; max-width: 1200px; margin: 0 auto; }
.z37ec8section_title { text-align: center; margin-bottom: 50px; }
.z37ec8section_title h2 { font-size: 36px; color: #1a1a2e; margin-bottom: 15px; }
.z37ec8section_title p { font-size: 16px; color: #666; }
.z37ec8features { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.z37ec8feature_item { background: #fff; padding: 40px 30px; border-radius: 10px; text-align: center; box-shadow: 0 5px 15px rgba(0,0,0,0.05); transition: transform 0.3s; }
.z37ec8feature_item:hover { transform: translateY(-10px); }
.z37ec8feature_icon { font-size: 40px; color: #e94560; margin-bottom: 20px; }
.z37ec8feature_item h3 { font-size: 22px; margin-bottom: 15px; color: #1a1a2e; }
.z37ec8feature_item p { font-size: 14px; color: #666; line-height: 1.6; }

/* 首页列表区块 */
.z37ec8home_list { background: #fff; padding: 80px 20px; }
.z37ec8list_grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; max-width: 1200px; margin: 0 auto; }
.z37ec8list_card { background: #f9f9f9; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,0.05); transition: box-shadow 0.3s; }
.z37ec8list_card:hover { box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.z37ec8list_card img { width: 100%; height: 200px; object-fit: cover; }
.z37ec8list_card_info { padding: 20px; }
.z37ec8list_card_info h4 { font-size: 18px; margin-bottom: 10px; color: #1a1a2e; }
.z37ec8list_card_info h4 a:hover { color: #e94560; }
.z37ec8list_card_info p { font-size: 14px; color: #666; line-height: 1.6; margin-bottom: 10px; }
.z37ec8list_card_meta { font-size: 12px; color: #999; display: flex; justify-content: space-between; }

/* 底部 */
.z37ec8footer { background: #1a1a2e; color: #ccc; padding: 60px 20px 30px; }
.z37ec8footer_inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; }
.z37ec8footer_col h4 { color: #fff; font-size: 18px; margin-bottom: 20px; }
.z37ec8footer_col p, .z37ec8footer_col a { font-size: 14px; line-height: 2; color: #aaa; display: block; }
.z37ec8footer_col a:hover { color: #e94560; }
.z37ec8footer_bottom { max-width: 1200px; margin: 40px auto 0; padding-top: 20px; border-top: 1px solid #333; text-align: center; font-size: 13px; color: #666; }

/* 列表页 & 文章页 */
.z37ec8page_banner { background: #16213e; color: #fff; padding: 60px 20px; text-align: center; }
.z37ec8page_banner h1 { font-size: 32px; margin-bottom: 10px; }
.z37ec8page_banner p { color: #aaa; }
.z37ec8content_wrap { max-width: 1200px; margin: 0 auto; padding: 40px 20px; display: flex; gap: 30px; }
.z37ec8main_content { flex: 3; background: #fff; padding: 30px; border-radius: 10px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.z37ec8sidebar { flex: 1; }
.z37ec8sidebar_box { background: #fff; padding: 20px; border-radius: 10px; margin-bottom: 20px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.z37ec8sidebar_box h3 { font-size: 18px; border-left: 4px solid #e94560; padding-left: 10px; margin-bottom: 15px; }
.z37ec8sidebar_list li { padding: 10px 0; border-bottom: 1px dashed #eee; }
.z37ec8sidebar_list li a { color: #666; font-size: 14px; }
.z37ec8sidebar_list li a:hover { color: #e94560; }

/* 文章列表 */
.z37ec8article_list li { padding: 20px 0; border-bottom: 1px solid #eee; display: flex; gap: 20px; }
.z37ec8article_list li img { width: 200px; height: 140px; object-fit: cover; border-radius: 5px; }
.z37ec8article_list_info h3 { font-size: 20px; margin-bottom: 10px; }
.z37ec8article_list_info h3 a:hover { color: #e94560; }
.z37ec8article_list_info p { font-size: 14px; color: #666; line-height: 1.6; margin-bottom: 10px; }
.z37ec8article_list_meta { font-size: 12px; color: #999; }

/* 分页 */
.z37ec8pagelist { margin-top: 30px; text-align: center; }
.z37ec8pagelist a { display: inline-block; padding: 8px 15px; margin: 0 5px; background: #f1f1f1; color: #333; border-radius: 5px; font-size: 14px; }
.z37ec8pagelist a:hover, .z37ec8pagelist a.current { background: #e94560; color: #fff; }

/* 文章详情 */
.z37ec8article_header { margin-bottom: 30px; padding-bottom: 20px; border-bottom: 1px solid #eee; }
.z37ec8article_header h1 { font-size: 28px; color: #1a1a2e; margin-bottom: 15px; }
.z37ec8article_meta { font-size: 13px; color: #999; display: flex; gap: 20px; flex-wrap: wrap; }
.z37ec8article_body { font-size: 16px; line-height: 1.8; color: #444; }
.z37ec8article_body p { margin-bottom: 20px; }
.z37ec8article_body img { max-width: 100%; margin: 20px 0; border-radius: 5px; }
.z37ec8prenext { margin-top: 40px; padding-top: 20px; border-top: 1px solid #eee; display: flex; justify-content: space-between; font-size: 14px; flex-wrap: wrap; gap: 10px; }
.z37ec8prenext a { color: #e94560; }
.z37ec8tags { margin-top: 20px; }
.z37ec8tags a { display: inline-block; background: #f1f1f1; padding: 5px 15px; border-radius: 20px; font-size: 13px; margin-right: 10px; margin-bottom: 10px; color: #666; }
.z37ec8tags a:hover { background: #e94560; color: #fff; }

/* 响应式 */
@media (max-width: 768px) {
    .z37ec8content_wrap { flex-direction: column; }
    .z37ec8article_list li { flex-direction: column; }
    .z37ec8article_list li img { width: 100%; height: auto; }
    .z37ec8hero_text h1 { font-size: 32px; }
}