/* 首页学生图片墙，与学生正文页样式独立。 */
#home-students{background:radial-gradient(ellipse at 90% 10%,#e2eef7,transparent 55%),#f6f6f7}
#home-students>.module-inner{display:flex;flex-direction:column;min-height:0;width:100%;height:100%}
#home-students .section-title{display:flex;align-items:center;justify-content:space-between;gap:20px;flex:none;margin:0 0 26px;padding:0 0 18px;border-bottom:1px solid #dde4ec}
#home-students .section-title h2{margin:0;color:#243852;font-size:clamp(26px,2vw,36px);line-height:1.4}
#home-students .section-title h2 span{margin-left:14px;color:#345baa;font-size:clamp(12px,1vw,17px);font-weight:500}
#home-students .more-link{flex:none;color:#345baa;text-decoration:none;font-size:14px}
#home-students .student-wall{display:grid;flex:1;min-height:0;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr));gap:12px;width:100%}
#home-students .student-wall-tile{display:block;position:relative;min-width:0;min-height:0;overflow:hidden;background:#e4eaf2;color:white;text-decoration:none;border-radius:3px;isolation:isolate}
#home-students .student-wall-tile:nth-child(1){grid-column:1;grid-row:1/4}
#home-students .student-wall-tile:nth-child(2){grid-column:2/4;grid-row:1/3}
#home-students .student-wall-tile:nth-child(3){grid-column:4;grid-row:1}
#home-students .student-wall-tile:nth-child(4){grid-column:4;grid-row:2}
#home-students .student-wall-tile:nth-child(5){grid-column:2;grid-row:3}
#home-students .student-wall-tile:nth-child(6){grid-column:3;grid-row:3}
#home-students .student-wall-tile:nth-child(7){grid-column:4;grid-row:3}
#home-students .student-wall-tile img{display:block;width:100%;height:100%;object-fit:cover;object-position:center;transition:transform .65s cubic-bezier(.2,.65,.3,1)}
#home-students .student-wall-tile h3{position:absolute;inset:auto 0 0;margin:0;padding:32px 18px 16px;background:linear-gradient(transparent,#10243bd9);color:white;font-size:17px;font-weight:500;line-height:1.5;display:flex;align-items:center;justify-content:space-between;gap:12px;transform:translateY(0);transition:background .3s}
#home-students .student-wall-tile h3 span{font-size:21px}
#home-students .student-wall-placeholder{display:grid;place-items:center;height:100%;background:linear-gradient(135deg,#dbe8f6,#a4badb);color:#345baa;font-size:24px}
#home-students .student-wall-empty{grid-column:1/-1;align-self:center;text-align:center;color:#8291a5}
#home-students .student-wall-tile:focus-visible{outline:3px solid #345baa;outline-offset:3px}
@media(hover:hover){#home-students .student-wall-tile h3{transform:translateY(100%);transition:transform .35s ease}#home-students .student-wall-tile:hover h3,#home-students .student-wall-tile:focus-visible h3{transform:translateY(0)}#home-students .student-wall-tile:hover img{transform:scale(1.045)}}
/* 少量文章也完整铺排，不复制图片凑数。 */
#home-students .student-wall-count-1{grid-template-columns:1fr;grid-template-rows:1fr}
#home-students .student-wall-count-2,#home-students .student-wall-count-3{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr))}
#home-students .student-wall-count-1 .student-wall-tile,#home-students .student-wall-count-2 .student-wall-tile,#home-students .student-wall-count-3 .student-wall-tile{grid-column:auto;grid-row:auto}
#home-students .student-wall-count-2 .student-wall-tile{grid-row:1/3}
#home-students .student-wall-count-3 .student-wall-tile:first-child{grid-row:1/3}
#home-students .student-wall-count-4{grid-template-rows:repeat(2,minmax(0,1fr))}
#home-students .student-wall-count-4 .student-wall-tile:first-child{grid-row:1/3}
#home-students .student-wall-count-4 .student-wall-tile:nth-child(2){grid-row:1/3}
#home-students .student-wall-count-5 .student-wall-tile:nth-child(5){grid-column:2/5}
#home-students .student-wall-count-6 .student-wall-tile:nth-child(6){grid-column:3/5}
@media(max-width:1023px){#home-students>.module-inner{height:auto}#home-students .student-wall{flex:none;min-height:560px}#home-students .section-title h2 span{display:block;margin:4px 0 0}}
@media(max-width:600px){#home-students .student-wall{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:none;grid-auto-rows:180px;min-height:0;gap:9px}#home-students .student-wall .student-wall-tile:nth-child(n){grid-column:auto;grid-row:auto}#home-students .student-wall .student-wall-tile:nth-child(2){grid-column:1/-1;grid-row:2;min-height:0}#home-students .student-wall-count-1 .student-wall-tile:first-child{grid-column:1/-1}#home-students .student-wall-tile h3{padding:25px 12px 10px;font-size:14px}}
@media(prefers-reduced-motion:reduce){#home-students .student-wall-tile img,#home-students .student-wall-tile h3{transition:none}}
