.dropdown-menu-2 {
  /* Keep the navigation above the positioned article and its contents panel. */
  z-index: 10;
}

.text-container {
  position: relative;
}
.table-of-contents {
  width: 100%;
  margin: 0 0 28px;
  line-height: 1.5;
  background-color: rgb(254, 239, 233);
  border-radius: 12px;
}
.table-of-contents summary {
  padding: 16px 20px;
  font-family: "DM Serif Display", serif;
  font-size: 20px;
  cursor: pointer;
}
.table-of-contents ol {
  margin: 0;
  padding: 0 24px 24px 52px;
  list-style: upper-roman;
  text-align: left;
}
.table-of-contents li + li {
  margin-top: 0.75em;
}
.table-of-contents a {
  color: inherit;
  text-decoration: none;
  text-underline-offset: 4px;
}
.table-of-contents a:hover {
  text-decoration: underline;
}
.table-of-contents a:focus-visible,
.table-of-contents summary:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
  border-radius: 2px;
}
@media screen and (min-width: 1200px) {
  .table-of-contents {
    position: absolute;
    top: 0;
    right: calc(100% + 16px);
    width: calc(20vw - 32px);
    max-width: 280px;
    margin: 0;
    font-size: 16px;
  }
}

.h2-styling[id] {
  scroll-margin-top: 24px;
}

/* This page has more room to the right of its article. */
@media screen and (min-width: 1200px) {
  .table-of-contents--right {
    right: auto;
    left: calc(100% + 16px);
  }
}
