/* Styles apply only to the standalone preview. */
.post .tit{padding-left:0;background:none;}
.main2 .mr .tab-menu{width:100%;box-sizing:border-box;}
.main2 .mr .tab-menu li{width:100%;box-sizing:border-box;}
.main3 .inner{width:1645px;}
.post-31 .con,.post-31 .news_list{width:100%;}
.post-31 .news_list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;}
.post-31 li.news{float:none;width:auto;min-width:0;}
.post-31 .news_link{margin:0;padding:24px;}
.post-31 .news_imgs{padding-top:60%;}
.post-31 .news_imgs img{width:100%;height:100%;object-fit:cover;}
.post-31 .news_con{margin-top:28px;}
.post-31 .news_title{height:auto;min-height:56px;font-size:24px;}
.post-31 .prev,.post-31 .next{display:none;}
#footer .inner{padding-top:64px;}
.preview-footer-row{display:grid;grid-template-columns:440px minmax(0,1fr) 160px;align-items:center;gap:80px;padding-bottom:52px;border-bottom:1px solid #ffffff31;}
.preview-footer-brand a{display:flex;flex-direction:column;gap:24px;align-items:flex-start;}
.preview-footer-brand img{width:400px;height:auto;}
.preview-footer-brand span{font-family:"思源黑体CN",sans-serif;font-size:40px;font-weight:700;color:#fff;line-height:1.3;}
.preview-footer-contact h3{font-size:26px;margin-bottom:22px;color:#fff;}
.preview-footer-contact p{font-size:18px;line-height:1.9;color:#fff;}
.preview-footer-contact a,.preview-footer-contact{font-size:16px;color:#fff;line-height:2;}
.preview-footer-qr{text-align:center;color:#fff;font-size:16px;}
.preview-footer-qr img{width:145px;height:145px;object-fit:contain;background:white;padding:6px;box-sizing:border-box;}
.preview-footer-qr p{margin-top:12px;}
.preview-footer-copyright{color:#fff;font-size:14px;line-height:1.8;text-align:center;padding:24px 0;}
.preview-footer-copyright a{color:inherit;}

/* Compact layout revision */
#footer .inner{padding-top:24px;}
.preview-footer-row{padding-bottom:12px;}
.main2 .mr .tab-menu li{position:relative;left:0;text-indent:-200px;}
.post-31{padding-bottom:30px;}
.main4 .mod{display:flex;align-items:stretch;justify-content:space-between;}
.main4 .mod>.ml,.main4 .mod>.mr{float:none;}
.main4 .mod>.ml{display:flex;}
.post-41{display:flex;flex-direction:column;}
.post-41>.con{margin-top:auto;}

.post-41 .news_video>a{display:block;width:100%;height:100%;}
.post-41 .news_video img{display:block;width:100%;height:100%;object-fit:cover;}
/* Footer brand, notice indicator and full-width lower gradient. */
.preview-footer-row{grid-template-columns:540px minmax(0,1fr) 145px;gap:50px;}
.preview-footer-brand a{flex-direction:row;align-items:center;gap:18px;white-space:nowrap;}
.preview-footer-brand img{width:300px;height:auto;flex-shrink:0;}
.preview-footer-brand span{font-size:30px;}
.main2 .mr .tab-menu li::before{left:calc(50% - 100px);}
.main4{background-size:100% 100%;background-position:center;background-repeat:no-repeat;}
#footer{width:100%;background-color:#1957A5;background-size:100% 100%;background-position:center bottom;}
/* Align the major action with its heading; extend notices upwards. */
.post-31 .tt{display:flex;align-items:center;justify-content:space-between;}
.post-31 .tt::after{display:none;}
.post-31 .more_btn{position:static;float:none;left:auto;bottom:auto;transform:none;margin:0;}
.main2 .mr{margin-top:-30px;}
.main2 .mr .tab-list{padding-top:65px;}
.main2 .mr .tab-menu li::before{left:calc(50% - 150px);}
/* Notice heading enlarged by 10px. */
.main2 .mr .tab-menu li{font-size:30px;}
/* Tighter spacing between the main sections. */
.main1 .inner{margin-top:52px;margin-bottom:80px;}
.main3 .inner{margin-top:74px;}
.main4 .inner{padding-top:103px;padding-bottom:156px;}
/* Reduce the major cards by 100px and align labels with arrows. */
.post-31 .news_imgs{padding-top:0;height:calc((1645px - 56px)/3 * .6 - 72.8px);}
.post-31 .news_con{display:flex;align-items:center;justify-content:space-between;gap:16px;}
.post-31 .news_con::after{display:none;}
.post-31 .news_title{flex:1;min-width:0;min-height:0;line-height:32px;}
.post-31 .news_more{float:none;flex:0 0 63px;}
/* Keep the complete teaching photo visible inside the half-height region. */
.main4 .mod::after{display:none;}
.main4 .mod>.ml{flex:0 0 634px;min-width:0;}
.main4 .mod>.mr{min-width:0;}
.post-41{width:100%;min-width:0;}
.post-41 .con,.post-41 .news_list,.post-41 li.news{width:100%;}

.post-41 .news_video>a{position:absolute;inset:0;width:100%;height:100%;overflow:hidden;}
.post-41 .news_video img{position:static;max-width:100%;width:100%;height:100%;object-fit:contain!important;object-position:center;}
/* Match the main navigation's right edge to the top contact link. */
#nav .inner{width:1820px;}
#nav .wp-menu .menu-item a.menu-link{padding-left:15px;padding-right:15px;}
/* Reduce only the gap between majors and teaching/research by 100px. */
.main4 .inner{padding-top:3px;}
/* Show the teaching/research action using the shared module button style. */
.post-41 .more_btn{display:block;}
