/* ═══════════════════════════════════════════════════════════
   VAELUND DEVLOG — Standalone post and index pages
   ═══════════════════════════════════════════════════════════ */

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

body {
  background: #000;
  color: #c0b8a8;
  font-family: Verdana, Geneva, sans-serif;
  font-size: 14px;
  line-height: 1.7;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── Nav ───────────────────────────────────────────────── */

.devlog-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid #2a2a2a;
  margin-bottom: 40px;
}

.devlog-nav a {
  color: #8a8070;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.devlog-nav a:hover {
  color: #c070ff;
}

.back-link {
  color: #8a8070 !important;
}

.site-link {
  color: #c070ff !important;
}

/* ── Index ──────────────────────────────────────────────── */

.devlog-index {
  padding: 40px 0;
}

.index-header {
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 2px solid #2a2a2a;
}

.index-header h1 {
  font-family: Georgia, serif;
  font-size: 32px;
  color: #c0b8a8;
  margin-bottom: 8px;
  font-weight: bold;
}

.index-header p {
  color: #8a8070;
  font-size: 14px;
}

.post-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.post-card {
  padding: 24px 0;
  border-bottom: 1px solid #1a1a1a;
}

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

.post-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.post-date {
  font-size: 11px;
  color: #606060;
  letter-spacing: 1px;
}

.post-tag {
  font-size: 10px;
  padding: 2px 6px;
  background: #1a1a1a;
  color: #c070ff;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.post-title {
  font-family: Georgia, serif;
  font-size: 18px;
  color: #c0b8a8;
  font-weight: bold;
  margin-bottom: 8px;
}

.post-title a {
  color: #c0b8a8;
  text-decoration: none;
}

.post-title a:hover {
  color: #c070ff;
}

.post-excerpt {
  font-size: 13px;
  color: #8a8070;
  line-height: 1.6;
  margin-bottom: 12px;
}

.read-more {
  font-size: 12px;
  color: #c070ff !important;
  text-decoration: none;
  letter-spacing: 0.5px;
}

.read-more:hover {
  text-decoration: underline;
}

.empty-state {
  color: #606060;
  font-style: italic;
  padding: 20px 0;
}

/* ── Post page ──────────────────────────────────────────── */

.devlog-post {
  padding: 40px 0;
}

.post-header {
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 2px solid #2a2a2a;
}

.post-header .post-title {
  font-size: 28px;
  margin-bottom: 0;
  margin-top: 12px;
}

/* ── Post body ─────────────────────────────────────────── */

.post-body {
  font-size: 14px;
  line-height: 1.8;
}

.post-body img {
  height: 128px;
  width: auto;
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
}

.post-body h1,
.post-body h2,
.post-body h3 {
  font-family: Georgia, serif;
  color: #c0b8a8;
  margin: 28px 0 12px;
  font-weight: bold;
}

.post-body h1 { font-size: 24px; }
.post-body h2 { font-size: 20px; }
.post-body h3 { font-size: 16px; }

.post-body p {
  margin-bottom: 16px;
  color: #c0b8a8;
}

.post-body strong {
  color: #d0c8b8;
  font-weight: bold;
}

.post-body em {
  font-style: italic;
  color: #b0a898;
}

.post-body a {
  color: #c070ff;
  text-decoration: none;
}

.post-body a:hover {
  text-decoration: underline;
}

.post-body code {
  background: #111;
  padding: 2px 6px;
  font-size: 13px;
  color: #e0d0c0;
  border: 1px solid #2a2a2a;
}

.post-body pre {
  background: #080808;
  border: 1px solid #2a2a2a;
  padding: 16px;
  overflow-x: auto;
  margin: 20px 0;
}

.post-body pre code {
  background: none;
  border: none;
  padding: 0;
  font-size: 13px;
  color: #e0d0c0;
  line-height: 1.6;
}

.post-body blockquote {
  border-left: 3px solid #c070ff;
  margin: 20px 0;
  padding: 8px 16px;
  color: #8a8070;
  background: #080808;
}

.post-body ul {
  margin: 16px 0;
  padding-left: 24px;
  list-style: disc;
}

.post-body ul li {
  margin-bottom: 6px;
  color: #c0b8a8;
}

.post-body hr {
  border: none;
  border-top: 1px solid #2a2a2a;
  margin: 32px 0;
}

/* ── Post footer ───────────────────────────────────────── */

.post-footer {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid #1a1a1a;
}

/* ── Mobile ─────────────────────────────────────────────── */

@media (max-width: 700px) {
  body {
    padding: 0 12px;
  }

  .devlog-nav {
    padding: 16px 0;
  }

  .index-header h1 {
    font-size: 24px;
  }

  .post-header .post-title {
    font-size: 22px;
  }

  .post-body h1 { font-size: 20px; }
  .post-body h2 { font-size: 17px; }
}
