

:root{
    --card-bg: #ffffff;
    --muted: #666;
    --accent: #1757bf;
    --shadow: 0 6px 18px rgba(0,0,0,0.04);
}


main {
    max-width: 1200px !important;
    margin: 30px auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* 列表页面板 */
.list-panel,
.article-panel {
    background: var(--card-bg);
    border-radius: 8px;
    padding: 20px;
    box-shadow: var(--shadow);
    overflow: hidden;
}


.articleMetas{

    text-align: center;
    font-size: 16px !important;

}


div[frag="窗口1"] > h1 {
    text-align: center !important;
    font-size: 27px !important;
}

/* 列表页标题 */
.list-panel .list-title,
.article-panel .article-title {
    font-family: 'SiYuanFont', "Microsoft YaHei", Arial, sans-serif;
    font-size: 20px;
    color: #333;
    margin: 0 0 12px 0;
    letter-spacing: 1px;
}

/* 列表项容器 */
.list-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* 单条列表项 */
.list-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 14px 0;
    border-bottom: 1px dashed #eee;
    min-width: 0;
}

/* 可用于日期、缩略图、正文 */
.list-item .item-date {
    flex: 0 0 70px;
    color: var(--accent);
    text-align: center;
    font-family: 'ShuziFont', sans-serif;
}

.list-item .item-thumb {
    flex: 0 0 140px;
    height: 88px;
    overflow: hidden;
    border-radius: 6px;
    background: #f5f5f5;
}

.list-item .item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.list-item .item-body {
    flex: 1 1 auto;
    min-width: 0;
}

.list-item .item-title {
    font-size: 16px;
    color: #333;
    font-weight: 600;
    margin: 0 0 6px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.list-item .item-desc {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 文章页 */
.article-container {
    max-width: 900px;
    margin: 30px auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.article-panel {
    padding: 24px;
}

.article-title {
    font-size: 22px;
    margin-bottom: 12px;
    color: #222;
    line-height: 1.3;
}

.article-meta {
    font-size: 13px;
    color: #888;
    margin-bottom: 18px;
}

/* 文章正文内容 */
.article-content {
    color: #444;
    line-height: 1.8;
    font-size: 16px;
}

/* 使内容内图片、表格、视频等响应 */
.article-content img,
.article-content video,
.article-content iframe {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 12px 0;
}

.article-content img.align-left {
    float: left;
    margin: 0 14px 12px 0;
    max-width: 40%;
    width: auto;
    height: auto;
}

.article-content img.align-right {
    float: right;
    margin: 0 0 12px 14px;
    max-width: 40%;
    width: auto;
    height: auto;
}

.article-content img.align-center {
    display: block;
    margin: 12px auto;
    max-width: 100%;
}

/* 引用、代码块 */
.article-content blockquote {
    border-left: 4px solid #eee;
    padding-left: 12px;
    color: #666;
    margin: 12px 0;
}
.article-content pre {
    background: #f7f8fa;
    padding: 12px;
    border-radius: 6px;
    overflow: auto;
}

/* 底部更多链接 */
.list-footer {
    text-align: right;
    margin-top: 12px;
}
.list-footer a { color: var(--accent); }

/* 小屏优化 */
@media (max-width: 768px) {

    main { padding: 0 16px; margin: 18px auto; }
    .list-item {
        flex-direction: row;
        gap: 12px;
        padding: 12px;
        background: #fff;
        border-radius: 8px;
        box-shadow: var(--shadow);
        border-bottom: none;
        margin-bottom: 12px;
    }
    .list-item .item-date { flex: 0 0 64px; font-size: 18px; }
    .list-item .item-thumb { flex: 0 0 110px; height: 72px; border-radius: 6px; }
    .list-item .item-title { font-size: 15px; white-space: nowrap; }
    .list-item .item-desc { display: none; } /* 列表页移动端只展示标题，节省空间 */

    .article-container { max-width: 100%; padding: 0 12px; margin: 16px auto; }
    .article-panel { padding: 16px; }
    .article-title { font-size: 20px; }
    .article-content { font-size: 15px; }

    .list-footer { text-align: center; }


      #wp_paging_w7 {
    margin-bottom: 80px; 
    position: relative;
    z-index: 2;            
}


.footer {
    position: relative;
    z-index: 1;
    padding-top: 18px;      /* 给页脚上方留出额外空间 */
}

}


@media (max-width: 420px) {
    .list-item { gap: 10px; padding: 10px; }
    .list-item .item-thumb { flex: 0 0 92px; height: 68px; }
    .list-item .item-date { display: none; }
    .article-title { font-size: 18px; }
    .article-content { font-size: 14px; }
}


