:root{--paper:#f5f0e6;--card:#fdfaf4;--ink:#2b342d;--muted:#777a6c;--green:#263e35;--gold:#a8854d;--line:#dcd6c7;--serif:"Noto Serif SC","Source Han Serif SC","Songti SC","SimSun",serif;--sans:"Microsoft YaHei","PingFang SC",sans-serif}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--sans);-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}button{font:inherit}img{display:block;max-width:100%;height:auto}a:focus-visible,button:focus-visible,summary:focus-visible{outline:2px solid var(--gold);outline-offset:5px}.wrap{width:min(1220px,calc(100% - 100px));margin-inline:auto}.skip{position:fixed;z-index:99;top:-100px;left:12px;background:var(--green);color:white;padding:12px}.skip:focus{top:12px}.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.site-header{background:#f8f4ed}.brand-row{display:flex;align-items:center;justify-content:space-between;padding-block:23px}.brand{display:flex;align-items:center;gap:16px}.seal{width:50px;height:56px;background:var(--green);color:#f3e6c6;display:grid;place-items:center;font-family:var(--serif);font-size:19px;writing-mode:vertical-rl;letter-spacing:4px;border:3px double #a39d82}.brand strong{font-family:var(--serif);font-size:29px;font-weight:500;letter-spacing:5px;display:block}.brand small{font-size:11px;letter-spacing:2px;display:block;color:var(--muted);margin-top:6px}.brand-motto{font-family:var(--serif);font-size:14px;letter-spacing:3px;color:#8a826f}.profile-nav{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);padding-block:18px 20px;gap:16px;font:17px var(--serif);letter-spacing:2px}.profile-nav a{position:relative;white-space:nowrap}.profile-nav a[aria-current=page]{color:var(--gold)}.profile-nav a[aria-current=page]:after{content:"";position:absolute;bottom:-9px;left:0;right:2px;height:1px;background:var(--gold)}.profile-menu{display:none}.hero{width:100%;position:relative}.hero>img{width:100%;height:auto;aspect-ratio:1672/941;object-fit:contain}.hero-caption{background:var(--green);color:#f0e5d0;padding:25px max(50px,calc((100% - 1220px)/2));display:flex;align-items:center;gap:30px}.hero-caption>span{font:23px var(--serif);letter-spacing:3px}.hero-caption>p{font:14px var(--serif);color:#c0c4ae;letter-spacing:2px;margin:0}.hero-caption>a{margin-left:auto;font-size:12px;white-space:nowrap;color:#d9c49d}.chapter{padding-block:86px}.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;margin-bottom:38px}.eyebrow{display:block;color:var(--gold);font-size:14px;letter-spacing:3px;font-weight:500;line-height:1.8}.section-head h2{font:38px/1.5 var(--serif);letter-spacing:3px;font-weight:500;margin:10px 0}.section-head p{font-size:14px;color:var(--muted);line-height:1.9;margin:0}.text-link{display:inline-flex;align-items:center;gap:22px;font-size:13px;line-height:1.8;color:var(--gold);padding-block:10px;border-bottom:1px solid #b2a482;white-space:nowrap}.plain-link{border:0;color:inherit}.culture-split{display:grid;grid-template-columns:1.05fr 1fr;gap:60px;align-items:center}.culture-split>figure{margin:0;position:relative}.culture-split>figure:after{content:"";position:absolute;left:16px;top:16px;right:-16px;bottom:-16px;border:1px solid #b7a67c;z-index:-1}.culture-split>figure>img{width:100%;aspect-ratio:1.25;object-fit:contain}.culture-copy{position:relative;padding:15px 42px 15px 0}.culture-copy h3{font:32px/1.75 var(--serif);font-weight:500;letter-spacing:3px;margin:0 0 22px}.culture-copy p,.bio-copy>p{font-size:14px;line-height:2.15;color:var(--muted);margin:15px 0}.vertical-label{position:absolute;right:0;top:20px;writing-mode:vertical-rl;font:16px var(--serif);letter-spacing:7px;color:#b5a37e}.culture-copy .text-link{margin-top:12px}.biography-band{background:var(--green);color:#f3ebdb;position:relative;overflow:hidden}.biography-band:before{content:"三丰";position:absolute;right:4%;bottom:-35px;font:240px var(--serif);letter-spacing:20px;color:#ffffff03;pointer-events:none}.biography-split{display:grid;grid-template-columns:1.15fr .85fr;gap:110px;align-items:center;padding-block:70px}.bio-copy h2{font:54px/1.5 var(--serif);letter-spacing:10px;font-weight:400;margin:13px 0 0}.bio-copy>.role{color:#d8c9aa;font-family:var(--serif);font-size:16px;letter-spacing:2px;margin-top:12px}.bio-copy>p{color:#c4ccbe;max-width:560px}.gold-rule{width:44px;height:1px;background:var(--gold);margin-block:28px}.bio-copy .text-link{color:#d8bf88;margin-top:12px}.bio-portrait{margin:0;position:relative;max-width:390px;justify-self:end;width:100%}.bio-portrait>img{width:100%;aspect-ratio:4/4.5;object-fit:contain;object-position:50% 20%;border:7px solid #f6efdf;box-shadow:0 12px 40px #101e1740}.bio-portrait>figcaption{font:13px var(--serif);color:#bcbb9f;letter-spacing:3px;margin-top:17px;text-align:center}.honor-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}.honor-card{background:var(--card);border:1px solid var(--line);min-width:0;display:flex;flex-direction:column;transition:box-shadow .2s,transform .2s}.honor-card:hover{box-shadow:0 14px 35px #353b2c0b;transform:translateY(-3px)}.certificate-frame{display:block;position:relative;width:100%;aspect-ratio:3/2;background:#e9e3d6;overflow:hidden;padding:20px;flex-shrink:0}.certificate-frame>img{height:100%;width:100%;object-fit:contain;filter:drop-shadow(0 3px 5px #342b1e22)}.certificate-frame>span{position:absolute;bottom:0;left:0;right:0;padding:7px;text-align:center;font-size:10px;background:#253a31db;color:#e6d8ba;letter-spacing:2px;opacity:0;transition:opacity .2s}.certificate-frame:hover>span{opacity:1}.card-body{padding:24px 23px;display:flex;flex-direction:column;flex:1}.card-body h3{font:20px/1.6 var(--serif);font-weight:500;margin:10px 0 12px}.card-body h3 .plain-link>span{display:none}.card-body p{font-size:12px;line-height:2;color:var(--muted);margin:0 0 18px}.card-body small{font-size:10px;line-height:1.9;color:#9a8c73;margin-top:auto}.certificate-frame.rotate{display:flex;align-items:center;justify-content:center}.certificate-frame.rotate>img{width:62%;height:145%;max-width:none;transform:rotate(90deg);flex-shrink:0}.articles-band{background:#ebe7dc;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.article-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px}.article-card{background:#f9f5ee;min-width:0}.article-thumb{display:block;overflow:hidden}.article-thumb>img{aspect-ratio:16/10;width:100%;object-fit:contain;transition:transform .3s}.article-thumb:hover>img{transform:none}.article-card>div{padding:24px}.article-card h3{font:22px/1.7 var(--serif);margin:10px 0 14px;font-weight:500}.article-card h3 span{display:none}.article-card p{font-size:12px;line-height:2;color:var(--muted);min-height:48px;margin:0 0 20px}.photo-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}.photo-strip>a>img{width:100%;aspect-ratio:4/3;object-fit:contain}.photo-strip>a>span{display:block;font:18px var(--serif);letter-spacing:2px;padding-top:17px}.page-heading{padding-block:52px 38px;border-bottom:1px solid var(--line)}.page-heading h1{font:40px/1.5 var(--serif);letter-spacing:3px;font-weight:500;margin:10px 0 16px;max-width:1000px}.page-heading>p{font-size:14px;color:var(--muted);line-height:2;max-width:800px;margin:0}.page-body{padding-block:40px 80px;min-height:35vh}.reading{margin-bottom:32px;max-width:900px}.reading h2{font:27px/1.6 var(--serif);margin:0 0 16px;font-weight:500}.reading p{font-size:15px;line-height:2.2;color:var(--muted);margin:0}.reading a{color:var(--gold)}.source-note{padding:18px 22px;margin-block:24px;font-size:12px;color:var(--muted);line-height:2;background:#e9e3d7;border-left:2px solid var(--gold)}.source-note a{color:#6e714e;text-decoration:underline;text-underline-offset:4px}.biography-split.light{padding-block:0;grid-template-columns:.8fr 1.2fr;gap:70px}.biography-split.light .bio-portrait{justify-self:start}.album-links{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:32px}.album-link{font-size:12px;line-height:1.8;border:1px solid var(--line);padding:11px 17px;background:#fbf7ef}.album-link>span{margin-left:16px;color:var(--gold)}.album-link:hover{background:#e9e2d4}.gallery-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:35px 30px}.photo{margin:0;min-width:0}.photo>button{display:block;width:100%;padding:20px;border:1px solid var(--line);background:#e9e3d7;cursor:zoom-in;aspect-ratio:4/3;overflow:hidden}.photo>button>img{width:100%;height:100%;object-fit:contain}.photo>figcaption{font-size:12px;line-height:1.9;color:var(--muted);margin-top:12px}.archive-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:26px}.archive-grid .photo>button{aspect-ratio:4/3}.illustration-archive{margin-top:55px;border-top:1px solid var(--line);padding-top:25px}.illustration-archive>summary{font:22px/1.8 var(--serif);cursor:pointer;margin-bottom:25px}.illustration-archive>p{font-size:13px;color:var(--muted);line-height:2}.archive-intro{display:flex;align-items:center;justify-content:space-between;gap:40px;padding:15px 0 35px;margin-bottom:8px}.archive-intro>p{font-size:14px;color:var(--muted);line-height:2.2;max-width:760px;margin:0}.archive-intro>div{display:flex;align-items:center;gap:15px;flex-shrink:0}.archive-intro b{font:50px Georgia,serif;color:var(--gold);font-weight:400}.archive-intro span{font-size:11px;color:var(--muted);max-width:70px;line-height:1.9}.record-panel{padding:35px;background:#e6e4d7;margin-block:45px 30px;border-top:2px solid var(--gold)}.record-panel h2{font:29px/1.6 var(--serif);margin:12px 0;font-weight:500}.record-panel p{font-size:14px;color:var(--muted);line-height:2;max-width:1000px}.certificate-detail{display:grid;grid-template-columns:1.1fr 1fr;gap:50px;align-items:start}.certificate-originals{display:grid;gap:28px}.certificate-photo>button{aspect-ratio:3/2;padding:22px}.certificate-photo.rotate>button{display:flex;align-items:center;justify-content:center}.certificate-photo.rotate>button>img{width:62%;height:145%;max-width:none;transform:rotate(90deg);flex-shrink:0}.annotation{padding:30px;background:var(--card);border:1px solid var(--line)}.annotation>h2{font:27px/1.7 var(--serif);margin:10px 0 22px;font-weight:500}.annotation dl{margin:0 0 26px;padding-bottom:18px;border-bottom:1px solid var(--line)}.annotation dt{font-size:11px;color:#a08d6c;margin-bottom:6px}.annotation dd{font-size:13px;line-height:1.9;margin:0 0 15px}.annotation h3{font:20px/1.6 var(--serif);font-weight:500;margin:22px 0 10px}.annotation p{font-size:13px;line-height:2.1;color:var(--muted);margin:0}.annotation>small{display:block;font-size:10px;color:#9c9485;line-height:1.9;margin:25px 0 12px}.article-copy{max-width:830px;margin-inline:auto}.article-meta{font-size:11px;color:var(--gold);letter-spacing:1px;margin-bottom:25px}.article-cover{margin:0 0 36px;background:#e9e3d7}.article-cover>img{width:100%;max-height:470px;object-fit:contain}.article-copy .reading{margin-bottom:34px}.article-copy .reading h2{font-size:25px}footer{background:#22362f;color:#e4dfcd;padding:50px 0 24px}.footer-grid{display:grid;grid-template-columns:1fr 1fr;gap:32px}.footer-grid>div:first-child>p{font:33px/1.5 var(--serif);letter-spacing:5px;margin:13px 0 10px}.footer-grid>div:first-child>span:last-child{font-size:12px;color:#9daea0}.footer-grid>div:nth-child(2){display:flex;justify-content:flex-end;align-items:center;gap:35px}.footer-grid .text-link{color:#b3b89d;border-color:#6a705c;font-size:12px}.footer-bottom{grid-column:1/-1;border-top:1px solid #ffffff12;padding-top:22px;display:flex;justify-content:space-between;color:#7e9384;font-size:10px}.footer-bottom small{font-size:10px}.profile-lightbox{border:0;padding:50px 24px 18px;max-width:min(1228.8px,1400px);max-height:94vh;background:var(--paper);color:var(--ink)}.profile-lightbox::backdrop{background:#14241de8}.profile-lightbox>img{display:block;max-width:100%;max-height:76vh;width:auto;height:auto;margin:auto;object-fit:contain}.profile-lightbox>button{position:absolute;right:14px;top:6px;border:0;background:transparent;font-size:36px;cursor:pointer}.profile-lightbox>p{font-size:13px;line-height:1.7;text-align:center;margin:15px 0 0}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important}}

.article-thumb{background:#e8e2d6}.article-thumb>img{object-fit:contain}.article-card{display:flex;flex-direction:column}.article-card>div{display:flex;flex-direction:column;flex:1}.article-card .text-link{align-self:flex-start;margin-top:auto}.certificate-frame{border-bottom:1px solid var(--line)}
/*人物介绍与传承子页*/
.bio-tags{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0}.bio-tags>span{display:inline-block;border:1px solid #b9aa883d;background:#a8894c0a;padding:6px 10px;font-size:13px;color:#8c7853;line-height:1.6;letter-spacing:1px}.biography-band .bio-tags>span{color:#d5c69e;border-color:#a893635c;background:#ffffff04}.biography-band .bio-copy h2 a:hover,.section-head h2 a:hover{color:#c6aa6d}.biography-jumps{display:flex;flex-wrap:wrap;gap:13px 26px;margin:0 0 38px;padding:0 0 20px;border-bottom:1px solid var(--line)}.biography-jumps>a{font-size:12px;line-height:1.9;color:#7d7055;letter-spacing:1px}.biography-chapter{padding-block:46px;border-top:1px solid var(--line);margin-top:42px;scroll-margin-top:25px}.bio-section-head{margin-bottom:27px}.bio-section-head h2{font:30px/1.7 var(--serif);font-weight:500;letter-spacing:2px;margin:10px 0}.bio-section-head>p{font-size:13px;color:var(--muted);line-height:2;margin:0}.bio-topic-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.bio-topic{border:1px solid var(--line);padding:27px;background:var(--card);min-width:0}.bio-topic h3{font:22px/1.75 var(--serif);margin:0 0 14px;font-weight:500}.bio-topic p{font-size:13px;line-height:2.15;color:var(--muted);margin:0}.biography-split.light .bio-portrait>figcaption{color:var(--muted);font-size:11px}.historical-intro{align-items:start}.landscape-portrait>img{aspect-ratio:4/4.3;object-fit:contain}.lineage-preview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;padding:28px;background:#ece7db;border:1px solid var(--line)}.lineage-preview>div{position:relative;padding-right:18px}.lineage-preview>div:not(:last-child):after{content:"···";position:absolute;right:-14px;top:42px;color:var(--gold);letter-spacing:4px;font-size:22px}.lineage-preview span{font-size:10px;color:var(--gold);line-height:1.9;letter-spacing:1px}.lineage-preview h3,.lineage-preview h2{font:25px/1.7 var(--serif);font-weight:500;margin:10px 0 12px}.lineage-preview p{font-size:12px;line-height:2.1;color:var(--muted);margin:0}.lineage-preview small{display:block;font-size:10px;line-height:1.9;color:#988d76;margin-top:20px}.lineage-source{font-size:11px;line-height:2;color:var(--muted);margin-top:18px}.lineage-opening{max-width:1000px;margin-bottom:30px}.lineage-opening>h2{font:31px/1.8 var(--serif);font-weight:500;margin:10px 0 20px}.lineage-opening>p{font-size:14px;line-height:2.3;color:var(--muted);margin:0}.full-lineage{padding:34px;gap:35px}.full-lineage>div{padding:0}.full-lineage>div:not(:last-child):after{right:-28px}.biography-timeline{list-style:none;margin:15px 0 0;padding:0}.biography-timeline>li{display:grid;grid-template-columns:165px 1fr;gap:30px;padding:0 0 34px;position:relative}.biography-timeline>li:before{content:"";position:absolute;left:164px;top:0;bottom:0;border-left:1px solid #c9b994}.biography-timeline>li:after{content:"";position:absolute;left:160px;top:9px;width:9px;height:9px;border-radius:50%;border:1px solid var(--gold);background:var(--paper)}.biography-timeline>li:last-child:before{bottom:35px}.biography-timeline time{font:19px/1.9 var(--serif);color:#9b7e42}.biography-timeline>li>div{padding-left:12px;max-width:850px}.biography-timeline h3{font:23px/1.7 var(--serif);font-weight:500;margin:0 0 11px}.biography-timeline p{font-size:13px;line-height:2.1;color:var(--muted);margin:0 0 12px}.timeline-source{font-size:10px;color:#a58c56;line-height:1.9;display:inline-block}.timeline-source>span{margin-left:8px}.biography-sources{background:#eae5d8;border-left:2px solid var(--gold);padding:28px 32px;margin-top:35px;margin-bottom:35px}.biography-sources h2{font:24px/1.7 var(--serif);margin:0 0 15px;font-weight:500}.biography-sources ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:20px 30px}.biography-sources a{font-size:12px;color:#6d765c;line-height:1.9}.biography-sources li>span{display:block;font-size:10px;line-height:1.9;color:#8c897c;margin-top:5px}
/*整张卡片作为入口；悬停和键盘聚焦时图片轻微放大*/
.article-card{display:block;overflow:hidden}.article-card-link{display:flex;flex-direction:column;height:100%;color:inherit;cursor:pointer}.article-card-link>.article-thumb{display:block;overflow:hidden;flex-shrink:0}.article-card-link>.article-body{padding:24px;display:flex;flex-direction:column;flex:1}.article-card-link .article-thumb>img{width:100%;height:auto;aspect-ratio:16/10;object-fit:contain;transition:transform .3s ease}.article-card:hover .article-thumb>img,.article-card:focus-within .article-thumb>img{transform:none}.article-card-link h3{margin:10px 0 14px}.article-card-link p{margin-bottom:0;min-height:0}.article-card-link:hover h3,.article-card-link:focus-visible h3{color:#8f7747}.honor-card{display:block;overflow:hidden}.honor-card-link{height:100%;display:flex;flex-direction:column;cursor:pointer}.honor-card-link .certificate-frame>img{transition:transform .3s ease}.honor-card:hover .certificate-frame>img,.honor-card:focus-within .certificate-frame>img{transform:none}.honor-card:hover .certificate-frame.rotate>img,.honor-card:focus-within .certificate-frame.rotate>img{transform:rotate(90deg) scale(1.035)}.photo-strip>a.photo-link{display:block;overflow:hidden;cursor:pointer;aspect-ratio:4/3;background:#e8e2d6}.photo-link>img{display:block;width:100%;height:100%;object-fit:contain;transition:transform .3s ease}.photo-link:hover>img,.photo-link:focus-visible>img{transform:none}.article-cover>figcaption{font-size:11px;color:var(--muted);line-height:1.9;padding:15px 20px}.forum-speech{margin-top:36px}@media(prefers-reduced-motion:reduce){.article-card-link .article-thumb>img,.honor-card-link .certificate-frame>img,.photo-link>img{transition:none}}

/* 2026-11-01：保留现有风格，按客户栏目图扩展。 */
.institute-logo{display:block;width:88px;height:64px;object-fit:contain;flex-shrink:0}
.brand strong{letter-spacing:2px}.brand>span{min-width:0}.brand-motto{letter-spacing:1px}
.hero>img{height:auto;max-height:none;aspect-ratio:auto;object-fit:contain;object-position:center}
.column-links{display:flex;flex-wrap:wrap;gap:12px 28px;padding:18px 0 24px;border-bottom:1px solid var(--line);margin-bottom:28px;font-family:var(--serif)}
.column-links a{padding:8px 0;color:var(--green)}.column-links a:hover{text-decoration:underline;color:var(--gold)}
.record-section{padding:20px 0 40px;scroll-margin-top:30px}.record-section+.record-section{border-top:1px solid var(--line)}
.record-section h2{font:32px/1.6 var(--serif);font-weight:500}.record-section h3{font:23px/1.7 var(--serif);font-weight:500}.record-section p{line-height:2;color:var(--muted)}
.record-empty{padding:28px 0;border-block:1px solid var(--line);color:var(--muted)}.record-empty p{margin:0 0 8px}.record-empty span,.record-note{font-size:13px;line-height:2}
.record-photo{margin:0 0 25px}.record-photo button{display:block;width:100%;border:0;padding:0;background:transparent;cursor:zoom-in}.record-photo img{width:100%;height:auto;max-height:none;aspect-ratio:auto;object-fit:contain}.record-photo figcaption{padding:12px 0;font-size:13px;line-height:1.8;color:var(--muted)}
.record-gallery{display:grid;grid-template-columns:1fr 1fr;gap:28px;align-items:start}
.column-directory{display:grid;grid-template-columns:repeat(3,1fr);gap:36px;margin:15px 0 50px}.column-directory>a{padding:28px 0;border-top:2px solid var(--gold)}.column-directory>a>span{font:25px/1.7 var(--serif)}.column-directory p{font-size:14px;line-height:2;color:var(--muted)}.column-directory small{color:var(--gold)}
.team-record{display:grid;grid-template-columns:260px 1fr;gap:40px;align-items:center}



/* 依图片原始比例定位题字，电脑和手机均完整显示原图。 */
.hero-art{position:relative;width:100%;line-height:0}
.hero-art>img{display:block;width:100%;height:auto;max-height:none;aspect-ratio:auto;object-fit:contain}
.ancestor-title{position:absolute;left:78.4%;top:22%;writing-mode:vertical-rl;text-orientation:upright;font-family:var(--serif);font-size:clamp(4px,15.36px,26px);line-height:1.2;letter-spacing:.12em;font-weight:600;color:#fff1d0;text-shadow:0 1px 4px #263e35,0 0 12px #263e35;pointer-events:none}

/* 仅显示原品牌文件的图形部分，保留完整原始文件。 */
.institute-logo{position:relative;display:block;overflow:hidden;width:60px;height:58px;flex-shrink:0}
.institute-logo>img{position:absolute;width:165px;max-width:none;height:auto;left:-52px;top:-18px}


/* 传承记录按客户参考图改为左图右文的紧凑目录。 */
.activity-library-head{display:flex;justify-content:space-between;align-items:center;gap:25px;margin:12px 0 30px}.activity-library-head h2{font:32px/1.5 var(--serif);color:var(--green);margin:0}.activity-library-head p{font-size:13px;color:var(--muted);margin:5px 0 0}
.activity-filters{display:flex;flex-wrap:wrap;gap:24px}.activity-filters button{border:0;border-bottom:2px solid transparent;background:none;color:var(--ink);padding:10px 0;cursor:pointer}.activity-filters button[aria-pressed=true]{color:var(--gold);border-bottom-color:var(--gold)}
.activity-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:30px 24px;align-items:start}.activity-item[hidden]{display:none}.activity-open{display:grid;grid-template-columns:44% 1fr;gap:14px;text-align:left;width:100%;border:0;padding:0;background:none;color:inherit;cursor:zoom-in;align-items:start}.activity-thumb{display:flex;align-items:center;aspect-ratio:1.15;overflow:hidden;background:#eae5d9;border-radius:6px}.activity-thumb img{width:100%;height:auto;object-fit:contain}.activity-copy strong{display:block;font:18px/1.6 var(--serif);font-weight:600;margin:0 0 9px}.activity-copy>span{display:block;font-size:12px;line-height:1.9;color:var(--muted)}.activity-open:hover strong{color:var(--gold)}.activity-tip{font-size:12px;color:var(--muted);margin:30px 0}.activity-library>.text-link{margin-top:10px}



/* 用户2026-11-01提供的统一展示图片；只缩放，不裁切。 */
.honor-card .certificate-frame{aspect-ratio:1;width:100%;height:auto;display:flex;align-items:center;justify-content:center;padding:0;background:#fff;overflow:hidden}
.honor-card .certificate-frame>img{width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;aspect-ratio:auto;transform:none}
.honor-card:hover .certificate-frame>img,.honor-card:focus-within .certificate-frame>img{transform:none}
.supplied-certificate-set{margin:0 0 28px}.supplied-certificate-set h2{font:25px/1.7 var(--serif)}
.supplied-certificate-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:start}
.supplied-photo{margin:0}.supplied-photo button{display:flex;align-items:center;justify-content:center;width:100%;padding:0;border:0;background:#fff;cursor:zoom-in;aspect-ratio:1}
.supplied-photo button img{display:block;width:100%;height:100%;max-width:100%;max-height:100%;aspect-ratio:auto;object-fit:contain;transform:none}
.supplied-photo figcaption{font-size:13px;line-height:1.8;padding:12px 0;color:var(--muted)}
.preserved-originals{margin:25px 0;border-top:1px solid var(--line);padding-top:18px}.preserved-originals summary{cursor:pointer;font-size:14px;color:var(--green);margin-bottom:18px}
.activity-thumb{aspect-ratio:3/2;background:#fff}.activity-thumb img{height:100%;width:100%;object-fit:contain}
.updated-class-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}.updated-class-gallery .supplied-photo button{aspect-ratio:3/2}



/* 红头文件：每份文件归成一组，续页依原文顺序展示。 */
.document-intro{color:var(--muted);font-size:14px;line-height:1.9;margin:0 0 30px}
.document-library{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;align-items:start;margin-bottom:36px}
.document-card{min-width:0;background:var(--card);border:1px solid var(--line);scroll-margin-top:24px}
.document-photo{margin:0;min-width:0}.document-photo button{display:flex;align-items:center;justify-content:center;width:100%;aspect-ratio:4/5;background:white;border:0;padding:12px;cursor:zoom-in}
.document-photo img{display:block;width:100%;height:100%;object-fit:contain;max-width:100%;max-height:100%;transform:none}
.document-photo figcaption{border-top:1px solid var(--line);padding:10px 20px;font-size:12px;line-height:1.8;color:var(--muted)}
.document-copy{padding:22px}.document-copy h2{font:600 22px/1.6 var(--serif);margin:12px 0}.document-copy p{font-size:13px;line-height:1.9;color:var(--muted);margin:0 0 16px}.document-copy small{display:block;color:var(--muted);font-size:12px;line-height:1.9}.document-copy>.text-link{display:block;margin-top:18px}
.document-continuation{border-top:1px solid var(--line);margin-top:20px;padding-top:16px}.document-continuation summary{font-size:14px;color:var(--green);cursor:pointer;line-height:1.8}.document-continuation .document-photo{margin-top:18px}



/* 学员荣誉照片：四张紧凑网格，无点击放大 */
#students .record-gallery{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px 18px;align-items:start}
#students .record-photo{margin:0}
#students .record-photo img{width:100%;aspect-ratio:4/3;object-fit:contain}
#students .record-photo figcaption{padding:7px 0;font-size:11px;line-height:1.5}



.media-section-links{display:flex;align-items:center;gap:24px}.video-empty{margin-top:24px;padding:44px 24px;text-align:center;background:var(--card);border:1px solid var(--line);color:var(--muted)}.video-empty>span{font-size:30px;color:var(--gold)}.video-empty p{margin:12px 0 0}

.media-section-links{gap:22px}.video-gallery-cta{display:flex;align-items:center;gap:12px;min-width:220px;padding:13px 16px;background:var(--green);color:#f8f4ed;border:1px solid var(--green);box-shadow:0 5px 16px rgba(38,62,53,.16);transition:background .2s,transform .2s}.video-gallery-cta:hover{background:#345448;transform:translateY(-2px)}.video-cta-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#d4bd88;color:var(--green);font-size:13px;padding-left:2px}.video-gallery-cta strong,.video-gallery-cta small{display:block}.video-gallery-cta strong{font:17px var(--serif);letter-spacing:2px}.video-gallery-cta small{margin-top:4px;color:#d9d6c8;font-size:10px;letter-spacing:.5px}.video-cta-arrow{margin-left:auto;color:#e4d2a9;font-size:18px}

.video-entry{max-width:900px;margin:28px 0}.video-entry h3{font:24px/1.6 var(--serif);font-weight:500;margin:0 0 14px}.video-entry video{display:block;width:100%;max-height:75vh;background:#111;border:1px solid var(--line)}

.video-directory>h2{font-size:32px;margin-bottom:28px}.video-entry{max-width:1080px;margin:0}.video-entry h3{font-size:25px;margin:0 0 20px}.video-entry video{width:100%;max-height:none;aspect-ratio:16/9;object-fit:contain;background:#111;border:0}

.video-directory{padding-top:12px}.video-directory>h2{font:32px/1.5 var(--serif);letter-spacing:1px;margin:0 0 30px}.video-entry{max-width:none;width:100%;margin:0 0 42px}.video-entry h3{font:23px/1.6 var(--serif);font-weight:600;margin:0 0 20px}.video-entry video{display:block;width:100%;height:auto;max-height:none;aspect-ratio:16/9;object-fit:contain;background:#111;border:0}

.home-video-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;margin-top:30px}.home-video-card{min-width:0}.home-video-card video{display:block;width:100%;aspect-ratio:4/3;object-fit:contain;background:#111}.home-video-card h3{font:14px/1.7 var(--serif);font-weight:500;color:var(--muted);margin:10px 0 0}

/* 首页视频与影像照片保持相同的横向三列排列 */
.home-video-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px;margin-top:0;align-items:start}.home-video-card{min-width:0}.home-video-card video{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:contain;background:#111}.home-video-card h3{font:14px/1.7 var(--serif);font-weight:500;color:var(--muted);margin:10px 0 0}

.home-video-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:30px!important;margin-top:0!important;align-items:start!important}.home-video-card{min-width:0!important;width:auto!important}.home-video-card video{display:block!important;width:100%!important;height:auto!important;aspect-ratio:4/3!important;object-fit:contain!important;background:#111!important}

.media-section-links{display:flex;align-items:flex-end;gap:24px;flex-wrap:wrap}.media-directory-card{display:flex;align-items:center;gap:14px;min-width:310px;padding:16px 20px;background:var(--green);color:#f8f4ed;border:1px solid var(--green);box-shadow:0 7px 20px rgba(38,62,53,.13);transition:transform .2s,background .2s}.media-directory-card:hover{transform:translateY(-2px);background:#345448}.media-directory-icon{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border-radius:50%;background:#d8c18c;color:var(--green);font-size:14px;padding-left:2px}.media-directory-copy{display:block}.media-directory-copy strong,.media-directory-copy small{display:block}.media-directory-copy strong{font:19px/1.5 var(--serif);letter-spacing:1px}.media-directory-copy small{font-size:11px;color:#d8d7ca;margin-top:3px}.media-directory-count{margin-left:auto;white-space:nowrap;font-size:11px;color:#e4d2a9}.media-directory-count b{font-size:17px;margin-left:7px}

.media-directory-card{width:100%;min-width:0;min-height:82px;margin:0 0 28px;padding:18px 24px;justify-content:flex-start}.media-directory-copy strong{font-size:21px}.media-directory-count{font-size:13px}

.media-directory-heading{display:flex;align-items:baseline;gap:18px;width:100%;margin:2px 0 28px;padding:0;color:var(--ink);text-decoration:none}.media-directory-heading>.eyebrow{flex:0 0 auto}.media-directory-heading>strong{font:500 38px/1.5 var(--serif);letter-spacing:3px}.media-directory-heading:hover>strong{color:#8f7747}.media-directory-heading .media-directory-count{margin-left:auto;color:var(--gold);font:13px/1.8 var(--sans);white-space:nowrap}.media-directory-card{display:none!important}

.media-directory-heading{display:grid;grid-template-columns:1fr auto;grid-template-rows:auto auto;align-items:end;column-gap:20px;row-gap:4px;width:100%;margin:2px 0 28px;padding:0;color:var(--ink)}.media-directory-heading>.eyebrow{grid-column:1;grid-row:1}.media-directory-heading>strong{grid-column:1;grid-row:2;font:500 38px/1.5 var(--serif);letter-spacing:3px}.media-directory-heading .media-directory-count{grid-column:2;grid-row:2;align-self:center;margin-left:0;color:var(--gold);font:13px/1.8 var(--sans);white-space:nowrap}.media-directory-heading:hover>strong{color:#8f7747}

.featured-video-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;margin:0;align-items:start}.featured-video-card{min-width:0}.featured-video-card video{display:block;width:100%;aspect-ratio:4/3;object-fit:contain;background:#111}.featured-video-card h3{font:14px/1.7 var(--serif);font-weight:500;color:var(--muted);margin:10px 0 0}

.full-video-link{text-align:right;margin-top:12px}.full-video-link .text-link{display:inline-flex;padding-block:8px}
/* 主导航悬停下拉目录 */
.profile-nav>.nav-item{position:relative;display:flex;align-items:center;min-height:24px;z-index:20}
.profile-nav>.nav-item>a{display:block;padding-block:2px;white-space:nowrap}
.profile-nav>.nav-item>.nav-submenu{display:none;position:absolute;z-index:50;top:100%;left:-14px;min-width:190px;flex-direction:column;padding:9px 0;background:var(--card);border:1px solid var(--line);box-shadow:0 12px 28px rgba(35,45,39,.16);letter-spacing:0}
.profile-nav>.nav-item:hover>.nav-submenu,.profile-nav>.nav-item:focus-within>.nav-submenu{display:flex}
.profile-nav>.nav-item>.nav-submenu>a{display:block;padding:11px 16px;font:14px/1.5 var(--sans);color:var(--ink);white-space:nowrap}
.profile-nav>.nav-item>.nav-submenu>a:hover,.profile-nav>.nav-item>.nav-submenu>a:focus-visible{background:#eee8da;color:#8f7747;outline-offset:-3px}
.profile-nav>.nav-item:has(>a[aria-current=page])>a:after{bottom:-8px}


.media-feature-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin:2px 0 28px}.media-feature-head .media-directory-heading{width:auto;flex:1;margin:0}.media-feature-head>.text-link{margin-bottom:4px}

.student-highlights-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;margin-top:30px}.student-highlight-photo{margin:0;min-width:0;background:var(--card);padding:10px;border:1px solid var(--line)}.student-highlight-photo img{display:block;width:100%;aspect-ratio:4/3;object-fit:contain;background:#e9e3d6}.student-highlight-photo figcaption{padding:12px 5px 4px;color:var(--muted);font:13px/1.8 var(--serif);letter-spacing:.5px}

.article-thumb-certificate{aspect-ratio:1/1;background:#e9e3d6;display:grid;place-items:center;padding:14px}.article-thumb-certificate>img{width:100%;height:100%;aspect-ratio:1/1;object-fit:contain;transition:none!important}.article-thumb-certificate:hover>img{transform:none!important}

.article-thumb-certificate{aspect-ratio:16/10;padding:10px}.article-thumb-certificate>img{aspect-ratio:auto;width:100%;height:100%;object-fit:contain}

.article-grid{align-items:stretch}.article-grid>.article-card{height:100%}.article-thumb-certificate{display:block;position:relative;width:100%;aspect-ratio:16/10;padding:0;overflow:hidden;background:#e8e2d6}.article-thumb-certificate>img{position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto;object-fit:contain;padding:14px;transition:none!important}.article-thumb-certificate:hover>img{transform:none!important}

.president-event-gallery{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.president-event-gallery .record-photo{margin:0;min-width:0}.president-event-gallery .record-photo button{aspect-ratio:4/3;overflow:hidden;background:#e9e3d6}.president-event-gallery .record-photo img{width:100%;height:100%;aspect-ratio:4/3;object-fit:contain}.president-event-gallery .record-photo figcaption{font-size:12px;padding:9px 0}
.articles-band .article-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.biography-chapter .bio-topic{display:flex;flex-direction:column}.biography-chapter .bio-topic>.album-link{align-self:flex-start;margin-top:22px}
/* Contact directory */
.footer-grid>div:nth-child(2){flex-wrap:wrap;gap:24px}
.contact-methods{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;margin-bottom:42px}
.contact-method{padding:32px;background:#faf7ef;border:1px solid #ded6c5;min-width:0}
.contact-method h2{font:700 28px/1.4 var(--serif);margin:14px 0 20px}
.contact-method .contact-number{display:block;font:500 clamp(24px,38.4px,36px)/1.4 var(--sans,sans-serif);letter-spacing:1px;color:#22362f;margin:0 0 16px;overflow-wrap:anywhere}
.contact-method a.contact-number{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:7px}
.contact-method p:not(.contact-number){font-size:15px;line-height:1.8}


/* Xincheng biography: keep source photographs and documents in full proportion. */
.xincheng-profile{margin:28px 0 56px}
.xincheng-intro{grid-template-columns:300px minmax(0,1fr);gap:48px;align-items:center}
.xincheng-profile h3{font:700 28px/1.5 var(--serif);margin:12px 0 20px}
.xincheng-profile p{line-height:1.95}
.xincheng-portrait{margin:0;max-width:300px}
.xincheng-portrait button{display:block;width:100%;padding:0;border:0;background:transparent;cursor:zoom-in}
.xincheng-portrait img{display:block;width:100%;height:auto;aspect-ratio:auto;object-fit:contain}
.xincheng-profile figcaption{font-size:13px;line-height:1.7;padding:12px 0;color:var(--muted)}
.xincheng-story{margin:40px 0;padding:32px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);max-width:none}
.xincheng-story h4{font:700 21px/1.5 var(--serif);margin:28px 0 12px}
.xincheng-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 28px;margin-top:24px}
.xincheng-photo{margin:0;min-width:0}
.xincheng-photo button{display:block;width:100%;aspect-ratio:3/2;border:1px solid var(--line);padding:12px;background:#ebe5d9;cursor:zoom-in}
.xincheng-photo img{display:block;width:100%;height:100%;aspect-ratio:auto;object-fit:contain}



/* Home article cards: larger photographs on phones. */


/* Home media: four equally sized items per row on desktop. */
#media .photo-strip,#media .featured-video-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}

/* Certificate queries: paired certificates, with original image proportions. */
.certificate-query-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;margin-top:28px}.certificate-query-card{min-width:0}.certificate-query-card figure{margin:0 0 24px;aspect-ratio:3/2;display:flex;align-items:center;justify-content:center}.certificate-query-card figure img{display:block;width:100%;height:100%;object-fit:contain}.certificate-query-card h2{margin:0;overflow-wrap:anywhere}.certificate-query-card .text-link{font:inherit;letter-spacing:inherit}.certificate-query-pending{color:var(--gold,#ad884a)}

/* Homepage requested visual changes */
.values-banner{width:100%;background:#b90020;line-height:0;overflow:hidden}.values-banner>img{display:block;width:100%;height:auto;max-height:260px;object-fit:contain;object-position:center}.site-header .brand strong{color:#b40018}.site-header .brand-motto{color:#b40018}.health-platform-banner{width:100%;overflow:hidden;line-height:0;background:#b40020}.health-platform-banner>img{display:block;width:100%;height:auto;object-fit:contain}

/* Keep supplied core-values image at full aspect ratio */
.values-banner>img{max-height:none;object-fit:contain}

/* Supplied layout with original site navigation */
.platform-layout{width:100%;background:#f5f0e6;overflow:hidden}.platform-hero-frame{width:100%;height:clamp(190px,230.4px,330px);overflow:hidden;background:#df160d}.platform-hero-frame>img{display:block;width:100%;height:auto;min-height:100%;object-fit:contain;object-position:center top}.platform-nav{width:100%;display:grid;grid-template-columns:repeat(7,minmax(0,1fr));background:#f7f7f7;border:1px solid #d8d8d8;box-shadow:0 2px 5px rgba(0,0,0,.12);font:600 16px/1.3 var(--sans);color:#d10b11}.platform-nav>a{display:grid;place-items:center;min-height:54px;padding:12px 10px;border-right:1px solid #e1e1e1;white-space:nowrap}.platform-nav>a:last-child{border-right:0}.platform-nav>a:hover,.platform-nav>a:focus-visible{background:#f15a24;color:#fff;outline-offset:-3px}.platform-nav>a[aria-current=page]{background:#f15a24;color:#fff}.platform-hot{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:10px 18px;background:#fff;border-bottom:1px solid #d7d7d7;color:#c31010;font-size:14px}.platform-hot strong{font-weight:700}.platform-slogan{padding:24px 18px;background:#f6f6f6;border:1px solid #ddd;color:#c30b0b;font:700 clamp(24px,42.24px,48px)/1.25 var(--sans);text-align:left;letter-spacing:1px}

/* Crop supplied reference below its embedded navigation; use the original nav below it */
.platform-hero-frame{height:clamp(180px,204.8px,300px)}

/* Keep the institute identity row on a white background */
.site-header,.brand-row{background:#fff}.site-header .brand-row{background:#fff}

/* Platform navigation submenus restored from existing site pages */
.platform-nav{overflow:visible}.platform-nav-item{position:relative;min-width:0;border-right:1px solid #e1e1e1}.platform-nav-item:last-child{border-right:0}.platform-nav-item>a{display:grid;place-items:center;min-height:54px;padding:12px 10px;color:#d10b11;font:600 16px/1.3 var(--sans);white-space:nowrap}.platform-nav-item>a:hover,.platform-nav-item>a:focus-visible,.platform-nav-item>a[aria-current=page]{background:#f15a24;color:#fff;outline-offset:-3px}.platform-submenu{display:none;position:absolute;z-index:30;left:0;right:0;top:100%;min-width:170px;padding:6px 0;background:#fff;border:1px solid #d5d5d5;box-shadow:0 8px 18px rgba(0,0,0,.15)}.platform-nav-item:hover>.platform-submenu,.platform-nav-item:focus-within>.platform-submenu{display:block}.platform-submenu>a{display:block;padding:10px 14px;color:#b70e13;font:14px/1.4 var(--sans);white-space:nowrap}.platform-submenu>a:hover,.platform-submenu>a:focus-visible{background:#f15a24;color:#fff;outline-offset:-3px}

/* Requested scrolling captions for the two notice areas */
.platform-hot{overflow:hidden}.platform-hot>span{display:block;flex:1;min-width:0;overflow:hidden;white-space:nowrap}.platform-hot>span{animation:platform-marquee 16s linear infinite}.platform-slogan{overflow:hidden;white-space:nowrap}.platform-slogan{display:block;animation:platform-marquee 20s linear infinite}@keyframes platform-marquee{0%{transform:translateX(100%)}100%{transform:translateX(-110%)}}@media(prefers-reduced-motion:reduce){.platform-hot>span,.platform-slogan{animation:none;transform:none}}

/* Keep slogan panel fixed while its text scrolls */
.platform-slogan{animation:none;overflow:hidden;white-space:nowrap}.platform-slogan-track{display:inline-block;min-width:max-content;animation:platform-marquee 20s linear infinite}@media(prefers-reduced-motion:reduce){.platform-slogan-track{animation:none}}

/* Fixed two-slide carousel for the notice panel */
.platform-slogan-carousel{position:relative;min-height:150px;padding:0;overflow:hidden;animation:none;white-space:normal}.platform-slogan-slide{display:none;align-items:center;justify-content:center;width:100%;height:150px;padding:18px 28px;background:#f6f6f6;color:#c30b0b;font:700 clamp(24px,42.24px,48px)/1.25 var(--sans);text-align:left}.platform-slogan-slide.is-active{display:flex}.platform-slogan-slide>span{display:block;width:100%}.platform-slogan-slide>img{display:block;width:100%;height:100%;object-fit:contain}.platform-slogan-dots{position:absolute;right:16px;bottom:10px;display:flex;gap:7px;z-index:2}.platform-slogan-dots button{width:9px;height:9px;padding:0;border:1px solid #b20b0b;border-radius:50%;background:#fff;cursor:pointer}.platform-slogan-dots button[aria-pressed=true]{background:#c30b0b}@media(prefers-reduced-motion:reduce){.platform-slogan-slide{transition:none}}

/* Carousel slides use white backgrounds with red text */
.platform-slogan-carousel,.platform-slogan-slide{background:#fff}.platform-slogan-slide>span{color:#c30b0b}

/* Crop the supplied banner whitespace and keep a single divider line */
.values-banner{height:clamp(220px,256px,390px);border-bottom:1px solid #d7d7d7;overflow:hidden}.values-banner>img{width:100%;height:100%;max-height:none;object-fit:contain;object-position:center 57%}

/* Slow the hot-news ticker */
.platform-hot>span{animation-duration:32s}

/* Enlarged institute identity and removed right-side motto */
.brand{gap:25px}.brand strong{font-size:38px;letter-spacing:8px}.institute-logo{width:76px;height:72px}.brand-motto{display:none}

/* Use supplied Zhang Sanfeng Four Methods mark on the homepage */
.institute-logo{overflow:hidden}.institute-logo>img{position:static;width:100%;height:100%;max-width:none;object-fit:contain}

/* Narrow and center the carousel notice panel */
.platform-slogan-carousel{width:min(1220px,calc(100% - 100px));margin-inline:auto}

/* Merge institute identity and two notices into one three-slide carousel */
.unified-brand-carousel{width:100%;min-height:150px;margin:0;background:#fff}.unified-brand-slide{background:#fff}.brand-slide-content{height:150px;padding-block:23px;display:flex;align-items:center;background:#fff}.brand-slide-content .brand{gap:25px}.brand-slide-content .brand strong{font-size:38px;letter-spacing:8px;color:#b40018}.brand-slide-content .institute-logo{width:76px;height:72px}

/* Supplied class group photo in the framed homepage area */
.class-photo-feature{background:var(--paper);padding:42px 0 70px}.class-photo-wrap{width:min(1220px,calc(100% - 100px));margin:0 auto}.class-photo-wrap>img{display:block;width:100%;height:auto;object-fit:contain}

/* Make the supplied group photo fill the feature area */
.class-photo-feature{padding:0}.class-photo-wrap{width:100%;margin:0}.class-photo-wrap>img{width:100%;height:auto;display:block;object-fit:contain}

/* Keep navigation submenus above the full-width feature photo */
.platform-layout{position:relative;z-index:100}.platform-nav{position:relative;z-index:110;overflow:visible}.platform-nav-item{z-index:120}.platform-nav-item:hover,.platform-nav-item:focus-within{z-index:200}.platform-submenu{z-index:300}main{position:relative;z-index:1}

/* Allow the full submenu to extend beyond the layout container */
.platform-layout{overflow:visible}

/* Constrain the class photo like the referenced centered photo layout */
.class-photo-feature{padding:28px 0 48px;background:var(--paper)}.class-photo-wrap{width:min(1220px,calc(100% - 100px));margin:0 auto}.class-photo-wrap>img{width:100%;height:auto;object-fit:contain}

/* Mobile-primary presentation: desktop previews use a phone-width canvas */
html{background:#dfe4e8}body{width:430px;max-width:100%;margin-inline:auto;box-shadow:0 0 24px rgba(0,0,0,.12);overflow-x:hidden}.wrap{width:calc(100% - 36px)}.values-banner{height:190px}.unified-brand-carousel,.unified-brand-slide{min-height:120px;height:120px}.brand-slide-content{height:120px;padding-block:15px}.brand-slide-content .brand{gap:12px}.brand-slide-content .brand strong{font-size:22px;letter-spacing:1px}.brand-slide-content .institute-logo{width:48px;height:45px}.platform-nav{grid-template-columns:repeat(2,minmax(0,1fr));font-size:12px}.platform-nav-item>a{min-height:44px;padding:9px 4px;font-size:12px}.platform-submenu{position:static;min-width:0;box-shadow:none}.platform-submenu>a{padding:8px 7px;font-size:11px;white-space:normal}.platform-hot{font-size:11px;padding:8px 10px}.class-photo-feature{padding:18px 0 32px}.class-photo-wrap{width:100%}.culture-split,.biography-split{grid-template-columns:1fr}.honor-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.article-grid{grid-template-columns:1fr}.photo-strip{grid-template-columns:1fr}.footer-grid{grid-template-columns:1fr}

/* Responsive canvas follows the reference: centered desktop page, full-width phone page */
html{background:#0d8fd4}body{width:min(1000px,calc(100% - 100px));max-width:100%;margin-inline:auto;box-shadow:0 0 24px rgba(0,0,0,.15)}.platform-nav{grid-template-columns:repeat(7,minmax(0,1fr));font-size:14px}.platform-nav-item>a{min-height:48px;padding:10px 6px;font-size:14px}.platform-submenu{position:absolute;min-width:170px;box-shadow:0 8px 18px rgba(0,0,0,.15)}.platform-submenu>a{padding:10px 14px;font-size:14px;white-space:nowrap}.class-photo-wrap{width:100%}.class-photo-feature{padding:18px 0 32px}.wrap{width:calc(100% - 60px)}

/* Fit all three carousel slides to the actual carousel width */
.unified-brand-carousel{container-type:inline-size}
.unified-brand-slide:not(:first-child)>span{font-size:clamp(12px,3.2cqw,30px);line-height:1.2;white-space:nowrap;letter-spacing:0}
.unified-brand-slide:first-child .brand strong{font-size:clamp(17px,2.7cqw,30px);line-height:1.1;white-space:nowrap;letter-spacing:2px}



/* Final single-line sizing for the three carousel slides */
.unified-brand-slide:not(:first-child)>span{font:700 clamp(12px,25.6px,26px)/1.2 var(--sans);white-space:nowrap;letter-spacing:0}
.unified-brand-slide:first-child .brand strong{font-size:clamp(17px,30.72px,30px);line-height:1.1;white-space:nowrap}



/* Apply single-line sizing to the second and third carousel slides */
.unified-brand-carousel .platform-slogan-slide:not(:first-child)>span{font:700 clamp(12px,25.6px,26px)/1.2 var(--sans);white-space:nowrap;letter-spacing:0}


/* Final carousel typography: no logo, larger single-line centered text */
.unified-brand-carousel{display:block}
.unified-brand-slide{align-items:center;justify-content:center}
.unified-brand-slide:first-child .brand-slide-content{justify-content:flex-start}
.unified-brand-slide:first-child .brand{gap:0}
.unified-brand-slide:first-child .brand strong{font:600 clamp(24px,37.12px,38px)/1.1 var(--serif);letter-spacing:4px;white-space:nowrap}
.unified-brand-carousel .platform-slogan-slide:not(:first-child)>span{font:700 clamp(16px,31.36px,32px)/1.2 var(--sans);letter-spacing:0;text-align:center;white-space:nowrap;max-width:calc(100% - 24px)}

/* Center all carousel text within the shared white panel */
.unified-brand-slide:first-child .brand-slide-content{justify-content:center}
.unified-brand-slide:first-child .brand{justify-content:center}
.unified-brand-carousel .platform-slogan-slide:not(:first-child){align-items:center;justify-content:center}
.unified-brand-carousel .platform-slogan-slide:not(:first-child)>span{display:block;text-align:center;white-space:nowrap}
/* Full-bleed class photo on a white background */
.class-photo-feature{padding:0;background:#fff}
.class-photo-wrap{width:100%;margin:0}
.class-photo-wrap>img{display:block;width:100%;height:auto;object-fit:contain}
/* Match all three carousel slide heights for true vertical centering */
.unified-brand-carousel,
.unified-brand-carousel .platform-slogan-slide{height:120px;min-height:120px}
.unified-brand-carousel .platform-slogan-slide.is-active:not(:first-child){display:flex;align-items:center;justify-content:center}
/* Template-inspired two-column biography module */
.biography-band{background:var(--green)}
.biography-band .biography-split{grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);gap:48px;align-items:stretch;padding-block:48px 60px}
.biography-band .bio-portrait{grid-column:1;grid-row:1;justify-self:stretch;max-width:none;width:100%;padding:14px;border:1px solid #b9a77c66;background:#1e332b;align-self:start}
.biography-band .bio-portrait>img{width:100%;aspect-ratio:16/10;object-fit:contain;object-position:50% 18%;border:0;box-shadow:none}
.biography-band .bio-portrait>figcaption{margin-top:12px;color:#d1c39e;font-size:12px;letter-spacing:2px}
.biography-band .bio-copy{grid-column:2;grid-row:1;padding:8px 0 0}
.biography-band .bio-copy h2{font-size:48px;letter-spacing:8px;margin-top:9px}
.biography-band .bio-copy>p{max-width:none}
.biography-band .bio-copy .gold-rule{margin-block:22px}

/* White template module: visual card on the left, notice list on the right */
.template-module{background:#fff;color:#24313a;border-top:1px solid #e7e7e7;border-bottom:1px solid #e7e7e7}
.template-module-inner{width:min(1220px,calc(100% - 60px));margin:0 auto;padding:38px 0 48px;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:30px;align-items:start}
.template-poster{margin:0;border:1px solid #e2e6ea;background:#fff;overflow:hidden}
.template-poster>img{display:block;width:100%;aspect-ratio:1.86;object-fit:contain;object-position:center}
.template-poster>figcaption{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:9px 12px;background:#f7f7f7;border-top:1px solid #e2e6ea;color:#24313a;font-size:13px}
.template-poster-dots{color:#9aa4ad;letter-spacing:3px;font-size:10px;white-space:nowrap}
.template-notices{min-width:0;padding:0 4px}
.template-notices-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;border-bottom:1px solid #d9dfe4}
.template-notices-head h2{font:600 24px/1.4 var(--serif);margin:0 0 5px;color:#1f2c35}
.template-notice-tabs{display:flex;align-items:center;gap:0}
.template-notice-tabs a{display:inline-block;padding:0 18px 9px 0;margin-right:17px;border-bottom:2px solid transparent;color:#6b747a;font:16px/1.4 var(--serif)}
.template-notice-tabs a.is-active{color:#24313a;border-bottom-color:#2c89c9}
.template-more{font-size:12px;color:#66747d;white-space:nowrap;padding-top:7px}
.template-notice-list{list-style:none;margin:10px 0 0;padding:0}
.template-notice-list li{border-bottom:1px solid #edf0f2}
.template-notice-list a{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:12px 0;color:#2e3940;font-size:14px;line-height:1.7}
.template-notice-list a:before{content:"";width:6px;height:6px;flex:0 0 6px;border-radius:50%;background:#78a6d5;margin-right:-8px}
.template-notice-list a span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.template-notice-list time{flex:0 0 auto;color:#89959c;font-size:12px}
.template-notice-list a:hover span{color:#1d79b9}

.template-poster>img{transform:none;transform-origin:center center;object-position:center 52%}
/* Fixed-size left carousel matching the supplied template frame */
.template-photo-carousel{height:380px;display:flex;flex-direction:column}
.template-photo-viewport{flex:1;min-height:0;overflow:hidden;background:#fff}
.template-photo-slide{display:none;width:100%;height:100%;overflow:hidden}
.template-photo-slide.is-active{display:block}
.template-photo-slide>img{display:block;width:100%;height:100%;object-fit:contain;object-position:center}
.template-photo-slide:first-child>img{transform:none;object-position:center 52%}
.template-photo-carousel>figcaption{flex:0 0 42px}
.template-photo-carousel .template-poster-dots{display:flex;align-items:center;gap:6px}
.template-photo-carousel .template-poster-dots button{width:7px;height:7px;padding:0;border:1px solid #9aa4ad;border-radius:50%;background:#fff;cursor:pointer}
.template-photo-carousel .template-poster-dots button[aria-pressed=true]{background:#7a8fa2}

.template-photo-slide:first-child>img{transform:none;object-position:center}
/* Unified white page background */
html,body{background:#fff}
/* White footer with red institute name and the existing gold accent text */
footer{background:#fff;color:var(--gold);border-top:1px solid var(--line)}
.footer-grid>div:first-child>p{color:#b40018}
.footer-grid>div:first-child>span,
.footer-grid>div:first-child>span:last-child,
.footer-grid .text-link,
.footer-bottom,
.footer-bottom small,
.footer-bottom a{color:var(--gold)}
.footer-grid .text-link{border-color:#b2a482}
.footer-bottom{border-top-color:var(--line)}
/* Inner-page header matches the homepage: no logo, title centered in the white band */
.profile-site-header{background:#fff}
.profile-site-header .brand-row{position:relative;justify-content:center;min-height:150px;padding-block:23px}
.profile-site-header .brand{gap:0;justify-content:center}
.profile-site-header .brand strong{color:#b40018;font-size:38px;letter-spacing:8px;text-align:center}
.profile-site-header .brand-motto{display:none}

/* Red footer with white text */
footer{background:#b40018;color:#fff;border-top-color:#8f0012}
.footer-grid>div:first-child>p,
.footer-grid>div:first-child>span,
.footer-grid>div:first-child>span:last-child,
.footer-grid .text-link,
.footer-bottom,
.footer-bottom small,
.footer-bottom a{color:#fff}
.footer-grid .text-link{border-color:#ffffff99}
.footer-bottom{border-top-color:#ffffff55}
/* Homepage-like red footer without a right-side landmark image */
footer{background:#d10b11;color:#fff}
.footer-bottom{background:#fff;color:#b40018;border-top:1px solid #b40018}
.footer-bottom small,
.footer-bottom a{color:#b40018}
.techniques-page .reading h2{margin-top:0}
.technique-list{list-style:none;margin:24px 0 42px;padding:0;display:grid;gap:18px}
.technique-list>li{display:grid;grid-template-columns:1fr;gap:10px;padding:22px 24px;background:#fff;border:1px solid var(--line);border-left:3px solid var(--gold)}
.technique-list h2{font:27px/1.6 var(--serif);font-weight:500;margin:4px 0 8px}
.technique-list p{font-size:14px;line-height:2.1;color:var(--muted);margin:0}

/* Use the supplied red-gold footer background; remove the bottom info strip */
footer{background-color:#d10b11;background-image:url("footer-red-gold-bg.png");background-repeat:no-repeat;background-position:center;background-size:contain;color:#fff}

.bio-nowrap{display:inline-block;white-space:nowrap}


.student-section-heading{font:40px/1.5 var(--serif)!important;letter-spacing:3px;font-weight:500;display:block}




.platform-slogan-image-slide img{display:block;width:100%;height:100%;object-fit:contain}


footer{padding:24px 0 12px;background-size:contain}
.footer-grid{gap:14px}
.footer-grid>div:first-child>p{font-size:28px;line-height:1.2;margin:8px 0}
.footer-grid>div:nth-child(2){gap:22px}



.site-directory{width:100%;background:#fff;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-top:0}.site-directory-inner{width:100%;box-sizing:border-box;padding:34px clamp(20px,51.2px,64px) 40px}.site-directory h2{font:28px/1.4 var(--serif);margin:0 0 22px;color:var(--ink)}.site-directory-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:24px}.site-directory-grid section{display:flex;flex-direction:column;gap:8px}.site-directory-grid h3{font:18px/1.4 var(--serif);margin:0 0 4px}.site-directory-grid h3 a{color:var(--ink)}.site-directory-grid a:not(h3 a){font-size:13px;line-height:1.7;color:var(--muted)}.site-directory-grid a:hover{text-decoration:underline}

.site-directory-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.site-directory-grid section{display:block;border:1px solid #e7e0d5;padding:0 16px 14px;background:#fff}.site-directory-grid h3{background:#c90b12;color:#fff;margin:0 -16px 12px;padding:9px 12px;font-size:18px;line-height:1.4}.site-directory-grid h3 a{color:#fff}.site-directory-grid a:not(h3 a){display:block;padding:4px 0;font-size:14px;line-height:1.7;color:var(--muted)}.site-directory-grid a:not(h3 a)::before{content:"▪";color:#c90b12;margin-right:7px}

.site-directory-grid{display:flex;flex-direction:column;gap:18px}.site-directory-grid section{width:100%;box-sizing:border-box;border:1px solid #e6e1dc;padding:0 22px 14px;background:#fff}.site-directory-grid h3{background:#c90b12;color:#fff;margin:0 -22px 10px;padding:8px 14px;font-size:18px;line-height:1.4}.site-directory-grid h3 a{color:#fff}.site-directory-grid a:not(h3 a){display:list-item;list-style:square;margin-left:22px;padding:3px 0;font-size:14px;line-height:1.8;color:#1f2e36}.site-directory-grid a:not(h3 a)::before{content:none}

.site-directory-inner{padding:30px 24px 34px}.site-directory-panel{border:1px solid #e5dfd7;background:#fff}.site-directory-panel h2{margin:0;padding:10px 16px;background:#c90b12;color:#fff;font:20px/1.4 var(--serif)}.site-directory-panel ul{list-style:none;margin:0;padding:12px 20px 16px}.site-directory-panel li{padding:8px 0;border-bottom:1px solid #eee;line-height:1.8}.site-directory-panel li:last-child{border-bottom:0}.site-directory-panel strong{display:inline-block;min-width:108px;color:#1f2e36;font:17px/1.6 var(--serif)}.site-directory-panel li a{display:inline-block;margin-right:20px;color:#4d5c64;font-size:14px}.site-directory-panel li a:hover{text-decoration:underline}
/* Directory layout copied from the supplied template: full-width panel with vertical columns */
.site-directory{background:#fff;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.site-directory-inner{width:100%;padding:28px 0 34px;box-sizing:border-box}
.site-directory-panel{width:100%;box-sizing:border-box;border:1px solid #e2ddd5;background:#fff}
.site-directory-title{padding:10px 18px;background:linear-gradient(90deg,#c90b12,#e11118);color:#fff;font:20px/1.4 var(--serif);font-weight:600}
.site-directory-columns{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:0;padding:22px 18px 26px}
.site-directory-column{min-width:0;padding:0 14px;border-right:1px solid #eee;display:flex;flex-direction:column;gap:7px}
.site-directory-column:first-child{padding-left:0}.site-directory-column:last-child{padding-right:0;border-right:0}
.site-directory-column h3{margin:0 0 8px;color:#1f2e36;font:18px/1.45 var(--serif);font-weight:600}
.site-directory-column a{color:#55636b;font-size:13px;line-height:1.75;white-space:normal}
.site-directory-column a:hover{text-decoration:underline}



.contact-method .wechat-qr{display:block;width:96px;height:96px;object-fit:contain;margin-top:12px;border:1px solid var(--line);background:#fff}

.contact-method .wechat-qr{width:160px;height:160px;margin-top:16px}

.contact-method:nth-child(2) .wechat-qr{margin-left:96px}

.contact-address{margin:24px 0 0;padding:18px 22px;border-top:1px solid var(--line);color:var(--ink);font-size:16px;line-height:1.8}

.contact-address{font-size:20px;line-height:1.9;font-weight:500;padding:22px 24px}

.contact-address-detail{display:inline-block;margin-top:6px}
/* Unified readable typography for all text pages */
.page-body p,.reading p,.article-body p,.content-copy p,.timeline p,.profile-copy p{font-size:18px;line-height:2.05;color:var(--muted);margin:0 0 18px}
.page-heading p{font-size:17px;line-height:1.9;color:var(--muted);max-width:900px}
.page-body .record-heading,.page-body h2,.reading h2,.article-body h2,.content-copy h2{font-size:32px;line-height:1.45;margin:30px 0 16px;color:var(--ink);letter-spacing:1px}
.page-body h3,.reading h3,.article-body h3,.content-copy h3{font-size:24px;line-height:1.5;margin:24px 0 12px;color:var(--ink)}
.page-body li,.reading li,.article-body li,.content-copy li{font-size:17px;line-height:2;margin:8px 0}
.page-body blockquote,.reading blockquote{font-size:18px;line-height:2;padding:18px 22px;margin:24px 0;border-left:3px solid var(--gold);background:#faf7f0}

/* Enlarge exchange activity thumbnails to match the photo cards */
.activity-thumb{display:block;width:150px;height:100px;flex:0 0 150px;overflow:hidden}
.activity-thumb img{display:block;width:100%;height:100%;object-fit:contain}
.activity-open{align-items:flex-start;gap:16px}

.activity-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:22px 18px}
.activity-item{border:1px solid var(--line);background:var(--card);padding:10px}
.activity-open{display:block;width:100%;text-align:left}
.activity-thumb{display:block;width:100%;height:auto;aspect-ratio:4/3;overflow:hidden;margin-bottom:8px}
.activity-thumb img{width:100%;height:100%;object-fit:contain}
.activity-copy{display:block}.activity-copy strong,.activity-copy>span{display:block}.activity-copy strong{font-size:16px;line-height:1.5;margin-bottom:4px}.activity-copy>span{font-size:13px;line-height:1.7;color:var(--muted)}

footer .footer-grid{position:relative}
footer .footer-grid>div:first-child{grid-column:1/-1;text-align:center}
footer .footer-grid>div:first-child .eyebrow{display:block;text-align:left}
footer .footer-grid>div:first-child>p{text-align:center;margin:8px 0 0}
footer .footer-grid>div:nth-child(2){grid-column:1/-1;justify-self:end}

.certificate-query-grid{display:block}
.certificate-query-card{width:100%;margin:0 0 22px;padding:0 0 18px;border-bottom:1px solid var(--line)}
.certificate-query-card:last-child{margin-bottom:0}
.certificate-query-card h2{margin:0;font-size:28px;line-height:1.6}

.xincheng-intro{grid-template-columns:360px minmax(0,1fr);gap:44px}
.xincheng-portrait{max-width:360px}

.xincheng-portrait img{width:100%;height:300px;object-fit:contain}

main .xincheng-intro .xincheng-portrait{width:360px!important;max-width:360px!important;height:300px!important;overflow:hidden}
main .xincheng-intro .xincheng-portrait button{width:100%!important;height:100%!important}
main .xincheng-intro .xincheng-portrait img{display:block!important;width:100%!important;height:100%!important;max-width:none!important;object-fit:contain!important}

main .xincheng-intro .xincheng-portrait{width:360px!important;height:260px!important;aspect-ratio:1.38!important}
main .xincheng-intro .xincheng-portrait img{width:100%!important;height:100%!important;object-fit:contain!important;object-position:center!important}

main .xincheng-intro .xincheng-portrait{width:360px!important;height:260px!important;background:#fff!important}
main .xincheng-intro .xincheng-portrait img{width:100%!important;height:100%!important;object-fit:contain!important;object-position:center!important;background:#fff!important}

/* One desktop layout, scaled as a whole to fit phones and narrow windows. */
html {
    overflow-x: hidden;
    overflow-y: scroll;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}
body {
    width: 1000px;
    max-width: none;
    margin-inline: auto;
    overflow-x: visible;
    zoom: var(--site-scale, 1);
}
img, video {
    object-fit: contain;
}
.values-banner {
    height: auto;
    overflow: visible;
}
.values-banner > img,
.health-platform-banner > img,
.class-photo-wrap > img,
.hero > img {
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: none;
    aspect-ratio: auto;
    object-fit: contain;
}
.certificate-frame.rotate,
.certificate-photo.rotate > button {
    container-type: size;
}
.certificate-frame.rotate > img,
.certificate-photo.rotate > button > img {
    width: 100cqh;
    height: 100cqw;
    max-width: none;
    max-height: none;
    flex-shrink: 0;
    transform: rotate(90deg);
    object-fit: contain;
}
/* Original-image dialogs use the available screen instead of the page scale. */
.profile-lightbox {
    zoom: var(--site-inverse-scale, 1);
    max-width: calc(var(--viewport-width, 1000px) * .96);
    max-height: calc(var(--viewport-height, 900px) * .94);
}
.profile-lightbox > img {
    max-height: calc(var(--viewport-height, 900px) * .76);
    width: auto;
    height: auto;
    object-fit: contain;
}
.platform-nav-item.is-touch-open > .platform-submenu,
.nav-item.is-touch-open > .nav-submenu {
    display: flex;
}

/* Full-frame video posters with an accessible play button. */
.video-preview {
    position: relative;
    background: #111;
}
.video-preview video {
    display: block;
    object-fit: contain;
    object-position: center;
}
.video-play-cover {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
    cursor: pointer;
}
.video-play-cover[hidden] {
    display: none;
}
.video-play-icon {
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    padding-left: 5px;
    border: 2px solid #ffffffcc;
    border-radius: 50%;
    background: #0009;
    font-size: 28px;
    line-height: 1;
}
.video-play-cover:hover .video-play-icon,
.video-play-cover:focus-visible .video-play-icon {
    background: #9d001acc;
}
.page-body .video-meta {
    margin: -8px 0 16px;
    color: var(--muted);
    font-size: 15px;
}

/* 2026-11-11: one full-width footer artwork and full-height short pages. */
body {
    display: flex;
    flex-direction: column;
    min-height: calc(var(--viewport-height, 100vh) * var(--site-inverse-scale, 1));
}
body > main { flex: 1 0 auto; }
body > header, body > footer, body > .values-banner { flex-shrink: 0; }
footer {
    width: 100%;
    min-height: 190px;
    padding: 28px 0 18px;
    background-color: #d10b11;
    background-image: url("footer-red-gold-bg.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
    border-top: 0;
}
.supplied-certificate-grid.single-certificate { grid-template-columns: minmax(0, 1fr); }

/* 2026-11-11: fill the mobile viewport with footer artwork, not empty paper. */
body {
    min-height: 100vh;
    min-height: var(--site-min-height, 100vh);
}
.home-page > main { flex: 0 0 auto; }
.home-page > footer {
    flex: 1 0 190px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-size: 100% 100%;
}
/* Only the white margins of the supplied decorative banner are hidden. */
.home-page > .values-banner {
    position: relative;
    height: 201.843318px;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    overflow: hidden;
}
.home-page > .values-banner > img {
    position: absolute;
    top: -65.898618px;
    left: 0;
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    transform: none;
    object-fit: contain;
}

/* 2026-11-11: compact, visible news and original-image sections. */
.platform-hot { min-height: 64px; padding: 16px 18px; font-size: 15px; line-height: 1.6; }
.template-module-inner { padding: 24px 0 28px; gap: 28px; align-items: stretch; }
.template-notices-head { align-items: center; min-height: 43px; padding-bottom: 10px; }
.template-notices-head h2 { font: 600 24px/1.4 var(--serif); margin: 0; }
.template-notice-list { margin-top: 0; }
.template-notice-list a { display: grid; grid-template-columns: 6px minmax(0,1fr) auto; gap: 10px; min-height: 49px; padding: 10px 0; font-size: 14px; }
.template-notice-list a:before { margin: 0; }
.template-notice-list a span { text-align: left; white-space: normal; overflow: visible; line-height: 1.55; }
.template-notice-list time { font-size: 12px; font-variant-numeric: tabular-nums; }
.template-photo-carousel { height: 400px; display: grid; grid-template-rows: minmax(0,1fr) 42px; }
.template-photo-viewport { min-height: 0; height: 100%; padding: 10px; background: #f4edde; }
.template-photo-slide { height: 100%; }
.template-photo-slide > img { width: 100%; height: 100%; object-fit: contain; }
body > main { flex: 0 0 auto; }
body > footer { flex: 1 0 190px; display: flex; flex-direction: column; justify-content: center; }
.page-heading { padding-block: 32px 28px; }
.page-body { min-height: 0; padding-block: 28px 36px; }
.certificate-detail { gap: 26px; }
.certificate-originals { display: block; align-self: stretch; padding: 20px; border: 1px solid #e2d9c8; background: linear-gradient(135deg,#f5eddd,#fffaf0); }
.certificate-originals .supplied-certificate-set { margin: 0; }
.certificate-originals .supplied-certificate-set h2 { margin: 0 0 18px; font-size: 24px; }
.original-photo-panel { grid-column: 1 / -1; padding: 24px; border: 1px solid #ded4c1; background: #f7f2e7; }
.original-photo-panel > header { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.original-photo-panel > header h2 { margin: 0; font-size: 25px; }
.original-photo-panel > header p { margin: 0; font-size: 14px; }
.original-photo-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(260px,1fr)); gap: 20px; align-items: start; }
.original-photo-grid figure { margin: 0; }
.original-photo-grid .certificate-photo > button { width: 100%; aspect-ratio: 16/10; padding: 12px; background: #fffdf8; border: 1px solid #ddd2bf; }
.original-photo-grid .certificate-photo > button > img { width: 100%; height: 100%; object-fit: contain; }
.original-photo-grid figcaption { margin: 10px 0 0; font-size: 13px; line-height: 1.7; }
.policy-list { display: grid; gap: 18px; }
.policy-entry { padding: 22px 26px; border: 1px solid #ded7c7; border-left: 4px solid #b68c43; background: #fffaf1; scroll-margin-top: 24px; }
.policy-entry-meta { display: flex; gap: 18px; color: #946d35; font-size: 14px; }
.page-body .policy-entry h2 { margin: 12px 0; font-size: 25px; }
.policy-entry p { margin: 0 0 10px; font-size: 17px; }
.policy-entry small { color: #89908d; font-size: 12px; }

.original-photo-grid .certificate-photo.rotate > button > img {
    width: 100cqh; height: 100cqw; max-width: none; max-height: none;
    flex-shrink: 0; transform: rotate(90deg); object-fit: contain;
}

.certificate-originals { align-self: start; }



.certificate-originals > .original-photo-panel { margin-top: 20px; padding: 16px; background: #efe6d4; }
.certificate-originals > .original-photo-panel > header { display: block; margin-bottom: 12px; }
.certificate-originals > .original-photo-panel > header h2 { font-size: 22px; }
.certificate-originals > .original-photo-panel > header p { font-size: 12px; margin-top: 5px; }
.certificate-originals > .original-photo-panel .original-photo-grid { grid-template-columns: minmax(0,1fr); }

/* 2026-11-12: four visible titles, each a direct text link. */
.featured-news { margin: 20px 28px 0; padding: 8px 22px; border: 1px solid #e4d6bc; border-left: 4px solid #b61e20; background: linear-gradient(105deg,#fcf5e8,#fffdf8); }
.featured-news-list { margin:0; padding:0; list-style:none; }
.featured-news-list > li + li { border-top:1px solid #e9dfce; }
.featured-news-title { display:block; padding:11px 6px; color:#263a3c; text-decoration:none; font:500 18px/1.7 var(--serif); cursor:pointer; }
.featured-news-title > span { display:inline-block; max-width:100%; transition:color .2s ease; }
.featured-news-title:hover > span { color:#af2525; animation:headline-text-drift 1.4s ease-in-out infinite; }
.featured-news-title:focus-visible { outline:2px solid #b12626; outline-offset:-2px; color:#af2525; }
@keyframes headline-text-drift { 0%,100% { transform:translateX(0); } 50% { transform:translateX(6px); } }
@media(prefers-reduced-motion:reduce) { .featured-news-title:hover > span { animation:none; } }

/* 2026-11-12: consistent footer size and national news heading. */
body > footer, .home-page > footer { flex: 0 0 145px; height: 145px; min-height: 145px; padding: 14px 0; display: flex; justify-content: center; background-size: 100% 100%; }
footer .footer-grid { width: min(1220px,calc(100% - 60px)); gap: 6px; }
footer .footer-grid>div:first-child>p { font-size: 28px; line-height: 1.2; margin: 4px 0 0; }
footer .footer-grid .eyebrow { font-size: 14px; }
footer .footer-grid .text-link { padding-block: 5px; }
.featured-news > h2 { margin: 4px 6px 0; font: 600 24px/1.5 var(--serif); color: #b61e20; }
/* Footer retains desktop typography and spacing when the whole page scales on phones. */

/* 2026-11-12: push the fixed-size footer to the viewport bottom on short pages. */
body > main, .home-page > main { flex: 1 0 auto; }
body > footer, .home-page > footer { margin-top: auto; }

/* 2026-11-12: display the Sanfeng landscape at its natural wide ratio. */
.biography-split.historical-intro { grid-template-columns: minmax(0,1fr); gap: 28px; padding-block: 36px; }
.historical-intro > .landscape-portrait { width: 100%; max-width: none; justify-self: stretch; }
.historical-intro > .landscape-portrait > img { width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; border: 0; box-shadow: none; }
.historical-intro > .landscape-portrait > figcaption { margin-top: 12px; }
.historical-intro > .bio-copy > p { max-width: none; }

/* 2026-11-12: larger natural-ratio Wujun portrait aligned with biography. */
.biography-split.light.wujun-intro { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 36px; align-items: start; }
.wujun-intro > .bio-portrait { width: 100%; max-width: none; margin: 0; }
.wujun-intro > .bio-portrait > img { width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; border: 0; }
.wujun-intro > #wujun-work > .reading > h2:first-child { margin-top: 0; }

/* 2026-11-12: balance the standard certificate display with its annotation. */
.balanced-certificate-detail { align-items: stretch; grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); }
.balanced-certificate-detail > .certificate-originals { align-self: stretch; display: flex; flex-direction: column; }
.balanced-certificate-detail .supplied-certificate-set { flex: 1; display: flex; flex-direction: column; }
.balanced-certificate-detail .supplied-certificate-grid { flex: 1; align-content: center; padding-block: 20px; }
.balanced-certificate-detail .supplied-photo button { aspect-ratio: auto; }
.balanced-certificate-detail .supplied-photo button img { width: 100%; height: auto; }
.balanced-certificate-detail .certificate-source-link { align-self: flex-start; margin-top: 8px; }

/* 2026-11-12: more legible, structured core-concept reading page. */
.brand-concept-page .page-heading { padding-top: 40px; padding-bottom: 30px; }
.brand-concept-page .page-heading > p { font-size: 19px; line-height: 1.9; margin-top: 18px; }
.brand-concept-page .page-body { padding-top: 34px; padding-bottom: 56px; }
.brand-concept-page .concept-reading { max-width: 840px; margin-inline: auto; }
.brand-concept-page .concept-reading p { font-size: 20px; line-height: 2.05; color: #4e514a; text-align: justify; margin: 0 0 24px; }
.brand-concept-page .concept-reading .concept-lead { font-family: var(--serif); font-size: 26px; line-height: 1.8; font-weight: 600; color: #303b33; margin-bottom: 20px; padding-left: 22px; border-left: 3px solid #ad8950; }
.brand-concept-page .concept-reading .concept-mission { font-size: 21px; line-height: 2; margin-bottom: 32px; }
.brand-concept-page .concept-context { padding: 30px 32px 6px; background: #faf7f0; border-top: 1px solid #dfd5c3; }
.brand-concept-page .concept-context p { text-indent: 2em; }

/* 2026-11-12: larger homepage announcement text. */
.home-page .platform-hot > span { font-size: 22px; font-weight: 600; line-height: 1.5; }

/* 2026-11-12: edge-to-edge national news section without the red side rule. */
.home-page .featured-news { margin-inline: 0; border-left: 0; border-right: 0; }

/* 2026-11-12: white background for national news. */
.home-page .featured-news { background: #fff; }

/* 2026-11-12: share latest-news heading layout with national news. */
.home-page .featured-news > .national-news-head { margin-inline: 6px; }

/* 2026-11-12: larger six-story list aligned to the adjacent photo carousel. */
.home-page .template-notices { display: flex; flex-direction: column; min-height: 400px; }
.home-page .template-notices > .template-notices-head { flex: 0 0 43px; }
.home-page .template-notice-list { flex: 1; display: grid; grid-template-rows: repeat(6,minmax(0,1fr)); margin: 0; padding: 0; }
.home-page .template-notice-list > li { display: flex; min-width: 0; }
.home-page .template-notice-list a { width: 100%; grid-template-columns: 6px minmax(0,1fr); align-items: center; font-size: 19px; min-height: 0; padding: 10px 0; }
.home-page .template-notice-list a span { line-height: 1.6; }



/* 2026-11-12: white, proportionate homepage certificate carousel. */
.home-page .template-photo-carousel,
.home-page .template-photo-viewport,
.home-page .template-photo-slide,
.home-page .template-photo-carousel > figcaption { background: #fff; }
.home-page .template-photo-viewport { padding: 8px; }
.home-page .template-photo-slide > img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
/* The third source is square with white margins around a landscape certificate. */
.home-page .template-photo-slide:nth-child(3) > img { object-fit: cover; }

/* Mobile retains desktop columns while distributing spare height into content. */
@media (max-width: 999px) {
  .home-page > main { display: flex; flex-direction: column; }
  .home-page .featured-news-title { font-size: 22px; padding-block: 16px; line-height: 1.8; }
  .home-page .template-module { flex: 1 0 auto; display: flex; flex-direction: column; }
  .home-page .template-module-inner { flex: 1; min-height: 452px; }
  .home-page .template-photo-carousel { height: auto; min-height: 400px; align-self: stretch; }
  .home-page .template-notices { align-self: stretch; }
  .home-page .template-notice-list a { font-size: 22px; padding-block: 14px; }
  .home-page .template-photo-slide:nth-child(3) > img { object-fit: contain; }
}
@media (max-width: 999px) {
  .home-page .featured-news { flex: 1 0 auto; display: flex; flex-direction: column; }
  .home-page .featured-news-list { flex: 1; display: grid; grid-template-rows: repeat(6,minmax(0,1fr)); }
  .home-page .featured-news-list > li { display: flex; align-items: center; }
  .home-page .featured-news-title { width: 100%; }
  .home-page .template-module { flex: 0 0 auto; }
  .home-page .template-module-inner { min-height: 452px; flex: 0 0 auto; }
  .home-page .template-photo-carousel { height: 400px; }
}

/* Mobile carousel follows the landscape artwork rather than a tall stretched card. */
@media (max-width: 999px) {
  .home-page .template-photo-carousel { height: auto; min-height: 0; align-self: start; grid-template-rows: auto 42px; }
  .home-page .template-photo-viewport { height: auto; aspect-ratio: 3 / 2; min-height: 0; }
  .home-page .template-photo-slide { height: 100%; }
  .home-page .template-photo-slide:nth-child(3) > img { object-fit: cover; }
}
@media (max-width: 999px) {
  .home-page .template-photo-viewport { position: relative; padding: 0; }
  .home-page .template-photo-slide { position: absolute; inset: 8px; width: auto; height: auto; }
  .home-page .template-photo-slide > img { display: block; width: 100%; height: 100%; object-fit: contain; }
  .home-page .template-photo-slide:nth-child(3) > img { object-fit: cover; }
}

/* Coherent phone homepage: readable type and natural spacing, desktop unchanged. */
@media (max-width: 999px) {
  body.home-page { width: 100%; max-width: 100%; zoom: 1; min-height: 100svh; }
  .home-page > main { display: block; flex: 1 0 auto; }
  .home-page > .values-banner { height: calc(var(--viewport-width) * .201843318); }
  .home-page > .values-banner > img { top: calc(var(--viewport-width) * -.065898618); }
  .home-page .unified-brand-carousel, .home-page .unified-brand-slide, .home-page .brand-slide-content { height: 88px; min-height: 88px; }
  .home-page .brand-slide-content { padding: 14px 16px; }
  .home-page .brand-slide-content .brand strong { font-size: 25px; letter-spacing: 2px; }
  .home-page .brand-slide-content .platform-slogan { font-size: 17px; white-space: normal; line-height: 1.6; padding: 0; }
  .home-page .platform-nav { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .home-page .platform-nav-item > a { min-height: 42px; padding: 10px 3px; font-size: 13px; }
  .home-page .platform-submenu { min-width: 156px; max-width: 90vw; z-index: 50; }
  .home-page .platform-nav-item:nth-child(4n) .platform-submenu { right: 0; left: auto; }
  .home-page .platform-submenu > a { padding: 12px; font-size: 14px; }
  .home-page .platform-hot { min-height: 46px; padding: 10px 12px; gap: 12px; font-size: 12px; }
  .home-page .platform-hot > span { font-size: 15px; line-height: 1.6; }
  .home-page .featured-news { display: block; margin: 14px 0 0; padding: 0 16px 8px; }
  .home-page .featured-news > .national-news-head { margin: 0; }
  .home-page .template-notices-head { min-height: 38px; padding-bottom: 8px; }
  .home-page .template-notices-head h2 { font-size: 20px; }
  .home-page .featured-news-list { display: block; }
  .home-page .featured-news-list > li { display: block; }
  .home-page .featured-news-title { font-size: 15px; padding: 12px 0; line-height: 1.65; }
  .home-page .template-module { display: block; }
  .home-page .template-module-inner { display: grid; grid-template-columns: 1fr; gap: 18px; min-height: 0; padding: 20px 0 24px; width: calc(100% - 32px); }
  .home-page .template-photo-carousel { width: 100%; height: auto; min-height: 0; margin: 0; grid-template-rows: auto 36px; }
  .home-page .template-photo-viewport { aspect-ratio: 3 / 2; }
  .home-page .template-photo-carousel > figcaption { font-size: 12px; padding: 7px 10px; }
  .home-page .template-notices { min-height: 0; padding: 0; display: block; }
  .home-page .template-notice-list { display: block; }
  .home-page .template-notice-list > li { display: block; }
  .home-page .template-notice-list a { min-height: 46px; font-size: 15px; padding: 12px 0; gap: 9px; }
  .home-page .template-more { font-size: 12px; }
  .home-page > footer { height: 130px; min-height: 130px; flex-basis: 130px; padding: 16px 0; }
  .home-page footer .footer-grid { width: calc(100% - 32px); }
  .home-page footer .footer-grid > div:first-child > p { font-size: 22px; }
  .home-page footer .eyebrow { font-size: 11px; }
}

/* Restore the original single-row phone navigation. */
@media (max-width: 999px) {
  .home-page .platform-nav { grid-template-columns: repeat(7,minmax(0,1fr)); }
  .home-page .platform-nav-item > a { min-height: 36px; padding: 9px 1px; font-size: clamp(8px,2.1vw,13px); white-space: nowrap; }
  .home-page .platform-nav-item:nth-child(4n) .platform-submenu { right: auto; left: 0; }
  .home-page .platform-nav-item:nth-last-child(-n+3) .platform-submenu { right: 0; left: auto; }
}

/* Equal-size phone branding slides with fully visible slogans. */
@media (max-width: 999px) {
  .home-page .unified-brand-carousel { height: 88px; min-height: 88px; }
  .home-page .unified-brand-carousel > .platform-slogan-slide { height: 88px; min-height: 88px; padding: 12px 18px 22px; align-items: center; justify-content: center; }
  .home-page .unified-brand-carousel > .platform-slogan-slide:not(:first-child) > span { width: 100%; max-width: 100%; font-size: clamp(12px,3.4vw,16px); line-height: 1.3; white-space: nowrap; text-align: center; overflow-wrap: normal; }
  .home-page .unified-brand-carousel > .platform-slogan-slide:first-child { padding: 0; }
}

/* 2026-11-13: shorter footer artwork on phones (customer request, matches slim strip design). */
@media (max-width: 999px) {
  body > footer, .home-page > footer { flex: 0 0 104px; height: 104px; min-height: 104px; padding: 8px 0; }
  footer .footer-grid { gap: 2px; }
  footer .footer-grid>div:first-child>p { font-size: 20px; line-height: 1.2; margin: 2px 0 0; letter-spacing: 3px; }
  footer .footer-grid .eyebrow { font-size: 11px; letter-spacing: 2px; }
  footer .footer-grid .text-link { padding-block: 3px; font-size: 11px; }
  footer .footer-grid>div:nth-child(2) { gap: 14px; }
}

/* 2026-11-13: prevent stray horizontal scrollbar in the phone preview. */
@media (max-width: 999px) {
  html, body.home-page { overflow-x: hidden; }
}

/* 2026-11-13: mobile review v12; desktop rules and fitPage remain unchanged. */
@media (max-width: 999px) {
  body:not(.home-page) { width:100%; max-width:100%; zoom:1; min-height:100svh; }
  .wrap { width:calc(100% - 32px); }
  .page-body, .page-heading, .reading, .article-copy, .annotation, .certificate-originals { min-width:0; }

  /* A single row remains, with column widths matched to the seven labels. */
  .home-page .platform-layout { overflow:visible; }
  .home-page .class-photo-wrap { width:100%; }
  .home-page .platform-nav, .site-header .profile-nav {
    display:grid; grid-template-columns:5fr 4fr 4fr 4fr 4fr 6fr 4fr;
    gap:0; width:100%; padding:0; letter-spacing:0;
  }
  .home-page .platform-nav-item > a,
  .site-header .profile-nav > .nav-item > a,
  .site-header .profile-nav > a {
    display:grid; place-items:center; min-height:40px; padding:10px 1px;
    font:600 clamp(9px,2.5vw,12px)/1.4 var(--sans); letter-spacing:0; white-space:nowrap;
  }
  .site-header .profile-nav > .nav-item { min-width:0; position:relative; }
  .site-header .profile-nav a[aria-current=page]:after { bottom:4px; left:3px; right:3px; }
  .profile-site-header .brand-row { min-height:0; height:auto; padding-block:22px 18px; justify-content:center; }
  .profile-site-header .brand strong { font-size:clamp(18px,5.8vw,26px); line-height:1.5; letter-spacing:1px; text-align:center; white-space:normal; }
  .profile-site-header .brand-motto { display:none; }
  .home-page .platform-submenu, .site-header .profile-nav > .nav-item > .nav-submenu {
    min-width:156px; width:max-content; max-width:calc(100vw - 24px);
    left:0; right:auto; flex-direction:column; align-items:stretch;
  }
  .home-page .platform-submenu > a,
  .site-header .profile-nav > .nav-item > .nav-submenu > a {
    padding:12px 14px; font:14px/1.5 var(--sans); white-space:normal; overflow-wrap:anywhere;
  }
  .site-header .profile-nav > .nav-item:nth-last-child(-n+3) > .nav-submenu,
  .home-page .platform-nav-item:nth-last-child(-n+3) > .platform-submenu { left:auto; right:0; }

  /* Read the entire announcement rather than moving it through its label. */
  .home-page .platform-hot { align-items:flex-start; gap:10px; }
  .home-page .platform-hot > strong { flex:0 0 auto; white-space:nowrap; padding-top:2px; }
  .home-page .platform-hot > span { animation:none; transform:none; font-size:14px; line-height:1.65; white-space:normal; overflow:visible; overflow-wrap:anywhere; }
  .home-page .unified-brand-carousel > .platform-slogan-slide:not(:first-child) > span {
    font-size:clamp(14px,3.4vw,18px); line-height:1.55; white-space:normal; overflow-wrap:anywhere;
  }
  .home-page .unified-brand-carousel > .platform-slogan-slide:not(:first-child) { padding:10px 18px 26px; }
  .home-page .platform-slogan-dots { bottom:0; gap:2px; }
  .home-page .platform-slogan-dots button { display:grid; place-items:center; width:22px; height:22px; padding:0; border:0; background:transparent; }
  .home-page .platform-slogan-dots button:before { content:""; width:6px; height:6px; border:1px solid #c61010; border-radius:50%; box-sizing:border-box; background:#fff; }
  .home-page .platform-slogan-dots button[aria-pressed=true] { background:transparent; }
  .home-page .platform-slogan-dots button[aria-pressed=true]:before { background:#c61010; }

  .home-page .featured-news-list > li { min-width:0; }
  .home-page .featured-news-title { padding-right:8px; }
  .home-page .featured-news-title > span { overflow-wrap:anywhere; }
  .home-page .template-notice-list a { display:grid; grid-template-columns:6px minmax(0,1fr); align-items:start; }
  .home-page .template-notice-list a:before { margin-top:8px; }
  .home-page .template-notice-list a span { white-space:normal; overflow:visible; text-overflow:clip; overflow-wrap:anywhere; }
  .home-page .template-photo-carousel { grid-template-rows:auto auto; }
  .home-page .template-photo-carousel > figcaption { min-height:36px; height:auto; flex-basis:auto; gap:8px; }
  .home-page .template-photo-carousel > figcaption > [data-carousel-caption] { min-width:0; white-space:normal; overflow-wrap:anywhere; }
  .home-page .template-photo-slide > img, .home-page .template-photo-slide:nth-child(3) > img { object-fit:contain; transform:none; }
  .home-page .template-photo-carousel .template-poster-dots { gap:2px; flex-shrink:0; }
  .home-page .template-photo-carousel .template-poster-dots button { display:grid; place-items:center; width:28px; height:28px; padding:0; border:0; background:transparent; }
  .home-page .template-photo-carousel .template-poster-dots button:before { content:""; width:7px; height:7px; border:1px solid #9aa4ad; border-radius:50%; box-sizing:border-box; background:#fff; }
  .home-page .template-photo-carousel .template-poster-dots button[aria-pressed=true] { background:transparent; }
  .home-page .template-photo-carousel .template-poster-dots button[aria-pressed=true]:before { background:#7a8fa2; }

  /* Inner pages use the homepage's existing natural phone layout, not tiny scaled text. */
  .page-heading { padding-block:24px 20px; }
  .page-heading h1 { font-size:clamp(24px,6vw,30px); line-height:1.5; letter-spacing:1px; margin:8px 0 12px; overflow-wrap:anywhere; }
  .page-heading > p { font-size:15px; line-height:1.85; }
  .page-body { padding-block:24px 28px; }
  .page-body p, .reading p, .article-body p, .content-copy p, .timeline p, .profile-copy p { font-size:16px; line-height:1.9; overflow-wrap:anywhere; }
  .page-body h2, .reading h2, .bio-section-head h2, .lineage-opening > h2 { font-size:23px; line-height:1.6; letter-spacing:1px; overflow-wrap:anywhere; }
  .page-body h3, .bio-topic h3, .card-body h3 { font-size:20px; line-height:1.6; overflow-wrap:anywhere; }
  .reading { max-width:100%; margin-bottom:24px; }
  .article-copy { max-width:100%; }
  .page-body .bio-nowrap { white-space:normal; max-width:100%; }
  .source-note, .record-note, .lineage-source, .annotation > small { font-size:13px; line-height:1.8; overflow-wrap:anywhere; }
  .photo > figcaption, .original-photo-grid figcaption, .bio-portrait > figcaption { font-size:13px; line-height:1.8; }
  .article-cover { margin-bottom:24px; }
  .biography-split, .biography-split.light, .biography-split.light.wujun-intro,
  .historical-intro, .culture-split, .xincheng-intro, .certificate-detail, .balanced-certificate-detail { grid-template-columns:minmax(0,1fr); gap:24px; }
  .bio-portrait, .wujun-intro > .bio-portrait { max-width:100%; justify-self:center; }
  .biography-chapter { padding-block:28px; margin-top:26px; }
  .biography-jumps, .album-links, .column-links { flex-wrap:wrap; gap:8px 12px; margin-bottom:22px; }
  .biography-jumps > a, .album-link, .column-links > a, .text-link { font-size:14px; white-space:normal; overflow-wrap:anywhere; }
  .biography-timeline > li { grid-template-columns:minmax(0,1fr); gap:8px; padding:0 0 26px 22px; }
  .biography-timeline > li:before { left:4px; }
  .biography-timeline > li:after { left:0; }
  .biography-timeline > li > div { padding-left:0; }
  .biography-timeline time { font-size:16px; }
  .lineage-preview, .full-lineage, .biography-sources ul { grid-template-columns:minmax(0,1fr); gap:18px; }
  .lineage-preview, .full-lineage, .biography-sources { padding:20px; }
  .lineage-preview > div { padding:0; }
  .lineage-preview > div:not(:last-child):after { display:none; }
  .lineage-preview > div + div { border-top:1px solid var(--line); padding-top:16px; }
  .lineage-preview p, .bio-topic p, .biography-timeline p { font-size:16px; line-height:1.9; }
  .honor-grid, .article-grid, .bio-topic-grid, .contact-methods, .document-grid,
  .gallery-grid, .archive-grid, .record-gallery, .student-highlights-grid, .president-event-gallery {
    grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr)); gap:18px;
  }
  .activity-grid { grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr)); gap:16px; }
  .home-video-grid, .featured-video-grid { grid-template-columns:minmax(0,1fr)!important; gap:20px!important; }
  .card-body { padding:18px; }
  .card-body p, .annotation p { font-size:15px; line-height:1.9; }
  .certificate-originals { padding:14px; }
  .annotation { padding:20px; }
  .annotation dd { font-size:14px; overflow-wrap:anywhere; }
  .supplied-certificate-grid, .original-photo-grid { grid-template-columns:minmax(0,1fr); }
  .balanced-certificate-detail .supplied-certificate-grid { flex:initial; padding-block:0; }
  .original-photo-panel { padding:16px; min-width:0; }
  .original-photo-panel > header { display:block; }
  .original-photo-panel > header p { font-size:13px; }
  .certificate-originals > .original-photo-panel .original-photo-grid { grid-template-columns:minmax(0,1fr); }
  .original-photo-grid .certificate-photo > button { padding:8px; }
  .photo > button { padding:10px; }
  .document-card { grid-template-columns:minmax(0,1fr); gap:18px; padding:18px; }
  main .xincheng-intro .xincheng-portrait { width:100%!important; max-width:360px!important; height:auto!important; aspect-ratio:1.38!important; justify-self:center; }
  .page-body table { max-width:100%; width:100%; table-layout:fixed; }
  .page-body th, .page-body td { overflow-wrap:anywhere; }
  .certificate-query-card h2 { font-size:21px; }
  .policy-entry { padding:18px; }
  .policy-entry-meta { flex-wrap:wrap; gap:5px 12px; }
  .page-body .policy-entry h2 { font-size:21px; }
  .brand-concept-page .concept-reading p { font-size:16px; line-height:1.9; }
  .brand-concept-page .concept-reading .concept-lead { font-size:22px; line-height:1.75; padding-left:14px; }
  .brand-concept-page .concept-reading .concept-mission { font-size:18px; }
  .brand-concept-page .concept-context { padding:20px 18px 2px; }
  .profile-lightbox { zoom:1; max-width:calc(100vw - 24px); max-height:calc(100svh - 24px); padding:44px 12px 16px; }
  .profile-lightbox > img { max-width:100%; max-height:calc(100svh - 150px); object-fit:contain; }
  .profile-lightbox > p { font-size:14px; }

  /* Keep the approved compact footer, including the requested 20px title. */
  body > footer, .home-page > footer { flex:0 0 104px; height:104px; min-height:104px; padding:8px 0; }
  footer .footer-grid, .home-page footer .footer-grid { width:calc(100% - 32px); gap:2px; }
  footer .footer-grid > div:first-child > p, .home-page footer .footer-grid > div:first-child > p { font-size:20px; line-height:1.2; margin:2px 0 0; letter-spacing:2px; }
  footer .footer-grid .eyebrow, .home-page footer .footer-grid .eyebrow { font-size:11px; letter-spacing:2px; }
  footer .footer-grid .text-link, .home-page footer .footer-grid .text-link { font-size:11px; padding-block:3px; }
  footer .footer-grid > div:nth-child(2) { gap:14px; }
}


/* 20261113-media-fast-v14: scoped cultural-study artwork and media controls. */
.study-page .page-heading { padding-bottom:24px; }
.study-theme { padding-top:0; }
.study-theme-figure { margin:0; border:1px solid #dfd6c6; background:#f7f3e9; }
.study-theme-figure > img { display:block; width:100%; height:auto; object-fit:contain; }
.study-theme-figure > figcaption { padding:10px 16px; color:#8b7858; font-size:13px; text-align:right; }
.study-theme-words { display:grid; grid-template-columns:repeat(3,1fr); list-style:none; margin:0; padding:0; border:1px solid #dfd6c6; border-top:0; }
.study-theme-words li { padding:20px 12px; text-align:center; color:#6b4f2e; letter-spacing:3px; }
.study-theme-words li + li { border-left:1px solid #dfd6c6; }
img[data-image] { cursor:zoom-in; }
img[data-image]:focus-visible { outline:3px solid #ad812f; outline-offset:3px; }
.profile-lightbox .image-load-status { display:block; color:#e0c58b; text-align:center; min-height:1.5em; font-size:13px; }
.home-page .template-photo-slide:nth-child(3) > img { object-fit:contain; }
@media (max-width:999px) {
  .study-page .page-heading { padding-top:24px; padding-bottom:18px; }
  .study-page .page-heading h1 { font-size:26px; }
  .study-page .page-heading p { font-size:15px; }
  .study-theme-figure > figcaption { font-size:11px; padding:8px 10px; }
  .study-theme-words li { font-size:14px; letter-spacing:1px; padding:14px 4px; }
}

.study-page main { background:linear-gradient(180deg,#fff 0%,#f7f3eb 100%); }

.study-page main { background:linear-gradient(180deg,#fff 0%,#f7f3eb 100%); }


/* v16: keep the exchange-record entry readable on small screens. */
@media (max-width:999px) {
  .document-library { grid-template-columns:minmax(0,1fr); gap:20px; }
  .document-library .document-card { width:100%; min-width:0; padding:0; }
  .document-library .document-copy { min-width:0; padding:18px; }
  .activity-library-head { display:flex; flex-direction:column; align-items:stretch; gap:16px; }
  .activity-library-head > div:first-child { width:100%; min-width:0; }
  .activity-filters { width:100%; justify-content:flex-start; gap:8px; }
  .activity-filters > button { min-height:40px; padding:8px 12px; font-size:14px; flex:0 0 auto; }
  .column-directory {
    grid-template-columns:minmax(0,1fr);
    gap:18px;
    margin:24px 0;
    min-width:0;
  }
  .column-directory > a { display:block; min-width:0; width:100%; padding:20px 0; }
  .column-directory .student-section-heading {
    font:500 24px/1.5 var(--serif)!important;
    letter-spacing:1px;
    writing-mode:horizontal-tb;
    white-space:normal;
    overflow-wrap:break-word;
  }
  .column-directory > a > p { margin:10px 0; font-size:15px; line-height:1.8; }
  .column-directory > a > small { display:inline-block; font-size:14px; line-height:1.8; }
}

/* Copy of the existing photo carousel beside national news. */
@media (min-width:1000px) {
  .home-page .featured-news { position:relative; padding-right:40%; }
  .home-page .featured-news-copy { position:absolute; top:8px; right:18px; width:36%; }
  .home-page .featured-news-copy .template-photo-carousel { width:100%; height:300px; }
  .home-page .featured-news-copy .template-photo-viewport { height:258px; }
}
@media (max-width:999px) { .home-page .featured-news-copy { margin-top:12px; } }


@media (min-width:1000px) {
  .home-page .featured-news-copy { width:46.7%; }
  .home-page .featured-news-copy .template-photo-carousel { width:100%; height:400px; }
  .home-page .featured-news-copy .template-photo-viewport { height:auto; }
}


@media (min-width:1000px) {
  .home-page .featured-news { padding-right:0; min-height:430px; }
  .home-page .featured-news > .national-news-head,
  .home-page .featured-news > .featured-news-list { width:56%; box-sizing:border-box; }
  .home-page .featured-news-copy { width:40%; right:18px; }
  .home-page .featured-news-copy .template-photo-carousel { height:360px; }
}


/* Video-reference menu, shared by all inner pages. */
.profile-site-header .profile-nav{position:relative;z-index:110;overflow:visible;isolation:isolate}
.profile-site-header .profile-nav>.nav-item{position:relative}
.profile-site-header .profile-nav>.nav-item>.nav-submenu{display:none;position:absolute;top:100%;left:0;right:auto;width:420px;min-width:0;max-width:calc(100vw - 24px);padding:20px;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 16px;align-content:start;background:#fffefa;border:1px solid #e7e1d8;border-radius:18px;box-shadow:0 14px 32px rgba(40,30,20,.18);z-index:300}
.profile-site-header .profile-nav>.nav-item:nth-last-child(-n+3)>.nav-submenu{left:auto;right:0}
.profile-site-header .profile-nav>.nav-item:hover>.nav-submenu,.profile-site-header .profile-nav>.nav-item:focus-within>.nav-submenu,.profile-site-header .profile-nav>.nav-item.is-touch-open>.nav-submenu{display:grid}
.profile-site-header .profile-nav>.nav-item>.nav-submenu>a{display:flex;align-items:center;min-width:0;min-height:58px;padding:12px 10px;border-radius:9px;background:transparent;color:#303536;font:600 16px/1.55 var(--sans);white-space:normal;overflow-wrap:anywhere;text-align:left;transition:background .15s,color .15s}
.profile-site-header .profile-nav>.nav-item>.nav-submenu>a:hover,.profile-site-header .profile-nav>.nav-item>.nav-submenu>a:focus-visible{background:#f8ece7;color:#b61e20;outline-offset:-2px}
.profile-site-header .profile-nav>.nav-item.menu-dismissed>.nav-submenu{display:none}
@media(max-width:999px){
.profile-site-header .profile-nav>.nav-item{position:static}
.profile-site-header .profile-nav>.nav-item:nth-child(n)>.nav-submenu{left:0;right:0;width:100%;max-width:none;min-width:0;top:100%;padding:12px;gap:6px 10px;border-radius:14px}
.profile-site-header .profile-nav>.nav-item>.nav-submenu>a{font-size:14px;line-height:1.5;min-height:48px;padding:9px 7px}
}
@media(hover:none){
.profile-site-header .profile-nav>.nav-item:not(.is-touch-open)>.nav-submenu{display:none}
.profile-site-header .profile-nav>.nav-item.is-touch-open>.nav-submenu{display:grid}
}
