.tldr {
  background: #eaf3ff;
  border: 1px solid #bfd8ff;
  color: #1e3a5f;
  border-radius: 14px;
  padding: 16px 18px;
  margin: 24px 0 32px;
  font-size: 1rem;
  line-height: 1.6;
}

.paper-cta {
  display: inline-block;
  margin: 0.85em 0 1.9em;
  padding: 0.7em 1em;
  border: 1px solid #111;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
}

.paper-cta:hover,
.paper-cta:focus-visible {
  background: #111;
  color: #fff;
}

.correspondence {
  margin: 0.35em 0 0;
  color: #666;
  font-size: 0.95em;
}

.post-figure {
  margin: 2rem 0;
}

.post-figure img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.image-caption {
  display: block;
  margin-top: 0.75rem;
  color: #4b5563;
  font-size: 0.94rem;
  line-height: 1.5;
}

.bibtex {
  overflow-x: auto;
  padding: 1rem;
  border-radius: 8px;
  background: #f6f6f6;
  font-size: 0.85rem;
  line-height: 1.45;
}

.tldr a {
  text-decoration: underline;
}

.metric-name {
  white-space: nowrap;
}

.post-page h2 {
  margin-top: 2.6rem;
}

.post-page h3 {
  margin-top: 2rem;
}

.post-page img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.plot.single {
  width: 100%;
}

.plot-figure {
  margin: 28px 0 32px;
}

.plot-figure .image-caption {
  margin-top: 0.9rem;
  font-size: 0.94rem;
  line-height: 1.55;
  text-align: left;
}

.narrow-figure img {
  max-width: 560px;
  margin: 0 auto;
}

.equation {
  margin: 1.5rem 0;
  text-align: center;
  overflow-x: auto;
  font-size: 1.15rem;
}

.post-page ol,
.post-page ul {
  padding-left: 1.3rem;
}

.post-page li {
  margin-bottom: 0.5rem;
}

.footnotes {
  margin-top: 2.8rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e5e7eb;
}

.footnote-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footnote-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1em;
}

.footnote-marker {
  min-width: 2.5em;
  text-align: right;
  flex-shrink: 0;
  margin-right: 1em;
  color: #6b7280;
}

.footnote-content {
  flex: 1;
  color: #4b5563;
}

.footnote-backref {
  margin-left: 0.35rem;
  text-decoration: none;
}

@media (max-width: 720px) {
  .tldr {
    padding: 14px 16px;
  }

  .plot-figure .image-caption {
    text-align: center;
  }
}
