/* Dark Library Aesthetic */
body {
  /* A deep, reddish-brown Mahogany */
  background-color: #3d0c02; 
  /* This adds a subtle wood grain texture over the mahogany color */
  background-image: url('https://www.transparenttextures.com/patterns/dark-wood.png');
  font-family: 'Georgia', serif;
  margin: 0;
  padding: 40px 20px;
  color: #2c1e14;
}

#container {
  max-width: 850px;
  margin: 0 auto;
  /* Aged Parchment / Creme color */
  background-color: #f5f5dc; 
  padding: 40px;
  /* This creates a "shadow" so the paper looks like it's sitting on the desk */
  box-shadow: 0px 10px 30px rgba(0,0,0,0.8);
  /* A thin gold/bronze inner border for that library feel */
  border: 2px solid #8b5a2b;
  border-radius: 2px;
}

header {
  text-align: center;
  border-bottom: 1px solid #d2b48c;
  margin-bottom: 40px;
  padding-bottom: 20px;
}

header h1 {
  font-variant: small-caps;
  letter-spacing: 2px;
  color: #3d0c02; /* Mahogany title */
  margin: 0;
}

.post h2 {
  color: #5d4037;
  border-left: 5px solid #3d0c02;
  padding-left: 15px;
}

.date {
  display: block;
  margin-bottom: 15px;
  font-family: 'Courier New', monospace;
  font-size: 0.85em;
  color: #8b7355;
}

/* Sidebar Links styling */
#sidebar a {
  color: #3d0c02;
  text-decoration: none;
  font-weight: bold;
}

#sidebar a:hover {
  text-decoration: underline;
  color: #8b5a2b;
}

footer {
  margin-top: 40px;
  border-top: 1px solid #d2b48c;
  padding-top: 20px;
  font-style: italic;
  font-size: 0.8em;
  text-align: center;
}