/* Lost Ledger History: ruled paper, content left, index card right */

body {
  margin: 0;
  color: #3a2f2a;
  background-color: #fbf8f1;
  background-image: repeating-linear-gradient(#fbf8f1 0 31px, #dbe6ee 31px 32px);
  font-family: Baskerville, "Baskerville Old Face", "Goudy Old Style", Georgia, serif;
  font-size: 1.06rem;
  line-height: 2rem;
}

a { color: #1d5e8c; }
a:hover { color: #b3261e; }

.masthead {
  border-bottom: 3px double #b3261e;
  background: #fbf8f1;
  padding: 1.5rem 1rem 1rem;
}
.masthead-inner, .page {
  max-width: 62rem;
  margin: 0 auto;
}
.title {
  display: block;
  color: #3a2f2a;
  text-decoration: none;
  font-size: 2.1rem;
  font-variant: small-caps;
  letter-spacing: .04em;
}
.strap {
  margin: 0;
  font-style: italic;
  color: #7a6a5f;
}

.page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 15rem;
  gap: 3rem;
  padding: 1rem;
}

/* main column with a red margin line */
.entries {
  border-left: 2px solid #e2a19b;
  padding-left: 1.5rem;
}
.entries h1 { font-size: 1.8rem; line-height: 2.4rem; margin: 1rem 0; }
.entries h2 { font-size: 1.3rem; margin: 2rem 0 0; }
.dateline {
  font-family: "Courier New", Courier, monospace;
  font-size: .85rem;
  color: #7a6a5f;
}

/* transcribed ledger lines */
table.ledger {
  width: 100%;
  border-collapse: collapse;
  font-family: "Courier New", Courier, monospace;
  font-size: .9rem;
}
table.ledger td { border-bottom: 1px solid #c9b9a6; padding: 0 .4rem; }
table.ledger td:last-child { text-align: right; white-space: nowrap; }

/* sidebar */
.index-card {
  background: #fffdf8;
  border: 1px solid #c9b9a6;
  padding: .5rem 1rem;
  align-self: start;
}
.index-card h3 {
  margin: 0;
  font-size: .8rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #b3261e;
}
.index-card ul { list-style: none; margin: 0 0 1rem; padding: 0; }
.index-card .is-here { font-weight: bold; color: #3a2f2a; text-decoration: none; }

.colophon {
  text-align: center;
  font-size: .85rem;
  color: #7a6a5f;
  padding: 1rem;
}

@media (max-width: 760px) {
  .page { grid-template-columns: 1fr; gap: 1rem; }
  .entries { padding-left: .9rem; }
  .title { font-size: 1.6rem; }
}
