/* Shared look for the research notes, matching the landing page. Linked last in each note so it wins over the page's own styles. */
body { color:#111; font:13px/1.45 Arial, Helvetica, sans-serif; }

/* layout: one plain column in the landing page's 1032px wrap */
.blog-shell { display:block; min-height:0; }
.wrap { max-width:1032px; margin:40px auto; padding:0 16px; }
/* keep the scrollbar's space on every page so short and long pages line up */
html { scrollbar-gutter:stable; }
/* same position as the landing page's middle column (its left column is 215px) */
.main { padding:0 24px; margin-left:215px; }
@media (max-width:1000px) { .main { margin-left:0; padding:0; } }

/* header */
.blog-breadcrumb { font-size:13px; color:#666; margin-bottom:12px; }
.blog-breadcrumb a { text-decoration:underline; }
/* previous / next links sit at the right edge of the text column, top and bottom */
.blog-breadcrumb, .post-footer .thanks, .blog-content .thanks { display:flex; justify-content:space-between; gap:16px; max-width:700px; }
.note-nav { white-space:nowrap; }
.blog-title { font:700 16.8px/1.3 Arial, Helvetica, sans-serif; color:#AD7C03; letter-spacing:0; margin:6px 0; }
.blog-subtitle { font-size:13px; line-height:1.45; color:#666; margin:0 0 6px; }
.blog-meta { font-size:13px; color:#666; margin:0 0 18px; }
.blog-meta span + span::before { content:"·"; margin:0 6px; opacity:1; }

/* body text */
/* one 700px column for text, figures and tables alike */
.blog-content { font-size:13px; line-height:1.45; max-width:700px; }
.blog-content p { font-size:13px; line-height:1.45; margin:0 0 10px; }
.blog-content ul, .blog-content ol { font-size:13px; line-height:1.45; margin:0 0 10px 1.5rem; }
.blog-content h2, .blog-content h2:first-of-type {
  font:700 16.8px/1.3 Arial, Helvetica, sans-serif; color:#AD7C03; letter-spacing:0; margin:20px 0 6px;
}
.blog-content h3 { font-size:13px; font-weight:700; margin:14px 0 4px; }
.blog-content blockquote { background:none; border-left:2px solid #AD7C03; padding:0 0 0 12px; margin:10px 0; color:#111; }
.blog-content hr { margin:24px 0; border-top-color:#222; }
.figure-block figcaption { font-family:inherit; font-style:normal; font-size:12px; text-align:left; }

/* boxes: no cards, tints or rounded corners */
.aside-personal, .interactive, .eq-block, .fun-demo, .blog-content details {
  background:none; border:none; border-radius:0; box-shadow:none; padding:0; margin:10px 0;
}
.blog-content figure { margin:16px 0; text-align:left !important; }
.figure-block img { border:none; border-radius:0; }
.blog-content .eq-block, .blog-content .katex-display, .blog-content .katex-display > .katex,
.blog-content mjx-container[jax="CHTML"][display="true"] { text-align:left; }

/* tables: same font as the text, no mono or uppercase headers */
.blog-content table, .blog-content table.results { font-size:13px; margin:12px 0; }
.blog-content table th, .blog-content table td, .blog-content table td:first-child {
  font-family:inherit; font-size:13px; text-transform:none; letter-spacing:0;
}

/* footer: same small line as the landing page */
.post-footer { margin:24px 0 0; padding:0; border:none; text-align:left; }
.post-footer .thanks, .blog-content .thanks { font-size:13px; color:#111; text-align:left; margin:24px 0 6px; }
.post-footer .copyright, .blog-content .copyright { font-size:11px; color:#111; text-align:left; margin:0; }
.post-footer .thanks { margin-top:0; }

@media (max-width:600px) {
  .wrap { margin:24px auto; }
  .main { padding:0; }
  body, .blog-content, .blog-content p, .blog-content ul, .blog-content ol, .blog-content h3, .blog-subtitle { font-size:15px; }
  .blog-title { font-size:17px; }
  .blog-breadcrumb { font-size:14px; }
}
