@font-face {
  font-family: "Adobe Garamond Pro";
  src: url(fonts/AGaramondPro-Regular.otf);
}
@font-face {
  font-family: "Adobe Garamond Pro";
  src: url(fonts/AGaramondPro-Bold.otf);
  font-weight: bold;
}
@font-face {
  font-family: "Adobe Garamond Pro";
  src: url(fonts/AGaramondPro-Italic.otf);
  font-style: italic;
}


:root {
  --paper: #f9f7f3;
  --ink: #20201d;
  --muted: #6f6c64;
  --line: #6f6c64;
  --red: #8e2424;
  --quote: #f1f0ea;

  --serif: "Adobe Garamond Pro", Georgia, serif;
  --sans: Arial, sans-serif;
  --mono: Consolas, monospace;
}

html,
body {
  min-height: 100%;
  padding: 3% 2vw;
  max-width: 700px;
  width: 95%;
  margin: 0 auto;
  display: inline-block;
  vertical-align: top;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
}

p, h1, h2, h3, h4, h5, h6, a, li {
  line-height: 1.8;
}

h1, h2, h3, h4, h5, h6, div {
  color: var(--ink);
}

p, a, h2, h3, li {
  font-size: clamp(18px, 3vw, 22px);
}

a {
  color: var(--red);
  transition: color 160ms ease;
}

a:hover,
a:focus-visible {
  color: var(--ink);
  text-decoration: underline;
}

div {
  text-transform: uppercase;
  font-family: var(--mono);
  font-size: medium;
}

h1, .titleref {
  color: var(--ink);
  margin: 0;
  line-height: 1;
  text-decoration: none;
  font-weight: 400;
  font-variant: small-caps;
  font-size: clamp(30px, 3vw, 48px);
}

.banner {
  font-style: italic;
  font-family: var(--serif);
  text-transform: none;
  font-size: clamp(18px, 3vw, 24px);
  margin-bottom: 10px;
}

.headerref {
  font-size: small;
  text-decoration: none;
  font-weight: 500;
  color: var(--red);
}

.headerref:hover,
.headerref:focus-visible {
  color: var(--ink);
  text-decoration: underline;
}

h2 {
  margin: 0;
  padding: 0;
  color: var(--red);
  font-weight: bold;
  font-size: clamp(18px, 3vw, 22px);
  font-variant: none;
}

.subtitle {
  font-variant: small-caps;
  font-weight: 400;
  color: var(--red);
  font-size: xx-large;
  margin-bottom: 15px;
}

h3 {
  margin: 0;
  padding: 0;
  color: var(--red);
  font-weight: 400;
}

p  {
  text-align: justify;
  text-indent: 25px;
  margin: 0;
  padding: 0;
}

.no-indent {
  text-indent: 0;
}

.bib-indent {
  padding-left: 25px;
  text-indent: -25px;
  margin-bottom: 10px;
}

table {
  margin-top: -20px;
  border: 0;
}

td {
  line-height: 3;
  color: var(--red);
  font-size: clamp(14px, 3vw, 20px);
}

.td-date {
  text-align: left;
  font-family: var(--serif)
}

.entry {
  color: var(--ink);
  text-align: left;
  margin-left: 30px;
  text-align: left;
  text-decoration: none;
}

.entry:hover,
.entry:focus-visible {
  text-decoration: underline;
}

mark {
  background-color: #FFF176;  
  color: var(--muted)
}

.authorname {
  font-variant: small-caps;
  text-decoration: underline;
}

.essaydate {
  color: var(--red);
  text-indent: 0;
  font-style: italic;
}

blockquote {
  margin: 10px auto;
  padding: 25px 35px;
  border-radius: 0;
  border: 1px solid var(--line);
  background-color: var(--quote);
}

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid var(--line);
  margin: 1em 0;
  padding: 0;
}

ol {
  counter-reset: item;
  padding-left: 0;
}

.tocli {
  display: block;
}

.tocli:before {
  content: counters(item, ".") ". ";
  counter-increment: item;
}

.ol-lv2 {
  padding-left: 1em;
}

.tocref {
  color: var(--ink);
  text-decoration: none;
}
