.content {
    width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

.content .news-category{
    margin: 30px auto 0;
    display: flex;
    justify-content: center;
}
.content .news-category .news-category-item{
    width: 224px;
    height: 40px;
    border: 1px solid #C1C1C1;
    text-align: center;
    margin-right: 10px;
    font-size: 14px;
    line-height: 40px;
}
.content .news-category .news-category-item:last-child{
    margin-right: 0;
}
.content .news-category .news-category-item a{
      color: #1A1A1A;
      text-decoration: none;
}
.content .news-category .news-category-item.active{
    border-color: #E60012;
}
.content .news-category .news-category-item.active a{
    color: #E60012;
}

/* 新闻列表样式修改 */
.content .news-list{
    display: flex;
    flex-wrap: wrap;
    margin-top: 40px;
    gap: 21px; /* 计算得出的间距，确保3个项目加间距等于1200px */
}

/* 新闻项样式 */
.content .news-list .news-item{
    width: 386px;
    height: 541px;
    background: #FFFFFF;
    box-shadow: 0px 30px 60px 1px rgba(0,0,0,0.16);
    border-radius: 0px;
    margin: 0;
    padding: 20px;
    box-sizing: border-box;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

/* 日期样式 */
.content .news-list .news-item .news-date {
    width: 80px;
    height: 14px;
    font-family: Arial, Arial;
    font-weight: 400;
    font-size: 12px;
    color: #7C819E;
    line-height: 27px;
    text-align: left;
    font-style: normal;
    text-transform: none;
}

/* 标题样式 */
.content .news-list .news-item .news-title{
    width: 347px;
    height: auto; /* 改为auto以适应多行文本 */
    font-family: Arial, Arial;
    font-weight: bold;
    font-size: 18px;
    color: #1A1A1A;
    line-height: 27px;
    text-align: left;
    font-style: normal;
    text-transform: none;
    margin-top: 16px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

/* 视频封面图样式 */
.content .news-list .news-item .news-img{
    width: 346px;
    height: 296px;
    border-radius: 0px;
    position: relative;
    margin-top: 20px;
}
.content .news-list .news-item .news-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.content .news-list .news-item .news-img .news-img-icon{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(0,0,0,.4);
    display: none;
}
.content .news-list .news-item .news-img .news-img-icon img{
    width: 45px;
    height: 45px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* 简述样式 */
.content .news-list .news-item .news-desc{
    width: 346px;
    height: 50px;
    font-family: Arial, Arial;
    font-weight: 400;
    font-size: 12px;
    color: #666666;
    line-height: 18px;
    text-align: left;
    font-style: normal;
    text-transform: none;
    margin-top: 20px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

/* 分隔线样式 */
.content .news-list .news-item .news-divider {
    width: 346px;
    height: 1px;
    background: #CECECE;
    border-radius: 0px;
    margin-top: 20px;
}

/* View all 区域样式 */
.content .news-list .news-item .news-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

/* View all 按钮样式 */
.content .news-list .news-item .news-footer .view-all {
    width: 48px;
    height: 16px;
    font-family: Arial, Arial;
    font-weight: 400;
    font-size: 14px;
    color: #7C819E;
    text-align: left;
    font-style: normal;
    text-transform: none;
    text-decoration: none;
}

/* 右侧装饰图形 */
.content .news-list .news-item .news-footer .decorative-shape {
    width: 38px;
    height: 16px;
    object-fit: contain; 
}

/* 悬停效果 */
.content .news-list .news-item:hover .news-img .news-img-icon{
    display: block;
}
.content .news-list .news-item:hover .news-footer .view-all {
    color: #E60012;
}

/* 分页样式 */
.content .pagination {
    margin-top: 60px;
    text-align: center;
    padding-bottom: 60px;
}

@media only screen and (min-width: 1000px) and (max-width: 1440px) {
    .content {
        width: 900px;
    }
    .content .news-list .news-item {
        width: 280px;
        height: auto;
    }
    .content .news-list .news-item .news-img {
        width: 240px;
        height: 200px;
    }
    .content .news-list .news-item .news-title,
    .content .news-list .news-item .news-desc,
    .content .news-list .news-item .news-divider {
        width: 240px;
    }
}

@media only screen and (max-width: 1000px) {
    .content {
        width: 100%;
    }
    .content .news-list {
        flex-direction: column;
        align-items: center;
    }
    .content .news-list .news-item {
        width: 100%;
        max-width: 386px;
        height: auto;
        margin-bottom: 30px;
    }
}