/* 文章卡片基础样式 */
.post-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.post-card:hover {
    transform: translateY(-5px);
}

/* 缩略图样式 */
.post-image {
    position: relative;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
    aspect-ratio: 16/9;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.post-image:hover img {
    transform: scale(1.05);
}

/* 文章内容区域 */
.post-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* 文章标题 */
.entry-title {
    font-size: 1.5rem;
    margin: 0 0 15px;
    line-height: 1.4;
}

.entry-title a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.entry-title a:hover {
    color: var(--primary-color);
}

/* 文章元数据 */
.entry-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.entry-meta span {
    display: inline-flex;
    align-items: center;
}

.entry-meta i {
    margin-right: 5px;
    color: var(--primary-color);
}

/* 文章内容 */
.entry-content {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

/* 阅读更多按钮 */
.read-more {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    margin-top: auto;
    transition: all 0.3s ease;
}

.read-more i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.read-more:hover {
    color: var(--primary-dark);
}

.read-more:hover i {
    transform: translateX(5px);
}

/* 分类链接样式 */
.cat-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.cat-links a:hover {
    color: var(--primary-color);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .entry-title {
        font-size: 1.25rem;
    }
    
    .post-content {
        padding: 15px;
    }
    
    .entry-meta {
        font-size: 0.8125rem;
    }
}