/* K3 glossary — loads only on the glossary pages */

#primary.page-header{display:none!important}
.main-raised{margin:0!important;border-radius:0!important;box-shadow:none!important}
.blog-post > .container{max-width:100%!important;width:100%!important;padding:0!important}
.blog-post .row{margin:0!important}
.page-content-wrap{width:100%!important;float:none!important;margin:0!important;max-width:100%!important}
article.section.section-text{padding:0!important}

.wd{
  font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei","Helvetica Neue",Arial,sans-serif;
  font-size:16pt;line-height:1.9;letter-spacing:.01em;color:#1A1A1A;background:#fff;
  -webkit-font-smoothing:antialiased;
}
.wd *{box-sizing:border-box}
.wd-inner{max-width:900px;margin:0 auto;padding:0 20px 48px}

.wd-hero{background:#C7000C;color:#fff;padding:48px 34px 40px;margin:0 0 40px}
.wd-kicker{font-size:15px;letter-spacing:.22em;color:rgba(255,255,255,.82);font-weight:600;margin-bottom:14px}
.wd-title{font-size:38px;line-height:1.28;margin:0 0 16px;font-weight:800;letter-spacing:-.01em;color:#fff}
.wd p.wd-sub{font-size:18px;line-height:1.8;color:rgba(255,255,255,.94)!important;margin:0 0 18px;font-weight:400}
.wd-meta{font-size:15px;color:rgba(255,255,255,.75);letter-spacing:.02em}

.wd h2{
  font-size:26px;line-height:1.4;font-weight:800;margin:46px 0 20px;padding-left:16px;
  border-left:5px solid #C7000C;color:#111;
}
.wd h2:first-of-type{margin-top:0}
.wd .gl-sub{display:block;font-size:15px;font-weight:500;color:#8A8A8A;letter-spacing:.06em;margin-top:6px}
.wd p{margin:0 0 18px;font-size:17px;line-height:1.95;color:#333}

.gl-toc{background:#F7F7F8;border-radius:6px;padding:24px 26px;margin:0 0 40px}
.gl-toc-h{font-size:14px;letter-spacing:.16em;font-weight:700;color:#C7000C;margin-bottom:14px}
.gl-toc ol{list-style:none;margin:0;padding:0;counter-reset:toc}
.gl-toc li{counter-increment:toc;border-bottom:1px solid #E4E4E6}
.gl-toc li:last-child{border-bottom:0}
.gl-toc a{display:flex;justify-content:space-between;align-items:center;padding:12px 0;color:#222;
  text-decoration:none;font-size:17px;font-weight:600}
.gl-toc a:hover{color:#C7000C}
.gl-cnt{font-size:14px;color:#9A9A9A;font-weight:500}

.gl-list{margin:0 0 8px;padding:0}
.gl-term{border-bottom:1px solid #EDEDEF;padding:22px 0 24px}
.gl-term:last-child{border-bottom:0}
.gl-term dt{display:flex;flex-wrap:wrap;align-items:baseline;gap:10px;margin-bottom:10px}
.gl-zh{font-size:21px;font-weight:800;color:#111;letter-spacing:-.01em}
.gl-en{font-size:15px;color:#C7000C;font-weight:600;letter-spacing:.02em}
.gl-term dd{margin:0}
.gl-def{margin:0 0 12px!important;color:#333}
.gl-note{margin:0!important;font-size:16px;line-height:1.85;color:#5A4143;background:#FBF2F3;
  border-left:3px solid #E8B4B7;padding:12px 16px;border-radius:0 4px 4px 0}
.gl-note b{color:#C7000C;font-weight:700;margin-right:8px}

.gl-foot{margin-top:48px;padding-top:28px;border-top:2px solid #111}
.gl-foot p{font-size:16px;color:#555}
.gl-foot a{color:#C7000C;text-decoration:none;font-weight:700}
.gl-switch{margin-top:10px!important}

@media (max-width:640px){
  .wd{font-size:16pt}
  .wd-inner{padding:0 16px 36px}
  .wd-hero{padding:34px 20px 30px;margin-bottom:28px}
  .wd-title{font-size:28px}
  .wd-sub{font-size:16px}
  .wd h2{font-size:21px;margin:36px 0 16px}
  .gl-toc{padding:18px 16px}
  .gl-zh{font-size:19px}
  .gl-en{font-size:14px}
  .gl-note{font-size:15px;padding:10px 12px}
}

.wd .gl-fig{margin:14px 0 18px;max-width:560px}
.wd .gl-fig img{width:100%;height:auto;display:block;border:1px solid #ECECEE;border-radius:4px;background:#fff}
@media (max-width:640px){.wd .gl-fig{max-width:100%;margin:12px 0 14px}}
