/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', 'SimSun', serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f7f2;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><path fill="%23d4c9b0" fill-opacity="0.1" d="M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z"></path></svg>');
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部样式 */
.header {
    background: linear-gradient(135deg, #8b4513 0%, #a0522d 100%);
    color: #fff;
    padding: 60px 0;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.header h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.header .subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* 导航样式 */
.nav {
    background-color: #333;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-list {
    display: flex;
    justify-content: center;
    list-style: none;
    flex-wrap: wrap;
}

.nav-list li {
    margin: 0 1px;
}

.nav-list a {
    display: block;
    color: #fff;
    text-decoration: none;
    padding: 18px 25px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.nav-list a:hover,
.nav-list a:focus {
    background-color: #8b4513;
    border-bottom: 3px solid #f4d03f;
}

/* 主要内容样式 */
.main {
    padding: 40px 0;
}

.hero {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 60px 0;
    margin-bottom: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.hero-content {
    text-align: center;
}

.intro {
    font-size: 1.3rem;
    line-height: 1.8;
    color: #555;
    max-width: 800px;
    margin: 0 auto;
}

.section {
    margin-bottom: 80px;
}

.section-title {
    font-size: 2.2rem;
    color: #8b4513;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #d4c9b0;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 80px;
    height: 2px;
    background-color: #8b4513;
}

.section-desc {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
}

/* 卡片样式 */
.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.card {
    background-color: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid #8b4513;
}

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

.card-title {
    font-size: 1.5rem;
    color: #8b4513;
    margin-bottom: 15px;
    font-weight: 600;
}

.card-desc {
    margin-bottom: 15px;
    color: #666;
}

.card-list {
    list-style-type: none;
    padding-left: 0;
}

.card-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    color: #555;
}

.card-list li::before {
    content: '•';
    color: #8b4513;
    font-size: 1.2em;
    position: absolute;
    left: 0;
}

.card-highlight {
    background-color: #f9f3e5;
    padding: 10px;
    border-radius: 5px;
    margin: 15px 0;
    font-weight: 600;
    color: #8b4513;
    border-left: 3px solid #d4a76a;
}

/* 表格样式 */
.table-container {
    overflow-x: auto;
    margin-top: 20px;
}

.content-table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
}

.content-table th,
.content-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.content-table th {
    background-color: #f4d03f;
    color: #333;
    font-weight: bold;
}

.content-table tr:nth-child(even) {
    background-color: #f9f3e5;
}

.content-table tr:hover {
    background-color: #f1e8d0;
}

/* 相关文章样式 */
.related-articles {
    background-color: #fff;
    padding: 50px 0;
    margin-top: 60px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.article-link {
    display: block;
    padding: 20px;
    background-color: #f9f3e5;
    color: #8b4513;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    font-weight: 500;
}

.article-link:hover {
    background-color: #8b4513;
    color: #fff;
    transform: translateX(5px);
    border-left: 3px solid #f4d03f;
}

/* 页脚样式 */
.footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 30px 0;
    margin-top: 80px;
}

.footer p {
    margin: 0;
    opacity: 0.8;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header h1 {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .nav-list {
        flex-direction: column;
        align-items: center;
    }
    
    .nav-list li {
        margin: 0;
        width: 100%;
        text-align: center;
    }
    
    .card-container {
        grid-template-columns: 1fr;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .intro {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 40px 0;
    }
    
    .header h1 {
        font-size: 1.8rem;
    }
    
    .card {
        padding: 20px;
    }
    
    .content-table th,
    .content-table td {
        padding: 8px 10px;
        font-size: 0.9rem;
    }
}