/* Shared visual system for the Jiangsu University of Science and Technology Committee website. */
:root{--red:#c8101e;--red-dark:#a90714;--ink:#383838;--muted:#888;--paper:#fff;--cream:#fbf8ef;--line:#e4ddd2}
*{box-sizing:border-box}
html,body,div,span,h1,h2,h3,ul,li,dl,dt,dd,p,input,table,td,form,img,ol{margin:0;padding:0;border:0;font-size:100%;font-family:"Microsoft YaHei","PingFang SC",Arial,sans-serif}
ol,ul,li{list-style:none}
html{min-width:320px} body{color:var(--ink);font-size:13px;line-height:1.6;background:var(--cream)}
a{color:var(--ink);font-size:13px;text-decoration:none;transition:color .2s ease} a:hover{color:var(--red);text-decoration:none}
img{max-width:100%;height:auto}.hidden{display:none}.cr{clear:both;width:100%;height:0}.clear{clear:both;height:10px;width:100%}
input,textarea{vertical-align:middle;outline:0}
.header{width:100%;height:212px;background:#e7f2f3 url(images/main-t_01.jpg) repeat-x top center}
.header .inner{width:971px;height:212px;margin:0 auto;background:url(images/main-t_03.jpg) no-repeat center top}
.nav{width:100%;min-height:44px;background:var(--red);border-top:1px solid rgba(255,255,255,.2);border-bottom:4px solid #a60815;text-align:center}
.nav .wp-menu{display:inline-block;vertical-align:top}.wp-menu:after,.clearfix:after{content:"";display:block;clear:both}
.wp-menu .menu-item{position:relative;float:left}.wp-menu .menu-item a.menu-link{display:block;height:40px;line-height:40px;padding:0 21px;color:#fff;font-size:15px;font-weight:bold;white-space:nowrap}
.wp-menu .menu-item:hover>a.menu-link,.wp-menu .menu-item.hover>a.menu-link{background:var(--red-dark)}
.wp-menu .menu-item:hover>.sub-menu{display:block}
.wp-menu .menu-item:not(:last-child)>a.menu-link:after{content:"";position:absolute;right:0;top:13px;width:1px;height:15px;background:rgba(255,255,255,.45)}
.menu-switch-arrow{display:none!important}.sub-menu{display:none;position:absolute;left:0;top:40px;min-width:150px;z-index:20;background:#fff;border:1px solid #eadfd7;box-shadow:0 5px 14px rgba(50,20,20,.15);text-align:left}
.sub-menu .sub-item{position:relative;white-space:nowrap}.sub-menu .sub-item a{display:block;height:37px;line-height:37px;padding:0 18px;color:#555;font-size:13px}.sub-menu .sub-item a:hover,.sub-menu .sub-item.hover>a{color:#fff;background:var(--red)}.sub-menu .sub-menu{left:100%;top:-1px}
.bottom{width:100%;background:var(--cream)}.bottom>.inner{width:971px;min-height:400px;margin:0 auto;padding:18px 0 30px}
.mod-l{width:697px;float:left}.mod-l-l{width:290px;float:left;margin-right:15px}.mod-l-r{width:290px;float:right}.mod-r{width:266px;float:right}.last-row{width:100%;display:flex;justify-content:space-between}.last-item{width:456px}
.tudi,.tudi2,.bian,.bian2{background-color:#fff;border:1px solid var(--line)}.tudi{padding:10px;height:160px;background-image:url(images/main-t_20.jpg);background-repeat:repeat-x}.tudi2{height:180px;padding:25px 10px 10px;background:url(images/main-t_20.jpg) repeat-x top}.tudi2 .photo img{padding:5px;border:1px solid #ccc;background:#fff}
.tt{height:27px;line-height:27px;width:84px;color:#fff;background:var(--red);text-align:center;font-size:15px;font-weight:bold}.tt2{padding-left:30px;background:url(images/d_08.png) no-repeat left center;color:var(--red);font-size:16px;line-height:30px;font-weight:bold}.list-m{padding-left:20px;line-height:42px;color:#fff;background:var(--red);font-size:16px;font-weight:bold}.bian{height:199px;padding:10px}.bian2{height:134px;padding:10px}.xdi{height:195px;background:url(images/main-t_33.jpg) no-repeat left bottom}.padding{margin-top:10px}.padding2{margin:0 0 10px}
.home-content{background:var(--cream)}.home-content>.inner{width:971px;padding:18px 0 30px}.home-section{overflow:hidden;background:var(--paper);border:1px solid var(--line);box-shadow:0 2px 6px rgba(90,40,20,.05)}
.section-heading{display:flex;align-items:center;justify-content:space-between;height:46px;padding-right:13px;border-bottom:1px solid #eadfcf;background:linear-gradient(#fff9df,#fff)}.section-heading h2{position:relative;height:46px;line-height:46px;padding:0 18px;color:var(--red);font-size:17px;font-weight:bold;white-space:nowrap}.section-heading h2:before{content:"";position:absolute;left:0;top:12px;width:5px;height:22px;background:var(--red)}.section-heading h2:after{content:"";position:absolute;left:18px;right:18px;bottom:-1px;height:3px;background:var(--red)}.section-heading>span:not(.section-kicker){min-width:49px;line-height:21px;text-align:right;color:var(--muted)}.section-heading>span:not(.section-kicker) a{color:#777}.section-heading>span:not(.section-kicker) img{display:block;max-width:49px}.section-kicker{color:#b58c2a;font-size:10px;font-weight:bold;letter-spacing:.5px}
.top-feature-grid{display:grid;grid-template-columns:1.1fr 1.5fr .85fr;gap:16px;height:380px;margin-bottom:16px}.top-feature-grid .home-section{height:100%;position:relative}.top-feature-grid .home-section:after{content:"";position:absolute;left:0;right:0;bottom:0;height:23px;background:url(images/main-t_33.jpg) repeat-x left bottom;pointer-events:none;opacity:.5}.top-feature-grid .headline-section>[frag]:not(.section-heading){height:calc(100% - 46px);padding:13px 16px;overflow:hidden}.top-brief-column{height:100%;gap:10px}.top-brief-column .utility-section{min-height:0}.top-brief-column .standalone-contact img{height:auto}
.activity-window{width:100%;height:calc(100% - 46px);min-height:0;overflow:hidden;background:#f4f0e6}.activity-window table{width:100%!important;border-collapse:collapse}.activity-window img{display:block;width:100%!important;max-width:100%;height:auto!important;object-fit:cover}.activity-window .channel-placeholder{height:100%;min-height:0;display:flex;align-items:center;justify-content:center;color:#999;font-size:14px}
.news-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:16px}.content-section{min-width:0;min-height:222px;overflow:hidden}.content-section>[frag]:not(.section-heading),.utility-section>[frag]:not(.section-heading){padding:12px 16px}.home-content .content-section table,.home-content .utility-section table{width:100%!important;table-layout:fixed;border-collapse:collapse}.home-content .content-section td,.home-content .utility-section td{height:31px;line-height:31px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;color:#555}.home-content .content-section td a,.home-content .utility-section td a{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#4b4b4b;font-size:13px}.home-content .content-section td a:hover,.home-content .utility-section td a:hover{color:var(--red)}.news-placeholder{height:31px;line-height:31px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#555;font-size:13px}.bullet{padding-right:9px;color:var(--red);font-weight:bold}
.brief-side-column{display:flex;min-width:0;flex-direction:column;gap:16px}.brief-side-column .utility-section{min-height:142px;flex:1}.standalone-contact{display:block;flex:0 0 auto;margin:0!important;border:0;background:none}.standalone-contact img{display:block;width:100%;height:auto}
.listleft{width:230px;height:auto;float:left;margin-left:0}.listmenu{width:230px;background:#fff;border:1px solid var(--line)}.listmenu .list1 a{display:block;width:100%;padding:0 15px 0 35px;line-height:38px;border-bottom:1px solid #eee;color:#555;font-size:14px;background:#fff url(images/d_24.png) no-repeat 17px center}.listmenu .list1 a:hover{color:var(--red);background-color:#fff8ed}#s_c_id{background:#fff8ed}
.listright{width:725px;height:auto;float:right;margin-right:0;padding:0 18px 22px;background:#fff;border:1px solid var(--line)}.listright .top{width:100%;height:48px;line-height:48px;border-bottom:2px solid var(--red)}.listright h3.listname{float:left;color:var(--red);font-size:18px;font-weight:bold}.listmap{float:right;color:#999;font-size:12px}.listright .bot{width:100%;height:auto;overflow:hidden;margin-top:10px}.listbox,.readinfo{height:auto;overflow:hidden;line-height:2em;color:#434343;font-size:14px}.listbox a,.readinfo a{color:#434343;font-size:14px;line-height:2em}.listbox a:hover,.readinfo a:hover{color:var(--red)}.listbox img{max-width:100%;height:auto}
.atitle{display:block;width:100%;padding:8px 20px 13px;line-height:1.5;font-size:22px;color:var(--red);font-weight:bold;text-align:center;border-bottom:1px solid var(--line)}.postmeta{width:100%;min-height:25px;line-height:25px;color:#888;font-size:12px;text-align:center;margin:7px 0 15px}.readinfo{width:100%;min-height:200px;padding:0 40px 20px!important;line-height:2.1;font-size:15px}.readinfo img{max-width:100%;width:auto;height:auto}.mm img{margin:0 5px}.mm{width:100%;overflow:hidden}
.footer{min-height:82px;padding:14px 12px;text-align:center;background:var(--red-dark);border-top:4px solid #df2630}.footer .copyright{line-height:24px;color:#f3c6c6;font-size:12px}
@media(max-width:1010px){.header .inner,.bottom>.inner,.home-content>.inner{width:auto;margin-left:20px;margin-right:20px}.wp-menu .menu-item a.menu-link{padding-left:14px;padding-right:14px}.listright{width:calc(100% - 246px)}.top-feature-grid{grid-template-columns:1fr 1.15fr}.top-feature-grid .top-brief-column{grid-column:1 / -1;display:grid;grid-template-columns:1fr 1fr;height:auto}.top-brief-column .utility-section{min-height:180px}.top-brief-column .standalone-contact{align-self:stretch}.top-brief-column .standalone-contact img{width:100%;height:100%;object-fit:cover}}
@media(max-width:700px){.header{height:145px;background-size:auto 145px}.header .inner{height:145px;margin:0 12px;background-size:contain;background-position:center top}.nav{min-height:0;border-bottom-width:3px}.nav .wp-menu{display:block}.wp-menu .menu-item{float:none;display:inline-block}.wp-menu .menu-item a.menu-link{height:36px;line-height:36px;padding:0 9px;font-size:13px}.wp-menu .menu-item:not(:last-child)>a.menu-link:after{top:11px;height:14px}.sub-menu{top:36px}.bottom>.inner,.home-content>.inner{margin:0 12px;padding:12px 0 20px}.top-feature-grid{grid-template-columns:1fr;height:auto;gap:12px;margin-bottom:12px}.top-feature-grid .home-section{height:auto;min-height:260px}.top-feature-grid .headline-section>[frag]:not(.section-heading){height:auto;min-height:200px}.top-feature-grid .top-brief-column{display:flex;grid-column:auto;height:auto}.top-brief-column .utility-section{min-height:180px}.top-brief-column .standalone-contact img{height:auto;object-fit:initial}.activity-window{height:220px}.news-grid{grid-template-columns:1fr;gap:12px;margin-bottom:12px}.content-section{min-height:205px}.content-section>[frag]:not(.section-heading),.utility-section>[frag]:not(.section-heading){padding:10px 13px}.section-heading,.section-heading h2{height:43px;line-height:43px}.section-heading h2{font-size:16px;padding-left:15px}.section-heading h2:before{top:11px;height:21px}.section-heading h2:after{left:15px;right:15px}.brief-side-column{gap:12px}.listleft,.listright{float:none;width:100%;margin:0}.listleft{margin-bottom:12px}.listmenu{width:100%}.listright{padding:0 13px 18px}.listright .top{height:44px;line-height:44px}.listright h3.listname{font-size:17px}.listmap{max-width:55%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.atitle{padding:5px 8px 10px;font-size:19px}.postmeta{height:auto;line-height:22px;margin:7px 0 12px}.readinfo{padding:0 8px 15px!important;font-size:14px}.footer{min-height:76px;padding-top:11px}}

/* Screenshot-matched editorial layout */
body,.bottom,.home-content{background:#fff;color:#252525}
.bottom>.inner,.home-content>.inner{padding-top:22px;padding-bottom:34px}
.home-section{border:0;box-shadow:none;background:#fff;border-radius:0}
.section-heading{height:50px;padding:0;border-bottom:3px solid #d7d7d7;background:#fff;position:relative}
.section-heading h2{height:50px;line-height:50px;padding:0 14px;color:#171717;font-size:20px;font-weight:700}
.section-heading h2:before{display:none}
.section-heading h2:after{content:"";left:0;right:auto;bottom:-3px;width:124px;height:4px;background:#c92d34}
.section-heading>span:not(.section-kicker){padding-right:2px;color:#999;font-size:12px}.section-heading>span:not(.section-kicker) a{color:#999}
.section-kicker{display:none}
.top-feature-grid{grid-template-columns:minmax(0,1.85fr) minmax(280px,1fr);gap:28px;height:auto;min-height:430px;margin-bottom:28px}
.top-feature-grid .home-section:after{display:none}
.activity-feature .section-heading{display:none}
.activity-window{height:100%;background:#f4f5f6}
.activity-window .channel-placeholder{height:100%;min-height:360px;color:#858585;font-size:15px}
.activity-window img{height:100%!important;object-fit:cover}
.headline-section{height:auto!important;min-height:430px;background:#fff}
.headline-section .section-heading{display:flex}
.top-feature-grid .headline-section>[frag]:not(.section-heading){height:auto;padding:0;overflow:visible}
.headline-section .news-placeholder,.headline-section td,.headline-section td a{height:auto;min-height:61px;line-height:1.65;padding:14px 14px;border-bottom:1px solid #ddd;white-space:normal;overflow:visible;text-overflow:clip;color:#252525;font-size:15px}
.headline-section .bullet{display:none}
.news-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:30px 36px;margin-bottom:30px}
.content-section{min-height:190px}.content-section>[frag]:not(.section-heading),.utility-section>[frag]:not(.section-heading){padding:8px 0 0}
.home-content .content-section td,.home-content .utility-section td{height:auto;min-height:0;line-height:1.7;padding:0;border:0;white-space:normal;overflow:visible;text-overflow:clip;font-size:14px}
.home-content .content-section td:before,.home-content .content-section td:after,.home-content .utility-section td:before,.home-content .utility-section td:after{display:none!important;content:none!important;width:0!important;height:0!important;background:none!important}
.home-content .content-section td a,.home-content .utility-section td a{display:block;min-height:48px;padding:10px 6px 10px 16px;line-height:1.7;white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere;word-break:break-word;border-bottom:1px solid #e4e4e4;color:#333;font-size:14px;position:relative}
.home-content .content-section td a:before,.home-content .utility-section td a:before{display:block!important;content:""!important;position:absolute;left:0;top:13px;width:3px!important;height:22px!important;background:#dedede!important}
.news-placeholder{height:auto;min-height:48px;line-height:1.7;padding:10px 6px 10px 16px;border-bottom:1px solid #e4e4e4;white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere;word-break:break-word;color:#333;font-size:14px;position:relative}.news-placeholder:before{display:block;content:"";position:absolute;left:0;top:13px;width:3px;height:22px;background:#dedede}.news-placeholder .bullet{display:none}
.utility-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,1fr);gap:36px;margin-top:4px;padding-top:0}.utility-row .utility-section{min-height:170px}.utility-row .standalone-contact{align-self:end}.utility-row .standalone-contact img{width:100%;height:auto;display:block}
.footer{min-height:86px;background:#b40816;border-top:0;padding:18px 12px}.footer .copyright{color:#f3d2d2}
.listmenu,.listright{background:#fff;border:0;box-shadow:none}.listmenu{border:1px solid #e4e4e4}.listmenu .list1 a{border-bottom:1px solid #eee;color:#333}.listmenu .list1 a:hover{color:var(--red);background:#fff}.listright{padding:0 0 24px;border:0}.listright .top{height:52px;line-height:52px;border-bottom:3px solid #d7d7d7}.listright h3.listname{color:#171717;font-size:20px;position:relative}.listright h3.listname:after{content:"";position:absolute;left:0;bottom:-3px;width:120px;height:4px;background:#c92d34}.listbox table:first-of-type td a{display:block;padding:12px 8px;border-bottom:1px solid #e4e4e4;line-height:1.8}.atitle{padding:10px 20px 14px;color:#171717;border-bottom:3px solid #d7d7d7}.postmeta{color:#999}.readinfo{background:#fff;padding:12px 20px 24px!important;line-height:2.1}
@media(max-width:1010px){.top-feature-grid{grid-template-columns:minmax(0,1.7fr) minmax(250px,1fr);gap:20px}.utility-row{gap:20px}}
@media(max-width:700px){.bottom>.inner,.home-content>.inner{padding-top:14px;padding-bottom:24px}.top-feature-grid{grid-template-columns:1fr;gap:18px;height:auto;min-height:0;margin-bottom:22px}.top-feature-grid .home-section{min-height:0}.activity-window{height:250px}.activity-window .channel-placeholder{min-height:250px}.headline-section{height:auto!important;min-height:0}.top-feature-grid .headline-section>[frag]:not(.section-heading){height:auto;min-height:0}.headline-section .news-placeholder,.headline-section td,.headline-section td a{min-height:52px;padding:12px 10px;font-size:14px}.news-grid{grid-template-columns:1fr;gap:22px;margin-bottom:22px}.content-section{min-height:0}.section-heading,.section-heading h2{height:45px;line-height:45px}.section-heading h2{font-size:18px}.section-heading h2:after{width:100px}.utility-row{grid-template-columns:1fr;gap:18px}.utility-row .standalone-contact{order:2}.listright{margin-top:10px}.atitle{font-size:19px;padding-left:8px;padding-right:8px}.readinfo{padding-left:8px!important;padding-right:8px!important;font-size:14px}}

/* Keep the feature image and news panel aligned; utilities sit below. */
.top-feature-grid{grid-template-columns:minmax(0,1.85fr) minmax(280px,1fr)}
.top-feature-grid .headline-section{height:auto!important;min-height:430px}
.utility-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:36px;margin-top:4px}.utility-row .content-section,.utility-row .utility-section{width:100%;min-height:190px}
.footer .copyright a{color:#f3d2d2;font-size:12px}.footer .copyright a:hover{color:#fff;text-decoration:underline}
@media(max-width:700px){.utility-row{grid-template-columns:1fr;gap:22px}}

/* CMS news markup may add decoration to nested wrappers; keep one marker only. */
.home-content .content-section>[frag]:not(.section-heading) *:before,
.home-content .content-section>[frag]:not(.section-heading) *:after,
.home-content .utility-section>[frag]:not(.section-heading) *:before,
.home-content .utility-section>[frag]:not(.section-heading) *:after{content:none!important;display:none!important}
.home-content .content-section>[frag]:not(.section-heading) td a:before,
.home-content .utility-section>[frag]:not(.section-heading) td a:before{content:""!important;display:block!important;position:absolute;left:0;top:13px;width:3px!important;height:22px!important;background:#dedede!important}


/* Use a roughly 30-character cap for headline rows while keeping the grid centered. */
.home-content .content-section td a,.home-content .utility-section td a,.news-placeholder{max-width:none}

/* Keep WebPlus pagination controls on the same baseline as the surrounding text. */
.listbox .wp_paging a{display:inline-block;padding:0;border-bottom:0;line-height:1.6;vertical-align:middle}

/* Show complete WebPlus list titles and let long titles wrap naturally. */
.listbox .news_list li.news{display:flex;height:auto;min-height:0;align-items:flex-start;justify-content:space-between;gap:12px;line-height:1.75;overflow:visible}
.listbox .news_list li.news span.news_title{float:none;display:block;width:auto;min-width:0;flex:1 1 auto;white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere;word-break:break-word}
.listbox .news_list li.news span.news_meta{float:none;flex:0 0 auto;margin-left:0;line-height:1.75;white-space:nowrap}

