img{
    max-width: 100%!important;
}
/*招生专业  留学干货-*/
.major_news{
    width: 1000px;
    max-width: 100%;
    margin:0 auto;
    display: flex;
    justify-content:space-between ;
}
.major_news .left_major{
    width: 647px;
}
.major_news .left_major .major_list{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.major_news .left_major .major_list .item{
    padding:15px 8px 0;
    width: 196px;
    line-height: 20px;
}
.major_news .left_major .major_list .item p{
    width: 196px;
    height: 103px;
    overflow: hidden;
    border-radius: 6px;

}
.major_news .left_major .major_list img{
    width: 196px;
    height: 103px;
    transition: all 0.3s;
}
.major_news .left_major .major_list .item:hover img{
    transform: scale(1.1);
}
.major_news .right{
    width: 343px;
}
.major_news .left_major .major_list .item h3{
    padding-top:8px;
    font-weight: bold;
    font-size: 16px;
}
.major_news .left_major .major_list .item span{
    font-size: 12px;
}
.major_news .right_major{
    width: calc(100% - 667px);
}
.major_news .right_major ul{
    line-height:35px;
    font-size: 16px;
    padding-top: 10px;
    height: 225.28px;
}
.major_news .right_major ul li{
    border-bottom: 1px dashed #ccc;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    height: 35px;
}
/*海外院校*/
.school{
    width: 1000px;
    max-width: 100%;
    margin:25px auto 0;
}
.school .country{
    display: flex;
    justify-content: space-between;
    padding-top:15px;
}
.school .country .item{
    display: flex;
    width: calc(50% - 15px);
}
.school .country .item .country_name{
    width: 78px;
    border:1px solid #ccc;
    text-align: center;
    padding:10px 0;
    font-size: 28px;
    margin-right: 20px;
}
.school .country .item .country_name img{
    width: 60px;
    height: 60px;
    margin-bottom: 10px;
}
.school .country .item ul{
    line-height: 35px;
    width: calc(100% - 100px);
}
.school .country .item ul li{
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.school .country .item ul li a{
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    display: block;
    width: 100%;
}
/*.school .country .item ul li:last-child{*/
/*    text-align: center;*/
/*}*/
.school .country .item ul li:last-child a{
    color:#c40000;
}
.school .country .school_item{
    width: calc(50% - 15px);
}
.school .country .school_item .item{
    margin-bottom: 15px;
    align-items: center;
    width: 100%;
}
.school .country .school_item .xinxilan{
    margin-bottom: 8px;
}
.school .country .school_item .malaixiya{
    line-height: 28px;
}
/*<!--感言 新闻动态  作品集-->*/
.news_list{
    width: 1000px;
    max-width: 100%;
    margin:10px auto;
    display: flex;
    justify-content: space-between;
}
.news_list .item{
    width: 302px;
}
.news_list .item ul{
    padding:10px 0 0;
    line-height: 41px;
}
.news_list .item ul li{
    border-bottom: 1px solid #eee;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 41px;
}
.news_list .item ul li a{
    width: 100%;
    display: flex;
    justify-content: space-between;
}
.news_list .item ul li a b{
    font-weight: normal;
    width: calc(100% - 90px);
    overflow: hidden;
    text-overflow: ellipsis;
}
.news_list .item ul li a span{
    width: 75px;
}
/*校园生活*/
.life{
    width: 1000px;
    max-width: 100%;
    margin:20px auto;
}
.life .life_list{
    display: flex;
    flex-wrap: wrap;
    padding:20px 0 0;
    justify-content: space-between;
}
.life .life_list .item{
    width: 240px;
    margin-bottom: 20px;
}
.life .life_list .item p{
    width: 100%;
    height: 175px;
    border-radius: 8px;
    overflow: hidden;
}
.life .life_list .item img{
    width: 100%;
    height: 175px;
    transition: all 0.3s;
}
.life .life_list .item:hover img{
    transform: scale(1.2);
}
/*关于我们*/
.detail_cont{
    width: 1000px;
    max-width: 100%;
    margin:0 auto;
    display: flex;
}
.detail_cont .detail_left{
    width: 210px;
}
.detail_cont .detail_left h2{
    background:#c40000;
    font-size: 16px;
    height: 45px;
    line-height: 45px;
    color:#fff;
    padding:0 10px;
}
.detail_cont .detail_left ul{
    padding:15px 0;
}
.detail_cont .detail_left ul li{
    border-bottom:1px dashed #eee;
    line-height: 45px;
    font-size: 16px;
}
.detail_cont .detail_left ul li a{
    padding:0 20px;
}

.detail_cont .detail_left ul li a:hover,.detail_cont .detail_left ul li.on a{
    color:#c40000;
}
.detail_cont .flow_left_nav .left_content{
    border:1px solid #eee;
    padding:20px 10px;
}
.detail_cont .flow_left_nav .left_content h3{
    font-size: 24px;
    line-height: 35px;
}
.detail_cont .flow_left_nav .left_content h3:nth-child(2){
    padding-bottom: 15px;
}
.detail_cont .flow_left_nav .left_content p{
    font-size: 14px;
}
.detail_cont .flow_left_nav .left_content a{
    border:1px solid #c40000;
    color:#c40000;
    width: 170px;
    margin: 20px auto;
    display: block;
    line-height: 45px;
    text-align: center;
    font-size: 18px;
    transition: all 0.3s;
}
.detail_cont .flow_left_nav .left_content a:hover{
    background:#c40000;
    color:#fff;
}
.detail_cont .flow_left_nav .left_content .ewm{
    text-align: center;
}
.detail_cont .flow_left_nav .left_content .ewm small{
    display: block;
    text-align: center;
}
.detail_cont .detail_right{
    width: calc(100% - 230px);
    margin-left: 20px;
}
.detail_cont .detail_right .title{
    line-height: 45px;
}
.detail_cont .detail_right .title h1{
    font-weight: normal;
}
.detail_cont .detail_right .detail{
    padding:20px 0;
    line-height: 35px;
}

.detail_cont  .question_list ul{
    padding-top:10px;
}
.detail_cont  .question_list ul li a{
    display: flex;
    width: 100%;
    line-height: 50px;
    border-bottom:1px dotted #ccc;
    justify-content: space-between;
    align-items: center;
}
.detail_cont .detail_right .question_list ul li a span{
    width: 80px;
}
.detail_cont .detail_right .question_list ul li a p{
    width: calc(100% - 82px);
    white-space: nowrap;
    height: 50px;
    overflow: hidden;
    text-overflow: ellipsis;
}


.detail_page{
    width: 1000px;
    max-width: 100%;
    margin:0 auto;
}
.detail_page ul{
    padding-top:10px;
}
.detail_page  ul li a{
    display: flex;
    width: 100%;
    line-height: 50px;
    border-bottom:1px dotted #ccc;
    justify-content: space-between;
    align-items: center;
}
.detail_page  .question_list ul li a span{
    width: 80px;
}
.detail_page .question_list ul li a p{
    width: calc(100% - 82px);
    white-space: nowrap;
    height: 50px;
    overflow: hidden;
    text-overflow: ellipsis;
}


.detail_page  .img_list ul li img{
    width: 80px;
    height: 80px;
}
.detail_page  .img_list ul{
    width: 100%;
}
.detail_page .img_list ul li{
    border-bottom:1px dotted #ccc;
    padding:15px 0;
}
.detail_page .img_list ul li a{
    border-bottom:0;
    line-height: 20px;
}
.detail_page .img_list ul li:hover h2 a{
    color:#c40000;
}
.detail_page .img_list ul li h2 a{
    font-size: 14px;
    color:#666;
    line-height: 30px;
    padding-top:5px;
}
.detail_page .img_list ul li .info{
    color:#797979;
    font-size: 12px;
}
.detail_page .img_list ul li .tags{
    display: flex;
    padding-top:5px;
}
.detail_page .img_list ul li .tags .tag{
    border:1px solid #ccc;
    padding:0 10px;
    border-radius: 5px;
    margin-right: 6px;
    font-size: 12px;
    color:#797979;
}

.detail_page .zuopinji ul li{
    display: flex;
    align-items: center;
}
.detail_page .zuopinji ul li h2{
    padding-bottom: 10px;
}
.detail_page .zuopinji ul li img{
    width: 260px;
    height: 146px;
}
.detail_page .zuopinji ul li .tags{
    font-size: 12px;
    color:#797979;
}
.detail_page .zuopinji ul li > div{
    width: calc(100% - 280px);
    margin-left: 20px;
}




.zsjz{
    box-shadow: 0 0 10px #f8f8f8;
    padding:15px;
}
.zsjz h1{
    font-size: 26px;
    font-weight: normal;
    text-align: center;
    border-bottom: 1px dotted #ccc;
    padding-bottom: 15px;
}


.school_detail h1{
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}
.school_detail .detail{
    padding-top:10px!important;;
}

.detail_page .content a{
    display: inline;
}
.detail_page .content{
    line-height: 30px;
}




.shengming{
    border-top: 1px dashed #ccc;
    line-height: 25px;
    font-size: 12px;
    color:#797979;
    padding-top:10px;
    margin:10px 0;
}
.pre_next{
    line-height: 45px;
}
.pre_next p{
    white-space: nowrap;
    overflow: hidden;
    text-overflow:ellipsis;
}







    /* 主图区样式 */
.news_list .layui-container{
    width: 100%;
    padding-top:10px;
}
.main-carousel {
    width: 100%;
    height: 500px; /* 可根据需求调整高度 */
    margin-bottom: 10px;
}
.main-carousel p{
    display: flex;
    align-items: center;
    height: 100%;
    width: 100%;
}
.main-carousel img {
    width: 100%;
    /*height: 100%;*/
    background: #f5f5f5;
}

/* 缩略图容器 */
.thumb-list {
    display: flex;
    gap: 10px;
    padding: 10px 0;
    overflow-x: auto; /* 横向滚动 */
    scrollbar-width: thin;
    padding-bottom: 5px;
}
.thumb-list::-webkit-scrollbar {
    height: 6px;
}
.thumb-list::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}
.thumb-list::-webkit-scrollbar {
    display: none;
}
/* 缩略图项 */
.thumb-item {
    flex: 0 0 auto;
    width: 80px;
    height: 50px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: border-color 0.3s;
    border-radius: 4px;
    overflow: hidden;
}
.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* 选中状态 */
.thumb-item.active {
    border-color: #ff5722; /* 橙色高亮，可自定义 */
}










@media screen and (max-width: 750px){
    /* 手机端CSS代码 */
    .detail_page{
        padding:10px;
        width: calc(100% - 20px);
    }
    .detail_cont{
        display: block;
    }
    .detail_cont .detail_left{
        /*display: none;*/
        width: 100%;
    }
    .detail_cont .detail_left h2{
        display: none;
    }
    .detail_cont .detail_left ul{
        display:flex;
        flex-wrap: wrap;
        margin:0 0 10px;
        padding:0;
        border-bottom: 1px solid #eee;
    }
    .detail_cont .detail_left ul li{
        border-bottom: 0;
    }
    .detail_cont .detail_left ul li a{
        padding:0 10px;
    }
    .detail_cont .detail_right{
        width: calc(100% - 20px);
        margin:0 10px;
    }
    .detail_cont .detail_right *{
        max-width: 100%!important;
        overflow: hidden;
    }
    .detail_cont .detail_right .title h1{
        line-height: 30px;
        padding:0;
    }
    .detail_page .content *, .detail_cont .detail *{
        text-indent:0!important;
        margin-left:0!important;
    }

    .news_list{
        display: block;
        width: calc(100% - 20px);
        margin: 0 10px;
    }
    .news_list .item{
        width: 100%;
        margin-bottom: 15px;
    }
    .news_list .item:first-child ul li a{
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: block;
        width: 100%;
    }
    .major_news{
        display: block;
    }
    .major_news .left_major{
        width: calc(100% - 20px);
        margin: 0 10px;
    }
    .major_news .left_major .major_list{
        padding-top: 15px;
    }
    .major_news .left_major .major_list a.item{
        width: calc(33% - 8px);
        padding:0 4px;
        position: relative;
        margin-bottom: 8px;
    }
    .major_news .left_major .major_list a.item p,.major_news .left_major .major_list a.item p img{
        width: 100%;
        height: 80px;
    }
    .major_news .left_major .major_list a.item span{
        display: none;
    }
    .major_news .left_major .major_list a.item h3{
        font-size: 12px;
        position: absolute;
        bottom:3px;
        text-align: center;
        color:#fff;
        width: 100%;
    }
    .major_news .right_major,.school,.life{
        width: calc(100% - 20px);
        margin: 0 10px;
    }
    .school .country{
        display: block;
    }
    .school .country .item,.school .country .school_item{
        width: 100%;
    }
    .school .country .item:last-child{
        display: none;
    }
    .life .life_list .item{
        width: 32.5%;
        height: 110px;
        margin-bottom: 10px;
    }
    .life .life_list .item img,.life .life_list .item p{
        height: 110px;
    }


    .detail_page .zuopinji ul li{
        display: block;
        align-items: center;
    }
    .detail_page .zuopinji ul li h2{
        padding-bottom: 10px;
    }
    .detail_page .zuopinji ul li img{
        width: 100%;
    }
    .detail_page .zuopinji ul li .tags{
        font-size: 12px;
        color:#797979;
    }
    .detail_page .zuopinji ul li > div{
        width: 100%;
        margin-left: 0px;
    }
}










