/* ===== Journal listing (blog.php) — page-specific ===== */

/* Hero */
.bl-hero { padding: 56px 0 28px; }
.bl-hero h1 { font-size: 58px; }

/* Category + search bar */
.bl-bar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg); }
.bl-bar-inner { display: flex; align-items: center; gap: 20px; padding: 14px 0; }
.bl-cats { display: flex; gap: 6px; align-items: center; overflow-x: auto; flex: 1; scrollbar-width: none; -ms-overflow-style: none; }
.bl-cats::-webkit-scrollbar { display: none; }
.bl-cat { padding: 8px 15px; border-radius: var(--r-full); font-size: 13px; font-weight: 600; color: var(--ink-2); white-space: nowrap; transition: all 0.15s; }
.bl-cat:hover { background: var(--bg-soft); color: var(--ink); }
.bl-cat.active { background: var(--ink); color: #fff; }
.bl-cat .n { opacity: 0.5; font-weight: 600; }
.bl-cat.active .n { opacity: 0.7; }

.bl-search { display: flex; align-items: center; gap: 8px; background: var(--bg-soft); border: 1px solid var(--line-strong); border-radius: var(--r-full); padding: 8px 14px; flex-shrink: 0; }
.bl-search input { border: none; background: transparent; outline: none; font: inherit; font-size: 13px; width: 160px; color: var(--ink); }
.bl-search input::placeholder { color: var(--muted); }
.bl-search button { border: none; background: transparent; cursor: pointer; color: var(--muted); display: inline-flex; padding: 0; }
.bl-search button:hover { color: var(--ink); }
.bl-search svg { width: 16px; height: 16px; }

/* Featured */
.bl-featured { padding: 48px 0 8px; }
.bl-feat { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; }
.bl-feat-img { display: block; aspect-ratio: 5/4; background-color: var(--plum-soft); background-size: cover; background-position: center; border-radius: var(--r-xl); box-shadow: var(--shadow-lg); transition: transform 0.25s; }
.bl-feat-img:hover { transform: translateY(-3px); box-shadow: var(--shadow-xl); }
.bl-feat-eyebrow { display: inline-flex; gap: 8px; font-size: 11px; font-weight: 800; color: var(--saffron-deep); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; }
.bl-feat h2 { font-family: 'Fraunces', serif; font-size: 44px; font-weight: 600; letter-spacing: -0.025em; line-height: 1.1; color: var(--ink); margin-bottom: 16px; }
.bl-feat h2 a { color: inherit; }
.bl-feat h2 a:hover { color: var(--plum); }
.bl-feat p { font-size: 17px; line-height: 1.65; color: var(--ink-2); margin-bottom: 24px; }

/* Byline (featured) */
.bl-by { display: flex; align-items: center; gap: 12px; }
.bl-ava { width: 40px; height: 40px; border-radius: 50%; background: var(--g-lantern); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-family: 'Inter Tight', sans-serif; font-weight: 800; font-size: 14px; flex-shrink: 0; letter-spacing: 0.02em; }
.bl-by .who { font-size: 13px; line-height: 1.35; }
.bl-by .who strong { color: var(--ink); font-weight: 700; display: block; }
.bl-by .who span { color: var(--muted); }

/* List */
.bl-list { padding: 44px 0 8px; }
.bl-list-head { margin-bottom: 28px; }
.bl-list-head h2 { font-family: 'Inter Tight', sans-serif; font-size: 22px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
.bl-list-head p { font-size: 13.5px; color: var(--muted); margin-top: 4px; }

/* Pager */
.bl-pager { display: flex; gap: 6px; justify-content: center; align-items: center; margin-top: 48px; }
.bl-pager a, .bl-pager span { min-width: 40px; height: 40px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--r-sm); font-size: 14px; font-weight: 700; border: 1px solid var(--line-strong); color: var(--ink-2); transition: all 0.15s; }
.bl-pager a:hover { border-color: var(--ink); color: var(--ink); }
.bl-pager span.on { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Empty state */
.bl-empty { text-align: center; padding: 64px 0; }
.bl-empty h2 { font-family: 'Fraunces', serif; font-size: 28px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.bl-empty p { color: var(--muted); margin-bottom: 8px; }

/* CTA band */
.bl-cta { margin: 40px 0 96px; background: var(--g-plum-rich); border-radius: var(--r-2xl); padding: 56px 48px; text-align: center; color: #fff; box-shadow: var(--shadow-lg); }
.bl-cta h2 { font-family: 'Fraunces', serif; font-size: 34px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 12px; }
.bl-cta p { font-size: 16px; opacity: 0.9; max-width: 560px; margin: 0 auto 24px; line-height: 1.55; }

@media (max-width: 1024px) {
  .bl-hero h1 { font-size: 40px; }
  .bl-feat { grid-template-columns: 1fr; gap: 24px; }
  .bl-feat h2 { font-size: 32px; }
  .bl-bar-inner { flex-direction: column; align-items: stretch; }
  .bl-search { width: 100%; }
  .bl-search input { flex: 1; width: auto; }
  .bl-cta { padding: 40px 28px; }
}
