/* 博客卡片样式 */
.blog-wrap {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    border: 1px solid #eee;
    margin-bottom: 30px;
}

.blog-wrap:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

/* 内容区域样式 */
.blog-content {
    padding: 25px;
    background: #fff;
    border-radius: 8px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* 标题样式 */
.blog-content h2 {
    font-size: 18px;
    line-height: 1.4;
    margin-bottom: 12px;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    min-height: 50px;
}

.blog-content h2 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-content h2 a:hover {
    color: #cf9163;
}

/* 元数据样式 */
.blog-meta {
    margin-bottom: 15px;
    font-size: 14px;
    color: #888;
}

.blog-meta a {
    color: #888;
    margin-right: 15px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-meta a:hover {
    color: #cf9163;
}

.blog-meta i {
    margin-right: 5px;
}

.post-domain {
    color: #888;
    font-size: 14px;
}

/* 简介样式 */
.blog-content p {
    margin: 0 0 20px;
    overflow: auto;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    line-height: 1.6;
    color: #666;
    font-size: 14px;
    min-height: 67px;
    flex-grow: 1;
}

/* 按钮样式 */
.blog-btn {
    text-align: right;
    margin-top: auto;
}

.blog-btn a {
    display: inline-block;
    padding: 8px 20px;
    background: #f8f4e5;
    color: #cf9163;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.blog-btn a:hover {
    background: #cf9163;
    color: #fff;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .blog-content {
        padding: 20px;
    }

    .blog-content h2 {
        font-size: 16px;
        min-height: 45px;
    }

    .blog-content p {
        font-size: 13px;
        min-height: 62px;
    }

    .blog-meta {
        font-size: 12px;
    }
}
