/* BLOG页面专用样式 */

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
}
.thumb-image{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 主内容区域 */

/* 面包屑导航 */


.breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item:hover {
    color: #e74c3c;
}

.breadcrumb-item i {
    font-size: 12px;
}

.breadcrumb-separator {
    margin: 0 10px;
    color: #999;
}

/* 博客网格 - 4列布局 */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 60px;
}

/* 博客文章卡片 */
.blog-item {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
}

/* 博客图片 */
.blog-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    margin-bottom: 0;
}

/* 博客内容 */
.blog-content {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* 博客主标题 */
.blog-title {
    font-size: 16px;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.3;
    text-align: left;
    word-break: keep-all;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* 博客日期 */
.blog-date {
    font-size: 13px;
    color: #999;
    font-weight: 400;
    margin-bottom: 12px;
}

/* Read More链接 */
.read-more {
    color: #bec0bf;
    font-size: 13px;
    font-weight: 500;
    margin-top: auto;
}

/* 自定义分页样式 */
.pagination-custom {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 40px 0;
}

.pagination-custom a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    color: #666;
    background: transparent;
    transition: all 0.3s ease;
}

.pagination-custom a:hover {
    color: #333;
    background: #f5f5f5;
}

.pagination-custom a.current {
    color: #fff;
    background: #555;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .main-content {
        padding: 0px 0 20px 0;
    }

    .blog-content {
        padding: 12px;
    }

    .blog-title {
        font-size: 14px;
    }

    .blog-date {
        font-size: 12px;
    }

    .read-more {
        font-size: 12px;
    }

    .pagination-custom a {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .container {
        padding: 0 15px;
    }

    .blog-title {
        font-size: 15px;
    }

    .blog-date {
        font-size: 12px;
    }

    .read-more {
        font-size: 12px;
    }

    .pagination-custom a {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }
}