/* Knowledge Management: an editorial composition, preserving source order. */
.category-layout.km-editorial{--editorial-muted:#6b6b65;--editorial-rule:#d8d8d1;grid-template-columns:minmax(0,1fr);margin-top:52px;gap:64px}
.category-layout.km-editorial .topic-intro{grid-template-columns:minmax(0,1fr) minmax(180px,32%);gap:60px;min-height:260px;padding:0 0 44px;margin-bottom:30px;border-color:var(--editorial-rule)}
.category-layout.km-editorial .topic-intro h1{font-size:clamp(38px,5.6vw,74px);font-weight:400;line-height:1.02;letter-spacing:-2.8px;max-width:670px;overflow-wrap:normal}
.category-layout.km-editorial .topic-intro .thai-title{font-size:18px;margin:20px 0 12px}
.category-layout.km-editorial .topic-intro .deck{font-size:14px;line-height:1.7;color:var(--editorial-muted)}
.category-layout.km-editorial .topic-art{width:100%;max-width:290px;justify-self:center}
.category-layout.km-editorial .section-heading{border-color:var(--editorial-rule);padding-bottom:12px}
.category-layout.km-editorial .section-heading h2{font-size:12px;letter-spacing:.3px;color:var(--editorial-muted)}
.category-layout.km-editorial .category-full-article{margin-top:46px;margin-bottom:0}
.category-layout.km-editorial .foundation-story{padding-bottom:0}
.category-layout.km-editorial .story-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:70px;padding:12px 0 44px;border-color:var(--editorial-rule);overflow:visible}
.category-layout.km-editorial .story-hero:after{display:none}
.category-layout.km-editorial .story-series{grid-column:1/-1;font-size:10px;letter-spacing:1.8px;color:var(--editorial-muted);margin-bottom:28px}
.category-layout.km-editorial .story-hero .story-title{grid-column:1;grid-row:2/4;font-size:clamp(44px,5.5vw,76px);line-height:1.04;letter-spacing:-2.6px;margin:0;font-weight:400}
.category-layout.km-editorial .story-title span{font-size:19px;letter-spacing:0;margin-top:20px;color:var(--editorial-muted)}
.category-layout.km-editorial .story-deck{grid-column:2;font-size:20px;line-height:1.65;margin:0 0 22px;max-width:480px}
.category-layout.km-editorial .story-author{grid-column:2;font-size:11px;gap:6px 16px;line-height:1.65;color:var(--editorial-muted)}
.category-layout.km-editorial .story-grid{margin-top:56px}
.category-layout.km-editorial .story-body{font-size:18px;line-height:1.85}
.category-layout.km-editorial .story-section{padding-top:38px;margin-top:46px;border-top:1px solid var(--editorial-rule);display:flow-root}
.category-layout.km-editorial .story-section>p,.category-layout.km-editorial .code-strip{max-width:690px;margin-left:auto}
.category-layout.km-editorial .story-section>p{margin-bottom:20px}
.category-layout.km-editorial .story-section h2{float:left;width:calc(100% - 754px);min-width:150px;max-width:230px;font-size:24px;line-height:1.4;letter-spacing:-.4px;border:0;padding:0;margin:0 48px 24px 0;font-weight:400}
.category-layout.km-editorial .story-step{font:italic 56px/1 Georgia,serif;color:#a3a69e;margin-bottom:22px}
.category-layout.km-editorial .story-section:first-child{margin-top:0;padding-top:0;border:0}
.category-layout.km-editorial .story-body .story-opening{font-size:26px;line-height:1.55;margin-bottom:28px;color:var(--ink)}
.category-layout.km-editorial .code-strip{margin-top:30px;margin-bottom:32px;padding:18px 0;border-color:var(--editorial-rule)}
.category-layout.km-editorial .code-strip b{font-size:34px;color:var(--ink)}
.category-layout.km-editorial .story-figure{clear:both;display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:40px;align-items:end;margin:38px 0 32px;padding:28px 0;border-top:1px solid var(--editorial-rule);background:transparent}
.category-layout.km-editorial .story-figure img{width:100%;max-width:548px;margin:0;mix-blend-mode:multiply}
.category-layout.km-editorial .story-figure figcaption{font-size:12px;line-height:1.7;color:var(--editorial-muted);padding:0 0 8px;max-width:300px}
.category-layout.km-editorial .story-quote{clear:both;margin:36px 0 36px 12%;padding:28px 0;border-left:0;border-top:1px solid var(--ink);border-bottom:1px solid var(--editorial-rule);max-width:840px;color:var(--ink)}
.category-layout.km-editorial .story-quote p{font-size:clamp(28px,3.6vw,46px);line-height:1.25;letter-spacing:-.7px;margin-bottom:20px}
.category-layout.km-editorial .story-platform{display:block;margin:42px 0 34px;padding:24px 0 0;border-top:1px solid var(--editorial-rule);border-bottom:0;background:transparent}
.category-layout.km-editorial .story-platform img{max-width:none;width:100%}
.category-layout.km-editorial .story-platform figcaption{max-width:690px;margin:18px 0 0 auto;padding:0;font-size:12px}
.category-layout.km-editorial .story-ending{clear:both;max-width:690px;margin:32px 0 0 auto;border-color:var(--editorial-rule);padding-top:24px}
.category-layout.km-editorial .story-ending p{font-size:21px;line-height:1.7}
.category-layout.km-editorial .story-sources{max-width:690px;margin:46px 0 0 auto;font-size:12px;line-height:1.75;border-color:var(--editorial-rule)}
.category-layout.km-editorial .story-bottom{font-size:12px;border-color:var(--editorial-rule)}
.category-layout.km-editorial .context{display:grid;grid-template-columns:1fr 1fr;gap:16px 70px;border-left:0;border-top:1px solid var(--editorial-rule);padding:26px 0 0}
.category-layout.km-editorial .context>h2{grid-column:1}.category-layout.km-editorial .local-map{grid-column:1;grid-row:2/4}.category-layout.km-editorial .neighbor-links{grid-column:2;grid-row:1/3;border-top:0;padding-top:0}.category-layout.km-editorial .context-note{grid-column:2;margin:0}
@media(max-width:1100px){
 .category-layout.km-editorial .story-section h2{float:none;width:auto;max-width:none;min-width:0;margin:0 0 28px;font-size:26px}
 .category-layout.km-editorial .story-step{display:inline-block;font-size:36px;margin:0 18px 0 0;vertical-align:baseline}
 .category-layout.km-editorial .story-section>p,.category-layout.km-editorial .code-strip{max-width:690px;margin-left:auto;margin-right:auto}
 .category-layout.km-editorial .story-hero{column-gap:38px}.category-layout.km-editorial .story-hero .story-title{font-size:54px}
}
@media(max-width:760px){
 .category-layout.km-editorial{margin-top:32px;gap:44px}
 .category-layout.km-editorial .topic-intro{grid-template-columns:minmax(0,1fr) 100px;gap:16px;padding-bottom:28px;min-height:0}
 .category-layout.km-editorial .topic-intro h1{font-size:clamp(28px,6.4vw,44px);letter-spacing:-1.3px;overflow-wrap:normal}
 .category-layout.km-editorial .topic-intro .thai-title{font-size:16px;margin-top:14px}.category-layout.km-editorial .topic-intro .deck{font-size:13px}
 .category-layout.km-editorial .topic-art{width:100px;align-self:center}
 .category-layout.km-editorial .category-full-article{margin-top:30px}
 .category-layout.km-editorial .story-hero{display:block;padding-bottom:28px}.category-layout.km-editorial .story-series{margin-bottom:22px}
 .category-layout.km-editorial .story-hero .story-title{font-size:clamp(40px,9vw,60px);letter-spacing:-1.8px;margin:0 0 26px}
 .category-layout.km-editorial .story-title span{font-size:17px;margin-top:12px}
 .category-layout.km-editorial .story-deck{font-size:18px;line-height:1.65;margin-bottom:18px}
 .category-layout.km-editorial .story-grid{margin-top:34px}.category-layout.km-editorial .story-body{font-size:17px;line-height:1.85}
 .category-layout.km-editorial .story-body .story-opening{font-size:23px;line-height:1.6}
 .category-layout.km-editorial .story-section{margin-top:34px;padding-top:26px}.category-layout.km-editorial .story-section h2{font-size:23px;line-height:1.5;margin-bottom:22px}
 .category-layout.km-editorial .story-step{font-size:30px;margin-right:12px}
 .category-layout.km-editorial .story-figure{display:block;padding:20px 0;margin:28px 0;clear:both}.category-layout.km-editorial .story-figure img{margin:auto}
 .category-layout.km-editorial .story-figure figcaption{max-width:none;margin-top:16px;font-size:11px;line-height:1.75}
 .category-layout.km-editorial .story-quote{margin:30px 0;padding:24px 0}.category-layout.km-editorial .story-quote p{font-size:30px;line-height:1.3}
 .category-layout.km-editorial .story-platform{padding:18px 0 0}.category-layout.km-editorial .story-ending p{font-size:20px}
 .category-layout.km-editorial .context{grid-template-columns:1fr;gap:12px;padding-top:22px}
 .category-layout.km-editorial .context>h2,.category-layout.km-editorial .local-map,.category-layout.km-editorial .neighbor-links,.category-layout.km-editorial .context-note{grid-column:auto;grid-row:auto}
}
@media(max-width:360px){.category-layout.km-editorial .topic-intro{grid-template-columns:minmax(0,1fr) 68px;gap:12px}.category-layout.km-editorial .topic-art{width:68px}.category-layout.km-editorial .topic-intro h1{font-size:27px}}

.category-layout.km-editorial .topic-art img{height:300px;object-fit:cover;object-position:50% 66%}
@media(max-width:760px){.category-layout.km-editorial .topic-art img{height:160px}}

.category-layout.km-editorial .story-notebooks{max-width:none;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;padding:28px 0;margin:36px 0}.category-layout.km-editorial .story-notebooks img{max-width:450px;justify-self:start}.category-layout.km-editorial .story-notebooks figcaption{max-width:220px;padding:0}
@media(max-width:760px){.category-layout.km-editorial .story-notebooks{display:block;padding:20px 0}.category-layout.km-editorial .story-notebooks img{max-width:100%;width:100%}.category-layout.km-editorial .story-notebooks figcaption{max-width:none;margin-top:14px}}

.category-layout.km-editorial .story-pkm-pair .story-figure{display:block;max-width:none;margin:0;padding:0;border:0}
.category-layout.km-editorial .story-pkm-pair img{max-width:none;width:100%}
.category-layout.km-editorial .story-pkm-pair figcaption{max-width:none;padding:0;margin-top:16px}
@media(max-width:760px){.category-layout.km-editorial .story-pkm-pair{grid-template-columns:1fr;gap:28px}.category-layout.km-editorial .story-pkm-pair .story-notebooks img{max-width:320px;margin:auto}}
