/* =========================
   POST PAGE — clean & NASA-like
   ========================= */

body.project-page,
body.post-page,
body.blog-post-page {
  background: #ffffff;
}

/* wrapper similar rhythm to projects */
.project-wrap,
.post-wrap {
  max-width: 980px;
  margin: 0 auto;
  padding: 72px 22px 72px;
}

/* hero */
.project-hero,
.post-hero {
  margin-bottom: 18px;
}

.project-hero .hero-kicker,
.post-hero .hero-kicker {
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 11px;
  opacity: 0.6;
  margin-bottom: 10px;
}

.project-hero .hero-title,
.post-hero .hero-title {
  font-size: 44px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}

.project-hero .hero-subtitle,
.post-hero .hero-subtitle {
  margin: 0 0 12px;
  opacity: 0.85;
  max-width: 78ch;
}

.project-hero .hero-meta,
.post-hero .hero-meta {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.65;
  margin: 10px 0 0;
}

.hero-rule {
  margin-top: 18px;
  height: 1px;
  background: rgba(0,0,0,0.12);
}

/* chips */
.chips .chip,
.chips .chip-link {
  display: inline-block;
  font-size: 11px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.10);
  background: #f7f7f7;
  text-decoration: none;
  color: inherit;
}

.chips .chip-link:hover {
  border-color: rgba(0,0,0,0.20);
}

/* actions */
.hero-actions {
  margin-top: 12px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-action {
  font-size: 12px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid rgba(0,0,0,0.25);
  padding-bottom: 2px;
  color: inherit;
  opacity: 0.85;
}

.hero-action:hover {
  opacity: 1;
}

/* series box (small) */
.series-box {
  margin-top: 14px;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.10);
  background: #ffffff;
}

.series-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 10px;
}

.series-title {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.60;
}

.series-name {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.60;
}

.series-list {
  display: grid;
  gap: 8px;
}

.series-item {
  display: flex;
  gap: 10px;
  align-items: baseline;
  text-decoration: none;
  color: inherit;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.08);
  background: #fbfbfb;
}

.series-item:hover {
  border-color: rgba(0,0,0,0.16);
}

.series-item.is-current {
  background: #f2f2f2;
  border-color: rgba(0,0,0,0.14);
}

.series-index {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.7;
  min-width: 28px;
}

.series-text {
  font-size: 13px;
  opacity: 0.92;
}

/* content: keep it clean but not “paper” */
.project-content,
.post-content {
  margin-top: 26px;
  max-width: 78ch;
}

.project-content p,
.post-content p {
  line-height: 1.75;
  margin: 0 0 16px;
}

.project-content h2,
.post-content h2 {
  margin-top: 32px;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.project-content h3,
.post-content h3 {
  margin-top: 22px;
  margin-bottom: 8px;
}

.project-content pre,
.post-content pre {
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 12px;
  padding: 12px 14px;
  overflow: auto;
  background: #fbfbfb;
}

.project-content blockquote,
.post-content blockquote {
  margin: 18px 0;
  padding: 12px 14px;
  border-left: 3px solid rgba(0,0,0,0.28);
  background: #fafafa;
  border-radius: 12px;
}

/* footer */
.project-footer,
.post-footer {
  margin-top: 40px;
  opacity: 0.7;
}

.footer-rule {
  height: 1px;
  background: rgba(0,0,0,0.12);
  margin-bottom: 10px;
}

.footer-text {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
