body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #222831; /* Dark Background */
  color: #EEEEEE; /* Light Text */
  line-height: 1.6;
}

.container {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 200px;
  background-color: #393E46; /* Secondary Dark Color */
  color: #EEEEEE;
  padding: 20px;
  position: fixed;
  height: 100vh;
}

.content {
  margin-left: 240px;
  padding: 40px;
  flex: 1;
  background-color: #222831; /* Matches Body Background */
}

.sidebar h2 {
  margin-bottom: 5px; /* Reduced from 20px to bring elements closer */
  color: #EEEEEE;
}

.sidebar li {
  margin-top: 0;
  margin-bottom: 5px; /* Reduced from 20px to bring elements closer */
  cursor: pointer;
  margin: 15px 0;
  color: #EEEEEE;
}

.sidebar li:hover {
  color: #00ADB5; /* Accent Color on Hover */
  font-size: 1.1rem; /* Makes it bigger than the other headings */
  transition: 0.3s;
}
/* Styling for the new Home title in the sidebar */

/* Styling for the Home title */
.sidebar h1 {
  margin-top: 0;
  margin-bottom: 5px; /* Reduced from 20px to bring elements closer */
  color: #EEEEEE;
}

/* Styling for the Writings title to remove top gap */
.sidebar h3 {
  margin-top: 0; 
  margin-bottom: 10px;
}

.sidebar h3:hover {
  color: #00ADB5;
  font-size: 1.2rem; /* Optional: adjust size if needed */
  transition: 0.3s;
}



/* Post List Styling */
#posts {
  display: none;
  max-width: 800px;
}

.post {
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid #393E46; /* Subtle divider */
}

.post-title {
  margin-bottom: 5px;
  color: #00ADB5; /* Accent Color for Titles */
  cursor: pointer; /* Shows the hand icon */
  transition: opacity 0.2s;
}

.post-title:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.post-description {
  font-style: italic;
  color: #ccc; /* Slightly dimmer than main text */
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 0.95rem;
}

/* Content starts hidden via CSS (optional, but good practice) */
.post-content {
  display: none; 
  color: #EEEEEE;
  margin-top: 15px;
  padding-left: 10px;
  border-left: 2px solid #00ADB5; /* Visual indicator for expanded content */
}