:root {
    --primary-color: #1a1a1a;
    --secondary-color: #ff4d4d;
    --accent-color: #ff6b6b;
    --text-color: #333;
    --light-bg: #f5f5f5;
    --dark-bg: #1a1a1a;
    --border-color: #e0e0e0;
    --transition: all 0.3s ease;
}

/* 基础样式 */
body {
    font-family: 'Noto Sans SC', sans-serif;
    background: var(--light-bg);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 面包屑导航 */
.breadcrumb-nav {
    margin: 20px 0;
}

.breadcrumb {
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb-item a:hover {
    color: var(--secondary-color);
}

/* 内容区域布局 */
.content-wrapper {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.left-content {
    flex: 3;
}

.right-content {
    flex: 1;
}

/* 通用盒子样式 */
.main1, .main2 {
    background: white;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    overflow: hidden;
}

.g_box1, .g_box2, .g_box3, .g_box4 {
    padding: 12px;
}

/* 标题样式 */
.t_1, .t_2, .t_3 {
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 12px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--secondary-color);
    position: relative;
}

.t_1::after, .t_2::after, .t_3::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 60px;
    height: 1px;
    background: var(--secondary-color);
}

/* 列表样式 */
.category-list, .news-list, .image-list, .related-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li, .news-list li, .image-list li, .related-list li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
}

.category-list li:last-child, .news-list li:last-child, .image-list li:last-child, .related-list li:last-child {
    border-bottom: none;
}

.category-list a, .news-list a, .image-list a, .related-list a {
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
    display: block;
}

.category-list a:hover, .news-list a:hover, .image-list a:hover, .related-list a:hover {
    color: var(--secondary-color);
}

/* 文章内容样式 */
.article-meta {
    display: flex;
    gap: 20px;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.article-meta i {
    margin-right: 5px;
}

.article-content {
    font-size: 1rem;
    line-height: 1.8;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 15px 0;
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.page-link {
    padding: 8px 12px;
    border-radius: 4px;
    background: white;
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.page-link:hover {
    background: var(--secondary-color);
    color: white;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .content-wrapper {
        flex-direction: column;
    }

    .left-content, .right-content {
        flex: none;
        width: 100%;
    }
} 