.kb-archive,.kb-post,.kb-home { padding-block:clamp(28px,4.5vw,65px); overflow-wrap:anywhere }
.kb-intro { margin-bottom:clamp(20px,3vw,36px) }
.kb-intro h1,.kb-home h2 { font:650 clamp(26px,3vw,40px)/1.5 var(--serif) }
.kb-intro h1::after,.kb-home h2::after { content:""; display:block; margin-block:8px 15px; width:2.4em; height:5px; background:var(--yellow); clip-path:polygon(0 30%,100% 0,95% 67%,4% 100%) }
.kb-intro p,.kb-empty p { max-width:42em; font-size:18px; line-height:1.85 }
.kb-home { border-top:1px solid var(--line) }
.kb-home h2 { margin-bottom:24px }
.kb-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:32px 22px }
.kb-card { min-width:0; border-bottom:1px solid var(--line) }
.kb-card a,.kb-card a:visited { display:block; padding-bottom:16px; color:var(--ink); background:#fff }
.kb-image { width:100%; aspect-ratio:1200/630; background:var(--cream) }
.kb-image img { display:block; width:100%; height:100%; object-fit:contain }
.kb-card time,.kb-post time { display:block; color:var(--muted); font-size:14px; margin:12px 0 4px }
.kb-card-title { font:650 clamp(16px,1.5vw,22px)/1.5 var(--serif) }
.kb-card-title,.kb-card p { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden }
.kb-card p { margin-top:6px; font-size:15px; line-height:1.65; color:var(--muted) }
.kb-card a:is(:hover,:focus-visible,:active) h3 { text-decoration:underline; text-underline-offset:.15em }
.kb-empty { padding:clamp(19px,3vw,32px); border-block:1px solid var(--line); background:var(--cream) }
.kb-actions { margin:30px auto 0; text-align:center }
a.kb-action,a.kb-action:visited { display:inline-flex; gap:16px; align-items:center; min-height:44px; padding:8px 14px; color:#171c20; background:white; border:1px solid #171c20; font-weight:600 }
.kb-empty .kb-action { margin-top:16px }
a.kb-action:is(:hover,:active,:focus-visible) { color:#171c20; background:#f5ed29 }
.kb-action:focus-visible,.kb-card a:focus-visible { outline:3px solid #07459a; outline-offset:3px }
.kb-post { max-width:800px }
.kb-featured img { display:block; width:100%; height:auto; margin-block:0 24px }
.kb-body { font-size:18px; line-height:1.9 }
.kb-body :where(p,figure,ul,ol,blockquote) { margin-block:1em }
.kb-body :where(h2,h3,h4) { margin-block:1.5em .55em; font-family:var(--serif); line-height:1.5 }
.kb-body a { text-decoration:underline; text-underline-offset:.15em }
.kb-body img { max-width:100%; height:auto }
.kb-post .kb-actions { border-top:1px solid var(--line); padding-top:24px }
.kb-archive .nav-links { display:flex; flex-wrap:wrap; gap:12px; justify-content:center; margin-top:28px }
.kb-archive .page-numbers { padding:8px; text-decoration:underline }
@media (max-width:760px) {
  .kb-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px 12px }
  .kb-card p { font-size:14px }
}

/* Body-only editorial diagrams. The complete ordered list reads without CSS. */
.industry-story-flow {
  margin: 1.75em 0;
  padding: clamp(16px, 3vw, 28px);
  color: #20392f;
  background: #f4f6ef;
  border-inline-start: 3px solid #35604c;
}
.industry-story-flow > figcaption {
  margin: 0;
  color: #20392f;
  font: inherit;
  font-size: 1.12em;
  font-weight: 700;
  line-height: 1.55;
  text-align: start;
}
.industry-story-flow > ol {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 10.5em), 1fr));
  gap: 1em;
  margin: 1em 0 0;
  padding: 0;
  list-style: decimal inside;
}
.industry-story-flow > ol > li {
  position: relative;
  min-width: 0;
  margin: 0;
  padding: .65em 0 0;
  color: #20392f;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.industry-story-flow > ol > li::marker {
  font-weight: 700;
}
.industry-story-flow > ol > li::before {
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: #53725f;
  content: "";
  transform-origin: left;
}
.industry-story-flow > ol > li > span {
  display: block;
  margin-top: .28em;
}
@media (prefers-reduced-motion: no-preference) {
  .industry-story-flow > ol > li::before {
    animation: industry-story-flow-ink .32s ease-out 1 both;
  }
  .industry-story-flow > ol > li:nth-child(2)::before { animation-delay: .15s }
  .industry-story-flow > ol > li:nth-child(3)::before { animation-delay: .3s }
}
@keyframes industry-story-flow-ink {
  from { transform: scaleX(.06) }
  to { transform: scaleX(1) }
}
@media (max-width: 600px) {
  .industry-story-flow > ol { grid-template-columns: 1fr }
}
@media print {
  .industry-story-flow > ol > li::before { animation: none }
}
