 /* ========== Medium Style ========== */
 * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

 /* 导航头部样式 */
 .site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    padding: 0.3em 0.5em;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    margin-bottom: 1em;
    /* padding-bottom: 0px; */
}

.site-header a {
    text-decoration: none;
    color: #242424;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.02em;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
}

.site-header a:hover {
    color: #1a8917;
    transition: color 0.2s ease;
}
.logo {
    font-size: 1rem;
    font-weight: bold;
    color: #000;
}

.logo span {
    color: #00ab6c;
}

body {
    font-family: "Charter", "Georgia", Cambria, "Times New Roman", Times, serif;
    font-size: 21px;
    line-height: 1.8;
    color: #242424;
    background: #ffffff;
    display: flex;
    justify-content: center;
    padding: 40px 16px;
    overflow-wrap: break-word;


}

.container {
    margin-top: 1.5em;
    width: 100%;
    max-width: 680px;
    /* Medium 默认宽度 */
}

/* Header */
.header {
    /* padding: 40px 0 20px; */
    padding-right: 10px;
    padding-left: 10px;
}

.header img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    margin-bottom: 32px;
}

.header h1 {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.header h2 {
    font-size: 20px;
    font-weight: 400;
    color: #6b6b6b;
    line-height: 1.5;
    margin-bottom: 12px;
}

/* Content */
.content-wrapper {
    padding: 0;
}

.article-content {
    padding-right: 5px;
    padding-left: 5px;
}

.article-content p {
    margin: 24px 0;
    font-size: 20px;
    line-height: 1.5;
}

/* Headings */
.article-content h1 {
    font-size: 42px;
    font-weight: 700;
    margin: 48px 0 16px;
}

.article-content h2 {
    font-size: 32px;
    font-weight: 700;
    margin: 48px 0 16px;
}

.article-content h3 {
    font-size: 26px;
    font-weight: 600;
    margin: 40px 0 16px;
}

/* Images */
.article-content img {
    width: auto;
    max-width: 100%;
    border-radius: 6px;
    margin: 32px 0;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.article-content figcaption {
    font-size: 0.8em;
    text-align: center;
}

/* Links */
.article-content a {
    color: #1a8917;
    text-decoration: none;
    border-bottom: 1px solid rgba(26, 137, 23, 0.3);
}

.article-content a:hover {
    border-bottom-color: #1a8917;
}

/* Blockquote */
.article-content blockquote {
    border-left: 4px solid #1a8917;
    padding-left: 20px;
    margin: 32px 0;
    color: #555;
    font-style: italic;
}

/* Lists */
.article-content ul,
.article-content ol {
    margin: 20px 0 20px 26px;
}

.article-content li {
    margin-bottom: 10px;
}

/* Code Block */
.article-content pre {
    background: #f5f5f5;
    padding: 18px;
    border-radius: 6px;
    overflow-x: auto;
    font-size: 16px;
    line-height: 1.6;
}

.article-content code {
    background: #f5f5f5;
    padding: 3px 6px;
    border-radius: 4px;
    font-size: 0.9em;
    font-family: Menlo, Consolas, monospace;
}

/* Table */
.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
}

.article-content th,
.article-content td {
    border: 1px solid #ddd;
    padding: 14px;
}

.article-content th {
    background: #fafafa;
}

/* Footer */
.footer {
    color: #999;
    margin-top: 60px;
    font-size: 14px;
    text-align: left;
}

.items-center {
    line-height: 1.2;
    padding: 20px;
    border: 2px solid black;
}

.items-center h2 {
    margin: 0px 0px 10px 0px;
    font-size: 1.2em;
}

.items-center h3 {
    margin: 0px 0px 10px 0px;
    font-size: 1.1em;
}

.items-center p {
    margin: 0px 0px 10px 0px;
    font-size: 1em;
}

/* Mobile */
@media (max-width: 768px) {
    body {
        padding: 20px 12px;
    }

    .header h1 {
        font-size: 32px;
    }

    .article-content p {
        font-size: 17px;
    }
}

.article-content a .ref-link {
/* .ref-link  { */
    /* color:red; */
    color: gray;
}
