body[data-page=insights] {
  --text: var(--kx-ink);
  --muted: var(--kx-muted);
  --border: var(--kx-border);
  --accent: var(--kx-accent);
}
.insights-shell { max-width: 1040px; margin-inline: auto; }
.insights-title { text-align: center; padding: clamp(40px, 6vw, 82px) 0; }
.insights-title h1 { margin: 0; font: 600 clamp(44px, 6vw, 76px)/1.1 var(--kx-font); letter-spacing: -.045em; }
.insights-title p { max-width: 36em; margin: 18px auto 0; color: var(--kx-muted); text-wrap: balance; }
.insights-topics { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.insights-topics a {
  display: inline-flex; align-items: center; min-height: 36px; padding: 6px 12px;
  border-radius: var(--kx-control-radius); color: var(--kx-muted); font: var(--kx-control); text-decoration: none;
}
.insights-topics a[aria-current], .insights-topics a:hover { color: var(--kx-ink); background: var(--kx-raised); }
.insights-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(16px,2vw,24px); }
.insight-card { display: flex; min-width: 0; }
.insight-card a {
  display: flex; flex: 1; flex-direction: column; min-width: 0; min-height: 192px; padding: clamp(20px,2vw,26px);
  border-radius: var(--kx-card-radius); border: 1px solid var(--kx-border); background: #101113;
  color: var(--kx-ink); text-decoration: none; transition: background-color var(--kx-surface-time), border-color var(--kx-surface-time);
}
.insight-card h2 { margin: 0; font: 520 20px/1.46 var(--kx-font); letter-spacing: -.015em; text-wrap: pretty; overflow-wrap: anywhere; }
.insight-card p {
  margin: 8px 0 0; color: var(--kx-muted); font: var(--kx-body);
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
}
.insight-meta {
  display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 5px 10px;
  margin-top: auto; padding-top: 22px; color: var(--kx-muted); font: 450 12px/1.5 var(--kx-font);
}
.insight-source { overflow-wrap: anywhere; }
.insight-topic { white-space: nowrap; }
.insight-meta time { margin-inline-start: auto; font: 12px/1.5 ui-monospace, monospace; font-variant-numeric: tabular-nums; }
@media (hover:hover) {
  .insight-card a:hover { background: var(--kx-raised); border-color: #ffffff27; }
}
.insight-card a:focus-visible, .insights-topics a:focus-visible { outline: 2px solid var(--kx-accent); outline-offset: 3px; }
.insight-card a:focus-visible { background: var(--kx-raised); }
@media (max-width:860px) { .insights-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width:600px) {
  .insights-grid { grid-template-columns: 1fr; gap: 12px; }
  .insight-card a { min-height: 154px; }
  .insight-card h2 { font-size: 19px; }
  .insights-topics { gap: 2px; }
  .insights-topics a { min-height: 44px; padding-inline: 9px; }
}
@media (prefers-reduced-motion:reduce) { .insight-card a { transition: none; } }

/* Reserve space for the shared fixed header and its second row on small screens. */
body[data-page=insights] > main { padding-top: 92px; }
body[data-page=insights] .site-nav .nav-center a { display: flex; text-decoration: none; }
body[data-page=insights] .nav-center a[aria-current] { color: var(--kx-ink); }
@media (max-width:760px) {
  body[data-page=insights] > main { padding-top: 110px; }
}
.site-nav a.site-language { display: inline-grid; place-items: center; text-decoration: none; }

.insight-card[data-illustrated] { margin-bottom: clamp(24px, 4vw, 48px); }
.insight-card[data-illustrated] a {
  display: grid; grid-template-columns: 1.2fr 1fr; padding: 0; overflow: hidden;
}
.insight-art { position: relative; margin: 0; min-width: 0; overflow: hidden; }
.insight-art img { display: block; width: 100%; height: 100%; min-height: 238px; object-fit: cover; }
.insight-art figcaption {
  position: absolute; bottom: 10px; left: 12px; padding: 2px 7px; border-radius: 4px;
  background: #17130edb; color: #efe5da; font: 11px/1.55 var(--kx-font);
}
.insight-lead-copy { min-width: 0; align-self: center; padding: clamp(22px, 3vw, 40px); }
.insight-lead-copy h2 { font-size: clamp(21px, 2.15vw, 32px); line-height: 1.36; }
.insight-lead-copy p { -webkit-line-clamp: 3; }
.insight-lead-copy .insight-meta { margin: 0 0 12px; padding: 0; }
@media (max-width:640px) {
  .insight-card[data-illustrated] a { grid-template-columns: 1fr; }
  .insight-art img { min-height: 0; height: auto; }
}
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
  .insight-art img { transition: transform 350ms ease; }
  .insight-card[data-illustrated] a:hover img { transform: scale(1.025); }
}
