body {
    display: flex;
    justify-content: center;
    background: #f5f5f5;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
}

.markdown-body {
    max-width: 900px;
    width: 95%;
    padding: 2rem;
    margin: 2rem auto;
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

h1, h2, h3 {
    color: #2c3e50;
}

a {
    color: #0366d6;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.header-line {
    height: 4px;
    width: 100%;
    border-radius: 2px;
    background: linear-gradient(90deg, #ff6a00, #ee0979, #00d4ff);
    margin-bottom: 1rem;
}

h1.page-title {
    text-align: center;
    margin-top: 0;
    margin-bottom: 2rem;
}

footer {
    margin-top: 2rem;
    text-align: center;
    color: #888;
    font-size: 0.9rem;
}

.sidebar {
    background: #fafafa;
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 2rem;
}

.sidebar h3 {
    margin-top: 0;
}

.tag {
    display: inline-block;
    margin: 2px 4px;
    padding: 2px 6px;
    border-radius: 4px;
    background: #ff6a00;
    color: white;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
}

.tag:hover {
    background: #e55a00;
    transform: translateY(-1px);
}

.tag.active {
    background: #0366d6;
}

.show-more-btn {
    display: inline-block;
    margin: 10px 0;
    padding: 6px 12px;
    background: #0366d6;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
}

.show-more-btn:hover {
    background: #0256b3;
}

.hidden-articles {
    display: none;
}

.hidden-articles.visible {
    display: block;
}

.article-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.article-list li {
    margin-bottom: 8px;
    padding: 6px;
    border-left: 3px solid #0366d6;
    transition: all 0.3s;
}

.article-list li:hover {
    background: #f8f9fa;
}

.article-date {
    color: #888;
    font-size: 0.9em;
}

.category-section {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.filter-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.clear-filter {
    display: none;
    margin-left: 10px;
    padding: 2px 8px;
    background: #dc3545;
    color: white;
    border-radius: 4px;
    font-size: 0.8rem;
    cursor: pointer;
}

.clear-filter.visible {
    display: inline-block;
}

.filter-info {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.no-results {
    display: none;
    text-align: center;
    color: #999;
    padding: 2rem;
}

.tags-container {
    margin-bottom: 15px;
}

@media (max-width: 600px) {
    .markdown-body {
        padding: 1rem;
        font-size: 16px;
    }
}
