/* 文章列表通用样式 */
.article-list {
    margin-bottom: 30px;
}

/* 文章卡片样式 */
.article-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.article-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* 文章卡片布局 */
.article-card-inner {
    display: flex;
    padding: 20px;
}

/* 图片容器 */
.article-image-wrapper {
    flex: 0 0 160px;
    margin-right: 20px;
}

.article-image {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
}

.placeholder-image {
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 8px;
    color: #666;
}

/* 文章内容区 */
.article-content-wrapper {
    flex: 1;
    min-width: 0;
}

/* 文章标题 */
.article-title {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 10px;
    color: #333;
    text-decoration: none;
    display: block;
}

.article-title:hover {
    color: #1e88e5;
}

/* 文章摘要 */
.article-excerpt {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: justify;
}

/* 文章元信息 */
.article-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.85rem;
    color: #888;
}

.article-meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* 深色主题适配 */
body.dark-theme .article-card {
    background: #242424;
}

body.dark-theme .article-title {
    color: #e0e0e0;
}

body.dark-theme .article-title:hover {
    color: #1e88e5;
}

body.dark-theme .article-excerpt {
    color: #999;
}

body.dark-theme .article-meta {
    color: #777;
}

body.dark-theme .placeholder-image {
    background: #333;
    color: #666;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .article-card-inner {
        flex-direction: column;
    }

    .article-image-wrapper {
        flex: none;
        margin-right: 0;
        margin-bottom: 15px;
    }

    .article-image,
    .placeholder-image {
        height: 160px;
    }

    .article-title {
        font-size: 1.1rem;
    }
} 