/* 页头压窄：标题条只占一小条，把下面的内容让出来。放在所有样式之后加载。 */
.site-page .page-hero{min-height:0;padding-block:18px;padding-inline:max(24px,calc((100% - 1160px)/2))}
.site-page .page-hero>div{width:56%}
.site-page .page-hero h1{font-size:30px;margin:0 0 6px}
.site-page .page-hero .lead{font-size:17px;line-height:1.5;margin:0}
.site-page .page-hero .hero-description,.site-page .page-hero>div>p:not(.lead),.site-page .page-hero .text-link{display:none}
.site-page .page-hero figure{width:42%}
.site-page .page-hero figure:after{background:linear-gradient(90deg,#f1f5f2 0%,rgba(241,245,242,.6) 40%,rgba(241,245,242,0) 100%)}
.mc-inner .mc-hero-inner{min-height:0;padding-block:16px}
.mc-inner .mc-hero h1{font-size:30px;margin:4px 0}
.mc-inner .mc-hero .mc-hero-lead{font-size:17px;margin:0 0 4px}
.mc-inner .mc-hero .hero-description{display:none}
.mc-inner .mc-hero .hero-facts{font-size:13px;line-height:1.6;margin:0}
.mc-inner .mc-hero-copy{width:56%}
.mc-inner .mc-hero-art{width:42%}
.mc-inner .mc-hero .hero-buttons{margin-top:10px}
/* 启蒙/进阶课堂：不要页头，直接是课程内容（标题只留给读屏软件） */
.learning-page:not(.hanzi-page) .mc-hero{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0;padding:0;margin:-1px}
.learning-page:not(.hanzi-page) .mc-hero-art{display:none}
.calendar-hero{min-height:0!important;padding-block:18px!important}
.calendar-hero h1{font-size:30px!important;margin:0 0 4px!important}
@media(max-width:700px){
 .site-page .page-hero{padding-block:14px}.site-page .page-hero>div{width:100%}.site-page .page-hero figure{display:none}
 .site-page .page-hero h1,.mc-inner .mc-hero h1{font-size:26px}
 .mc-inner .mc-hero-copy{width:100%}.mc-inner .mc-hero-art{display:none}
}
/* 教学内容使用楷体；官网介绍、学习中心入口和公共导航保留站点字体。 */
@font-face{font-family:PinyinLatin;src:local("Arial"),local("Helvetica Neue"),local("Helvetica");unicode-range:U+41-5A,U+62-66,U+68-7A,U+C0-DF,U+E2-24F}
@font-face{font-family:"School Kai";src:url(/assets/fonts/kaiti-gb.woff2) format("woff2");font-weight:400 700;font-display:swap;unicode-range:U+2E80-9FFF,U+3000-303F,U+2010-2027,U+FF00-FFEF}
@font-face{font-family:PinyinA;src:url(/assets/fonts/andika-latin-400.woff2) format("woff2");font-weight:400 700;font-display:swap;unicode-range:U+61,U+67,U+E0,U+E1}
@font-face{font-family:PinyinA;src:url(/assets/fonts/andika-latin-ext-400.woff2) format("woff2");font-weight:400 700;font-display:swap;unicode-range:U+101,U+1CE}
:root{--kai-stack:PinyinA,PinyinLatin,"School Kai","Kaiti SC","楷体-简",STKaiti,KaiTi,"楷体","BiauKai","AR PL UKai CN",ClassroomKai,"Helvetica Neue",Arial,serif}
/* Scope to teaching surfaces, including character dialogs outside main.
   Never apply the classroom stack to body: headers and footers inherit it. */

html:root body.mc-inner :is(main,dialog) :is(svg text,.material-icons,[class*="icon-font"]){font-family:inherit!important}
/* 平板/笔记本宽度（760px 以上）：导航和校名排成一行，不占两行 */
@media(min-width:760px){
 .mc-site-header-inner{min-height:0;padding:7px 16px;grid-template-columns:auto minmax(0,1fr) auto;gap:6px 10px}
 .mc-site-nav{grid-column:auto;grid-row:auto;width:auto}
 .mc-site-header .mc-site-logo{width:42px!important;height:42px!important;min-width:42px}
 .mc-site-brand-text{gap:1px}
 .mc-site-brand-text strong{font-size:19px!important}
 .mc-site-brand-text>span{font-size:11px!important}
 .mc-site-nav a,.mc-site-languages a{min-height:34px;padding:6px 6px}
}
/* 课堂页：切换标签时不再强行撑高到一屏以上 */
.learning-content>.lc-panel:not([hidden]){min-height:0!important}
.learning-page .class-notice{margin-block:8px}
/* 课堂页（启蒙/进阶）：不要大页脚，上下留白收紧，一屏之内 */
.learning-page:not(.hanzi-page) .mc-site-footer{display:none}
.learning-page:not(.hanzi-page) main{padding-top:0!important;padding-bottom:8px!important}
.learning-page:not(.hanzi-page) .learning-content{padding-top:0!important;padding-bottom:0!important}
.learning-page:not(.hanzi-page) .lc-panel-head{margin-block:4px 6px}
.learning-page:not(.hanzi-page) .lc-panel-head h2{font-size:22px;margin:0}
#hz-title[role=button]{cursor:pointer}
#hz-title[role=button]:focus-visible{outline:3px solid #75976b;outline-offset:4px;border-radius:8px}