/* Shared blog layout and system-graph article, using the HyperBench theme. */
.blog-page { --content-width: 1280px; }
.blog-list { display: grid; gap: 0; }
.blog-list-entry { grid-template-columns: 170px minmax(0, 1fr) 24px; gap: 40px; align-items: start; }
.blog-list-entry .post-meta { flex-direction: column; padding-top: 6px; margin-bottom: 0; }
.blog-list-entry h2 { max-width: 780px; }
.blog-list-entry p { max-width: 670px; }
.blog-entry-arrow { color: var(--accent); font-size: 22px; }
.blog-article .blog-main { max-width: 1280px; }
.blog-article .post-reading-grid { display: grid; grid-template-columns: 180px minmax(0, 960px); gap: 48px; max-width: 1280px; margin-inline: 0; }
.blog-article .post-contents { display: block; }
.blog-article .post-contents nav { position: sticky; top: 115px; }
.blog-article .post-contents .overline { margin-bottom: 24px; }
.blog-article .post-contents a { font-size: 12px; }
.blog-article .post-contents a span { flex: 0 0 auto; }
.blog-article .post-header { margin: 42px 0 44px; padding-bottom: 34px; }
.blog-article .post-header h1 { max-width: 1120px; margin-top: 22px; font-size: clamp(36px, 4.3vw, 58px); line-height: 1.13; letter-spacing: -.045em; }
.blog-article .post-meta { font-size: 11px; }
.blog-article .post-subtitle { max-width: 970px; margin-top: 22px; font-size: 18px; line-height: 1.65; }
.blog-article .post-body { font-size: 18px; line-height: 1.8; color: var(--body); }
.blog-article .post-body > p:first-child { font-size: 18px; line-height: 1.8; }
.blog-article .post-body h2 { margin-top: 64px; padding-top: 28px; font-size: 32px; line-height: 1.25; }
.blog-article .post-body h3 { margin-top: 38px; font-size: 24px; }
.blog-article .post-body a { text-decoration-thickness: 1px; text-decoration-color: color-mix(in srgb, var(--accent) 35%, var(--muted)); }
.blog-article .post-body a:hover { text-decoration-color: var(--accent); }
.blog-article .post-body figure { width: min(100%, 900px); }
.blog-article .post-body figure.post-video,
.blog-article .post-body figure.post-screenshot { width: 100%; }
.graph-study .post-body figure.graph-figure { width: min(100%, 860px); margin: 32px auto; scroll-margin-top: 0; }
.graph-study .graph-figure a { display: block; }
.graph-study .post-body .benchmark-charts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; margin-top: 48px; }
.graph-study .post-body .benchmark-chart { min-width: 0; }
.graph-study .post-body .benchmark-chart h2 { margin: 0 0 24px; }
.graph-study .post-body .benchmark-chart figure.graph-figure { width: 100%; margin: 0; }
.graph-study .benchmark-chart .graph-figure a { cursor: zoom-in; }
/* Use only spare space to the right of the reading column; never enter the sidebar. */
@media (min-width: 1101px) {
  .graph-study .post-body .benchmark-charts { width: calc(100% + clamp(0px, calc(100vw - 1284px), 92px)); }
}
.graph-study .post-body figure.performance-figure { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.graph-study .post-body figure.performance-figure img { background: #151412; padding: 0; border: 0; }
.graph-study .post-body details { border-bottom: 1px solid var(--line); margin: 0; padding: 0; }
.graph-study .post-body details:first-of-type { border-top: 1px solid var(--line); }
.graph-study .post-body summary { position: relative; list-style: none; cursor: pointer; padding: 19px 38px 19px 0; color: var(--ink); font-size: 17px; font-weight: 500; line-height: 1.6; }
.graph-study .post-body summary::-webkit-details-marker { display: none; }
.graph-study .post-body summary::after { content: '+'; position: absolute; right: 4px; top: 16px; color: var(--accent); font-size: 24px; font-weight: 400; }
.graph-study .post-body details[open] > summary::after { content: '−'; }
.graph-study .post-body summary:hover { color: var(--accent); }
.graph-study .post-body summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; border-radius: 2px; }
.graph-study .post-body details[open] { padding-bottom: 15px; }
.graph-study .post-body details[open] > summary { margin-bottom: 10px; }
.graph-study .post-body details > p { font-size: 17px; line-height: 1.8; }
.graph-study .post-body details > p:last-child { margin-bottom: 16px; }
.graph-study .post-body .performance-figure + p:has(>em:only-child) { max-width: 860px; margin-inline: auto; }
.graph-study .post-body .performance-figure + p > em:only-child { margin: 0 0 28px; padding: 0; border: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.graph-study .post-body blockquote { margin: 28px 0 32px; padding: 16px 24px; border-left: 2px solid var(--accent); background: var(--surface); color: var(--content-quote); font-family: inherit; font-size: 19px; line-height: 1.7; }
.graph-study .post-body blockquote p:last-child { margin-bottom: 0; }
.graph-study .post-body :not(pre) > code { font-family: var(--mono); font-size: .83em; }
.graph-study .post-body li { padding-left: 4px; margin-bottom: 14px; }
.graph-study .post-table th, .graph-study .post-table td { text-align: left; white-space: normal; }
.graph-study .post-table td { line-height: 1.65; }
.graph-study .post-table table { min-width: 610px; }
.graph-study .trace-summary-table th { padding: 17px 20px; font-size: 11px; }
.graph-study .trace-summary-table td { padding: 20px; font-family: inherit; font-size: 16px; }
.graph-study .retrieval-summary-table th { padding: 18px 22px; font-size: 12px; line-height: 1.5; }
.graph-study .retrieval-summary-table td { padding: 21px 22px; font-size: 18px; }
.graph-study .retrieval-summary-table td:first-child { font-family: inherit; }
.graph-study .retrieval-summary-table strong { color: var(--ink); font-weight: 500; }
.graph-study .study-summary-table { margin: 36px 0; scroll-margin-top: 48px; }
.graph-study .study-summary-table table { table-layout: fixed; min-width: 760px; }
.graph-study .study-summary-table th { padding: 18px 24px; font-size: 12px; line-height: 1.6; letter-spacing: .05em; }
.graph-study .study-summary-table td { padding: 26px 24px; font-family: inherit; font-size: 18px; line-height: 1.65; vertical-align: top; }
.graph-study .study-summary-table th:nth-child(1) { width: 23%; }
.graph-study .study-summary-table th:nth-child(2) { width: 10%; white-space: nowrap; }
.graph-study .study-summary-table th:nth-child(3) { width: 41%; }
.graph-study .study-summary-table th:nth-child(4) { width: 26%; }
.graph-study .study-summary-table td:first-child { color: var(--ink); font-weight: 500; }
.graph-study .study-summary-table td:nth-child(2) { color: var(--ink); font-family: var(--mono); font-size: 21px; line-height: 1.42; }
.graph-study .study-summary-table td:last-child { color: var(--content-copy); }
@media (max-width: 1100px) {
  .blog-article .post-reading-grid { display: block; max-width: 960px; margin-inline: auto; }
  .blog-article .post-contents { display: none; }
  .graph-study .post-body .benchmark-charts { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .graph-study .post-body .benchmark-chart figure.graph-figure { width: min(100%, 860px); }
}
@media (max-width: 760px) {
  .blog-list-entry { grid-template-columns: minmax(0, 1fr) 24px; gap: 20px; }
  .blog-list-entry .post-meta { grid-column: 1 / -1; flex-direction: row; margin: 0; }
  .blog-article .post-header { margin-top: 36px; }
  .blog-article .post-subtitle { font-size: 17px; }
  .blog-article .post-body { font-size: 17px; line-height: 1.8; }
  .blog-article .post-body > p:first-child { font-size: 17px; }
  .blog-article .post-body h2 { font-size: 30px; }
  .blog-article .post-body h3 { font-size: 23px; }
  .graph-study .study-summary-table th { padding: 16px; font-size: 11px; }
  .graph-study .study-summary-table td { padding: 22px 16px; font-size: 17px; }
  .graph-study .study-summary-table table { min-width: 610px; }
  .graph-study .study-summary-table th:nth-child(2) { width: 12%; }
  .graph-study .study-summary-table th:nth-child(3) { width: 38%; }
  .graph-study .study-summary-table th:nth-child(4) { width: 27%; }
}
@media (max-width: 480px) {
  .blog-article .post-body { font-size: 16px; }
  .blog-article .post-body > p:first-child { font-size: 16px; }
  .blog-article .post-body h2 { font-size: 28px; }
  .blog-article .post-body h3 { font-size: 21px; }
  .graph-study .post-body blockquote { font-size: 17px; padding: 14px 18px; }
  .graph-study .post-table th, .graph-study .post-table td { padding: 12px; }
  .graph-study .study-summary-table th { padding: 16px; }
  .graph-study .study-summary-table td { padding: 22px 16px; }
}
@media print {
  body.editorial-page { --body: #111; --surface: #f4f4f4; }
  .blog-article .post-reading-grid { display: block; max-width: none; }
  .blog-article .post-contents { display: none; }
  .graph-study .post-body .benchmark-charts { width: 100%; grid-template-columns: minmax(0, 1fr); }
  .blog-article .post-body { font-size: 11pt; }
  .blog-article .post-body > p:first-child { font-size: 12pt; }
}
