/* Journal index + post (same visual language as the About page). Header and footer: chrome.css.
   Tokens: navy #0B1B33, gold #C8A46A, pale gold #E4CFA5, sand #F4EFE6, muted #5B6577, ink #2C3A50 */
.wrap, .wrap-narrow { margin-left: auto; margin-right: auto; padding-left: clamp(20px, 4vw, 48px); padding-right: clamp(20px, 4vw, 48px); }
.wrap { max-width: 1320px; }
.wrap-narrow { max-width: calc(760px + 2 * clamp(20px, 4vw, 48px)); }

.eyebrow { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: #8A6A30; font-weight: 700; }
.eyebrow.gold { color: #C8A46A; }
.jr-h2 { font-family: 'Playfair Display', serif; font-weight: 500; font-size: clamp(26px, 2.95vw, 37px); line-height: 1.1; margin: 12px 0 0; color: #0B1B33; }
.jr-h2 em { color: #1E5AA0; }

/* Buttons */
.jb { display: inline-flex; align-items: center; padding: 13px 20px; border-radius: 999px; font-weight: 700; font-size: 13px; white-space: nowrap; }
.jb-gold, .jb-gold:hover { background: #C8A46A; color: #0B1B33; }
.jb-gold:hover { background: #D4B37C; }
.jb-wa, .jb-wa:hover { background: #1F8F5A; color: #fff; }
.jb-wa:hover { background: #1A7C4E; }
.jb-navy, .jb-navy:hover { background: #0B1B33; color: #fff; }
.jb-navy:hover { background: #1E5AA0; }

/* Index head */
.jr-head { padding-top: calc(80px + clamp(48px, 7vw, 96px)); padding-bottom: clamp(32px, 4vw, 48px); display: flex; flex-direction: column; gap: 16px; }
.jr-head h1 { font-family: 'Playfair Display', serif; font-weight: 500; font-size: clamp(35px, 4.92vw, 67px); line-height: 1.02; letter-spacing: -.015em; margin: 0; color: #0B1B33; }
.jr-head h1 em { color: #1E5AA0; }
.jr-head p { margin: 0; font-size: clamp(15px, 1.15vw, 18px); line-height: 1.6; color: #2C3A50; max-width: 54ch; }
.jr-empty p { font-size: 16px; color: #5B6577; }

/* Category chip + meta */
.jr-cat { display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 999px; background: #F1E7D4; color: #8A6A30; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.jr-cat-float { position: absolute; left: 14px; top: 14px; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); }
.jr-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 13px; color: #5B6577; }

/* Featured post */
.jr-feature { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); background: #fff; border: 1px solid #ECE6DB; border-radius: 28px; overflow: hidden; color: inherit; transition: box-shadow .3s, transform .3s; }
.jr-feature:hover { color: inherit; box-shadow: 0 24px 60px rgba(11,27,51,.1); transform: translateY(-2px); }
.jr-feature-img { position: relative; min-height: 380px; background: #2E6A5A; }
.jr-feature-body { padding: clamp(28px, 4.5vw, 56px); display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.jr-feature-body h2 { font-family: 'Playfair Display', serif; font-weight: 500; font-size: clamp(26px, 2.79vw, 35px); line-height: 1.12; margin: 0; color: #0B1B33; text-wrap: balance; }
.jr-feature-body p { margin: 0; font-size: 15px; line-height: 1.7; color: #2C3A50; max-width: 52ch; }
.jr-more { font-weight: 700; font-size: 14px; color: #1E5AA0; }

/* Cards */
.jr-list { padding-top: clamp(28px, 3vw, 40px); }
.jr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 22px; }
.jr-card { display: flex; flex-direction: column; background: #fff; border: 1px solid #ECE6DB; border-radius: 22px; overflow: hidden; color: inherit; transition: box-shadow .3s, transform .3s; }
.jr-card:hover { color: inherit; box-shadow: 0 18px 44px rgba(11,27,51,.09); transform: translateY(-2px); }
.jr-card-img { position: relative; aspect-ratio: 16/11; background: #3A4E78; }
.jr-card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; }
.jr-date { font-size: 12px; color: #5B6577; font-weight: 600; }
.jr-card h3 { font-family: 'Playfair Display', serif; font-weight: 500; font-size: 21px; line-height: 1.25; margin: 0; color: #0B1B33; }
.jr-card p { margin: 0; font-size: 14px; line-height: 1.6; color: #5B6577; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Pagination */
.jr-pager { padding-top: 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; }
.pg-nums { display: flex; flex-wrap: wrap; gap: 6px; }
.pg-num, .pg-btn { min-width: 44px; height: 44px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid #DDD4C4; color: #0B1B33; font-weight: 700; font-size: 13px; background: transparent; }
.pg-num:hover, .pg-btn:hover { background: #fff; color: #0B1B33; }
.pg-num.on { background: #0B1B33; border-color: #0B1B33; color: #fff; }
.pg-btn.off { opacity: .4; }

/* Plan CTA */
.jr-cta { margin-top: clamp(64px, 8vw, 104px); background: #0B1B33; color: #fff; border-radius: 28px; padding: clamp(32px, 5vw, 56px); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.jr-cta h2 { font-family: 'Playfair Display', serif; font-weight: 500; font-size: clamp(26px, 2.95vw, 37px); line-height: 1.1; margin: 12px 0 0; max-width: 18ch; }
.jr-cta h2 em { color: #E4CFA5; }
.jr-cta-btns { display: flex; flex-wrap: wrap; gap: 10px; }

/* Post */
.post-head { padding-top: calc(80px + clamp(40px, 6vw, 80px)); display: flex; flex-direction: column; gap: 18px; }
.post-crumbs { display: flex; gap: 10px; align-items: center; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; color: #8A6A30; }
.post-crumbs a, .post-crumbs a:hover { color: #8A6A30; }
.post-crumbs span[aria-hidden] { color: #C9BBA0; }
.post-head h1 { font-family: 'Playfair Display', serif; font-weight: 500; font-size: clamp(33px, 4.26vw, 54px); line-height: 1.06; letter-spacing: -.01em; margin: 0; color: #0B1B33; text-wrap: balance; }
.post-lead { margin: 0; font-size: clamp(16px, 1.23vw, 18px); line-height: 1.6; color: #2C3A50; }
.post-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13px; color: #5B6577; padding-top: 6px; }
.post-meta > * + *::before { content: '·'; margin-right: 18px; color: #C9BBA0; }
.post-cover { margin: clamp(32px, 4vw, 48px) auto 0; }
.post-cover-img { position: relative; aspect-ratio: 16/8; border-radius: 28px; overflow: hidden; background: #2E6A5A; }
.post-body { padding-top: clamp(36px, 4.5vw, 56px); }
.post-share { margin-top: 44px; padding-top: 28px; border-top: 1px solid #DDD4C4; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.post-share span { font-family: 'Playfair Display', serif; font-size: 20px; color: #0B1B33; margin-right: auto; }
.post-more { padding-top: clamp(64px, 8vw, 104px); }
.post-more-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 28px; }
.jr-all, .jr-all:hover { font-weight: 700; font-size: 14px; color: #1E5AA0; }

/* Article body (trusted admin HTML) */
.prose { font-size: 17px; line-height: 1.8; color: #2C3A50; }
.prose > :first-child { margin-top: 0; }
.prose > :last-child { margin-bottom: 0; }
.prose p, .prose ul, .prose ol, .prose blockquote, .prose figure, .prose table { margin: 0 0 1.15em; }
.prose h2 { font-family: 'Playfair Display', serif; font-weight: 500; font-size: clamp(23px, 2.13vw, 29px); line-height: 1.2; color: #0B1B33; margin: 1.6em 0 .5em; }
.prose h3 { font-family: 'Playfair Display', serif; font-weight: 500; font-size: 22px; line-height: 1.3; color: #0B1B33; margin: 1.4em 0 .4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: .3em 0; }
.prose li::marker { color: #8A6A30; }
.prose a { color: #1E5AA0; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(30,90,160,.35); }
.prose strong { color: #0B1B33; }
.prose blockquote { border-left: 3px solid #C8A46A; padding: 4px 0 4px 22px; font-family: 'Playfair Display', serif; font-size: 21px; line-height: 1.5; color: #0B1B33; }
.prose img { height: auto; border-radius: 18px; margin: 1.4em 0; }
.prose figcaption { font-size: 13px; color: #5B6577; margin-top: -.8em; }
.prose hr { border: 0; border-top: 1px solid #DDD4C4; margin: 2em 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 14px; display: block; overflow-x: auto; }
.prose th, .prose td { border-bottom: 1px solid #E4DDD0; padding: 10px 12px; text-align: left; }

@media (max-width: 699px) {
    .jr-feature-img { min-height: 260px; }
    .post-cover-img { aspect-ratio: 4/3; border-radius: 20px; }
    .post-share span { width: 100%; }
}
