/* Only the existing graduates page, ID 350. */
body.page-id-350 { --ms-ink:#17334b; --ms-muted:#536978; --ms-brand:#176bb3; --ms-line:#dbe5ec; }
body.page-id-350 #content > .section-block-upper { display:grid; grid-template-columns:minmax(0,1fr) 280px; gap:24px; align-items:start; }
body.page-id-350 #primary,body.page-id-350 #secondary { width:auto; min-width:0; float:none; padding:0; }
body.page-id-350 #primary,body.page-id-350 #main,body.page-id-350 .entry-content-wrap,body.page-id-350 .entry-content { background:transparent; padding:0; }
body.page-id-350 #main > article > .entry-header { padding:24px; background:#fff; border:1px solid var(--ms-line); border-radius:8px; margin:0 0 20px; }
body.page-id-350 #main .entry-title { margin:0; color:var(--ms-ink); font-size:clamp(27px,3vw,36px); line-height:1.4; }
body.page-id-350 .ms-graduates-jump { display:flex; flex-wrap:wrap; gap:10px; padding:18px; border:1px solid var(--ms-line); border-radius:8px; background:#fff; margin-bottom:24px; }
body.page-id-350 .ms-graduates-jump a { display:inline-flex; align-items:center; min-height:44px; padding:7px 12px; border:1px solid var(--ms-line); border-radius:5px; background:#edf5fc; color:var(--ms-brand); font-size:14px; font-weight:600; text-decoration:none; }
body.page-id-350 .ms-graduates-section { padding:24px; background:#fff; border:1px solid var(--ms-line); border-radius:8px; margin:0 0 24px; }
body.page-id-350 .ms-graduates-section > h2 { color:var(--ms-ink); margin:0 0 22px; padding-bottom:14px; border-bottom:1px solid var(--ms-line); font-size:26px; line-height:1.4; scroll-margin-top:90px; }
body.page-id-350 .ms-graduates-content p:empty { display:none; }
body.page-id-350 .ms-graduates-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px; }
body.page-id-350 .ms-graduates-faculty .ms-graduates-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
body.page-id-350 .ms-graduates-card { padding:18px 12px; min-width:0; border:1px solid var(--ms-line); border-radius:7px; background:#f8fafc; text-align:center; color:var(--ms-ink); }
body.page-id-350 .ms-graduates-photo { width:120px; max-width:100%; height:160px; margin:0 auto 14px; display:flex; align-items:center; justify-content:center; }
body.page-id-350 .ms-graduates-photo a { display:block; max-width:100%; }
body.page-id-350 .ms-graduates-photo img { display:block; width:120px!important; max-width:100%; height:160px!important; object-fit:contain; margin:0!important; border-radius:5px; background:#eef3f7; }
body.page-id-350 .ms-graduates-faculty .ms-graduates-photo { width:140px; height:190px; }
body.page-id-350 .ms-graduates-faculty .ms-graduates-photo img { width:140px!important; height:190px!important; }
body.page-id-350 .ms-graduates-name { margin:0!important; font-size:17px; line-height:1.6; font-weight:400; color:var(--ms-muted); overflow-wrap:anywhere; }
body.page-id-350 .ms-graduates-name strong,body.page-id-350 .ms-graduates-name b { color:var(--ms-ink); }
body.page-id-350 .ms-graduates-name a[href] { color:var(--ms-brand); text-decoration:none; }
body.page-id-350 .ms-graduates-name a[href]:hover { text-decoration:underline; }
body.page-id-350 .ms-graduates-name a:not([href]) { color:var(--ms-ink); }
body.page-id-350 .ms-graduates-placeholder { border-color:transparent; background:transparent; }
body.page-id-350 .ms-graduates-placeholder img { background:transparent; }
body.page-id-350 #secondary { position:static!important; }
body.page-id-350 #secondary .widget-area { padding:0; background:transparent; }
body.page-id-350 #secondary .widget { padding:20px; margin:0 0 20px; border:1px solid var(--ms-line); border-radius:8px; background:#fff; box-shadow:none; font:14px/1.8 system-ui,'Microsoft YaHei',sans-serif; color:var(--ms-muted); }
body.page-id-350 #secondary .textwidget { display:flow-root; }
body.page-id-350 #secondary h2 { text-align:left!important; color:var(--ms-ink)!important; font-size:20px!important; line-height:1.4; margin:0 0 16px!important; }
body.page-id-350 #secondary table,body.page-id-350 #secondary tbody { display:block; width:100%; border:0; margin:0!important; }
body.page-id-350 #secondary tr { display:flex; flex-direction:column; padding:16px 0; margin:0!important; border-top:1px solid var(--ms-line); }
body.page-id-350 #secondary td { display:block; width:100%!important; padding:0!important; border:0; }
body.page-id-350 #secondary td:nth-child(2) { order:-1; margin-bottom:10px; }
body.page-id-350 #secondary td img { display:block; width:82px; max-width:82px; height:auto; margin:0!important; border-radius:5px; }
body.page-id-350 #secondary .textwidget > span { float:none!important; display:block; padding:12px 0 0!important; margin:0!important; border-top:1px solid var(--ms-line); }
body.page-id-350 #secondary p { margin:0 0 16px; }
body.page-id-350 #secondary p:last-child { margin-bottom:0; }
body.page-id-350 #secondary a { color:var(--ms-brand); }
body.page-id-350 #content a:focus-visible { outline:3px solid #e7ab39; outline-offset:3px; }
@media (max-width:1199px) {
 body.page-id-350 #content > .section-block-upper { grid-template-columns:minmax(0,1fr); }
 body.page-id-350 #secondary .widget-area { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; align-items:start; }
 body.page-id-350 #secondary .widget { margin:0; }
}
@media (max-width:800px) { body.page-id-350 .ms-graduates-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media (max-width:700px) {
 body.page-id-350 .ms-graduates-grid,body.page-id-350 .ms-graduates-faculty .ms-graduates-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
 body.page-id-350 .ms-graduates-section,body.page-id-350 #main > article > .entry-header { padding:18px; }
 body.page-id-350 .ms-graduates-section > h2 { font-size:23px; }
 body.page-id-350 .ms-graduates-card { padding:16px 10px; }
 body.page-id-350 .ms-graduates-photo,body.page-id-350 .ms-graduates-faculty .ms-graduates-photo { width:110px; height:150px; }
 body.page-id-350 .ms-graduates-photo img,body.page-id-350 .ms-graduates-faculty .ms-graduates-photo img { width:110px!important; height:150px!important; }
 body.page-id-350 #secondary .widget-area { grid-template-columns:minmax(0,1fr); }
}
@media (max-width:360px) {
 body.page-id-350 .ms-graduates-section { padding:14px; }
 body.page-id-350 .ms-graduates-grid,body.page-id-350 .ms-graduates-faculty .ms-graduates-grid { gap:10px; }
 body.page-id-350 .ms-graduates-photo,body.page-id-350 .ms-graduates-faculty .ms-graduates-photo { width:86px; height:118px; }
 body.page-id-350 .ms-graduates-photo img,body.page-id-350 .ms-graduates-faculty .ms-graduates-photo img { width:86px!important; height:118px!important; }
 body.page-id-350 .ms-graduates-name { font-size:15px; }
}

/* Year navigation remains available throughout this long roster. */
body.page-id-350 .ms-graduates-jump { position:sticky; top:68px; z-index:20; gap:8px; padding:14px; box-shadow:0 3px 12px rgba(23,51,75,.06); }
body.page-id-350 .ms-graduates-jump a { justify-content:center; min-width:58px; flex:0 0 auto; padding:7px 10px; font-size:14px; }
body.page-id-350 .ms-graduates-jump a:hover { background:#dcecf9; }
body.page-id-350 .ms-graduates-section > h2 { scroll-margin-top:220px; }
body.page-id-350 .ms-graduates-grid + .ms-graduates-grid { margin-top:18px; }
body.page-id-350 .ms-graduates-empty { display:none!important; }
body.page-id-350 .ms-graduates-card { padding:18px 10px; }
body.page-id-350 .ms-graduates-name { font-size:16px; line-height:1.6; font-weight:700; }
body.page-id-350 .ms-graduates-name strong,body.page-id-350 .ms-graduates-name b { font-weight:inherit; }
body.page-id-350 .ms-graduates-person { display:block; font-weight:700; color:var(--ms-ink)!important; }
body.page-id-350 .ms-graduates-name a[href] .ms-graduates-person { color:var(--ms-brand)!important; }
body.page-id-350 .ms-graduates-affiliation { display:block; margin-top:4px; font-size:14px; font-weight:400; line-height:1.65; color:var(--ms-muted)!important; }
body.page-id-350 .ms-graduates-name a[href]:hover .ms-graduates-person { text-decoration:underline; }
@media (max-width:700px) {
 body.page-id-350 .ms-graduates-jump { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); padding:10px; gap:8px; top:58px; }
 body.page-id-350 .ms-graduates-jump a { min-width:0; padding:7px 4px; font-size:13px; }
 body.page-id-350 .ms-graduates-section > h2 { scroll-margin-top:250px; }
 body.page-id-350 .ms-graduates-name { font-size:16px; }
 body.page-id-350 .ms-graduates-affiliation { font-size:13px; }
 body.page-id-350 .ms-graduates-grid + .ms-graduates-grid { margin-top:14px; }
}
@media (prefers-reduced-motion:reduce) { body.page-id-350 { scroll-behavior:auto; } }
