.banner{
    width: 100%;
    height: 500px;
    margin-top: 135px;
}
.banner img{
    width: 100%;
    height: 500px;
}
.banner span{
    position: relative;
    bottom: 267px;
    left: 210px;
    width: 196px;
    height: 32px;
    font-family: 'Poppins-Black';
    font-weight: 900;
    font-size: 42px;
    color: #FFFFFF;
    line-height: 57px;
    text-align: left;
    font-style: normal;
    text-transform: none;
}
/* ------------------------------------------------------------------------------------------------------- */

/* 面包屑 */
.breadcrumb{
    width: 100%;
    height: 45px;
    background-color: #e5e5e5;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.breadcrumb-container{
    width: 78%;
    height: 45px;
    line-height: 45px;
}
.breadcrumb-container a{
    text-decoration: none;
}
.breadcrumb .span1{
    width: 37px;
    height: 11px;
    font-family: ArialMT;
    font-size: 14px;
    color: #626263;
    text-align: left;
    font-style: normal;
    text-transform: none;
}
.breadcrumb .span2{
    width: 59px;
    height: 12px;
    font-family: SourceHanSansCN, SourceHanSansCN;
    font-weight: 400;
    font-size: 14px;
    color: #E60012;
    text-align: left;
    font-style: normal;
    text-transform: none;
}
/* ------------------------------------------------------------------------------------------------------- */

/* 筛选器 */
.filter{
    width: 437px;
    height: 35px;
    margin: 0 auto;
    display: flex;
    margin-top: 70px;
    margin-bottom: 51px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}
.all{
    width: 100px;
    height: 35px;
    border: #E60012 1px solid;
    background-color: #ffffff;
    color: #E60012;
}
/* 筛选器按钮激活状态 */
.all.active,
.company_news.active, 
.industry_news.active {
  background-color: #E60012 !important;
  color: #ffffff !important;
}
.company_news{
    width: 150px;
    height: 35px;
    border: #E60012 1px solid;
    background-color: #ffffff;
    color: #E60012;
}
.industry_news{
    width: 150px;
    height: 35px;
    border: #E60012 1px solid;
    background-color: #ffffff;
    color: #E60012;
}
.news{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.news_item{
    width: 78%;
    height: 241px;
    display: flex;
    border-bottom: #e5e5e5 1px solid;
    margin-top: 25px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}
.news_item_img{
    /* width: 23%; */
}

.news_item:hover{
    div div{
      color: red;
    }
    cursor: pointer;
}
.news_item h1{
    height: 26px;
    font-family: Poppins-Bold;
    font-weight: bold;
    font-size: 24px;
    color: #222254;
    text-align: left;
    font-style: normal;
    text-transform: none;
    margin: 0px 0 15px 0;
}
.news_item_text{
    margin-left: 55px;
    width: 82%;
}
.news_item_text span{
    color: #413F3F;
}
.news_item_text div{
    width: 100%;
    height: 123px;
    font-family: Poppins-Regular;
    font-weight: 400;
    font-size: 19px;
    color: #222254;
    text-align: left;
    font-style: normal;
    text-transform: none;
    margin: 13px 0 5px 0;
    /* 添加文本溢出处理 */
    display: -webkit-box;
    -webkit-line-clamp: 4; /* 限制显示4行 */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.45; /* 调整行高以确保4行正好是123px高度 */
}


.fenye{
    width: 100%;
    height: 100px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
}

/* ======================= 手机端样式 ======================= */
@media (max-width: 768px) {
    /* 横幅 */
    .banner {
        height: 140px;
        margin-top: 61px;
    }
    
    .banner img {
        height: 140px;
    }
    
    .banner span {
        bottom: 180px;
        left: 20px;
        font-size: 28px;
        width: auto;
        text-align: center;
    }
    
    /* 面包屑 */
    .breadcrumb {
        height: auto;
    }
    
    .breadcrumb-container {
        width: 100%;
        height: auto;
        line-height: 1.5;
    }
    
    /* 筛选器 */
    .filter {
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        margin-top: 30px;
        margin-bottom: 30px;
    }
    
    .all, .company_news, .industry_news {
        width: 90px;
        font-size: 14px;
    }
    
    /* 新闻列表 */
    .news {
        height: auto;
    }
    
    .news_item {
        width: 100%;
        height: auto;
        flex-direction: column;
        margin-top: 20px;
    }
    
    .news_item img {
        object-fit: cover;
    }
    .news_item_img{
        width: 50%;
    }
    .news_item_text {
        margin-left: 0;
        width: 100%;
    }
    
    .news_item h1 {
        width: 100%;
        font-size: 20px;
        text-align: center;
        margin-bottom: 45px;
    }
    
    .news_item_text div {
        width: 100%;
        height: auto;
        font-size: 16px;
        line-height: 1.5;
        -webkit-line-clamp: 3;
    }
    
    /* 分页 */
    .fenye {
        height: auto;
        flex-wrap: wrap;
        margin-top: 35px;
    }
    
    .page-numbers {
        flex-wrap: wrap;
        justify-content: center;
        gap: 5px;
    }
    
    .pagination button,
    .page-numbers button {
        padding: 6px 10px;
        font-size: 14px;
    }
}

/* 横屏模式适配 */
@media (max-width: 768px) and (orientation: landscape) {
    .banner {
        height: 250px;
    }
    
    .banner img {
        height: 250px;
    }
    
    .banner span {
        bottom: 150px;
        font-size: 24px;
    }
    
    .news_item {
        flex-direction: row;
    }
    
    .news_item img {
        width: 40%;
        height: 150px;
        margin-right: 15px;
    }
    
    .news_item_text {
        width: 60%;
    }
}