/* Journal cards + the "From the journal" strip — shared by the Journal pages, the homepage and the
   pillar pages (no global rules here, so it is safe to load on any page). */
/* ── Cards (overview, related, strips) ───────────────────────────────────────── */
.jr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 1.4rem; }
.jc { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; transition: box-shadow .2s, transform .2s; }
.jc:hover { box-shadow: 0 10px 28px rgba(44, 36, 22, .08); transform: translateY(-2px); }
.jc-img { display: block; aspect-ratio: 16 / 10; background: var(--paper, #ead8bb); overflow: hidden; }
.jc-img img { width: 100%; height: 100%; object-fit: cover; }
.jc-noimg { display: block; width: 100%; height: 100%; background: var(--paper, #ead8bb); }
.jc-body { padding: 1.05rem 1.2rem 1.2rem; display: flex; flex-direction: column; gap: .45rem; flex: 1; }
.jc-cat { align-self: flex-start; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--cat, var(--accent)); border: 1px solid currentColor; border-radius: 999px; padding: .12rem .6rem; }
.jc-title { font-family: 'Cormorant Garamond', serif; font-weight: 400; font-size: 1.45rem; line-height: 1.2; text-wrap: balance; }
.jc-title a { text-decoration: none; }
.jc-title a:hover, .jc-title a:focus-visible { color: var(--brown, #5b3a1a); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.jc-excerpt { color: var(--ink-light); font-size: .92rem; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.jc-meta { margin-top: auto; padding-top: .35rem; font-size: .78rem; color: var(--ink-light); }
.jc--featured { grid-column: 1 / -1; }
@media (min-width: 760px) {
  .jc--featured { flex-direction: row; }
  .jc--featured .jc-img { flex: 1.15; aspect-ratio: auto; min-height: 320px; }
  .jc--featured .jc-body { flex: 1; padding: 2rem 2.1rem; justify-content: center; gap: .7rem; }
  .jc--featured .jc-title { font-size: 2.1rem; }
  .jc--featured .jc-excerpt { -webkit-line-clamp: 5; font-size: 1rem; }
  .jc--featured .jc-meta { margin-top: .3rem; }
}

/* "From the journal" strip (homepage + pillar pages) */
.jr-strip { margin: 3rem 0 1rem; }
.jr-strip-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.2rem; flex-wrap: wrap; }
.jr-strip-head a { font-size: .88rem; color: inherit; text-decoration: none; border-bottom: 1px solid var(--accent-light); }

@media (prefers-reduced-motion: reduce) { .jc, .jc:hover { transition: none; transform: none; } }
.jc img { display: block; max-width: 100%; }
.jr-strip-head h2 { font-family: 'Cormorant Garamond', serif; font-weight: 300; font-size: 1.9rem; line-height: 1.15; }
.jc a { color: inherit; }
