body {
  background-color: #121212;
  color: #e0e0e0;
  font-family: 'Iosevka', monospace;
  line-height: 1.6;
  max-width: 800px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.site-header {
  text-align: center;
  margin-bottom: 2em;
}

.post-title {
  font-size: 2em;
  margin-bottom: 0.5em;
  color: #ffab40;
  border-bottom: 1px solid #333;
}

.post-meta {
  margin-bottom: 1em;
  padding-bottom: 0.5em;
  border-bottom: 1px solid #333;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  font-size: 0.9em;
  color: #999;
}

.tags {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 0.5em;
  flex-wrap: wrap;
}

.tag {
  background-color: #263238;
  color: #a5d6a7;
  padding: 0.2em 0.6em;
  border-radius: 4px;
}

.tag:hover {
  background-color: #37474f;
  color: #c5e1a5;
}

.tag a {
  color: #a5d6a7;
  text-decoration: none;
}

.tag a:hover {
  color: #c5e1a5;
  text-decoration: underline;
}

.reading-time {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  font-size: 0.9em;
  color: #aaa;
}

.reading-time::before {
  content: '\1F550'; /* Unicode for clock emoji */
  display: inline-block;
}

.post-content pre {
  background-color: #1e1e1e;
  padding: 1em;
  border-radius: 8px;
  overflow-x: auto;
  white-space: pre-wrap; /* allow line wrapping */
  word-wrap: break-word;
  font-size: 1em;
  color: #cfcfcf;
}

nav.pagination {
  display: flex;
  justify-content: center;
  margin-top: 2em;
  padding-top: 1em;
  border-top: 1px solid #333;
  font-size: 0.95em;
}

.pagination-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pagination-list li {
    display: inline;
}

.pagination-list li a {
  color: #ffcc80;
}

.pagination-list li a:hover {
  color: #ffe0b2;
}

.pagination-list li .disabled {
  color: #555;
  cursor: not-allowed;
  pointer-events: none;
}

.pagination-list li .pagination-link {
  border: 1px solid #333;
  padding: 0.3em 0.6em;
}

.site-footer {
  margin-top: 4em;
  padding: 2em 0;
  border-top: 1px solid #333;
  font-size: 0.9em;
  text-align: center;
  color: #777;
}

.site-footer a {
  color: #80cbc4;
  text-decoration: none;
}

.site-footer a:hover {
  color: #b2dfdb;
  text-decoration: underline;
}

.error-page {
  max-width: 600px;
  margin: 6rem auto;
  text-align: center;
  color: #bbb;
  font-size: 1.2em;
  font-family: 'Iosevka', monospace;
}

.error-page h1 {
  font-size: 3em;
  color: #ffab40;
  margin-bottom: 0.5em;
}

.error-page p {
  margin: 1em 0;
}

.error-page .button {
  display: inline-block;
  padding: 0.5em 1.2em;
  background-color: #ffab40;
  color: #121212;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.error-page .button:hover {
  background-color: #ffca65;
}

.post-content h1 {
  font-size: 1.2em;
  margin-bottom: 0.5em;
}

.post-content a {
  color: #80cbc4;
  text-decoration: none;
}

.post-content a:hover {
  color: #b2dfdb;
  text-decoration: underline;
}
