/* Balance Journal — blog hub, topic archives and articles (theme 1.3.2).
   Values follow the "Blog" and "Blog Post" Claude Design frames. Every rule is scoped to .bj-main. */

.bj-main {
  --bj-ink: #2E2B27;
  --bj-body: #56504A;
  --bj-prose: #46413B;
  --bj-bronze-text: #6F5B42;
  --bj-bronze: #8A7355;
  --bj-bronze-dark: #7E6849;
  --bj-sand: #EFEAE3;
  --bj-border: #DED6C9;
  --bj-sep: #B9AE9E;
  --bj-gutter: clamp(22px, 5vw, 76px);
  background: #FFFFFF;
  color: var(--bj-ink);
  font-family: Karla, system-ui, sans-serif;
}
.bj-main a { text-decoration: none; }
.bj-main p { margin: 0; }
.bj-main [hidden] { display: none !important; }
.bj-main .bj-wrap { max-width: 1288px; margin-inline: auto; width: 100%; }

/* ---- Shared type ---- */
.bj-main .bj-crumbs,
.bj-main .bj-crumbs-trail,
.bj-main .bj-crumb-term {
  font: 400 13px/1.5 Karla, sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--bj-bronze-text);
}
.bj-main .bj-crumbs a,
.bj-main .bj-crumb-term a { color: var(--bj-bronze-text); }
.bj-main .bj-crumbs a:hover,
.bj-main .bj-crumb-term a:hover { color: var(--bj-ink); }
.bj-main .bj-crumb-sep { color: var(--bj-sep); padding: 0 10px; }
.bj-main .bj-crumb-current { color: var(--bj-ink); }
.bj-main .bj-crumbs-row { display: flex; flex-wrap: wrap; align-items: baseline; }
.bj-main .bj-crumbs-row .bj-crumb-term a { color: var(--bj-ink); }
.bj-main .bj-crumbs-row .wp-block-post-terms__separator { color: var(--bj-sep); }

.bj-main .bj-eyebrow {
  font: 500 11px/1.4 Karla, sans-serif;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--bj-bronze-text);
  margin: 0 0 20px;
}

.bj-main .bj-list-title,
.bj-main h2.bj-list-title {
  font: 300 clamp(26px, 2.8vw, 36px)/1.1 Jost, sans-serif;
  letter-spacing: -0.03em;
  color: var(--bj-ink);
  margin: 0;
}

.bj-main .bj-text-link a,
.bj-main .bj-readmore {
  font: 600 12px/1.4 Karla, sans-serif;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--bj-ink);
  border-bottom: 1px solid var(--bj-bronze);
  padding-bottom: 4px;
}

/* ---- Hub intro ---- */
.bj-hub .bj-intro { padding: clamp(26px, 3.2vw, 40px) var(--bj-gutter) clamp(36px, 4.4vw, 60px); }
.bj-hub .bj-intro .bj-crumbs { margin-bottom: clamp(26px, 3.4vw, 44px); }
.bj-hub .bj-intro-row {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 3vw, 48px);
  align-items: flex-end;
  justify-content: space-between;
}
.bj-hub .bj-intro-main { flex: 1 1 420px; min-width: 0; }
.bj-hub .bj-hub-title {
  font: 300 clamp(38px, 4.4vw, 64px)/1.06 Jost, sans-serif;
  letter-spacing: -0.03em;
  color: var(--bj-ink);
  margin: 0;
  max-width: 18ch;
  text-wrap: pretty;
}
.bj-hub .bj-intro-lede,
.bj-hub .bj-intro-lede p {
  flex: 1 1 340px;
  min-width: 0;
  font: 400 19px/1.75 Karla, sans-serif;
  color: var(--bj-body);
  margin: 0;
  max-width: 48ch;
}
.bj-hub .bj-intro-lede:empty { display: none; }

/* ---- Featured article ---- */
.bj-hub .bj-featured { padding: 0 var(--bj-gutter) clamp(48px, 6vw, 88px); }
.bj-hub .bj-featured:not(:has(.wp-block-post)) { display: none; }
.bj-hub .bj-featured-list { list-style: none; margin: 0 auto; padding: 0; max-width: 1288px; }
.bj-hub .bj-featured-card {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  background: var(--bj-sand);
  color: var(--bj-ink);
}
.bj-hub .bj-featured-media { flex: 1.5 1 440px; min-width: 0; margin: 0; }
.bj-hub .bj-featured-media a { display: block; height: 100%; }
.bj-hub .bj-featured-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: clamp(260px, 32vw, 460px);
  object-fit: cover;
}
.bj-hub .bj-featured-body {
  flex: 1 1 360px;
  min-width: 0;
  padding: clamp(28px, 3.6vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.bj-hub .bj-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  font: 600 11px/1.4 Karla, sans-serif;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--bj-bronze-text);
  margin-bottom: 22px;
}
.bj-hub .bj-kicker-label { display: flex; align-items: center; gap: 14px; }
.bj-hub .bj-kicker-label::after { content: ""; width: 24px; height: 1px; background: var(--bj-sep); }
.bj-hub .bj-kicker-terms,
.bj-hub .bj-kicker-terms a { color: var(--bj-bronze-text); position: relative; z-index: 2; }
.bj-hub .bj-featured-title {
  font: 300 clamp(28px, 3vw, 42px)/1.1 Jost, sans-serif;
  letter-spacing: -0.03em;
  color: var(--bj-ink);
  margin: 0 0 20px;
  max-width: 20ch;
  text-wrap: pretty;
}
.bj-hub .bj-featured-title a { color: inherit; }
/* The whole card is one target, as in the design; the title link is stretched over it. */
.bj-hub .bj-featured-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.bj-hub .bj-featured-dek,
.bj-hub .bj-featured-dek p {
  font: 400 18px/1.7 Karla, sans-serif;
  color: var(--bj-body);
  margin: 0 0 28px;
  max-width: 46ch;
}
.bj-hub .bj-featured-dek p { margin: 0; }
.bj-hub .bj-featured-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
}
.bj-main .bj-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  font: 400 14px/1.5 Karla, sans-serif;
  color: var(--bj-bronze-text);
}
.bj-main .bj-meta .wp-block-post-date,
.bj-main .bj-meta p { font: inherit; color: inherit; margin: 0; }
.bj-main .bj-meta-read::before { content: "\00B7"; padding: 0 .4em; }
.bj-hub .bj-readmore { position: relative; z-index: 2; }
.bj-hub .bj-featured-card:hover .bj-featured-title,
.bj-hub .bj-readmore:hover { color: var(--bj-ink); }

/* ---- Article list ---- */
.bj-hub .bj-list { padding: 0 var(--bj-gutter) clamp(56px, 7vw, 110px); }
.bj-hub .bj-list-head {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--bj-border);
  margin-bottom: clamp(28px, 3.4vw, 44px);
}
ul.bj-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
ul.bj-topics > li { margin: 0; }
ul.bj-topics > li > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  border: 1px solid var(--bj-border);
  background: #FFFFFF;
  color: var(--bj-ink);
  font: 600 11px/1 Karla, sans-serif;
  letter-spacing: .2em;
  text-transform: uppercase;
  transition: background 200ms, border-color 200ms, color 200ms;
}
ul.bj-topics > li > a:hover { border-color: var(--bj-bronze); color: var(--bj-ink); }
ul.bj-topics > li.current-cat > a {
  background: var(--bj-ink);
  border-color: var(--bj-ink);
  color: #FFFFFF;
}
/* The chip row only appears once at least one real topic has posts ("No categories" is .cat-item-none). */
ul.bj-topics:not(:has(li.cat-item:not(.bj-topic-all))) { display: none; }
ul.bj-topics .cat-item-none { display: none; }

.bj-main ul.bj-grid,
.bj-main ul.bj-related-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.bj-main ul.bj-grid { gap: clamp(36px, 4vw, 56px) clamp(20px, 2.6vw, 36px) !important; }
.bj-main ul.bj-related-list { gap: clamp(28px, 3vw, 36px) !important; }
.bj-main ul.bj-grid > li,
.bj-main ul.bj-related-list > li { margin: 0; min-width: 0; }

.bj-main .bj-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  color: var(--bj-ink);
}
.bj-main .bj-card-media { margin: 0 0 22px; }
.bj-main .bj-card-compact .bj-card-media { margin-bottom: 20px; }
.bj-main .bj-card-media img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.bj-main .bj-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}
.bj-main .bj-card-terms,
.bj-main .bj-card-terms a {
  font: 600 11px/1.4 Karla, sans-serif;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--bj-bronze-text);
  position: relative;
  z-index: 2;
}
.bj-main .bj-card-compact .bj-card-terms { margin-bottom: 12px; }
.bj-main .bj-card-read {
  display: flex;
  align-items: center;
  gap: 12px;
  font: 400 11px/1.4 Karla, sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--bj-bronze-text);
}
.bj-main .bj-card-read::before { content: ""; width: 18px; height: 1px; background: var(--bj-sep); }
.bj-main .bj-card-title {
  font: 400 clamp(21px, 2vw, 26px)/1.22 Jost, sans-serif;
  letter-spacing: -0.02em;
  color: inherit;
  margin: 0 0 12px;
  text-wrap: pretty;
}
.bj-main .bj-card-compact .bj-card-title { font-size: clamp(20px, 1.9vw, 24px); line-height: 1.25; margin: 0; }
.bj-main .bj-card-title a { color: inherit; transition: color 200ms; }
.bj-main .bj-card-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.bj-main .bj-card:hover .bj-card-title a { color: var(--bj-bronze-text); }
.bj-main .bj-card-dek,
.bj-main .bj-card-dek p {
  font: 400 17px/1.7 Karla, sans-serif;
  color: var(--bj-body);
  margin: 0 0 16px;
}
.bj-main .bj-card-dek p { margin: 0; }
.bj-main .bj-card-date {
  margin-top: auto;
  font: 400 14px/1.5 Karla, sans-serif;
  color: var(--bj-bronze-text);
}

.bj-main .bj-pagination {
  margin-top: clamp(40px, 5vw, 64px);
  gap: 8px;
  font: 600 12px/1 Karla, sans-serif;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.bj-main .bj-pagination a,
.bj-main .bj-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--bj-border);
  color: var(--bj-ink);
}
.bj-main .bj-pagination .page-numbers.current { background: var(--bj-ink); border-color: var(--bj-ink); color: #FFFFFF; }
.bj-main .bj-pagination .page-numbers.dots { border: 0; }
.bj-main .bj-pagination a:hover { border-color: var(--bj-bronze); }
.bj-main .bj-pagination-numbers { display: flex; gap: 8px; }
.bj-main .bj-empty { font: 400 18px/1.7 Karla, sans-serif; color: var(--bj-body); }

/* ---- Consultation band ---- */
.bj-main .bj-cta { background: var(--bj-ink); padding: clamp(44px, 5.4vw, 80px) var(--bj-gutter); }
.bj-main .bj-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  justify-content: space-between;
}
.bj-main .bj-cta-copy { flex: 1 1 440px; min-width: 0; }
.bj-main .bj-cta-title {
  font: 300 clamp(28px, 3.2vw, 44px)/1.1 Jost, sans-serif;
  letter-spacing: -0.03em;
  color: #FFFFFF;
  margin: 0 0 18px;
  max-width: 24ch;
  text-wrap: pretty;
}
.bj-main .bj-cta-text { font: 400 19px/1.7 Karla, sans-serif; color: #CFC6B9; max-width: 52ch; }
.bj-main .bj-cta-actions { flex: 0 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.bj-main .bj-cta-actions a {
  display: block;
  text-align: center;
  font: 600 12px/1.4 Karla, sans-serif;
  letter-spacing: .2em;
  text-transform: uppercase;
  padding: 20px 28px;
  color: #FFFFFF;
  transition: background 200ms, color 200ms;
}
.bj-main .bj-cta-primary a { background: var(--bj-bronze-dark); }
.bj-main .bj-cta-primary a:hover { background: #F7F4EF; color: var(--bj-ink); }
.bj-main .bj-cta-secondary a { border: 1px solid rgba(247, 244, 239, .45); }
.bj-main .bj-cta-secondary a:hover { background: rgba(247, 244, 239, .12); color: #FFFFFF; }

/* ---- Article ---- */
.bj-single .bj-article-head { padding: clamp(26px, 3.2vw, 40px) var(--bj-gutter) clamp(32px, 4vw, 52px); }
.bj-single .bj-crumbs-row { margin-bottom: clamp(32px, 4.4vw, 64px); }
.bj-single .bj-article-intro { max-width: 880px; margin: 0 auto; text-align: center; }
.bj-single .bj-article-terms { font-weight: 600; margin-bottom: 22px; }
.bj-single .bj-article-terms a { color: var(--bj-bronze-text); }
.bj-single .bj-article-title {
  font: 300 clamp(38px, 4.8vw, 68px)/1.05 Jost, sans-serif;
  letter-spacing: -0.03em;
  color: var(--bj-ink);
  margin: 0 auto 24px;
  max-width: 18ch;
  text-wrap: balance;
}
.bj-single .bj-article-dek,
.bj-single .bj-article-dek p {
  font: 400 20px/1.7 Karla, sans-serif;
  color: var(--bj-body);
  margin: 0 auto 30px;
  max-width: 56ch;
  text-wrap: pretty;
}
.bj-single .bj-article-dek p { margin: 0; }
.bj-single .bj-byline {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: center;
  font: 400 15px/1.5 Karla, sans-serif;
  color: var(--bj-bronze-text);
}
.bj-single .bj-byline > * { margin: 0; font: inherit; color: inherit; }
.bj-single .bj-byline-avatar img { display: block; width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; }
.bj-single .bj-byline-name { color: var(--bj-ink); font-weight: 500; }
.bj-single .bj-byline-date::before,
.bj-single .bj-byline-read::before { content: "\00B7"; color: var(--bj-sep); margin-right: 14px; }

.bj-single .bj-hero { padding: 0 var(--bj-gutter); }
.bj-single .bj-hero:not(:has(img)) { display: none; }
.bj-single .bj-hero-image { max-width: 1288px; margin: 0 auto; }
.bj-single .bj-hero-image img { display: block; width: 100%; height: clamp(280px, 42vw, 620px); object-fit: cover; }
.bj-single .bj-hero-caption {
  font: 400 14px/1.6 Karla, sans-serif;
  color: var(--bj-bronze-text);
  margin-top: 14px;
}

.bj-single .bj-body { padding: clamp(44px, 5.6vw, 88px) var(--bj-gutter) clamp(48px, 6vw, 96px); }

/* Article body: a 700px reading column; wide blocks open to 1080px. */
.bj-single .bj-prose {
  font: 400 19px/1.8 Karla, sans-serif;
  color: var(--bj-prose);
}
.bj-single .bj-prose > * { max-width: 700px; margin-inline: auto !important; }
.bj-single .bj-prose > .alignwide { max-width: 1080px; }
.bj-single .bj-prose > .alignfull { max-width: none; }
.bj-single .bj-prose > p,
.bj-single .bj-prose > ul,
.bj-single .bj-prose > ol { margin-block: 0 26px; text-wrap: pretty; }
.bj-single .bj-prose > p:has(+ ul),
.bj-single .bj-prose > p:has(+ ol) { margin-bottom: 20px; }
.bj-single .bj-prose a { color: var(--bj-bronze-text); border-bottom: 1px solid rgba(138, 115, 85, .45); }
.bj-single .bj-prose a:hover { color: var(--bj-ink); border-bottom-color: var(--bj-ink); }
.bj-single .bj-prose strong { color: var(--bj-ink); font-weight: 600; }
.bj-single .bj-prose > h2 {
  font: 400 clamp(26px, 2.6vw, 34px)/1.2 Jost, sans-serif;
  letter-spacing: -0.02em;
  color: var(--bj-ink);
  margin-block: 52px 18px;
}
.bj-single .bj-prose > h3 {
  font: 400 clamp(21px, 2vw, 25px)/1.3 Jost, sans-serif;
  letter-spacing: -0.01em;
  color: var(--bj-ink);
  margin-block: 38px 14px;
}
.bj-single .bj-prose > h4 { font: 600 17px/1.5 Karla, sans-serif; color: var(--bj-ink); margin-block: 30px 10px; }
.bj-single .bj-prose > :first-child { margin-top: 0; }
.bj-single .bj-prose > ul,
.bj-single .bj-prose > ol { padding-left: 22px; display: flex; flex-direction: column; gap: 12px; }
.bj-single .bj-prose li { padding-left: 6px; }
.bj-single .bj-prose > .wp-block-quote {
  margin-block: 44px;
  padding: 30px 0;
  border: 0;
  border-top: 1px solid var(--bj-border);
  border-bottom: 1px solid var(--bj-border);
  font: 300 clamp(24px, 2.6vw, 32px)/1.35 Jost, sans-serif;
  letter-spacing: -0.02em;
  color: var(--bj-ink);
  text-wrap: pretty;
}
.bj-single .bj-prose > .wp-block-quote p { margin: 0; }
.bj-single .bj-prose > .wp-block-quote cite { display: block; margin-top: 14px; font: 400 14px/1.5 Karla, sans-serif; letter-spacing: 0; color: var(--bj-bronze-text); font-style: normal; }
.bj-single .bj-prose > .wp-block-image,
.bj-single .bj-prose > figure { margin-block: clamp(32px, 4vw, 52px); }
.bj-single .bj-prose .wp-block-image img { display: block; width: 100%; height: auto; }
.bj-single .bj-prose figcaption,
.bj-single .bj-prose .wp-element-caption {
  font: 400 14px/1.6 Karla, sans-serif;
  color: var(--bj-bronze-text);
  margin-top: 14px;
  text-align: left;
}
.bj-single .bj-prose > .wp-block-table { font-size: 16px; line-height: 1.6; }
.bj-single .bj-prose > .wp-block-table td,
.bj-single .bj-prose > .wp-block-table th { border: 1px solid var(--bj-border); padding: 10px 14px; }
.bj-single .bj-prose > .wp-block-details { border-top: 1px solid var(--bj-border); padding: 18px 0; margin-block: 0; }
.bj-single .bj-prose > .wp-block-details + :not(.wp-block-details) { border-top: 1px solid var(--bj-border); padding-top: 26px; }
.bj-single .bj-prose > .wp-block-details summary { font: 400 21px/1.35 Jost, sans-serif; color: var(--bj-ink); cursor: pointer; }
.bj-single .bj-prose > .wp-block-details > :not(summary) { margin-top: 12px; }
.bj-single .bj-prose > hr { border: 0; border-top: 1px solid var(--bj-border); margin-block: 44px; }

/* Before / after pair (pattern balance-fse/blog-before-after). */
.bj-single .bj-prose > .bj-compare { margin-block: clamp(36px, 4.4vw, 60px); }
.bj-main .bj-compare-row { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: clamp(16px, 2vw, 28px) !important; margin: 0 0 clamp(16px, 2vw, 28px); }
.bj-main .bj-compare-row > .wp-block-column { margin: 0 !important; min-width: 0; flex-basis: auto !important; }
.bj-main .bj-compare-row .wp-block-image { position: relative; margin: 0; }
.bj-main .bj-compare-row .wp-block-image img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.bj-main .bj-compare-row .wp-block-image figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
  margin: 0;
  padding: 12px 18px;
  background: #23211D;
  color: #FFFFFF;
  font: 600 11px/1.2 Karla, sans-serif;
  letter-spacing: .24em;
  text-transform: uppercase;
}
.bj-main .bj-compare-row .bj-compare-after figcaption { background: var(--bj-bronze-dark); }
.bj-main .bj-compare-note { font: 400 14px/1.6 Karla, sans-serif; color: var(--bj-bronze-text); margin: 0; }

/* Author box */
.bj-single .bj-author {
  max-width: 700px;
  margin: clamp(48px, 5vw, 68px) auto 0;
  padding: clamp(24px, 2.6vw, 32px);
  background: var(--bj-sand);
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
}
.bj-single .bj-author-avatar { flex: 0 0 auto; margin: 0; }
.bj-single .bj-author-avatar img { display: block; width: 88px; height: 88px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; }
.bj-single .bj-author-text { flex: 1 1 260px; min-width: 0; }
.bj-single .bj-author-name { font: 400 21px/1.3 Jost, sans-serif; color: var(--bj-ink); margin-bottom: 6px; }
.bj-single .bj-author-bio,
.bj-single .bj-author-link { display: inline; font: 400 16px/1.65 Karla, sans-serif; color: var(--bj-body); margin: 0; }
.bj-single .bj-author-bio::after { content: " "; }
.bj-single .bj-author-link a { color: var(--bj-bronze-text); border-bottom: 1px solid rgba(138, 115, 85, .45); }

/* Keep reading */
.bj-single .bj-related { padding: 0 var(--bj-gutter) clamp(56px, 7vw, 100px); }
.bj-single .bj-related:not(:has(.wp-block-post)) { display: none; }
.bj-single .bj-related-head {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: baseline;
  justify-content: space-between;
  padding-top: clamp(36px, 4vw, 52px);
  border-top: 1px solid var(--bj-border);
  margin-bottom: clamp(28px, 3.4vw, 40px);
}

@media (max-width: 600px) {
  .bj-main ul.bj-topics > li > a { padding: 12px 14px; }
  .bj-single .bj-byline-date::before,
  .bj-single .bj-byline-read::before { margin-right: 10px; }
}
