/* Homepage portrait gallery: the first render always starts with Ding Xingliang. */
.hs-experts{padding-block:60px 52px}
.hs-experts .hs-heading{margin-bottom:32px}
.hs-experts .hs-heading h2,.hs-experts .hs-heading>p{text-wrap:balance}
.hs-faculty-carousel{max-width:1100px;margin-inline:auto}
.hs-faculty-track{display:grid;grid-template-columns:1fr 1fr 260px 1fr 1fr;align-items:center;gap:22px;min-height:265px;padding:12px 10px 0}
.hs-faculty-person{grid-column:calc(var(--position) + 3);grid-row:1;min-width:0;display:flex;flex-direction:column;align-items:center;gap:14px;padding:0;border:0;background:transparent;color:#52677e;cursor:pointer}
.hs-faculty-person[hidden]{display:none}
.hs-faculty-avatar{display:block;width:126px;height:126px;border-radius:50%;background:#edf2f8;box-shadow:0 0 0 5px #f5f8fc;transition:box-shadow .2s;overflow:hidden}
.hs-faculty-avatar img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 22%}
.hs-faculty-name{font-size:16px;font-weight:500;line-height:1.5}
.hs-faculty-person[data-position="0"] .hs-faculty-avatar{width:220px;height:220px;box-shadow:0 0 0 9px #fff,0 0 0 10px #c4d9f4}
.hs-faculty-person[data-position="0"] .hs-faculty-name{visibility:hidden;height:0;overflow:hidden}
.hs-faculty-person:hover .hs-faculty-avatar{box-shadow:0 0 0 5px #d9e8fb}
.hs-faculty-person:focus-visible{outline:2px solid #0957c3;outline-offset:7px;border-radius:8px}
.hs-faculty-detail{display:grid;grid-template-columns:44px minmax(0,720px) 44px;justify-content:center;align-items:center;gap:28px;margin-top:15px}
.hs-faculty-bio{text-align:center;min-width:0}
.hs-faculty-bio h3{font-size:30px;line-height:1.5;margin:0 0 6px;font-weight:600;color:#183a57}
.hs-faculty-bio h3 small{font-size:16px;font-weight:400;color:#73859b;margin-left:9px}
.hs-faculty-bio>strong{display:block;font-size:16px;line-height:1.7;color:#0957c3;font-weight:500}
.hs-faculty-bio>p{font-size:15px;line-height:1.9;color:#65788d;margin:14px auto 16px;min-height:57px;max-width:680px}
.hs-faculty-bio .hs-inline-link{font-size:15px;justify-content:center;min-height:40px}
.hs-faculty-step{display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid #d9e4ef;border-radius:50%;background:#fff;color:#0957c3;cursor:pointer}
.hs-faculty-step:hover{background:#0957c3;border-color:#0957c3;color:white}
.hs-faculty-step:focus-visible{outline:2px solid #0957c3;outline-offset:4px}
.hs-faculty-progress{display:flex;gap:7px;justify-content:center;margin-top:18px}
.hs-faculty-progress i{width:6px;height:6px;border-radius:8px;background:#d7e2ef}
.hs-faculty-progress i.is-active{width:24px;background:#0957c3}
@media(max-width:1000px){.hs-faculty-track{grid-template-columns:1fr 1fr 210px 1fr 1fr;gap:12px;min-height:235px}.hs-faculty-avatar{width:92px;height:92px}.hs-faculty-person[data-position="0"] .hs-faculty-avatar{width:180px;height:180px}.hs-faculty-detail{gap:20px}.hs-faculty-name{font-size:15px}}
@media(max-width:700px){.hs-experts{padding-block:42px 36px}.hs-experts .hs-heading{margin-bottom:22px}.hs-faculty-track{grid-template-columns:minmax(0,1fr) 150px minmax(0,1fr);gap:10px;min-height:177px;padding:10px 0 0}.hs-faculty-person{grid-column:calc(var(--position) + 2);gap:10px}.hs-faculty-person[data-position="-2"],.hs-faculty-person[data-position="2"]{display:none}.hs-faculty-avatar{width:64px;height:64px;box-shadow:0 0 0 3px #f5f8fc}.hs-faculty-person[data-position="0"] .hs-faculty-avatar{width:134px;height:134px;box-shadow:0 0 0 6px #fff,0 0 0 7px #c4d9f4}.hs-faculty-name{font-size:13px}.hs-faculty-detail{grid-template-columns:32px minmax(0,1fr) 32px;gap:8px;margin-top:8px;align-items:start}.hs-faculty-step{width:32px;height:32px;margin-top:7px}.hs-faculty-step svg{width:18px;height:18px}.hs-faculty-bio h3{font-size:26px}.hs-faculty-bio h3 small{font-size:14px}.hs-faculty-bio>strong{font-size:14px}.hs-faculty-bio>p{font-size:14px;margin-top:12px;min-height:133px;text-align:left}.hs-faculty-bio .hs-inline-link{font-size:14px}.hs-faculty-progress{margin-top:12px}}
@media(max-width:360px){.hs-faculty-track{grid-template-columns:minmax(0,1fr) 132px minmax(0,1fr);gap:8px}.hs-faculty-person[data-position="0"] .hs-faculty-avatar{width:120px;height:120px}.hs-faculty-avatar{width:54px;height:54px}.hs-faculty-detail{grid-template-columns:28px minmax(0,1fr) 28px;gap:6px}.hs-faculty-step{width:28px;height:28px}}
@media(prefers-reduced-motion:reduce){.hs-faculty-avatar{transition:none}}

/* User-supplied introductions share one reading format in detail and preview. */
.faculty-document{font-family:inherit;color:#52677e;font-size:16px;line-height:1.85;min-width:0}
.faculty-document .faculty-document-section{padding:24px 0;border-bottom:1px solid #dce6ef}
.faculty-document .faculty-document-section:first-child{padding-top:0}
.faculty-document .faculty-document-section:last-child{border-bottom:0}
.faculty-document .faculty-document-section>h2{font-family:inherit;font-size:25px;line-height:1.5;font-weight:600;color:#183a57;margin:0 0 18px}
.faculty-document .faculty-document-section p{font-family:inherit;font-size:16px;line-height:1.85;color:#52677e;margin:12px 0 0;text-align:left}
.faculty-document-list{margin:0;padding-left:22px;list-style:disc}
.faculty-document-list li{font-family:inherit;font-size:16px;line-height:1.85;margin:5px 0;padding-left:3px;overflow-wrap:break-word}
.faculty-document-list li::marker{color:#6485af}
.faculty-document-courses{display:grid;gap:20px}
.faculty-document-course-group{border-left:3px solid #cfdef2;padding-left:20px}
.faculty-document-course-group h3{font-family:inherit;font-size:20px;line-height:1.6;font-weight:600;color:#183a57;margin:0 0 9px}
.faculty-document-course-group .faculty-document-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:30px}
@media(max-width:700px){.faculty-document-course-group .faculty-document-list{grid-template-columns:1fr}}
.faculty-document-books{display:grid;gap:16px;justify-items:start}
.faculty-document-books img{display:block;width:auto;max-width:100%;height:auto}
.faculty-document-logos{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}
.faculty-document-logos>div{height:72px;display:flex;align-items:center;justify-content:center;padding:10px;border:1px solid #e1e8f0;background:#fff}
.faculty-document-logos img{display:block;width:100%;height:100%;object-fit:contain}
.faculty-document-more{margin-top:14px}
.faculty-document-more summary{cursor:pointer;color:#0957c3;font-size:15px;line-height:1.8;padding:10px 0;min-height:44px}
.faculty-document-more[open] summary{margin-bottom:10px}
.faculty-document-photos{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.faculty-document-photos img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:contain;background:#f2f6fa}
#detail-drawer[data-kind="expert"] .faculty-document{margin-top:24px}
#detail-drawer[data-kind="expert"] .faculty-document .faculty-document-section>h2{font-size:25px;line-height:1.5;margin-bottom:18px}
#detail-drawer[data-kind="expert"] .faculty-document-logos{grid-template-columns:repeat(4,minmax(0,1fr))}
#detail-drawer[data-kind="expert"] .faculty-document-photos{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:1100px){.faculty-document-logos{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:700px){.faculty-document .faculty-document-section{padding-block:22px}.faculty-document .faculty-document-section>h2,#detail-drawer[data-kind="expert"] .faculty-document .faculty-document-section>h2{font-size:24px}.faculty-document-course-group{padding-left:15px}.faculty-document-logos,#detail-drawer[data-kind="expert"] .faculty-document-logos{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.faculty-document-logos>div{height:64px;padding:8px}.faculty-document-photos{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}}

/* Portrait frames have explicit dimensions; source photos never stretch with text. */
.faculty-directory{padding-block:36px 48px}
.faculty-directory .faculty-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:0 30px;margin-top:24px}
.faculty-directory .faculty-item{display:grid;grid-template-columns:104px minmax(0,1fr);gap:20px;align-items:start;padding:24px 0;min-height:188px;transform:none}
.faculty-directory .portrait-placeholder{width:104px;height:140px;aspect-ratio:auto;align-self:start;overflow:hidden;background:#f2f5f8}
.faculty-directory .portrait-placeholder img{display:block;width:100%;height:100%;object-fit:contain;object-position:center top}
.faculty-directory .faculty-info{padding-top:0;min-width:0}
.faculty-directory .faculty-info .eyebrow{font-size:11px;line-height:1.5;letter-spacing:.5px;margin:0 0 9px}
.faculty-directory .faculty-info h3{font-size:23px;line-height:1.4;font-weight:600;margin:0}
.faculty-directory .faculty-info p{font-size:15px;line-height:1.75;color:var(--site-body,#52677e);margin:10px 0 0;word-break:normal;overflow-wrap:break-word}
.faculty-directory [data-slot="faculty-role"]{color:var(--site-heading,#183a57);font-size:14px}
.faculty-directory .tab{font-size:15px;line-height:1.6;padding:10px 16px;min-height:44px}
.faculty-directory .faculty-search{margin-top:16px}.faculty-directory .archive-count{font-size:14px;margin-top:14px}
.expert-page{padding-block:40px 48px}
.expert-layout{grid-template-columns:240px minmax(0,1fr);gap:48px;align-items:start}
.expert-sidebar{position:sticky;top:112px;display:flex;flex-direction:column;align-items:center;text-align:center;padding:26px 22px;background:#f4f8fc;border-color:#dce6ef;border-top:3px solid #0957c3;border-radius:0;min-width:0}
.expert-sidebar .expert-portrait{width:130px;height:175px;aspect-ratio:auto;overflow:hidden;background:#edf2f6;margin:0 0 20px}
.expert-sidebar .expert-portrait img{display:block;width:100%;height:100%;object-fit:contain;object-position:center top}
.expert-sidebar h2{font-size:25px;line-height:1.45;font-weight:600;margin:0 0 8px}
.expert-sidebar p{font-size:15px;line-height:1.8;margin:0;color:var(--site-body,#52677e)}
.expert-sidebar>.button{font-size:15px;line-height:1.6;min-height:44px;margin-top:22px;gap:14px;padding:11px 12px}
.expert-reading{min-width:0}.expert-reading>.detail-section:first-child{padding-top:0}
.expert-reading .detail-section{padding:24px 0;border-color:#dce6ef}
.expert-reading .detail-section>h2{font-size:25px;line-height:1.5;font-weight:600;margin:0 0 20px;color:#183a57}
.expert-reading .detail-section>p,.expert-reading .expert-courses{font-size:16px;line-height:1.85;color:#52677e}
.expert-reading .faculty-source,#detail-drawer[data-kind="expert"] .faculty-source{padding-top:22px;margin-top:24px;border-color:#dce6ef}
.expert-reading .faculty-source:first-of-type,#detail-drawer[data-kind="expert"] .faculty-source:first-of-type{padding-top:0;margin-top:0;border-top:0}
.expert-reading .faculty-source>h3,#detail-drawer[data-kind="expert"] .faculty-source>h3{font-size:14px;font-weight:500;color:#0957c3;line-height:1.6;margin:0 0 10px}
.faculty-source-body{font-family:inherit;font-size:16px!important;line-height:1.85!important;color:#52677e!important;text-align:left}
.faculty-source-body :is(p,div,span,li,b,strong){font-family:inherit!important;font-size:16px!important;line-height:1.85!important;letter-spacing:0!important;color:inherit!important}
.faculty-source-body p{margin:0 0 8px!important;text-indent:0!important;text-align:left!important}
.faculty-source-body div{margin:0;padding:0}
.faculty-source-body :is(h2,h3,h4){font-family:inherit!important;font-size:20px!important;line-height:1.6!important;color:#183a57!important;font-weight:600!important;margin:20px 0 10px!important}
.faculty-source-body :is(h2,h3,h4) :is(b,strong,span){font-size:inherit!important;line-height:inherit!important;color:inherit!important}
.faculty-source-body .faculty-profile-title{font-size:18px!important;font-weight:500!important;margin:0 0 18px!important}
.faculty-source-body img{display:block;width:auto;max-width:min(130px,100%)!important;height:auto;max-height:175px!important;object-fit:contain;object-position:left top;margin:12px 0!important}
.faculty-source>.text-link{font-size:14px;min-height:40px;margin-top:16px;color:#0957c3}
#detail-drawer[data-kind="expert"]{font-family:var(--site-font,"Microsoft YaHei","PingFang SC",sans-serif)}
#detail-drawer[data-kind="expert"] .drawer-status{display:none}
#detail-drawer[data-kind="expert"] .drawer-profile{display:grid;grid-template-columns:104px minmax(0,1fr);align-items:start;gap:22px;padding-bottom:24px;border-bottom:1px solid #dce6ef}
#detail-drawer[data-kind="expert"] .drawer-profile .portrait-placeholder{width:104px;height:140px;aspect-ratio:auto;overflow:hidden;background:#f2f5f8}
#detail-drawer[data-kind="expert"] .drawer-profile img{display:block;width:100%;height:100%;object-fit:contain;object-position:center top}
#detail-drawer[data-kind="expert"] .drawer-profile h3{font-size:25px;font-weight:600;line-height:1.5;margin:0}
#detail-drawer[data-kind="expert"] .drawer-profile p{font-size:15px;line-height:1.8;margin:8px 0 0}
#detail-drawer[data-kind="expert"] .detail-section h2{font-size:23px;line-height:1.5;margin-bottom:18px}
#detail-drawer[data-kind="expert"] .drawer-footer .button{font-size:15px;line-height:1.6}
@media(max-width:1100px){.faculty-directory .faculty-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 26px}.expert-layout{grid-template-columns:220px minmax(0,1fr);gap:30px}.expert-sidebar{padding:22px 18px}}
@media(max-width:700px){.faculty-directory{padding-block:26px 36px}.faculty-directory .faculty-grid{grid-template-columns:1fr}.faculty-directory .faculty-item{grid-template-columns:96px minmax(0,1fr);gap:20px;min-height:172px;padding:22px 0}.faculty-directory .portrait-placeholder{width:96px;height:130px}.faculty-directory .faculty-info h3{font-size:23px}.faculty-directory .tab{font-size:14px;padding:10px 12px}.expert-page{padding-block:28px 36px}.expert-layout{grid-template-columns:1fr;gap:28px}.expert-sidebar{position:static;display:grid;grid-template-columns:104px minmax(0,1fr);gap:10px 22px;align-items:start;text-align:left;padding:22px}.expert-sidebar .expert-portrait{width:104px;height:140px;margin:0;grid-row:span 2}.expert-sidebar h2{font-size:25px}.expert-sidebar .expert-identity{align-self:end}.expert-sidebar>.button{align-self:start;margin:4px 0 0;font-size:14px;gap:8px}.expert-reading .detail-section>h2{font-size:24px}.expert-reading .detail-section{padding-block:22px}.expert-reading .detail-section:first-child{padding-top:0}}
@media(max-width:360px){.faculty-directory .faculty-item{gap:16px}.expert-sidebar{grid-template-columns:90px minmax(0,1fr);padding:18px;gap:10px 16px}.expert-sidebar .expert-portrait{width:90px;height:122px}.expert-sidebar>.button{padding:8px;font-size:13px}.expert-sidebar>.button svg{width:16px}.expert-sidebar h2{font-size:23px}#detail-drawer[data-kind="expert"] .drawer-footer .button{font-size:13px;padding-inline:8px}#detail-drawer[data-kind="expert"] .drawer-profile{gap:18px}}
