* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.7;
  color: #333;
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 2rem;
  background: #fafaf8;
}
header {
  background-image: url('/images/cropped-Screen-Shot-2015-07-19-at-3.19.30-PM.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-bottom: 2px solid #8b7355;
  padding: 1rem 1.5rem;
  margin-bottom: 2rem;
}
header nav {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
}
.site-title {
  font-size: 1.8rem;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
}
.nav-links a {
  margin-left: 1.5rem;
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
}
.nav-links a:hover { color: #e0d8c8; }
.header-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.nav-prevnext {
  font-size: 0.8rem;
  white-space: nowrap;
}
.nav-prevnext a {
  color: #fff;
  text-decoration: none;
  margin-left: 0.75rem;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
}
.nav-prevnext a:hover { color: #e0d8c8; }
.tagline {
  font-style: italic;
  color: #fff;
  margin-top: 0.5rem;
  font-size: 0.95rem;
  max-width: 70%;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
}
.tagline:empty { display: none; }
.page-wrapper {
  display: flex;
  gap: 2rem;
}
main { flex: 1; min-width: 0; }
.sidebar {
  width: 250px;
  flex-shrink: 0;
  font-size: 0.85rem;
  border-left: 1px solid #c4ae93;
  padding-left: 2rem;
}
.sidebar-section { margin-bottom: 1.5rem; }
.sidebar-section h3 {
  color: #4a3728;
  font-size: 1rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid #e0d8c8;
  padding-bottom: 0.3rem;
}
.essay-nav { float: right; font-size: 0.85rem; }
.essay-nav a { color: #8b7355; text-decoration: none; margin-left: 0.3rem; }
.essay-nav a:hover { color: #4a3728; }
.sidebar-section ul { list-style: none; }
.sidebar-section li { padding: 0.2rem 0; }
.sidebar-section a { color: #8b7355; text-decoration: none; }
.sidebar-section a:hover { color: #4a3728; }
h1 { color: #4a3728; margin-bottom: 0.5rem; font-size: 1.6rem; }
h2 { color: #4a3728; font-size: 1.3rem; }
.post-summary {
  padding: 1rem 0;
  border-bottom: 1px solid #e0d8c8;
}
.post-summary h2 a { color: #4a3728; text-decoration: none; }
.post-summary h2 a:hover { color: #8b7355; }
.post-summary time {
  display: block;
  color: #999;
  font-size: 0.85rem;
  margin-top: 0.25rem;
}
.categories a, .tags .tag {
  font-size: 0.8rem;
  color: #8b7355;
  margin-right: 0.5rem;
}
article.post header { margin-bottom: 1.5rem; border-bottom: none; padding-bottom: 0; background-image: none; padding: 0; }
article.post header h1 { text-align: center; }
article.post time { color: #999; font-size: 0.9rem; }
.content { margin-top: 1rem; font-size: 1.05rem; }
.content p { margin-bottom: 1.2rem; text-align: justify; }
.content img { max-width: 100%; height: auto; }
.content a { color: #8b7355; }
.content table { border-collapse: collapse; }
.content table td:last-child { text-align: right; padding-left: 1em; }
.centered {
  text-align: center !important;
  margin: 1.5rem auto;
  text-indent: 0 !important;
}
.indented {
  padding-left: 2rem;
  margin: 1rem 0;
  text-indent: 0 !important;
}
.terms-list { list-style: none; }
.terms-list li { padding: 0.3rem 0; }
.terms-list a { color: #4a3728; text-decoration: none; font-size: 1.1rem; }
footer {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid #e0d8c8;
  color: #999;
  font-size: 0.85rem;
  text-align: center;
}
.poem {
  font-style: italic;
  padding-left: 2em;
  line-height: 1.8;
}
.poem p {
  margin-bottom: 1.2em;
}
@media (max-width: 768px) {
  .page-wrapper { flex-direction: column; }
  .sidebar { width: 100%; }
}
