/* Blog additions — extends styles.css, same design system */

.blog-body { justify-content: flex-start; }

.blog-top {
  width: 100%;
  max-width: 640px;
  text-align: center;
  padding: 3.2rem 0 0;
}
.blog-top .bar { margin: 0 auto 1.6rem; }
.blog-top .home {
  font-family: 'Libre Caslon Text', serif;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  font-size: 0.95rem;
  color: var(--ink);
}
.blog-top .home:hover { color: var(--brick); }

/* ---- Index ---- */
.blog-index {
  width: 100%;
  max-width: 640px;
  text-align: center;
  padding: 3.4rem 0 1rem;
}
.blog-h1 { margin-bottom: 3rem; }

.entry {
  border-top: 1px solid var(--hair-light);
  padding: 2.2rem 0;
}
.entry:last-of-type { border-bottom: 1px solid var(--hair-light); }

.entry-date, .post-date {
  font-family: 'Libre Caslon Text', serif;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.68rem;
  color: var(--muted);
}

.entry-title {
  font-family: 'Libre Caslon Text', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1.45rem;
  margin-top: 0.5rem;
  line-height: 1.3;
}

.entry-summary {
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 0.5rem;
}

/* ---- Post ---- */
.post {
  width: 100%;
  max-width: 640px;
  padding: 3.4rem 0 1rem;
  text-align: center;
}

.post-title {
  font-family: 'Libre Caslon Text', serif;
  font-weight: 400;
  font-size: clamp(1.6rem, 5vw, 2.1rem);
  line-height: 1.25;
  margin-top: 0.7rem;
}

.post-rule { margin: 2rem auto; }

.post-body {
  text-align: left;
  color: var(--deep);
  font-size: 1.02rem;
  line-height: 1.75;
}

.post-body p, .post-body ul, .post-body ol, .post-body blockquote { margin-bottom: 1.3rem; }
.post-body ul, .post-body ol { padding-left: 1.4rem; }

.post-body h2, .post-body h3 {
  font-family: 'Libre Caslon Text', serif;
  font-weight: 400;
  color: var(--ink);
  margin: 2.4rem 0 0.9rem;
  line-height: 1.3;
}
.post-body h2 { font-size: 1.4rem; }
.post-body h3 { font-size: 1.15rem; font-style: italic; }

.post-body a { color: var(--brick); border-bottom: 1px solid var(--hair-light); }
.post-body a:hover { border-bottom-color: var(--brick); }

.post-body img, .post-body video {
  display: block;
  width: 100%;
  height: auto;
  margin: 2rem 0;
}

.post-body .video-embed {
  position: relative;
  padding-top: 56.25%;
  margin: 2rem 0;
}
.post-body .video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.post-body figure { margin: 2rem 0; }
.post-body figure img, .post-body figure video { margin: 0; }
.post-body figcaption {
  font-family: 'Libre Caslon Text', serif;
  font-style: italic;
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
  margin-top: 0.7rem;
}

.post-body blockquote {
  border-left: 2px solid var(--hair-strong);
  padding-left: 1.2rem;
  font-family: 'Libre Caslon Text', serif;
  font-style: italic;
  color: var(--muted);
}

.post-body code {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 0.88em;
  background: #ece7d8;
  padding: 0.1em 0.35em;
}
.post-body pre {
  background: #ece7d8;
  padding: 1rem 1.2rem;
  overflow-x: auto;
  margin-bottom: 1.3rem;
}
.post-body pre code { background: none; padding: 0; }
