/* Tokyo Night — seekmore.xyz */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: #1a1b26;
  color: #a9b1d6;
  font-family: monospace;
  line-height: 1.6;
  min-height: 100vh;
}

a {
  color: #7aa2f7;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ── Navigation ── */

nav {
  background-color: #16161e;
  border-bottom: 1px solid #292e42;
  padding: 12px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-title {
  color: #7aa2f7;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
}

.site-title:hover {
  color: #c0caf5;
  text-decoration: none;
}

.back-link {
  color: #565f89;
  font-size: 0.8rem;
}

.back-link:hover {
  color: #a9b1d6;
}

/* ── Layout ── */

main {
  max-width: 680px;
  margin: 0 auto;
  padding: 40px 24px;
}

/* ── Page heading (index / tag pages) ── */

.page-heading {
  color: #565f89;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 0;
  margin-bottom: 32px;
}

/* ── Post card (index / tag pages) ── */

.post-card {
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid #292e42;
}

.post-card:last-child {
  border-bottom: none;
}

.post-card-meta {
  font-size: 0.7rem;
  color: #565f89;
  margin-bottom: 6px;
}

.post-card-title {
  color: #c0caf5;
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 6px;
  text-decoration: none;
  display: block;
}

.post-card-title:hover {
  color: #7aa2f7;
  text-decoration: none;
}

.post-card-excerpt {
  color: #565f89;
  font-size: 0.85rem;
  line-height: 1.7;
  margin-bottom: 10px;
}

/* ── Tags ── */

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  display: inline-block;
  font-size: 0.68rem;
  padding: 2px 8px;
  border-radius: 3px;
  background-color: #1f2335;
  border: 1px solid #292e42;
  text-decoration: none;
}

.tag:hover {
  background-color: #292e42;
  text-decoration: none;
}

/* ── Single post ── */

.post-title {
  color: #c0caf5;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 8px;
}

.post-meta {
  color: #565f89;
  font-size: 0.75rem;
  margin-bottom: 32px;
}

/* ── Post content ── */

.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4 {
  color: #7aa2f7;
  font-weight: 600;
  margin: 32px 0 12px;
  line-height: 1.3;
}

.post-content h1 { font-size: 1.2rem; }
.post-content h2 { font-size: 1.05rem; }
.post-content h3 { font-size: 0.95rem; }
.post-content h4 { font-size: 0.9rem; color: #7dcfff; }

.post-content p {
  margin-bottom: 20px;
  font-size: 0.95rem;
  line-height: 1.8;
}

.post-content ul,
.post-content ol {
  margin: 0 0 20px 24px;
  font-size: 0.95rem;
  line-height: 1.8;
}

.post-content li {
  margin-bottom: 4px;
}

.post-content blockquote {
  border-left: 3px solid #565f89;
  padding-left: 16px;
  margin: 0 0 20px;
  color: #565f89;
  font-style: italic;
}

.post-content a {
  color: #7aa2f7;
}

.post-content code {
  background-color: #16161e;
  color: #9ece6a;
  padding: 1px 5px;
  border-radius: 3px;
  font-size: 0.88em;
  border: 1px solid #292e42;
}

.post-content pre {
  background-color: #16161e;
  border: 1px solid #292e42;
  border-radius: 4px;
  padding: 16px;
  overflow-x: auto;
  margin-bottom: 20px;
}

.post-content pre code {
  background: none;
  border: none;
  padding: 0;
  color: #9ece6a;
  font-size: 0.85rem;
  line-height: 1.6;
}

.post-content hr {
  border: none;
  border-top: 1px solid #292e42;
  margin: 32px 0;
}

.post-content img {
  max-width: 100%;
  border-radius: 4px;
}

/* ── Responsive ── */

@media (max-width: 600px) {
  nav { padding: 10px 16px; }
  main { padding: 24px 16px; }
}
