* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
        }
        
        body {
            background: #f8fafc;
            color: #334155;
            line-height: 1.6;
        }
        
        .container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        /* 页面头部 */
        .page-header {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            padding: 80px 0 60px;
            margin-bottom: 50px;
            text-align: center;
            position: relative;
            overflow: hidden;
        }
        
        .page-header::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="%23ffffff" opacity="0.1"><polygon points="1000,100 1000,0 0,100"></polygon></svg>');
            background-size: cover;
        }
        
        .page-header h1 {
            font-size: 3rem;
            margin-bottom: 15px;
            font-weight: 700;
            position: relative;
        }
        
        .page-header p {
            font-size: 1.2rem;
            max-width: 600px;
            margin: 0 auto;
            opacity: 0.9;
            position: relative;
        }
        
        .breadcrumb {
            display: flex;
            justify-content: center;
            margin-top: 20px;
            position: relative;
        }
        
        .breadcrumb a {
            color: rgba(255, 255, 255, 0.8);
            text-decoration: none;
            transition: color 0.3s;
        }
        
        .breadcrumb a:hover {
            color: white;
        }
        
        .breadcrumb span {
            margin: 0 10px;
            color: rgba(255, 255, 255, 0.6);
        }
        
        /* 内容布局 */
        .content-wrapper {
            display: flex;
            gap: 30px;
            margin-bottom: 60px;
        }
        
        .main-content {
            flex: 1;
        }
        
        /* 侧边栏 */
        .sidebar {
            width: 300px;
            flex-shrink: 0;
        }
        
        .sidebar-widget {
            background: white;
            border-radius: 12px;
            padding: 25px;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
            margin-bottom: 25px;
            transition: transform 0.3s, box-shadow 0.3s;
        }
        
        .sidebar-widget:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
        }
        
        .sidebar-widget h3 {
            font-size: 1.3rem;
            color: #1e293b;
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 2px solid #e2e8f0;
            position: relative;
        }
        
        .sidebar-widget h3::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 50px;
            height: 2px;
            background: #667eea;
        }
        
        .category-list {
            list-style: none;
        }
        
        .category-list li {
            margin-bottom: 12px;
        }
        
        .category-list a {
            display: flex;
            align-items: center;
            color: #475569;
            text-decoration: none;
            padding: 8px 0;
            transition: all 0.3s;
            border-radius: 6px;
        }
        
        .category-list a:hover {
            color: #667eea;
            padding-left: 10px;
        }
        
        .category-list i {
            margin-right: 10px;
            width: 20px;
            text-align: center;
            color: #667eea;
        }
        
        .tags-list {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }
        
        .tag {
            background: #f1f5f9;
            color: #475569;
            padding: 6px 12px;
            border-radius: 20px;
            font-size: 0.85rem;
            transition: all 0.3s;
            text-decoration: none;
        }
        
        .tag:hover {
            background: #667eea;
            color: white;
        }
        
        /* 文章网格布局 */
        .article-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
            gap: 30px;
            margin-bottom: 50px;
        }
        
        .article-card {
            background: white;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
            transition: all 0.3s ease;
            display: flex;
            flex-direction: column;
            height: 100%;
        }
        
        .article-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
        }
        
        .article-image {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 3.5rem;
            position: relative;
            overflow: hidden;
        }
        
        .article-image::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.1);
        }
        
        .article-content {
            padding: 25px;
            flex: 1;
            display: flex;
            flex-direction: column;
        }
        
        .article-meta {
            display: flex;
            gap: 15px;
            margin-bottom: 15px;
            font-size: 0.85rem;
            color: #64748b;
        }
        
        .article-meta span {
            display: flex;
            align-items: center;
            gap: 5px;
        }
        
        .article-meta i {
            color: #667eea;
        }
        
        .article-title {
            font-size: 1.4rem;
            color: #1e293b;
            margin-bottom: 15px;
            line-height: 1.3;
            flex: 1;
        }
        
        .article-title a {
            color: inherit;
            text-decoration: none;
            transition: color 0.3s;
        }
        
        .article-title a:hover {
            color: #667eea;
        }
        
        .article-excerpt {
            color: #64748b;
            margin-bottom: 20px;
            line-height: 1.6;
        }
        
        .article-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: auto;
        }
        
        .article-tags {
            display: flex;
            gap: 8px;
        }
        
        .article-tag {
            background: #f1f5f9;
            color: #475569;
            padding: 4px 10px;
            border-radius: 15px;
            font-size: 0.8rem;
        }
        
        .read-more {
            background: #667eea;
            color: white;
            padding: 8px 20px;
            border-radius: 6px;
            text-decoration: none;
            font-size: 0.9rem;
            transition: background 0.3s;
            display: flex;
            align-items: center;
            gap: 5px;
        }
        
        .read-more:hover {
            background: #5a6fd8;
        }
        
        /* 分页样式 */
        .pagination {
            display: flex;
            justify-content: center;
            margin: 40px 0;
        }
        .page-status{align-items: center;
    display: flex
;
    margin: 0 12px;}
        .pagination a {
            display: flex;float: left;
            align-items: center;
            justify-content: center;
            width: 66px;
            height: 45px;
            border-radius: 8px;
            background: white;
            color: #475569;
            text-decoration: none;
            margin: 0 5px;
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
            transition: all 0.3s;
            font-weight: 500;
        }
        
        .pagination a:hover, .pagination a.active {
            background: #667eea;
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
        }
        
        /* 响应式设计 */
        @media (max-width: 992px) {
            .content-wrapper {
                flex-direction: column;
            }
            
            .sidebar {
                width: 100%;
            }
            
            .article-grid {
                grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            }
        }
        
        @media (max-width: 768px) {
            .page-header {
                padding: 60px 0 40px;
            }
            
            .page-header h1 {
                font-size: 2.2rem;
            }
            
            .article-grid {
                grid-template-columns: 1fr;
            }
            
            .article-image {
                height: 180px;
                font-size: 2.5rem;
            }
        }
		
		/* 瀑布流布局 */
.masonry-grid {
    column-count: 3;
    column-gap: 30px;
    margin-bottom: 50px;
}

.masonry-item {
    break-inside: avoid;
    margin-bottom: 30px;
}

/* 文章卡片基础样式 */
.article-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: auto;
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}



.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* 响应式调整 */
@media (max-width: 1200px) {
    .masonry-grid {
        column-count: 2;
    }
}

@media (max-width: 768px) {
    .masonry-grid {
        column-count: 1;
    }
}

/*详情页*/
        .coner {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        /* 头部样式 */
        .page-header {
            background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
            color: white;
            padding: 40px 0;
            margin-bottom: 30px;
        }
        
        .breadcrumb {
            font-size: 14px;
            margin-bottom: 15px;
            opacity: 0.9;
        }
        
        .breadcrumb a {
            color: white;
            text-decoration: none;
        }
        
        .page-title {
            font-size: 32px;
            font-weight: 700;
            margin-bottom: 10px;
            line-height: 1.3;
        }
        
        .page-meta {
            display: flex;
            gap: 20px;
            font-size: 14px;
            opacity: 0.9;
        }
        
        .page-meta span {
            display: flex;
            align-items: center;
            gap: 5px;
        }
        
        /* 主要内容区 */
        .contentper {
            display: grid;
            grid-template-columns: 1fr 300px;
            gap: 30px;
            margin-bottom: 40px;
        }
        
        .main-content {
            background: white;
            border-radius: 12px;
            padding: 30px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
        }
        
        /* 文章内容样式 */
        .article-content {
            font-size: 16px;
            line-height: 1.8;
        }
        
        .article-content h2 {
            font-size: 24px;
            margin: 30px 0 15px;
            color: #1e293b;
            padding-bottom: 10px;
            border-bottom: 2px solid #f1f5f9;
        }
        
        .article-content h3 {
            font-size: 20px;
            margin: 25px 0 12px;
            color: #374151;
        }
        
        .article-content p {
            margin-bottom: 16px;
            text-align: justify;
        }
        
        .article-content img {
            max-width: 100%;
            height: auto;
            border-radius: 8px;
            margin: 20px 0;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }
        
        .article-content blockquote {
            border-left: 4px solid #4f46e5;
            background: #f8fafc;
            padding: 20px;
            margin: 20px 0;
            border-radius: 0 8px 8px 0;
        }
        
        .article-content table {
            width: 100%;
            border-collapse: collapse;
            margin: 20px 0;
        }
        
        .article-content table th,
        .article-content table td {
            border: 1px solid #e2e8f0;
            padding: 12px;
            text-align: left;
        }
        
        .article-content table th {
            background: #f1f5f9;
            font-weight: 600;
        }
        
        /* 侧边栏 */
        .sidebar {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }
        
        .sidebar-widget {
            background: white;
            border-radius: 12px;
            padding: 20px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
        }
        
        .widget-title {
            font-size: 18px;
            font-weight: 600;
            margin-bottom: 15px;
            padding-bottom: 10px;
            border-bottom: 2px solid #f1f5f9;
            color: #1e293b;
        }
        
        .related-article {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 10px 0;
            border-bottom: 1px solid #f1f5f9;
        }
        
        .related-article:last-child {
            border-bottom: none;
        }
        
        .related-article img {
            width: 60px;
            height: 40px;
            object-fit: cover;
            border-radius: 4px;
        }
        
        .related-article a {
            color: #475569;
            text-decoration: none;
            font-size: 14px;
            line-height: 1.4;
            flex: 1;
        }
        
        .related-article a:hover {
            color: #4f46e5;
        }
        
        /* 标签样式 */
        .article-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin: 25px 0;
            padding-top: 20px;
            border-top: 1px solid #f1f5f9;
        }
        
        .tag {
            background: #f1f5f9;
            color: #475569;
            padding: 4px 12px;
            border-radius: 20px;
            font-size: 12px;
            text-decoration: none;
            transition: all 0.2s;
        }
        
        .tag:hover {
            background: #4f46e5;
            color: white;
        }
        
        /* 导航样式 */
        .article-navigation {
            display: flex;
            justify-content: space-between;
            margin-top: 30px;
            padding-top: 20px;
            border-top: 1px solid #f1f5f9;
        }
        
        .nav-item {
            color: #475569;
            text-decoration: none;
            font-size: 14px;
            max-width: 45%;
        }
        
        .nav-item:hover {
            color: #4f46e5;
        }
        
        .nav-item.prev::before {
            content: "← ";
        }
        
        .nav-item.next::after {
            content: " →";
        }
        
        /* 代码高亮 */
        pre[class*="language-"] {
            border-radius: 8px;
            margin: 20px 0;
        }
        
        code {
            background: #f1f5f9;
            padding: 2px 6px;
            border-radius: 4px;
            font-family: 'Courier New', monospace;
            font-size: 14px;
        }
        
        /* 响应式设计 */
        @media (max-width: 768px) {
            .content-wrapper {
                grid-template-columns: 1fr;
            }
            
            .page-title {
                font-size: 24px;
            }
            
            .main-content {
                padding: 20px;
            }
            
            .page-meta {
                flex-direction: column;
                gap: 10px;
            }
        }