/* Article layout follows beyond-gmean-squared/styles.css. */
.post-body {
  padding-bottom: 2rem;
}

.post-body h2 {
  margin-top: 3rem;
}

.post-body h3 {
  margin-top: 2.4rem;
}

.post-body p,
.post-body li {
  line-height: 1.65;
}

.post-body ul,
.post-body ol {
  padding-left: 1.4rem;
}

.post-body li {
  margin-bottom: 0.6rem;
}

.tldr {
  margin: 2rem 0 2.5rem;
  padding: 1.2rem 1.35rem;
  border-left: 3px solid #bfd8ff;
  background: #eaf3ff;
  color: #1e3a5f;
}

.tldr > strong {
  display: block;
  margin-bottom: 0.55rem;
}

.tldr p:last-child {
  margin-bottom: 0;
}

.plot-figure {
  margin: 2.2rem 0;
}

.plot-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.plot-figure figcaption {
  margin-top: 0.9rem;
  color: #555;
  font-size: 0.93rem;
  line-height: 1.55;
}

.footnote-ref {
  margin-left: 0.1em;
  font-size: 0.75em;
}

.footnotes,
.citation {
  margin-top: 2.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid #ddd;
}

.footnotes li {
  font-size: 0.93rem;
}

.citation {
  margin-bottom: 4rem;
}

.bibtex {
  padding: 1rem;
  border-radius: 8px;
  font-size: 0.86rem;
}

[id] {
  scroll-margin-top: 6rem;
}

@media (min-width: 1000px) {
  .wide-figure {
    position: relative;
    left: 50%;
    width: min(1120px, calc(100vw - 4rem));
    transform: translateX(-50%);
  }
}

@media (max-width: 640px) {
  .tldr {
    padding: 1rem;
  }
}

/* Post-specific formatting. */
.source-bold { font-weight: 700; }
.source-italic { font-style: italic; }
.source-underline { text-decoration: underline; }
.numbered-finding { margin-left: 1.5rem; }
.inline-equation { white-space: nowrap; }
.inline-equation sup { font-size: .75em; line-height: 0; vertical-align: super; }
.footnotes p { font-size: .93rem; }
.references .reference-entry { padding-left: 1.8rem; text-indent: -1.8rem; }
.citation-group { white-space: nowrap; }
