.content{
    width: 1400px;
    margin: 80px auto;
    font-size: 16px;
    color: #333333;
    line-height: 30px;
}

.content .news-category{
    margin: 40px auto;
    display: flex;
    justify-content: center;
    gap: 15px;
    list-style: none;
    padding: 0;
}
.content .news-category .news-category-item{
    display: block;
    margin: 0;
    border-radius: 30px;
    border: 1px solid #E0E0E0;
    background: #F8F9FA;
    transition: all 0.3s ease;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}
.content .news-category .news-category-item a{
    display: block;
    padding: 10px 32px;
    font-size: 15px;
    font-weight: 500;
    color: #495057;
    text-decoration: none;
    line-height: 1.2;
    transition: all 0.3s ease;
}
.content .news-category .news-category-item:hover{
    background: #cb2a29;
    border-color: #cb2a29;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(203, 42, 41, 0.2);
}
.content .news-category .news-category-item:hover a{
    color: #FFFFFF;
}
.content .news-category .news-category-item.active{
    background: #cb2a29;
    border-color: #cb2a29;
    box-shadow: 0 4px 12px rgba(203, 42, 41, 0.2);
}
.content .news-category .news-category-item.active a{
    color: #FFFFFF;
}

.content .news-list ul{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.content .news-list .news-item{
    width: 100%;
    margin-right: 0;
    background: #FFFFFF;
    border-radius: 12px;
    border: 1px solid #EAEAEA;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}
.content .news-list .news-item .news-img{
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    position: relative;
    background: #edf1f6;
}
.content .news-list .news-item .news-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.content .news-list .news-item .news-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.content .news-list .news-item .news-content .news-title{
    font-weight: bold;
    font-size: 18px;
    color: #1A1A1A;
    line-height: 1.4;
    margin-top: 0;
    height: 2.8em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    transition: color 0.3s ease;
}
.content .news-list .news-item .news-content .news-desc{
    font-size: 14px;
    color: #666666;
    line-height: 1.6;
    margin-top: 10px;
    height: 4.8em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}
.content .news-list .news-item .news-content .news-time{
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #F1F3F5;
    font-size: 14px;
    color: #888888;
    display: flex;
    align-items: baseline;
    gap: 2px;
}
.content .news-list .news-item .news-content .news-time .news-time-day{
    font-size: 20px;
    font-weight: 700;
    color: #cb2a29;
}
.content .news-list .news-item .news-content .news-time .news-time-month{
    font-size: 13px;
    color: #999;
}
.content .news-list .news-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
    border-color: #cb2a29;
}
.content .news-list .news-item:hover .news-img img{
    transform: scale(1.05);
}
.content .news-list .news-item:hover .news-content .news-title{
    color: #cb2a29;
}

/* Pagination */
.content .pagination {
    margin-top: 42px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    list-style: none;
    padding: 0;
}
.content .pagination li {
    display: inline-block;
    margin: 0;
    padding: 0;
    border: none;
}
.content .pagination li a,
.content .pagination li span {
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    border-radius: 4px; 
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 600;
    color: #4b5563;
    background: #fff;
    border: 1px solid #d1d5db;
    text-decoration: none;
    transition: all 0.2s ease;
}
.content .pagination li.active span {
    background: #cb2a29;
    border-color: #cb2a29;
    color: #fff;
}
.content .pagination li a:hover {
    background: #fef2f2;
    border-color: #cb2a29;
    color: #cb2a29;
}
.content .pagination li.disabled span {
    color: #9ca3af;
    background: #f9fafb;
    border-color: #e5e7eb;
    cursor: not-allowed;
}



.content .post_title{
    font-weight: bold;
    font-size: 30px;
    color: #000000;
    line-height: 33px;
    margin: 30px 0;
    text-align: center;
}
.content .post_content img{
    max-width: 100%;
    display: block;
    margin: 0 auto;
}
.content .post_content p,
.content .post_content span{
    text-wrap: wrap !important;
    overflow-wrap: break-word;
    word-break: break-word;
}
.content .post_content embed{
    max-width:100%!important;
}
.content .post_line{
    width: 100%;
    height: 1px;
    background: #CECECE;
    margin: 30px 0;
}
.content .post_info{
    font-size: 14px;
    color: #505050;
    line-height: 16px;
    margin: 20px 0 30px;
}
.content .post_info .post_info_left{
    float: left;
}
.content .post_info .post_info_right{
    float: right;
}

.content .content-bottom{
    margin: 30px 0 20px;
}
.content .content-bottom .prev,
.content .content-bottom .next{
    font-size: 14px;
    color: #505050;
    line-height: 21px;
    max-width: 50%;
    white-space: nowrap;     /* 强制单行显示 */
    overflow: hidden;        /* 隐藏溢出内容 */
    text-overflow: ellipsis; /* 显示省略号 */
}
.content .content-bottom .prev a,
.content .content-bottom .next a{
    color: #ea222d;
    cursor: pointer;
}
.content .content-bottom .prev{
    float: left;
}
.content .content-bottom .next{
    float: right;
}


@media only screen and (min-width: 1000px) and (max-width: 1440px) {
    .content{
        width: 900px;
        margin: 60px auto;
    }
    .content .news-list ul{
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    .content .news-list .news-item{
        flex-direction: row;
        width: 100%;
        align-items: stretch;
    }
    .content .news-list .news-item .news-img{
        width: 280px;
        flex-shrink: 0;
        aspect-ratio: 16 / 10;
        border-radius: 12px 0 0 12px;
    }
    .content .news-list .news-item .news-content .news-title{
        font-size: 16px;
        line-height: 1.4;
        height: auto;
        max-height: 2.8em;
    }
    .content .news-list .news-item .news-content .news-desc{
        font-size: 13px;
        margin-top: 8px;
        height: auto;
        max-height: 4.8em;
    }
}
@media only screen and (max-width: 1000px) {
    .content{
        width: 700px;
        margin: 40px auto;
    }
    .content .news-list ul{
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    .content .news-list .news-item{
        flex-direction: row;
        width: 100%;
        align-items: stretch;
    }
    .content .news-list .news-item .news-img{
        width: 220px;
        flex-shrink: 0;
        aspect-ratio: 16 / 10;
        border-radius: 12px 0 0 12px;
    }
    .content .news-list .news-item .news-content .news-title{
        font-size: 16px;
        line-height: 1.4;
        height: auto;
        max-height: 2.8em;
    }
    .content .news-list .news-item .news-content .news-desc{
        font-size: 13px;
        margin-top: 8px;
        height: auto;
        max-height: 4.8em;
    }
}