/* Formerly Ghost's site-wide code injection (header + footer). */
.post-content,.post-card-excerpt{font-family: 'Noto Serif SC', "PingFang SC","Helvetica Neue",Helvetica,"Hiragino Sans GB","Microsoft YaHei","微软雅黑",Arial,sans-serif;}
.post-full-content{font-size: 100%;font-variant-ligatures: none !important;}
.post-full-custom-excerpt {font-size: 1.8rem;}
.post-full-title {font-size:3.2rem;}
.post-full-content blockquote{margin:20px;padding: 1em;  background-color: #3eb0ef14; }
.post-full-content blockquote p {font-style:normal;}
.post-full-image {display:none;}

.post-full-content h4 {font-size: 2rem}

.post-full-content pre {margin-bottom: 1.5rem}

.kg-callout-card {width: 100%; margin-bottom: 1em;}

.post-full-content figure {margin: 0.8em 0 1em;}

p {margin: 0.2em 0 0.5em !important;}

.post-full-content img{border-radius:5px;}

code {font-family: 'Noto Serif SC';}

th {text-transform: none !important;}

.kg-bookmark-metadata > .kg-bookmark-publisher:before {
    content: "" !important;
    margin: 0 !important;
}

/* Paragraph indent for posts (replaces hand-typed full-width spaces). */
.post-template .post-full-content p { text-indent: 2em; }
.post-template.no-indent .post-full-content p { text-indent: 0; }

:root {--ghost-accent-color: #15171A;}

/* Shiki runs at build time. Keep the old code padding and system theme switch. */
.post-full-content pre.astro-code > code {display: block; padding: 0;}
@media (prefers-color-scheme: dark) {
    .astro-code, .astro-code span {
        color: var(--shiki-dark) !important;
        background-color: var(--shiki-dark-bg) !important;
        font-style: var(--shiki-dark-font-style) !important;
        font-weight: var(--shiki-dark-font-weight) !important;
        text-decoration: var(--shiki-dark-text-decoration) !important;
    }
}
