/* Insights (inc/insights.php): the blog's reading layout (blog.css) plus the research pieces: the "how we tested"
   box, the cover picture, sources, the "keep going" cards and the hub. Theme tokens only, so both themes follow. */
.ins-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 0 6px; margin: 0; font: 650 var(--fs-sm)/1.5 var(--font-mono);
  text-transform: uppercase; letter-spacing: .12em; color: var(--tag-fg); }
.ins-kicker a { color: inherit; text-decoration: none; }
.ins-kicker a:hover { text-decoration: underline; text-underline-offset: 4px; }
.ins-article .blog-article-head h1 { max-width: 22ch; }

/* ---- how we tested ---- */
.ins-tested { max-width: var(--wrap-read); margin: 0 0 var(--s-6); padding: var(--s-5); border: 1px solid var(--stroke);
  border-left: 3px solid var(--brand-1); border-radius: 0 var(--r-md) var(--r-md) 0; background: var(--bg-1); }
.ins-tested dl { display: grid; gap: var(--s-3); margin: 0; }
.ins-tested dl > div { display: grid; grid-template-columns: 9.5em minmax(0, 1fr); gap: var(--s-4); }
.ins-tested dt { font-weight: 700; color: var(--text); }
.ins-tested dd { margin: 0; color: var(--text-dim); line-height: 1.6; }
.ins-tested p { margin: var(--s-4) 0 0; padding-top: var(--s-3); border-top: 1px solid var(--stroke); font-size: var(--fs-sm); }
.ins-tested a { color: var(--text); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }

/* ---- result tables: on a phone they scroll sideways (the .blog-table box) instead of squeezing a column to one word ---- */
.ins-article .blog-table table:has(th:nth-child(4)) { min-width: 40rem; }
.ins-article .blog-table code { white-space: nowrap; }

/* ---- the picture: shown whole (it is a chart), never cropped ---- */
.ins-cover { margin: 0 0 var(--s-5); }
.ins-cover img { display: block; width: 100%; height: auto; border-radius: 20px; border: 1px solid var(--stroke); background: #0b1220; }

/* ---- sources and small print ---- */
.ins-sources { font-size: var(--fs-body); line-height: 1.7; }
.ins-sources span { color: var(--text-dim); }
.ins-small { font-size: var(--fs-sm); color: var(--text-dim); line-height: 1.7; }

/* ---- keep going: guide, tool, download ---- */
.ins-next { padding-top: var(--s-8); }
.ins-next .h2, .ins-more .h2 { margin-bottom: var(--s-5); }
.ins-next-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: var(--s-4); }
.ins-next-card { display: grid; align-content: start; gap: 6px; color: var(--text); text-decoration: none;
  transition: border-color .16s, box-shadow .16s, transform .16s var(--ease); }
.ins-next-card:hover { border-color: var(--text); box-shadow: var(--shadow-1); transform: translateY(-1px); }
.ins-next-card b { font-family: var(--font-display); font-size: 1.05rem; line-height: 1.35; }
.ins-next-card span:last-child { color: var(--text-dim); font-size: .92rem; line-height: 1.55; }
.ins-next-kind { font: 650 .72rem/1.4 var(--font-mono); text-transform: uppercase; letter-spacing: .12em; color: var(--tag-cyan); }
.ins-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-4) var(--s-6);
  margin-top: var(--s-6); padding: var(--s-5) var(--s-6); border: 1px solid var(--stroke); border-radius: var(--r-lg); background: var(--surface); }
.ins-cta p { margin: 0; max-width: 46ch; color: var(--text-dim); }
.ins-cta p b { color: var(--text); }

/* ---- article cards (hub, "more from the lab") ---- */
.ins-more { padding-top: var(--s-8); }
.ins-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-7) var(--s-6); }
.ins-card .blog-card-image { border: 1px solid var(--stroke); background: #0b1220; }
.ins-card .blog-card-copy { display: grid; gap: var(--s-2); }
.ins-card-title { margin: 0; font-size: var(--fs-h3); line-height: 1.25; letter-spacing: -.03em; }
.ins-card-title a { color: var(--text); text-decoration: none; }
.ins-card-title a:hover { text-decoration: underline; text-underline-offset: 5px; }
.ins-card .blog-summary { margin: 0; }

/* ---- hub ---- */
.ins-hub-head h1 { max-width: 18ch; }
.ins-hub-head .lede a { color: var(--text); text-underline-offset: 4px; }
.ins-hub-links { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-5); }
.ins-latest, .ins-topics, .ins-about { margin-bottom: var(--s-8); }
.ins-latest .h2, .ins-topics .h2, .ins-about .h2 { margin-bottom: var(--s-5); }
.ins-topic-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--s-4); }
.ins-topic { scroll-margin-top: calc(var(--hdr-h) + var(--s-5)); }
.ins-topic .h3 { margin: 0 0 var(--s-2); }
.ins-topic p { margin: 0 0 var(--s-3); color: var(--text-dim); }
.ins-topic ul { margin: 0; padding-left: 1.2em; }
.ins-topic li { margin: var(--s-2) 0; line-height: 1.5; }
.ins-topic a { color: var(--text); text-underline-offset: 4px; }
.ins-about { max-width: var(--wrap-read); }
.ins-about p { color: var(--text-dim); line-height: 1.75; }
.ins-about a { color: var(--text); text-underline-offset: 4px; }

@media (max-width: 760px) {
  .ins-grid { grid-template-columns: minmax(0, 1fr); gap: var(--s-6); }
  .ins-tested dl > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .ins-cover img { border-radius: 12px; }
  .ins-cta { padding: var(--s-5); }
  .ins-cta .stack-h { width: 100%; }
  .ins-cta .cp-btn { flex: 1 1 100%; }
  .ins-hub-links .cp-btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) { .ins-next-card { transition: none; } .ins-next-card:hover { transform: none; } }
