:root{--blue:#0639ef;--blue2:#0056ff;--ink:#101010;--muted:#707070;--line:#d9d9d9;--shell:calc(100% - 118px)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:#fdfdfd;font-family:"PingFang SC","Microsoft YaHei","Noto Sans CJK SC",Arial,sans-serif;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}img{display:block;max-width:100%}.shell{width:var(--shell);max-width:1320px;margin-inline:auto}.site-header{height:92px;background:#fff}.header-inner{height:100%;max-width:1400px;margin:auto;padding:15px 40px 0;display:flex;gap:54px;align-items:flex-start}.brand{display:block;width:242px;padding-top:1px}.brand img{width:100%;height:auto}.header-right{flex:1}.utility{height:30px;display:flex;justify-content:flex-end;align-items:flex-start;gap:22px;font-size:10px;color:#555}.utility a+ a{position:relative}.utility a+ a:before{content:"/";position:absolute;left:-13px;color:#aaa}.search{width:16px;height:16px;border:0;background:transparent;position:relative;padding:0;margin-left:-4px}.search:before{content:"";position:absolute;width:9px;height:9px;border:1px solid #1b1b1b;border-radius:50%;left:0;top:0}.search:after{content:"";position:absolute;width:6px;height:1px;background:#1b1b1b;transform:rotate(45deg);left:9px;top:10px}.main-nav{display:flex;justify-content:flex-end;gap:34px;white-space:nowrap;font-size:12px}.main-nav a{padding:12px 0 15px;position:relative}.main-nav a.active{color:var(--blue)}.main-nav a.active:after{content:"";height:2px;background:var(--blue);position:absolute;left:0;right:0;bottom:8px}.menu{display:none}.hero{height:542px;display:grid;grid-template-columns:51% 49%;position:relative}.hero-blue{background:linear-gradient(125deg,#073ef5 0%,#0032e4 62%,#004ff3 100%);color:#fff;padding:76px 6% 42px;position:relative;overflow:hidden}.hero-blue:after{content:"";position:absolute;inset:-35% -60% -35% 30%;background:radial-gradient(ellipse,rgba(0,118,255,.55),transparent 55%);transform:rotate(-20deg)}.hero-blue>*{position:relative;z-index:1}.plus{position:absolute!important;top:26px;left:8%;font-size:30px;font-weight:200}.hero h1{font-size:55px;line-height:1.15;letter-spacing:-2px;margin:0 0 24px;font-weight:700}.hero p{font-size:17px;line-height:1.75;margin:0 0 28px}.hero-link{font-size:15px;font-weight:600;display:flex;gap:18px;align-items:center}.hero-link span{font-size:23px;font-weight:300}.hero-count{position:absolute!important;left:8%;bottom:28px;display:flex;align-items:center;gap:11px;font-size:10px}.hero-count i{height:1px;width:40px;background:#fff;display:block;opacity:.75}.dot-grid{width:18px;height:18px;position:absolute!important;right:8%;bottom:27px;background-image:radial-gradient(#fff 1px,transparent 1px);background-size:5px 5px}.hero-image{overflow:hidden}.hero-image img{width:100%;height:100%;object-fit:cover}.side-word{position:absolute;z-index:2;font:8px Georgia,serif;letter-spacing:.5px;color:#555;writing-mode:vertical-rl}.side-left{left:-43px;top:0}.side-right{right:-42px;top:0}.quick{height:178px;display:grid;grid-template-columns:repeat(6,1fr);padding-top:52px}.quick a{height:108px;border-right:1px solid #dedede;padding:0 28px;position:relative;display:flex;flex-direction:column;gap:13px}.quick a:last-child{border:0}.quick small{font-size:11px}.quick strong{font-size:14px}.quick-icon{position:absolute;right:28px;bottom:29px;width:22px;height:22px;opacity:.65}.quick .featured{border:1px solid #cdcdcd;margin-top:-15px;height:126px;padding-top:15px}.quick .featured:after{content:"";width:3px;height:3px;background:var(--blue);position:absolute;left:28px;bottom:18px}.quick-icon:before,.quick-icon:after{content:"";position:absolute}.cap:before{width:15px;height:15px;border:1px solid;transform:rotate(45deg);top:1px;left:2px}.cap:after{width:1px;height:13px;background:currentColor;transform:rotate(-43deg);right:0;top:9px}.book{border:1px solid;border-radius:2px}.layers:before,.layers:after{border:1px solid;width:13px;height:8px;transform:rotate(30deg);left:3px}.layers:before{top:3px}.layers:after{top:9px}.people:before{width:8px;height:8px;border:1px solid;border-radius:50%;left:7px}.people:after{width:18px;height:10px;border:1px solid;border-bottom:0;border-radius:12px 12px 0 0;bottom:0;left:2px}.file{border:1px solid}.file:after{content:"☰";font-size:12px;left:4px;top:2px}.download:before{width:1px;height:15px;background:currentColor;left:10px}.download:after{width:10px;height:10px;border-left:1px solid;border-bottom:1px solid;transform:rotate(-45deg);left:5px;top:4px}.section-space{padding-top:52px;padding-bottom:42px}.news{display:grid;grid-template-columns:1.2fr 1fr;gap:48px}.section-head{min-height:52px;display:flex;align-items:flex-start;position:relative}.section-head h2,.light-head h2{font-size:27px;line-height:1.2;margin:0}.section-head>span,.light-head>span{font-size:28px;font-weight:200;margin-left:22px;line-height:.9}.section-head>a{margin-left:auto;font-size:11px;padding-top:8px}.news-feature{display:grid;grid-template-columns:58% 42%;gap:26px;padding-right:26px;border-right:1px dashed #c9c9c9}.news-feature>img{width:100%;height:284px;object-fit:cover}.news-copy h3{font-size:18px;line-height:1.6;margin:31px 0 8px}.news-copy time{font-size:11px;color:#666}.news-copy p{font-size:11px;line-height:1.8;color:#666;margin-top:18px}.pager{display:flex;justify-content:space-between;align-items:center;font-size:10px;margin-top:30px}.pager b{font-size:18px;font-weight:300}.headline-list{list-style:none;padding:25px 26px 0 0;margin:0}.headline-list li{height:31px;display:flex;justify-content:space-between;border-bottom:1px solid #e0e0e0;font-size:10px;color:#575757}.notices{padding-left:0}.notices ul{list-style:none;padding:3px 0 0;margin:0}.notices li{display:grid;grid-template-columns:58px 1fr;gap:18px;min-height:61px;padding:12px 0;border-bottom:1px solid #e2e2e2;font-size:11px;line-height:1.6}.notices time{font-size:12px}.departments{min-height:405px;background:linear-gradient(110deg,#0645f7 0,#0034df 55%,#0758fb 100%);color:#fff;overflow:hidden}.departments-inner{position:relative;display:grid;grid-template-columns:42% 16% 42%;height:405px;padding:34px 0}.light-head{display:flex}.dept-list ol{list-style:none;padding:20px 0 0;margin:0}.dept-list li{height:55px;display:grid;grid-template-columns:54px 1fr 22px;align-items:center;max-width:380px}.dept-list li b{font-size:31px;font-weight:300}.dept-list li a{font-size:16px;font-weight:600}.dept-list li span{font-size:22px;font-weight:200}.dept-list li a:after{content:"";display:inline-block;width:75px;border-top:1px dashed rgba(255,255,255,.45);margin-left:14px;vertical-align:middle}.dept-note{font-size:10px;line-height:1.5;opacity:.85;margin-top:20px}.dept-visual{position:relative;height:100%}.watermark{position:absolute;right:8%;top:-2px;font-size:77px;line-height:.82;font-weight:700;color:rgba(255,255,255,.23)}.dept-main{position:absolute;left:0;bottom:0;width:66%;height:230px;object-fit:cover}.dept-model{position:absolute;right:0;bottom:0;width:34%;height:128px;object-fit:cover;border-left:17px solid transparent}.dots-light{right:-52px;top:50px;bottom:auto;opacity:.8}.exhibition{height:384px;display:grid;grid-template-columns:13fr 42fr 16fr 29fr;gap:22px;padding-bottom:18px}.exhibition-title{position:relative}.exhibition-title .section-head h2{font-size:32px;line-height:1.26}.exhibition-title small{position:absolute;top:139px;font:8px Arial;color:#666}.exhibition-title>b{position:absolute;bottom:12px;font-size:51px;font-weight:300}.exhibition-title>i{position:absolute;bottom:23px;left:45px;width:32px;height:1px;background:#222}.exhibition-main,.exhibition-side{width:100%;height:100%;object-fit:cover}.exhibition-copy{padding:43px 0 0 4px}.exhibition-copy h3{font-size:19px;line-height:1.35;margin:0 0 18px}.exhibition-copy time,.exhibition-copy p{font-size:10px;line-height:1.8;color:#555}.exhibition-copy .pager{margin-top:34px}.faculty-research{max-width:1320px;margin:auto;display:grid;grid-template-columns:41% 59%;min-height:365px}.faculty-card{background:linear-gradient(130deg,#111,#050608);color:#fff;padding:36px 58px}.faculty-card>h3{font-size:15px;line-height:1.7;font-weight:400;margin:22px 0}.teacher{display:flex;gap:24px}.teacher img{width:128px;height:174px;object-fit:cover;object-position:center}.teacher h4{margin:6px 0 7px;font-size:15px}.teacher h4 small{font-size:10px;font-weight:400;margin-left:8px}.teacher b,.teacher p{font-size:9px;line-height:1.8}.teacher p{max-width:180px;color:#bbb}.faculty-card>a{font-size:10px;display:inline-block;margin-top:9px}.research-card{padding:32px 58px}.research-card ol{list-style:none;margin:0;padding:8px 0 0}.research-card li{display:grid;grid-template-columns:70px 1fr 145px;gap:12px;min-height:91px;border-bottom:1px solid #ddd;align-items:center}.research-card li>b{font-size:47px;color:var(--blue);font-weight:300}.research-card h3{font-size:14px;margin:0 0 5px}.research-card p{font-size:9px;color:#666;line-height:1.6;margin:0}.research-card img{width:145px;height:52px;object-fit:cover}.campus{display:grid;grid-template-columns:26% 48% 26%;gap:20px;padding-bottom:28px}.campus-intro>p{font-size:13px;line-height:1.7;margin:8px 0 19px}.campus-intro>a{display:grid;grid-template-columns:70px 1fr 20px;width:150px;padding:7px 0;border-bottom:1px solid #aaa;font-size:10px}.campus-intro>a i{border-top:1px solid #999;margin-top:7px}.campus-main{width:100%;height:208px;object-fit:cover}.campus-stack{display:flex;flex-direction:column;gap:8px}.campus-stack img{width:100%;height:100px;object-fit:cover}.footer{background:linear-gradient(108deg,#063edf 0 25%,#080a0c 25%);color:#fff}.footer-inner{height:162px;display:grid;grid-template-columns:28% 1fr 16%;gap:40px;align-items:center}.footer-contact img{width:165px;filter:invert(1);margin-bottom:8px}.footer-contact p{font-size:8px;line-height:1.8}.motto{text-align:center;display:flex;flex-direction:column;gap:34px}.motto b{font-size:23px;font-weight:400;letter-spacing:8px}.motto small{font-size:8px;color:#999}.footer nav{display:flex;flex-direction:column;font-size:8px;line-height:1.8;color:#bbb}.footer nav a:first-child{color:#fff;font-size:10px;margin-bottom:3px}
@media (max-width:1100px){:root{--shell:calc(100% - 48px)}.header-inner{padding-inline:24px}.brand{width:210px}.main-nav{gap:18px;font-size:11px}.hero{height:480px}.hero h1{font-size:44px}.quick a{padding-inline:14px}.news{gap:28px}.faculty-card{padding-inline:32px}.research-card{padding-inline:32px}.dept-list li a:after{width:40px}.watermark{font-size:64px}}
@media (max-width:760px){:root{--shell:calc(100% - 32px)}.site-header{height:72px}.header-inner{padding:16px;align-items:center}.brand{width:210px}.header-right{display:none}.menu{display:block;margin-left:auto;width:32px;height:28px;border:0;background:transparent;padding:4px}.menu span{display:block;border-top:1px solid;margin:6px 0}.hero{width:100%;height:auto;display:block}.hero-blue{height:460px;padding:78px 24px 30px}.hero h1{font-size:39px;letter-spacing:-1px}.hero p{font-size:14px}.hero-image{height:310px}.side-word{display:none}.quick{width:100%;height:auto;grid-template-columns:repeat(2,1fr);padding:20px 16px}.quick a,.quick .featured{height:95px;margin:0;padding:14px;border:0;border-bottom:1px solid #ddd}.quick a:nth-child(odd){border-right:1px solid #ddd}.quick-icon{right:16px;bottom:20px}.news{grid-template-columns:1fr;gap:42px}.news-feature{grid-template-columns:1fr;border:0;padding:0}.news-feature>img{height:240px}.news-copy h3{margin-top:0}.headline-list{padding-right:0}.notices li{grid-template-columns:50px 1fr}.departments{min-height:740px}.departments-inner{height:auto;grid-template-columns:1fr;padding-block:30px}.dept-list li{max-width:100%}.dept-note{display:none}.dept-visual{height:330px;margin-top:20px}.dept-main{height:250px}.dept-model{height:130px}.watermark{font-size:55px}.exhibition{height:auto;grid-template-columns:1fr 1fr;gap:14px}.exhibition-title{grid-column:1/-1}.exhibition-title .section-head h2 br{display:none}.exhibition-title .section-head h2{font-size:27px}.exhibition-title small,.exhibition-title>b,.exhibition-title>i{display:none}.exhibition-main{grid-column:1/-1;height:270px}.exhibition-side{height:210px}.exhibition-copy{padding:20px 0}.faculty-research{grid-template-columns:1fr}.faculty-card,.research-card{padding:32px 24px}.research-card li{grid-template-columns:52px 1fr 95px}.research-card li>b{font-size:34px}.research-card img{width:95px}.campus{grid-template-columns:1fr}.campus-main{height:240px}.campus-stack{display:grid;grid-template-columns:1fr 1fr}.footer{background:linear-gradient(180deg,#063edf 0 44%,#080a0c 44%)}.footer-inner{height:auto;padding:28px 0;grid-template-columns:1fr;text-align:center;gap:28px}.footer-contact img{margin-inline:auto}.motto{gap:18px}.motto b{font-size:20px;letter-spacing:4px}.footer nav{display:none}}
@media (max-width:430px){.hero-blue{height:420px}.hero h1{font-size:33px}.hero-image{height:260px}.section-space{padding-top:38px}.section-head h2,.light-head h2{font-size:24px}.news-feature>img{height:210px}.exhibition-main{height:220px}.faculty-card{padding-inline:20px}.teacher{gap:14px}.teacher img{width:104px}.research-card li{grid-template-columns:42px 1fr}.research-card img{display:none}.campus-main{height:210px}.motto b{font-size:17px}}

/* Readability and layout refinements */
.site-header{height:116px}
.header-inner{padding-top:17px;gap:34px}
.brand{width:484px;flex:0 0 484px;padding-top:0}
.header-right{padding-top:2px}
.utility{height:34px;font-size:14px}
.main-nav{gap:24px;font-size:14px}
.main-nav a{padding-top:14px}
.quick small,.quick strong{font-size:14px}
.quick-icon{width:auto;height:auto;font-size:27px;line-height:1;color:#4c4c4c;opacity:.78}
.quick-icon:before{position:static;width:auto;height:auto;border:0;background:none;transform:none}
.section-head>a,.news-copy time,.news-copy p,.pager,.headline-list li,.notices li,.notices time,.dept-note,.exhibition-copy time,.exhibition-copy p,.teacher h4 small,.teacher b,.teacher p,.faculty-card>a,.research-card p,.campus-intro>p,.campus-intro>a{font-size:14px}
.news-feature{align-items:stretch}
.news-copy{display:flex;flex-direction:column;justify-content:center;padding:18px 26px 18px 0}
.news-copy h3{margin:0 0 10px}
.news-copy .pager{margin-top:auto;padding-top:18px}
.headline-list{padding-top:18px}
.headline-list li{height:auto;min-height:44px;align-items:center;gap:20px;line-height:1.5;padding-block:8px}
.headline-list li span{flex:1}
.headline-list li time{flex:0 0 auto}
.notices li{align-items:center;min-height:65px}
.exhibition{height:auto;min-height:455px;padding-top:58px;padding-bottom:34px;align-items:stretch}
.exhibition-main,.exhibition-side{height:330px;align-self:start}
.exhibition-copy{padding-top:28px}
.faculty-research{position:relative;z-index:1;clear:both;margin-top:0}
.faculty-card,.research-card{min-height:400px}
.research-card li{min-height:104px}
.footer-inner{height:210px}
.footer-contact img{width:260px;margin-bottom:14px;filter:brightness(0) invert(1)}
.footer-contact p,.motto small,.footer nav{font-size:14px;line-height:1.7}
.footer nav a:first-child{font-size:14px}

@media (max-width:1220px){
  .brand{width:360px;flex-basis:360px}
  .main-nav{gap:14px;font-size:14px}
}
@media (max-width:1100px){
  .site-header{height:105px}
  .brand{width:320px;flex-basis:320px}
  .main-nav{gap:10px}
}
@media (max-width:760px){
  .site-header{height:86px}
  .brand{width:min(330px,calc(100vw - 78px));flex-basis:auto}
  .quick-icon{right:18px;bottom:19px;font-size:25px}
  .exhibition{min-height:0}
  .exhibition-main{height:270px}
  .exhibition-side{height:210px}
  .faculty-card,.research-card{min-height:0}
  .footer-inner{height:auto}
  .footer-contact img{width:260px}
  .news-copy{padding-right:0}
}

.quick img.quick-icon{width:30px;height:30px;object-fit:contain;filter:none}

/* Quick-entry hover: a restrained framed state for “专业介绍” */
.quick .featured{
  height:108px;
  margin-top:0;
  padding-top:0;
  border:1px solid transparent;
  background:transparent;
  transition:border-color .26s ease,background-color .26s ease,box-shadow .32s ease,transform .32s cubic-bezier(.2,.7,.2,1);
}
.quick .featured:after{
  opacity:0;
  transform:translateY(4px);
  transition:opacity .22s ease,transform .3s ease;
}
.quick .featured .quick-icon{
  transition:transform .32s cubic-bezier(.2,.7,.2,1),opacity .25s ease;
}
.quick .featured:hover,.quick .featured:focus-visible{
  border-color:#c9c9c9;
  background:#fff;
  box-shadow:0 12px 28px rgba(0,0,0,.07);
  transform:translateY(-6px);
  outline:none;
}
.quick .featured:hover:after,.quick .featured:focus-visible:after{
  opacity:1;
  transform:translateY(0);
}
.quick .featured:hover .quick-icon,.quick .featured:focus-visible .quick-icon{
  transform:translateY(-3px);
  opacity:1;
}

@media (max-width:760px){
  .quick .featured{height:95px;padding:14px}
  .quick .featured:hover,.quick .featured:focus-visible{transform:translateY(-3px)}
}
@media (prefers-reduced-motion:reduce){
  .quick .featured,.quick .featured:after,.quick .featured .quick-icon{transition:none}
  .quick .featured:hover,.quick .featured:focus-visible,.quick .featured:hover .quick-icon,.quick .featured:focus-visible .quick-icon{transform:none}
}

/* Keep the eight notice rows aligned with the final news divider. */
@media (min-width:761px){
  .news-main{
    position:relative;
  }
  .news-feature{
    border-right:0;
  }
  .news-main::after{
    content:"";
    position:absolute;
    top:52px;
    right:0;
    bottom:0;
    border-right:1px dashed #c9c9c9;
    pointer-events:none;
  }
  .notices{
    display:flex;
    flex-direction:column;
  }
  .notices ul{
    flex:1;
    display:grid;
    grid-template-rows:repeat(8,minmax(0,1fr));
  }
  .notices li{
    height:auto;
    min-height:0;
    padding:6px 0;
    line-height:1.5;
  }
}

/* Four-image editorial collage for the departments section. */
.dept-visual{
  display:block;
  width:calc(100% + 132px);
  margin-left:-132px;
  padding:0;
}
.dept-visual .watermark{
  z-index:4;
  pointer-events:none;
}
.dept-visual img{
  position:absolute!important;
  z-index:1;
  height:auto!important;
  object-fit:contain;
}
.dept-main{
  left:0!important;
  bottom:0!important;
  width:40%!important;
}
.dept-process{
  top:92px!important;
  left:36%!important;
  width:30%!important;
  margin:0;
  box-shadow:0 14px 32px rgba(0,20,105,.18);
}
.dept-detail{
  z-index:5;
  top:110px!important;
  left:65%!important;
  width:15%!important;
  margin:0;
  box-shadow:0 16px 38px rgba(0,20,105,.22);
}
.dept-model{
  right:0!important;
  bottom:20px!important;
  width:27%!important;
  margin:0;
  border-left:0;
  box-shadow:0 14px 32px rgba(0,20,105,.18);
}

@media (max-width:760px){
  .dept-visual{
    display:grid;
    grid-template-columns:184px 158px 86px 146px;
    grid-template-rows:1fr;
    column-gap:12px;
    align-items:end;
    width:100%;
    margin-left:0;
    padding-bottom:24px;
    overflow-x:auto;
    scrollbar-width:none;
  }
  .dept-visual::-webkit-scrollbar{display:none}
  .dept-visual img{
    position:relative!important;
    top:auto!important;
    right:auto!important;
    bottom:auto!important;
    left:auto!important;
    width:100%!important;
  }
  .dept-process{align-self:start;margin-top:86px}
  .dept-detail{align-self:start;margin-top:94px}
  .dept-model{align-self:end;margin-bottom:26px}
}

@media (min-width:761px) and (max-width:1100px){
  .dept-visual{width:calc(100% + 78px);margin-left:-78px}
}

/* Explicit image zones based on the three annotated red boxes. */
.dept-cluster{
  position:absolute;
  display:flex;
  align-items:flex-end;
}
.dept-cluster img{
  position:relative!important;
  top:auto!important;
  right:auto!important;
  bottom:auto!important;
  left:auto!important;
  width:100%!important;
  height:100%!important;
  object-fit:cover;
  margin:0;
}
.dept-cluster-main{
  left:calc(182px - 38.1%);
  top:72px;
  bottom:-24px;
  width:42%;
}
.dept-cluster-main .dept-main{
  width:100%!important;
}
.dept-cluster-process{
  left:29%;
  top:120px;
  width:32%;
  aspect-ratio:397 / 351;
  align-items:center;
}
.dept-cluster-process .dept-process{
  width:100%!important;
}
.dept-cluster-right{
  left:65%;
  top:182px;
  bottom:-24px;
  width:51%;
}
.dept-cluster-right .dept-model{
  width:100%!important;
  margin:0;
}

@media (min-width:761px) and (max-width:1100px){
  .dept-cluster-main{left:calc(108px - 38.1%)}
}

@media (max-width:760px){
  .dept-visual{
    display:flex;
    gap:12px;
    align-items:stretch;
    overflow-x:auto;
  }
  .dept-cluster{
    position:relative;
    top:auto;
    right:auto;
    bottom:auto;
    left:auto;
  }
  .dept-cluster-main{flex:0 0 210px}
  .dept-cluster-process{flex:0 0 180px;align-items:center}
  .dept-cluster-right{flex:0 0 270px}
}

/* Departments and programs: four departments + eight fixed program directions. */
.departments{
  min-height:470px;
}

.departments-inner{
  grid-template-columns:minmax(300px,31%) minmax(0,69%);
  gap:54px;
  height:470px;
  padding:38px 0 34px;
}

.dept-kicker{
  margin:10px 0 0;
  color:rgba(255,255,255,.66);
  font:500 10px/1.4 Arial,sans-serif;
  letter-spacing:2.2px;
}

.dept-list ol{
  padding-top:22px;
}

.departments .dept-list li{
  width:100%;
  max-width:360px;
  height:66px;
}

.dept-list li a{
  font-size:18px;
}

.program-panel{
  min-width:0;
  position:relative;
  z-index:1;
  display:flex;
  flex-direction:column;
}

.program-heading{
  min-height:64px;
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  padding:0 2px 15px;
  border-bottom:0;
}

.program-heading p{
  margin:0;
  font-size:18px;
  line-height:1;
}

.program-heading p span{
  margin-right:7px;
  font-family:"Barlow Condensed","Arial Narrow",sans-serif;
  font-size:35px;
  font-weight:300;
  font-variant-numeric:tabular-nums;
  letter-spacing:.055em;
  line-height:1;
}

.program-heading small{
  color:rgba(255,255,255,.66);
  font:500 10px/1.4 Arial,sans-serif;
  letter-spacing:2px;
}

.program-grid{
  min-width:0;
  width:100%;
  list-style:none;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  grid-template-rows:repeat(2,minmax(0,1fr));
  flex:1;
  margin:0;
  padding:16px 0 0;
  border-left:0;
}

.program-grid li{
  min-width:0;
  position:relative;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  gap:18px;
  padding:18px 16px 16px;
  cursor:pointer;
  border-right:1px solid rgba(255,255,255,.2);
  border-bottom:1px solid rgba(255,255,255,.2);
  isolation:isolate;
}
.program-card-href{
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  gap:18px;
  height:100%;
  color:#fff;
  text-decoration:none;
}

.program-grid li::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:3;
  border:1px solid rgba(255,255,255,.5);
  opacity:0;
  pointer-events:none;
  transition:opacity 260ms ease;
}

.program-grid li:nth-child(4n+1){
  border-left:1px solid rgba(255,255,255,.2);
}

.program-grid li:nth-child(-n+4){
  border-top:1px solid rgba(255,255,255,.2);
}

.program-grid li img{
  width:52px;
  height:52px;
  color:#fff;
  filter:brightness(0) invert(1);
  opacity:.92;
  transition:transform 420ms cubic-bezier(.22,1,.36,1),filter 260ms ease;
}

.program-grid li > span{
  min-height:45px;
  font-size:14px;
  font-weight:600;
  line-height:1.55;
}
.program-card-href em{
  font-style:normal;
}

.program-grid li small{
  display:block;
  margin-bottom:4px;
  color:rgba(255,255,255,.6);
  font:500 10px/1 Arial,sans-serif;
  letter-spacing:1px;
  transition:color 260ms ease;
}

.program-grid li:hover::before,
.program-grid li:focus-within::before,
.program-grid li.is-related::before{
  opacity:1;
}

@media (max-width:1100px){
  .departments-inner{grid-template-columns:minmax(260px,32%) minmax(0,68%);gap:30px}
  .departments .dept-list li{max-width:310px}
  .program-grid li{padding-inline:12px}
}

@media (max-width:760px){
  .departments{min-height:0}
  .departments-inner{display:grid;grid-template-columns:1fr;gap:26px;height:auto;padding:30px 0 36px}
  .dept-list,.program-panel{width:100%;min-width:0}
  .departments .dept-list li{width:calc(100% + 18px);max-width:calc(100% + 18px);height:62px}
  .program-heading{min-height:55px;align-items:center}
  .program-heading small{display:none}
  .program-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:none;flex:none}
  .program-grid li{min-height:132px}
  .program-grid li:nth-child(4n+1){border-left:0}
  .program-grid li:nth-child(2n+1){border-left:1px solid rgba(255,255,255,.2)}
  .program-grid li:nth-child(-n+4){border-top:0}
  .program-grid li:nth-child(-n+2){border-top:1px solid rgba(255,255,255,.2)}
  .dots-light{display:none}
}

@media (prefers-reduced-motion:reduce){
  .program-grid li,.program-grid li::before,.program-grid li img,.program-grid li small{transition:none}
}

/* === 首页模板补充规则（main.htm 专用）=== */

/* 院内科研机构序号：01/02 补零 */
.institutes-list { counter-reset: institute; }
.institute-item { counter-increment: institute; }
.institute-item .institute-no::before { content: counter(institute, decimal-leading-zero); }

/* 教学科研序号：01/02 补零 */
.research-card ol { counter-reset: research; }
.research-card li { counter-increment: research; }
.research-card li > .research-no::before { content: counter(research, decimal-leading-zero); }

/* 第一批：教学科研独占 .faculty-research 双栏（待加入学者推荐后恢复 41%/59%） */
.faculty-research > .research-card:only-child { grid-column: 1 / -1; }

/* === 教学科研简介：CSS 截断到两行，去除首行缩进 === */
.research-card li div p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  text-indent: 0;
  text-align: justify;
}
.research-card li div p a {
  text-indent: 0;
}

/* === 首页通知列高度同步：WebPlus 窗口容器不阻断 flex 撑满 === */
@media (min-width:761px){
  .notices { display:flex; flex-direction:column; }
  .notices > div[frag],
  .notices > div[frag] > div[frag],
  .notices > div[frag] > div[frag] > div[frag] {
    flex:1;
    display:flex;
    flex-direction:column;
    min-height:0;
  }
}
