.mobile-header,.mobile-menu,.mobile-home{display:none}
@media(max-width:767px){
body{background:#fff;padding-bottom:calc(76px + env(safe-area-inset-bottom));font-size:15px;line-height:1.7}
body>.top_box,body>.nav_box,body .top_box#site-header{display:none!important}
.mobile-header{display:flex;align-items:center;justify-content:space-between;padding:14px 18px;border-bottom:1px solid #edf0ef;background:white;min-height:66px}
.mobile-header img{width:140px;height:auto;display:block}.mobile-header button{border:1px solid #dbe8e5;border-radius:8px;background:white;color:#168a78;padding:8px 12px;font-size:14px}
.mobile-menu:not([hidden]){display:grid;grid-template-columns:1fr 1fr;padding:12px 18px;background:#f1f8f6;gap:6px}.mobile-menu a{padding:10px;color:#28544c}
.mobile-home-page>div:not(.mobile-home){display:none!important}.mobile-home{padding:0 18px 24px}.mobile-home-page .mobile-home{display:block}.mobile-home section{padding:24px 0}.mobile-home h1{font-size:30px;line-height:1.5;margin:12px 0;color:#203d36}.mobile-home h2{font-size:20px;line-height:1.5;margin:0 0 14px;color:#203d36}.mobile-home p{color:#687c76;margin:10px 0 18px}.mobile-welcome{background:linear-gradient(140deg,#edf8f3,#fff4e9);margin:16px -4px 0;padding:26px 20px!important;border-radius:18px}.mobile-welcome>span{font-size:12px;color:#698179}.mobile-primary{display:inline-block;padding:11px 20px;border-radius:999px;background:#00af95;color:#fff!important;font-size:15px}.mobile-service-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.mobile-service-grid a{padding:18px 12px;border:1px solid #e4eeeb;border-radius:12px;background:#fafcfb}.mobile-service-grid b{display:block;font-size:17px;color:#225b50}.mobile-service-grid span{display:block;font-size:12px;color:#768780;margin-top:6px}.mobile-about{border-top:1px solid #edf0ef;border-bottom:1px solid #edf0ef}.mobile-links{display:flex;gap:14px;flex-wrap:wrap}.mobile-links a{color:#008e79;font-size:14px}.mobile-phone{display:block;margin-top:18px;color:#008e79}
.ny_left,.nyban_box,.bottom_box,.links_box,.footer_box,.anli_box{display:none!important}.ny{margin:12px 0;padding:0 16px}.ny_right{width:100%;min-height:0}.ny_nav{padding:8px 0}.ny_nav p{font-size:12px}.news_nei_list,.jie,.jie-cont,.news-left{padding-left:0!important;padding-right:0!important;margin-left:0!important;margin-right:0!important}.news-left p,.message-text p{font-size:16px!important;line-height:1.9!important}.news-left h1,.jie_top h3{font-size:23px!important;line-height:1.5!important}.news_nei_list img{height:auto!important;max-width:100%!important}.rmz{margin-top:12px}.rmz-hero{padding:22px 18px 60px}.rmz-hero-title{font-size:23px}.rmz-hero-sub{font-size:14px;line-height:1.7}.rmz-card{box-shadow:0 4px 18px #213d3610}.rmz-chip{min-height:42px}.rmz-btn{min-height:46px}.booking-concerns button{width:100%;border-radius:12px}.rm-chat-body{height:48vh;min-height:240px}.rm-chat-row{align-items:stretch}.rm-chat-row textarea{height:76px}.rm-chat-send{height:76px}.chat-page .rmz-card{padding:16px 10px}.rm-shortcuts button{display:flex}.rm-shortcuts a,.rm-shortcuts button{font-size:11px;min-height:64px;flex:1 1 0;min-width:0}.rm-shortcuts a:last-of-type{border-right:1px solid #ffffff40}
.pro_list ul{grid-template-columns:repeat(2,minmax(0,1fr))}.pro_list ul li p{white-space:normal}.ny_right ul li{max-width:100%}.ny_right input,.ny_right textarea,.ny_right select{max-width:100%}
}
/* Course cards: stacked image and readable text, no desktop clipping. */
@media(max-width:767px){
.kecheng_nei_list,.kecheng_nei,.kecheng_nei ul{width:100%!important;margin:0!important;padding:0!important}
.kecheng_nei li{display:flex!important;flex-direction:column;width:100%!important;height:auto!important;margin:16px 0!important;padding:0 0 20px!important;border-bottom:1px solid #e5eeeb;overflow:visible!important}
.kecheng_nei .img_box{float:none!important;width:100%!important;height:auto!important;margin:0!important;border-radius:12px;overflow:hidden}
.kecheng_nei .img_box a{display:block}.kecheng_nei .img_box img{display:block;width:100%!important;height:auto!important;max-width:100%;margin:0!important}
.kecheng_nei .kecheng_right{float:none!important;width:100%!important;height:auto!important;position:static!important;padding:14px 0 0!important;margin:0!important}
.kecheng_right>a{display:block;font-size:20px!important;line-height:1.5!important;white-space:normal!important}
.kecheng_right p,.kecheng_right .txtoverflow-clamp{display:block!important;width:100%!important;height:auto!important;max-height:none!important;overflow:visible!important;white-space:normal!important;-webkit-line-clamp:unset!important;line-height:1.8!important;font-size:14px!important;margin:8px 0!important;overflow-wrap:anywhere}
.kecheng_right .time{position:static!important;text-align:left!important}.kecheng_right .time a{display:inline-block;padding:7px 14px;background:#edf8f4;color:#008e79;border-radius:8px}.kecheng_nei li>.clear{display:none}
.subject-list{width:100%}.subject-list li .photo{float:none;width:100%;height:auto}.subject-list li .text{width:100%;height:auto;padding:14px 0}.subject-list li .text p{height:auto;line-height:1.8}.subject-details-keshi,.subject-details-text{padding:16px!important}
}

@media(max-width:767px){
.kecheng_nei_list,.kecheng_nei,.kecheng_nei ul{width:100%!important;margin:0!important;padding:0!important}
.kecheng_nei li{display:flex!important;flex-direction:column;width:100%!important;height:auto!important;padding:18px 0!important;margin:0!important;overflow:visible!important;border-bottom:1px solid #e4eeeb}
.kecheng_nei .img_box{width:100%!important;height:auto!important;float:none!important;margin:0!important}
.kecheng_nei .img_box img{float:none!important;display:block;width:100%!important;height:auto!important;max-height:360px;object-fit:contain;border:0;border-radius:10px}
.kecheng_right{width:100%!important;float:none!important;height:auto!important;padding:12px 0!important;margin:0!important}
.kecheng_right a,.kecheng_right p{float:none!important;position:static!important;width:auto!important;height:auto!important;max-height:none!important;display:block!important;white-space:normal!important;overflow:visible!important;-webkit-line-clamp:unset!important;margin:8px 0!important;line-height:1.8!important;overflow-wrap:anywhere}
.kecheng_right>a{font-size:20px!important}
.kecheng_right p{font-size:14px!important}
.kecheng_right .time{background:none!important;padding:0!important}
.kecheng_right .time a{font-size:14px!important;color:#008e79!important}
.jiaoshi_nei_list,.jiaoshi_nei,.jiaoshi_nei ul{width:100%!important;margin:0!important;padding:0!important}
.jiaoshi_nei li{display:flex!important;flex-direction:column;width:100%!important;height:auto!important;padding:18px 0!important;margin:0!important;overflow:visible!important;border-bottom:1px solid #e4eeeb}
.jiaoshi_nei .img_box{width:100%!important;height:auto!important;float:none!important;margin:0!important}
.jiaoshi_nei .img_box img{float:none!important;display:block;width:100%!important;height:auto!important;max-height:360px;object-fit:contain;border:0;border-radius:10px}
.jiaoshi_right{width:100%!important;float:none!important;height:auto!important;padding:12px 0!important;margin:0!important}
.jiaoshi_right a,.jiaoshi_right p{float:none!important;position:static!important;width:auto!important;height:auto!important;max-height:none!important;display:block!important;white-space:normal!important;overflow:visible!important;-webkit-line-clamp:unset!important;margin:8px 0!important;line-height:1.8!important;overflow-wrap:anywhere}
.jiaoshi_right>a{font-size:20px!important}
.jiaoshi_right p{font-size:14px!important}
.jiaoshi_right .time{background:none!important;padding:0!important}
.jiaoshi_right .time a{font-size:14px!important;color:#008e79!important}
.zhuanjia_nei_list,.zhuanjia_nei,.zhuanjia_nei ul{width:100%!important;margin:0!important;padding:0!important}
.zhuanjia_nei li{display:flex!important;flex-direction:column;width:100%!important;height:auto!important;padding:18px 0!important;margin:0!important;overflow:visible!important;border-bottom:1px solid #e4eeeb}
.zhuanjia_nei .img_box{width:100%!important;height:auto!important;float:none!important;margin:0!important}
.zhuanjia_nei .img_box img{float:none!important;display:block;width:100%!important;height:auto!important;max-height:360px;object-fit:contain;border:0;border-radius:10px}
.zhuanjia_right{width:100%!important;float:none!important;height:auto!important;padding:12px 0!important;margin:0!important}
.zhuanjia_right a,.zhuanjia_right p{float:none!important;position:static!important;width:auto!important;height:auto!important;max-height:none!important;display:block!important;white-space:normal!important;overflow:visible!important;-webkit-line-clamp:unset!important;margin:8px 0!important;line-height:1.8!important;overflow-wrap:anywhere}
.zhuanjia_right>a{font-size:20px!important}
.zhuanjia_right p{font-size:14px!important}
.zhuanjia_right .time{background:none!important;padding:0!important}
.zhuanjia_right .time a{font-size:14px!important;color:#008e79!important}
.anli_nei_list,.anli_nei,.anli_nei ul{width:100%!important;margin:0!important;padding:0!important}
.anli_nei li{display:flex!important;flex-direction:column;width:100%!important;height:auto!important;padding:18px 0!important;margin:0!important;overflow:visible!important;border-bottom:1px solid #e4eeeb}
.anli_nei .img_box{width:100%!important;height:auto!important;float:none!important;margin:0!important}
.anli_nei .img_box img{float:none!important;display:block;width:100%!important;height:auto!important;max-height:360px;object-fit:contain;border:0;border-radius:10px}
.anli_right{width:100%!important;float:none!important;height:auto!important;padding:12px 0!important;margin:0!important}
.anli_right a,.anli_right p{float:none!important;position:static!important;width:auto!important;height:auto!important;max-height:none!important;display:block!important;white-space:normal!important;overflow:visible!important;-webkit-line-clamp:unset!important;margin:8px 0!important;line-height:1.8!important;overflow-wrap:anywhere}
.anli_right>a{font-size:20px!important}
.anli_right p{font-size:14px!important}
.anli_right .time{background:none!important;padding:0!important}
.anli_right .time a{font-size:14px!important;color:#008e79!important}
.column-main{width:100%!important;max-width:100%;padding:0 16px!important;box-sizing:border-box}.combg{height:auto!important;padding:20px 0!important}.comtitle,.comlocation,.combg-items{width:100%!important;height:auto!important;padding:10px 0!important}.comtitle h1,.comtitle h2{font-size:24px!important}.service-tags ul{display:flex;flex-wrap:wrap;gap:8px}.service-tags li{float:none!important;width:auto!important;min-height:0!important;padding:6px 10px!important;line-height:1.6!important}.service-list>ul{display:block!important}.service-list li{float:none!important;width:100%!important;margin:16px 0!important;padding:0!important}.service-list li .items{height:auto!important;padding:16px!important}.service-list li .photo{width:100%!important;height:auto!important;float:none!important}.service-list img{max-width:100%!important;height:auto!important}.service-list li .text{float:none!important;width:100%!important;height:auto!important;padding:14px 0!important}.service-list li .text h3{height:auto!important;font-size:20px!important;line-height:1.6!important}.service-list dl,.service-list dt,.service-list dd{width:auto!important;height:auto!important;white-space:normal!important;line-height:1.8!important;overflow:visible!important}#pagerMain,.bbbbb{width:100%!important;display:flex;flex-wrap:wrap;gap:6px;justify-content:center;margin:18px 0!important}.ny_right .txtoverflow-clamp{display:block!important;-webkit-line-clamp:unset!important;max-height:none!important;height:auto!important;overflow:visible!important}
}

/* Hide supplementary case carousels on every mobile page. */
@media(max-width:767px){.lc:has(.hl_main5_content),.mobile-supplementary-cases{display:none!important}}

@media(max-width:767px){.news_nei,.news_nei ul{width:100%!important;padding:0!important;margin:0!important}.news_nei li{display:flex;flex-direction:column;width:100%!important;height:auto!important;padding:18px 0!important;overflow:visible!important}.news_nei .img_box{width:100%!important;height:auto!important;float:none!important}.news_nei .img_box img{width:100%!important;height:auto!important;max-height:240px;object-fit:contain;float:none!important}.news_nei .new_right{width:100%!important;height:auto!important;float:none!important;padding:12px 0!important;margin:0!important}.news_nei .new_right a,.news_nei .new_right p{float:none!important;width:auto!important;height:auto!important;white-space:normal!important;overflow-wrap:anywhere;line-height:1.8!important}.news_nei .new_right>a{font-size:18px!important}.news_nei .new_right .time{font-size:12px!important;margin:8px 0!important;background:none!important;padding:0!important}}

@media(max-width:767px){.rm-shortcuts{padding-left:max(6px,env(safe-area-inset-left));padding-right:max(6px,env(safe-area-inset-right));padding-bottom:env(safe-area-inset-bottom);box-sizing:border-box}.rm-shortcuts button{display:flex!important;border-right:0}.rm-shortcuts button img{width:24px;height:24px}}

@media(max-width:767px){
.fenxiao_nei_list,.fenxiao_nei,.fenxiao_nei ul{width:100%!important;margin:0!important;padding:0!important}
.fenxiao_nei li{display:flex;flex-direction:column;width:100%!important;height:auto!important;padding:18px 0!important;overflow:visible!important;border-bottom:1px solid #e2ece8}
.fenxiao_nei .img_box{width:100%!important;height:auto!important;float:none!important}.fenxiao_nei .img_box img{float:none!important;width:100%!important;height:auto!important;max-height:260px;object-fit:contain;border-radius:10px}
.fenxiao_right{width:100%!important;height:auto!important;float:none!important;padding:12px 0!important;margin:0!important}.fenxiao_right a,.fenxiao_right p{display:block!important;float:none!important;width:auto!important;height:auto!important;max-height:none!important;overflow:visible!important;white-space:normal!important;-webkit-line-clamp:unset!important;line-height:1.8!important;margin:8px 0!important;overflow-wrap:anywhere}.fenxiao_right>a{font-size:21px!important}.fenxiao_right p{font-size:15px!important}.fenxiao_right .time{background:none!important;padding:0!important}.fenxiao_right .time a{font-size:14px!important;color:#008e79!important}
.temp_con1,.temp_con1 dl,.temp_con1 dd,.temp_con1 dt,.product_nei,.pro_nei,.product_cont{width:100%!important;height:auto!important;float:none!important;padding:0!important;margin:0!important}.temp_con1 dd h4{height:auto!important;overflow:visible!important;background:none!important;font-size:21px!important;line-height:1.6!important}.ny_right .jie-cont img{max-width:100%!important;height:auto!important}.ny_right .jie-cont p{white-space:normal!important;overflow-wrap:anywhere}
}
@media(max-width:767px){
.columnbg,.column-main,.outer,.school,.school-main,.school-main-left,.school-main-right,.school-info,.school-content{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box;height:auto!important;float:none!important}
.service-details-banner{height:auto;min-height:180px}.service-details-banner .text{padding:28px 0}.service-details-banner .text h1{font-size:26px;padding:12px 0}.service-details{padding:22px 0!important}.service-details h2{font-size:20px;line-height:1.6;padding-bottom:18px}.service-details-left,.service-details-right,.service-details-right-text{width:100%!important;float:none!important;min-height:0!important;height:auto!important;padding:18px!important;margin:0 0 18px!important}.service-details-left p,.service-details-left li,.service-details-right p,.service-details-right li{font-size:15px!important;line-height:1.9!important;height:auto!important;overflow-wrap:anywhere}.service-details-right h3{font-size:18px!important;line-height:1.7!important}.service-details-arrow{display:none}.service-details img{max-width:100%;height:auto}.service-list .text dl{display:block}.service-list .text dt,.service-list .text dd{float:none!important;display:block!important;margin:0!important;padding:6px 0!important}.coo_box,.service-expert{display:none!important}
.school-main{padding:18px 16px!important;display:block!important}.school-main-left,.school-main-right{padding:0!important;margin:0 0 20px!important}.school-main-bigphoto,.school-main-smallphoto{width:100%!important;max-width:100%!important}.school .gallery-top{width:100%!important;height:240px!important}.school .gallery-thumbs{width:100%!important;height:60px!important}.school img{max-width:100%!important;height:auto!important}.school h1{font-size:24px!important;line-height:1.5}.school p,.school li{line-height:1.9!important;overflow-wrap:anywhere}.school-main-right h2{font-size:20px!important}
}
@media(max-width:767px){.service-tags{width:100%!important;margin:0!important;padding:0!important;left:auto!important;position:relative!important}.service-tags ul{width:100%!important;max-width:100%;margin:0!important;padding:0!important}.service-list{width:100%!important;max-width:100%;margin:0!important;overflow:hidden}.combg,.columnbg{overflow:hidden}.service-list .items:before,.service-list .items:after,.combg:before,.combg:after{max-width:100%;pointer-events:none}}
/* Mobile service directory: grouped links instead of duplicate illustrated cards. */
@media(max-width:767px){
body:has(.service-tags) .service-list{display:none!important}
.service-tags ul{display:flex;flex-direction:column;gap:16px!important}
.service-tags li{width:100%!important;display:flex;flex-wrap:wrap;gap:10px;padding:18px!important;background:#fff;border:1px solid #e1ece8;border-radius:12px;height:auto!important;text-align:left!important}
.service-tags li strong{display:block;width:100%;font-size:17px;line-height:1.6;margin-bottom:4px;color:#23584e}
.service-tags li span{display:block!important;padding:0!important;margin:0!important;float:none!important;line-height:1.6}
.service-tags li span a{display:block;padding:9px 13px;border-radius:9px;background:#eef7f3;color:#167e6c;line-height:1.6;font-size:14px;white-space:normal}
}
/* Scale the original service banner to the phone width without off-centre clipping. */
@media(max-width:767px){
.combg:has(.service-tags){background-size:100% auto!important;background-position:center top!important;background-color:#edf7f3}
.combg:has(.service-tags) .comtitle{background:rgba(255,255,255,.22);border-radius:12px;padding:16px!important;color:#23584e}
.combg:has(.service-tags) .comtitle h1{line-height:1.5!important;margin-bottom:8px}
.combg:has(.service-tags) .comtitle p{font-size:14px!important;line-height:1.8!important}
.service-details-banner{background-position:center center!important;background-size:cover!important;width:100%!important;margin:0!important}
}

/* Consistent illustration titles and removal of duplicate detail calls to action. */
.kecheng_right>a,.anli_right>a,.zhuanjia_right>a,.jiaoshi_right>a,.fenxiao_right>a{float:none!important;display:block!important;text-align:center!important;width:100%!important}
.kecheng_right .time,.anli_right .time,.zhuanjia_right .time,.jiaoshi_right .time,.fenxiao_right .time{display:none!important}

@media(max-width:767px){.fenxiao_right p,.fenxiao_right p span{font-size:14px!important;font-weight:400!important;line-height:1.8!important}.fenxiao_right .phone-line,.fenxiao_right .phone-line span{white-space:nowrap!important;overflow-wrap:normal!important;word-break:normal!important;display:block!important}.fenxiao_right .phone-line{width:100%!important;letter-spacing:0;margin:8px 0!important}}

.mobile-category-banner{display:none}
@media(max-width:767px){
.combg:has(.service-tags){background:#fff!important;padding-top:16px!important}
.mobile-category-banner,.combg:has(.service-tags) .comtitle{display:block;box-sizing:border-box;background:radial-gradient(circle at 100% 5%,#ffe8da 0 17%,transparent 17.5%),linear-gradient(135deg,#fff0e4,#fffbf6 65%,#fce9db);border:1px solid #fae8da;border-radius:14px;padding:20px 16px!important;margin:8px 0 12px;text-align:center;color:#243044}
.mobile-category-banner h1,.combg:has(.service-tags) .comtitle h1{font-size:22px!important;line-height:1.45;margin:0 0 6px;color:#243044;text-align:center;text-shadow:none}
.mobile-category-banner p,.combg:has(.service-tags) .comtitle p{font-size:14px;line-height:1.8;margin:0;color:#687589;text-align:center;text-shadow:none}
}
/* Campus detail copy: remove desktop gutters and restore readable mobile paragraphs. */
@media(max-width:767px){
body:has(.school) .details-column{width:100%!important;max-width:100%;margin:0 0 20px!important;box-sizing:border-box}
body:has(.school) .details-column-title{height:auto!important;min-height:0;padding:12px 0!important;line-height:1.6;border-bottom:1px solid #e1eae6}
body:has(.school) .details-column-title h2{font-size:20px!important;line-height:1.6!important;white-space:normal;margin:0}
body:has(.school) .details-column-main{padding:16px 0!important;width:100%!important;box-sizing:border-box}
.school-text{width:100%!important;padding:0!important;margin:0!important;font-size:16px!important;line-height:1.9!important;box-sizing:border-box;overflow-wrap:anywhere;word-break:normal;text-align:left}
.school-text p{padding:0!important;margin:0 0 16px!important;font-size:16px!important;line-height:1.9!important;height:auto!important;max-height:none!important;text-indent:0!important;white-space:normal!important;overflow:visible!important;text-align:left!important}
.school-text span{font-size:inherit!important;line-height:inherit!important;letter-spacing:normal!important}
.school-text img,.school-text video{display:block;max-width:100%!important;height:auto!important;margin:12px auto!important}
.school-main-right .texttitle{height:auto!important;padding:14px 16px!important}.school-main-right .texttitle h1{line-height:1.6!important;margin:0!important}
.school-main-right .textags{padding:16px!important}.school-main-right .textags ul{display:flex;padding-bottom:16px}.school-main-right .textags li{float:none;flex:1;min-width:0}.school-main-right .textags li .text01{font-size:32px!important;line-height:1.4}
.school-main-right .textlist{padding:0 16px!important}.school-main-right .textlist li{padding:6px 0!important;font-size:14px;line-height:1.8!important}.school-main-right .textphone{padding:16px!important;display:flex;align-items:center;gap:12px}.school-main-right .textphone .icocom{position:static;margin:0}.school-main-right .textphone .icocom i{font-size:32px}.school-main-right .textphone .text{padding:0}.school-main-right .textphone .text p{font-size:22px!important;line-height:1.5!important;margin:4px 0;white-space:nowrap}
.school-maps{max-width:100%;height:260px}
}
/* Campus photographs and introduction share the same 16px mobile gutters. */
@media(max-width:767px){
.school{padding:0!important}
.school-main{padding:16px!important}
.school-main-bigphoto{height:auto!important;padding:0!important;margin:0!important;overflow:hidden;border-radius:10px}
.school .gallery-top{height:auto!important;aspect-ratio:3/2;width:100%!important}
.school-main-smallphoto{height:60px!important;padding:0!important;margin:8px 0 0!important;overflow:hidden}
.school .gallery-thumbs{height:60px!important;margin:0!important;padding:0!important}
.school-main-smallphoto .swiper-button-next,.school-main-smallphoto .swiper-button-prev{height:60px!important}
.school-main-left{margin-bottom:16px!important}
body:has(.school)>.columnbg>.column-main{padding:0 16px!important}
}

@media(max-width:767px){.mobile-menu:not([hidden]){grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:12px 14px}.mobile-menu a{text-align:center;padding:10px 4px;font-size:14px;border-radius:8px;background:white;line-height:1.6;white-space:nowrap}}

.jie_top .news_top_ny {height:auto;line-height:1.7}
.news_top_ny .w360 {display:flex;justify-content:center;flex-wrap:nowrap;gap:clamp(3px,1vw,14px);width:100%}
.news_top_ny .w360 p {margin:0;white-space:nowrap}

@media (max-width:767px) {
  .jie_top .news_top_ny .w360 p {
    font-size:clamp(9px,2.75vw,14px);
    line-height:1.7;
  }
}
