/* 自定义样式 */
.markdown-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.markdown-content h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    color: #1a202c;
}

.markdown-content h2 {
    font-size: 2rem;
    font-weight: bold;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #2d3748;
}

.markdown-content h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: #4a5568;
}

.markdown-content p {
    margin-bottom: 1rem;
    line-height: 1.7;
    color: #4a5568;
}

.markdown-content ul, .markdown-content ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.markdown-content li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.markdown-content code {
    background-color: #f7fafc;
    padding: 0.2rem 0.4rem;
    border-radius: 0.25rem;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.875rem;
}

.markdown-content pre {
    background-color: #2d3748;
    color: #f7fafc;
    padding: 1rem;
    border-radius: 0.5rem;
    overflow-x: auto;
    margin-bottom: 1rem;
}

.markdown-content pre code {
    background-color: transparent;
    color: inherit;
    padding: 0;
    font-size: 0.875rem;
}

.markdown-content a {
    color: #4299e1;
    text-decoration: none;
}

.markdown-content a:hover {
    text-decoration: underline;
}

.markdown-content blockquote {
    border-left: 4px solid #4299e1;
    padding-left: 1rem;
    margin: 1rem 0;
    color: #718096;
}

.markdown-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

.markdown-content th, .markdown-content td {
    padding: 0.75rem;
    border: 1px solid #e2e8f0;
}

.markdown-content th {
    background-color: #f7fafc;
    font-weight: bold;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .markdown-content {
        padding: 1rem;
    }

    .markdown-content h1 {
        font-size: 2rem;
    }

    .markdown-content h2 {
        font-size: 1.75rem;
    }

    .markdown-content h3 {
        font-size: 1.25rem;
    }
}

/* 代码高亮主题 */
.hljs {
    display: block;
    overflow-x: auto;
    padding: 1rem;
    background: #2d3748;
    color: #f7fafc;
}

.hljs-keyword,
.hljs-selector-tag,
.hljs-literal,
.hljs-section,
.hljs-link {
    color: #ff79c6;
}

.hljs-function .hljs-keyword {
    color: #66d9ef;
}

.hljs-string,
.hljs-title,
.hljs-name,
.hljs-type,
.hljs-attribute,
.hljs-symbol,
.hljs-bullet,
.hljs-addition,
.hljs-variable,
.hljs-template-tag,
.hljs-template-variable {
    color: #50fa7b;
}

.hljs-comment,
.hljs-quote,
.hljs-deletion,
.hljs-meta {
    color: #6272a4;
}

.hljs-keyword,
.hljs-selector-tag,
.hljs-literal,
.hljs-title,
.hljs-section,
.hljs-doctag,
.hljs-type,
.hljs-name,
.hljs-strong {
    font-weight: bold;
}

.hljs-emphasis {
    font-style: italic;
} 