body {
  max-width: 50rem;
  margin: 0 auto;
  padding: 0 1rem;
}

h1 {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.post-date {
  font-weight: var(--regular-weight);
  font-style: italic;
  font-size: 50%;
}

.post-list li {
  display: flex;
  justify-content: space-between;
}

figure {
  text-align: center;
  background-color: var(--color-light-2);
  box-shadow: transparent 0 0 0 3px,rgba(18, 18, 18, .7) 0 6px 20px;
  margin-bottom: 1.5rem;
}
figure > div {
  display: inline-block;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
  text-align: center;
}
figure figcaption {
  border-top: 1px solid var(--color-light);
  background: var(--color-light-2);
}
figure > div img {
  margin: 0 auto;
  max-width: 100%;
  height: auto;
}
body.dark-theme figure > div img[src$=".svg"] {
  filter: invert(93%) hue-rotate(180deg);
}
@media (prefers-color-scheme: dark) {
  figure > div img[src$=".svg"] {
    filter: invert(93%) hue-rotate(180deg);
  }
  body.light-theme figure > div img[src$=".svg"] {
    filter: none;
  }
}
figure > div > figcaption {
  margin: 0;
  padding: .25em;
  font-size: 75%;
  text-align: right;
}

dialog {
  color: var(--color-dark);
  background-color: var(--color-light);
  padding: 0;
  border: 1px solid var(--color-light-2);
  box-shadow: transparent 0 0 0 3px,rgba(4, 4, 4, .7) 0 6px 20px;
  max-width: 100vw;
  position: fixed;
}
::backdrop {
  background-color: var(--color-light);
  opacity: 90%;
}
dialog figure {
  margin: 0;
}
dialog button {
  color: var(--color-dark);
  background-color: var(--color-light);
  border: 1px solid var(--color-dark);
  opacity: 50%;
  position: absolute;
  top: .5rem;
  right: .5rem;
  cursor: pointer;
  padding: .5rem 1rem;
  text-align: center;
}
dialog button:hover {
  opacity: 100%;
}

blockquote {
  font-style: italic;
  margin: 0 0;
  padding-left: 1em;
  border-left: 1em solid var(--color-accent);
  border-radius: .33em;
}

hr {
  border: 1px solid var(--color-sep);
  margin-top: 2em;
  margin-bottom: 2em;
}
.footnotes-heading {
  color: var(--color-sep);
}
.footnotes {
  font-size: 90%;
}
