/* ============================================================
   Emetek Terminal Theme — Custom CSS
   ============================================================ */

/* Google Fonts — Fira Code */
@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@300;400;500;600;700&display=swap');

/* ── CSS Variables ───────────────────────────────────────── */
:root {
  --bg:       #0d1117;
  --surface:  #161b22;
  --surface2: #1c2128;
  --border:   #30363d;
  --text:     #e6edf3;
  --muted:    #8b949e;
  --green:    #3fb950;
  --green-dim:#2ea043;
  --green-glow: rgba(63, 185, 80, 0.35);
  --blue:     #58a6ff;
  --yellow:   #e3b341;
  --red:      #f85149;
  --orange:   #d29922;
  --accent:   #3fb950;
  --radius:   2px;
}

/* ── Reset & Base ────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Fira Code', 'JetBrains Mono', 'Cascadia Code', Monaco, Consolas, 'Ubuntu Mono', monospace;
  font-size: 15px;
  line-height: 1.65;
  background-color: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-variant-ligatures: contextual;
}

/* ── Text Selection ──────────────────────────────────────── */
::selection {
  background: rgba(63, 185, 80, 0.28);
  color: #fff;
}

/* ── Scrollbar ───────────────────────────────────────────── */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--green-dim);
}

/* ── Blinking Cursor ─────────────────────────────────────── */
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

.cursor {
  display: inline-block;
  width: 0.55em;
  height: 1.1em;
  background: var(--green);
  vertical-align: text-bottom;
  animation: blink 1.1s step-end infinite;
  border-radius: 1px;
}

/* ── Scanline Overlay ────────────────────────────────────── */
.scanlines {
  position: relative;
}
.scanlines::before {
  content: '';
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0px,
    transparent 3px,
    rgba(0, 0, 0, 0.06) 3px,
    rgba(0, 0, 0, 0.06) 4px
  );
  pointer-events: none;
  z-index: 9998;
}

/* ── Terminal Glow Effects ───────────────────────────────── */
.glow-green {
  text-shadow:
    0 0 8px  rgba(63, 185, 80, 0.7),
    0 0 20px rgba(63, 185, 80, 0.35);
}

.glow-green-sm {
  text-shadow: 0 0 6px rgba(63, 185, 80, 0.5);
}

/* ── Terminal Window Chrome ──────────────────────────────── */
.term-chrome {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--surface2);
  border-bottom: 1px solid var(--border);
  padding: 10px 16px;
  user-select: none;
}

.term-dots {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
}

.term-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  transition: filter 0.2s;
}

.term-dot--red    { background: #ff5f57; box-shadow: 0 0 0 0.5px rgba(255,95,87,0.4); }
.term-dot--yellow { background: #febc2e; box-shadow: 0 0 0 0.5px rgba(254,188,46,0.4); }
.term-dot--green  { background: #28c840; box-shadow: 0 0 0 0.5px rgba(40,200,64,0.4); }

.term-chrome:hover .term-dot--red    { filter: brightness(1.1); }
.term-chrome:hover .term-dot--yellow { filter: brightness(1.1); }
.term-chrome:hover .term-dot--green  { filter: brightness(1.1); }

.term-title {
  flex: 1;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.03em;
}

/* ── Header & Navigation ─────────────────────────────────── */
.site-header {
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  background: rgba(13, 17, 23, 0.92);
}

/* Top accent bar on the whole page wrapper */
.site-wrapper {
  position: relative;
}

.site-wrapper::before {
  content: '';
  display: block;
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  max-width: 100%;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--green-dim) 20%,
    var(--green) 50%,
    var(--green-dim) 80%,
    transparent 100%
  );
  z-index: 200;
  pointer-events: none;
}

.nav-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  padding: 10px 20px;
}

.nav-prompt {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  min-width: 0;
}

.nav-prompt .prompt-user   { color: var(--green);  font-weight: 600; }
.nav-prompt .prompt-at     { color: var(--muted); }
.nav-prompt .prompt-host   { color: var(--blue);   font-weight: 600; }
.nav-prompt .prompt-sep    { color: var(--muted); }
.nav-prompt .prompt-path   { color: var(--yellow); }
.nav-prompt .prompt-dollar { color: var(--green);  font-weight: 700; margin-left: 2px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  flex-wrap: wrap;
}

.nav-links li a {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 4px 10px;
  border-radius: var(--radius);
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid transparent;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}

.nav-links li a::before {
  content: './';
  color: var(--border);
  transition: color 0.15s;
}

.nav-links li a:hover {
  color: var(--green);
  border-color: var(--border);
  background: rgba(63, 185, 80, 0.06);
}

.nav-links li a:hover::before {
  color: var(--green-dim);
}

.nav-links li a.active {
  color: var(--green);
  border-color: var(--green-dim);
  background: rgba(63, 185, 80, 0.08);
}

.nav-links li a.active::after {
  content: '';
  display: block;
  height: 2px;
  background: var(--green);
  border-radius: 1px;
  margin-top: 2px;
  opacity: 0.7;
}

/* Mobile menu toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 4px 10px;
  border-radius: var(--radius);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  transition: color 0.15s, border-color 0.15s;
}

.mobile-menu-toggle:hover {
  color: var(--green);
  border-color: var(--green);
}

/* ── Logo ────────────────────────────────────────────────── */
.site-logo {
  text-decoration: none;
}

.logo-box {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
}

.logo-bracket {
  color: var(--muted);
  font-weight: 400;
}

.logo-text {
  color: var(--green);
  letter-spacing: 0.02em;
}

.logo-box:hover .logo-text {
  text-shadow: 0 0 8px rgba(63, 185, 80, 0.6);
}

/* ── Hero / Home ─────────────────────────────────────────── */
.hero {
  padding: 48px 0 32px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 40px;
}

.hero-prompt-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 13px;
  color: var(--muted);
}

.hero-cmd {
  color: var(--text);
}

.hero-output {
  margin-top: 20px;
  padding-left: 16px;
  border-left: 2px solid var(--border);
}

.hero-title {
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.hero-title .accent {
  color: var(--green);
}

.hero-subtitle {
  color: var(--muted);
  font-size: 14px;
  max-width: 56ch;
  line-height: 1.6;
}

/* ── Post List ───────────────────────────────────────────── */
.section-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.section-cmd {
  font-size: 13px;
  color: var(--muted);
}

.section-cmd .cmd-text {
  color: var(--blue);
}

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

.post-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: start;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  transition: background 0.1s;
  border-radius: 2px;
}

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

.post-card:hover {
  background: rgba(255,255,255,0.02);
}

.post-card:hover .post-card__title {
  color: var(--green);
}

.post-card:hover .post-entry-arrow {
  color: var(--green);
  opacity: 1;
}

.post-entry-prefix {
  color: var(--green);
  font-size: 13px;
  font-weight: 600;
  flex-shrink: 0;
}

.post-card__body {
  min-width: 0;
}

.post-card__title {
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.post-entry-arrow {
  color: var(--muted);
  opacity: 0.4;
  font-size: 12px;
  transition: color 0.15s, opacity 0.15s;
  flex-shrink: 0;
}

.post-meta-list {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
  font-size: 12px;
  color: var(--muted);
}

.post-meta-list .tag {
  color: var(--blue);
}

/* ── Article / Single Post ───────────────────────────────── */
.article-wrapper {
  padding: 40px 0;
}

.article-header {
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.article-cmd-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 16px;
}

.article-cmd-line .cmd {
  color: var(--blue);
}

h1.article-title {
  font-size: clamp(1.3rem, 3.5vw, 1.9rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}

.article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: var(--muted);
}

.article-meta .meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

.article-meta .meta-label {
  color: var(--border);
}

.article-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.article-tag {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: var(--radius);
  background: rgba(88, 166, 255, 0.08);
  color: var(--blue);
  border: 1px solid rgba(88, 166, 255, 0.2);
  text-decoration: none;
  transition: background 0.15s;
}

.article-tag::before {
  content: '#';
  margin-right: 2px;
  opacity: 0.6;
}

.article-tag:hover {
  background: rgba(88, 166, 255, 0.15);
}

/* ── Prose Styles ────────────────────────────────────────── */
.prose {
  max-width: 72ch;
  line-height: 1.75;
}

.prose h1, .prose h2, .prose h3,
.prose h4, .prose h5, .prose h6 {
  color: var(--text);
  font-weight: 600;
  line-height: 1.3;
  margin: 2em 0 0.75em;
}

.prose h1 { font-size: 1.6em; }
.prose h2 {
  font-size: 1.25em;
  padding-bottom: 0.4em;
  border-bottom: 1px solid var(--border);
}
.prose h2::before { content: '## '; color: var(--muted); font-weight: 400; }
.prose h3 { font-size: 1.1em; }
.prose h3::before { content: '### '; color: var(--muted); font-weight: 400; }

.prose p {
  margin: 1.25em 0;
  color: var(--text);
  font-size: 0.95em;
}

.prose a {
  color: var(--blue);
  text-decoration: none;
  border-bottom: 1px solid rgba(88, 166, 255, 0.3);
  transition: border-color 0.15s, color 0.15s;
}

.prose a:hover {
  color: #79c0ff;
  border-bottom-color: #79c0ff;
}

.prose strong {
  color: var(--text);
  font-weight: 600;
}

.prose em {
  color: var(--yellow);
  font-style: normal;
}

.prose ul, .prose ol {
  margin: 1em 0 1em 2em;
  padding: 0;
}

.prose li {
  margin: 0.4em 0;
  font-size: 0.95em;
}

.prose ul li::marker {
  color: var(--green);
  content: '▸ ';
}

.prose ol li::marker {
  color: var(--green);
}

.prose blockquote {
  position: relative;
  margin: 1.5em 0;
  padding: 1em 1.25em 1em 1.5em;
  border-left: 3px solid var(--green-dim);
  background: rgba(63, 185, 80, 0.04);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.prose blockquote::before {
  content: '>';
  position: absolute;
  left: -1.6em;
  color: var(--green);
  font-weight: 700;
  display: none;
}

.prose blockquote p {
  color: var(--muted);
  margin: 0;
}

.prose hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2.5em 0;
}

.prose img {
  max-width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin: 1.5em 0;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
  font-size: 0.9em;
}

.prose th {
  background: var(--surface);
  color: var(--text);
  font-weight: 600;
  padding: 8px 12px;
  border: 1px solid var(--border);
  text-align: left;
  text-transform: uppercase;
  font-size: 0.8em;
  letter-spacing: 0.06em;
}

.prose td {
  padding: 8px 12px;
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 0.9em;
}

.prose tr:nth-child(even) td {
  background: rgba(255,255,255,0.02);
}

/* ── Code ────────────────────────────────────────────────── */
.prose code,
code {
  font-family: 'Fira Code', monospace !important;
  font-size: 0.875em;
  background: var(--surface);
  color: var(--green);
  padding: 1px 6px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.prose pre,
pre {
  background: var(--surface) !important;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  overflow-x: auto;
  margin: 1.5em 0;
  position: relative;
}

.prose pre::before {
  content: '$ ';
  color: var(--green);
  user-select: none;
}

.prose pre code,
pre code {
  background: none !important;
  border: none !important;
  padding: 0 !important;
  color: var(--text);
  font-size: 0.9em !important;
}

/* Syntax highlight override - Chroma */
.highlight {
  position: relative;
  margin: 1.5em 0;
}

.highlight pre {
  background: var(--surface) !important;
  border: 1px solid var(--border);
  border-top: 2px solid var(--green-dim);
  border-radius: var(--radius);
  padding: 20px;
  overflow-x: auto;
}

.highlight pre::before {
  display: none;
}

/* ── Pagination ──────────────────────────────────────────── */
.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  gap: 12px;
  flex-wrap: wrap;
}

.pagination a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}

.pagination a:hover {
  color: var(--green);
  border-color: var(--green-dim);
  background: rgba(63, 185, 80, 0.06);
}

/* ── Footer ──────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 20px;
  background: var(--surface2);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
}

.footer-prompt {
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-prompt .prompt-exit {
  color: var(--red);
}

.footer-prompt .prompt-code {
  color: var(--green);
}

.footer-copy {
  color: var(--muted);
  opacity: 0.6;
}

.footer-copy a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-copy a:hover {
  color: var(--green);
}

/* ── 404 ─────────────────────────────────────────────────── */
.error-page {
  padding: 60px 0;
  text-align: center;
}

.error-code {
  font-size: 6rem;
  font-weight: 700;
  color: var(--red);
  line-height: 1;
  text-shadow: 0 0 30px rgba(248, 81, 73, 0.4);
}

.error-msg {
  color: var(--muted);
  margin: 16px 0 32px;
}

.error-cmd {
  display: inline-block;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 12px 20px;
  border-radius: var(--radius);
  font-size: 13px;
}

.error-cmd .cmd-prompt { color: var(--green); }
.error-cmd .cmd-text   { color: var(--blue); }

/* ── Read More Button ────────────────────────────────────── */
.read-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 12px;
  font-size: 12px;
  color: var(--muted);
  text-decoration: none;
  border: 1px solid var(--border);
  padding: 4px 12px;
  border-radius: var(--radius);
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}

.read-more:hover {
  color: var(--green);
  border-color: var(--green-dim);
  background: rgba(63, 185, 80, 0.06);
}

/* ── Table of Contents ───────────────────────────────────── */
.toc {
  margin: 0 0 2em;
  padding: 16px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--green-dim);
  border-radius: var(--radius);
  font-size: 0.875em;
}

.toc-title {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  font-weight: 600;
}

.toc nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.toc nav ul li {
  margin: 4px 0;
}

.toc nav ul li::marker {
  content: none;
}

.toc nav ul ul {
  padding-left: 1.5em;
}

.toc nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9em;
  transition: color 0.15s;
}

.toc nav a::before {
  content: '# ';
  color: var(--border);
}

.toc nav a:hover {
  color: var(--green);
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 640px) {
  .site-wrapper::before {
    width: 100%;
  }

  .nav-prompt .prompt-user,
  .nav-prompt .prompt-at,
  .nav-prompt .prompt-host,
  .nav-prompt .prompt-sep,
  .nav-prompt .prompt-path {
    display: none;
  }

  .nav-prompt .prompt-dollar {
    margin-left: 0;
  }

  .mobile-menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding: 8px 0;
  }

  .nav-links.is-open {
    display: flex;
  }

  .hero {
    padding: 28px 0 20px;
  }

  .post-card {
    grid-template-columns: auto 1fr;
  }

  .post-entry-arrow {
    display: none;
  }
}

@media (max-width: 480px) {
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ── Print ───────────────────────────────────────────────── */
@media print {
  .site-header,
  .site-footer,
  .scanlines::before {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .prose a {
    color: #000;
    text-decoration: underline;
  }
}

/* ── Focus Visible ───────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: var(--radius);
}

/* ── Post card full-content variant ─────────────────────── */
.post-card--full {
  display: block;
  padding: 20px 0;
}

.post-card--full .post-entry-prefix {
  display: none;
}

.post-card--full .post-card__body {
  width: 100%;
}

.post-card--full .post-card__title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
  white-space: normal;
}

.post-card--full .post-entry-arrow {
  display: none;
}

/* ── Syntax highlight line numbers ───────────────────────── */
.highlight table {
  border: none;
  margin: 0;
}

.highlight table td {
  border: none;
  padding: 0;
}

.highlight .lntd:first-child {
  padding-right: 16px;
  user-select: none;
  opacity: 0.3;
  text-align: right;
  min-width: 2.5em;
}

/* ── Kbd styling ─────────────────────────────────────────── */
kbd {
  font-family: 'Fira Code', monospace;
  font-size: 0.8em;
  background: var(--surface2);
  color: var(--text);
  border: 1px solid var(--border);
  border-bottom: 3px solid var(--border);
  border-radius: 3px;
  padding: 1px 6px;
}

/* ── Definition lists ────────────────────────────────────── */
.prose dl {
  margin: 1em 0;
}

.prose dt {
  color: var(--green);
  font-weight: 600;
  margin-top: 1em;
}

.prose dd {
  margin-left: 2em;
  color: var(--muted);
  font-size: 0.9em;
}

/* ── Section divider with label ──────────────────────────── */
.section-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 32px 0;
  color: var(--border);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-divider::before,
.section-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ── Anchor Links in Headings ────────────────────────────── */
.hanchor {
  display: inline-block;
  margin-left: 8px;
  color: var(--border);
  font-size: 0.8em;
  text-decoration: none;
  opacity: 0;
  transition: opacity 0.2s, color 0.2s;
}

h1:hover .hanchor,
h2:hover .hanchor,
h3:hover .hanchor,
h4:hover .hanchor {
  opacity: 1;
  color: var(--green);
}

/* ── Language menu ───────────────────────────────────────── */
.lang-menu {
  font-size: 12px;
}

.lang-menu a {
  color: var(--muted);
  text-decoration: none;
  padding: 2px 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: color 0.15s, border-color 0.15s;
}

.lang-menu a:hover {
  color: var(--green);
  border-color: var(--green);
}

/* ── Post navigation (prev/next) ─────────────────────────── */
.post-nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.post-nav-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 45%;
  text-decoration: none;
}

.post-nav-label {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.post-nav-title {
  color: var(--text);
  font-size: 13px;
  transition: color 0.15s;
}

.post-nav-item:hover .post-nav-title {
  color: var(--green);
}

/* ── Content area ────────────────────────────────────────── */
.content-area {
  padding: 32px 24px;
  max-width: 860px;
  margin: 0 auto;
}

@media (max-width: 640px) {
  .content-area {
    padding: 20px 16px;
  }
}