/**
 * 文章列表页面样式
 * 
 * @package Ripro_V5_TJ
 * @version 1.0.0
 */

/* 文章网格 */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

/* 文章卡片 */
.post-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* 缩略图 */
.post-thumbnail {
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 标题 */
.entry-header {
    padding: 20px 20px 10px;
}

.entry-title {
    margin: 0 0 10px;
    font-size: 20px;
    line-height: 1.4;
}

.entry-title a {
    color: #333;
    text-decoration: none;
}

.entry-title a:hover {
    color: #0073aa;
}

/* 元信息 */
.entry-meta {
    font-size: 13px;
    color: #666;
    margin-bottom: 10px;
}

.entry-meta span {
    margin-right: 15px;
}

/* 摘要 */
.entry-summary {
    padding: 0 20px 15px;
    font-size: 14px;
    line-height: 1.6;
    color: #666;
}

/* 底部 */
.entry-footer {
    padding: 0 20px 20px;
}

/* 阅读更多按钮 */
.read-more {
    display: inline-block;
    padding: 8px 16px;
    background-color: #0073aa;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.read-more:hover {
    background-color: #005a87;
}

/* 页面头部 */
.page-header {
    margin-bottom: 30px;
}

.page-title {
    font-size: 28px;
    margin: 0 0 10px;
}

.archive-description {
    color: #666;
    font-size: 14px;
}

/* 无结果页面 */
.no-results {
    text-align: center;
    padding: 50px 20px;
}

.no-results .page-title {
    font-size: 24px;
    margin-bottom: 15px;
}

/* 响应式 */
@media (max-width: 768px) {
    .posts-grid {
        grid-template-columns: 1fr;
    }
}
