 /* 通用重置与基础样式 */
    * { margin: 0; padding: 0; box-sizing: border-box; }
    body { font-family: "Microsoft Yahei", sans-serif; background: #f5f5f5; color: #333; line-height: 1.6; }
    a{text-decoration: none; color:#000000;}
      /* 广告头部 */
    .banner {
  width: 100%;
  height: 300px; /* 可根据需求调整高度 */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.banner-tech {
  background-color: #0A2463; /* 深海蓝纯背景 */
}
.banner-content h2 {
  color: #FFFFFF; /* 白色文字保证对比度 */
  font-size: 2.5rem;
  margin-bottom: 20px;
}
.banner-content p {
  color: #E6F7FF; /* 浅蓝辅助色，避免单调 */
  font-size: 1.2rem;
  margin-bottom: 30px;
}

    
    /* 公共头部 */
    .header { background: #c00; color: #fff; padding: 15px 20px; text-align: center; }
    .site-title { font-size: 28px; font-weight: bold; margin-bottom: 5px; }
    .site-slogan { font-size: 14px; opacity: 0.9; }

    /* 公共导航栏 */
    .main-nav { background: #c00; padding: 12px 0; box-shadow: 0 2px 5px rgba(0,0,0,0.2); }
    .main-nav ul { list-style: none; display: flex; justify-content: center; flex-wrap: wrap; gap: 25px; }
    .main-nav li { position: relative; }
    .main-nav li a { color: #fff; text-decoration: none; padding: 8px 15px; border-radius: 4px; transition: all 0.3s; font-size: 16px; font-weight: bold; }
    .main-nav li.active a, .main-nav li a:hover { background: #ff9900; color: #fff; }
    .main-nav li:not(:last-child)::after { content: "|"; position: absolute; right: -15px; top: 50%; transform: translateY(-50%); color: rgba(255,255,255,0.5); }
    
    /* 首页中间内容（宽度1200px） */
    .home-container { width: 1200px; margin: 30px auto; background: #fff; box-shadow: 0 0 10px rgba(0,0,0,0.1); padding: 25px; border-radius: 8px; }
    .section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 2px solid #c00; }
    .section-header h2 { font-size: 24px; color: #c00; font-weight: bold; }
    .more-link { color: #c00; text-decoration: none; font-size: 14px; font-weight: bold; padding: 5px 10px; border: 1px solid #c00; border-radius: 4px; transition: all 0.3s; }
    .more-link:hover { background: #c00; color: #fff; }
    .news-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 12px;margin-bottom: 35px;}
    .news-item { display: flex; align-items: center; padding: 10px 15px; background: rgba(245,245,245,0.8); border-radius: 4px; transition: all 0.3s; }
    .news-item:hover { background: rgba(255,204,204,0.3); transform: translateY(-2px); }
    .news-item a { color: #333; text-decoration: none; flex: 1; font-size: 15px; transition: color 0.3s; }
    .news-item a:hover { color: #c00; text-decoration: underline; }
    .news-item .date { color: #666; font-size: 13px; margin-left: 10px; white-space: nowrap; }
    
    /* 公共底部 */
    .site-footer { background: #222; color: #ccc; padding: 25px 15px; text-align: center; }
    .footer-links { margin-bottom: 15px; }
    .footer-links a { color: #ccc; text-decoration: none; margin: 0 15px; font-size: 14px; transition: color 0.3s; }
    .footer-links a:hover { color: #ff9900; }
    .copyright { font-size: 13px; line-height: 1.6; max-width: 800px; margin: 0 auto; color: #999; }
    
    /* 响应式调整 */
    @media (max-width: 768px) {
      .main-nav ul { gap: 15px; }
      .main-nav li:not(:last-child)::after { right: -10px; }
      .news-list { grid-template-columns: 1fr; }
      .home-container { width: 95%; }
    }
    
    
    
     /* 通用重置与基础样式 */
    * { margin: 0; padding: 0; box-sizing: border-box; }
    body { font-family: "Microsoft Yahei", sans-serif; background: #f5f5f5; color: #333; line-height: 1.6; }
    
    /* 公共头部 */
    .header { background: #c00; color: #fff; padding: 15px 20px; text-align: center; }
    .site-title { font-size: 28px; font-weight: bold; margin-bottom: 5px; }
    .site-slogan { font-size: 14px; opacity: 0.9; }
    
    /* 公共导航栏（列表页激活“NBA赛事”） */
    .main-nav { background: #c00; padding: 12px 0; box-shadow: 0 2px 5px rgba(0,0,0,0.2); }
    .main-nav ul { list-style: none; display: flex; justify-content: center; flex-wrap: wrap; gap: 25px; }
    .main-nav li { position: relative; }
    .main-nav li a { color: #fff; text-decoration: none; padding: 8px 15px; border-radius: 4px; transition: all 0.3s; font-size: 16px; font-weight: bold; }
    .main-nav li.active a, .main-nav li a:hover { background: #ff9900; color: #fff; }
    .main-nav li:not(:last-child)::after { content: "|"; position: absolute; right: -15px; top: 50%; transform: translateY(-50%); color: rgba(255,255,255,0.5); }
    
    /* 列表页中间内容（宽度1200px） */
    nav.breadcrumb {
    width: 1200px;
    margin: 14px auto;
}

    .list-container { width: 1200px; margin: 10px auto; display: flex; gap: 20px; }
    .main-content { flex: 1; background: #fff; padding: 15px; border-radius: 4px; box-shadow: 0 0 5px rgba(0,0,0,0.1); }
    .news-section h2 { font-size: 18px; margin-bottom: 15px; color: #c00; padding-bottom: 10px; border-bottom: 2px solid #eee; }
    .news-card { display: flex; margin-bottom: 25px; padding-bottom: 20px; border-bottom: 1px dashed #eee; }
    .news-card:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
    .news-card img { width: 180px; height: 120px; object-fit: cover; margin-right: 15px; border-radius: 4px; border: 1px solid #eee; }
    .news-info { flex: 1; }
    .news-info h3 { font-size: 16px; margin-bottom: 8px; }
    .news-info a { color: #333; text-decoration: none; }
    .news-info a:hover { color: #c00; text-decoration: underline; }
    .article-meta { display: flex; font-size: 13px; color: #888; margin-bottom: 10px; }
    .publish-time { margin-right: 15px; position: relative; }
    .publish-time::after { content: "|"; position: absolute; right: -8px; color: #ddd; }
    .category-tag { background: #f0f7ff; color: #1e88e5; padding: 2px 6px; border-radius: 3px; font-size: 12px; }
    .news-info p { font-size: 14px; color: #666; margin-bottom: 12px; line-height: 1.5; }
    .news-info button { background: #c00; color: #fff; border: none; padding: 6px 12px; border-radius: 4px; cursor: pointer; font-size: 13px; transition: background 0.3s; }
    .news-info button:hover { background: #ff6600; }
    .sidebar { width: 280px; background: #fff; padding: 15px; border-radius: 4px; box-shadow: 0 0 5px rgba(0,0,0,0.1); }
    .rank-section, .recommend-section { margin-bottom: 25px; border: 1px solid #eee; border-radius: 3px; overflow: hidden; }
    .rank-section h3, .recommend-section h3 { background: #ff9900; color: #fff; padding: 8px 12px; font-size: 16px; font-weight: bold; }
    .sidebar ul { list-style: none; padding: 10px; }
    .sidebar li { padding: 8px 5px; border-bottom: 1px dotted #eee; font-size: 14px; position: relative; }
    
    .sidebar a { color: #333; text-decoration: none; display: block; }
    .sidebar a:hover { color: #c00; }
    
    /* 公共底部 */
    .site-footer { background: #222; color: #ccc; padding: 25px 15px; text-align: center; }
    .footer-links { margin-bottom: 15px; }
    .footer-links a { color: #ccc; text-decoration: none; margin: 0 15px; font-size: 14px; transition: color 0.3s; }
    .footer-links a:hover { color: #ff9900; }
    
    
    /* 响应式调整 */
    @media (max-width: 768px) {
      .main-nav ul { gap: 15px; }
      .main-nav li:not(:last-child)::after { right: -10px; }
      .list-container { flex-direction: column; width: 95%; }
      .sidebar { width: 100%; }
    }
    
    
    
      /* 通用重置与基础样式 */
    * { 
      margin: 0; 
      padding: 0; 
      box-sizing: border-box; 
      font-family: "Microsoft YaHei", "微软雅黑", sans-serif;
    }
    body { 
      background-color: #f5f5f5; 
      color: #333; 
      line-height: 1.6; 
    }
    
    /* 公共头部（共用） */
    .header { 
      background: #c00; 
      color: white; 
      padding: 15px 20px; 
      text-align: center; 
    }
    .site-title { 
      font-size: 28px; 
      font-weight: bold; 
      margin-bottom: 5px; 
    }
    
    
    /* 公共导航栏（共用，激活项随页面切换） */
    .main-nav { 
      background: #c00; 
      padding: 12px 0; 
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); 
    }
    .main-nav ul { 
      list-style: none; 
      display: flex; 
      justify-content: center; 
      flex-wrap: wrap; 
      gap: 25px; 
    }
    .main-nav li { 
      position: relative; 
    }
    .main-nav li a { 
      color: #fff; 
      text-decoration: none; 
      padding: 8px 15px; 
      border-radius: 4px; 
      transition: all 0.3s; 
      font-size: 16px; 
      font-weight: bold; 
    }
    .main-nav li.active a, 
    .main-nav li a:hover { 
      background-color: #ff9900; 
      color: #fff; 
    }
    .main-nav li:not(:last-child)::after { 
      content: "|"; 
      position: absolute; 
      right: -15px; 
      top: 50%; 
      transform: translateY(-50%); 
      color: rgba(255, 255, 255, 0.5); 
    }
    
    /* 文章页中间内容（核心修正：宽度1200px） */
    .article-container { 
      width: 1200px; /* 整体宽度固定1200px */
      margin: 30px auto; 
      display: flex; 
      gap: 20px; /* 左右栏间距 */
      
    }
    .article-section { 
      width: 900px; /* 左侧文章区宽度（1200-280-20=900） */
      padding-right: 20px; 
    }
    .article-title { 
      font-size: 22px; 
      font-weight: bold; 
      margin-bottom: 10px; 
      line-height: 1.4; 
    }
    .article-meta { 
      color: #666; 
      font-size: 13px; 
      margin-bottom: 15px; 
      padding-bottom: 10px; 
      border-bottom: 1px dashed #ddd; 
    }
    .article-meta span { 
      margin-right: 15px; 
    }
    .article-content { 
      font-size: 15px; 
      line-height: 1.8; 
    }
    .article-content p { 
      margin-bottom: 15px; 
     
    }
    
    /* 相关文章（补充遗漏的2条，共6条） */
    .related-articles { 
      margin: 25px 0; 
      border: 1px solid #eee; 
      border-radius: 3px; 
      overflow: hidden; 
    }
    .related-title { 
      background: #ff9900; 
      color: white; 
      padding: 8px 12px; 
      font-size: 16px; 
      font-weight: bold; 
    }
    .related-grid { 
      display: grid; 
      grid-template-columns: 1fr 1fr; /* 两列网格 */
      gap: 10px; 
      padding: 12px; 
    }
    .related-item { 
      
      border-radius: 3px; 
 
    }
   
    .related-item a { 
      color: #333; 
      text-decoration: none; 
      display: block; 
    }
    .related-item h4 { 
      font-size: 14px; 
      font-weight: normal; 
      margin-bottom: 8px; 
      line-height: 1.4; 
    }
    
    /* 文章分页 */
    .article-pagination { 
      margin-top: 25px; 
      padding-top: 15px; 
      border-top: 1px dashed #ddd; 
    }
    .article-pagination a { 
      display: block; 
      color: #333; 
      text-decoration: none; 
      font-size: 14px; 
      margin-bottom: 8px; 
    }
    .article-pagination a:hover { 
      color: #c00; 
    }
    
    /* 右侧侧边栏（共用样式） */
    .sidebar { 
      width: 280px; /* 侧边栏宽度固定 */
      background-color: #fff; 
      padding: 15px; 
      border-radius: 4px; 
      box-shadow: 0 0 5px rgba(0, 0, 0, 0.1); 
    }
    .sidebar-widget { 
      margin-bottom: 25px; 
      border: 1px solid #eee; 
      border-radius: 3px; 
      overflow: hidden; 
    }
    .widget-title { 
      background: #ff9900; 
      color: white; 
      padding: 8px 12px; 
      font-size: 16px; 
      font-weight: bold; 
    }
    .widget-list { 
      list-style: none; 
      padding: 10px; 
      background: #fff; 
    }
    .widget-list li { 
      padding: 8px 5px; 
      border-bottom: 1px dotted #eee; 
      font-size: 14px; 
    }
    .widget-list li:last-child { 
      border-bottom: none; 
    }
    .widget-list a { 
      color: #333; 
      text-decoration: none; 
      display: block; 
      white-space: nowrap; 
      overflow: hidden; 
      text-overflow: ellipsis; 
    }
    .widget-list a:hover { 
      color: #c00; 
    }
    
    /* 公共底部（共用） */
    .site-footer { 
      background-color: #333; 
      color: #aaa; 
      text-align: center; 
      padding: 20px; 
      font-size: 13px; 
      margin-top: 30px; 
    }
    .footer-links { 
      margin-bottom: 15px; 
    }
    .footer-links a { 
      color: #ccc; 
      text-decoration: none; 
      margin: 0 10px; 
    }
    .footer-links a:hover { 
      color: #fff; 
    }
    .copyright { 
      line-height: 1.8; 
    }
    
    /* 响应式调整（保持宽度逻辑） */
    @media (max-width: 1240px) { 
      .article-container { 
        width: 95%; 
        flex-direction: column; 
      }
      .article-section, .sidebar { 
        width: 100%; 
        padding-right: 0; 
      }
    }