/*
Theme Name: ShequERP
Theme URI: https://pxwei.com
Description: 奢趣 ERP 官网前端主题（简约大气），首页展示解决方案/功能/客户案例，新闻中心对接 Typecho 文章。
Author: CALA / 奢趣 ERP
Author URI: https://pxwei.com
Version: 1.0.0
*/

@import url("assets/css/main.css");

/* Typecho 文章页补充 */
.post-page {
    padding: 80px 0 100px;
    background: var(--bg);
}

.post-page .post-header {
    max-width: 760px;
    margin: 0 auto 40px;
    text-align: center;
}

.post-page .post-header h1 {
    font-family: 'Noto Serif SC', serif;
    font-size: clamp(26px, 3.2vw, 36px);
    margin: 16px 0;
    line-height: 1.4;
}

.post-page .post-meta {
    color: var(--text-light);
    font-size: 13px;
}

.post-page .post-cover {
    max-width: 900px;
    margin: 0 auto 36px;
    border: 1px solid var(--line);
}

.post-page .post-cover img {
    width: 100%;
    display: block;
}

.post-page .post-content {
    max-width: 760px;
    margin: 0 auto;
    color: var(--text-secondary);
    font-weight: 300;
    font-size: 16px;
    line-height: 1.9;
}

.post-page .post-content img {
    max-width: 100%;
    height: auto;
}

.post-page .post-content h2,
.post-page .post-content h3 {
    color: var(--text);
    font-family: 'Noto Serif SC', serif;
    margin: 1.6em 0 0.6em;
}

.archive-page {
    padding: 80px 0 100px;
}

.archive-list {
    max-width: 820px;
    margin: 0 auto;
}

.archive-item {
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: 20px;
    padding: 28px 0;
    border-bottom: 1px solid var(--line);
}

.archive-item .news-date em {
    font-style: normal;
    font-family: 'Noto Serif SC', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--text);
    line-height: 1;
    display: block;
}

.page-nav {
    text-align: center;
    margin-top: 40px;
}

.page-nav a,
.page-nav span {
    display: inline-block;
    margin: 0 6px;
    padding: 8px 14px;
    border: 1px solid var(--line);
    font-size: 13px;
}

.page-nav .current {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.error-page {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
}

.error-page h1 {
    font-family: 'Noto Serif SC', serif;
    font-size: 64px;
    color: var(--gold);
    margin-bottom: 12px;
}

.comment-list {
    list-style: none;
    margin: 40px auto 0;
    max-width: 760px;
}

.comment-body {
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
}

.comment-author {
    font-weight: 500;
    margin-bottom: 6px;
}

.comment-meta {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 10px;
}
