/**
 * Notion 风格 Markdown 预览样式
 * 简洁现代的文档风格
 */

.markdown-body.notion {
    background: #ffffff;
    color: #37352f;
    line-height: 1.6;
    font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    font-size: 16px;
}

.markdown-body.notion h1,
.markdown-body.notion h2,
.markdown-body.notion h3,
.markdown-body.notion h4,
.markdown-body.notion h5,
.markdown-body.notion h6 {
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    font-weight: 600;
    line-height: 1.3;
    color: #000000;
}

.markdown-body.notion h1 {
    font-size: 1.875em;
    border-bottom: 1px solid #e9e9e9;
    padding-bottom: 0.3em;
}

.markdown-body.notion h2 {
    font-size: 1.5em;
    border-bottom: 1px solid #e9e9e9;
    padding-bottom: 0.3em;
}

.markdown-body.notion h3 { font-size: 1.25em; }
.markdown-body.notion h4 { font-size: 1.125em; }
.markdown-body.notion h5 { font-size: 1em; }
.markdown-body.notion h6 { font-size: 0.875em; color: #787774; }

.markdown-body.notion p {
    margin-top: 0;
    margin-bottom: 0.75em;
}

.markdown-body.notion a {
    color: #000000;
    text-decoration: underline;
    text-decoration-color: #d6d6d6;
    text-underline-offset: 3px;
}

.markdown-body.notion a:hover {
    text-decoration-color: #37352f;
}

.markdown-body.notion img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 1em auto;
}

.markdown-body.notion figure {
    margin: 0;
    margin-top: 10px;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.markdown-body.notion figcaption {
    display: block;
    margin-top: 5px;
    text-align: center;
    color: #888;
    font-size: 14px;
}

.markdown-body.notion figure a {
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.markdown-body.notion figure a img {
    margin: 16px auto;
}



.markdown-body.notion code {
    padding: 0.15em 0.4em;
    margin: 0;
    font-size: 0.9em;
    background-color: #f7f6f3;
    border-radius: 3px;
    font-family: ui-monospace, 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    color: #eb5757;
}

.markdown-body.notion pre {
    /* padding: 1em; */
    overflow: auto;
    font-size: 0.9em;
    line-height: 1.5;
    background-color: #f7f6f3;
    border-radius: 4px;
    border: 1px solid #e9e9e9;
    margin: 1em 0;
}

.markdown-body.notion pre code {
    padding: 0;
    margin: 0;
    background-color: transparent;
    border: 0;
    font-size: 100%;
    color: #37352f;
}

.markdown-body.notion blockquote {
    padding: 0 1em;
    margin: 1em 0;
    color: #787774;
    border-left: 3px solid #d6d6d6;
    font-style: italic;
}

.markdown-body.notion ul,
.markdown-body.notion ol {
    padding-left: 1.5em;
    margin-top: 0;
    margin-bottom: 0.75em;
}

.markdown-body.notion li {
    margin: 0.25em 0;
}

.markdown-body.notion li::marker {
    color: #787774;
}

.markdown-body.notion table {
    border-spacing: 0;
    border-collapse: collapse;
    margin: 1em 0;
    width: 100%;
    font-size: 0.9em;
}

.markdown-body.notion table th,
.markdown-body.notion table td {
    padding: 8px 12px;
    border: 1px solid #e9e9e9;
}

.markdown-body.notion table th {
    font-weight: 600;
    background-color: #f7f6f3;
}

.markdown-body.notion table tr:nth-child(2n) {
    background-color: #fafaf9;
}

.markdown-body.notion hr {
    height: 1px;
    margin: 2em 0;
    background-color: #e9e9e9;
    border: none;
}

.markdown-body.notion strong {
    font-weight: 600;
}

.markdown-body.notion em {
    font-style: italic;
}
