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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    line-height: 1.8;
    color: #333;
    background: #fafafa;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    background: #fff;
    padding: 2rem 0;
    border-bottom: 1px solid #eee;
    text-align: center;
}

header h1 {
    font-size: 1.8rem;
    font-weight: 400;
    color: #333;
}

header h1 a {
    text-decoration: none;
    color: inherit;
}

nav {
    background: #fff;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: #666;
    font-size: 0.95rem;
}

nav a:hover {
    color: #333;
}

main {
    flex: 1;
    max-width: 720px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
    width: 100%;
}

.article-list {
    background: #fff;
    padding: 2rem;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.article-list h2 {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    color: #333;
}

.article-list ul {
    list-style: none;
}

.article-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid #f0f0f0;
}

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

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

.article-list a:hover {
    color: #666;
}

article {
    background: #fff;
    padding: 2.5rem;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

article h1 {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    color: #333;
}

article p {
    margin-bottom: 1rem;
    text-align: justify;
}

article ul {
    margin: 1rem 0 1.5rem 1.5rem;
}

article li {
    margin-bottom: 0.5rem;
}

.back-link {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

.back-link a {
    text-decoration: none;
    color: #666;
    font-size: 0.9rem;
}

.back-link a:hover {
    color: #333;
}

footer {
    background: #fff;
    padding: 1.5rem 0;
    border-top: 1px solid #eee;
    text-align: center;
    color: #999;
    font-size: 0.85rem;
}

footer a {
    color: #999;
    text-decoration: none;
}

footer a:hover {
    color: #666;
}
