.blog-header {
  background: #192231;
  padding: 28px 24px;
  text-align: center;
}

.blog-back {
  position: fixed;
  top: 16px;
  left: 16px;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: #1a1d21;
  text-decoration: none;
  background: #ffffff;
  border: 1px solid #edf0f4;
  border-radius: 8px;
  padding: 6px 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  z-index: 100;
}

.blog-back:hover {
  background: #f4f6f8;
}

.blog-brand {
  display: inline-block;
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.blog-brand:hover {
  color: rgba(255, 255, 255, 0.8);
}

.blog-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

.blog-subhead {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
}

.blog-main {
  max-width: 680px;
  margin: 48px auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.post-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #ffffff;
  border-radius: 14px;
  padding: 20px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid #edf0f4;
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.post-card:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.post-card-cover {
  width: 64px;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
  align-self: flex-start;
}

.post-card-body {
  flex: 1;
  min-width: 0;
}

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

.post-date {
  font-size: 0.8rem;
  color: var(--ink-soft);
}

.post-author {
  font-size: 0.8rem;
  color: #5fa8ff;
}

.post-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #192231;
  margin: 0 0 10px;
  line-height: 1.3;
}

.post-excerpt {
  font-size: 0.93rem;
  color: var(--ink-soft);
  line-height: 1.6;
  margin: 0 0 16px;
}

.post-read-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: #5fa8ff;
}

.blog-empty {
  color: var(--ink-soft);
  text-align: center;
  padding: 48px 0;
}

/* Post page */

.post-main {
  max-width: 680px;
  margin: 0 auto;
  padding: 40px 20px 80px;
}

.post-breadcrumb {
  margin-bottom: 32px;
}

.post-breadcrumb a {
  font-size: 0.88rem;
  color: var(--ink-soft);
  text-decoration: none;
}

.post-breadcrumb a:hover {
  color: #192231;
}


.post-header {
  margin-bottom: 28px;
}

.post-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 5vw, 2.4rem);
  font-weight: 700;
  color: #192231;
  line-height: 1.2;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}

.post-time {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.book-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: #f8fafc;
  border: 1px solid #edf0f4;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 36px;
}

.book-cover {
  width: 80px;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
}

.book-meta {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-top: 2px;
}

.book-title-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #192231;
}

.book-author {
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.book-genre {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: #5fa8ff;
  background: rgba(95, 168, 255, 0.1);
  border-radius: 6px;
  padding: 2px 8px;
  width: fit-content;
  margin-top: 2px;
}

.book-rating {
  display: flex;
  gap: 3px;
  align-items: center;
  margin-top: 2px;
}

.blog-star { font-size: 13px; }
.blog-star--1 { color: #0ea5e9; }
.blog-star--2 { color: #6366f1; }
.blog-star--3 { color: #8b5cf6; }
.blog-star--4 { color: #a855f7; }
.blog-star--5 { color: #9333ea; }
.blog-star--empty { color: #d1d5db; }

/* Prose */

.post-body {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #2d3748;
}

.post-body h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: #192231;
  margin: 2em 0 0.6em;
}

.post-body h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #1a1d21;
  margin: 1.6em 0 0.5em;
}

.post-body p {
  margin: 0 0 1.4em;
}

.post-body a {
  color: #5fa8ff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.post-body blockquote {
  border-left: 3px solid #5fa8ff;
  margin: 1.5em 0;
  padding: 0.5em 0 0.5em 20px;
  color: var(--ink-soft);
  font-style: italic;
}

.post-body ul,
.post-body ol {
  margin: 0 0 1.4em 1.2em;
  padding: 0;
}

.post-body li {
  margin-bottom: 0.4em;
}

.post-body hr {
  border: none;
  border-top: 1px solid #edf0f4;
  margin: 2.5em 0;
}

.post-nav {
  display: flex;
  gap: 12px;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid #edf0f4;
}

.post-nav-item {
  flex: 1;
}

.post-nav-item a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-decoration: none;
  padding: 16px;
  background: #ffffff;
  border: 1px solid #edf0f4;
  border-radius: 12px;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.post-nav-item a:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}

.post-nav-next a {
  text-align: right;
}

.post-nav-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #5fa8ff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.post-nav-title {
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  color: #192231;
  line-height: 1.3;
}

@media (max-width: 540px) {
  .blog-main,
  .post-main {
    padding-left: 14px;
    padding-right: 14px;
  }

  .post-card {
    padding: 20px;
  }

  .book-card {
    flex-direction: column;
    gap: 14px;
  }

  .post-nav {
    flex-direction: column;
  }

  .post-nav-next a {
    text-align: left;
  }

  .post-card-cover {
    width: 52px;
    height: auto;
  }
}
