@import url("https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,100..900;1,9..144,100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Crimson+Text:ital,wght@0,400;0,600;0,700;1,400;1,600;1,700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Courier+Prime:ital,wght@0,400;0,700;1,400;1,700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,100..900;1,9..144,100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Crimson+Text:ital,wght@0,400;0,600;0,700;1,400;1,600;1,700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Courier+Prime:ital,wght@0,400;0,700;1,400;1,700&display=swap");
html {
  font-size: 16px; }

@media (max-width: 768px) {
  html {
    font-size: 14px; } }

body {
  width: 75%;
  margin-left: auto;
  margin-right: auto;
  font-family: "Crimson Text", "Palatino", "Georgia", serif;
  background-color: #fffff8;
  color: #111111;
  max-width: 1050px;
  counter-reset: sidenote-counter; }

@media (max-width: 768px) {
  body {
    width: 88%;
    padding-left: 6%;
    padding-right: 6%; } }

article {
  width: 100%;
  padding: 5rem 0rem; }

section {
  padding-top: 1rem;
  padding-bottom: 1rem; }

p,
dl,
ol,
ul {
  font-size: 1.4rem;
  line-height: 2rem; }

p {
  margin-top: 1.4rem;
  margin-bottom: 1.4rem;
  padding-right: 0;
  vertical-align: baseline; }
  p.subtitle {
    font-style: italic;
    margin-top: 1rem;
    margin-bottom: 1rem;
    font-size: 1.8rem;
    display: block;
    line-height: 1; }

p,
footer,
table {
  width: 62.5%; }

@media (max-width: 768px) {
  p,
  footer,
  table {
    width: 100%; } }

dl,
ol,
ul {
  width: 90%;
  -webkit-padding-start: 2%; }

@media (max-width: 768px) {
  dl,
  ol,
  ul {
    width: 90%; } }

h1,
h2,
h3 {
  font-weight: 400;
  line-height: 1; }

h1 {
  font-size: 3.2rem;
  margin-top: 4rem;
  margin-bottom: 1.5rem; }

h2 {
  font-size: 2.2rem;
  font-style: italic;
  margin-top: 2.1rem;
  margin-bottom: 1.4rem; }

h3 {
  font-size: 1.7rem;
  font-style: italic;
  margin-top: 2rem;
  margin-bottom: 1.4rem; }

h1 > code,
h2 > code,
h3 > code {
  font-size: 0.8em; }

a:link, a:visited {
  color: inherit;
  text-underline-offset: 0.1em;
  text-decoration-thickness: 0.05em; }

.sans {
  font-family: system-ui, "Helvetica", sans-serif;
  letter-spacing: 0.03em; }
  .sans > code {
    font-size: 1.2rem; }

.mono {
  font-family: "Courier Prime", "Courier", monospace; }

.newthought {
  font-variant: small-caps;
  font-size: 1.2em; }

span.fullwidth {
  max-width: 90%;
  clear: both; }

div.fullwidth,
table.fullwidth {
  width: 100%; }

div.table-wrapper {
  overflow-x: auto;
  font-family: "Trebuchet MS", "Gill Sans", "Gill Sans MT", sans-serif; }

@media (max-width: 768px) {
  div.table-wrapper,
  table {
    width: 85%; } }

hr {
  display: block;
  height: 1px;
  width: 62.5%;
  border: 0;
  border-top: 1px dashed #111111;
  margin: 1em 0;
  padding: 0; }

@media (max-width: 768px) {
  hr {
    width: 100%; } }

/*.numeral { // Uncomment once available
  font-family: "et-book-roman-old-style";
}*/
.danger {
  color: red; }

blockquote p {
  width: 62.5%;
  margin-right: 40px; }

blockquote footer {
  width: 100%;
  font-size: 1.1rem;
  text-align: right; }

@media (max-width: 768px) {
  blockquote {
    margin-left: 1.5em;
    margin-right: 0em; }
    blockquote p, blockquote footer {
      width: 100%; } }

dt:not(:first-child),
li:not(:first-child) {
  margin-top: initial; }

.iframe-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  /* 16:9 */
  padding-top: 25px;
  height: 0; }
  .iframe-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; }

img {
  max-width: 100%; }

@media (max-width: 768px) {
  img {
    width: 100%; } }

figure {
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  max-width: 62.5%;
  -webkit-margin-start: 0;
  -webkit-margin-end: 0;
  margin: 0 0 3em 0; }
  figure.fullwidth figcaption {
    margin-right: 24%; }

@media (max-width: 768px) {
  figure {
    max-width: 100%; } }

figcaption {
  float: right;
  clear: right;
  margin-top: 0;
  margin-bottom: 0;
  font-size: 1.1rem;
  line-height: 1.6;
  vertical-align: baseline;
  position: relative;
  max-width: 40%; }

@media (max-width: 768px) {
  figcaption,
  figure.fullwidth figcaption {
    margin-right: 0%;
    max-width: none; } }

pre {
  max-width: calc(100% - 2.5%); }

@media (max-width: 768px) {
  pre {
    max-width: calc(100% - 5%); } }

code,
pre > code {
  font-family: "Courier Prime", "Courier", monospace;
  font-size: 1rem;
  line-height: 1.42;
  -webkit-text-size-adjust: 100%;
  /* Prevent adjustments of font size after orientation changes in iOS. See https://github.com/edwardtufte/tufte-css/issues/81#issuecomment-261953409 */ }

pre > code {
  font-size: 0.9rem;
  width: 52.5%;
  margin-left: 0;
  padding-left: 2.5%;
  overflow-x: auto;
  display: block; }

@media (max-width: 768px) {
  pre > code {
    width: 97%; } }

pre.fullwidth > code {
  width: 90%; }

.sidenote,
.marginnote {
  float: right;
  clear: right;
  margin-right: -60%;
  width: 50%;
  margin-top: 0.3rem;
  margin-bottom: 0;
  font-size: 1.1rem;
  line-height: 1.3;
  vertical-align: baseline;
  position: relative; }
  .sidenote > code, .sidenote > code,
  .marginnote > code,
  .marginnote > code {
    font-size: 1rem; }

.sidenote:before {
  content: counter(sidenote-counter) " ";
  font-size: 0.8rem;
  top: -0.5rem; }

.sidenote-number {
  counter-increment: sidenote-counter; }
  .sidenote-number:after {
    content: counter(sidenote-counter);
    font-size: 0.8rem;
    top: -0.5rem;
    left: 0.1rem; }

.sidenote-number:after,
.sidenote:before {
  position: relative;
  vertical-align: baseline; }

blockquote .sidenote,
blockquote .marginnote {
  margin-right: -82%;
  min-width: 59%;
  text-align: left; }

input.margin-toggle {
  display: none; }

label.sidenote-number {
  display: inline-block;
  max-height: 2rem;
  /* should be less than or equal to paragraph line-height */ }

label.margin-toggle:not(.sidenote-number) {
  display: none; }

@media (max-width: 768px) {
  label.margin-toggle:not(.sidenote-number) {
    display: inline; }
  .sidenote,
  .marginnote {
    display: none; }
  .margin-toggle:checked + .sidenote,
  .margin-toggle:checked + .marginnote {
    display: block;
    float: left;
    left: 1rem;
    clear: both;
    width: 95%;
    margin: 1rem 2.5%;
    position: relative; }
  label {
    cursor: pointer; } }

div.epigraph {
  margin: 5em 0; }
  div.epigraph > blockquote {
    margin-top: 3em;
    margin-bottom: 3em;
    font-style: italic; }
    div.epigraph > blockquote > p {
      font-style: italic; }
    div.epigraph > blockquote > footer {
      width: 62.5%;
      font-style: normal; }
      div.epigraph > blockquote > footer > span > p {
        font-size: 1.1rem; }
      div.epigraph > blockquote > footer > cite {
        font-style: italic; }

@media (max-width: 768px) {
  div.epigraph > blockquote > footer {
    width: 100%; } }

html {
  scrollbar-gutter: stable both-edges; }

body {
  font-size-adjust: ex-height 0.4;
  overflow-wrap: break-word;
  hyphens: auto;
  text-size-adjust: none;
  -webkit-text-size-adjust: none;
  -moz-text-size-adjust: none;
  -ms-text-size-adjust: none; }

.index {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 90vh; }

@media (max-width: 768px) {
  .index {
    width: 100%; } }

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Fraunces", "Palatino", "Georgia", serif; }

h1,
h2,
h3 {
  font-weight: bold; }

h1 {
  font-size: 2.2rem; }
  h1.article-title {
    font-size: 2.8rem;
    font-weight: 900;
    letter-spacing: -2px; }
  h1.index-title {
    font-size: 4rem;
    font-weight: 900;
    font-style: italic;
    letter-spacing: -2px;
    margin-bottom: 0; }

@media (max-height: 480px) {
  h1.index-title {
    margin-top: 10rem; } }

h2 {
  font-size: 1.6rem; }

h3 {
  font-size: 1.2rem; }

.article-header {
  max-width: 100%; }
  .article-header .article-subheader {
    max-width: 62.5%; }
    .article-header .article-subheader .article-info {
      font-size: 1.1rem; }
    .article-header .article-subheader .subheader-nav {
      float: right; }
  .article-header hr {
    width: 62.5%; }

@media (max-width: 768px) {
  .article-header {
    max-width: 100%; }
    .article-header .article-subheader {
      max-width: 100%; }
    .article-header hr {
      width: 100%; } }

table {
  border-collapse: collapse;
  border-bottom: 1px solid #111111;
  min-width: 20%;
  width: auto;
  max-width: 75%; }
  table th {
    border-bottom: 1px solid #111111; }
  table td {
    padding: 0.4em;
    text-align: center; }

a {
  text-decoration-style: dashed;
  text-decoration-color: #97266f; }
  a.xref {
    text-decoration: none;
    align-items: center; }
    a.xref .xref-text {
      font-weight: bolder;
      padding-top: 2px; }
  article a {
    transition: color 0.2s; }
    article a:hover {
      color: #97266f;
      opacity: 0.6; }

.subheader-nav > a {
  transition: color 0.2s; }
  .subheader-nav > a:hover {
    color: #97266f;
    opacity: 0.6; }

.hcenter {
  text-align: center; }

.ornament {
  font-size: 2rem; }

figcaption {
  width: 100%;
  max-width: 100%; }
  figcaption > p {
    display: block;
    font-size: 0.8rem;
    text-align: right;
    margin: 0;
    width: 100%; }

.standout-paragraph {
  width: calc(62.5% - 3rem);
  border-radius: 5px;
  background-color: rgba(151, 38, 111, 0.2);
  padding: 1.5rem; }

@media (max-width: 768px) {
  .standout-paragraph {
    width: calc(100% - 3rem); } }

pre code.hljs {
  width: 100%; }

p:has(img:only-child) img {
  max-width: 160%; }

p:has(img:only-child) .sidenote img, p:has(img:only-child) .marginnote img {
  max-width: 100%; }

kbd {
  font-size: 75%;
  border-radius: 3px;
  border: 1px solid #111111;
  padding: 1px 2px; }

mark {
  background-color: rgba(166, 140, 145, 0.25); }

details summary {
  cursor: pointer;
  font-size: 1.2rem; }

.gap {
  width: 100%; }

p.index-intro {
  margin-bottom: 0; }

@media (max-height: 480px) {
  p.index-intro {
    width: 100%; } }

.social-list a {
  font-size: 3rem;
  transition: color 0.2s;
  text-decoration: none; }
  .social-list a .feather-icon {
    margin-right: 0.5rem; }
  .social-list a:hover {
    color: #97266f;
    opacity: 0.6; }

::selection {
  background-color: rgba(151, 38, 111, 0.2); }

/* Lists */
ol {
  counter-reset: item;
  margin: 0; }
  ol li:before {
    display: block;
    float: left;
    content: counter(item);
    margin-right: 1.15rem; }

ul,
ol {
  padding-bottom: 0.5rem; }

ol li,
ul li {
  counter-increment: item;
  list-style: none;
  margin: 0; }
  ol li p,
  ul li p {
    margin-left: 2.5em; }

ul li:before {
  display: block;
  float: left;
  content: "-";
  margin-right: 1.15rem; }

nav.bottom-nav {
  font-size: 1.4rem;
  border-top: 1px dashed #111111;
  padding-top: 1rem;
  margin: 2rem 0 2.5rem 0;
  text-align: right; }
  nav.bottom-nav > a {
    display: block;
    padding: 2px 6px;
    text-transform: lowercase;
    text-decoration: none;
    transition: background-color 0.2s ease;
    border-radius: 5px; }
    nav.bottom-nav > a:hover {
      background-color: rgba(151, 38, 111, 0.2); }

@media (max-width: 768px) {
  nav.bottom-nav {
    width: 100%;
    font-size: 1.6rem; }
    nav.bottom-nav > a {
      padding: 6px; } }

nav.breadcrumbs {
  font-size: 1rem;
  border-top: none;
  margin: 0;
  padding: 0; }
  nav.breadcrumbs > a {
    transition: color 0.2s; }
    nav.breadcrumbs > a:hover {
      color: #97266f;
      opacity: 0.6; }

@media (max-width: 768px) {
  nav.breadcrumbs {
    font-size: 1.2rem; } }

table.posts-lists {
  border-bottom: none;
  width: 62.5%; }
  table.posts-lists tr.index-entry {
    transition: background-color 0.2s ease; }
    table.posts-lists tr.index-entry:hover {
      background-color: rgba(151, 38, 111, 0.2); }
    table.posts-lists tr.index-entry td {
      padding: 0.3em 0.4em; }
      table.posts-lists tr.index-entry td a {
        display: block;
        text-decoration: none; }
        table.posts-lists tr.index-entry td a:hover {
          color: #111111;
          opacity: initial; }
      table.posts-lists tr.index-entry td.post-date {
        font-size: 0.9rem;
        text-align: right;
        width: 1%;
        white-space: nowrap;
        border-radius: 5px 0 0 5px; }
      table.posts-lists tr.index-entry td.post-title {
        text-align: left;
        font-size: 1.25rem;
        font-weight: bold;
        border-radius: 0 5px 5px 0; }

@media (max-width: 768px) {
  table.posts-lists {
    width: 100%;
    max-width: 100%; } }
