/* ============================================================
   小胖毛 — Blog index (journal) page
   ============================================================ */
.blog-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); text-align: center; }
.blog-hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 70% at 50% 0%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 60%);
  pointer-events: none;
}
.blog-hero-inner { max-width: 680px; margin: 0 auto; padding: clamp(48px, 7vw, 92px) clamp(20px, 4vw, 32px) clamp(40px, 5vw, 60px); position: relative; }
.blog-hero h1 { font-family: var(--serif); font-style: italic; font-size: clamp(2.6rem, 6vw, 4.2rem); color: var(--ink); line-height: 1.06; margin: 18px 0 20px; letter-spacing: -0.015em; }
.blog-hero p { font-size: 15.5px; color: var(--ink-soft); line-height: 1.85; max-width: 540px; margin: 0 auto; }
.blog-hero .eyebrow { justify-content: center; }

.posts { max-width: 1020px; margin: 0 auto; padding: clamp(40px, 5vw, 64px) clamp(18px, 4vw, 32px) 90px; }
.posts-note { text-align: center; max-width: 600px; margin: 0 auto clamp(36px, 4vw, 52px); font-size: 14.5px; color: var(--ink-soft); line-height: 1.9; }

/* thumbnails */
.th { position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.th svg.glyph { width: 30%; max-width: 64px; height: auto; color: #fff; opacity: 0.95; position: relative; z-index: 1; }
.th::after { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,0.18) 1.4px, transparent 1.4px); background-size: 16px 16px; opacity: 0.5; }
.th-pet   { background: linear-gradient(150deg, #9bb083, var(--sage)); }
.th-mbti  { background: linear-gradient(150deg, var(--accent), var(--accent-deep)); }
.th-bake  { background: linear-gradient(150deg, #d18254, var(--clay)); }
.th-event { background: linear-gradient(150deg, #6b4226, #3a2415); }
.th-work  { background: linear-gradient(150deg, #88aac6, var(--sky)); }

/* featured post */
.feature-post {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; text-decoration: none; color: var(--ink);
  box-shadow: var(--shadow-sm); transition: box-shadow .3s, transform .3s;
  margin-bottom: clamp(20px, 2.6vw, 28px);
}
.feature-post:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.feature-post .th { min-height: 280px; }
.feature-post .th svg.glyph { max-width: 84px; }
.fp-body { padding: clamp(28px, 3.5vw, 44px); display: flex; flex-direction: column; justify-content: center; }
.fp-flag { font-family: var(--mono); font-size: 10.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-deep); margin-bottom: 16px; }
.fp-body .post-title { font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
.fp-body .post-excerpt { font-size: 14.5px; -webkit-line-clamp: 4; }

/* grid */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: clamp(16px, 2.2vw, 24px); }
.post-card {
  display: flex; flex-direction: column;
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; text-decoration: none; color: var(--ink);
  box-shadow: var(--shadow-sm); transition: box-shadow .3s, transform .3s;
}
.post-card:hover { box-shadow: var(--shadow); transform: translateY(-5px); }
.post-card .th { height: 150px; }
.post-body { padding: 24px 24px 22px; display: flex; flex-direction: column; flex: 1; }
.post-cat { font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-deep); margin-bottom: 11px; }
.post-title { font-family: var(--serif); font-style: italic; font-size: 1.32rem; color: var(--ink); line-height: 1.3; margin-bottom: 11px; letter-spacing: -0.005em; }
.post-excerpt { font-size: 13.5px; color: var(--ink-soft); line-height: 1.8; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-meta { display: flex; align-items: center; gap: 10px; margin-top: 18px; font-family: var(--mono); font-size: 11px; color: var(--ink-mute); letter-spacing: 0.03em; }
.post-meta .d { width: 3px; height: 3px; border-radius: 50%; background: var(--ink-mute); }

@media (max-width: 720px) {
  .feature-post { grid-template-columns: 1fr; }
  .feature-post .th { min-height: 180px; }
  .nav-link { display: none; }
}
