/* ========================================
   页面卡片式设计样式 - Custom Page Card Style
   仅对页面(page)生效，不影响文章(single)
   ======================================== */

/* 页面内容卡片容器 */
body.page .content-area .article-content {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 40px 35px;
    margin-bottom: 30px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

body.page .content-area .article-content:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

/* 页面标题样式 */
body.page .article-content .page-card-header {
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 2px solid #f0f4f8;
    position: relative;
}

body.page .article-content .page-card-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

body.page .article-content .page-card-header .entry-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 0;
    line-height: 1.4;
    letter-spacing: -0.5px;
}

/* 内容区域排版优化 */
body.page .article-content .entry-wrapper {
    padding: 0;
}

body.page .article-content .entry-content {
    font-size: 16px;
    line-height: 1.9;
    color: #4a4a4a;
}

body.page .article-content .entry-content p {
    margin-bottom: 1.5em;
}

body.page .article-content .entry-content a:not(.btn) {
    color: #667eea;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.2s ease;
}

body.page .article-content .entry-content a:not(.btn):hover {
    color: #764ba2;
    border-bottom-color: #764ba2;
}

/* 内容中的标题样式 */
body.page .article-content .entry-content h2 {
    font-size: 22px;
    font-weight: 600;
    color: #1a1a2e;
    margin-top: 2em;
    margin-bottom: 1em;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f4f8;
}

body.page .article-content .entry-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: #2d2d44;
    margin-top: 1.8em;
    margin-bottom: 0.8em;
    padding-left: 12px;
    border-left: 3px solid #667eea;
}

/* 引用块样式 */
body.page .article-content blockquote {
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f4f8 100%);
    border-left: 4px solid #667eea;
    border-radius: 0 12px 12px 0;
    padding: 20px 25px;
    margin: 1.5em 0;
}

body.page .article-content blockquote::before,
body.page .article-content blockquote::after {
    display: none;
}

body.page .article-content blockquote p {
    margin: 0;
    font-style: italic;
    color: #555;
}

/* 列表样式优化 */
body.page .article-content ul,
body.page .article-content ol {
    padding-left: 1.5em;
    margin-bottom: 1.5em;
}

body.page .article-content li {
    margin-bottom: 0.6em;
    line-height: 1.7;
}

/* 代码块样式 */
body.page .article-content pre {
    background: #2d2d44;
    border-radius: 10px;
    padding: 20px;
    margin: 1.5em 0;
    overflow-x: auto;
}

body.page .article-content code {
    font-family: 'Fira Code', 'Source Code Pro', monospace;
    font-size: 14px;
}

body.page .article-content p code {
    background: #f0f4f8;
    padding: 2px 8px;
    border-radius: 4px;
    color: #e83e8c;
    font-size: 14px;
}

/* 图片样式 */
body.page .article-content img {
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

body.page .article-content img:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* 移动端适配 */
@media (max-width: 768px) {
    body.page .content-area .article-content {
        padding: 25px 20px;
        border-radius: 12px;
        margin-bottom: 20px;
    }

    body.page .article-content .page-card-header .entry-title {
        font-size: 22px;
    }

    body.page .article-content .entry-content {
        font-size: 15px;
    }

    body.page .article-content .entry-content h2 {
        font-size: 19px;
    }

    body.page .article-content .entry-content h3 {
        font-size: 17px;
    }
}
