@font-face {
    font-family: 'Gelasio';
    src: url('../fonts/Gelasio-Bold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gelasio';
    src: url('../fonts/Gelasio-BoldItalic.woff2') format('woff2');
    font-weight: bold;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Gelasio';
    src: url('../fonts/Gelasio-Italic.woff2') format('woff2');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Gelasio';
    src: url('../fonts/Gelasio-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gelasio';
    src: url('../fonts/Gelasio-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gelasio';
    src: url('../fonts/Gelasio-MediumItalic.woff2') format('woff2');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Gelasio';
    src: url('../fonts/Gelasio-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gelasio';
    src: url('../fonts/Gelasio-SemiBoldItalic.woff2') format('woff2');
    font-weight: 600;
    font-style: italic;
    font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: #fafaf5;
  color: #1c1c1a;
  font: 1.1rem/1.5 "Gelasio", "Georgia", serif;
}

main { max-width: 1280px; margin: 0 auto; padding: 1em; }

footer {
  margin-top: 2em;
  border-top: 1px solid #e2e0d8;
  padding-top: 1em;
  font-size: 0.95rem;
}

h1, h2, h3 {
  margin: 1.5rem 0 0.5rem;
  font-weight: 500;
}
h1:first-child, h2:first-child, h3:first-child { margin-top: 0; }
h1 { font-size: 2.2rem; text-align: center; }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.3rem; }

a { color: #844a20; }
cite { font-style: italic; }
var { font-style: italic; }
strong, dt, th { font-weight: 600; }
p { margin: 0em 0 1em; }
pre { font: 1rem/1.5 ui-monospace, monospace; }

.wide-wrapper {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.wide-wrapper table {
  width: 100%;
  min-width: 40em;
}
table {
  border-collapse: collapse;
  background: #ffffff;
  border: 1px solid #e2e0d8;
}
th, td {
  text-align: left;
  vertical-align: top;
  padding: 0.5em 0.7em;
  border-bottom: 1px solid #e2e0d8;
}
thead th {
  background: #f2f0e8;
  color: #6a6860;
}
tbody tr:last-child td { border-bottom: none; }
td.notes { min-width: 20em; }

.text-nowrap { white-space: nowrap; }
.text-right { text-align: right; }
