@charset "UTF-8";

/* ==================== 平板设备 (768px - 999px) ==================== */
@media screen and (max-width:999px) {
  .wrapper .inner{width: 100%!important;}
  #header .inner{height: auto;min-height: 70px;position: relative;margin-top: 50px;display: flex;align-items: center;justify-content: center;}
  .navi-aside-toggle {
    display: block;
    z-index: 999;
    background: url("images/menu-icon-arrow-white.png") no-repeat 50%;
    background-size: 20px;
    left: 15px;
    right: auto;
    position: absolute;
  }
  #nav{display: none;}
  .head-left{margin-left: 0;padding: 8px 0;width: 100%;display: flex;justify-content: center;position: relative;}
  .sitelogo{width: 100%;display: flex;justify-content: center;}
  .sitelogo a img{display:none;}
  .sitelogo .xueyuanlogo{display:flex;align-items: center;width: auto;max-width: 100%;padding: 0 60px;box-sizing: border-box;}
  .sitelogo .xueyuanlogo img{display:block;height: auto;}
  .sitelogo .xueyuanlogo .mobile_logo{
    display: inline-block;
    width: 70px;
    height: 70px;
    background: url(images/logo.png) no-repeat center center;
    background-size: contain;
    margin-right: 15px;
    margin-top: 0;
    flex-shrink: 0;
  }
  .sitelogo .xueyuanlogo .name{display: flex;flex-direction: column;align-items: flex-start;flex-shrink: 1;}
  .sitelogo .xueyuanlogo .name img{
    width: auto;
    height: 40px;
    max-width: 300px;
  }
  .sitelogo a .separator{display:none;}
  .sitelogo img{display:none;}
  .header .sitelogo{padding-top: 0;padding-bottom: 0;}
  .header .head-right{display: none;}

  .post .tt{padding: 0;margin-bottom: 10px;}
  .main1{height: auto;padding-top: 0px;}
  .main1 .inner, .main2 .inner, .main3 .inner, .main4 .inner{padding: 10px 15px 10px;box-sizing: border-box;}
  .main1 .ml, .main1 .mr, .main3 .ml, .main3 .mr{width: 100%;}
  .post-13 .news_img{width: 100%;height: auto;margin-right: 0;}
  .post-13 .news_txt{margin-bottom: 20px;margin-top: 0;}
  .post-14 .news_list li.news{line-height: 25px;}
  .post-14 .news_title{width: calc(100% - 94px);}

  .main2 .post .tt{padding: 10px 0 0;}
  .post.post-23 .con{padding: 24px 70px;}
  .post-23 .slick-prev {
    left: -60px;
    background: url(images/prev.png) no-repeat left center;
    height: 52px;
    width: 34px;
    top: 35%;
  }
  .post-23 .slick-next {
      right: -60px;
      background: url(images/next.png) no-repeat left center;
      height: 52px;
      width: 34px;
      top: 35%;
  }
  .post-43 li.line{display: none;}
  .post-43 .con{padding: 20px 0 10px;}
  .post-43 .news_list{display: block;}
  .post-43 .news_list li.news{width: 50%;float: left;}
  .post-43 .news_list li.news .news_img{width: 100%;}
  .post-43 .news_list li.news .news_title{font-size: 14px;line-height: 22px;padding-top: 14px;margin-bottom: 22px;width: 100%;}
  .post-43 .news_list li.news .news_title a{padding-top: 6px;}
  
  .post-33 .news_list li.news{align-items: normal;}
  .post-33 .news_list li.news img{margin-top: 12px;}
  .post-33 .news_list li.news .news_meta{min-width: 80px;}
  .post-33 .news_list li.news .news_title{width: calc(100% - 94px);}
  .post-33 .news_list li.news .news_title a {text-overflow: ellipsis;overflow: hidden;white-space: nowrap;max-width: 100%;display: inline-block;}
  .post-33 .news_list li.news{line-height: 30px;}

  .post-36 ul.news_list{padding: 20px;background: none;}

  #footer .inner{height: 230px;}
  #footer .sitelogo img{display:none;}
  #footer .sitelogo .xueyuanlogo{display:flex;align-items: center;}
  #footer .sitelogo .xueyuanlogo img{display:block;}
  #footer .sitelogo .xueyuanlogo .mobile_logo{
    display: inline-block;
    width: 60px;
    height: 60px;
    background: url(images/logo.png) no-repeat center center;
    background-size: contain;
    margin-right: 8px;
    margin-top: 0;
  }
  #footer .sitelogo{padding-top: 15px;}
  #footer .inner .foot-right{padding: 20px 15px;margin: 0;}
  
  #footer .name{margin-left: 2px;font-size: 20px;}
  #footer .sitetitle{    
    text-align: center;
    margin-top: 4px;
  }
  #footer .subsitetitle{}
  .post-23 li{margin-bottom: 20px;}

  /* list page */
  .list-page .l-banner{background-size: cover;}
  .list-page .col_menu{display: none;}
  .list-page .col_news{float: left;min-height: auto;}
  .list-page .col_news .col_news_box{margin-left: 0;}
  .list-page #l-container .news_list li.news{display: flex;line-height: 44px;}
  .list-page #l-container .news_list li.news span.news_title{white-space: nowrap;overflow: hidden;text-overflow: ellipsis;flex: 1;font-size: 14px;}
  .list-page #l-container .news_list li.news span.news_meta{min-width: 68px;}
  .list-page li.pages_count, .list-page li.page_jump{display: none;}
  .list-page #l-container .inner{padding: 10px 15px;box-sizing: border-box;min-height: 300px;}
  .list-page .col_metas .col_path, .list-page .col_metas .col_title{float: none;display: block;}
  #list-dagl-page #l-container .news_list li.news{
    display: block;
    padding: 20px 20px 20px 100px;
  }
  #list-dagl-page #l-container .news_list li.news span.news_title{
    float: none;
    display: block;
    white-space: normal;
    font-size: 18px;
  }
  #list-dagl-page #l-container .news_list li.news span.news_meta{
    float: none;
    display: block;
  }
  #list-dagl-page #l-container .col_news_con{
    padding: 30px 10px 2px!important;
  }
  #list-kszz-page .kszz-item h3 p{position: static;}
  #list-kszz-page .kszz-item h3 p span{
    margin-left: 0;
    display: block;
    float: none;
  }
  #list-kszz-page .kszz-item h3{
    line-height: 30px;
    padding-top: 10px;
    padding-bottom: 10px;
    overflow: hidden;
    padding-left: 15px;
  }
  #list-kszz-page #l-container .col_metas .col_title{margin-bottom: 0;}
  .list-csjs-page .kszz-item{flex-direction: column;}
  .list-csjs-page .kszz-item .imga{display: flex;justify-content: center;}
  .list-csjs-page .kszz-item .imgb{padding: 10px 20px;}

  /* detail page */
  .detail-page #d-container .inner{padding: 10px 15px;box-sizing: border-box;}
}

/* ==================== 手机设备 (max-width: 768px) ==================== */
@media screen and (max-width: 768px) {
  
  /* 基础布局优化 */
  .wrapper .inner {
    width: 100% !important;
    padding: 0 15px;
    box-sizing: border-box;
  }
  
  /* 头部优化 */
  #header {
    height: auto;
    min-height: 60px;
  }
  #header .inner {
    height: auto;
    min-height: 60px;
    margin-top: 0;
    padding: 10px 0;
  }
  .header .head-right {
    position: static;
    width: auto;
    height: auto;
    background: transparent;
    display: none;
  }
  .header .quick-buttons {
    display: none;
  }
  .navi-aside-toggle {
    width: 30px;
    height: 30px;
    left: 10px;
    top: 50%;
    margin-top: -15px;
  }
  .sitelogo{width: 100%;display: flex;justify-content: center;}
  .sitelogo .xueyuanlogo{width: auto;max-width: 100%;padding: 0 55px;}
  .sitelogo .xueyuanlogo .mobile_logo {
    width: 55px;
    height: 55px;
    margin-top: 0;
    margin-right: 10px;
  }
  .sitelogo .xueyuanlogo .name img {
    width: auto;
    height: 30px;
    max-width: 400px;
  }
  
  /* Banner轮播图优化 */
  #banner {
    height: 200px;
    margin-top: 0px;
  }
  .banner-content {
    padding: 15px;
  }
  .banner-title {
    font-size: 16px;
    margin-bottom: 8px;
  }
  .banner-subtitle {
    font-size: 12px;
    margin-bottom: 10px;
  }
  .banner-arrow {
    width: 36px;
    height: 36px;
    font-size: 16px;
    line-height: 36px;
  }
  .banner-arrow.prev {
    left: 10px;
  }
  .banner-arrow.next {
    right: 10px;
  }
  .banner-indicators {
    bottom: 10px;
  }
  .indicator {
    width: 8px;
    height: 8px;
    margin: 0 4px;
  }
  
  /* 核心业务区域优化 */
  .core-business {
    padding: 30px 0 0;
  }
  .core-business .business-items {
    flex-wrap: wrap;
    border-radius: 8px;
  }
  .core-business .business-item {
    flex: 1 1 33.333%;
    min-width: 100px;
    padding: 15px 5px;
    border-right: none;
    border-bottom: 1px solid var(--color-light-gray-border);
  }
  .core-business .business-item:nth-child(3n) {
    border-right: none;
  }
  .core-business .business-item:nth-last-child(-n+2) {
    border-bottom: none;
  }
  .core-business .business-item .icon svg {
    width: 24px;
    height: 24px;
  }
  .core-business .business-item .title {
    font-size: 12px;
  }
  .core-business .business-item .desc {
    font-size: 10px;
    display: none;
  }
  
  /* 新闻区域优化 */
  .news-section {
    margin-top: 30px;
  }
  .news-tabs {
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
  }
  .news-tab {
    font-size: 16px;
    padding: 8px 0;
  }
  .news-content {
    flex-direction: column;
    gap: 20px;
  }
  .news-left {
    flex: none;
    width: 100%;
    padding-top: 0;
  }
  .news-right {
    flex: none;
    width: 100%;
  }
  .headline-news {
    margin-bottom: 0px;
  }
  .headline-item {
    
  }
  .main1 .headline-news .headline-item img{
width: 100%;
    height: auto;

}
  .headline-title {
    font-size: 16px;
    margin: 10px 0 5px;
  }
  .headline-date {
    font-size: 12px;
  }
  .headline-desc {
    font-size: 12px;
    line-height: 1.6;
  }
  
  /* 新闻列表项优化 */
  .news-item {
    gap: 10px;
    margin-bottom: 15px;
  }
  .news-date {
    width: 50px;
    padding: 6px 0;
  }
  .news-date-day {
    font-size: 18px;
  }
  .news-date-month {
    font-size: 10px;
  }
  .news-item-title {
    font-size: 14px;
    margin-bottom: 4px;
  }
  .headline-desc {
    font-size: 12px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  
  /* 案例中心优化 */
  .case-center {
    padding: 30px 0;
  }
  .case-header {
    margin-bottom: 20px;
  }
  .case-title {
    font-size: 20px;
  }
  .case-subtitle {
    font-size: 12px;
  }
  .case-card {
    width: 280px;
  }
  .case-card-img {
    height: 160px;
  }
  .case-card-title {
    font-size: 14px;
  }
  .case-card-desc {
    font-size: 12px;
  }
  
  /* 出国留学区域优化 */
  .study-abroad {
    margin-top: 40px;
  }
  .study-abroad .section-title {
    font-size: 20px;
  }
  .cooperation-logos {
    padding: 20px 0;
  }
  .cooperation-logos img {
    height: 30px;
  }
  
  /* 底部优化 */
  .footer {
    padding: 30px 0 15px;
  }
  .footer .mod {
    margin-bottom: 0;
  }
  .footer .foot-left,
  .footer .foot-center,
  .footer .foot-right {
    float: none;
    width: 100%;
    margin: 0 0 20px 0;
    text-align: center;
  }
  .footer .foot-center {
    display: none;
  }
  .footer .sitelogo {
    margin-bottom: 15px;
  }
  .footer .sitelogo .xueyuanlogo {
    justify-content: center;
  }
  .footer .sitelogo .xueyuanlogo .mobile_logo {
    width: 120px;
    height: 35px;
    margin-top: 0;
  }
  .footer .sitelogo .name img {
    width: 140px;
  }
  .footer .foot-left p {
    font-size: 12px;
    margin-bottom: 5px;
  }
  .footer .follow-us h3 {
    font-size: 14px;
    margin-bottom: 10px;
  }
  .footer .qrcode img {
    width: 80px;
    height: 80px;
  }
  .footer .copyright {
    margin-top: 20px;
    padding-top: 15px;
  }
  .footer .copyright p {
    font-size: 11px;
  }
  
  /* 悬浮窗口优化 */
  .float-window {
    right: 5px;
    padding: 5px;
  }
  .float-item {
    padding: 8px 5px;
  }
  .float-item svg {
    width: 18px;
    height: 18px;
  }
  .float-item span {
    font-size: 9px;
  }
}

/* ==================== 小屏手机 (max-width: 480px) ==================== */
@media screen and (max-width: 480px) {
  
  /* 核心业务区域改为2列 */
  .core-business .business-item {
    flex: 1 1 50%;
    min-width: auto;
    padding: 12px 3px;
  }
  .core-business .business-item:nth-child(3n) {
    border-right: 1px solid var(--color-light-gray-border);
  }
  .core-business .business-item:nth-child(2n) {
    border-right: none;
  }
  .core-business .business-item:nth-last-child(-n+3) {
    border-bottom: 1px solid var(--color-light-gray-border);
  }
  .core-business .business-item:nth-last-child(-n+1) {
    border-bottom: none;
  }
  
  /* Banner进一步缩小 */
  #banner {
    height: 160px;
  }
  .banner-title {
    font-size: 14px;
  }
  
  /* 新闻标签优化 */
  .news-tabs {
    gap: 10px;
  }
  .news-tab {
    font-size: 14px;
  }
  
  /* 案例卡片优化 */
  .case-card {
    width: 260px;
  }
  .case-card-img {
    height: 140px;
  }
  
  /* 头部进一步压缩 */
  .sitelogo a .xueyuanlogo .mobile_logo {
    width: 100px;
    height: 30px;
  }
  .sitelogo .xueyuanlogo .name img {
    width: 220px;
    height: auto;
  }
}

/* ==================== 原有样式保留 ==================== */
@media screen and (max-width: 470px) {
  #footer{background-position: 86% bottom;background-size: 400%;}
}
