.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;
}

.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;
}

.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;
  }
}
