@charset "UTF-8";
/* 达人画室 · 纯自写样式表
   不引用原站任何 CSS / JS / PHP 运行时。
   分层：1 基础与字体 → 2 布局 → 3 模块 → 4 动效 → 5 响应式 → 6 定制覆盖层
   定制层（第 6 节）可用 site.config.json 的 theme 开关，随时回到 1:1。 */

/* ---------- 1 基础与字体 ---------- */
@font-face{font-family:'Poppins';src:url(../fonts/poppins-500.woff2) format('woff2');font-weight:500;font-display:swap}
/* SemiBold 600：首页/简介页数字统计用。缺这个文件时 CSS 的 font-weight:600
   会被浏览器向上匹配到 800 ExtraBold，数字显得过粗。 */
@font-face{font-family:'Poppins';src:url(../fonts/poppins-600.woff2) format('woff2');font-weight:600;font-display:swap}
@font-face{font-family:'Poppins';src:url(../fonts/poppins-800.woff2) format('woff2');font-weight:800;font-display:swap}
@font-face{font-family:'Roboto';src:url(../fonts/roboto-400.woff2) format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:'Roboto';src:url(../fonts/roboto-500.woff2) format('woff2');font-weight:500;font-display:swap}
@font-face{font-family:'Roboto';src:url(../fonts/roboto-700.woff2) format('woff2');font-weight:700;font-display:swap}
@font-face{font-family:'Roboto Condensed';src:url(../fonts/roboto-condensed-700.woff2) format('woff2');font-weight:700;font-display:swap}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;background:#fff;color:var(--text);font-family:var(--font-zh);
     font-size:calc(var(--body-size)*var(--font-scale));line-height:1.75;
     -webkit-font-smoothing:antialiased;overflow-x:hidden}
img{display:block;max-width:100%;height:auto;border:0}
a{color:inherit;text-decoration:none}
button{font:inherit;cursor:pointer;border:0;background:none;color:inherit}
h1,h2,h3,h4,p{margin:0}
ul{list-style:none;margin:0;padding:0}
svg{width:1em;height:1em;vertical-align:-.12em}
.container{width:min(var(--maxw),calc(100% - 48px));margin-inline:auto}
.site-main{min-height:60vh}
.icon{width:1em;height:1em}

/* ---------- 2 顶部与页脚布局 ---------- */
.site-header{position:absolute;inset:0 0 auto;z-index:60;height:100px}
.site-header .header-inner{width:min(1340px,calc(100% - 48px));padding-left:38px}
.header-inner{height:100px;display:flex;align-items:center;gap:24px}
.brand{display:flex;align-items:center;gap:11px;color:#fff;flex:none}
.brand img{height:44px;width:auto;object-fit:contain}
.brand-sub{display:none}
.main-nav{margin-left:clamp(24px,24.4vw,351px);margin-right:auto}
.main-nav>ul{display:flex;align-items:center;gap:34px}
.main-nav>ul>li{position:relative}
.main-nav a{display:block;padding:10px 0;color:#fff;font-size:var(--menu-size);
            font-weight:700;letter-spacing:.2px;white-space:nowrap;
            text-shadow:0 1px 5px rgba(0,0,0,.18);transition:color .2s,background .2s}
.main-nav>ul>li.is-current>a{background:rgba(255,255,255,.16)}
.main-nav a:hover{color:#fff;background:rgba(255,255,255,.12)}
.main-nav ul.sub{position:absolute;top:100%;left:0;min-width:190px;padding:6px 0;
                 background:rgba(24,24,28,.94);opacity:0;visibility:hidden;
                 transform:translateY(8px);transition:.2s}
.main-nav li:hover>ul.sub{opacity:1;visibility:visible;transform:none}
.main-nav ul.sub a{font-size:calc(var(--menu-size) - 3px);padding:8px 16px}
.nav-toggle{display:none;margin-left:auto;width:40px;height:36px;padding:8px}
.nav-bars>span{display:block;height:2px;background:#fff;margin:5px 0;transition:.25s}

.site-footer{background:#1b1d21;color:#c9cbd0;padding:64px 0 0;font-size:14px;line-height:1.9}
.footer-top{display:grid;grid-template-columns:1fr 1fr 320px;gap:48px;padding-bottom:48px}
.footer-col h3{color:#fff;font-size:17px;font-weight:700;margin-bottom:18px;letter-spacing:1px}
.footer-col p{margin-bottom:8px}
.footer-teacher,.footer-phone{font-size:16px;color:#fff}
.footer-bottom{border-top:1px solid rgba(255,255,255,.1);padding:18px 0 22px;
               display:flex;justify-content:space-between;gap:20px;font-size:12px;opacity:.65}
.map-figure{display:block;overflow:hidden;background:#2a2d31}
.map-figure img{width:100%;height:190px;object-fit:cover;transition:transform .4s}
.map-figure:hover img{transform:scale(1.04)}
.map-place{display:flex;align-items:center;justify-content:center;gap:6px;
           margin-top:10px;color:#fff;font-weight:700;font-size:14px;letter-spacing:1px}
.map-place .icon{color:var(--accent)}

/* ---------- 3 模块：通用 ---------- */
.module{position:relative}
.section-title{font-size:clamp(26px,3vw,38px);font-weight:var(--title-weight);
               color:#1d1f23;text-align:center;letter-spacing:1px;margin-bottom:14px}
.section-sub{max-width:900px;margin:0 auto 36px;text-align:center;color:#6c6f76;font-size:15px;line-height:1.9}
.section-heading{padding:var(--sec-pad-top,56px) 0 var(--sec-pad-bottom,12px)}
.section-heading.align-left{text-align:left;padding:56px 0 6px}
.section-heading.align-left .section-title{font-size:24px;text-align:left;font-weight:700;margin-bottom:6px}
.section-heading.align-left .section-sub{text-align:left;margin:0;font-size:16px;line-height:1.8}
/* 全站按钮：实心主按钮 + 描边次按钮，尺寸/圆角/交互统一（见 6.16） */
.btn{display:inline-flex;align-items:center;gap:8px;padding:10px 20px;
     font-size:15px;font-weight:600;border-radius:0;transition:background .25s,color .25s,border-color .25s}
.btn .icon{width:14px;height:14px;font-size:14px}
.btn-solid{background:#ff894d;color:#fff;border:1px solid #ff894d}
.btn-solid:hover{background:#ff7a33;border-color:#ff7a33;color:#fff}
.btn-ghost{border:1px solid rgba(0,0,0,.18);color:#333;background:transparent}
.btn-ghost:hover{border-color:var(--ui-accent);color:var(--ui-accent);background:#fff}

/* 倒计时 —— 原站：白底、34px 深色引导语、16px 注释、红底白字大数字条、34px 问句 */
.countdown{padding:var(--sec-pad-top,80px) 0 var(--sec-pad-bottom,96px);text-align:center;background:#fff}
.cd-label{font-size:34px;font-weight:700;color:#3d4046;letter-spacing:0}
.cd-note{font-size:16px;color:#8b8d94;margin-top:6px}
.cd-num{margin:34px auto 0;max-width:1120px;height:110px;
        display:flex;align-items:center;justify-content:center;gap:12px;
        color:#fff;background:var(--primary);font-family:'Poppins',var(--font-zh);
        font-weight:800;font-size:69px;line-height:1}
.cd-num em{font-size:.3em;font-style:normal;font-family:var(--font-zh);font-weight:700}
.cd-question{margin-top:62px;font-size:34px;font-weight:700;color:#2f3136}

/* 统计 */
.stats-wrap{padding:78px 0}
.stats-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:36px}
.stat-card{text-align:center;padding:0 18px}
.stat-num{font-family:'Poppins',var(--font-zh);font-size:clamp(48px,6vw,76px);
          font-weight:800;color:var(--primary);line-height:1}
.stat-card p{margin-top:14px;font-size:15px;color:#666;line-height:1.9}
.stats-buttons{display:flex;justify-content:center;gap:16px;flex-wrap:wrap;margin-top:44px}

/* 简介 */
.intro-wrap{padding:80px 0;text-align:center}
.intro-kicker{font-size:clamp(24px,2.6vw,34px);color:#25272b;font-weight:500}
.intro-kicker strong{color:var(--primary);font-weight:800}
.intro-label{margin-top:10px;font-size:15px;letter-spacing:4px;color:#999}
.intro-body{max-width:960px;margin:36px auto 0;text-align:left;color:#5d6067;font-size:16px;line-height:2.1}
.intro-body p{margin-bottom:16px}

/* 卡片 / 优势 */
.features-wrap{padding:72px 0}
.features-grid{display:grid;gap:26px;margin-top:40px}
.features-grid.cols-3{grid-template-columns:repeat(3,1fr)}
.features-grid.cols-4{grid-template-columns:repeat(4,1fr)}
.features-grid.cols-6{grid-template-columns:repeat(3,1fr)}
.feature-card{padding:34px 28px;background:#fff;border:1px solid #ececee;text-align:center;transition:.3s}
.feature-card:hover{transform:translateY(-6px);box-shadow:0 14px 34px rgba(0,0,0,.08)}
.feature-icon{width:56px;height:56px;margin:0 auto 18px;display:grid;place-items:center;
              font-size:26px;color:#fff;background:var(--primary);border-radius:50%}
.feature-card h3{font-size:19px;font-weight:700;color:#222;margin-bottom:12px}
.feature-body p{font-size:14px;color:#777;line-height:1.9}
.variant-advantage .feature-card{text-align:left;padding:22px 24px;border-left:3px solid var(--primary)}
.variant-advantage .feature-icon{width:34px;height:34px;font-size:16px;margin:0 0 12px;background:var(--accent)}

/* 教师 */
.teachers-wrap{padding:72px 0}
.teacher-grid{display:grid;gap:28px;margin-top:40px}
.teacher-grid.cols-3{grid-template-columns:repeat(3,1fr)}
.teacher-card{display:block;text-align:center;background:#fafafa;padding-bottom:26px;transition:.3s}
.teacher-card:hover{transform:translateY(-6px);box-shadow:0 14px 34px rgba(0,0,0,.1)}
.tc-photo{overflow:hidden;aspect-ratio:3/4}
.tc-photo img{width:100%;height:100%;object-fit:cover}
.teacher-card h3{margin-top:20px;font-size:22px;font-weight:700}
.teacher-card p{font-size:14px;color:#888;margin-top:4px}
.tc-more{display:inline-block;margin-top:14px;font-size:14px;color:var(--primary);font-weight:700}

/* 教师子页：原站左红海报块 + 叠放照片 + 右文字/技能条 */
.teacher-detail.has-poster{position:relative;display:grid;
  grid-template-columns:minmax(0,1fr) 200px;grid-template-rows:auto auto;
  column-gap:44px;align-items:start;padding:18px 0 60px;border-bottom:0}
.teacher-detail.has-poster .t-poster{grid-column:1;grid-row:1;position:relative;
  width:255px;min-height:300px;background:var(--primary);color:#fff;
  padding:26px 22px 20px;z-index:1}
.t-poster .tp-en{display:block;font-family:'Poppins','Roboto',sans-serif;
  font-size:22px;line-height:1.16;font-weight:700;letter-spacing:1px}
.t-poster .tp-rule{display:block;width:38px;height:2px;background:#fff;margin:16px 0 14px}
.t-poster strong{display:block;font-size:28px;line-height:1.28;font-weight:800;letter-spacing:2px}
.t-poster .tp-small{display:block;margin-top:16px;font-size:12px;line-height:1.8;opacity:.92}
.t-poster .tp-foot{display:block;margin-top:14px;font-size:12px;opacity:.9}
.teacher-detail.has-poster .t-photo{grid-column:1;grid-row:1;
  width:540px;max-width:78%;aspect-ratio:4/3;margin-left:150px;margin-top:44px;z-index:2}
.teacher-detail.has-poster .t-photo img{object-position:top center}
.teacher-detail.has-poster .t-text{grid-column:2;grid-row:1/3;margin-top:44px}
.teacher-detail.has-poster .t-text h3{font-size:20px;font-weight:700}
.teacher-detail.has-poster .t-role{font-size:14px;margin:2px 0 14px;font-weight:700}
.teacher-detail.has-poster .t-bio{font-size:16px;line-height:1.85}
.teacher-detail.has-poster .t-skills{grid-column:2;grid-row:2;margin-top:26px}
.teacher-detail.has-poster .skill-head{font-size:11px}
.teacher-detail.has-poster .skill-track{height:9px}
.teacher-detail.has-poster .skill-fill{background:linear-gradient(90deg,#ff6900,#ff9a3d)}

.teacher-detail{display:grid;grid-template-columns:240px minmax(0,1fr) 240px;
                gap:40px;align-items:center;padding:56px 0;border-bottom:1px solid #eee}
.teacher-detail:last-child{border-bottom:0}
.t-photo{grid-column:1;overflow:hidden;aspect-ratio:3/4}
.t-photo img{width:100%;height:100%;object-fit:cover}
.teacher-detail.layout-skills-text-photo .t-photo{grid-column:3}
.teacher-detail.layout-skills-text-photo .t-skills{grid-column:1;grid-row:1}
.teacher-detail.layout-skills-text-photo .t-text{grid-column:2;grid-row:1}
.t-text h3{font-size:28px;font-weight:800;color:#222}
.t-role{font-size:15px;color:var(--primary);margin:6px 0 18px;font-weight:600}
.t-bio{font-size:15px;color:#666;line-height:2}
.t-text .btn{margin-top:22px}
.skill-bar{margin-bottom:18px}
.skill-head{display:flex;justify-content:space-between;font-size:13px;color:#555;margin-bottom:7px}
.skill-track{height:8px;background:#ececee;border-radius:6px;overflow:hidden}
.skill-fill{height:100%;width:0;background:linear-gradient(90deg,var(--primary),var(--accent));
            border-radius:6px;transition:width 1.2s cubic-bezier(.2,.8,.2,1)}
.skill-bars.is-in .skill-fill{width:var(--pct)}

/* 成绩 / 3D 轮播 */
.achievement-wrap{padding:64px 0 76px;background:#fff}
.ach-posters{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:0}
.ach-poster{display:block;overflow:hidden;background:#f3f3f3}
.ach-poster img{width:100%;height:auto;object-fit:cover;transition:transform .4s}
.ach-poster:hover img{transform:scale(1.03)}
.ach-posters .ach-poster img{aspect-ratio:590/800;object-fit:cover;object-position:top center}
/* 成绩榜单图墙 */
.score-wrap{padding:34px 0 80px;text-align:center}
.score-wrap.align-left{text-align:left}
.score-wrap .section-title{text-align:center;font-size:34px;font-weight:700;
  color:#3d4046;margin:0 0 30px}
.score-wrap.align-left .section-title{text-align:left;font-size:34px;font-weight:700;
  margin:0 0 26px;color:#333}
.score-hero{margin:0 auto 24px;max-width:1120px;overflow:hidden}
.score-hero img{width:100%;height:auto;display:block}
.score-intro{max-width:none;font-size:16px;line-height:2;color:#5d6067}
.score-wall{display:grid;grid-template-columns:repeat(5,1fr);gap:16px;margin-top:8px}
.score-wall.cols-4{grid-template-columns:repeat(4,1fr)}
.score-wall.cols-6{grid-template-columns:repeat(6,1fr)}
.score-cell{display:block;overflow:hidden;background:#f2f2f2}
.score-cell img{width:100%;height:auto;display:block;transition:transform .4s}
.score-cell:hover img{transform:scale(1.04)}
.richtext-wrap.variant-poster{padding:44px 0 80px}
.richtext-wrap.variant-poster.align-left{text-align:left}
.richtext-wrap.variant-poster.align-left .section-title{text-align:left;font-size:34px;
  font-weight:700;margin:0 0 26px;color:#333}
.richtext-wrap.variant-poster .richtext-body{max-width:none;text-align:inherit}
.richtext-wrap.variant-poster .richtext-img{margin:0;text-align:center}
.richtext-wrap.variant-poster .richtext-img img{width:auto;max-width:100%;height:auto}
.ach-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:26px;margin-top:36px}
.ach-card{display:block;text-align:center;background:#fff;padding:18px 18px 26px;transition:.3s}
.ach-card:hover{transform:translateY(-6px);box-shadow:0 14px 34px rgba(0,0,0,.1)}
.ach-img{aspect-ratio:4/3;overflow:hidden;background:#eee}
.ach-img img{width:100%;height:100%;object-fit:cover}
.ach-card h3{margin-top:18px;font-size:20px;font-weight:700}
.ach-more{display:inline-block;margin-top:10px;font-size:14px;color:var(--primary)}
.carousel3d{position:relative;height:360px;margin:40px auto 0;perspective:1200px;max-width:1100px}
.carousel3d .ach-card{position:absolute;left:50%;top:0;width:340px;margin-left:-170px;
                      transition:transform .6s cubic-bezier(.2,.8,.2,1),opacity .6s;
                      transform:translateX(0) scale(.72);opacity:.25}
.carousel3d .ach-card.is-active{transform:translateX(0) scale(1);opacity:1;z-index:3}
.carousel3d .ach-card.is-prev{transform:translateX(-70%) scale(.82);opacity:.55;z-index:2}
.carousel3d .ach-card.is-next{transform:translateX(70%) scale(.82);opacity:.55;z-index:2}
.carousel-nav{display:flex;justify-content:center;gap:14px;margin-top:18px}
.carousel-nav button{width:42px;height:42px;border:1px solid #ddd;font-size:24px;line-height:1;color:#555}
.carousel-nav button:hover{background:var(--primary);color:#fff;border-color:var(--primary)}

/* 画廊 */
.gallery-wrap{padding:var(--sec-pad-top,10px) 0 var(--sec-pad-bottom,76px)}
.gallery-filters{display:flex;justify-content:center;flex-wrap:wrap;gap:22px;margin:6px 0 30px}
.filter-chip{padding:4px 2px;border:0;background:transparent;font-size:16px;
             color:var(--primary);transition:.2s}
.filter-chip:hover{color:var(--accent)}
.filter-chip.is-on{background:var(--primary);color:#fff;padding:4px 12px}
.gallery-grid{display:grid;gap:8px}
.gallery-grid.cols-4{grid-template-columns:repeat(4,1fr)}
.gallery-grid.cols-8{grid-template-columns:repeat(8,1fr);gap:6px}
.gallery-grid.cols-8 .gallery-cell{aspect-ratio:auto}
.gallery-grid.cols-8 .gallery-cell img{height:auto;max-height:170px;object-fit:cover}
.gallery-cell{display:block;overflow:hidden;aspect-ratio:1;background:#eee}
.gallery-cell img{width:100%;height:100%;object-fit:cover;transition:transform .45s}
.gallery-cell:hover img{transform:scale(1.08)}
.gallery-cell.is-hidden{display:none}
.gallery-more{text-align:center;margin-top:34px}

/* 精彩瞬间 */
.moments-wrap{padding:34px 0 76px}
.moment-timeline{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:26px;margin-top:24px}
.moment-timeline.variant-plain{grid-template-columns:repeat(3,1fr);gap:16px 22px;margin-top:12px}
.moment-timeline.variant-plain .moment-photo{display:block;aspect-ratio:1.33;overflow:hidden;
                                             margin:0;background:#eee}
.moment-timeline.variant-plain .moment-photo img{width:100%;height:100%;object-fit:cover}
.moment-year{font-family:'Poppins',var(--font-zh);font-size:32px;font-weight:800;color:var(--primary)}
.moment-photo{aspect-ratio:4/3;overflow:hidden;margin:12px 0;background:#eee}
.moment-photo img{width:100%;height:100%;object-fit:cover}
.moment-label{font-size:15px;color:#666}

/* 联系我们 */
/* ===== 联系我们页（该页不渲染页脚，内容全在这里讲清楚） ===== */
.cts-grid{max-width:1120px;display:grid;grid-template-columns:minmax(0,1fr) 300px;
  gap:64px;align-items:start;padding:70px 0 56px}
.cts-card{border-top:1px solid #ececec}
.cts-row{display:grid;grid-template-columns:52px minmax(0,1fr);gap:20px;
  padding:26px 0;border-bottom:1px solid #ececec}
.cts-ico{width:52px;height:52px;border-radius:50%;display:grid;place-items:center;
  background:#fff1f1;color:var(--ui-accent)}
.cts-svg{width:22px;height:22px}
.cts-body h3{font-size:15px;font-weight:700;color:#333;margin:2px 0 8px;letter-spacing:.5px}
.cts-body p{font-size:15px;line-height:1.95;color:#7a7a7a;margin:0}
.cts-phone{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}
.cts-phone a{font-size:26px;font-weight:800;color:var(--ui-accent);letter-spacing:.5px}
.cts-phone a:hover{filter:brightness(.9)}
.cts-phone em{font-style:normal;font-size:14px;color:#8b8d94}
.cts-bus p{font-size:14px;line-height:1.95;color:#7a7a7a;margin:0 0 6px;padding-left:14px;
  position:relative}
.cts-bus p:last-child{margin-bottom:0}
.cts-bus p::before{content:'';position:absolute;left:0;top:11px;width:4px;height:4px;
  border-radius:50%;background:#d8d8dc}
.cts-qr{padding-top:8px;text-align:center;align-self:center}
/* 二维码：不加描边和底板，白底页直接贴图 */
.cts-qr img{display:block;width:100%;max-width:260px;height:auto;margin:0 auto 14px;
  border:0;background:transparent;padding:0;box-shadow:none}
.cts-qr p{font-size:13px;color:#8b8d94;margin:0}
/* 到校路线：整宽灰带 */
.cts-mapband{background:transparent;padding:0 0 72px}
.cts-mapwrap{max-width:1120px}
.cts-map{margin:0}
.cts-map img{width:100%;height:auto;display:block}

/* 富文本 / CTA */
.richtext-wrap{padding:72px 0}
.richtext-body{max-width:960px;margin:0 auto;font-size:16px;line-height:2;color:#5d6067}
.richtext-body p{margin-bottom:16px}
.richtext-img{margin-top:32px;text-align:center}
.richtext-img img{margin-inline:auto}
.cta-wrap{padding:56px 0;text-align:center}
.cta-lead{font-size:20px;margin-bottom:22px;color:#333}
.cta-buttons{display:flex;justify-content:center;gap:14px;flex-wrap:wrap}

/* 栏目页横幅 —— 原站实测：高 350px、标题左下 x=30 y=250、60px/600，
   英文灰色同行，斜线 18px 于其下 */
.page-banner{height:var(--banner-h,350px);display:flex;align-items:flex-end;position:relative;
             background-color:var(--primary);background-size:cover;
             background-position:center;background-repeat:no-repeat;color:#fff;
             overflow:hidden}
.page-banner::before{content:"";position:absolute;inset:0;background:transparent}
.banner-inner{position:relative;z-index:5;width:100%;max-width:none;margin:0;padding:0 0 15px 30px;
              text-align:left;display:flex;flex-direction:column;align-items:flex-start}
.banner-titleline{display:flex;align-items:baseline;gap:10px;white-space:nowrap}
.banner-title{font-size:60px;line-height:1.08;font-weight:600;letter-spacing:2px;margin:0}
.banner-en{font-family:'Poppins','Roboto',sans-serif;font-size:var(--banner-en-size,30px);font-weight:400;
           letter-spacing:1px;color:#8b8d94;line-height:1}
.banner-slash{letter-spacing:5px;font-size:18px;line-height:1.4;margin-top:2px;opacity:.95}
.banner-sub{margin-top:10px;font-size:16px;opacity:.9}
.banner-deco{position:absolute;z-index:2;pointer-events:none}
.banner-deco-main{right:10%;top:46%;width:270px;transform:translateY(-50%)}
.page-banner.has-wave{background-color:var(--primary)}
.banner-wave{position:absolute;left:0;right:0;bottom:0;width:100%;height:100px;
             z-index:1;object-fit:cover;object-position:center}
.banner-deco-0{right:15%;top:24%;width:138px;opacity:.95}
.banner-deco-1{right:22%;top:20%;width:194px;opacity:.95}
.banner-motto{position:absolute;right:36%;top:17%;z-index:5;color:#fff;
              font-size:16px;line-height:1.7;text-align:left}
.banner-motto .motto-lines{display:block;font-size:16px;line-height:1.7;opacity:.95;white-space:nowrap}
/* 原站作品页横幅顶部深色渐变（实测 y=0 约 65% 黑 → y=180 约 30% → y=240 归零） */
.banner-shade{position:absolute;inset:0 0 auto;height:250px;z-index:1;pointer-events:none;
              background:linear-gradient(to bottom,rgba(18,18,19,.68) 0%,rgba(18,18,19,.45) 45%,
                          rgba(18,18,19,.08) 82%,transparent 100%)}

/* ---------- 4 首页主视觉（按原站截图校准） ---------- */
.hero-scene{position:relative;height:var(--hero-height);min-height:620px;overflow:hidden;
            background:var(--primary);color:#fff}
.hero-bg{position:absolute;inset:0;background-size:cover;background-position:center;
         background-repeat:no-repeat;background-color:var(--primary)}
.hero-grid{position:absolute;inset:0;pointer-events:none;
           background:repeating-linear-gradient(135deg,transparent 0 46px,rgba(255,255,255,.035) 46px 47px)}
.hero-inner{position:relative;z-index:3;height:100%;display:flex;align-items:center;
            padding-left:38px}
.hero-text{transform:translateY(var(--text-drop,0));max-width:620px}
.hero-lead{font-size:32px;font-weight:500;letter-spacing:-1px;line-height:33px;
           text-shadow:0 2px 10px rgba(0,0,0,.12)}
.hero-en{font-family:'Roboto',sans-serif;font-size:21px;font-weight:400;line-height:27px;
         letter-spacing:normal;margin-top:3px;opacity:.95}
.hero-kicker{font-size:85px;line-height:95px;font-weight:800;
             letter-spacing:-4px;margin:1px 0 6px -6px;color:#fff;
             text-shadow:0 3px 14px rgba(0,0,0,.12)}
.hero-tagline{font-size:37px;font-weight:500;letter-spacing:-1px;line-height:37px}
.hero-art-wrap{position:absolute;z-index:2;right:var(--art-right,8%);
               top:calc(50% + var(--art-lift,-100px));width:var(--art-w,54vw);
               transform:translateY(-50%);pointer-events:none}
.hero-art{width:100%;height:auto;display:block}
.hero-scene.is-ready[data-art-float="1"] .hero-art{
  animation:heroBob var(--float-dur,3000ms) ease-in-out .2s infinite alternate}
@keyframes heroBob{
  from{transform:translate(calc(-1*var(--float-sway,6px)),calc(-1*var(--float-range,26px)))
                 rotate(calc(-1*var(--float-tilt,1deg)))}
  to{transform:translate(var(--float-sway,6px),var(--float-range,26px))
               rotate(var(--float-tilt,1deg))}
}
.hero-scene[data-art-float="0"] .hero-art{animation:none}

/* 入场 / 滚动显现 */
[data-reveal]{opacity:0;transform:translateY(24px);transition:opacity .7s,transform .7s}
[data-reveal].is-in{opacity:1;transform:none}

/* 灯箱 */
.lightbox{position:fixed;inset:0;z-index:999;background:rgba(12,12,14,.92);
          display:grid;place-items:center;padding:36px;opacity:0;visibility:hidden;transition:.25s}
.lightbox.is-open{opacity:1;visibility:visible}
.lightbox img{max-width:92vw;max-height:86vh;object-fit:contain}
.lightbox-close{position:absolute;top:22px;right:28px;color:#fff;font-size:38px;line-height:1}
.lightbox-nav{position:absolute;top:50%;color:#fff;font-size:44px;padding:12px 18px;transform:translateY(-50%)}
.lightbox-prev{left:16px}.lightbox-next{right:16px}

/* ---------- 5 响应式 ---------- */
@media (max-width:1100px){
  .main-nav>ul>li>a{padding:10px 8px;font-size:calc(var(--menu-size) - 3px)}
  .footer-top{grid-template-columns:1fr 1fr;gap:32px}
  .footer-map{grid-column:1/-1;max-width:420px}
  .teacher-detail{grid-template-columns:180px minmax(0,1fr);gap:26px}
  .teacher-detail .t-skills{grid-column:2}
  .teacher-detail.layout-skills-text-photo .t-photo{grid-column:1}
  .teacher-detail.layout-skills-text-photo .t-skills{grid-column:2;grid-row:auto}
  .cts-grid{grid-template-columns:1fr;gap:36px;padding:44px 0 48px}
  .cts-qr{order:-1}
}
@media (max-width:820px){
  .site-header{height:72px}
  .header-inner{height:72px}
  .brand img{height:36px}
  .nav-toggle{display:block}
  .main-nav{position:absolute;top:72px;left:0;right:0;background:rgba(24,24,28,.97);
            max-height:0;overflow:hidden;transition:max-height .3s}
  .main-nav.is-open{max-height:70vh;overflow:auto}
  .main-nav>ul{display:block;padding:8px 0}
  .main-nav a{font-size:17px;padding:12px 22px}
  .main-nav ul.sub{position:static;opacity:1;visibility:visible;transform:none;
                   background:rgba(255,255,255,.05);min-width:0}
  .hero-scene{min-height:560px}
  .hero-art-wrap{width:70vw;right:-6%;opacity:.72}
  /* 文字组统一由 6.2 层「固定设计宽度 + 整体等比缩放」处理，
     这里不再单独缩小字号，否则窄屏会换行、打乱整体排版 */
  .stats-grid,.features-grid.cols-3,.ach-grid,.teacher-grid.cols-3{grid-template-columns:1fr}
  .gallery-grid.cols-4{grid-template-columns:repeat(2,1fr)}
  .footer-top{grid-template-columns:1fr}
  .footer-bottom{flex-direction:column}
  .page-banner{height:300px}
  .cts-mapband{padding:40px 0 52px}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  [data-reveal]{opacity:1;transform:none;transition:none}
  .hero-scene.is-ready[data-art-float="1"] .hero-art{animation:heroBobSmall 5s ease-in-out infinite alternate}
  @keyframes heroBobSmall{from{transform:translateY(-8px)}to{transform:translateY(8px)}}
  .skill-fill{transition:none;width:var(--pct)}
}
.motion-off .hero-art{animation:none!important}
.motion-off [data-reveal]{opacity:1;transform:none}

/* ---------- 6 定制覆盖层 ---------- */
/* 1:1 基准之上要做的个性化，统一放这里并做成可开关，便于回退。 */

/* ===== 6.1 1:1 像素校准层 =====
   依据 preview/spec-live.json：原站 1440x900 的 computed style 与包围盒。
   与 tools/specdiff.py 的坐标差报告配合使用，逐项收敛；此层整体可删即回到旧版。 */

/* 顶部：原站 logo [120,31,181,49]，菜单文字 y=45 h=22 */
.site-header .header-inner{padding-left:70px}
.brand img{height:49px}
.brand{transform:translateY(6px)}
.main-nav{margin-left:clamp(24px,20.9vw,301px);transform:translateY(6px)}
.main-nav a{line-height:22px}
.menu-text{display:inline-block}

/* 横幅：标题 [30,250,236,70]，英文 [273,279,*,40]，斜线 y=316 */
.banner-inner{padding:0 0 4px 30px;
              transform:translate(var(--banner-dx,0px),var(--banner-dy,0px))}
.banner-titleline{gap:7px}
.banner-title{font-size:60px;line-height:70px;font-weight:600;letter-spacing:-1px}
.banner-en{font-size:var(--banner-en-size,30px);font-weight:700;line-height:40px;
           letter-spacing:1px;color:rgba(255,255,255,.4)}
.banner-slash{font-size:18px;line-height:30px;margin-top:-4px}
/* 成绩页右上「达人 + 两行标语」：原站 x=938/834 y=132/167/190 */
.banner-motto{left:calc(50% + 114px);top:132px;right:auto;text-align:left;
              font-size:20px;line-height:23.5px}
.motto-da{display:block;font-size:30px;line-height:32px;margin-left:104px}
.banner-motto .motto-lines{font-size:20px;line-height:23.5px;margin-top:3px;
                           color:#fff;opacity:1}
/* 成绩页右上两枚装饰图：原站实测 chengjiye-2 [994,140,134,165]、chengjiye-3 [953,125,193,187] */
.banner-deco-0{right:21.7%;top:140px;width:134px}
.banner-deco-1{right:20.35%;top:125px;width:193px}
/* 联系页右上标语图：原站 [994,168,270,116] */
.banner-deco-main{right:12.2%;top:168px;transform:none;width:270px}

/* 倒计时：34px 引导语 / 16px 注释 / #ff0000 红条内 69px 数字 + 19px「天」 */
.countdown{padding:var(--sec-pad-top,80px) 0 var(--sec-pad-bottom,96px)}
.cd-label{font-size:34px;line-height:41px;color:#3d4046}
.cd-note{font-size:16px;line-height:19px;color:#8b8d94;margin-top:16px}
.cd-question{margin-top:87px;font-size:34px;line-height:41px;color:#2f3136}
.cd-label span,.cd-note span,.cd-question span{display:inline-block}
.cd-num{margin:54px auto 0;max-width:1120px;height:auto;padding:0 0 8px;
        display:block;text-align:center;background:#ff0000;color:#fff;
        font-family:'Poppins',var(--font-zh)}
/* 「17 天」放在同一行：数字与「天」都改行内，天字略小、基线对齐 */
.cd-days{display:inline-block;height:auto;font-size:69px;line-height:69px;font-weight:800}
.cd-num em{display:inline-block;height:auto;font-size:24px;line-height:24px;
           margin-left:8px;vertical-align:baseline;font-style:normal;font-weight:700}

/* 作品页：筛选 7 项 x=400..1040（每项 padding 14 + gap 10），
   8 列格 x=160 宽 131 高 179，第一排 y=420 */
.gallery-wrap{padding:var(--sec-pad-top,10px) 0 var(--sec-pad-bottom,76px)}
.gallery-filters{gap:10px;margin:0 auto 20px;flex-wrap:nowrap}
.filter-chip{padding:0 14px;line-height:40px;font-size:16px;font-weight:500;
             color:#54595f}
.filter-chip:hover{color:#ff0000}
/* 原站：当前分类是红色，其余是深灰（之前写反了，未选中的反而全红） */
.filter-chip.is-on{padding:0 14px;background:transparent;color:#ff0000;font-weight:700}
.gallery-filtered{max-width:1120px;margin:0 auto}
.gallery-grid.cols-8{max-width:1120px;margin-inline:auto;
                     grid-template-columns:repeat(8,1fr);gap:10px}
.gallery-grid.cols-8 .gallery-cell img{height:179px;max-height:none;object-fit:cover}

/* 精彩瞬间：3 列 x=160 宽 367 高 244，第一排 y=521，第二排 y=775 */
.moment-timeline.variant-plain{max-width:1120px;margin:12px auto 0;
                               grid-template-columns:repeat(3,1fr);gap:10px}
.moment-timeline.variant-plain .moment-photo{aspect-ratio:367/244}

/* 成绩年份页：2021 标题与通栏图收进 1120 容器 */
.score-wrap{max-width:1120px;margin-inline:auto}
.score-wrap .section-title{width:1060px;max-width:100%;margin:0 auto 30px}
.score-hero{max-width:1120px}

/* 成绩专题两列图文 */
.score-feature{background:#fff}
.score-feature .container{width:1120px;max-width:calc(100% - 48px)}
.sf-band{background:#f5f5f5}
.layout-poster .sf-grid{display:grid;grid-template-columns:322px 571px;gap:90px;
                        justify-content:start;align-items:start}
.sf-media img{display:block;width:322px;height:564px;object-fit:cover}
.sf-body{text-align:center;padding-top:22px}
.sf-badge{display:block;width:150px;height:150px;margin:0 auto;object-fit:contain}
.sf-title{font-size:34px;line-height:34px;font-weight:700;color:#ff0000;margin:20px 0}
.layout-poster .sf-paras{text-align:left;color:#7a7a7a;font-size:16px;line-height:25.6px}
.sf-paras p{margin-bottom:10px}
.layout-photo .sf-photo-grid{padding-top:96px}
.sf-title.sf-center{text-align:center;color:#333;line-height:41px;margin:0 0 32px}
.sf-cols{display:grid;grid-template-columns:471px 645px;gap:0;align-items:start}
.sf-badge-col .sf-badge{width:200px;height:200px;margin:5px 0 0 80px}
.sf-photo-col img{display:block;width:645px;height:446px;object-fit:cover}
.layout-photo .sf-paras{margin-top:24px;text-align:left;color:#7a7a7a;
                        font-size:16px;line-height:25.6px}

/* 作品页：原站 masonry 不等宽格子（含末张跨两列），逐格绝对定位 */
.gallery-exact{position:relative;width:100vw;margin-left:calc(50% - 50vw)}
.gallery-exact .gallery-cell{position:absolute;overflow:hidden;background:#fff}
.gallery-exact .gallery-cell img{width:100%;height:100%;object-fit:cover}

/* 战绩主页：原站 Slider Revolution 3D carousel，左右两张被视口裁切 */
.achievement-wrap.variant-exact{padding:0;background:#fff}
.ach-posters-exact{position:relative;width:100vw;margin-left:calc(50% - 50vw);overflow:hidden}
.ach-posters-exact .ach-poster{position:absolute;display:block;overflow:hidden;background:none}
.ach-posters-exact .ach-poster img{display:block;width:100%;height:100%;
                                  object-fit:cover;object-position:top center;aspect-ratio:auto}

/* 教师子页：左侧 540x405 合成图（海报+人像烘焙在图里）+ 右侧文字与技能条。
   原站实测：图 170,494 540x405 / 文字 730,511 540 宽 / 技能条 830,742 340x20，条距 40。
   之前用绝对定位按坐标摆放，正文一长（孟凡超）就压到技能条上，
   这里改成「左图 + 右列(文字→技能条)」的流式两栏，长文自然把技能条推下去。 */
.module-teacher_detail .teachers-wrap{width:1120px;max-width:calc(100% - 48px)}
.module-teacher_detail .teacher-detail.has-poster{
  display:grid;grid-template-columns:540px minmax(0,1fr);
  grid-template-rows:auto auto;column-gap:20px;align-items:start;
  height:auto;padding:0 0 48px}
.module-teacher_detail .teacher-detail.has-poster .t-photo{
  grid-column:1;grid-row:1/3;position:static;left:auto;top:auto;
  width:540px;height:405px;max-width:none;aspect-ratio:auto;margin:0}
.module-teacher_detail .teacher-detail.has-poster .t-photo img{width:100%;height:100%;
  object-fit:cover;object-position:center}
.module-teacher_detail .teacher-detail.has-poster .t-text{
  grid-column:2;grid-row:1;position:static;left:auto;top:auto;
  width:auto;margin:0;padding-top:17px}
.module-teacher_detail .teacher-detail.has-poster .t-skills{
  grid-column:2;grid-row:2;position:static;left:auto;top:auto;
  width:340px;margin:20px 0 0}
.module-teacher_detail .t-role{color:#333}
.module-teacher_detail .t-bio{color:#7a7a7a}

/* 原站 carousel 海报 data-bg="f:contain"：590x800 等比内缩、四周留白，不能裁切 */
.ach-posters-exact .ach-poster img{object-fit:contain;object-position:center center;background:#fff}
/* 教师子页：技能条间隔收到 40px，隐藏首屏外按钮 */
.module-teacher_detail .skill-bar{margin-bottom:5px}
.module-teacher_detail .t-text .btn{display:none}
/* 2021 年份页：标题色用原站 rgb(84,89,95)，首图上移 6px 对齐 y=544 */
.score-wrap .section-title{color:#54595f}
.score-hero{margin-top:-6px}
/* 倒计时引导语与问句：原站 rgb(84,89,95) */
.cd-label,.cd-question{color:#54595f}
/* 精确网格之后继续输出其余作品，保证 206 张作品不丢失 */
.gallery-rest{margin-top:26px}

/* ---- 本轮 1:1 校准（全部可删回退） ---- */
/* 首页主标题：原站 rs-layer 用 Poppins / 85px / -4px / x=112 */
.hero-kicker{font-family:'Poppins',var(--font-zh);margin-left:-6px}
/* 2021 年份页：原站异形图文，逐图按视口坐标绝对定位 */
.score-exact{position:relative;width:100vw;margin-left:calc(50% - 50vw)}
.score-cell-exact{position:absolute;display:block;object-fit:cover}
/* 战绩主页 3D 海报：透视只作用在图片内部，外层包围盒保持实测值 */
.ach-posters-exact .ach-poster img{transform-origin:center center}
/* 作品页横幅：原站整体比本地素材暗，右侧尤甚（实测 209→167，约 18% 黑） */
.page-banner.has-shade::before{
  background:linear-gradient(to right,rgba(0,0,0,.07),rgba(0,0,0,.18))}
/* 原站轮播箭头：40x40 / rgba(0,0,0,.5) / [30,780] [1370,780] */
.ach-nav{position:absolute;top:303px;width:40px;height:40px;
         border:0;padding:0;background:rgba(0,0,0,.5);color:#fff;
         font-size:22px;line-height:40px;text-align:center;cursor:pointer;z-index:6}
.ach-nav-prev{left:30px}
.ach-nav-next{left:1370px}
/* 教师子页技能条：原站 20px 高 / 340px 宽 / #ff894d 纯色 / 标签叠在条内 */
.module-teacher_detail .teacher-detail.has-poster .t-skills{width:340px}
.module-teacher_detail .teacher-detail.has-poster .skill-track{height:20px;background:#eee;border-radius:0}
.module-teacher_detail .teacher-detail.has-poster .skill-fill{background:#ff894d;border-radius:0;width:var(--pct)}
.module-teacher_detail .skill-bar{position:relative;height:20px;margin-bottom:20px}
.module-teacher_detail .teacher-detail.has-poster .skill-head{
  position:absolute;inset:0;z-index:2;margin:0;align-items:center;
  padding:0 8px;color:#fff;font-size:11px}
.module-teacher_detail .skill-head span[data-count]{margin-left:auto}

/* ===== 6.2 首页校准层 =====
   依据 preview/live/home-full.spec.json（--settle 可靠基准，已通过
   tools/verify.py 的「截图像素 / 线上 DOM / 原站 HTML」三重对账）。
   统一强调色走 theme.uiAccent -> --ui-accent，后台改一处即可全站同步。 */

/* 马：只做上下浮动，不带横向位移与旋转 */
@keyframes heroBob{
  from{transform:translateY(calc(-1*var(--float-range,26px)))}
  to{transform:translateY(var(--float-range,26px))}
}
.hero-scene.is-ready[data-art-float="1"] .hero-art{will-change:transform}

/* 文字组：固定 620px 设计宽度，任何窄屏都整体等比缩放，不重排、不换行 */
.hero-text{width:620px;max-width:none;flex:0 0 620px;
  transform:translateY(var(--text-drop,0)) scale(var(--hero-scale,1));
  transform-origin:left top}
.hero-text p,.hero-text h1{white-space:nowrap}
@media (max-width:1200px){.hero-text{--hero-scale:.92}}
@media (max-width:1000px){.hero-text{--hero-scale:.78}}
@media (max-width:820px){.hero-text{--hero-scale:.64}}
@media (max-width:640px){.hero-text{--hero-scale:.50}}
@media (max-width:480px){.hero-text{--hero-scale:.40}}
@media (max-width:380px){.hero-text{--hero-scale:.34}}

/* 数字统计：三列 380 / 50px 600 红字 / 16px 灰说明 / 无按钮 */
.module-stats .stats-wrap{padding:var(--sec-pad-top,90px) 0 var(--sec-pad-bottom,0px)}
.module-stats .stats-grid{max-width:1140px;margin:0 auto;
  grid-template-columns:repeat(3,380px);gap:0}
.module-stats .stat-card{padding:0 20px;text-align:center}
.module-stats .stat-num{position:relative;top:11px;font-family:'Poppins',var(--font-zh);font-size:50px;
  font-weight:600;line-height:50px;color:var(--ui-accent)}
.module-stats .stat-value,.module-stats .stat-suffix{font-size:50px;font-weight:600}
.module-stats .stat-card p{margin-top:20px;font-size:16px;line-height:1.6;color:#7a7a7a}

/* 「这是一个 用心做教育 的画室」：居中标题 + 左石膏像 / 右正文 */
.module-intro .intro-wrap{padding:var(--sec-pad-top,80px) 0 var(--sec-pad-bottom,0px);text-align:center}
.module-intro .intro-kicker{font-size:34px;font-weight:700;color:#54595f}
.module-intro .intro-kicker strong{color:inherit;font-weight:inherit}
/* 原站 animated-headline 的橙色弧形下划标记（x645..828 / 13px 高） */
.module-intro .intro-hl{position:relative;display:inline-block}
.module-intro .intro-underline{position:absolute;left:-4%;bottom:-11px;width:108%;height:13px;
  overflow:visible;pointer-events:none}
.module-intro .intro-cols{max-width:1140px;margin-left:auto;margin-right:auto;display:grid;grid-template-columns:477px 663px;
  margin-top:51px;text-align:left}
.module-intro .intro-figure{display:flex;justify-content:center;align-items:flex-start}
.module-intro .intro-figure img{margin-left:28px;width:400px;height:247px;object-fit:contain}
.module-intro .intro-copy{padding-top:18px;padding-left:10px;
  color:#7a7a7a;font-size:16px;line-height:1.7}
.module-intro .intro-copy p{margin:0 0 10px}

/* 三个优势卡片：灰底上的纯白 280px 卡片 / 32px 原站实心红图标 / 20px 标题 / 圆点正文 */
.module-cards .features-wrap{padding:var(--sec-pad-top,60px) 0 var(--sec-pad-bottom,0px)}
.module-cards .features-grid{max-width:1140px;margin:0 auto;
  grid-template-columns:repeat(3,380px);gap:0}
/* 三个优势卡片：白底块面靠灰/白反差区分，原站无投影（用户要求去掉阴影） */
.module-cards .feature-card{width:280px;margin:0 auto;padding:20px 15px 24px;
  background:#fff;border:0;box-shadow:none;text-align:center}
/* 首页卡片落在浅灰带上，原站无投影，靠白底与灰底反差区分；内边距对齐原站 15px */
.page-home .module-cards .features-grid{align-items:start}
.page-home .module-cards .feature-card{box-shadow:none;padding:12px 15px 15px}
.module-cards .feature-card:hover{transform:none;box-shadow:none}
.module-cards .feature-icon{width:32px;height:auto;min-height:32px;margin:0 auto 12px;
  background:none;border-radius:0;color:var(--ui-accent);font-size:32px;
  display:grid;place-items:center}
/* 只有 feature 变体用原站实心图标；advantage 变体仍是白色线性勾 */
/* 三个图标统一进 32x32 图标框：各自 viewBox 不同，用 none 铺满同一尺寸，
   消除原站 21 / 31 / 36px 的高度差；矢量拉伸在此尺寸下不可见 */
.module-cards .variant-feature .feature-icon svg{width:32px;height:32px;
  fill:var(--ui-accent);stroke:none;
  transform:scale(var(--icon-fit-x,1),var(--icon-fit-y,1))}
/* 各 glyph 在原 viewBox 内留白不同，微调到三者实际图形同为约 32x32 */
.module-cards .feature-icon[data-icon="users"] svg{--icon-fit-y:1.1}
.module-cards .feature-icon[data-icon="fa-users"] svg{--icon-fit-y:1.1}
.module-cards .feature-icon[data-icon="yen-sign"] svg,
.module-cards .feature-icon[data-icon="fa-yen-sign"] svg{--icon-fit-x:1.1;--icon-fit-y:1.1}
.module-cards .variant-advantage .feature-icon svg{width:20px;height:20px;
  fill:none;stroke:currentColor;color:#fff}
.module-cards .feature-card h3{font-size:20px;font-weight:700;color:#54595f;margin:0 0 10px}
.module-cards .feature-body{text-align:left}
.module-cards .feature-list{margin:0;padding-left:18px;list-style:disc;
  color:#8b8d94;font-size:16px;line-height:1.7}
.module-cards .feature-list li{margin-bottom:4px}

/* 达人名师团队：34px 标题 / 288x375 照片 / 20px 姓名 / 橙色按钮 */
.module-teachers .teachers-wrap{padding:var(--sec-pad-top,70px) 0 0}
.module-teachers .section-title{font-size:34px;font-weight:700;color:#54595f}
/* 原站「达人作品」标题实测 34px / 700 / #54595f，不是默认 38px 深黑 */
.page-home .module-gallery .section-title{font-size:34px;font-weight:700;
  color:#54595f;letter-spacing:0}
.module-teachers .section-sub{font-size:16px;color:#8b8d94;
  max-width:1060px;margin:10px auto 0}
.module-teachers .teacher-grid{max-width:1140px;margin:40px auto 0;
  grid-template-columns:repeat(3,380px);gap:0}
.module-teachers .teacher-card{background:none;padding-bottom:0;text-align:center}
.module-teachers .teacher-card:hover{transform:none;box-shadow:none}
.module-teachers .tc-photo{width:288px;height:375px;margin:0 auto;
  aspect-ratio:auto;overflow:hidden}
.module-teachers .tc-photo img{width:100%;height:100%;object-fit:cover;object-position:top center}
.module-teachers .teacher-card h3{margin-top:8px;font-size:20px;font-weight:700;color:#54595f}
.module-teachers .teacher-card p{margin-top:2px;font-size:16px;color:#8b8d94}
.module-teachers .tc-more{display:inline-block;margin-top:14px;padding:2px 8px;
  background:#ff7a33;color:#fff;font-size:13px;font-weight:400;border-radius:2px}

/* 原站右列：独立「达人画室」小标题 + 每段首行缩进两字 */
.module-intro .intro-split .intro-label,.module-intro .intro-label{
  font-size:18px;font-weight:700;color:#3d4451;letter-spacing:0;
  text-align:left;margin:0 0 14px;text-indent:0}
.module-intro .intro-split .intro-copy p:not(.intro-label){text-indent:2em}
/* 窄屏时以上三列栅格退化为单列，保持内容完整不挤压 */
@media (max-width:760px){
  .module-stats .stats-grid,.module-cards .features-grid,
  .module-teachers .teacher-grid{grid-template-columns:1fr;max-width:92%}
  .module-intro .intro-cols{grid-template-columns:1fr}
  .module-intro .intro-copy{padding-top:20px}
  .module-cards .feature-card{width:100%;max-width:420px}
}

/* ===== 6.3 手机端顶部：logo 靠左（原站 390 宽实测 logo 起点 x≈20px） =====
   桌面 6.1 层的 padding-left:70px 会把窄屏 logo 推到 94px，这里在最后覆盖。
   同时恢复响应式原本的 36px logo 高度（363x98 图片等比 -> 133px 宽，与原站一致）。 */
@media (max-width:820px){
  .site-header .header-inner{width:calc(100% - 32px);padding-left:0}
  .brand img{height:36px}
  .brand{transform:none}
  .main-nav{margin-left:0;transform:none}
  .nav-toggle{margin-right:24px}
}

/* ===== 6.4 首页定制层（用户主动要求，删除本段即可回到 1:1） ===== */
/* 「更多作品」按钮与统一 UI 主色一致（原来走 --primary #cb000d） */


/* 倒计时：去掉红色底条，改为红色字体的天数 */
.cd-num{background:transparent!important;color:var(--ui-accent);padding-bottom:0}
.cd-days,.cd-num em{color:inherit}

/* 页脚：恢复原站四列（二维码 / 联系方式 / 地址公交 / 地图） */
.footer-top{grid-template-columns:repeat(4,minmax(0,1fr));gap:0;
            padding-top:8px;padding-bottom:44px}
.footer-col{padding:0}
.footer-qr{margin:0;width:262px;max-width:100%;padding:0;background:none}
.footer-qr img{width:100%;height:auto;display:block;background:#fff;padding:6px}
.footer-qr figcaption{margin-top:10px;text-align:center;font-size:12px;
  letter-spacing:1px;color:#c9cbd0}
.footer-contact{text-align:center;padding:0 14px}
.footer-contact .footer-slogan{font-size:18px;font-weight:700;color:#fff;
  letter-spacing:2px;margin:0 0 18px}
/* 口号下的红色装饰线默认不输出，由 footer.showSloganRule 控制 */
.footer-slogan-rule{display:block;width:52px;height:2px;
  background:var(--ui-accent);margin:0 auto 16px}
.footer-contact .footer-teacher,.footer-contact .footer-phone{
  display:flex;align-items:center;justify-content:center;gap:8px}
.footer-contact .icon{width:16px;height:16px;flex:none;color:var(--ui-accent)}
.footer-teacher{font-size:16px;color:#fff;margin-bottom:4px}
.footer-phone{font-size:17px;font-weight:700;color:#fff;letter-spacing:.5px;margin-bottom:0}
.footer-services{margin:14px 0 0;padding:14px 0 0;
  border-top:1px solid rgba(255,255,255,.12)}
/* 三项服务统一浅灰，不再单独把中间一行提亮 */
.footer-services li{font-size:13.5px;line-height:2;letter-spacing:.3px;color:#c9cbd0}
.footer-intro{font-size:14px;line-height:1.9;color:#c9cbd0;max-width:250px;margin:0 auto}
.footer-route{padding:0 18px 0 22px}
.footer-route p{font-size:13px;line-height:1.85;color:#aeb1b8;margin-bottom:8px}
.footer-map .map-figure{width:261px;max-width:100%;margin-left:auto;margin-right:0}
.footer-map .map-figure img{height:261px;object-fit:cover}
.footer-bottom{flex-direction:column;align-items:center;justify-content:center;
               gap:8px;text-align:center;padding-top:16px}
.footer-bottom p{display:flex;flex-wrap:wrap;justify-content:center;gap:10px}
.footer-bottom a{color:inherit}
/* 底部小 logo：原站白色印章素材 + 纯白滤镜（后台换图也不会变成暗红） */
.footer-mini-logo{width:30px;height:30px;object-fit:contain;opacity:1;
  filter:brightness(0) invert(1)}
@media (max-width:1100px){
  .footer-top{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 20px}
  .footer-map{grid-column:auto;max-width:none}
  .footer-map .map-figure{margin-inline:auto}
  .footer-qr{margin-inline:auto}
  .footer-route{padding:0}
}
@media (max-width:820px){
  .footer-top{grid-template-columns:1fr;gap:26px}
  .footer-route{text-align:left}
  .footer-map .map-figure img{height:220px}
}

/* ===== 6.5 内页横幅 / 手机菜单统一模板（按原站实测，删除本段可回到旧版） ===== */
/* PC 横幅：英文改回原站 Roboto / 去掉额外字距 / 下移 3px；斜线 300 字重 + 6px 字距 */
.banner-en{font-family:'Roboto',sans-serif;letter-spacing:0;
           position:relative;top:3px}
.banner-slash{font-weight:300;letter-spacing:6px}
/* 抽屉相关元素在桌面端不出现 */
.nav-close,.sub-toggle,.nav-overlay,.nav-toggle-caption{display:none}

@media (max-width:820px){
  /* 横幅：原站 390 宽实测高 163px、标题 34/39、英文 15/21、斜线 12/19 单行 */
  .page-banner{height:163px}
  .banner-inner{padding:0 16px 2px;transform:none}
  .banner-titleline{gap:9px}
  .banner-title{font-size:34px;line-height:39px;letter-spacing:-.5px}
  .banner-en{font-size:15px;line-height:21px;top:0}
  .banner-slash{font-size:12px;line-height:19px;letter-spacing:2.5px;
                margin-top:0;white-space:nowrap}
  .banner-sub{font-size:12px;line-height:18px;margin-top:3px}
  /* 装饰同步缩小并靠右，避免与标题/英文/菜单按钮重叠（参照原站窄屏） */
  .banner-deco-main{width:118px;right:2%;top:46%}
  .banner-deco-0{width:62px;right:4%;top:34%}
  .banner-deco-1{width:86px;right:2%;top:32%}
  .banner-motto{left:auto;right:34%;top:42%;font-size:9px;text-align:left}
  .banner-motto .motto-da{font-size:13px}
  .banner-motto .motto-lines{font-size:8px;line-height:1.5}
  .banner-wave{height:55px}
}

/* 6.8.4 抽屉菜单断点 = 1024px（原站实测：1024 宽已是汉堡「菜单」，
   不再是横向菜单；此前我们到 820 才切换，导致 861~1024 横向菜单
   撑出画面、页面出现横向滚动条。横幅等其它窄屏规则仍在 820 以下）。 */
@media (max-width:1024px){
  .site-header{height:80px}
  .header-inner{height:80px}
  .site-header .header-inner{width:calc(100% - 32px);padding-left:32px}
  .nav-toggle{display:flex}
  .main-nav{margin-left:0;transform:none}
  /* 右侧白色抽屉：原站 .dt-mobile-header x=190 w=200 / 遮罩 rgba(0,0,0,.5) */
  .site-header{z-index:9700}
  .site-header .main-nav{position:fixed;top:0;left:auto;right:0;
    width:200px;max-width:85vw;height:100vh;max-height:none;
    margin:0;transform:translateX(100%);background:#fff;color:#333;
    overflow-y:auto;z-index:9602;padding-top:45px;
    transition:transform .35s ease;box-shadow:-4px 0 18px rgba(0,0,0,.12)}
  .site-header .main-nav.is-open{transform:translateX(0);max-height:none;overflow-y:auto}
  .nav-overlay{display:block;position:fixed;inset:0;z-index:9601;
    background:rgba(0,0,0,.5);opacity:0;visibility:hidden;
    transition:opacity .35s ease,visibility .35s}
  .nav-overlay.is-open{opacity:1;visibility:visible}
  .nav-close{display:flex;align-items:center;justify-content:center;
    position:absolute;top:15px;right:13px;width:30px;height:30px;
    background:var(--ui-accent);color:#fff;font-size:20px;line-height:1;
    z-index:9999}
  .site-header .main-nav>ul{display:block;padding:0 28px 24px 30px}
  .site-header .main-nav>ul>li{position:relative;border-bottom:1px solid #e8e8e8}
  .site-header .main-nav>ul>li>a{display:block;height:50px;
    padding:15.2px 25px 15.2px 0;box-sizing:border-box;
    font-size:16px;line-height:19.6px;color:#333;background:none}
  .site-header .main-nav>ul>li.is-current>a{color:var(--ui-accent);background:none}
  .site-header .main-nav a:hover{background:none;color:var(--ui-accent)}
  /* 子菜单默认收起，点 + 展开 */
  .site-header .main-nav ul.sub{display:none;position:static;opacity:1;
    visibility:visible;transform:none;min-width:0;background:none;
    padding:0 0 8px 12px}
  .site-header .main-nav li.is-sub-open>ul.sub{display:block}
  .site-header .main-nav ul.sub a{height:auto;padding:4.8px 0;
    font-size:14px;line-height:20px;color:#555}
  .sub-toggle{display:flex;align-items:center;justify-content:center;
    position:absolute;right:0;top:10px;width:30px;height:30px;
    font-size:20px;color:#b6b8bd;background:none}
  li.is-sub-open>.sub-toggle{color:var(--ui-accent)}
  /* 汉堡按钮：原站 x=304 w=66，三条杠 + "菜单" */
  .site-header .nav-toggle{display:flex;align-items:center;gap:5px;
    width:66px;height:36px;padding:0;margin-right:4px;color:#fff}
  .nav-bars{display:block;width:24px;flex:none}
  .nav-bars>span{display:block;height:2px;background:#fff;margin:4px 0;transition:.25s}
  .nav-toggle-caption{display:inline;font-size:14px;line-height:20px;color:#fff}
  body.nav-open{overflow:hidden}
}

/* ===== 6.6 内页统一模板：宽屏 1440 网格 / 手机宽松间距 / 简介印章版 =====
   三项都按原站实测；本段可整段删除回退。
   6.6.1 原站 RevSlider 用固定 1440 设计网格 + fullwidth：视口宽于 1440 时
         图层组随网格居中右移 (W-1440)/2（实测 1440→48 / 1600→128 / 1920→288），
         而不是贴死左边。标题与右上装饰都收进 .banner-grid，百分比定位同样
         基于 1440 网格；波浪底/渐变遮罩留在外层铺满整屏。手机窄屏网格宽度
         等于视口宽度，因此版式完全不变。 */
.banner-grid{position:relative;width:100%;max-width:var(--banner-grid,1440px);
             height:100%;margin-inline:auto;display:flex;align-items:flex-end}

/* 6.6.2 达人简介「达人画室简介」印章版：浅灰整宽色带 + 居中 100px 印章
   + 20px/700 小标题 + 1120px 左对齐、首行缩进两字的 16px 灰正文。
   原站实测 figure y=701 h=138、figcaption 20px/700 #54595f、正文
   16px/25.6px #7a7a7a、section padding 30px。底色/上下留白由 section 的
   background、padTop、padBottom 配置驱动，正文宽度与颜色由 section 字段驱动。 */
.intro-seal{text-align:center}
.intro-seal-figure{margin:0}
.intro-seal-logo{display:block;width:100px;height:100px;margin:0 auto;object-fit:contain}
.intro-seal-caption{margin-top:8px;font-size:20px;font-weight:700;line-height:30px;
                    color:#54595f;text-align:center}
.intro-seal-label{margin:6px 0 0;font-size:16px;color:#7a7a7a}
.intro-seal-body{max-width:var(--intro-w,1120px);margin:20px auto 0;text-align:left;
                 color:var(--intro-col,#7a7a7a);font-size:var(--intro-fs,16px);
                 line-height:var(--intro-lh,25.6px)}
.intro-seal-body p{margin:0 0 10px;text-indent:var(--intro-indent,2em)}
.intro-seal-body p:last-child{margin-bottom:0}

/* 6.6.3 宽屏统计卡内部留白：原站 elementor 卡片为 20px 上 / 30px 下留白，
   旧版靠 .stat-num{top:11px} 硬顶到视觉中心。配置 statPadTop 后把该微调归零，
   仅宽屏生效（手机窄屏已按 6.6.4 另行校准）。 */
@media (min-width:821px){
  .module-stats .stat-card{padding-top:var(--stat-card-pt,0px);
                           padding-bottom:var(--stat-card-pb,0px)}
  .module-stats .stat-num{top:var(--stat-num-top,11px)}
}

/* 6.6.4 手机窄屏：原站 about 整页 3789px，旧版仅 3280px，版块贴得太紧。
   统计三块之间、统计→简介、简介→卡片、卡片之间统一放宽；数值由主题外观的
   mobileSectionGap / mobileSectionPadTop / mobileSectionPadBottom 控制。
   只作用于内页（首页有自己的一套校准值），且仅窄屏生效，PC 不受影响。 */
@media (max-width:820px){
  body:not(.page-home) .module-stats .stats-grid{row-gap:var(--m-sec-gap)}
  body:not(.page-home) .module-stats .stats-wrap{
    padding-top:var(--m-sec-pad-top);padding-bottom:var(--m-sec-pad-bottom)}
  body:not(.page-home) .module-intro .intro-wrap{
    padding-top:var(--m-sec-pad-top);padding-bottom:var(--m-sec-pad-bottom)}
  body:not(.page-home) .module-cards .features-wrap{
    padding-top:var(--m-sec-pad-top);padding-bottom:var(--m-sec-pad-bottom)}
  body:not(.page-home) .module-cards .features-grid{row-gap:var(--m-sec-gap)}
  body:not(.page-home) .module-teachers .teachers-wrap,
  body:not(.page-home) .module-gallery .gallery-wrap,
  body:not(.page-home) .module-moments .moments-wrap,
  body:not(.page-home) .module-achievement .achievement-wrap{
    padding-bottom:var(--m-sec-pad-bottom)}
  body:not(.page-home) .section-title{margin-bottom:var(--m-sec-gap)}
  /* 印章版正文在窄屏留 40px 边距，避免贴边 */
  .intro-seal-body{width:calc(100% - 40px);line-height:1.9}
}

/* ===== 6.7 内页横幅动效层（对齐原站 RevSlider 图层参数） =====
   原站每个图层都带 data-frame_* / data-loop_999，实测三条：
   1 标题「关于达人」data-frame_1 st:490 sp:1000，从 x:-100% 滑入；
   2 英文「ABOUT US」同上，st:990；
   3 斜线「/ 用 / 艺 / 术 / 照 / 亮 / 前 / 路 /」st:1510 淡入，随后
     data-loop_999="rY:10deg;sp:9000;e:sine.inOut;yyr:t" —— 绕 Y 轴
     sin 缓动往复摆动，永不停止（实测投影宽度在 382~422px 间呼吸）。
   联系页手写图 lianxiye-2-1.png 则是
     data-loop_999="sX:.8;sY:.8;sp:2000;e:power0.inOut;yys:t;yyf:t"
     —— 1 与 0.8 之间匀速呼吸缩放。
   全部可用 body.motion-off 或系统「减少动效」关掉。 */
.banner-inner{perspective:1200px}
.banner-title{animation:bnInLeft 1s cubic-bezier(.16,.84,.44,1) .49s both}
.banner-en{animation:bnInLeft 1s cubic-bezier(.16,.84,.44,1) .99s both}
.banner-slash{animation:bnInFade .7s ease-out 1.5s both,
                        bnSway 2.8s ease-in-out 2.2s infinite alternate}
.banner-deco.is-breath{transform-origin:50% 50%;
  animation:bnDecoIn 1s cubic-bezier(.16,.84,.44,1) both,
            bnDecoBeat 2s linear 1s infinite alternate}
/* 成绩页右上书法图案：原站 data-loop_999="sX:.9;sY:.9;sp:6000;st:500" 慢速呼吸 */
.banner-deco.is-breath-slow{transform-origin:50% 50%;
  animation:bnDecoIn 1s cubic-bezier(.16,.84,.44,1) both,
            bnDecoBeatSlow 6s linear 1.2s infinite alternate}
@keyframes bnInLeft{from{opacity:0;transform:translateX(-100%)}to{opacity:1;transform:none}}
@keyframes bnInFade{from{opacity:0}to{opacity:.95}}
@keyframes bnSway{from{transform:rotateY(-10deg)}to{transform:rotateY(10deg)}}
@keyframes bnDecoIn{from{scale:.8}to{scale:1}}
@keyframes bnDecoBeat{from{scale:1}to{scale:.8}}
@keyframes bnDecoBeatSlow{from{scale:1}to{scale:.9}}
/* 关掉动效时回到「静止基线」：不加动画、不复位位移，保证截图与像素对账可信 */
body.motion-off .banner-title,
body.motion-off .banner-en,
body.motion-off .banner-slash,
body.motion-off .banner-deco,
html.motion-off .banner-title,
html.motion-off .banner-en,
html.motion-off .banner-slash,
html.motion-off .banner-deco{animation:none!important;transform:none!important;
  scale:none!important;opacity:1!important}
@media (prefers-reduced-motion:reduce){
  .banner-title,.banner-en,.banner-slash,.banner-deco{animation:none!important;
    transform:none!important;scale:none!important;opacity:1!important}
}


/* ===== 6.8 过渡态自适应（宽三栏 → 窄三栏 → 单栏，中途不越界） ===== */

/* 6.8.1 成绩页右上「达人 + 两行标语 + 梦想绽放书法」整体缩放盒
   原站四件元素各自按 1440 网格定位，窄屏时字号/图片单独缩小，相对位置会乱。
   这里把它们收进 313x187 固定设计盒（= 1440 下实测外框 x834..1147 / y125..312），
   内部只用固定相对坐标，靠 --em 整体等比缩放，任何宽度排版比例都不变。
   缩放只在标题右缘逼近时启动：--em = (视口 - 416) / 607，最小 .42。 */
.banner-emblem{position:absolute;z-index:5;width:313px;height:187px;
  /* --em 是无单位缩放比，由下方媒体查询给分档默认值，app.js fitEmblem() 再按
     容器宽度写入精确值（CSS 里无法把长度换成无单位数，clamp 混用会整条失效） */
  --em:1;
  right:calc(294px * var(--em));top:calc(125px * var(--em));
  transform:scale(var(--em));transform-origin:100% 0}
.banner-emblem .banner-motto{position:absolute;left:0;top:7px;right:auto;
  width:313px;text-align:left;color:#fff;font-size:20px;line-height:23.5px}
.banner-emblem .motto-da{display:block;font-size:30px;line-height:32px;margin-left:104px}
.banner-emblem .banner-motto .motto-lines{display:block;white-space:nowrap;
  font-size:20px;line-height:23.5px;margin-top:3px;color:#fff;opacity:1}
/* 两枚装饰：1440 实测 chengjiye-2 [994,140,134,165]、chengjiye-3 [953,125,193,187] */
.banner-emblem .banner-deco-0{left:160px;top:15px;right:auto;width:134px}
.banner-emblem .banner-deco-1{left:119px;top:0;right:auto;width:193px}

/* 6.8.2 定宽三栏 → 流式三栏
   原 380 / 280px 定宽在 760~1140 之间不收缩，第三栏被推出画面。
   改 minmax(0,1fr)：1440 下仍是 380/280（布局零变化），窄屏等比收窄。
   仅在 ≥761px 生效，≤760 仍走 6.5 段已调好的单列，不覆盖手机版式。 */
@media (min-width:761px){
  .module-stats .stats-grid,
  .module-cards .features-grid,
  .module-teachers .teacher-grid{width:100%;
    grid-template-columns:repeat(3,minmax(0,1fr))}
  .module-stats .stat-card{min-width:0}
  /* 原站是 380 栏内的 280px 白卡（左右各留 50px 空白），收窄时同步留 40px 间隔 */
  .module-cards .feature-card{width:min(280px, calc(100% - 40px))}
  .module-teachers .tc-photo{width:min(288px,100%);height:auto;aspect-ratio:288/375}
  /* 首页简介左栏 477 + 右栏 663 改为等比两栏 */
  .module-intro .intro-cols{grid-template-columns:minmax(0,477fr) minmax(0,663fr)}
  .module-intro .intro-figure img{max-width:100%;height:auto}
}

/* 6.8.3 作品页 masonry：固定像素画布整体等比缩放（app.js fitExactGalleries）
   画布原本是 100vw 满屏出血（原站 1280 设计宽度），缩放层也必须是满屏宽，
   否则容器只有 1200 会把右侧格子裁掉。 */
.gallery-stage{position:relative;width:100vw;margin-left:calc(50% - 50vw)}
.gallery-stage .gallery-exact{transform-origin:0 0}
/* 手机：固定像素排版再怎么缩也只有 100 多像素宽，改成常规三列方图网格，
   格子坐标（inline width/height/left/top）全部让位给栅格。 */
@media (max-width:820px){
  .gallery-stage{width:auto;margin-left:0}
  .gallery-stage .gallery-exact{transform:none!important;height:auto!important;
    display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
  .gallery-stage .gallery-exact .gallery-cell{position:static!important;
    width:auto!important;height:auto!important;aspect-ratio:1}
}

@media (max-width:820px){
  /* 窄屏：缩到 0.4~0.5，贴右上方，位于页头按钮与标题之间不与其交叠 */
  .banner-emblem{right:16px;top:66px}
  .banner-en{font-size:14px;line-height:20px;top:0}
}
/* 6.8.4-b 整体缩放盒的分档默认值（js 不可用时也不会撑破版面） */
@media (max-width:1240px){.banner-emblem{--em:.9}}
@media (max-width:1100px){.banner-emblem{--em:.78}}
@media (max-width:980px){.banner-emblem{--em:.68}}
@media (max-width:900px){.banner-emblem{--em:.5}}
@media (max-width:520px){.banner-emblem{--em:.42}}

/* 6.8.5 1025~1240 之间横向菜单仍偏宽（8 项 ≈ 700px），
   原站这一段会收紧字号并让菜单整体左移。这里同步压缩，避免撑出画面。 */
@media (max-width:1240px){
  .main-nav{margin-left:clamp(16px, calc(70px + (100vw - 1100px) * 1.1), 301px)}
  .main-nav>ul>li>a{padding:10px 7px;font-size:calc(var(--menu-size) - 3px)}
}
/* 抽屉关闭态用 translateX(100%) 停在画面外，会撑出 1 个抽屉宽度的横向滚动条。
   用 clip 裁掉（不影响 sticky / fixed 定位），彻底消除横向滚动。 */
html{overflow-x:hidden;overflow-x:clip}

/* ===== 6.9 师资力量页（达人名师优势 / 达人名师团队 / 我们的团队优势） ===== */

/* 6.9.1 优势卡片：原站是灰带 #f5f5f5 上的 32px 红色实心图标，
   没有白色卡片底板；每张卡上下各 50px 留白、行间无缝。
   灰带色与首页「画室特点」同色（#f5f5f5），已在 site.config 里给两个分区配同色。 */
.module-cards .variant-advantage .feature-card{background:none;border:0;box-shadow:none;
  width:min(280px,calc(100% - 40px));margin:0 auto;
  padding:var(--card-pad-y,50px) 0}
.module-cards .variant-advantage .feature-card:hover{transform:none;box-shadow:none}
.module-cards .variant-advantage .feature-icon{width:32px;height:32px;min-height:0;
  margin:0 auto 12px;background:none;border-radius:0;color:var(--ui-accent)}
/* 统一 32x32 图标框：各 glyph 按原比例居中（不再拉伸），三者视觉大小一致。
   必须先把 svg 自身的 color 归零——旧的白色勾选图示在这里写了 color:#fff，
   fill:currentColor 会跟着变成白色，在灰底上直接看不见。 */
.module-cards .variant-advantage .feature-icon svg{width:32px;height:32px;
  color:inherit;fill:currentColor;stroke:none;transform:none}
.module-cards .variant-advantage .feature-card h3{color:#333;margin:0 0 10px;line-height:30px}
.module-cards .variant-advantage .feature-body{text-align:center}
.module-cards .variant-advantage .feature-body p{margin:0;font-size:16px;
  line-height:1.6;color:#8b8d94}

/* 6.9.2 教师详情行：原站 260 照片 / 540 正文 / 260 技能，间距 20，
   内容宽 1120 居中；中间一位整行铺 #f5f5f5 色带；无分隔线。
   （此前 has-poster 类被无条件写进文章标签，把列表页套成了子页的叠版式，
     照片占 540、正文被挤成 200 宽、技能条掉到正文下面。） */
.module-teachers .teacher-detail{max-width:1140px;margin:0 auto;
  grid-template-columns:260px minmax(0,1fr) 260px;gap:20px;
  align-items:center;padding:40px 10px;border-bottom:0}
.module-teachers .teacher-detail.layout-skills-text-photo{background:#f5f5f5}
.module-teachers .teacher-detail .t-photo{aspect-ratio:260/339}
.module-teachers .teacher-detail .t-text h3{font-size:20px;font-weight:700;color:#333}
.module-teachers .teacher-detail .t-role{font-size:14px;font-weight:700;color:#333;
  margin:4px 0 16px}
.module-teachers .teacher-detail .t-bio{font-size:16px;line-height:1.9;color:#7a7a7a}
.module-teachers .teacher-detail .btn{margin-top:20px}

/* 6.9.3 技能条：原站把技能名写在条内（白字 12px），不显示百分比 */
.module-teachers .teacher-detail .skill-bar{margin-bottom:20px}
.module-teachers .teacher-detail .skill-bar:last-child{margin-bottom:0}
.module-teachers .teacher-detail .skill-track{position:relative;height:20px;
  background:#eee;border-radius:2px;overflow:hidden}
.module-teachers .teacher-detail .skill-fill{position:absolute;inset:0 auto 0 0;
  height:100%;width:var(--pct);background:#ff894d;border-radius:2px}
.module-teachers .teacher-detail .skill-name{position:relative;z-index:2;
  display:block;padding:0 14px;line-height:20px;font-size:12px;color:#fff;
  white-space:nowrap}

@media (max-width:760px){
  /* 窄屏单列：卡片上下留白收到 28，避免一屏只放得下一张卡 */
  .module-cards .variant-advantage .feature-card{padding:28px 0}
}
@media (max-width:860px){
  /* 860 以下三列放不下（正文只剩 200 出头），照片居中、正文与技能条依次排列。
     必须把三个子元素显式归到第 1 列——1100 断点给 .t-skills 写了 grid-column:2，
     单列时它会撑出隐式第二列，把正文挤成 100px 宽的窄条 */
  .module-teachers .teacher-detail{grid-template-columns:1fr;gap:18px;padding:28px 8px}
  .module-teachers .teacher-detail .t-photo,
  .module-teachers .teacher-detail .t-text,
  .module-teachers .teacher-detail .t-skills{grid-column:1;grid-row:auto}
  .module-teachers .teacher-detail .t-photo{width:200px;margin:0 auto;aspect-ratio:3/4}
  .module-teachers .teacher-detail.layout-skills-text-photo .t-photo{order:-1}
  .module-teachers .teacher-detail .btn{width:auto;white-space:nowrap}
}

/* ===== 6.10 教师详情页（达人名师块 + 作品等高行图墙，页由 pageTemplates.teacher 生成） ===== */

/* 6.10.1 等高行图墙：每行 flex，各图 flex-grow = 宽高比 → 行宽铺满、
   行高 = 容器宽 / 本行宽高比之和，图片不变形（原站 Elementor justified 同算法） */
.jg-row{display:flex;gap:10px;margin-bottom:10px}
.jg-row:last-child{margin-bottom:0}
.jg-item{display:block;flex-basis:0;min-width:0;overflow:hidden;position:relative}
.jg-item img{display:block;width:100%;height:auto}
.jg-works{max-width:1120px;margin:0 auto}

/* 6.10.2 达人名师块：左栏 520 文字 / 右栏 560 图墙 */
.ti-wrap{max-width:1120px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.04fr);
  gap:40px;align-items:start;padding:56px 0 64px}
.ti-head{display:inline-flex;align-items:center;gap:14px;width:268px;height:63px;
  padding:0 0 0 26px;box-sizing:border-box;background:#ff8a4c;color:#fff}
.ti-icon{width:34px;height:34px;flex:none;fill:#fff}
.ti-name{font-size:30px;line-height:1;font-weight:700;letter-spacing:2px;color:#fff}
.ti-rating{display:flex;align-items:center;justify-content:center;gap:10px;
  width:268px;margin-top:22px}
.ti-rlabel{font-size:16px;color:#8b8d94}
.ti-stars{display:inline-flex;gap:4px;color:#ff8a4c}
.ti-star{width:17px;height:17px;fill:currentColor}
.ti-body{margin-top:34px;font-size:16px;line-height:28px;color:#7a7a7a;text-align:justify}
.ti-body p{margin:0 0 16px;text-indent:2em}
.ti-body p:first-child{text-indent:0}
/* 首字下沉：原站红色「专」约 46px，占两行 */
.ti-body p:first-child::first-letter{float:left;font-size:46px;line-height:44px;
  font-weight:700;color:#ff2d2d;margin:2px 10px 0 0}
.ti-gallery{margin-top:4px}

@media (max-width:900px){
  .ti-wrap{grid-template-columns:1fr;gap:26px;padding:36px 0 44px}
  .ti-head,.ti-rating{width:auto;max-width:268px}
  .ti-rating{justify-content:flex-start}
  .ti-body{margin-top:22px}
}

/* 6.10.3 教师子页窄屏：1060 以下两栏放不下（右侧正文只剩 300 出头），
   合成图等比缩到满宽，文字与技能条依次排在下面 */
@media (max-width:1060px){
  .module-teacher_detail .teacher-detail.has-poster{display:block;padding:0 0 24px}
  .module-teacher_detail .teacher-detail.has-poster .t-photo{width:100%;max-width:540px;
    height:auto;aspect-ratio:600/450;margin:0 auto}
  .module-teacher_detail .teacher-detail.has-poster .t-text{padding-top:18px}
  .module-teacher_detail .teacher-detail.has-poster .t-skills{width:100%;max-width:340px;
    margin-top:18px}
  /* 没有合成图时才会用到 HTML 海报块 */
  .module-teacher_detail .teacher-detail.has-poster .t-poster{position:relative;left:auto;top:auto;
    width:min(258px,86%);min-height:0;margin:0 auto 0 0}
}

/* 6.10.4 窄屏图墙：等高行在手机上会把 4~5 张挤成 70px 一条，
   改成两列栅格，图片按原比例显示（原站手机是单列通栏，太长，这里取两列折中）。 */
@media (max-width:600px){
  /* 「全部」图墙在手机上摊平成双列瀑布流（行太多、图太小）；
     筛选结果由 js 按容器宽重新切行，仍用 flex 等高行，这里不能覆盖 */
  .jg-works{column-count:2;column-gap:6px}
  .jg-works .jg-row{display:contents}
  .jg-works .jg-item{display:block;width:100%;flex:none;aspect-ratio:auto!important;
    margin:0 0 6px;break-inside:avoid}
  .jg-works .jg-item img{width:100%;height:auto}
}

/* ===== 6.11 作品页：等高行图墙 + 分类筛选栅格 ===== */
/* 「全部」用 .jg 等高行；选分类后换成等宽方图栅格（8 列，窄屏逐级减少） */
/* 分类结果也走等高行（js 按同样的算法重排），不再用瀑布流；
   这里只保证容器与「全部」图墙同宽 */
.gallery-filtered{max-width:1120px;margin:0 auto}
.gallery-filtered .jg-item img{width:100%;height:auto;object-fit:contain}
/* 作品页图墙贴合 1200 容器，行距 10px（与原站一致） */
.page-paintings .jg-works{margin:0 auto}

/* 作品页筛选：窄屏 7 个分类挤在一行会把每个字竖排，改成横向可滑动 */
@media (max-width:820px){
  .gallery-filters{flex-wrap:nowrap;overflow-x:auto;justify-content:flex-start;
    gap:4px;padding:0 12px 4px;scrollbar-width:none}
  .gallery-filters::-webkit-scrollbar{display:none}
  .filter-chip{white-space:nowrap;flex:none;padding:0 8px;line-height:34px;font-size:14px}
  .filter-chip.is-on{padding:0 8px}
}

/* 图墙尾行占位：让最后一行保持常规行高、左对齐，右边留白（与原站一致），
   而不是把仅剩的一两张图拉伸成两三倍高 */
.jg-fill{display:block;flex-basis:0;min-width:0}

/* ===== 6.12 左对齐版块标题：前置竖条 + 标题/副标题同一起始线 =====
   竖条不再用绝对定位配魔法数值（会跟文字行对不齐），改成标题的 flex 子项：
   高度用 em 跟随标题字号，align-items:center 自动与文字行居中对齐。
   颜色取 --ui-accent（与首页/关于页的 ui 图标同一个红），不是 --primary 的深红。
   副标题按「竖条宽 + 间距」缩进，和标题文字左边缘对齐。 */
/* 宽度对齐图墙（.jg-works 也是 1120 居中），这样竖条左边缘正好压在图墙左边缘上 */
.section-heading.align-left{--bar-w:5px;--bar-gap:14px;
  width:1120px;max-width:calc(100% - 48px);margin-inline:auto;
  padding:var(--sec-pad-top,56px) 0 var(--sec-pad-bottom,6px)}
.section-heading.align-left .section-title{display:flex;align-items:center;
  gap:var(--bar-gap);text-align:left}
.section-heading.align-left .section-title::before{content:'';flex:none;display:block;
  width:var(--bar-w);height:.92em;background:var(--ui-accent);
  border:0;border-radius:0;box-shadow:none}
.section-heading.align-left .section-sub{padding-left:calc(var(--bar-w) + var(--bar-gap));
  text-align:left}
@media (max-width:760px){
  .section-heading.align-left{--bar-w:4px;--bar-gap:12px}
}

/* ===== 6.13 吸顶导航 =====
   顶部本来是 absolute 透明底白字（压在横幅上），下滑超过一屏高度后
   变成 fixed 白底深字：当前栏目红色、logo 换成深色版、下缘一条细影。 */
.brand-logo--dark{display:none}
.site-header{transition:background .3s ease, box-shadow .3s ease, height .3s ease}
.site-header.is-sticky{position:fixed;inset:0 0 auto;height:80px;background:#fff;
  box-shadow:0 1px 0 rgba(0,0,0,.07),0 8px 24px rgba(0,0,0,.07)}
.site-header.is-sticky .header-inner{height:80px}
.site-header.is-sticky .brand img{height:38px}
.site-header.is-sticky .brand{color:#333;transform:none}
.site-header.is-sticky .brand-logo--light{display:none}
.site-header.is-sticky .brand-logo--dark{display:block}
.site-header.is-sticky .brand-sub{color:#8b8d94}
.site-header.is-sticky .main-nav a{color:#333;text-shadow:none}
.site-header.is-sticky .main-nav>ul>li.is-current>a{background:transparent;
  color:var(--ui-accent)}
.site-header.is-sticky .main-nav a:hover{background:transparent;color:var(--ui-accent)}
.site-header.is-sticky .main-nav ul.sub{background:#fff;
  box-shadow:0 10px 30px rgba(0,0,0,.1)}
.site-header.is-sticky .main-nav ul.sub a{color:#333}
.site-header.is-sticky .main-nav ul.sub a:hover{color:var(--ui-accent);background:#f7f7f8}
.site-header.is-sticky .nav-bars span{background:#333}
.site-header.is-sticky .nav-toggle-caption{color:#333}

@keyframes navSlideDown{from{transform:translateY(-100%)}to{transform:translateY(0)}}
.site-header.is-sticky{animation:navSlideDown .3s ease}
@media (max-width:992px){
  .site-header.is-sticky{height:72px}
  .site-header.is-sticky .header-inner{height:72px}
  .site-header.is-sticky .brand img{height:32px}
}

/* ===== 6.14 达人战绩页：高分榜卡片墙 + 历年战绩入口 ===== */

/* 区块标题沿用左对齐样式（红竖条 + 标题），宽度与内容同宽 1120 */
.sc-wrap,.yc-wrap{width:1120px;max-width:calc(100% - 48px);margin-inline:auto}
.sc-wrap{padding:64px 0 8px}
.sc-title,.yc-title{display:flex;align-items:center;gap:14px;font-size:28px;
  line-height:1.3;font-weight:700;color:#2f3136;margin:0;text-align:left}
.sc-title>span,.yc-title>span{flex:none;display:block;width:5px;height:.92em;
  background:var(--ui-accent)}
.sc-sub,.yc-sub{padding-left:19px;margin:10px 0 0;text-align:left;
  font-size:15px;line-height:1.9;color:#8b8d94}

/* 30 张成绩卡：6 列等高，hover 轻微上浮 */
.sc-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px;
  margin-top:30px}
.sc-card{position:relative;margin:0}
.sc-link{display:block;overflow:hidden;border-radius:4px;
  box-shadow:0 2px 10px rgba(0,0,0,.08);transition:transform .3s ease,box-shadow .3s ease}
.sc-link img{display:block;width:100%;height:auto;transition:transform .45s ease}
.sc-card:hover .sc-link{transform:translateY(-4px);box-shadow:0 12px 28px rgba(0,0,0,.16)}
.sc-card:hover .sc-link img{transform:scale(1.03)}
.sc-rank{position:absolute;top:8px;left:8px;padding:2px 7px;border-radius:2px;
  background:var(--ui-accent);color:#fff;font-size:11px;font-weight:700;letter-spacing:.5px}

/* 历年战绩：3 张海报卡 */
.yc-wrap{padding:56px 0 88px}
.yc-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;margin-top:30px}
.yc-card{display:block;background:#fff;border-radius:6px;overflow:hidden;
  box-shadow:0 4px 18px rgba(0,0,0,.08);transition:transform .3s ease,box-shadow .3s ease}
.yc-card:hover{transform:translateY(-5px);box-shadow:0 18px 38px rgba(0,0,0,.15)}
.yc-poster{display:block;position:relative;aspect-ratio:590/800;overflow:hidden}
.yc-poster img{width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
.yc-card:hover .yc-poster img{transform:scale(1.04)}
.yc-mask{position:absolute;inset:0;display:grid;place-items:center;
  background:rgba(0,0,0,.28);opacity:0;transition:opacity .3s ease}
.yc-card:hover .yc-mask{opacity:1}
.yc-btn{padding:10px 24px;background:var(--ui-accent);color:#fff;
  font-size:14px;font-weight:600;border-radius:2px}
.yc-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;
  padding:15px 18px;border-top:3px solid var(--ui-accent)}
.yc-meta strong{font-size:17px;color:#2f3136}
.yc-meta em{display:inline-flex;align-items:center;gap:6px;font-style:normal;
  font-size:13px;color:#8b8d94}
.yc-arrow{width:14px;height:14px;stroke:currentColor}
.yc-card:hover .yc-meta em{color:var(--ui-accent)}

@media (max-width:1100px){
  .sc-grid{grid-template-columns:repeat(5,minmax(0,1fr))}
}
@media (max-width:900px){
  .sc-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
  .yc-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
  .sc-wrap{padding:44px 0 8px}
  .yc-wrap{padding:40px 0 60px}
}
@media (max-width:620px){
  /* 手机上一行 3 张时姓名/分数只有 10px，看不清，改 2 列 */
  .sc-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .yc-grid{grid-template-columns:1fr}
  .sc-title,.yc-title{font-size:22px}
  .sc-sub,.yc-sub{padding-left:16px}
}

/* ===== 6.15 年份战绩详情（三届共用版式） ===== */
.yd-wrap{width:1120px;max-width:calc(100% - 48px);margin-inline:auto;padding:56px 0 88px}
.yd-title{margin:0;text-align:center;font-size:30px;line-height:1.45;font-weight:700;color:#2f3136}
.yd-title::after{content:'';display:block;width:56px;height:3px;margin:16px auto 0;
  background:var(--ui-accent)}
.yd-cover{margin:34px 0 0}
.yd-cover img{display:block;width:100%;height:auto;border-radius:4px}
.yd-main{display:grid;grid-template-columns:400px minmax(0,1fr);gap:52px;
  align-items:start;margin-top:40px}
.yd-main--solo{grid-template-columns:minmax(0,1fr);justify-items:center}
.yd-main--solo .yd-figure{width:100%;max-width:760px;margin-inline:auto}
.yd-main--text{grid-template-columns:minmax(0,1fr)}
.yd-figure{margin:0}
.yd-figure img{display:block;width:100%;height:auto;border-radius:4px;
  box-shadow:0 10px 30px rgba(0,0,0,.10)}
.yd-body{padding-top:4px}
/* 徽标居中放在正文上方 */
.yd-badge{display:block;width:92px;height:92px;object-fit:contain;margin:0 auto 20px}
.yd-body p{margin:0 0 16px;font-size:15px;line-height:2.05;color:#6f7278;
  text-align:justify;text-indent:2em}
.yd-body p:last-child{margin-bottom:0}
/* 高分榜：同一届的卡片尺寸一致，用等高网格排 —— 保证「按分数从高到低」
   是横着读的（多列瀑布流是竖着填，读起来顺序会乱） */
.yd-scores{margin-top:64px;border-top:1px solid #ececec;padding-top:40px}
.yd-scores-title{margin:0 0 22px;font-size:20px;font-weight:700;color:#2f3136;
  display:flex;align-items:center;gap:12px}
.yd-scores-title::before{content:'';display:block;width:5px;height:20px;background:var(--ui-accent)}
.yd-cards{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}
.yd-cards--4{grid-template-columns:repeat(4,minmax(0,1fr))}
.yd-card{display:block;overflow:hidden;border-radius:4px;
  box-shadow:0 2px 10px rgba(0,0,0,.08);transition:transform .3s ease,box-shadow .3s ease}
.yd-card img{display:block;width:100%;height:auto}
.yd-card:hover{transform:translateY(-3px);box-shadow:0 12px 26px rgba(0,0,0,.15)}

@media (max-width:1000px){
  .yd-main{grid-template-columns:320px minmax(0,1fr);gap:36px}
  .yd-cards,.yd-cards--4{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media (max-width:760px){
  .yd-wrap{padding:40px 0 60px}
  .yd-title{font-size:20px}   /* 20px 时 16 字标题在 390 宽能排一行，不会只剩「捷！」换行 */
  .yd-subtitle{font-size:16px;margin-top:10px}
  .yd-main,.yd-main--solo,.yd-main--text{grid-template-columns:1fr;gap:26px}
  .yd-main--solo .yd-figure{max-width:none}
  .yd-cards,.yd-cards--4{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
  .yd-scores{margin-top:44px;padding-top:30px}
}
@media (max-width:480px){
  .yd-cards,.yd-cards--4{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* 年份卡还没有海报时的占位（后台新建一届后先不裂图） */
.yc-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:8px;width:100%;height:100%;background:#f2f3f5;color:#b9bcc2;
  font-size:34px;font-weight:700}
.yc-empty em{font-style:normal;font-size:13px;font-weight:400}

/* 年份页副标题（原站案例：主标题下一行的「XXXX届达人画室再创佳绩！」） */
.yd-subtitle{margin:14px 0 0;text-align:center;font-size:18px;line-height:1.6;
  font-weight:600;color:var(--ui-accent)}

/* ===== 6.16 全站字阶与配色标准 =====
   ┌ 标题层级
   │ 60  横幅主标题（.banner-title）
   │ 34  区块主标题（.section-title / .yd-title）
   │ 28  左对齐区块标题（带红色竖条的 .align-left / .sc-title / .yc-title）
   │ 20  区块内小标题（.yd-scores-title / 资料行标题 .cts-body h3）
   ├ 文本层级
   │ 16  正文（段落、教师简介、年份导语、说明副标题 .section-sub）
   │ 15  次要正文（联系方式、公交线路、按钮文字）
   │ 13  备注小字（图注、提示）
   └ 颜色
      #2f3136 标题 / #6f7278 正文 / #8b8d94 说明 / var(--ui-accent) 强调
   所有页面统一走这一套，改这里即可全站生效。 */
:root{
  --fs-hero:60px;--fs-h1:34px;--fs-h2:28px;--fs-h3:20px;
  --fs-body:16px;--fs-sm:15px;--fs-xs:13px;
  --c-title:#2f3136;--c-text:#6f7278;--c-sub:#8b8d94;
}
.banner-title{font-size:var(--fs-hero);font-weight:600}
.section-title,
.score-wrap .section-title,
.score-wrap.align-left .section-title,
.richtext-wrap.variant-poster.align-left .section-title,
.module-teachers .section-title,
.page-home .module-gallery .section-title,
.yd-title{font-size:var(--fs-h1);font-weight:700;color:var(--c-title);letter-spacing:0}
.section-heading.align-left .section-title,
.sc-title,.yc-title{font-size:var(--fs-h2);font-weight:700;color:var(--c-title)}
.yd-scores-title,.cts-body h3{font-size:var(--fs-h3);font-weight:700;color:var(--c-title)}
/* 说明副标题：统一 16px / 灰 */
.section-sub,.section-heading.align-left .section-sub,
.module-teachers .section-sub,.sc-sub,.yc-sub{
  font-size:var(--fs-body);line-height:1.85;color:var(--c-sub)}
/* 正文：16px / #6f7278 */
.t-bio,.yd-body p,.score-intro,.richtext-body p{font-size:var(--fs-body);color:var(--c-text)}
/* 次要正文：15px */
.cts-body p,.cts-bus p,.btn{font-size:var(--fs-sm)}
/* 补几处被更高优先级规则压住的地方 */
.module-teachers .teacher-detail .t-bio{font-size:var(--fs-body);color:var(--c-text)}
.cts-body p,.cts-bus p{color:var(--c-text)}
/* 倒计时：引导语与问句用标题色，天数保持红色（强调色），别被上面统一掉 */
.cd-label,.cd-question{color:var(--c-title)}
.cd-num,.cd-days,.cd-num em{color:var(--ui-accent)}
.module-teachers .teacher-detail .t-role{font-size:var(--fs-sm);color:var(--c-sub);font-weight:700}

/* 合影墙：每行张数由后台 cols 控制（2~6），窄屏自动减列 */
.moment-timeline.variant-plain.cols-2{grid-template-columns:repeat(2,1fr)}
.moment-timeline.variant-plain.cols-3{grid-template-columns:repeat(3,1fr)}
.moment-timeline.variant-plain.cols-4{grid-template-columns:repeat(4,1fr)}
.moment-timeline.variant-plain.cols-5{grid-template-columns:repeat(5,1fr)}
.moment-timeline.variant-plain.cols-6{grid-template-columns:repeat(6,1fr)}
.moment-timeline.cols-2{grid-template-columns:repeat(2,1fr)}
.moment-timeline.cols-3{grid-template-columns:repeat(3,1fr)}
.moment-timeline.cols-4{grid-template-columns:repeat(4,1fr)}
@media (max-width:900px){
  .moment-timeline.variant-plain.cols-4,
  .moment-timeline.variant-plain.cols-5,
  .moment-timeline.variant-plain.cols-6,
  .moment-timeline.cols-3,
  .moment-timeline.cols-4{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:560px){
  .moment-timeline.variant-plain.cols-2,
  .moment-timeline.variant-plain.cols-3,
  .moment-timeline.variant-plain.cols-4,
  .moment-timeline.variant-plain.cols-5,
  .moment-timeline.variant-plain.cols-6,
  .moment-timeline.cols-2,
  .moment-timeline.cols-3,
  .moment-timeline.cols-4{grid-template-columns:1fr}
}

/* 联系页分层：倒计时与地图留白底，中间「联系方式 / 公交 / 二维码」做一条浅灰带 */
.page-contact .module-contact-info{background:#f5f5f5}
.page-contact .cts-grid{padding-top:64px;padding-bottom:64px}
@media (max-width:760px){
  .page-contact .cts-grid{padding-top:40px;padding-bottom:40px}
}
