/* 页面容器 */
.page-container {
    background: #f0f4f8;  /* 淡蓝色背景 */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
}

/* 重置 markdown 样式 */
.page-container .markdown-body {
    font-family: "Noto Serif SC", "Source Han Serif SC", Georgia, serif !important;
    font-size: 16px !important;
    line-height: 2 !important;
    color: #2c4356 !important;  /* 深蓝灰色文字 */
    text-align: justify;
    background: none !important;
    padding: 0 !important;
}

/* 重置链接样式 */
.page-container .markdown-body a {
    color: #3b6c9d !important;  /* 忧郁蓝链接 */
    text-decoration: none !important;
    border-bottom: 1px solid rgba(59, 108, 157, 0.2);
    transition: border-color 0.2s;
}

.page-container .markdown-body a:hover {
    border-bottom-color: #3b6c9d;
}

/* 文章容器 */
.page-container .article-container {
    max-width: 800px !important;
    margin: 40px 20px 80px;
    padding: 60px 80px;
    background: #fff;
    box-shadow: 
        0 4px 30px rgba(59, 108, 157, 0.08),
        0 1px 3px rgba(59, 108, 157, 0.1);
    border-radius: 8px;
    line-height: 1.8;
    letter-spacing: 0.02em;
    box-sizing: border-box;
    position: relative;
    width: 100%;
    border: 1px solid rgba(59, 108, 157, 0.1);
}

/* 装饰效果 */
.page-container .article-container::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border: 1px solid rgba(59, 108, 157, 0.08);
    border-radius: 4px;
    pointer-events: none;
}

/* 标题样式 */
.page-container .article-title {
    text-align: center;
    font-size: 2.4em !important;
    margin-bottom: 1em;
    font-weight: 600 !important;
    color: #1c3d5a;  /* 深蓝色标题 */
    padding-bottom: 20px;
    font-family: "Noto Serif SC", Georgia, serif;
    position: relative;
}

.page-container .article-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 30%;
    right: 30%;
    height: 1px;
    background: linear-gradient(to right, 
        transparent, 
        rgba(59, 108, 157, 0.2),
        rgba(59, 108, 157, 0.2),
        transparent
    );
}

/* 文章元信息 */
.page-container .article-meta {
    text-align: center;
    margin: 20px 0 40px;
    color: #6b89a5;
    font-style: normal;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* 文章内容 */
.page-container .article-content {
    word-wrap: break-word;
    word-break: normal;
    line-height: 2;
    color: #2c4356;
}

.page-container .article-content p {
    text-indent: 2em !important;
    margin-bottom: 1.5em !important;
    text-align: justify;
}

/* 标题样式 */
.page-container .markdown-body h1,
.page-container .markdown-body h2,
.page-container .markdown-body h3 {
    color: #1c3d5a !important;
    font-family: "Noto Serif SC", Georgia, serif !important;
    border-bottom: 1px solid rgba(59, 108, 157, 0.2) !important;
    padding-bottom: 0.3em !important;
    margin: 1.5em 0 0.8em !important;
}

/* 引用样式 */
.page-container .markdown-body blockquote {
    border-left: 4px solid #6b89a5 !important;
    color: #4a6583 !important;
    margin: 1.5em 0 !important;
    padding: 0.5em 1em !important;
    background: rgba(59, 108, 157, 0.05) !important;
}

/* 底部样式 */
.page-container .site-footer {
    background: #f0f4f8;
    padding: 40px 0;
    border-top: 1px solid rgba(59, 108, 157, 0.1);
    margin-top: auto;
    width: 100%;
}

.page-container .footer-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    color: #6b89a5;
}

.page-container .footer-info {
    text-align: center;
}

.page-container .footer-info p {
    margin: 0 0 15px 0;
    color: #6b89a5;
    font-family: "Noto Serif SC", Georgia, serif;
}

.page-container .footer-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.page-container .footer-links a {
    color: #6b89a5;
    text-decoration: none;
    transition: color 0.2s;
}

.page-container .footer-links a:hover {
    color: #1c3d5a;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .page-container .article-container {
        margin: 0 0 60px;
        padding: 30px 25px;
        box-shadow: none;
        border-radius: 0;
    }

    .page-container .article-container::before {
        display: none;
    }

    .page-container .article-title {
        font-size: 1.8em !important;
    }

    .page-container .article-content {
        font-size: 15px;
        line-height: 1.8;
    }

    .page-container .footer-links {
        gap: 15px;
        padding: 0 10px;
    }
}
