/* 文章列表基础样式 */
.post-list {
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid var(--color-border);
    transition: background-color 0.2s ease;
}

.post-list:last-child {
    border-bottom: none;
}

/* 文章内容布局 */
.post-list .post-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.post-list.has-post-thumbnail .post-inner {
    grid-template-columns: 200px minmax(0, 1fr);
}

/* 缩略图样式 */
.post-list .post-thumbnail {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: var(--radius-md);
}

.post-list .post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* 文章内容区域 */
.post-list .post-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* 文章元信息 */
.post-list .entry-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 13px;
    line-height: 24px;
    color: var(--color-text-light);
}

.post-list .entry-meta a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.post-list .entry-meta a:hover {
    color: var(--color-accent);
}

/* 分类标签 */
.post-list .entry-category {
    font-weight: 500;
}

.post-list .entry-category a {
    color: var(--color-accent);
}

.post-list .entry-category a:hover {
    text-decoration: underline;
}

/* 文章标题 */
.post-list .entry-title {
    font-size: 18px;
    line-height: 1.4;
    margin: 0;
}

.post-list .entry-title a {
    color: var(--color-text);
    text-decoration: none;
    transition: color 0.2s ease;
}

/* 文章摘要 */
.post-list .entry-summary {
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-text-light);
    margin: 0;
}

/* 文章页脚 */
.post-list .entry-footer {
    margin-top: auto;
}

.post-list .tags-links {
    font-size: 12px;
    color: var(--color-text-light);
}

.post-list .tags-links a {
    color: var(--color-text-light);
    text-decoration: none;
}

/* 悬停效果 */
.post-list:hover {
    background: var(--color-background-alt);
}

.post-list:hover .entry-title a {
    color: var(--color-accent);
}

.post-list:hover .post-thumbnail img {
    transform: scale(1.05);
}

/* 响应式布局 */
@media (max-width: 991.98px) {
    .post-list.has-post-thumbnail .post-inner {
        grid-template-columns: 180px 1fr;
        gap: 15px;
    }
}

@media (max-width: 767.98px) {
    .post-list .post-inner,
    .post-list.has-post-thumbnail .post-inner {
        grid-template-columns: 1fr;
    }
    
    .post-list .post-thumbnail {
        aspect-ratio: 16/9;
    }
}