
body { background: var(--page-bg, #f4f6fa); }
.article-list-main { max-width: 900px; margin: 40px auto 0 auto; }
.article-list-header {
    margin-bottom: 20px;
    text-align: center;
}
.article-list-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #222;
}
.article-list-desc {
    color: #666;
    font-size: 1rem;
    margin-bottom: 30px;
}

/* 面包屑导航 */
.breadcrumb {
    background: var(--card-bg, #fff);
    border-radius: 10px;
    padding: 12px 20px;
    margin-bottom: 20px;
    box-shadow: 0 1px 8px rgba(0,0,0,0.05);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    font-size: 0.95rem;
}
.breadcrumb-item {
    display: flex;
    align-items: center;
}
.breadcrumb-item:not(:last-child):after {
    content: "/";
    margin: 0 8px;
    color: #aaa;
}
.breadcrumb-item a {
    color: #4f8cff;
    text-decoration: none;
    transition: color 0.2s;
}
.breadcrumb-item a:hover {
    color: #2a6ad4;
}
.breadcrumb-item.active {
    color: #888;
}
.breadcrumb-icon {
    margin-right: 5px;
}

/* 美化文章卡片样式 */
.article-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

/* 有缩略图的文章卡片 */
.article-card-with-thumb {
    background: var(--card-bg, #fff);
    border-radius: 14px;
    box-shadow: 0 2px 12px 0 rgba(0,0,0,0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.article-card-with-thumb:hover { 
    box-shadow: 0 6px 24px 0 rgba(79,140,255,0.15);
    transform: translateY(-3px);
}
.article-thumb-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 宽高比 */
    overflow: hidden;
}
.article-thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.article-card-with-thumb:hover .article-thumb {
    transform: scale(1.05);
}

/* 无缩略图的文章卡片 */
.article-card-no-thumb {
    background: var(--card-bg, #fff);
    border-radius: 14px;
    box-shadow: 0 2px 12px 0 rgba(0,0,0,0.08);
    padding: 20px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    border-left: 4px solid #4f8cff;
}
.article-card-no-thumb:hover { 
    box-shadow: 0 6px 24px 0 rgba(79,140,255,0.15);
    transform: translateY(-3px);
}

.article-info {
    flex: 1;
    padding: 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.article-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 8px;
    color: #222;
    text-decoration: none;
    transition: color 0.2s;
}
.article-title:hover { color: #4f8cff; }
.article-desc {
    color: #666;
    font-size: 1rem;
    margin-bottom: 10px;
    line-height: 1.7;
}
.article-meta {
    font-size: 0.95rem;
    color: #aaa;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px dashed rgba(0,0,0,0.05);
}
.article-tags {
    margin-right: 12px;
    display: flex;
    flex-wrap: wrap;
}
.article-tag {
    display: inline-block;
    background: #eaf4ff;
    color: #4f8cff;
    border-radius: 4px;
    padding: 2px 8px;
    font-size: 0.92em;
    margin-right: 6px;
    margin-bottom: 4px;
}
.article-empty {
    text-align: center;
    padding: 50px 0;
    color: #888;
    grid-column: 1 / -1;
}
.article-empty-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    color: #ccc;
}
.article-pagination {
    display: flex;
    justify-content: center;
    margin: 30px 0;
}
.article-pagination a {
    margin: 0 6px;
    color: #4f8cff;
    font-weight: bold;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.2s;
}
.article-pagination a:hover {
    background: rgba(79,140,255,0.1);
}
@media (max-width: 700px) {
    .article-list-main { max-width: 98vw; padding: 0 10px; }
    .article-list-title { font-size: 1.6rem; }
    .article-cards {
        grid-template-columns: 1fr;
    }
}
@media (prefers-color-scheme: dark) {
    body { background: #181c20; }
    .article-list-title { color: #fff; }
    .article-list-desc { color: #aaa; }
    .article-card-with-thumb, .article-card-no-thumb { background: #23272e; box-shadow: 0 2px 12px 0 rgba(0,0,0,0.18); }
    .article-title { color: #fff; }
    .article-desc { color: #bbb; }
    .article-meta { color: #888; border-top-color: rgba(255,255,255,0.05); }
    .article-tag { background: #2a3a4a; color: #6ed0ff; }
    .article-empty { color: #777; }
    .article-empty-icon { color: #444; }
    /* 夜间模式下的面包屑 */
    .breadcrumb { background: #23272e; }
    .breadcrumb-item.active { color: #aaa; }
    .breadcrumb-item a:hover { color: #6ed0ff; }
    /* 夜间模式下的H标签样式 */
    .article-list-main h1 { color: #eee; }
    .article-list-main h2 { color: #ddd; }
    .article-list-main h3 { color: #ccc; }
    .article-list-main h4 { color: #bbb; }
    .article-list-main h5 { color: #aaa; }
    .article-list-main h6 { color: #999; }
}
/* 不同H标签样式支持 */
.article-list-main h1 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 18px;
    color: #222;
}
.article-list-main h2 {
    font-size: 1.7rem;
    font-weight: bold;
    margin: 24px 0 16px 0;
    color: #333;
}
.article-list-main h3 {
    font-size: 1.4rem;
    font-weight: bold;
    margin: 20px 0 14px 0;
    color: #444;
}
.article-list-main h4 {
    font-size: 1.25rem;
    font-weight: bold;
    margin: 18px 0 12px 0;
    color: #555;
}
.article-list-main h5 {
    font-size: 1.1rem;
    font-weight: bold;
    margin: 16px 0 10px 0;
    color: #666;
}
.article-list-main h6 {
    font-size: 1rem;
    font-weight: bold;
    margin: 14px 0 8px 0;
    color: #777;
}