﻿
/* 全局变量 */
:root {
    --primary-color: #4e8cbb;
    --primary-dark: #3a7cb2;
    --text-color: #333;
    --text-light: #666;
    --text-lighter: #999;
    --bg-color: #f5f5f5;
    --border-color: #e6d8b6;
    --hover-color: #b89b5b;
    --section-bg: #f9f6ec;
    --card-shadow: 0 2px 12px rgba(180,160,100,0.10);
}

/* 主体布局 */
.g-bd {
    padding: 20px 0;
    background-color: var(--bg-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 面包屑导航 */
.breadcrumb {
    margin-bottom: 20px;
    padding: 15px 20px;
    background: var(--section-bg);
    border-radius: 14px;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-color);
}

.breadcrumb ol {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
}

.breadcrumb li {
    display: inline-flex;
    align-items: center;
}

.breadcrumb li:not(:last-child)::after {
    content: ">";
    margin: 0 10px;
    color: var(--text-lighter);
    font-weight: bold;
}

.breadcrumb a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: var(--hover-color);
}

.breadcrumb li:last-child span {
    color: var(--hover-color);
    font-weight: bold;
}

/* 页面标题区域 */
.page-header {
    text-align: center;
    padding: 40px 0;
    background: var(--section-bg);
    border-radius: 14px;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-color);
    margin-bottom: 30px;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--hover-color), var(--border-color), var(--hover-color));
    border-radius: 14px 14px 0 0;
}

.page-header h1 {
    font-size: 32px;
    color: #7c5c1e;
    margin: 0 0 15px;
    font-weight: bold;
    letter-spacing: 2px;
}

.page-description {
    font-size: 16px;
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
}

/* 网站地图内容区域 */
.sitemap-content {
    margin-bottom: 30px;
}

/* 网站地图章节 */
.sitemap-section {
    margin-bottom: 40px;
    background: var(--section-bg);
    border-radius: 14px;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.sitemap-section h2 {
    background: linear-gradient(135deg, var(--hover-color), #a08650);
    color: white;
    margin: 0;
    padding: 20px 30px;
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 1px;
    position: relative;
}

.sitemap-section h2::before {
    content: '📍';
    margin-right: 10px;
    font-size: 18px;
}

/* 网站地图网格布局 */
.sitemap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 30px;
}

/* 网站地图项目 */
.sitemap-item {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.sitemap-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(180,160,100,0.15);
}

.sitemap-item h3 {
    margin: 0 0 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
    position: relative;
}

.sitemap-item h3 a {
    color: var(--hover-color);
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    transition: color 0.3s;
}

.sitemap-item h3 a:hover {
    color: var(--primary-color);
}

.sitemap-item h3::before {
    content: '🔖';
    position: absolute;
    right: 0;
    top: 0;
    font-size: 16px;
    opacity: 0.7;
}

/* 网站地图链接列表 */
.sitemap-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sitemap-item li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.sitemap-item li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--hover-color);
    font-weight: bold;
}

.sitemap-item a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 14px;
    line-height: 1.6;
}

.sitemap-item a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* 网站地图页脚 */
.sitemap-footer {
    text-align: center;
    padding: 30px;
    background: var(--section-bg);
    border-radius: 14px;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-color);
    margin-top: 30px;
}

.sitemap-footer p {
    margin: 10px 0;
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
}

.sitemap-footer p:first-child {
    font-weight: bold;
    color: var(--hover-color);
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
    .container {
        padding: 0 10px;
    }
    
    .page-header {
        padding: 30px 20px;
    }
    
    .page-header h1 {
        font-size: 24px;
    }
    
    .page-description {
        font-size: 14px;
    }
    
    .sitemap-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 20px;
    }
    
    .sitemap-item {
        padding: 15px;
    }
    
    .sitemap-item h3 a {
        font-size: 16px;
    }
    
    .sitemap-section h2 {
        padding: 15px 20px;
        font-size: 18px;
    }
    
    .breadcrumb {
        padding: 12px 15px;
    }
    
    .breadcrumb li:not(:last-child)::after {
        margin: 0 6px;
    }
}

@media screen and (max-width: 480px) {
    .sitemap-grid {
        padding: 15px;
    }
    
    .sitemap-item {
        padding: 12px;
    }
    
    .sitemap-item h3 a {
        font-size: 15px;
    }
    
    .sitemap-item a {
        font-size: 13px;
    }
    
    .sitemap-section h2 {
        padding: 12px 15px;
        font-size: 16px;
    }
    
    .sitemap-footer {
        padding: 20px 15px;
    }
}

/* 特殊样式 */
.sitemap-item.statistics {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-left: 4px solid var(--primary-color);
}

.sitemap-item.statistics li {
    font-weight: bold;
    color: var(--primary-color);
}

.sitemap-item.latest {
    background: linear-gradient(135deg, #fff5f5, #f9f6ec);
    border-left: 4px solid var(--hover-color);
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sitemap-item {
    animation: fadeInUp 0.6s ease-out;
}

.sitemap-item:nth-child(1) { animation-delay: 0.1s; }
.sitemap-item:nth-child(2) { animation-delay: 0.2s; }
.sitemap-item:nth-child(3) { animation-delay: 0.3s; }
.sitemap-item:nth-child(4) { animation-delay: 0.4s; }
.sitemap-item:nth-child(5) { animation-delay: 0.5s; }
.sitemap-item:nth-child(6) { animation-delay: 0.6s; }

/* 打印样式 */
@media print {
    .sitemap-item {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
    }
    
    .sitemap-section h2 {
        background: #f0f0f0 !important;
        color: #333 !important;
    }
    
    .page-header {
        background: white !important;
        box-shadow: none;
    }
} 