/* BKP v54.4.70 — Global Content Presentation: Canonical TOC & Contrast Correction
   Current and future studies/articles inherit this governed presentation.
   Content owns semantics; BKP owns visual presentation. */
:root{
  --wog-reading-width:1080px;
  --wog-prose-width:820px;
  --wog-reading-line:1.72;
  --wog-paragraph-gap:1.25rem;
  --wog-content-section-gap:clamp(2.6rem,5vw,4.8rem);
  --wog-content-h1:clamp(2.35rem,5.6vw,4.7rem);
  --wog-content-h2:clamp(1.9rem,4vw,3.2rem);
  --wog-content-h3:clamp(1.4rem,2.7vw,2.15rem);
  --wog-content-navy:var(--wog-primary,#0d3252);
  --wog-content-gold:var(--wog-accent,#e8ad00);
  --wog-content-surface:var(--wog-surface,#fffdf7);
  --wog-content-border:rgba(13,50,82,.14);
  --wog-content-muted:#60738a;
}
.wog-global-presentation-enabled :where(.wog-global-content,body.wog-platinum-study .wog-platinum-manuscript,body.single-post .entry-content){font-family:var(--wog-body-font,inherit)}
.wog-global-content,
body.wog-platinum-study .wog-platinum-manuscript,
body.single-post .entry-content{color:var(--wog-text,#243f5d);line-height:var(--wog-reading-line);overflow-wrap:anywhere}

/* Shared semantic typography. */
.wog-global-content :where(h1,h2,h3,h4),
body.single-post :where(.entry-header,.inside-article) :where(h1,h2,h3,h4),
body.single-post .entry-content :where(h1,h2,h3,h4),
body.wog-platinum-study .wog-platinum-manuscript :where(h1,h2,h3,h4){color:var(--wog-content-navy);font-family:var(--wog-heading-font,inherit);text-wrap:balance}
body.single-post .entry-title{font-size:var(--wog-content-h1);line-height:1.06;letter-spacing:-.025em;margin-bottom:.45em}
body.single-post .entry-content h2{font-size:var(--wog-content-h2);line-height:1.15;margin-top:var(--wog-content-section-gap)}
body.single-post .entry-content h3{font-size:var(--wog-content-h3);line-height:1.2;margin-top:calc(var(--wog-content-section-gap)*.72)}
body.single-post .entry-content :where(p,ul,ol){margin-block:0 var(--wog-paragraph-gap)}

/* Article reading surface – GeneratePress and core WordPress compatible. */
body.single-post.wog-global-article-presentation :where(.site-content,.content-area,.inside-article){min-width:0}
body.single-post.wog-global-article-presentation .inside-article{width:min(100%,var(--wog-reading-width));margin-inline:auto}
body.single-post.wog-global-article-presentation .entry-header,
body.single-post.wog-global-article-presentation .entry-content,
body.single-post.wog-global-article-presentation .entry-footer{width:100%;max-width:var(--wog-reading-width);margin-inline:auto}
body.single-post.wog-global-article-presentation .entry-content :where(p,ul,ol,blockquote,.wp-block-quote,.wp-block-pullquote){max-width:var(--wog-prose-width)}
body.single-post.wog-article-header-centered .entry-header{text-align:center}
body.single-post.wog-article-header-centered .entry-meta{justify-content:center}
body.single-post.wog-article-header-compact .entry-title{font-size:clamp(2rem,4.5vw,3.8rem)}
body.single-post.wog-global-article-presentation .entry-meta{color:var(--wog-content-muted);font-size:.95rem}
body.single-post.wog-article-meta-hidden :where(.entry-meta,.posted-on,.byline){display:none!important}
body.single-post.wog-global-article-presentation :where(.post-image,.featured-image,.wp-post-image){max-width:100%;height:auto;border-radius:var(--wog-radius-md,18px)}
body.single-post.wog-featured-contained :where(.post-image,.featured-image){width:min(100%,var(--wog-reading-width));margin-inline:auto}
body.single-post.wog-featured-wide :where(.post-image,.featured-image){width:min(100%,calc(var(--wog-reading-width) + 180px));max-width:none;margin-inline:50%;transform:translateX(-50%)}
body.single-post.wog-featured-hidden :where(.post-image,.featured-image){display:none!important}
body.single-post .entry-content :where(.wp-block-image,img,video,iframe,svg){max-width:100%;height:auto}
body.single-post .entry-content :where(.wp-block-button__link,button,input[type=submit]){min-height:44px}

/* Scripture / quotation inheritance. */
body.single-post .entry-content :where(blockquote,.wp-block-quote),
.wog-global-content :where(blockquote,.wp-block-quote){margin:clamp(1.5rem,3vw,2.5rem) 0;padding:clamp(1.35rem,2.8vw,2.2rem);border:1px solid var(--wog-content-border);border-left:4px solid var(--wog-content-gold);border-radius:0 var(--wog-radius-md,12px) var(--wog-radius-md,12px) 0;background:var(--wog-content-surface)}
body.single-post .entry-content :where(blockquote,.wp-block-quote) p:last-child{margin-bottom:0}
body.wog-scripture-clean :where(.wog-master-scripture-block,body.single-post .entry-content blockquote,body.single-post .entry-content .wp-block-quote){background:#fff}
body.wog-scripture-navy :where(.wog-master-scripture-block,body.single-post .entry-content blockquote,body.single-post .entry-content .wp-block-quote){background:var(--wog-content-navy);color:#fff;border-color:var(--wog-content-navy);border-left-color:var(--wog-content-gold)}
body.wog-scripture-navy :where(.wog-master-scripture-block,body.single-post .entry-content blockquote,body.single-post .entry-content .wp-block-quote) :where(p,cite){color:#fff}

/* Study semantic inheritance; these classes are assigned by the global study parser. */
body.wog-platinum-study.wog-global-study-presentation .wog-platinum-manuscript{width:min(100%,var(--wog-reading-width));margin-inline:auto}
body.wog-platinum-study.wog-global-study-presentation .bpk-platinum-study-body > :where(.wog-master-prose,ul,ol){max-width:var(--wog-prose-width)}
body.wog-platinum-study.wog-global-study-presentation .bpk-platinum-study-body > .wog-master-prose{line-height:var(--wog-reading-line);margin-bottom:var(--wog-paragraph-gap)}
body.wog-platinum-study.wog-global-study-presentation .wog-master-chapter-title{font-size:var(--wog-content-h1);line-height:1.06}
body.wog-platinum-study.wog-global-study-presentation h3.bpk-section-heading:not(.wog-master-transition-heading):not(.wog-master-key-truth-heading){font-size:var(--wog-content-h2)}
body.wog-platinum-study.wog-global-study-presentation .wog-master-scripture-block{border-left-color:var(--wog-content-gold)}
body.wog-keytruth-outline .wog-master-key-truth-heading,
body.wog-keytruth-outline .wog-master-key-truth-content{background:#fff;border-color:rgba(232,173,0,.45)}
body.wog-keytruth-navy .wog-master-key-truth-heading,
body.wog-keytruth-navy .wog-master-key-truth-content{background:var(--wog-content-navy);color:#fff;border-color:var(--wog-content-navy)}
body.wog-keytruth-navy .wog-master-key-truth-heading,
body.wog-keytruth-navy .wog-master-key-truth-content :where(p,strong,em){color:#fff}
body.wog-chapter-nav-compact :where(.wog-platinum-chapter-nav,.wog-platinum-study-outline){padding-block:clamp(.85rem,2vw,1.2rem)}
body.wog-chapter-nav-comfortable :where(.wog-platinum-chapter-nav,.wog-platinum-study-outline){padding-block:clamp(1.15rem,2.6vw,1.7rem)}

/* Global chapter rule: internal boundaries flow directly into the next canonical chapter. */
body.wog-platinum-study .wog-platinum-chapter-end-nav--handoff{display:none!important}

/* Accessibility and responsive inheritance. */
.wog-global-presentation-enabled :where(a,button,input,select,textarea):focus-visible{outline:3px solid color-mix(in srgb,var(--wog-content-gold) 75%,#fff);outline-offset:3px}
@media(max-width:782px){
  :root{--wog-prose-width:100%}
  body.single-post.wog-global-article-presentation .inside-article,
  body.single-post.wog-global-article-presentation .entry-header,
  body.single-post.wog-global-article-presentation .entry-content,
  body.single-post.wog-global-article-presentation .entry-footer,
  body.wog-platinum-study.wog-global-study-presentation .wog-platinum-manuscript{width:100%;max-width:100%}
  body.single-post.wog-global-article-presentation .entry-content{padding-inline:clamp(1rem,4vw,1.35rem)}
  body.single-post .entry-content :where(h1,h2,h3,h4,p,ul,ol,blockquote),
  body.wog-platinum-study.wog-global-study-presentation .bpk-platinum-study-body > :where(.wog-master-prose,ul,ol){max-width:100%}
  body.single-post.wog-featured-wide :where(.post-image,.featured-image){width:100%;margin-inline:0;transform:none}
}
@media(max-width:480px){
  body.single-post .entry-title{font-size:clamp(2rem,11vw,3.25rem)}
  body.single-post .entry-content :where(blockquote,.wp-block-quote){padding:1.15rem}
}
@media(prefers-reduced-motion:reduce){
  .wog-global-presentation-enabled *,
  .wog-global-presentation-enabled *::before,
  .wog-global-presentation-enabled *::after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}
}

/* v54.4.68 — Context-aware contrast.
   Global navy typography must never override text that lives on navy study surfaces. */
body.wog-platinum-study.wog-global-study-presentation .wog-platinum-hero :where(h1,h2,h3,h4),
body.wog-platinum-study.wog-global-study-presentation .wog-platinum-glance :where(h1,h2,h3,h4){
  color:#fff!important;
}
body.wog-platinum-study.wog-global-study-presentation .wog-platinum-hero__eyebrow,
body.wog-platinum-study.wog-global-study-presentation .wog-platinum-glance__eyebrow,
body.wog-platinum-study.wog-global-study-presentation .wog-platinum-glance__card h3{
  color:var(--wog-content-gold)!important;
}
body.wog-platinum-study.wog-global-study-presentation .wog-platinum-hero__subtitle,
body.wog-platinum-study.wog-global-study-presentation .wog-platinum-hero__passage,
body.wog-platinum-study.wog-global-study-presentation .wog-platinum-glance__card p{
  color:#f7f9fc!important;
}
body.wog-platinum-study.wog-global-study-presentation .wog-platinum-glance__card{
  color:#f7f9fc;
}

/* Study TOC is a first-class orientation section directly after Study at a Glance. */
body.wog-platinum-study .wog-platinum-study-nav-slot{
  box-sizing:border-box;
  width:min(100%,var(--wog-reading-width));
  margin:0 auto clamp(2rem,4vw,3.75rem);
  padding:0 clamp(0px,1vw,8px);
}
body.wog-platinum-study .wog-platinum-study-nav-slot:empty{display:none}
body.wog-platinum-study .wog-platinum-study-nav-slot > .wog-platinum-study-nav{
  margin-top:0!important;
}
body.wog-platinum-study .wog-platinum-study-nav__eyebrow{
  color:#9a7100!important;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
}

/* Article title scale: premium but readable even when a sidebar is present. */
body.single-post.wog-global-article-presentation .entry-title{
  font-size:clamp(2.35rem,4.25vw,4rem)!important;
  line-height:1.04!important;
  letter-spacing:-.028em!important;
  max-width:18ch;
}

/* Global article TOC. */
body.single-post.wog-global-article-presentation .wog-article-toc{
  box-sizing:border-box;
  max-width:var(--wog-prose-width);
  margin:clamp(1.5rem,3vw,2.5rem) 0 clamp(2.25rem,4vw,3.5rem);
  padding:clamp(1.25rem,2.8vw,1.9rem);
  border:1px solid var(--wog-content-border);
  border-left:4px solid var(--wog-content-gold);
  border-radius:var(--wog-radius-md,14px);
  background:#f8fafc;
}
body.single-post .wog-article-toc__eyebrow{
  margin:0 0 .35rem!important;
  color:#8a6500;
  font-size:.82rem;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
}
body.single-post .wog-article-toc__title{
  margin:0 0 1rem!important;
  color:var(--wog-content-navy)!important;
  font-size:clamp(1.45rem,2.4vw,2rem)!important;
  line-height:1.15;
}
body.single-post .wog-article-toc__list{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:.55rem 1.6rem;
  margin:0!important;
  padding-left:1.25rem;
}
body.single-post .wog-article-toc__list li{margin:0!important;min-width:0}
body.single-post .wog-article-toc__list li.is-subsection{margin-left:.75rem!important;font-size:.94em}
body.single-post .wog-article-toc__list a{color:var(--wog-content-navy);font-weight:650;text-decoration-thickness:1px;text-underline-offset:3px}
body.single-post .wog-article-toc__list a:hover{color:#8a6500}
body.single-post .wog-article-toc-target{scroll-margin-top:6rem}

@media(max-width:782px){
  body.wog-platinum-study .wog-platinum-study-nav-slot{width:100%;padding-inline:0;margin-bottom:2rem}
  body.single-post.wog-global-article-presentation .entry-title{font-size:clamp(2.1rem,9vw,3.35rem)!important;max-width:none}
  body.single-post .wog-article-toc__list{grid-template-columns:1fr}
}
@media(max-width:480px){
  body.single-post.wog-global-article-presentation .entry-title{font-size:clamp(2rem,10vw,3rem)!important}
}



/* v54.4.70 — Critical dark-surface contrast contract.
   These selectors intentionally do not depend on the optional global-study body
   class. If a page is a Platinum Study, navy surfaces must always be readable. */
body.wog-platinum-study .wog-platinum-hero,
body.wog-platinum-study .wog-platinum-glance{
  --wog-dark-surface-heading:#ffffff;
  --wog-dark-surface-copy:#f7f9fc;
  --wog-dark-surface-accent:#f1bd27;
}
body.wog-platinum-study .wog-platinum-hero h1,
body.wog-platinum-study .wog-platinum-hero .wog-platinum-hero__inner > h1,
body.wog-platinum-study .wog-platinum-glance h2,
body.wog-platinum-study .wog-platinum-glance .wog-platinum-glance__inner > h2{
  color:var(--wog-dark-surface-heading)!important;
  -webkit-text-fill-color:var(--wog-dark-surface-heading)!important;
  opacity:1!important;
}
body.wog-platinum-study .wog-platinum-hero__eyebrow,
body.wog-platinum-study .wog-platinum-glance__eyebrow,
body.wog-platinum-study .wog-platinum-glance__card h3{
  color:var(--wog-dark-surface-accent)!important;
  -webkit-text-fill-color:var(--wog-dark-surface-accent)!important;
  opacity:1!important;
}
body.wog-platinum-study .wog-platinum-hero__subtitle,
body.wog-platinum-study .wog-platinum-hero__passage,
body.wog-platinum-study .wog-platinum-glance__card p{
  color:var(--wog-dark-surface-copy)!important;
  -webkit-text-fill-color:var(--wog-dark-surface-copy)!important;
  opacity:1!important;
}

/* Canonical study TOC: Parts + Chapters only. */
body.wog-platinum-study .wog-platinum-study-nav{
  counter-reset:none!important;
}
body.wog-platinum-study .wog-platinum-study-nav__items{
  list-style:none!important;
  padding-left:0!important;
}
body.wog-platinum-study .wog-platinum-study-nav__items > li{
  list-style:none!important;
}
body.wog-platinum-study .wog-platinum-study-nav__items > li::marker{
  content:'';
}


/* v54.4.70 — legacy imported TOCs are never public reader navigation. */
body.wog-platinum-study [data-wog-legacy-toc-removed="1"]{display:none!important}
