/* ---------- Blog redesign (listings + posts) — 2026-10-15 ----------
   Generated markup from _tools/blog/build.js. Shares the podcast hub's palette and type. */
.usj-blog, .usj-post { --b-ink: #2b2523; --b-text: #4a4341; --b-muted: #7a716e; --b-taupe: #645B58; --b-brown: #997C60; --b-cream: #F7F2EC; --b-line: #e8dfd6; --b-yellow: #FFEB3B;
  font-family: "Inter", sans-serif; color: var(--b-ink); background: var(--b-cream); }
.usj-blog *, .usj-post * { box-sizing: border-box; }
.usj-blog a, .usj-post a { text-decoration: none; }
.usj-bwrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
body:has(.usj-blog) #secondary { background: #F7F2EC; padding: 8px 0 56px; margin: 0; }

/* ===== listing hero ===== */
.usj-blog-hero { background: radial-gradient(120% 140% at 85% 10%, #7a6f6b 0%, #4a4240 45%, #2f2927 100%); color: #f1eae5; padding: 64px 0 56px; position: relative; overflow: hidden; }
.usj-blog-hero::after { content: ""; position: absolute; right: -140px; top: -160px; width: 520px; height: 520px; border-radius: 50%; border: 1px solid rgba(241, 234, 229, .08);
  box-shadow: 0 0 0 70px rgba(241, 234, 229, .03), 0 0 0 140px rgba(241, 234, 229, .02); pointer-events: none; }
.usj-blog-hero .usj-bwrap { position: relative; z-index: 1; }
.usj-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--b-yellow); margin: 0 0 14px; }
.usj-blog-hero h1 { font-family: "Playfair Display", serif; font-weight: 500; font-size: clamp(38px, 5vw, 60px); line-height: 1.05; color: #fff; margin: 0 0 14px; }
.usj-blog-hero p.usj-lede { font-size: 18px; line-height: 1.6; color: rgba(241, 234, 229, .86); max-width: 560px; margin: 0 0 28px; }
.usj-blog-tools { display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: center; }
.usj-search { position: relative; flex: 1 1 320px; max-width: 460px; }
.usj-search i { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--b-muted); font-size: 15px; pointer-events: none; }
.usj-search input { width: 100%; height: 50px; border-radius: 999px; border: 0; padding: 0 20px 0 46px; font: 500 15px "Inter", sans-serif; color: var(--b-ink); background: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, .18); }
.usj-search input:focus { outline: 3px solid rgba(255, 235, 59, .7); outline-offset: 2px; }
.usj-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.usj-blog .usj-chips a { padding: 10px 16px; border-radius: 999px; font-size: 14px; font-weight: 500; color: #f1eae5; box-shadow: inset 0 0 0 1px rgba(241, 234, 229, .3); transition: background .15s ease; }
.usj-blog .usj-chips a:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.usj-blog .usj-chips a[aria-current="page"] { background: #f1eae5; color: var(--b-ink); box-shadow: none; }

/* ===== cards ===== */
.usj-blog-main { padding: 48px 0 64px; }
.usj-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 0 0 22px; }
.usj-section-head h2 { font-family: "Playfair Display", serif; font-weight: 500; font-size: 30px; margin: 0; color: var(--b-ink); }
.usj-section-head span { color: var(--b-brown); font-size: 14px; font-weight: 500; }
.usj-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.usj-blog a.usj-pcard, .usj-post a.usj-pcard { display: flex; flex-direction: column; background: #fff; border-radius: 18px; overflow: hidden; color: var(--b-ink);
  box-shadow: 0 1px 0 rgba(43, 37, 35, .04); border: 1px solid transparent; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.usj-blog a.usj-pcard:hover, .usj-post a.usj-pcard:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(43, 37, 35, .1); border-color: var(--b-line); color: var(--b-ink); }
.usj-pcard-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #e9e1d8; }
.usj-pcard-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.usj-pcard:hover .usj-pcard-img img { transform: scale(1.04); }
.usj-pcard-body { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 24px; flex: 1; }
.usj-pcard-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 13px; color: var(--b-muted); }
.usj-chip { display: inline-block; background: var(--b-cream); color: var(--b-taupe); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; }
.usj-chip--podcast { background: #fff7c2; color: #6b5a00; }
.usj-pcard h3 { font-family: "Playfair Display", serif; font-weight: 500; font-size: 21px; line-height: 1.3; margin: 0; color: var(--b-ink); }
.usj-pcard-ex { font-size: 15px; line-height: 1.6; color: var(--b-text); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.usj-pcard-more { margin-top: auto; padding-top: 6px; font-size: 14px; font-weight: 600; color: var(--b-taupe); display: inline-flex; align-items: center; gap: 8px; }
.usj-pcard:hover .usj-pcard-more { color: var(--b-brown); }
/* featured */
.usj-blog a.usj-pcard--feature { flex-direction: row; margin-bottom: 44px; border-radius: 24px; box-shadow: 0 24px 60px rgba(43, 37, 35, .12); }
.usj-pcard--feature .usj-pcard-img { flex: 1.15; aspect-ratio: auto; min-height: 380px; }
.usj-pcard--feature .usj-pcard-body { flex: 1; padding: 40px 44px; justify-content: center; gap: 14px; }
.usj-pcard--feature h3 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.2; }
.usj-pcard--feature .usj-pcard-ex { font-size: 16px; -webkit-line-clamp: 4; }
.usj-pcard--feature .usj-pcard-more { margin-top: 8px; }
.usj-latest-tag { align-self: flex-start; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--b-brown); }

/* pagination */
.usj-pager { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin-top: 48px; }
.usj-blog .usj-pager a, .usj-pager span { min-width: 44px; height: 44px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; font-size: 15px; font-weight: 500; }
.usj-blog .usj-pager a { background: #fff; color: var(--b-ink); box-shadow: 0 1px 0 rgba(43, 37, 35, .05); }
.usj-blog .usj-pager a:hover { background: var(--b-taupe); color: #fff; }
.usj-pager span[aria-current] { background: var(--b-taupe); color: #fff; }
.usj-pager span.dots { color: var(--b-muted); min-width: 20px; padding: 0; }
.usj-blog .usj-pager a.usj-pager-step { gap: 8px; padding: 0 20px; }

/* search results */
.usj-search-results[hidden] { display: none; }
.usj-search-empty { background: #fff; border-radius: 18px; padding: 40px; text-align: center; color: var(--b-text); }

/* ===== single post ===== */
.usj-post-hero { padding: 56px 0 0; }
.usj-post-head { max-width: 860px; margin: 0 auto; padding: 0 24px; text-align: center; }
.usj-crumbs { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; font-size: 13px; font-weight: 500; color: var(--b-muted); margin-bottom: 18px; }
.usj-post .usj-crumbs a { color: var(--b-brown); }
.usj-post .usj-crumbs a:hover { color: var(--b-taupe); text-decoration: underline; }
.usj-post-head h1 { font-family: "Playfair Display", serif; font-weight: 500; font-size: clamp(32px, 4.4vw, 52px); line-height: 1.12; color: var(--b-ink); margin: 0 0 18px; }
.usj-post-meta { display: flex; justify-content: center; flex-wrap: wrap; align-items: center; gap: 8px 16px; font-size: 14px; color: var(--b-muted); }
.usj-post-meta i { color: var(--b-brown); margin-right: 6px; }
.usj-post-figure { max-width: 1040px; margin: 36px auto 0; padding: 0 24px; }
.usj-post-figure img { display: block; width: 100%; height: auto; max-height: 560px; object-fit: cover; border-radius: 24px; box-shadow: 0 24px 60px rgba(43, 37, 35, .14); background: #e9e1d8; }
.usj-post-layout { max-width: 1180px; margin: 0 auto; padding: 48px 24px 0; display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: start; }
.usj-post-body { background: #fff; border-radius: 24px; padding: 48px 56px; min-width: 0; }

/* article typography — content is the original post HTML, untouched */
.usj-prose { font-size: 18px; line-height: 1.75; color: var(--b-text); overflow-wrap: break-word; }
.usj-prose > *:first-child { margin-top: 0; }
.usj-prose p { margin: 0 0 1.15em; }
.usj-prose p:empty { display: none; }
.usj-prose h2, .usj-prose h3, .usj-prose h4 { font-family: "Playfair Display", serif; font-weight: 500; color: var(--b-ink); line-height: 1.25; margin: 1.6em 0 .55em; }
.usj-prose h2 { font-size: 30px; } .usj-prose h3 { font-size: 24px; } .usj-prose h4 { font-size: 20px; }
.usj-prose strong { color: var(--b-ink); }
.usj-post .usj-prose a { color: var(--b-taupe); text-decoration: underline; text-decoration-color: rgba(153, 124, 96, .5); text-underline-offset: 3px; }
.usj-post .usj-prose a:hover { color: var(--b-brown); text-decoration-color: currentColor; }
.usj-prose ul, .usj-prose ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.usj-prose li { margin: .35em 0; }
.usj-prose li::marker { color: var(--b-brown); }
.usj-prose img { max-width: 100%; height: auto; border-radius: 14px; }
.usj-prose figure { margin: 1.6em 0; max-width: 100%; }
.usj-prose figcaption { font-size: 14px; color: var(--b-muted); text-align: center; margin-top: 8px; }
.usj-prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--b-brown); font-style: italic; color: var(--b-ink); }
.usj-prose table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.usj-prose th, .usj-prose td { border: 1px solid var(--b-line); padding: 8px 12px; text-align: left; }
.usj-prose iframe { max-width: 100%; border: 0; }
.usj-prose .wp-block-embed, .usj-prose .wp-block-embed__wrapper { margin: 0 0 1.2em; }
.usj-prose p.usj-disclaimer { font-size: 14px; line-height: 1.6; color: var(--b-muted); background: var(--b-cream); border-radius: 12px; padding: 14px 18px; margin-bottom: 1.6em; }
.usj-prose p.usj-disclaimer em { font-style: normal; }
/* reference lists at the end of posts read smaller */
.usj-prose .usj-refs, .usj-prose .usj-refs ~ ol, .usj-prose .usj-refs ~ p { font-size: 14px; line-height: 1.6; color: var(--b-muted); }

/* aside */
.usj-post-aside { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 18px; }
.usj-aside-card { background: #fff; border-radius: 20px; padding: 22px; }
.usj-aside-card h2 { font-family: "Playfair Display", serif; font-weight: 500; font-size: 20px; margin: 0 0 14px; color: var(--b-ink); }
.usj-share { display: flex; gap: 10px; }
.usj-post .usj-share a, .usj-share button { width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--b-cream); color: var(--b-taupe); border: 0; cursor: pointer; font-size: 16px; transition: background .15s ease, color .15s ease; }
.usj-post .usj-share a:hover, .usj-share button:hover { background: var(--b-taupe); color: #fff; }
.usj-share button.is-copied { background: var(--b-brown); color: #fff; }
.usj-aside-cta { background: radial-gradient(120% 140% at 90% 0%, #7a6f6b 0%, #4a4240 55%, #2f2927 100%); color: #f1eae5; }
.usj-aside-cta h2 { color: #fff; }
.usj-aside-cta p { font-size: 14px; line-height: 1.55; margin: 0 0 16px; color: rgba(241, 234, 229, .85); }
.usj-post .usj-aside-cta a.usj-cta-book { display: flex; justify-content: center; align-items: center; gap: 8px; background: var(--b-yellow); color: #1a1a1a; font-weight: 600; font-size: 15px; padding: 12px 18px; border-radius: 999px; }
.usj-post .usj-aside-cta a.usj-cta-call { display: flex; justify-content: center; align-items: center; gap: 8px; color: #f1eae5; font-size: 14px; font-weight: 500; margin-top: 12px; }
.usj-post .usj-aside-cta a.usj-cta-call:hover { color: #fff; }
.usj-recent { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.usj-post .usj-recent a { display: grid; grid-template-columns: 72px 1fr; gap: 12px; align-items: center; color: var(--b-ink); }
.usj-recent img { width: 72px; height: 56px; object-fit: cover; border-radius: 10px; display: block; background: #e9e1d8; }
.usj-recent strong { display: block; font-family: "Playfair Display", serif; font-weight: 500; font-size: 15px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.usj-recent span { display: block; font-size: 12px; color: var(--b-muted); margin-top: 3px; }
.usj-post .usj-recent a:hover strong { color: var(--b-taupe); }

/* prev / next */
.usj-post-nav { max-width: 1180px; margin: 0 auto; padding: 56px 24px 80px; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.usj-post .usj-post-nav a { display: grid; grid-template-columns: 96px 1fr; gap: 18px; align-items: center; background: #fff; border-radius: 18px; padding: 14px; color: var(--b-ink); border: 1px solid transparent; transition: border-color .2s ease, box-shadow .2s ease; }
.usj-post .usj-post-nav a:hover { border-color: var(--b-line); box-shadow: 0 14px 34px rgba(43, 37, 35, .08); }
.usj-post .usj-post-nav a.is-next { grid-template-columns: 1fr 96px; text-align: right; grid-column: 2; }
.usj-post-nav img { width: 96px; height: 72px; object-fit: cover; border-radius: 12px; display: block; background: #e9e1d8; }
.usj-post-nav a.is-next img { order: 2; }
.usj-post-nav small { display: block; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--b-brown); margin-bottom: 4px; }
.usj-post-nav strong { display: block; font-family: "Playfair Display", serif; font-weight: 500; font-size: 17px; line-height: 1.3; }

@media (max-width: 1080px) {
  .usj-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .usj-post-layout { grid-template-columns: 1fr; gap: 28px; }
  .usj-post-aside { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .usj-post-aside .usj-aside-card:last-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .usj-bwrap { padding: 0 16px; }
  .usj-blog-hero { padding: 44px 0 40px; }
  .usj-blog-hero p.usj-lede { font-size: 16px; }
  .usj-grid { grid-template-columns: 1fr; gap: 18px; }
  .usj-blog a.usj-pcard--feature { flex-direction: column; margin-bottom: 28px; }
  .usj-pcard--feature .usj-pcard-img { min-height: 0; aspect-ratio: 16 / 10; }
  .usj-pcard--feature .usj-pcard-body { padding: 24px 22px; }
  .usj-post-hero { padding-top: 36px; }
  .usj-post-head, .usj-post-figure { padding: 0 16px; }
  .usj-post-figure { margin-top: 24px; }
  .usj-post-figure img { border-radius: 16px; }
  .usj-post-layout { padding: 24px 16px 0; }
  .usj-post-body { padding: 26px 20px; border-radius: 18px; }
  .usj-prose { font-size: 17px; }
  .usj-prose h2 { font-size: 25px; } .usj-prose h3 { font-size: 21px; }
  .usj-post-aside { grid-template-columns: 1fr; }
  .usj-post-nav { grid-template-columns: 1fr; padding: 32px 16px 56px; gap: 12px; }
  .usj-post .usj-post-nav a.is-next { grid-column: 1; }
  .usj-post .usj-pager a.usj-pager-step span { display: none; }
}
@media (prefers-reduced-motion: reduce) { .usj-pcard, .usj-pcard-img img { transition: none !important; } }

.usj-blog .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
