        :root {
            --primary-color: #007bff;
            --secondary-color: #6c757d;
            --hover-color: #0056b3;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        /* 导航栏样式 */
        .navbar {
            background-color: white;
            padding: 1rem 2rem;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            font-size: 1.5rem;
            font-weight: bold;
            color: var(--primary-color);
            text-decoration: none;
        }

        .nav-links {
            display: flex;
            gap: 2rem;
        }

        .nav-links a {
            text-decoration: none;
            color: var(--secondary-color);
            transition: color 0.3s;
        }

        .nav-links a:hover {
            color: var(--hover-color);
        }

        /* 搜索栏样式 */
        .search-section {
            margin-top: 70px;
            padding:8rem 2rem;
            background-color: #f8f9fa;
            text-align: center;
        }

        .search-container {
            max-width: 800px;
            margin: 0 auto;
            position: relative;
        }

        .search-input {
            width: 100%;
            padding: 1rem;
            border: 2px solid var(--primary-color);
            border-radius: 25px;
            font-size: 1.1rem;
            outline: none;
            padding-right: 120px;
        }

        .search-button {
            position: absolute;
            right: 5px;
            top: 50%;
            transform: translateY(-50%);
            padding: 0.8rem 2rem;
            background-color: var(--primary-color);
            border: none;
            border-radius: 20px;
            color: white;
            cursor: pointer;
            transition: background-color 0.3s;
        }

        .search-button:hover {
            background-color: var(--hover-color);
        }

        /* 实时搜索结果 */
        .search-results {
            position: absolute;
            width: 100%;
            max-height: 400px;
            overflow-y: auto;
            background: white;
            border: 1px solid #ddd;
            border-radius: 8px;
            box-shadow: 0 4px 6px rgba(0,0,0,0.1);
            margin-top: 0.5rem;
            display: none;
        }

        .result-item {
            padding: 1rem;
            border-bottom: 1px solid #eee;
            cursor: pointer;
            transition: background-color 0.2s;
        }

        .result-item:hover {
            background-color: #f8f9fa;
        }
        .loading {
            position: absolute;
            right: 130px;
            top: 50%;
            transform: translateY(-50%);
            display: none;
        }
        
        .search-button:disabled {
            background-color: #cccccc;
            cursor: not-allowed;
        }

        /* 响应式设计 */
        @media (max-width: 768px) {
            .nav-links {
                display: none;
            }
            
            .search-section {
                padding: 1rem;
            }
            
            .search-input {
                font-size: 1rem;
            }
        }
		
 
		
/*第二模块*/
/* 基础样式 */
.contain{width:1440px;margin: auto;}
.purchase-list {
    margin: 20px 0;
}

.purchase-item {
    border: 1px solid #eee;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 5px;
    background: #f9f9f9;
}

.item-header {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dashed #ddd;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.item-body p {
    margin: 8px 0;
    color: #666;
}

.item-footer {
    margin-top: 10px;
    color: #999;
    font-size: 0.9em;
}

.pagination {
    margin-top: 20px;
    text-align: center;
}

:root {
    --primary-color: #2A5CAA;
    --secondary-color: #F0B400;
    --text-dark: #2D3748;
    --text-light: #718096;
    --transition: all 0.3s ease;
}

/* 模块容器 */
.purchase-module {
    padding: 4rem 0;
    background: linear-gradient(to bottom, #f8fafc 0%, #ffffff 100%);
}

/* 标题样式 */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 2.5rem;
}

.section-title {
    font-size: 2rem;
    position: relative;
}

.highlight {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-left: 1rem;
}

/* 卡片网格布局 */
.demand-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 2rem;
}

/* 卡片设计 */
.demand-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.demand-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* 标签设计 */
.card-tags {
    position: absolute;
    top: 15px;
    left: 0;
    display: flex;
    gap: 8px;
}

.tag {
    padding: 4px 12px;
    border-radius: 0 20px 20px 0;
    font-size: 0.85rem;
}

.tag.urgent {
    background: #F56565;
    color: white;
}

.tag.category {
    background: var(--primary-color);
    color: white;border-radius: 20px 0 0 20px;    margin-left: 310px;
}
.fa-shopping-cart{text-align: center;align-content: center;}
.time{margin-left: 12px;
    letter-spacing: 2px;
    font-size: 18px;}
/* 卡片内容 */
.card-body {
    padding:4rem 2rem;
}

.demand-meta {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.icon {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.demand-title a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 1.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 统计信息 */
.demand-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
}

/* 底部信息 */
.card-footer {
    padding: 1rem 2rem;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.user-info {
    position: relative;
    cursor: pointer;
}

.contact-popup {
    position: absolute;
    bottom: 100%;
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    opacity: 0;
    transition: var(--transition);
}

.user-info:hover .contact-popup {
    opacity: 1;
}

/* 加载更多按钮 */
.load-more {
    text-align: center;
    margin-top: 3rem;
}

.load-btn {
    position: relative;
    padding: 0.8rem 2rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 30px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .demand-grid {
        grid-template-columns: 1fr;
    }
}

/*二手物品*/
:root {
    --primary-color: #FF6B6B;
    --secondary-color: #4ECDC4;
    --text-dark: #2D3436;
    --text-light: #636E72;
    --shadow: 0 10px 20px rgba(0,0,0,0.05);
}

/* 基础重置 */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: var(--surface);
  font-family: 'Segoe UI', system-ui;
  line-height: 1.6;
}

/* 容器系统 */
.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

/* 智能筛选栏 */
.filter-bar {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-pill {
  padding: 0.8rem 1.8rem;
  border: none;
  border-radius: 50px;
  background: white;
  box-shadow: 4px 4px 8px #E5E7EB,
             -4px -4px 8px #FFFFFF;
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  cursor: pointer;
}

.filter-pill.active {
  background: var(--primary);
  color: white;
  box-shadow: inset 3px 3px 6px #1D4ED8,
             inset -3px -3px 6px #3B82F6;
}

/* 商品网格 */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

/* 卡片设计 */
.card {
  background: white;
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 8px 8px 16px #E5E7EB,
            -8px -8px 16px #FFFFFF;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

/* 媒体容器 */
.media {
  position: relative;
  border-radius: calc(var(--radius) * 0.8);
  overflow: hidden;
  aspect-ratio: 4/3;
  margin-bottom: 1.5rem;
}

.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.card:hover .media img {
  transform: scale(1.05);
}

/* 卖家信息 */
.seller {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.avatar {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid white;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* 价格系统 */
.pricing {
  margin: 1.5rem 0;
}

.current-price {
  color: var(--primary);
  font-size: 1.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.original-price {
  color: #6B7280;
  text-decoration: line-through;
  font-size: 0.9em;
}

/* 元信息 */
.meta {
  display: flex;
  justify-content: space-between;
  color: #6B7280;
  font-size: 0.9em;
  padding-top: 1rem;
  border-top: 1px solid #E5E7EB;
}

/* 标签系统 */
.tags {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: flex;
  gap: 0.5rem;
  z-index: 2;
}

.tag {
  padding: 0.4rem 0.8rem;
  border-radius: 50px;
  font-size: 0.85em;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(4px);
  box-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.tag-primary {
  background: var(--primary);
  color: white;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .grid {
    grid-template-columns: 1fr;
  }
  
  .filter-pill {
    flex: 1;
    text-align: center;
  }
}


/*首页新闻*/
:root {
  --primary: #2B6CB0;    /* 主色调 */
  --secondary: #4299E1;  /* 辅色调 */
  --text: #2D3748;       /* 正文颜色 */
  --light: #F7FAFC;      /* 背景色 */
  --radius: 12px;        /* 圆角系统 */
}

/* 基础架构 */
.news-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem 1rem;
  background: var(--light);
}

/* 模块标题 */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--primary);
}

.section-title {
  font-size: 1.8rem;
  color: var(--text);
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -1rem;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--primary);
}

/* 新闻网格 */
.news-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* 特色新闻 */
.featured-article {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.featured-media {
  position: relative;
  aspect-ratio: 16/9;
}

.featured-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 常规新闻卡片 */
.news-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.news-card:hover {
  transform: translateY(-5px);
}

.card-media {
  position: relative;
  aspect-ratio: 16/9;
  background: #EDF2F7;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 内容排版 */
.cardbody {
  padding: 1.5rem;
}

.news-category {
  display: inline-block;
  padding: 0.4rem 0.8rem;
  background: var(--primary);
  color: white;
  border-radius: 4px;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.news-title {
  font-size: 1.2rem;
  color: var(--text);
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-excerpt {
  color: #718096;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.meta-info {
  display: flex;
  justify-content: space-between;
  color: #A0AEC0;
  font-size: 0.85rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .featured-article {
    grid-template-columns: 1fr;
  }
  
  .news-grid {
    grid-template-columns: 1fr;
  }
  
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}

/*二手物品列表页*/
        :root {
            /* 主色系 */
            --primary-900: #1E3A8A;    /* 深主色 */
            --primary-600: #2B6CB0;    /* 品牌主色 */
            --primary-300: #90CDF4;    /* 浅主色 */
            
            /* 中性色 */
            --gray-900: #1A202C;      /* 深文字 */
            --gray-600: #4A5568;      /* 常规文字 */
            --gray-200: #E2E8F0;      /* 背景色 */
            
            /* 功能色 */
            --success: #38A169;       /* 成功色 */
            --warning: #DD6B20;       /* 警示色 */
            
            /* 尺寸系统 */
            --radius: 0.75rem;        /* 圆角 */
            --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
			
			--primary-900: #1E3A8A;  /* 深色 - 用于悬停状态 */
            --primary-600: #2B6CB0;  /* 品牌主色 - 核心元素 */
            --primary-300: #90CDF4;  /* 浅色 - 装饰性元素 */
        }

        /* 基础架构 */
        body {
            background: #f8f9fa;
            font-family: 'Inter', sans-serif;
            line-height: 1.5;
        }

        .container {
            max-width: 1280px;
            margin: 2rem auto;
            padding: 0 1rem;
        }

        /* 商品画廊 */
        .gallery-container {
            background: white;
            border-radius: var(--radius);
            box-shadow: var(--shadow);
            overflow: hidden;
        }

        .main-image {
            width: 100%;
            aspect-ratio: 4/3;
            object-fit: cover;
            border-bottom: 3px solid var(--primary-300);
        }

        .thumbnail-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
            gap: 0.5rem;
            padding: 1rem;
            background: var(--gray-200);
        }

        .thumbnail-item {
            aspect-ratio: 1;
            border-radius: calc(var(--radius) * 0.7);
            overflow: hidden;
            cursor: pointer;
            transition: all 0.2s;
            border: 2px solid transparent;
        }

        .thumbnail-item.active {
            border-color: var(--primary-600);
            transform: scale(1.05);
        }

        /* 商品信息区 */
        .product-info {
            display: grid;
            grid-template-columns: 1fr 300px;
            gap: 2rem;
            margin-top: 2rem;
        }

        /* 核心信息 */
        .detail-section {
            background: white;
            padding: 2rem;
            border-radius: var(--radius);
            box-shadow: var(--shadow);
        }

        .price-tag {
            color: var(--primary-600);
            font-size: 2.5rem;
            font-weight: 700;
            margin: 1rem 0;
            position: relative;
        }
		.price-tag span{color: #6B7280;
    text-decoration: line-through;}

        /* 参数卡片 */
        .spec-card {
            padding: 1rem;
            border-left: 4px solid var(--primary-600);
            background: var(--gray-200);
            margin: 1.5rem 0;
        }

        /* 操作面板 */
        .action-panel {
            position: sticky;
            top: 1rem;
            height: fit-content;
        }

        .seller-card {
            background: white;
            padding: 1.5rem;
            border-radius: var(--radius);
            box-shadow: var(--shadow);
        }

        .seller-avatar {margin: 0 36%;
            width: 64px;
            height: 64px;
            border-radius: 50%;
            border: 2px solid var(--primary-300);
            padding: 2px;
        }
.seller-name{text-align: center;
    margin: 12px 0;
    font-size: 22px;
    letter-spacing: 6px;}
.seller-location{letter-spacing: 3px;
    line-height: 32px;
    font-size: 16px;
    padding: 12px 0;}
        .action-btn {margin: 22px 0;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            width: 100%;
            padding: 1rem;
            background: var(--primary-600);
            color: white;
            border: none;
            border-radius: var(--radius);
            transition: all 0.2s;
        }
.action-btn a{color: white;}
        .action-btn:hover {
            background: var(--primary-900);
            transform: translateY(-2px);
        }

        @media (max-width: 768px) {
            .product-info {
                grid-template-columns: 1fr;
            }
            
            .thumbnail-grid {
                grid-template-columns: repeat(4, 1fr);
            }
        }
		
/*二手物品轮播图样式*/

/* 主容器 */
.colmb {
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* 主图容器 */
.pview {
  position: relative;
  width: 100%;
  height: 720px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

/* 导航按钮 */
.arrow-left,
.arrow-right {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.95);
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.arrow-left:hover,
.arrow-right:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.1);
}

.arrow-left { left: 24px; }
.arrow-right { right: 24px; }

/* 箭头图标 */
.arrow-left::before,
.arrow-right::before {
  content: '';
  width: 16px;
  height: 16px;
  border: 3px solid var(--primary-color);
  transform: rotate(45deg);
}

.arrow-left::before {
  border-width: 0 0 3px 3px;
  margin-left: 4px;
}

.arrow-right::before {
  border-width: 3px 3px 0 0;
  margin-right: 4px;
}

/* 主图轮播 */
.swiper-container {
  width: 100%;
  height: 100%;
}

.swiper-wrapper {
  transition-timing-function: cubic-bezier(0.22, 0.61, 0.36, 1);
}

.swiper-slide {
  position: relative;
  overflow: hidden;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.8s cubic-bezier(0.16, 0.77, 0.39, 1.05);
}

.swiper-slide-active img {
  transform: scale(1);
}

/* 预览容器 */
.preview {
  margin-top: 30px;
  position: relative;
  padding: 0 60px;
}

.preview .swiper-container {
  overflow: visible;
  padding: 10px 0;
}

/* 预览导航 */
.preview .arrow-left,
.preview .arrow-right {
  width: 36px;
  height: 36px;
  top: 50%;
}

.preview .arrow-left { left: 10px; }
.preview .arrow-right { right: 10px; }

/* 预览图样式 */
.preview .swiper-slide {
  width: 180px !important;
  height: 100px;
  border-radius: 8px;
  overflow: hidden;
  opacity: 0.6;
  transform: scale(0.95);
  transition: var(--transition);
  cursor: pointer;
  position: relative;
}

.preview .swiper-slide::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  transition: var(--transition);
}

.preview .swiper-slide:hover {
  opacity: 0.8;
  transform: scale(0.98);
}

.preview .swiper-slide-active {
  opacity: 1;
  transform: scale(1);
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

.preview .swiper-slide-active::after {
  border-color: var(--accent-color);
}

/* 响应式设计 */
@media (max-width: 1366px) {
  .pview { height: 640px; }
}

@media (max-width: 1024px) {
  .pview { height: 560px; }
  .preview .swiper-slide { width: 160px !important; }
}

@media (max-width: 768px) {
  .colmb { padding: 20px; }
  .pview { height: 400px; }
  .preview { padding: 0 40px; }
  .arrow-left,
  .arrow-right { width: 36px; height: 36px; }
}

@media (max-width: 480px) {
  .pview { height: 300px; }
  .preview .swiper-slide { width: 120px !important; }
}

/*新闻详情页代码*/
* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Arial, sans-serif;
        }
		        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
        }

        /* 新闻头部 */
        .news-header {
            margin-bottom: 30px;
            border-bottom: 1px solid #eee;
            padding-bottom: 20px;
        }

        .news-title {
            font-size: 2.2rem;
            margin-bottom: 15px;
            color: #222;
            line-height: 1.2;
        }

        .news-meta {
            color: #666;
            font-size: 0.9rem;
        }

        .news-meta span {
            margin-right: 20px;
        }

        /* 新闻正文 */
        .news-content {
            background: white;
            padding: 30px;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }

        .news-content p {
            margin-bottom: 1.5em;
            font-size: 1.1rem;
            line-height: 1.8;
        }

        .news-content img {
            max-width: 100%;
            height: auto;
            margin: 20px 0;
            border-radius: 4px;
        }

        /* 相关新闻 */
        .related-news {
            margin-top: 40px;
            padding: 20px 0;
        }

        .related-news h3 {
            margin-bottom: 20px;
            color: #333;
        }

        .related-list {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 20px;
        }

        .related-item {
            background: white;
            padding: 15px;
            border-radius: 6px;
            box-shadow: 0 1px 3px rgba(0,0,0,0.1);
        }

        .related-item:hover {
            transform: translateY(-2px);
            transition: transform 0.2s;
        }

        /* 响应式设计 */
        @media (max-width: 768px) {
            .container {
                padding: 10px;
            }

            .news-title {
                font-size: 1.8rem;
            }

            .news-content {
                padding: 20px;
            }

            .related-list {
                grid-template-columns: 1fr;
            }
        }

        /* 辅助样式 */
        .text-muted {
            color: #999;
        }

        a {
            color: #007bff;
            text-decoration: none;
        }

        a:hover {
            text-decoration: underline;
        }
		
/*新闻列表页*/
    :root {
        --primary: #6366f1;
        --gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
        --glass: rgba(255, 255, 255, 0.9);
    }

    /* 现代极简风格重置 */
    * { box-sizing: border-box; margin: 0; font-family: 'Segoe UI', system-ui, sans-serif; }
    body { background: #f8fafc; line-height: 1.6; }

    /* 主容器 */
    .conta {
        max-width: 1440px;
        margin: 2rem auto;
        padding: 0 1.5rem;
        display: grid;
        gap: 2.5rem;
        grid-template-columns: minmax(0,1fr) 320px;
    }

    /* 现代卡片设计 */
    .neward {margin: 22px 0;
        background: var(--glass);
        backdrop-filter: blur(10px);
        border-radius: 16px;
        padding: 1.5rem;
        box-shadow: 0 8px 32px rgba(31, 38, 135, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.3);
        transition: all 0.3s ease;
    }
.neward li{    margin: 12px 0;
    padding-bottom: 12px;
    border-bottom: 1px dashed #00000029;}
.neward li a{color: #000;
    letter-spacing: 3px;
    line-height: 26px;}
.neward li a:hover{    text-decoration: none;}
    .neward:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 40px rgba(31, 38, 135, 0.1);
    }

    /* 标题样式 */
    .news-title a {
        color: #1e293b;
        font-size: 1.375rem;
        font-weight: 600;
        text-decoration: none;
        background: linear-gradient(to right, var(--primary), currentColor);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    /* 元信息 */
    .meta {
        display: flex;
        gap: 1.5rem;
        color: #64748b;
        font-size: 0.875rem;
        margin: 1rem 0;
    }
    .meta span { display: flex; align-items: center; gap: 0.5rem; }

    /* 分类筛选 */
    .filter-bar {
        display: flex;
        gap: 1rem;
        margin-bottom: 2rem;
        flex-wrap: wrap;
    }
    .filter-btn {
        padding: 0.5rem 1.25rem;
        border-radius: 999px;
        background: rgba(99, 102, 241, 0.1);
        color: var(--primary);
        transition: all 0.2s;
        border: 1px solid rgba(99, 102, 241, 0.2);
    }
    .filter-btn.active { background: var(--gradient); color: white; }

    /* 侧边栏 */
    .sidebar { position: sticky; top: 2rem; height: fit-content; }

    /* 搜索框 */
    .search-box {
        position: relative;
        margin-bottom: 2rem;
    }
    .search-input {
        width: 100%;
        padding: 0.875rem;
        border-radius: 12px;
        border: 1px solid #e2e8f0;
        background: var(--glass);
        backdrop-filter: blur(10px);
    }
    .search-btn {
        position: absolute;
        right: 1rem;
        top: 50%;
        transform: translateY(-50%);
        background: var(--gradient);
        color: white;
        padding: 0.5rem 1rem;
        border-radius: 8px;
    }

    /* 响应式设计 */
    @media (max-width: 1024px) {
        .container { grid-template-columns: 1fr; }
        .sidebar { order: -1; }
    }
	
/* 知识图谱专用样式 */
.knowledge-graph {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
}

.graph-title {
    color: #334155;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.graph-container {
}

.main-category {
    display: block;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 12px;
    font-weight: 600;
    color: #6366f1;
    transition: all 0.3s;
    position: relative;
    z-index: 2;
}

.main-category:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.15);
}

.sub-categories {
    margin-top: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sub-category {
    font-size: 0.875rem;
    color: #64748b;
    padding: 0.5rem;
    background: rgba(241, 245, 249, 0.6);
    border-radius: 8px;
    transition: background 0.2s;
}

.related-tags {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    background: rgba(199, 210, 254, 0.3);
    color: #6366f1;
    border-radius: 999px;
}

.connection-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.line {
    stroke: #e2e8f0;
    stroke-width: 2;
    fill: none;
    stroke-dasharray: 5;
}

@media (max-width: 1024px) {
    .graph-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}