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

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

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

header {
    background-color: #2c3e50;
    color: white;
    padding: 20px 0;
    margin-bottom: 30px;
}

header h1 {
    margin-bottom: 10px;
}

nav {
    margin-top: 15px;
}

nav a {
    color: white;
    text-decoration: none;
    margin-right: 15px;
    padding: 5px 10px;
    border-radius: 3px;
    transition: background-color 0.3s;
}

nav a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

main {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.content {
    flex: 1;
    min-width: 300px;
    margin-right: 30px;
}

.sidebar {
    width: 300px;
}

.article-item {
    background-color: white;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.article-item h3 {
    margin-bottom: 10px;
}

.article-item h3 a {
    color: #2c3e50;
    text-decoration: none;
}

.article-item h3 a:hover {
    color: #3498db;
}

.meta {
    color: #7f8c8d;
    font-size: 14px;
    margin-bottom: 10px;
}

.meta span {
    margin-right: 15px;
}

.widget {
    background-color: white;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.widget h3 {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.widget ul {
    list-style-type: none;
}

.widget li {
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px dashed #eee;
}

.widget li:last-child {
    border-bottom: none;
}

.widget a {
    color: #333;
    text-decoration: none;
}

.widget a:hover {
    color: #3498db;
}

.article-detail {
    background-color: white;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.article-detail h1 {
    margin-bottom: 15px;
    color: #2c3e50;
}

.article-detail .content {
    margin-top: 20px;
    line-height: 1.8;
}

.spider-links, .spider-recommend {
    background-color: #f8f9fa;
    padding: 15px;
    border-left: 4px solid #3498db;
    margin-top: 20px;
}

.spider-links h3, .spider-recommend h3 {
    margin-bottom: 10px;
}

footer {
    background-color: #34495e;
    color: white;
    padding: 20px 0;
    text-align: center;
}

@media (max-width: 768px) {
    .content {
        margin-right: 0;
        margin-bottom: 30px;
    }
    
    .sidebar {
        width: 100%;
    }
    
    .container {
        padding: 0 10px;
    }
}