/* Sidenotes are hidden by default; JS shows them on wide screens */
.sidenote {
  display: none;
}

.sidenote .sidenote-number {
  font-weight: 700;
  color: var(--color-heading);
}

.sidenote p {
  margin: 0;
  display: inline;
}

@media (min-width: 1100px) {
  .container {
    max-width: min(calc(var(--content-width) + 14rem), calc(100vw - 4rem));
    margin-left: auto;
    margin-right: auto;
  }

  .post-content {
    position: relative;
    padding-right: 14rem;
  }

  .sidenote {
    position: absolute;
    right: 0;
    width: 12.5rem;
    font-size: 11px;
    line-height: 1.5;
    color: var(--color-subtext);
  }
}
