/* Zonelets Blog Specific Styles - Cleaned for crystaria */

.container {
  width: 750px;
}


/* POST LIST STYLE */
#postlistdiv ul,
#recentpostlistdiv ul {
  font-size: 1.1rem;
  padding: 0;
  list-style-type: none;
  margin-top: 1rem;
}

#postlistdiv li,
#recentpostlistdiv li {
  margin-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.5rem;
}

#postlistdiv li:hover,
#recentpostlistdiv li:hover {
  border-bottom-color: var(--accent);
  border-bottom-style: solid;
}

#postlistdiv li a,
#recentpostlistdiv li a {
  color: var(--link);
  text-decoration: none;
  transition: all 0.3s ease;
  display: block;
}

#postlistdiv li a:hover,
#recentpostlistdiv li a:hover {
  color: var(--accent);
  text-decoration: none;
  text-shadow: 0 0 10px var(--accent-glow);
}

.blog-footer-nav {
  display: flex;
  justify-content: space-between;
  margin-top: -0.5rem;
  /* Pull up to align with the border of the last li */
}

.archive-btn {
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 0.2rem 0.5rem;
  transition: color 0.3s ease;
}

.archive-btn:hover {
  color: var(--accent);
  text-decoration: underline;
}

.moreposts {
  display: none;
  /* Hide old moreposts if any */
}

/* NEXT AND PREVIOUS LINKS STYLE */
#nextprev {
  text-align: center;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: center;
  gap: 1rem;
  font-size: 0.9rem;
}

#nextprev a {
  color: var(--accent);
  font-weight: bold;
}

/* BLOG TITLE & DATE */
#blogTitleH1,
#postTitleH1 {
  color: var(--accent);
  margin-bottom: 0.5rem;
  font-family: 'KG Happy', serif;
  font-size: 2.8rem;
  text-shadow: 0 0 10px var(--accent-glow);
  text-align: center;
}

#postDate {
  display: block;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-style: italic;
  text-align: center;
}

/* Ensure post content respects theme */
#content p {
  margin-bottom: 1rem;
}

#content code {
  background: var(--bg-primary);
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  font-family: monospace;
}