/* 宝塔纯静态站公共修正：内容基线、顶部栏、页脚分隔与首页课程展示间距 */
.site-topbar{
  position:relative;
  z-index:1001;
  width:100%;
  height:36px;
  border-bottom:1px solid #e6e9ed;
  background:#f6f7f8;
  color:#7b838d;
  font-size:12px;
  line-height:1;
}
.site-topbar-inner{
  width:calc(100% - 64px);
  max-width:1364px;
  height:100%;
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}
.site-topbar-links{display:flex;align-items:center;gap:0;white-space:nowrap}
.site-topbar-links a{display:inline-flex;align-items:center;min-height:24px;padding:0 10px;color:#6f7781;text-decoration:none;border-right:1px solid #dfe3e7}
.site-topbar-links a:first-child{padding-left:0}
.site-topbar-links a:hover{color:#d9651d}
.site-topbar-links .topbar-login{margin-left:4px;color:#4d5661}
.site-topbar-links .topbar-register{margin-left:8px;padding:0 13px;border:1px solid #ed701e;border-radius:3px;color:#d95f11;background:#fff}
.site-topbar-links .topbar-register:hover{color:#fff;background:#ed701e}

/* 顶部栏正常随页面滚走，只有原导航栏吸顶。 */
.site-topbar+.site-header{top:0}

/* 其他导航页面的正文统一到首页 1364px 内容基线。 */
body.legacy-content-page main>.section:not(.cool):not(.warm):not(.dark),
body.platform-home main>.original-transplants>.section:not(.cool):not(.warm):not(.dark){
  box-sizing:border-box;
  width:calc(100% - 64px)!important;
  max-width:1364px!important;
  padding:70px 0!important;
}
body.legacy-content-page main>.section.cool,
body.legacy-content-page main>.section.warm,
body.legacy-content-page main>.section.dark{
  box-sizing:border-box;
  width:100%!important;
  max-width:none!important;
  margin-left:0!important;
  margin-right:0!important;
  padding:70px 0!important;
}
body.platform-home main>.original-transplants>.section.cool,
body.platform-home main>.original-transplants>.section.warm,
body.platform-home main>.original-transplants>.section.dark{
  box-sizing:border-box;
  width:100%!important;
  max-width:none!important;
  padding:70px 0!important;
}
body.legacy-content-page main>.section.cool>.inner,
body.legacy-content-page main>.section.warm>.inner,
body.legacy-content-page main>.section.dark>.inner{
  box-sizing:border-box;
  width:calc(100% - 64px)!important;
  max-width:1364px!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
body.platform-home main>.original-transplants>.section.cool>.inner,
body.platform-home main>.original-transplants>.section.warm>.inner,
body.platform-home main>.original-transplants>.section.dark>.inner{
  box-sizing:border-box;
  width:calc(100% - 64px)!important;
  max-width:1364px!important;
  margin-left:auto!important;
  margin-right:auto!important;
}

/* 讲师页原板块各自使用了 1216/1280/1444px，统一到同一条 1364px 边线。 */
body.legacy-content-page main>.lux-section{
  box-sizing:border-box;
  width:100%!important;
  max-width:none!important;
  margin-left:0!important;
  margin-right:0!important;
  padding-left:0!important;
  padding-right:0!important;
}
body.legacy-content-page main>.lux-section>.lux-container{
  box-sizing:border-box;
  width:calc(100% - 64px)!important;
  max-width:1364px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  padding-left:0!important;
  padding-right:0!important;
}
body.legacy-content-page .teacher-stage{
  width:100%!important;
  margin-left:0!important;
  margin-right:0!important;
}

/* 桌面端导航整体与 Logo 拉开一点距离。 */
@media(min-width:1081px){
  .site-header .nav-links{margin-left:26px!important}
}

/* 正文与页脚之间使用一条清晰但克制的横向分隔线。 */
main+.site-footer{border-top:1px solid #d8dde4!important}

/* 首页“随时随地·轻松上课”：收紧标题与展示内容之间的空白。 */
.class-schedule-section .ed-head{margin-bottom:24px!important}
.class-schedule-section .cs-layout{margin-top:0!important}
.class-schedule-section .cs-phone-img{height:auto!important}
@media(min-width:1025px){
  .class-schedule-section .cs-phone-wrap{justify-content:flex-start!important}
  .class-schedule-section .cs-phone-img{margin-left:-28px!important}
}

@media(max-width:680px){
  .site-topbar{height:34px;font-size:10px}
  .site-topbar-inner{width:calc(100% - 32px);gap:8px}
  .site-topbar-welcome{display:none}
  .site-topbar-links{width:100%;justify-content:flex-end}
  .site-topbar-links a{padding:0 7px}
  .site-topbar-links .topbar-register{margin-left:6px;padding:0 9px}
  body.legacy-content-page main>.section:not(.cool):not(.warm):not(.dark),
  body.legacy-content-page main>.section.cool>.inner,
  body.legacy-content-page main>.section.warm>.inner,
  body.legacy-content-page main>.section.dark>.inner,
  body.legacy-content-page main>.lux-section>.lux-container,
  body.platform-home main>.original-transplants>.section:not(.cool):not(.warm):not(.dark),
  body.platform-home main>.original-transplants>.section.cool>.inner,
  body.platform-home main>.original-transplants>.section.warm>.inner,
  body.platform-home main>.original-transplants>.section.dark>.inner{width:calc(100% - 32px)!important}
  body.legacy-content-page main>.section:not(.cool):not(.warm):not(.dark),
  body.platform-home main>.original-transplants>.section:not(.cool):not(.warm):not(.dark),
  body.legacy-content-page main>.section.cool,
  body.legacy-content-page main>.section.warm,
  body.legacy-content-page main>.section.dark,
  body.platform-home main>.original-transplants>.section.cool,
  body.platform-home main>.original-transplants>.section.warm,
  body.platform-home main>.original-transplants>.section.dark{padding-top:52px!important;padding-bottom:52px!important}
  .class-schedule-section .ed-head{margin-bottom:18px!important}
  .class-schedule-section .cs-layout{margin-top:0!important}
}
