/* 1. Reset default browser spacing */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* =========================================
   THE THOUGHTS LIST PAGE
   ========================================= */
.thoughts-list-container {
  background-color: floralwhite;
  padding: 3rem;
  border: 2px solid black;
  border-top: 0; /* Connects smoothly to the navbar */
}

.thoughts-list {
  list-style-type: none; /* Removes the standard bullets */
}

.thoughts-list li {
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  display: flex;
  align-items: baseline; /* Keeps the date and text on the same horizontal line */
  border-bottom: 1px dashed #ccc; /* A subtle dividing line between entries */
  padding-bottom: 0.8rem;
}

.thoughts-list .date {
  font-family: monospace; /* Gives a nice "data log" feel */
  color: #555;
  margin-right: 2rem; /* Space between date and title */
  font-size: 1.05rem;
}

.thoughts-list a {
  color: rebeccapurple;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.2s ease;
}

.thoughts-list a:hover {
  color: indianred;
  text-decoration: underline;
}

/* =========================================
   THE INDIVIDUAL BLOG POST PAGE
   ========================================= */
.blog-post {
  background-color: floralwhite;
  padding: 4rem 3rem;
  border: 2px solid black;
  border-top: 0;
}

.post-header {
  text-align: center;
  margin-bottom: 3rem;
  border-bottom: 2px solid black;
  padding-bottom: 1rem;
}

.post-title {
  font-size: 2.5rem;
  color: royalblue;
  margin-bottom: 0.5rem;
}

.post-date {
  color: #666;
  font-family: monospace;
  font-size: 1.1rem;
}

.post-content {
  max-width: 650px; /* IMPORTANT: Restricts line length for comfortable reading */
  margin: 0 auto;   /* Centers the text block perfectly */
  line-height: 1.8; /* Adds breathing room between sentences */
  font-size: 1.15rem;
  color: #111;
}

.post-content p {
  margin-bottom: 1.5rem;
  text-align: justify;
}