/* General body */
body {
  margin: 0;
  font-family: 'Merriweather', serif;
  background-color: #3b2a26; /* dark leather backdrop */
  color: #2a1f18;
}

/* Top Navigation */
.topnav {
  background-color: #4a2c2a; /* leather brown */
  padding: 10px;
  display: flex;
  gap: 15px;
}
.topnav a {
  color: #f5deb3; /* brass/parchment */
  text-decoration: none;
  font-weight: bold;
}
.topnav a:hover {
  text-decoration: underline;
}

/* Layout */
.main {
  display: flex;
  height: calc(100vh - 50px);
}

/* Sidebar */
.sidebar {
  width: 220px;
  background-color: #5c3b31;
  color: #f5deb3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 10px;
}
.sidebar .menu a {
  display: block;
  color: #f5deb3;
  text-decoration: none;
  margin: 5px 0;
}
.sidebar .menu a:hover {
  text-decoration: underline;
}
.sidebar .links h4 {
  margin-top: 10px;
  margin-bottom: 5px;
  font-size: 14px;
  border-top: 1px solid #d2b48c;
  padding-top: 5px;
}

/* Iframe content */
.content {
  flex: 1;
  border: none;
  background-color: #f5f1e6; /* parchment */
}

/* Inner page content */
.content-area {
  max-width: 700px;
  margin: auto;
  padding: 20px;
  background: #fdfbf5;
  box-shadow: 0 0 8px rgba(0,0,0,0.3);
}

/* Right nav for stories */
.story-container {
  display: flex;
  gap: 20px;
}
.rightnav {
  width: 200px;
  background: #eee3c9;
  padding: 10px;
  font-size: 0.9em;
}
.rightnav h4 {
  margin-top: 0;
}
.rightnav a {
  display: block;
  color: #4a2c2a;
  text-decoration: none;
  margin-bottom: 5px;
}
.rightnav a:hover {
  text-decoration: underline;
}