/* 全局设置 */
html, .more {
    text-align: center;
}

body {
    font: 100%/1.15 system-ui, sans-serif;
    margin: 0;
    color: #444;
    background-color: #FFF;
}

a {
    text-decoration: none;
    color: #007fff;
}

a:hover {
    color: #444;
    text-decoration: underline;
}

/* 容器样式 */
.container {
    max-width: 660px;
    margin: 0 auto;
    padding: 0 16px;
}

/* 文章列表样式 */
.post-list {
    list-style: none;
    padding-left: 0;
    margin: 22px 0;
}

.post-list li {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    line-height: 1.6;  /* 调整行间距 */
}

.post-list li a {
    color: #007fff;
    font-size: 1em; /* 调整字体大小 */
}

.post-list li a:hover {
    text-decoration: underline;
    color: #444; /* 调整鼠标悬停颜色 */
}

/* 文章标题样式 */
h1, h2 {
    font-weight: normal;
    margin: 0;
    font-size: 1.4em; /* 调整字体大小 */
}

/* 文章元数据样式 */
.post-meta {
    font-size: 0.9em;
    color: #999;
    margin-top: -5px; /* 缩小标题与日期之间的间距 */
}

.post-meta time {
    margin-left: 10px;
    white-space: nowrap;
}

/* 文章内容样式 */
.post-content {
    line-height: 1.7;
    word-wrap: break-word;
    margin-bottom: 1.5em;
}

.post-content a {
    color: #007fff;
    text-decoration: none;
}

.post-content a:hover {
    text-decoration: underline;
}

/* 页脚样式 */
#footer {
    padding: 25px 0 16px;
    font-size: 13px;
    color: #999;
    text-align: center;
}

/* 分页导航样式 */
.page-navigator {
    list-style: none;
    margin: 25px 0;
    padding: 0;
    text-align: center;
}

.page-navigator li {
    display: inline-block;
    margin: 0 4px;
}

.page-navigator a {
    display: inline-block;
    padding: 0 10px;
    height: 30px;
    line-height: 30px;
}

.page-navigator a:hover {
    background: #eee;
    text-decoration: none;
}

.page-navigator .current a {
    color: #444;
    background: #eee;
}

/* 图像样式：优化图片大小 */
img {
    max-width: 730px;
    width: 100vw;
    height: auto;
    margin-left: 50%;
    transform: translateX(-50%);
}

/* 响应式设计 */
@media (max-width: 1400px) {
    body {
        font-size: 105%;
    }
}

/* 暗色模式 */
@media (prefers-color-scheme: dark) {
    body {
        background: #222;
        color: #eee;
    }

    #header, .post {
        border-bottom: 1px solid #444;
    }

    blockquote {
        border-left: 4px solid #444;
        color: #bbb;
    }

    #menu a:hover, .page-nav a:hover, .current, code, pre, table th, #s, .post-list li:hover {
        background: #333;
    }

    table, table td, table th, hr, #s {
        border: 1px solid #444;
    }

    .arc-title, .de, .post-near, .tags, .post-meta, #footer, #footer a, figcaption {
        color: #bbb;
    }
}