


.post-page {
  padding-top: calc(var(--nav-h) + 48px);
  padding-bottom: 80px;
}
.post {
  width: min(1200px, 100% - 48px);
  margin-inline: auto;
}
.post-head { margin-bottom: 36px; }
.post-head h1 {
  font-size: clamp(1.6rem, 3.4vw, 2.3rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 16px 0 12px;
}
.post-meta {
  font-size: 13px;
  color: var(--ink-faint);
  font-family: var(--font-mono);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.post-tag {
  display: inline-block;
  border: 1px solid var(--line-strong);
  color: var(--ink-soft);
  border-radius: 999px;
  padding: 2px 10px;
  font-size: 12px;
}


.post-body { font-size: 16px; line-height: 1.85; color: var(--ink); }
.post-body h2 {
  font-size: 1.35rem;
  margin: 2em 0 0.8em;
  padding-bottom: 0.4em;
  border-bottom: 1px solid var(--line);
  letter-spacing: -0.01em;
}
.post-body h3 { font-size: 1.12rem; margin: 1.8em 0 0.6em; }
.post-body p { margin: 0 0 1.1em; }
.post-body ul, .post-body ol { margin: 0 0 1.2em; padding-left: 1.4em; }
.post-body li { margin-bottom: 0.4em; }
.post-body a { color: var(--signal-deep); text-decoration: underline; text-underline-offset: 3px; }
.post-body code {
  font-family: var(--font-mono);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 2px 6px;
  font-size: 0.9em;
  word-break: break-all;
}
.post-body pre {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px;
  overflow-x: auto;
  margin: 0 0 1.2em;
  font-family: var(--font-mono);
  font-size: 13.5px;
  line-height: 1.6;
}
.post-body pre code { background: none; border: none; padding: 0; }
.post-body blockquote {
  border-left: 3px solid var(--signal);
  margin: 0 0 1.2em;
  padding: 2px 0 2px 18px;
  color: var(--ink-soft);
}
.post-body img { max-width: 100%; border-radius: var(--radius-sm); margin: 0.6em 0; }
.post-body table { width: 100%; border-collapse: collapse; margin: 0 0 1.2em; font-size: 0.95em; }
.post-body th, .post-body td { border: 1px solid var(--line); padding: 8px 12px; text-align: left; }
.post-body th { background: var(--surface-2); }


.post-cta {
  margin-top: 56px;
  padding: 32px;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.post-cta p { font-size: 17px; font-weight: 600; margin-bottom: 16px; }


.post-cover {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
  margin: 0 0 28px;
  background: var(--surface-2);
}


.post-list { width: min(1500px, 100% - 48px); margin-inline: auto; }
.post-list h1 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); margin: 14px 0 10px; letter-spacing: -0.02em; }
.post-list-sub { color: var(--ink-soft); margin-bottom: 40px; }
.post-list-items { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.post-item {
  display: flex;
  align-items: center;
  gap: 22px;
  height: 160px;
  padding: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}
.post-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--ink); }
.post-item-thumb {
  width: 30%;
  height: 100%;
  flex: none;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  overflow: hidden;
  background: var(--surface-2);
}
.post-item-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-item-info { flex: 1; min-width: 0; margin-right: 20px; display: flex; flex-direction: column; overflow: hidden; }
.post-item-info time {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-faint);
  margin-bottom: 6px;
}
.post-item-info h2 { font-size: 1.2rem; margin-bottom: 6px; letter-spacing: -0.01em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-item-info p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.65; margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-item-more { font-size: 13px; font-weight: 600; color: var(--signal-deep); margin-top: auto; }


@media (max-width: 640px) {
  .post-list-items { grid-template-columns: 1fr; }
  .post-item { flex-direction: column; align-items: stretch; gap: 0; height: auto; }
  .post-item-thumb {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  }
  .post-item-info { padding: 18px; }
}
