/* Legacy school layouts: keep full text inside responsive containers. */
.cd_poster .cd_schoolinfo{box-sizing:border-box;width:min(1200px,calc(100% - 32px))!important;margin:0 auto!important;display:grid;grid-template-columns:102px minmax(0,1fr) 300px;align-items:center;gap:18px;min-height:0!important;height:auto!important}
.cd_poster .cd_schoolinfo:after{display:none}
.cd_poster .cd_schoolinfo .cd_info_sign{box-sizing:border-box;float:none;margin:0;width:102px;height:100px}
.cd_poster .cd_schoolinfo .cd_info_detail{float:none;min-width:0;width:auto;height:auto;overflow:visible}
.cd_poster .cd_schoolinfo .cd_info_detail .h2{width:auto;height:auto;padding:0 0 10px;line-height:1.5}
.cd_poster .cd_schoolinfo .cd_info_detail .h2 label{max-width:100%;height:auto;line-height:1.5;white-space:normal;overflow:visible;overflow-wrap:anywhere}
.cd_poster .cd_schoolinfo .cd_info_detail .type,.cd_poster .cd_schoolinfo .cd_info_detail .type .info{width:auto;max-width:none;height:auto;line-height:1.65;white-space:normal;overflow:visible;overflow-wrap:anywhere}
.cd_poster .cd_schoolinfo .cd_phone{float:none;min-width:0;width:auto;height:auto;display:flex;align-items:center;gap:12px}
.cd_poster .cd_schoolinfo .cd_phone .txt{float:none;min-width:0;width:auto;flex:1}
.cd_poster .cd_schoolinfo .cd_phone .h6{margin:0;font-size:13px;line-height:1.6}
.cd_poster .cd_schoolinfo .cd_phone .h2{margin:6px 0 0;font-size:clamp(22px,2.2vw,30px);line-height:1.5;overflow-wrap:anywhere}
.cd_schoolNav .cd_sNavcontent{width:min(1200px,calc(100% - 32px));display:flex;flex-wrap:wrap;height:auto}
.cd_schoolNav .cd_sNavcontent li{float:none}
.cd_schoolNav .cd_sNavcontent li a{display:block;color:#172c40;height:auto;line-height:40px}
.study-header-cta a{display:flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:40px;height:auto!important;padding:10px 14px!important;font-size:14px;line-height:1.4!important;text-align:center;white-space:normal}
.cd_course:has(>.studyinfo_article){box-sizing:border-box;width:min(1200px,calc(100% - 32px));margin:0 auto!important;display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:20px;align-items:start}
.cd_course:has(>.studyinfo_article)>.studyinfo_article{box-sizing:border-box;float:none;min-width:0;width:100%!important;margin:0;padding:20px}
.cd_course:has(>.studyinfo_article)>.cd_course_school{box-sizing:border-box;float:none;width:100%;min-width:0;margin:0}
.cd_course:has(>.studyinfo_article)>.clearflaot{display:none}
.studyinfo_article .info-list>li{box-sizing:border-box;display:grid;grid-template-columns:170px minmax(0,1fr);gap:20px;align-items:start;padding:24px 0;min-width:0}
.studyinfo_article .info-list>li>a{display:block;min-width:0}
.studyinfo_article .info-list>li .imgdiv{display:block;float:none;width:170px;height:130px;margin:0;object-fit:cover}
.studyinfo_article .info-list>li>.info-msg{display:block!important;float:none;min-width:0;width:auto!important;max-width:100%;height:auto;min-height:0;padding:0!important;margin:0}
.studyinfo_article .info-list>li>.info-msg>a{display:block;min-width:0}
.studyinfo_article .info-list .info-msg .title{box-sizing:border-box;display:block!important;width:auto!important;max-width:100%;height:auto!important;min-height:0;max-height:none;padding:0!important;margin:0;line-height:1.65;white-space:normal;overflow:visible;overflow-wrap:anywhere;text-overflow:clip;-webkit-line-clamp:unset}
.studyinfo_article .info-list .info-msg .txt{display:block!important;width:auto!important;height:auto!important;max-height:none;min-height:0;margin:10px 0 0;padding:0;line-height:1.75;white-space:normal;overflow:visible;overflow-wrap:anywhere;-webkit-line-clamp:unset}
.studyinfo_article .info-list .info-msg .txt:empty{display:none!important}
.studyinfo_article .info-list .info-msg .data{display:flex!important;flex-wrap:wrap;gap:4px 14px;width:auto!important;height:auto!important;min-height:0;margin:12px 0 0;padding:0;line-height:1.65;white-space:normal;overflow:visible;-webkit-line-clamp:unset}
.studyinfo_article .info-list .info-msg .data label{padding:0}
.studyinfo_article .info-list>li>.clearflaot{display:none}
.studyinfo_article .studyinfo_article_head .h1{width:auto!important;height:auto!important;max-height:none;line-height:1.5;white-space:normal;overflow:visible;overflow-wrap:anywhere}
.studyinfo_article .articleContent{box-sizing:border-box;width:100%!important;max-width:100%;min-width:0;overflow-wrap:anywhere}
.studyinfo_article .articleContent img,.studyinfo_article .articleContent video{max-width:100%!important;height:auto!important}
.studyinfo_article .articleContent table{max-width:100%;display:block;overflow-x:auto}
.cd_course .cd_course_school .schoolinfo{display:grid;grid-template-columns:68px minmax(0,1fr);gap:12px;width:100%!important;height:auto!important;min-width:0}
.cd_course .cd_course_school .schoolinfo>.img{float:none;width:68px;height:68px}
.cd_course .cd_course_school .schoolinfo>.img img{width:100%;height:100%;object-fit:contain}
.cd_course .cd_course_school .s_info{float:none;width:auto!important;height:auto!important;min-width:0}
.cd_course .cd_course_school .s_name{width:auto!important;height:auto!important;line-height:1.6;white-space:normal!important;overflow:visible!important;overflow-wrap:anywhere}
.cd_course .cd_course_school .schoolservice{height:auto!important;white-space:normal;overflow:visible;line-height:1.7}
@media(max-width:980px){
 .cd_poster .cd_schoolinfo{grid-template-columns:86px minmax(0,1fr)}
 .cd_poster .cd_schoolinfo .cd_info_sign{width:86px;height:86px}
 .cd_poster .cd_schoolinfo .cd_phone{grid-column:2;width:100%}
 .cd_course:has(>.studyinfo_article){grid-template-columns:minmax(0,1fr)}
 .cd_course:has(>.studyinfo_article)>.cd_course_school{max-width:100%}
}
@media(max-width:620px){
 .cd_poster .cd_schoolinfo{width:calc(100% - 22px)!important;gap:12px;padding:22px 0!important}
 .cd_poster .cd_schoolinfo .cd_info_detail .h2 label{font-size:20px}
 .cd_poster .cd_schoolinfo .cd_info_detail .type{margin-top:6px}
 .cd_poster .cd_schoolinfo .cd_phone{grid-column:1/-1}
 .cd_schoolNav .cd_sNavcontent{width:calc(100% - 22px)}
 .cd_schoolNav .cd_sNavcontent li a{display:block;padding:0 12px}
 .cd_course:has(>.studyinfo_article){width:calc(100% - 22px)}
 .cd_course:has(>.studyinfo_article)>.studyinfo_article{padding:14px}
 .studyinfo_article .info-list>li{grid-template-columns:100px minmax(0,1fr);gap:12px;padding:18px 0}
 .studyinfo_article .info-list>li .imgdiv{width:100px;height:78px}
 .studyinfo_article .info-list .info-msg .title{font-size:16px}
 .studyinfo_article .info-list .info-msg .data{font-size:12px;margin-top:8px}
 .studyinfo_article .studyinfo_article_head .h1{font-size:23px}
}
