body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
    color: #333;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header h1 {
    margin: 0;
    color: #333;
}

.header p {
    color: #666;
    margin-top: 0.5rem;
}

.nav {
    margin-top: 1rem;
}

.nav a {
    color: #007bff;
    text-decoration: none;
    margin: 0 0.5rem;
}

.nav a:hover {
    text-decoration: underline;
}

.post-list {
    list-style: none;
    padding: 0;
}

.post-item {
    background: white;
    margin-bottom: 2rem;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.post-title {
    font-size: 1.5rem;
    margin: 0 0 0.5rem 0;
}

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

.post-title a:hover {
    color: #007bff;
}

.post-meta {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.post-excerpt {
    color: #444;
    margin-bottom: 1rem;
}

.post-tags {
    margin-top: 1rem;
}

.tag {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    margin: 0 0.3rem 0.3rem 0;
    background: #e9ecef;
    border-radius: 4px;
    color: #495057;
    font-size: 0.85rem;
    text-decoration: none;
}

.tag:hover {
    background: #dee2e6;
}

.current-tag {
    background: #007bff;
    color: white;
}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    gap: 1rem;
}

.pagination a {
    padding: 0.5rem 1rem;
    background: white;
    border-radius: 4px;
    text-decoration: none;
    color: #007bff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.pagination a:hover {
    background: #f8f9fa;
}

.pagination .current {
    padding: 0.5rem 1rem;
    background: #007bff;
    color: white;
    border-radius: 4px;
}

.article {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.article-title {
    font-size: 2rem;
    margin: 0 0 1rem 0;
    color: #333;
}

.article-meta {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.article-content {
    margin-bottom: 2rem;
}

.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5,
.article-content h6 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.article-content p {
    margin-bottom: 1rem;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.article-content pre {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 4px;
    overflow-x: auto;
}

.article-content code {
    background: #f8f9fa;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-size: 0.9em;
}

.article-content blockquote {
    margin: 1rem 0;
    padding-left: 1rem;
    border-left: 4px solid #007bff;
    color: #666;
}

.article-tags {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.tags-container {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 0;
    list-style: none;
}

.tag-item {
    background: #e9ecef;
    border-radius: 4px;
    padding: 0.5rem 1rem;
    transition: background-color 0.2s;
}

.tag-item:hover {
    background: #dee2e6;
}

.tag-link {
    color: #495057;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tag-count {
    background: #007bff;
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    font-size: 0.85rem;
}

.empty-message {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.empty-message h2 {
    margin: 0 0 1rem 0;
    color: #666;
}

.empty-message p {
    color: #888;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.btn:hover {
    background: #0056b3;
}

.footer {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    color: #666;
    border-top: 1px solid #eee;
} 