:root{--navy:#071329;--blue:#17375f;--gold:#c58e3b;--bronze:#795126;--parch:#f5e7c7;--warm:#fcfaf5;--stone:#eef2f7;--ink:#25221d;--border:rgba(197,142,59,.38)}
html{scroll-behavior:smooth}body.tbd-design-active{background:var(--warm);color:var(--ink)}body.tbd-design-active>.wp-site-blocks>header,body.tbd-design-active>.wp-site-blocks>footer:not(.tbd-global-footer),body.tbd-design-active header.wp-block-template-part,body.tbd-design-active footer.wp-block-template-part:not(.tbd-global-footer){display:none!important}.tbd-shell,.tbd-shell *{box-sizing:border-box}.tbd-shell{width:100%;max-width:none!important;margin:0!important;background:var(--warm);color:var(--ink)}.tbd-wide{width:min(1400px,calc(100% - 56px));margin:0 auto;position:relative;z-index:3}.tbd-narrow{width:min(880px,calc(100% - 48px));margin:0 auto}.tbd-kicker{margin:0 0 12px;color:var(--gold);font-size:.78rem;font-weight:750;letter-spacing:.16em;text-transform:uppercase}.tbd-kicker.light{color:var(--parch)}
.tbd-global-header{position:relative;z-index:999;background:rgba(7,19,41,.97);color:#fff;border-bottom:1px solid rgba(245,231,199,.15)}.tbd-header-inner{width:min(1440px,calc(100% - 40px));min-height:76px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:24px}.tbd-brand{display:flex;align-items:center;gap:11px;color:#fff;text-decoration:none;font-size:1.08rem;font-weight:760;letter-spacing:.01em}.tbd-brand-mark{display:grid;place-items:center;width:30px;height:30px;border:1px solid var(--gold);border-radius:50%;color:var(--gold)}.tbd-main-nav{display:flex;align-items:center;gap:26px}.tbd-main-nav a{color:rgba(255,255,255,.9);text-decoration:none;font-weight:620;font-size:.94rem}.tbd-main-nav a:hover{color:var(--parch)}.tbd-search-nav{padding:8px 13px;border:1px solid rgba(245,231,199,.3);border-radius:999px}.tbd-menu-toggle{display:none;min-width:44px;min-height:44px;background:none;border:0;padding:8px}.tbd-menu-toggle>span:not(.screen-reader-text){display:block;width:24px;height:2px;margin:5px;background:#fff}
.tbd-launch-announcement{position:relative;z-index:20;margin:0;padding:0;background:#c58e3b;color:#071329;border:0}.tbd-launch-announcement-inner{width:min(1440px,calc(100% - 40px));min-height:58px;margin:0 auto;display:flex;align-items:center;justify-content:center;gap:24px;padding:10px 0}.tbd-launch-announcement p{margin:0;font:600 .94rem/1.45 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;text-align:center}.tbd-launch-announcement p strong{font-weight:800}.tbd-launch-announcement a{flex:0 0 auto;padding:8px 14px;border:1px solid rgba(7,19,41,.45);border-radius:999px;color:#071329!important;font:800 .83rem/1.2 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;text-decoration:none!important;white-space:nowrap}.tbd-launch-announcement a:hover,.tbd-launch-announcement a:focus-visible{background:#071329;color:#fff!important}.tbd-launch-announcement a:focus-visible{outline:3px solid #fff;outline-offset:2px}
.tbd-global-footer{position:relative;z-index:3;padding:70px 28px 22px;background:var(--navy);color:#fff}.tbd-footer-inner{width:min(1400px,100%);margin:auto;display:grid;grid-template-columns:1.15fr .8fr 1.05fr;gap:60px}.tbd-footer-brand h2,.tbd-footer-signup h3{color:#fff;margin-top:0}.tbd-footer-brand p,.tbd-footer-signup p{color:rgba(255,255,255,.7)}.tbd-footer-nav{display:grid;gap:10px}.tbd-footer-nav a{color:rgba(255,255,255,.84);text-decoration:none}.tbd-footer-bottom{width:min(1400px,100%);margin:50px auto 0;padding-top:18px;border-top:1px solid rgba(255,255,255,.14);display:flex;justify-content:space-between;color:rgba(255,255,255,.58);font-size:.86rem}.tbd-footer-bottom a{color:inherit}.tbd-footer-signup .tbd-email-note{font-size:.78rem;margin-top:10px}.tbd-subscribe-block{margin-top:18px}.tbd-footer-signup .wp-block-jetpack-subscriptions__form-elements,.tbd-footer-signup form{display:flex;gap:8px;align-items:stretch}.tbd-footer-signup input[type=email]{min-width:0;flex:1;padding:12px 14px;border:1px solid rgba(255,255,255,.34);border-radius:7px;background:#fff;color:var(--navy)}.tbd-footer-signup button,.tbd-footer-signup input[type=submit]{padding:12px 17px;border:0;border-radius:7px;background:var(--gold);color:var(--navy);font-weight:800;cursor:pointer}.tbd-subscribe-fallback{display:inline-flex;padding:11px 16px;border:1px solid var(--gold);border-radius:7px;color:#fff;text-decoration:none;font-weight:700}
.tbd-footer-legal{display:flex;flex-wrap:wrap;gap:10px 18px;justify-content:flex-end}
.tbd-footer-legal a{text-decoration:none}
.tbd-footer-legal a:hover,.tbd-footer-legal a:focus{text-decoration:underline;text-underline-offset:3px}
.tbd-hero{position:relative;min-height:770px;overflow:hidden;display:flex;align-items:center;background:radial-gradient(circle at 55% 72%,rgba(255,174,73,.88),transparent 16%),radial-gradient(circle at 65% 57%,rgba(197,76,103,.38),transparent 32%),linear-gradient(180deg,#050d20 0%,#10294b 45%,#623c50 73%,#d98942 100%)}.tbd-hero-content{padding:105px 0 155px}.tbd-hero h1{max-width:990px;margin:.3rem 0 1.3rem;color:#fff;font-size:clamp(3.4rem,7.1vw,7.8rem);line-height:.91;letter-spacing:-.048em}.tbd-hero-copy{max-width:800px;color:rgba(255,255,255,.91);font-size:clamp(1.1rem,2vw,1.4rem);line-height:1.65}.tbd-actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:33px}.tbd-btn{display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:0 22px;border:1px solid var(--gold);border-radius:5px;font-weight:720;text-decoration:none;transition:.18s}.tbd-btn:hover{transform:translateY(-1px)}.tbd-btn.gold{background:var(--gold);color:#fff}.tbd-btn.gold:hover{background:var(--bronze);border-color:var(--bronze)}.tbd-btn.glass{background:rgba(7,19,41,.5);color:#fff;backdrop-filter:blur(5px)}.tbd-btn.glass:hover{background:#fff;color:var(--navy)}
.tbd-compass-rose{position:absolute;right:4.5%;top:13%;width:min(29vw,350px);height:auto;opacity:.72;filter:drop-shadow(0 0 22px rgba(197,142,59,.2))}.cr-ring{fill:none;stroke:rgba(245,231,199,.5);stroke-width:2}.cr-inner{stroke-width:1}.cr-ticks path{fill:none;stroke:rgba(245,231,199,.58);stroke-width:2}.cr-rose path{fill:rgba(197,142,59,.6);stroke:rgba(245,231,199,.7);stroke-width:1}.cr-rose .cr-secondary{fill:rgba(245,231,199,.2)}.cr-center{fill:var(--gold);stroke:var(--parch);stroke-width:2}.cr-pin{fill:var(--navy)}.tbd-compass-rose text{fill:rgba(245,231,199,.74);font:bold 13px serif}
.tbd-desert-scene{position:absolute;inset:0;overflow:hidden}.tbd-sun{position:absolute;left:56%;bottom:15%;width:150px;height:150px;border-radius:50%;background:radial-gradient(circle,#ffd98c 0,#f6a752 42%,rgba(242,132,62,.15) 72%,transparent 73%);filter:blur(.2px)}.tbd-dune{position:absolute;bottom:-4%;height:29%;background:#101a2d;opacity:.95;border-radius:50% 50% 0 0}.d1{left:-8%;width:72%;transform:rotate(2deg)}.d2{right:-12%;width:72%;height:24%;background:#091225;transform:rotate(-2deg)}.tbd-pyramid{position:absolute;bottom:15%;width:0;height:0;border-left:90px solid transparent;border-right:90px solid transparent;border-bottom:145px solid rgba(9,18,37,.88)}.py1{right:17%}.py2{right:7%;transform:scale(.63);transform-origin:bottom}.tbd-temple{position:absolute;left:7%;bottom:13%;width:190px;height:80px;background:rgba(8,17,34,.86);clip-path:polygon(0 100%,0 45%,8% 45%,8% 16%,16% 16%,16% 45%,28% 45%,28% 0,39% 0,39% 45%,53% 45%,53% 25%,64% 25%,64% 45%,76% 45%,76% 9%,87% 9%,87% 45%,100% 45%,100% 100%)}.tbd-obelisk{position:absolute;left:27%;bottom:14%;width:18px;height:130px;background:rgba(8,17,34,.82);clip-path:polygon(50% 0,100% 13%,88% 100%,12% 100%,0 13%)}
.tbd-light{padding:92px 0;background:var(--warm)}.tbd-dark{position:relative;overflow:hidden;padding:88px 0;color:#fff;background:radial-gradient(circle at 78% 18%,rgba(197,142,59,.18),transparent 36%),linear-gradient(135deg,var(--navy),var(--blue))}.tbd-dark h2{color:#fff}.tbd-intro{text-align:center}.tbd-intro h2,.tbd-center h2,.tbd-purpose h2,.tbd-email h2{margin:.2rem 0 1rem;color:var(--navy);font-size:clamp(2.2rem,4vw,4.2rem);line-height:1.06}.tbd-intro>p:last-child{max-width:810px;margin:0 auto;font-size:1.18rem;line-height:1.75}.tbd-center{text-align:center}.tbd-two-col{display:grid;grid-template-columns:1.05fr .95fr;gap:72px;align-items:center}.tbd-read-home{padding:72px 0}.tbd-read-home p{max-width:770px;line-height:1.7}
.tbd-testament-paths{padding:86px 0;background:linear-gradient(180deg,#e9eef5,#f8f6f1)}.tbd-path-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.tbd-path{position:relative;overflow:hidden;min-height:330px;padding:42px;border-radius:14px;color:#fff;text-decoration:none;display:flex;flex-direction:column;justify-content:flex-end;box-shadow:0 16px 35px rgba(7,19,41,.12);transition:.18s}.tbd-path:before{content:"";position:absolute;inset:0;z-index:0}.tbd-path>*{position:relative;z-index:2}.tbd-path:hover{transform:translateY(-3px);color:#fff}.tbd-path-ot{background:linear-gradient(145deg,#926238,#d89b55)}.tbd-path-ot:before{background:linear-gradient(transparent,rgba(35,21,15,.55)),repeating-linear-gradient(115deg,transparent 0 42px,rgba(255,255,255,.045) 43px 44px)}.tbd-path-nt{background:linear-gradient(145deg,#1b4269,#84607d)}.tbd-path-nt:before{background:linear-gradient(transparent,rgba(9,25,44,.58)),radial-gradient(circle at 78% 24%,rgba(255,210,130,.28),transparent 25%)}.tbd-path h3{margin:8px 0 10px;color:#fff;font-size:2.6rem}.tbd-path p{line-height:1.65}.tbd-path span,.tbd-path b{color:var(--parch)}
.tbd-research-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:44px}.tbd-research-grid article{padding:30px 24px;border-top:3px solid var(--gold);background:#fff;box-shadow:0 12px 30px rgba(8,21,45,.06)}.tbd-research-grid span{color:var(--gold);font-size:.78rem;font-weight:700}.tbd-research-grid h3{color:var(--navy);font-size:1.25rem}.tbd-research-grid p{font-size:.96rem;line-height:1.65}.tbd-purpose{padding:96px 0;background:linear-gradient(180deg,#eef2f7,#fff)}.tbd-purpose p{font-size:1.09rem;line-height:1.82}.tbd-text-link{color:var(--bronze);font-weight:700;text-decoration:none}.tbd-email{padding:82px 0;background:#fff}.tbd-email-placeholder{padding:24px;border:1px dashed var(--border);border-radius:8px;background:var(--warm)}
.tbd-banner{position:relative;overflow:hidden;padding:112px 0 98px;text-align:center;color:#fff;background:radial-gradient(circle at 72% 15%,rgba(197,142,59,.24),transparent 34%),linear-gradient(135deg,var(--navy),var(--blue))}.tbd-banner.tall{padding:145px 0}.tbd-banner h1{margin:.3rem 0 1rem;color:#fff;font-size:clamp(2.8rem,6vw,5.7rem);line-height:1}.tbd-banner p:last-child{margin:0;color:rgba(255,255,255,.86);font-size:1.15rem}.tbd-landing-art{position:absolute;inset:0;opacity:.62;pointer-events:none}.tbd-landing-art .la-sun{position:absolute;right:12%;top:18%;width:125px;height:125px;border-radius:50%;background:radial-gradient(circle,#ffd78c,#d98d49 55%,transparent 57%)}.tbd-ot-art .la-pyramid{position:absolute;right:25%;bottom:0;border-left:125px solid transparent;border-right:125px solid transparent;border-bottom:195px solid rgba(3,11,24,.72)}.tbd-ot-art .la-wall{position:absolute;left:5%;bottom:0;width:360px;height:125px;background:rgba(3,11,24,.7);clip-path:polygon(0 100%,0 42%,8% 42%,8% 16%,17% 16%,17% 42%,31% 42%,31% 4%,42% 4%,42% 42%,55% 42%,55% 20%,67% 20%,67% 42%,79% 42%,79% 8%,91% 8%,91% 42%,100% 42%,100% 100%)}.tbd-ot-art .la-scroll{position:absolute;left:46%;top:15%;width:200px;height:250px;border:1px solid rgba(245,231,199,.17);transform:rotate(-8deg);background:repeating-linear-gradient(180deg,transparent 0 15px,rgba(245,231,199,.08) 16px 17px)}.tbd-nt-art .la-road{position:absolute;left:42%;bottom:-10%;width:160px;height:80%;background:linear-gradient(90deg,transparent,rgba(241,202,144,.28),transparent);clip-path:polygon(45% 0,55% 0,100% 100%,0 100%)}.tbd-nt-art .la-arch{position:absolute;right:13%;bottom:0;width:270px;height:190px;border:34px solid rgba(4,13,28,.72);border-bottom:0;border-radius:150px 150px 0 0}.tbd-nt-art .la-ship{position:absolute;left:7%;bottom:10%;width:220px;height:80px;background:rgba(4,13,28,.67);clip-path:polygon(0 30%,84% 30%,100% 0,87% 70%,15% 100%)}
.tbd-directory{width:min(1300px,calc(100% - 56px));margin:0 auto;padding:80px 0 100px}.tbd-division{position:relative;margin-bottom:74px;padding:35px 32px 38px;border-radius:14px;background:#fff;box-shadow:0 13px 34px rgba(7,19,41,.06);overflow:hidden}.tbd-division:before{content:"";position:absolute;inset:0 auto 0 0;width:6px;background:var(--gold)}.tbd-division.prophets:before{background:#496b8d}.tbd-division.writings:before{background:#765b83}.tbd-division-label{display:flex;align-items:baseline;gap:14px;margin-bottom:24px}.tbd-division-label span{color:var(--gold);font-weight:800}.tbd-division h2{margin:0;color:var(--navy);font-size:2.35rem}.tbd-book-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:13px}.tbd-book-card{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:64px;padding:12px 14px;border:1px solid var(--border);border-radius:7px;background:var(--warm);color:var(--navy);font-weight:650;text-align:center;text-decoration:none}.tbd-book-card:hover{background:var(--parch)}.tbd-book-card.missing{opacity:.45}.tbd-coming-card{min-height:82px}.tbd-coming-card small{margin-top:4px;color:var(--bronze);font-size:.67rem;letter-spacing:.08em;text-transform:uppercase}.tbd-note{text-align:center;font-size:.88rem;opacity:.7}.tbd-nt-intro{max-width:860px;margin:0 auto 42px}.tbd-nt-intro p{font-size:1.1rem;line-height:1.7}
.tbd-large{font-size:1.2rem;line-height:1.8}.tbd-about h2{margin-top:46px;color:var(--navy);font-size:2rem}.tbd-about h2:first-child{margin-top:0}.tbd-about p{line-height:1.82;font-size:1.05rem}.tbd-search-form{display:grid;grid-template-columns:1fr auto;gap:10px}.tbd-search-form input{min-height:58px;padding:0 18px;border:1px solid var(--border);border-radius:6px;font-size:1.05rem}.tbd-search-form button{padding:0 24px;border:0;border-radius:6px;background:var(--navy);color:#fff;font-weight:700}.tbd-suggestions{margin-top:34px}.tbd-suggestions a{display:inline-block;margin:0 8px 8px 0;padding:8px 12px;border:1px solid var(--border);border-radius:999px;color:var(--navy);text-decoration:none}
body.tbd-design-active.single{background:linear-gradient(180deg,#eaf0f7 0,#fcfaf5 420px)}body.tbd-design-active.single main{background:transparent}body.tbd-design-active.single .wp-block-post-content,body.tbd-design-active.single .entry-content{max-width:980px;margin-inline:auto;padding:40px clamp(20px,4vw,64px) 70px;background:rgba(255,255,255,.9);box-shadow:0 12px 38px rgba(7,19,41,.07)}.tbd-chapter-atmosphere{position:relative;overflow:hidden;margin:0 calc(50% - 50vw);padding:68px max(28px,calc((100vw - 1120px)/2));background:radial-gradient(circle at 78% 22%,rgba(197,142,59,.24),transparent 30%),linear-gradient(135deg,var(--navy),var(--blue));color:#fff}.tbd-chapter-atmosphere h1{margin:0;color:#fff;font-size:clamp(2.5rem,6vw,5rem)}.tbd-chapter-atmosphere p{margin:.5rem 0 0;color:var(--parch);letter-spacing:.12em;text-transform:uppercase;font-size:.78rem}.tbd-resource-jumps{display:flex;gap:10px;overflow-x:auto;padding:16px 0 22px;margin:28px 0 6px;scrollbar-width:thin}.tbd-resource-jumps a{flex:0 0 auto;padding:9px 13px;border:1px solid var(--border);border-radius:999px;background:#fff;color:var(--navy);font-size:.9rem;font-weight:700;text-decoration:none}.tbd-resource-jumps a:hover{background:var(--parch)}.tbd-resource-enhanced{scroll-margin-top:100px}.tbd-resource-zone{margin-inline:calc(50% - 50vw);padding:55px max(28px,calc((100vw - 1120px)/2)) 75px;background:linear-gradient(180deg,#fcfaf5,#edf2f7)}
.tbd-starfield{position:absolute;inset:0;pointer-events:none;overflow:hidden}.tbd-star{position:absolute;width:3px;height:3px;border-radius:50%;background:rgba(255,244,205,.95);box-shadow:0 0 10px rgba(255,244,205,.7);animation:twinkle 5s ease-in-out infinite alternate}.s1{top:17%;left:12%}.s2{top:29%;right:17%;animation-delay:1s}.s3{top:58%;left:31%;animation-delay:2s}.s4{top:42%;right:39%;animation-delay:.5s}.s5{top:12%;left:66%;animation-delay:1.5s}@keyframes twinkle{from{opacity:.2;transform:scale(.8)}to{opacity:1;transform:scale(1.25)}}.tbd-shooting-star{position:absolute;width:120px;height:1px;background:linear-gradient(90deg,transparent,rgba(255,244,205,.9));transform:rotate(-23deg);opacity:0}.sh1{top:18%;left:-20%;animation:shoot 17s linear infinite}.sh2{top:33%;left:-24%;animation:shoot 24s linear infinite 9s}@keyframes shoot{0%,73%{opacity:0;transform:translateX(0) rotate(-23deg)}75%{opacity:.9}83%{opacity:0;transform:translateX(140vw) rotate(-23deg)}100%{opacity:0}}
@media(max-width:980px){.tbd-research-grid{grid-template-columns:repeat(2,1fr)}.tbd-two-col{grid-template-columns:1fr;gap:28px}.tbd-compass-rose{right:-60px;opacity:.42}.tbd-footer-inner{grid-template-columns:1fr 1fr}.tbd-footer-signup{grid-column:1/-1}.tbd-main-nav{gap:15px}.tbd-main-nav a{font-size:.86rem}}
@media(max-width:760px){.tbd-header-inner{min-height:66px}.tbd-menu-toggle{display:block}.tbd-main-nav{display:none;position:absolute;left:0;right:0;top:66px;padding:18px 20px 24px;background:var(--navy);flex-direction:column;align-items:stretch;gap:0;box-shadow:0 18px 30px rgba(0,0,0,.2)}.tbd-global-header.is-open .tbd-main-nav{display:flex}.tbd-main-nav a{padding:13px 4px;border-bottom:1px solid rgba(255,255,255,.1);font-size:1rem}.tbd-search-nav{border:0;border-radius:0}.tbd-hero{min-height:690px}.tbd-hero-content{padding:80px 0 135px}.tbd-hero h1{font-size:clamp(3rem,14vw,5.4rem)}.tbd-compass-rose{width:260px;right:-110px;top:9%;opacity:.28}.tbd-temple{left:-30px;transform:scale(.75);transform-origin:bottom}.tbd-obelisk{left:24%;height:100px}.tbd-pyramid{border-left-width:60px;border-right-width:60px;border-bottom-width:105px}.py1{right:15%}.py2{right:1%}.tbd-sun{left:60%;width:110px;height:110px}.tbd-light,.tbd-dark{padding:66px 0}.tbd-path-grid,.tbd-research-grid{grid-template-columns:1fr}.tbd-path{min-height:235px;padding:28px}.tbd-wide,.tbd-narrow,.tbd-directory{width:min(100% - 28px,1400px)}.tbd-book-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.tbd-book-card{min-height:54px;padding:10px 8px;font-size:.94rem}.tbd-division{padding:28px 16px}.tbd-search-form{grid-template-columns:1fr}.tbd-search-form button{min-height:52px}.tbd-footer-inner{grid-template-columns:1fr;gap:30px}.tbd-footer-signup{grid-column:auto}.tbd-footer-bottom{flex-direction:column;gap:9px}.tbd-footer-legal{justify-content:flex-start;gap:8px 14px}.tbd-actions{display:grid}.tbd-btn{width:100%;min-height:54px}.tbd-resource-jumps{margin-inline:-6px}.tbd-chapter-atmosphere{padding-top:50px;padding-bottom:50px}}
@media(max-width:760px){.tbd-launch-announcement-inner{width:min(100% - 28px,1440px);min-height:0;flex-direction:column;gap:8px;padding:12px 0 13px}.tbd-launch-announcement p{font-size:.86rem;line-height:1.42}.tbd-launch-announcement a{min-height:40px;display:inline-flex;align-items:center;padding:8px 16px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.tbd-star,.tbd-shooting-star{animation:none!important}.tbd-btn,.tbd-path{transition:none}}


/* Version 2.3 image-backed visual system */
.tbd-desert-scene,.tbd-compass-rose,.tbd-landing-art{display:none!important}
.tbd-hero{
    min-height:760px;
    background:#071329;
    isolation:isolate;
}
.tbd-hero-image{
    position:absolute;inset:0;
    background-image:
      linear-gradient(90deg,rgba(4,12,28,.78) 0%,rgba(4,12,28,.52) 38%,rgba(4,12,28,.18) 66%,rgba(4,12,28,.08) 100%),
      linear-gradient(180deg,rgba(4,12,28,.08),rgba(4,12,28,.26)),
      url('images/homepage-hero.webp');
    background-size:cover;
    background-position:center center;
    transform:scale(1.01);
    animation:tbdHeroDrift 24s ease-in-out infinite alternate;
    z-index:0;
}
.tbd-hero-shimmer{
    position:absolute;inset:0;z-index:1;pointer-events:none;
    background:
      radial-gradient(circle at 44% 65%,rgba(255,211,128,.18),transparent 15%),
      radial-gradient(circle at 72% 18%,rgba(255,255,255,.07),transparent 22%);
    animation:tbdGlowPulse 7s ease-in-out infinite alternate;
}
.tbd-hero-content{z-index:4}
.tbd-starfield{z-index:3}
@keyframes tbdHeroDrift{from{transform:scale(1.01) translate3d(0,0,0)}to{transform:scale(1.045) translate3d(-.6%,0,0)}}
@keyframes tbdGlowPulse{from{opacity:.55}to{opacity:1}}

.tbd-banner.tbd-ot-banner,.tbd-banner.tbd-nt-banner{
    min-height:520px;
    display:flex;
    align-items:center;
    isolation:isolate;
    background:#071329;
}
.tbd-landing-image{position:absolute;inset:0;z-index:0;background-size:cover;background-position:center;animation:tbdLandingDrift 28s ease-in-out infinite alternate}
.tbd-ot-image{
    background-image:
      linear-gradient(90deg,rgba(5,13,29,.65),rgba(5,13,29,.22) 55%,rgba(5,13,29,.46)),
      url('images/old-testament-hero.webp');
}
.tbd-nt-image{
    background-image:
      linear-gradient(90deg,rgba(5,13,29,.60),rgba(5,13,29,.16) 58%,rgba(5,13,29,.38)),
      url('images/new-testament-hero.webp');
}
.tbd-image-glow{position:absolute;inset:0;z-index:1;background:radial-gradient(circle at 50% 72%,rgba(255,211,128,.16),transparent 28%);animation:tbdGlowPulse 8s ease-in-out infinite alternate}
.tbd-banner>.tbd-wide{z-index:4}
@keyframes tbdLandingDrift{from{transform:scale(1.01)}to{transform:scale(1.04)}}

.tbd-resource-jumps{display:none!important}
.tbd-resource-zone{margin:0!important;padding:0!important;background:transparent!important}
.tbd-resource-card-section{
    margin-block:32px;
    padding:clamp(22px,3vw,34px);
    border:1px solid rgba(197,142,59,.25);
    border-radius:12px;
    background:linear-gradient(145deg,rgba(255,255,255,.96),rgba(239,244,249,.92));
    box-shadow:0 10px 28px rgba(7,19,41,.055);
}
body.tbd-design-active.single .wp-block-post-content,
body.tbd-design-active.single .entry-content{
    background:linear-gradient(180deg,rgba(255,255,255,.97),rgba(250,248,242,.97));
}

@media(max-width:760px){
  .tbd-hero{min-height:720px}
  .tbd-hero-image{
    background-position:61% center;
    animation:none;
  }
  .tbd-banner.tbd-ot-banner,.tbd-banner.tbd-nt-banner{min-height:430px}
  .tbd-ot-image{background-position:58% center;animation:none}
  .tbd-nt-image{background-position:64% center;animation:none}
}
@media(prefers-reduced-motion:reduce){
  .tbd-hero-image,.tbd-landing-image,.tbd-hero-shimmer,.tbd-image-glow{animation:none!important}
}


/* 2.3.1 navigation hotfix */
.tbd-hero-image,.tbd-hero-shimmer,.tbd-starfield,.tbd-landing-image,.tbd-image-glow,.tbd-division::before{pointer-events:none!important}
.tbd-directory,.tbd-division,.tbd-book-grid{position:relative;z-index:5}
a.tbd-book-card{position:relative;z-index:6;pointer-events:auto!important;cursor:pointer}


/* ===== Version 2.4: exact TBD Core chapter-page integration ===== */

body.tbd-design-active.single-tbd_chapter{
    background:
      radial-gradient(circle at 86% 5%,rgba(197,142,59,.14),transparent 22rem),
      linear-gradient(180deg,#dfe8f2 0,#f4f6f8 310px,#fcfaf5 720px);
}

body.tbd-design-active.single-tbd_chapter main{
    background:transparent!important;
}

body.tbd-design-active.single-tbd_chapter .wp-block-post-content,
body.tbd-design-active.single-tbd_chapter .entry-content{
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:0!important;
    background:transparent!important;
    box-shadow:none!important;
}

body.tbd-design-active.single-tbd_chapter .tbd-chapter{
    width:min(980px,calc(100% - 44px));
    margin:0 auto;
    padding:0 0 84px;
}

body.tbd-design-active.single-tbd_chapter .tbd-chapter-title{
    width:100vw;
    margin:0 0 38px calc(50% - 50vw)!important;
    padding:82px max(28px,calc((100vw - 980px)/2)) 76px;
    color:#fff!important;
    font-family:Georgia,"Times New Roman",serif;
    font-size:clamp(3.2rem,7vw,6.2rem)!important;
    font-weight:400;
    letter-spacing:-.035em;
    line-height:.98;
    background:
      radial-gradient(circle at 84% 20%,rgba(231,183,105,.30),transparent 20rem),
      radial-gradient(circle at 72% 33%,rgba(255,255,255,.85) 0 1px,transparent 1.6px),
      radial-gradient(circle at 78% 18%,rgba(255,255,255,.55) 0 1px,transparent 1.5px),
      radial-gradient(circle at 92% 42%,rgba(255,255,255,.55) 0 1px,transparent 1.5px),
      linear-gradient(118deg,#06142d 0%,#10294d 58%,#2a4668 100%);
    box-shadow:inset 0 -1px rgba(255,255,255,.08);
}

body.tbd-design-active.single-tbd_chapter .tbd-chapter-title::before{
    content:"READ THE CHAPTER. ENTER ITS WORLD.";
    display:block;
    margin:0 0 13px;
    color:#f1d49b;
    font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
    font-size:.78rem;
    font-weight:700;
    letter-spacing:.18em;
    line-height:1.4;
}

body.tbd-design-active.single-tbd_chapter .tbd-compact-nav{
    position:relative;
    margin:0 0 34px;
    padding:20px 22px;
    border:1px solid rgba(197,142,59,.28);
    border-radius:12px;
    background:linear-gradient(135deg,rgba(255,255,255,.96),rgba(237,243,249,.94));
    box-shadow:0 10px 28px rgba(7,19,41,.055);
}

body.tbd-design-active.single-tbd_chapter .tbd-compact-nav select{
    min-height:40px;
    border:1px solid rgba(7,19,41,.18);
    border-radius:7px;
    background:#fff;
    color:#071329;
}

body.tbd-design-active.single-tbd_chapter .tbd-prev-next-nav{
    justify-content:space-between;
    padding-top:14px;
    border-top:1px solid rgba(7,19,41,.09);
}

body.tbd-design-active.single-tbd_chapter .tbd-prev-next-nav a{
    color:#795126;
    font-weight:700;
    text-decoration:none;
}

body.tbd-design-active.single-tbd_chapter .tbd-verse{
    margin:0 0 .9rem;
    color:#2c2924;
    font-family:Georgia,"Times New Roman",serif;
    font-size:clamp(1.08rem,1.5vw,1.22rem);
    line-height:1.92;
}

body.tbd-design-active.single-tbd_chapter .tbd-verse sup{
    color:#a36d25;
    font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
    font-weight:700;
}

body.tbd-design-active.single-tbd_chapter .tbd-study-resources{
    width:100vw;
    margin:62px 0 0 calc(50% - 50vw)!important;
    padding:68px max(28px,calc((100vw - 1120px)/2)) 82px!important;
    border-radius:0!important;
    background:
      radial-gradient(circle at 88% 8%,rgba(197,142,59,.14),transparent 24rem),
      linear-gradient(180deg,#f8f8f5 0%,#eaf0f6 100%)!important;
    box-shadow:inset 0 1px rgba(7,19,41,.05);
}

body.tbd-design-active.single-tbd_chapter .tbd-study-resources>h2{
    margin:0 0 18px!important;
    color:#071329;
    font-family:Georgia,"Times New Roman",serif;
    font-size:clamp(2.2rem,4vw,3.8rem);
}

body.tbd-design-active.single-tbd_chapter .tbd-study-resource-nav{
    position:sticky;
    top:86px;
    z-index:40;
    display:flex;
    gap:10px;
    overflow-x:auto;
    flex-wrap:nowrap;
    margin:0 -8px 34px;
    padding:12px 8px;
    border-top:1px solid rgba(197,142,59,.14);
    border-bottom:1px solid rgba(197,142,59,.18);
    background:rgba(245,248,251,.90);
    backdrop-filter:blur(12px);
    -webkit-backdrop-filter:blur(12px);
    scrollbar-width:thin;
}

body.tbd-design-active.single-tbd_chapter .tbd-study-resource-nav a{
    flex:0 0 auto;
    display:inline-flex;
    align-items:center;
    min-height:42px;
    padding:8px 14px;
    border:1px solid rgba(197,142,59,.44);
    border-radius:999px;
    background:#fff;
    color:#10294d;
    font-size:.9rem;
    font-weight:750;
    text-decoration:none;
    box-shadow:0 3px 10px rgba(7,19,41,.035);
}

body.tbd-design-active.single-tbd_chapter .tbd-study-resource-nav a:hover{
    background:#f4e4c1;
    color:#071329;
}

body.tbd-design-active.single-tbd_chapter .tbd-resource-category{
    scroll-margin-top:155px;
    margin:0 0 24px;
    padding:28px 30px;
    border:1px solid rgba(7,19,41,.08);
    border-top:3px solid #c58e3b;
    border-radius:12px;
    background:rgba(255,255,255,.88);
    box-shadow:0 12px 30px rgba(7,19,41,.045);
}

body.tbd-design-active.single-tbd_chapter .tbd-resource-category h3{
    margin:0 0 15px;
    color:#10294d;
    font-size:1.35rem;
}

body.tbd-design-active.single-tbd_chapter .tbd-resource-category ul{
    margin:0;
    padding-left:1.25rem;
}

body.tbd-design-active.single-tbd_chapter .tbd-resource-item{
    margin:.85rem 0;
    line-height:1.55;
}

body.tbd-design-active.single-tbd_chapter .tbd-resource-item>a{
    color:#6f481b;
    font-weight:720;
}

body.tbd-design-active.single-tbd_chapter .tbd-resource-note{
    color:#5d6570;
    line-height:1.5;
}

body.tbd-design-active.single-tbd_chapter .wp-block-comments,
body.tbd-design-active.single-tbd_chapter .comments-area{
    width:min(980px,calc(100% - 44px));
    margin:0 auto 70px;
    padding:34px;
    border:1px solid rgba(7,19,41,.08);
    border-radius:14px;
    background:#fff;
    box-shadow:0 12px 30px rgba(7,19,41,.045);
}

@media(max-width:760px){
    body.tbd-design-active.single-tbd_chapter .tbd-chapter{
        width:min(100% - 28px,980px);
    }

    body.tbd-design-active.single-tbd_chapter .tbd-chapter-title{
        padding-top:58px;
        padding-bottom:54px;
    }

    body.tbd-design-active.single-tbd_chapter .tbd-compact-nav{
        display:grid;
        grid-template-columns:auto 1fr;
        gap:10px 12px;
    }

    body.tbd-design-active.single-tbd_chapter .tbd-compact-nav select{
        width:100%;
        min-width:0;
    }

    body.tbd-design-active.single-tbd_chapter .tbd-prev-next-nav{
        grid-column:1/-1;
        display:grid;
        grid-template-columns:1fr;
        gap:10px;
    }

    body.tbd-design-active.single-tbd_chapter .tbd-study-resources{
        padding-left:18px!important;
        padding-right:18px!important;
    }

    body.tbd-design-active.single-tbd_chapter .tbd-study-resource-nav{
        top:66px;
    }

    body.tbd-design-active.single-tbd_chapter .tbd-resource-category{
        padding:22px 20px;
    }
}

/* ===== Version 2.5 refinement ===== */
body.single-tbd_chapter .wp-block-post-title{display:none!important}
body.single-tbd_chapter .wp-block-group:has(> .wp-block-post-title){display:none!important}
body.single-tbd_chapter .wp-site-blocks>main,body.single-tbd_chapter main.wp-block-group{margin-top:0!important;padding-top:0!important}
body.single-tbd_chapter .wp-site-blocks>header + main{margin-block-start:0!important}

body.tbd-design-active.single-tbd_chapter .tbd-chapter-jumps{display:flex;flex-wrap:wrap;gap:10px;margin:-10px 0 34px}
body.tbd-design-active.single-tbd_chapter .tbd-chapter-jumps a{display:inline-flex;align-items:center;min-height:42px;padding:8px 15px;border:1px solid rgba(197,142,59,.46);border-radius:999px;background:#fff;color:#10294d;font-size:.9rem;font-weight:750;text-decoration:none;box-shadow:0 4px 13px rgba(7,19,41,.04)}
body.tbd-design-active.single-tbd_chapter .tbd-chapter-jumps a:hover{background:#f4e4c1}
body.tbd-design-active.single-tbd_chapter .tbd-study-resource-nav{display:none!important}
body.tbd-design-active.single-tbd_chapter .tbd-study-resources{scroll-margin-top:86px}

.tbd-book-theme-creation .tbd-chapter-title{background:radial-gradient(circle at 79% 23%,rgba(255,255,255,.95) 0 1px,transparent 1.7px),radial-gradient(circle at 86% 37%,rgba(255,255,255,.70) 0 1px,transparent 1.5px),radial-gradient(circle at 68% 18%,rgba(255,214,133,.32),transparent 15rem),linear-gradient(118deg,#04122c,#102a55 59%,#5c3d57)!important}
.tbd-book-theme-desert .tbd-chapter-title,.tbd-book-theme-wilderness .tbd-chapter-title,.tbd-book-theme-plains .tbd-chapter-title{background:radial-gradient(circle at 82% 68%,rgba(232,171,82,.38),transparent 18rem),linear-gradient(118deg,#071831,#19385b 58%,#7d5131)!important}
.tbd-book-theme-sanctuary .tbd-chapter-title{background:radial-gradient(circle at 82% 28%,rgba(224,175,89,.37),transparent 16rem),linear-gradient(118deg,#08142e,#2d2448 58%,#6a4430)!important}
.tbd-book-theme-conquest .tbd-chapter-title,.tbd-book-theme-highlands .tbd-chapter-title,.tbd-book-theme-kingdom .tbd-chapter-title,.tbd-book-theme-royal .tbd-chapter-title{background:radial-gradient(circle at 82% 30%,rgba(218,169,91,.28),transparent 16rem),linear-gradient(118deg,#07172f,#173754 52%,#55412e)!important}
.tbd-book-theme-fields .tbd-chapter-title{background:radial-gradient(circle at 82% 30%,rgba(233,196,114,.32),transparent 18rem),linear-gradient(118deg,#0b1b34,#294a53 55%,#725d38)!important}
.tbd-book-theme-restoration .tbd-chapter-title,.tbd-book-theme-palace .tbd-chapter-title{background:radial-gradient(circle at 82% 28%,rgba(225,181,99,.32),transparent 16rem),linear-gradient(118deg,#0b1730,#35405f 56%,#6d5139)!important}
.tbd-book-theme-wisdom .tbd-chapter-title,.tbd-book-theme-poetry .tbd-chapter-title,.tbd-book-theme-lament .tbd-chapter-title{background:radial-gradient(circle at 78% 22%,rgba(219,184,127,.25),transparent 15rem),linear-gradient(118deg,#09152d,#242f55 57%,#544558)!important}
.tbd-book-theme-prophetic .tbd-chapter-title,.tbd-book-theme-vision .tbd-chapter-title{background:radial-gradient(circle at 82% 21%,rgba(241,185,91,.29),transparent 15rem),linear-gradient(118deg,#06122b,#163657 50%,#503348)!important}
.tbd-book-theme-empire .tbd-chapter-title{background:radial-gradient(circle at 82% 26%,rgba(213,162,79,.28),transparent 17rem),linear-gradient(118deg,#07142d,#1f3455 52%,#553c34)!important}
.tbd-book-theme-sea .tbd-chapter-title{background:radial-gradient(circle at 78% 28%,rgba(111,184,207,.25),transparent 18rem),linear-gradient(118deg,#04172e,#0c4960 56%,#315466)!important}

.tbd-hero-shimmer::before,.tbd-hero-shimmer::after{content:"";position:absolute;width:6px;height:6px;border-radius:50%;background:rgba(255,226,151,.95);box-shadow:28px 10px 0 -2px rgba(255,226,151,.7),62px -4px 0 -2px rgba(255,255,255,.65),104px 13px 0 -2px rgba(255,226,151,.7),146px 3px 0 -2px rgba(255,255,255,.65);animation:tbdWaterTwinkle 4.8s ease-in-out infinite alternate}
.tbd-hero-shimmer::before{left:28%;top:73%}.tbd-hero-shimmer::after{left:39%;top:81%;transform:scale(.75);animation-delay:1.7s}
@keyframes tbdWaterTwinkle{0%,20%{opacity:.08}55%{opacity:.9}100%{opacity:.2}}

body.tbd-design-active.single-tbd_chapter #comments,body.tbd-design-active.single-tbd_chapter .wp-block-comments,body.tbd-design-active.single-tbd_chapter .comments-area{scroll-margin-top:92px;width:min(980px,calc(100% - 44px));margin:54px auto 74px!important;padding:clamp(28px,4vw,46px)!important;border:1px solid rgba(7,19,41,.09);border-top:4px solid #c58e3b;border-radius:16px;background:radial-gradient(circle at 95% 0%,rgba(197,142,59,.10),transparent 20rem),linear-gradient(145deg,#fff,#f5f7fa);box-shadow:0 16px 38px rgba(7,19,41,.06)}
body.tbd-design-active.single-tbd_chapter #comments::before,body.tbd-design-active.single-tbd_chapter .wp-block-comments::before,body.tbd-design-active.single-tbd_chapter .comments-area::before{content:"Share an observation or question";display:block;margin:0 0 30px;color:#795126;font-size:.82rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
body.tbd-design-active.single-tbd_chapter .comment-form input[type="submit"],body.tbd-design-active.single-tbd_chapter .wp-block-button__link{background:#0b1b36!important;background-image:none!important;color:#fff!important;border:1px solid #c58e3b!important;border-radius:7px!important;box-shadow:none!important;text-shadow:none!important}
body.tbd-design-active.single-tbd_chapter .comment-form input[type="submit"]:hover{background:#c58e3b!important;color:#071329!important}
body.tbd-design-active.single-tbd_chapter .comment-form textarea,body.tbd-design-active.single-tbd_chapter .comment-form input[type="text"],body.tbd-design-active.single-tbd_chapter .comment-form input[type="email"]{width:100%;border:1px solid rgba(7,19,41,.25)!important;border-radius:9px!important;background:#fff!important}
body.tbd-design-active.single-tbd_chapter .comment-list .comment,body.tbd-design-active.single-tbd_chapter .wp-block-comment-template>li{margin:18px 0;padding:22px;border:1px solid rgba(7,19,41,.07);border-radius:12px;background:#fff}

.tbd-read-hero{background:radial-gradient(circle at 78% 22%,rgba(197,142,59,.24),transparent 20rem),linear-gradient(135deg,#071329,#17345d)}
.tbd-read-intro h2,.tbd-read-schedule-section h2{color:#071329;font-size:clamp(2rem,4vw,3.8rem)}
.tbd-read-how-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:34px}
.tbd-read-how-grid article{padding:26px;border-top:3px solid #c58e3b;border-radius:10px;background:#fff;box-shadow:0 10px 26px rgba(7,19,41,.05)}
.tbd-read-how-grid strong{color:#c58e3b}.tbd-read-how-grid h3{color:#10294d}
.tbd-read-invitation{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(300px,.75fr);gap:42px;align-items:center;margin-top:34px;padding:34px;border:1px solid rgba(197,142,59,.38);border-radius:16px;background:linear-gradient(135deg,#fffaf0,#fff);box-shadow:0 14px 34px rgba(7,19,41,.06)}
.tbd-read-invitation h2{margin:.2em 0;font-size:clamp(1.7rem,3vw,2.6rem)}.tbd-read-invitation p{margin:.65em 0}.tbd-read-invitation .tbd-email-note{font-size:.84rem;color:#596477}.tbd-read-subscribe .wp-block-jetpack-subscriptions__form-elements,.tbd-read-subscribe form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.tbd-read-subscribe input[type=email]{min-width:0;padding:13px 14px;border:1px solid #cbbd9f;border-radius:7px;background:#fff}.tbd-read-subscribe button,.tbd-read-subscribe input[type=submit]{padding:13px 18px;border:0;border-radius:7px;background:#10294d;color:#fff;font-weight:800;cursor:pointer}.tbd-read-subscribe .tbd-subscribe-fallback{color:#10294d}
.tbd-read-schedule-section{padding:86px 0;background:linear-gradient(180deg,#f0f4f8,#fcfaf5)}
.tbd-read-schedule{display:grid;gap:12px;margin-top:38px}
.tbd-read-week{display:grid;grid-template-columns:180px 1fr auto;gap:24px;align-items:center;padding:20px 22px;border:1px solid rgba(7,19,41,.08);border-radius:10px;background:rgba(255,255,255,.9)}
.tbd-read-week.is-current{border-color:#c58e3b;box-shadow:0 0 0 2px rgba(197,142,59,.12)}
.tbd-read-week-date{display:flex;flex-direction:column;gap:5px;color:#10294d;font-weight:750}.tbd-read-week-date b{width:max-content;padding:3px 7px;border-radius:999px;background:#f4e4c1;color:#795126;font-size:.72rem}
.tbd-read-week-reading{line-height:1.55}.tbd-read-week>a{color:#795126;font-weight:800;text-decoration:none}

.tbd-search-results{margin-top:42px}.tbd-search-summary{font-size:1.05rem}.tbd-search-group{margin:42px 0}.tbd-search-group h2{color:#071329;font-size:2rem}
.tbd-search-result-card{margin:12px 0;padding:18px 20px;border:1px solid rgba(7,19,41,.08);border-radius:10px;background:#fff;box-shadow:0 7px 20px rgba(7,19,41,.035)}
.tbd-search-result-card a{color:#795126;text-decoration:none}.tbd-search-result-card p{margin:.45rem 0 0;line-height:1.55}

@media(max-width:760px){
 .tbd-global-header-inner{min-height:68px}.tbd-global-nav{max-height:calc(100vh - 68px);overflow:auto}
 .tbd-hero{min-height:650px}.tbd-hero h1{font-size:clamp(2.9rem,15vw,4.4rem)}.tbd-hero-copy{font-size:1.03rem;line-height:1.58}
 .tbd-actions{display:grid;grid-template-columns:1fr;max-width:360px}.tbd-actions .tbd-btn{width:100%}.tbd-hero-shimmer::before,.tbd-hero-shimmer::after{display:none}
 .tbd-path-grid,.tbd-research-grid,.tbd-read-how-grid,.tbd-read-invitation{grid-template-columns:1fr}
 body.tbd-design-active.single-tbd_chapter .tbd-chapter-title{font-size:clamp(2.8rem,17vw,4.8rem)!important;padding-top:48px!important;padding-bottom:48px!important}
 body.tbd-design-active.single-tbd_chapter .tbd-chapter-title::before{font-size:.67rem;letter-spacing:.14em}
 body.tbd-design-active.single-tbd_chapter .tbd-chapter-jumps{display:grid;grid-template-columns:1fr 1fr}
 body.tbd-design-active.single-tbd_chapter .tbd-chapter-jumps a{justify-content:center;text-align:center}
 body.tbd-design-active.single-tbd_chapter .tbd-verse{font-size:1.08rem;line-height:1.84}
 body.tbd-design-active.single-tbd_chapter #comments,body.tbd-design-active.single-tbd_chapter .wp-block-comments,body.tbd-design-active.single-tbd_chapter .comments-area{width:min(100% - 24px,980px);padding:24px 18px!important}
 .tbd-read-week{grid-template-columns:1fr;gap:9px}.tbd-email .tbd-two-col{grid-template-columns:1fr}.tbd-search-form{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){.tbd-hero-shimmer::before,.tbd-hero-shimmer::after{animation:none!important}}


/* ===== Version 2.6 fixes ===== */

/* Remove the actual theme spacer above chapter pages. */
body.tbd-design-active.single-tbd_chapter .wp-site-blocks,
body.tbd-design-active.single-tbd_chapter .wp-site-blocks main,
body.tbd-design-active.single-tbd_chapter .wp-site-blocks main > *,
body.tbd-design-active.single-tbd_chapter .wp-block-post-content,
body.tbd-design-active.single-tbd_chapter .entry-content{
    margin-top:0!important;
    padding-top:0!important;
}
body.tbd-design-active.single-tbd_chapter .wp-block-post-title,
body.tbd-design-active.single-tbd_chapter .entry-title{
    display:none!important;
}

/* Book-specific visible illustration on the right side of each chapter header. */
body.tbd-design-active.single-tbd_chapter .tbd-chapter-title{
    position:relative;
    z-index:0;
}
body.tbd-design-active.single-tbd_chapter .tbd-chapter-title::after{
    content:"";
    position:absolute;
    z-index:-1;
    right:max(24px,calc((100vw - 1200px)/2));
    top:50%;
    width:min(48vw,760px);
    height:82%;
    transform:translateY(-50%);
    background-repeat:no-repeat;
    background-size:contain;
    background-position:right center;
    opacity:.88;
    pointer-events:none;
}

/* Keep Study Resources inside the readable column: no 100vw breakout, no horizontal jump. */
body.tbd-design-active.single-tbd_chapter .tbd-study-resources{
    width:100%!important;
    max-width:980px!important;
    margin:58px 0 0!important;
    padding:42px 36px 48px!important;
    border-radius:16px!important;
    overflow:hidden!important;
    box-sizing:border-box!important;
}
body.tbd-design-active.single-tbd_chapter .tbd-study-resources>h2{
    max-width:860px;
}
body.tbd-design-active.single-tbd_chapter .tbd-resource-category{
    width:100%!important;
    max-width:860px!important;
    margin:0 0 24px 0!important;
    box-sizing:border-box!important;
}
body.tbd-design-active.single-tbd_chapter .tbd-resource-item,
body.tbd-design-active.single-tbd_chapter .tbd-resource-item a,
body.tbd-design-active.single-tbd_chapter .tbd-resource-note{
    overflow-wrap:anywhere!important;
    word-break:normal!important;
}

/* Prevent anchor scroll from being accompanied by a horizontal reflow. */
html,body{max-width:100%;overflow-x:hidden}
body.tbd-design-active.single-tbd_chapter .tbd-chapter,
body.tbd-design-active.single-tbd_chapter .tbd-compact-nav,
body.tbd-design-active.single-tbd_chapter .tbd-chapter-jumps{
    max-width:100%;
    box-sizing:border-box;
}

@media(max-width:760px){
    body.tbd-design-active.single-tbd_chapter .tbd-chapter-title::after{
        right:-10%;
        width:78vw;
        height:70%;
        opacity:.42;
    }
    body.tbd-design-active.single-tbd_chapter .tbd-study-resources{
        width:100%!important;
        max-width:100%!important;
        margin-top:46px!important;
        padding:30px 18px 36px!important;
    }
    body.tbd-design-active.single-tbd_chapter .tbd-resource-category{
        max-width:100%!important;
        padding:20px 18px!important;
    }
}
body.tbd-design-active.single-tbd_chapter .tbd-book-genesis .tbd-chapter-title::after{background-image:url("book-headers/genesis.svg");}
body.tbd-design-active.single-tbd_chapter .tbd-book-exodus .tbd-chapter-title::after{background-image:url("book-headers/exodus.svg");}
body.tbd-design-active.single-tbd_chapter .tbd-book-leviticus .tbd-chapter-title::after{background-image:url("book-headers/leviticus.svg");}
body.tbd-design-active.single-tbd_chapter .tbd-book-numbers .tbd-chapter-title::after{background-image:url("book-headers/numbers.svg");}
body.tbd-design-active.single-tbd_chapter .tbd-book-deuteronomy .tbd-chapter-title::after{background-image:url("book-headers/deuteronomy.svg");}
body.tbd-design-active.single-tbd_chapter .tbd-book-joshua .tbd-chapter-title::after{background-image:url("book-headers/joshua.svg");}
body.tbd-design-active.single-tbd_chapter .tbd-book-judges .tbd-chapter-title::after{background-image:url("book-headers/judges.svg");}
body.tbd-design-active.single-tbd_chapter .tbd-book-ruth .tbd-chapter-title::after{background-image:url("book-headers/ruth.svg");}
body.tbd-design-active.single-tbd_chapter .tbd-book-1-samuel .tbd-chapter-title::after{background-image:url("book-headers/1-samuel.svg");}
body.tbd-design-active.single-tbd_chapter .tbd-book-2-samuel .tbd-chapter-title::after{background-image:url("book-headers/2-samuel.svg");}
body.tbd-design-active.single-tbd_chapter .tbd-book-1-kings .tbd-chapter-title::after{background-image:url("book-headers/1-kings.svg");}
body.tbd-design-active.single-tbd_chapter .tbd-book-2-kings .tbd-chapter-title::after{background-image:url("book-headers/2-kings.svg");}
body.tbd-design-active.single-tbd_chapter .tbd-book-1-chronicles .tbd-chapter-title::after{background-image:url("book-headers/1-chronicles.svg");}
body.tbd-design-active.single-tbd_chapter .tbd-book-2-chronicles .tbd-chapter-title::after{background-image:url("book-headers/2-chronicles.svg");}
body.tbd-design-active.single-tbd_chapter .tbd-book-ezra .tbd-chapter-title::after{background-image:url("book-headers/ezra.svg");}
body.tbd-design-active.single-tbd_chapter .tbd-book-nehemiah .tbd-chapter-title::after{background-image:url("book-headers/nehemiah.svg");}
body.tbd-design-active.single-tbd_chapter .tbd-book-esther .tbd-chapter-title::after{background-image:url("book-headers/esther.svg");}
body.tbd-design-active.single-tbd_chapter .tbd-book-job .tbd-chapter-title::after{background-image:url("book-headers/job.svg");}
body.tbd-design-active.single-tbd_chapter .tbd-book-psalms .tbd-chapter-title::after{background-image:url("book-headers/psalms.svg");}
body.tbd-design-active.single-tbd_chapter .tbd-book-proverbs .tbd-chapter-title::after{background-image:url("book-headers/proverbs.svg");}
body.tbd-design-active.single-tbd_chapter .tbd-book-ecclesiastes .tbd-chapter-title::after{background-image:url("book-headers/ecclesiastes.svg");}
body.tbd-design-active.single-tbd_chapter .tbd-book-song-of-solomon .tbd-chapter-title::after{background-image:url("book-headers/song-of-solomon.svg");}
body.tbd-design-active.single-tbd_chapter .tbd-book-isaiah .tbd-chapter-title::after{background-image:url("book-headers/isaiah.svg");}
body.tbd-design-active.single-tbd_chapter .tbd-book-jeremiah .tbd-chapter-title::after{background-image:url("book-headers/jeremiah.svg");}
body.tbd-design-active.single-tbd_chapter .tbd-book-lamentations .tbd-chapter-title::after{background-image:url("book-headers/lamentations.svg");}
body.tbd-design-active.single-tbd_chapter .tbd-book-ezekiel .tbd-chapter-title::after{background-image:url("book-headers/ezekiel.svg");}
body.tbd-design-active.single-tbd_chapter .tbd-book-daniel .tbd-chapter-title::after{background-image:url("book-headers/daniel.svg");}
body.tbd-design-active.single-tbd_chapter .tbd-book-hosea .tbd-chapter-title::after{background-image:url("book-headers/hosea.svg");}
body.tbd-design-active.single-tbd_chapter .tbd-book-joel .tbd-chapter-title::after{background-image:url("book-headers/joel.svg");}
body.tbd-design-active.single-tbd_chapter .tbd-book-amos .tbd-chapter-title::after{background-image:url("book-headers/amos.svg");}
body.tbd-design-active.single-tbd_chapter .tbd-book-obadiah .tbd-chapter-title::after{background-image:url("book-headers/obadiah.svg");}
body.tbd-design-active.single-tbd_chapter .tbd-book-jonah .tbd-chapter-title::after{background-image:url("book-headers/jonah.svg");}
body.tbd-design-active.single-tbd_chapter .tbd-book-micah .tbd-chapter-title::after{background-image:url("book-headers/micah.svg");}
body.tbd-design-active.single-tbd_chapter .tbd-book-nahum .tbd-chapter-title::after{background-image:url("book-headers/nahum.svg");}
body.tbd-design-active.single-tbd_chapter .tbd-book-habakkuk .tbd-chapter-title::after{background-image:url("book-headers/habakkuk.svg");}
body.tbd-design-active.single-tbd_chapter .tbd-book-zephaniah .tbd-chapter-title::after{background-image:url("book-headers/zephaniah.svg");}
body.tbd-design-active.single-tbd_chapter .tbd-book-haggai .tbd-chapter-title::after{background-image:url("book-headers/haggai.svg");}
body.tbd-design-active.single-tbd_chapter .tbd-book-zechariah .tbd-chapter-title::after{background-image:url("book-headers/zechariah.svg");}
body.tbd-design-active.single-tbd_chapter .tbd-book-malachi .tbd-chapter-title::after{background-image:url("book-headers/malachi.svg");}

/* ===== Version 2.7 ===== */

/* Hide the normal WordPress page title/header area for custom full-width site pages. */
body.page .wp-block-post-title,
body.page .entry-title{
    display:none!important;
}
body.page .wp-site-blocks>main,
body.page main.wp-block-group,
body.page .wp-block-post-content,
body.page .entry-content{
    margin-top:0!important;
    padding-top:0!important;
}
body.page .tbd-shell{
    width:100vw!important;
    max-width:100vw!important;
    margin-top:0!important;
    margin-right:calc(50% - 50vw)!important;
    margin-left:calc(50% - 50vw)!important;
}

/* Make book artwork read as a scene, not a thin decorative squiggle. */
body.tbd-design-active.single-tbd_chapter .tbd-chapter-title{
    min-height:340px;
    display:flex;
    flex-direction:column;
    justify-content:center;
}
body.tbd-design-active.single-tbd_chapter .tbd-chapter-title::after{
    right:max(12px,calc((100vw - 1260px)/2))!important;
    width:min(56vw,900px)!important;
    height:96%!important;
    opacity:1!important;
    background-size:contain!important;
    background-position:right center!important;
    filter:drop-shadow(0 7px 16px rgba(0,0,0,.14));
}
body.tbd-design-active.single-tbd_chapter .tbd-chapter-title::before{
    position:relative;
    z-index:2;
}
body.tbd-design-active.single-tbd_chapter .tbd-chapter-title{
    text-shadow:0 2px 10px rgba(0,0,0,.10);
}

/* Keep text legible while allowing the scene to be visible. */
body.tbd-design-active.single-tbd_chapter .tbd-chapter-title{
    padding-right:min(50vw,760px)!important;
}

/* Never show email placeholders publicly. */
.tbd-email-placeholder{display:none!important}
.tbd-footer-inner.no-signup{grid-template-columns:1.15fr .85fr}
.tbd-subscribe-thanks{display:grid;gap:6px;padding:22px 24px;border:1px solid rgba(197,142,59,.5);border-radius:12px;background:#fffaf0;color:#10294d}.tbd-subscribe-thanks strong{font-family:Georgia,serif;font-size:1.2rem}.tbd-subscribe-thanks span{font-size:.9rem}.tbd-footer-signup .tbd-subscribe-thanks{background:rgba(255,255,255,.08);color:#fff}

@media(max-width:1000px){
    body.tbd-design-active.single-tbd_chapter .tbd-chapter-title{
        padding-right:34vw!important;
    }
    body.tbd-design-active.single-tbd_chapter .tbd-chapter-title::after{
        width:52vw!important;
        opacity:.72!important;
    }
}
@media(max-width:760px){
    body.tbd-design-active.single-tbd_chapter .tbd-chapter-title{
        min-height:250px;
        padding-right:24px!important;
    }
    body.tbd-design-active.single-tbd_chapter .tbd-chapter-title::after{
        right:-18%!important;
        width:88vw!important;
        height:82%!important;
        opacity:.32!important;
    }
}
body.tbd-design-active.single-tbd_chapter .tbd-book-genesis .tbd-chapter-title::after{background-image:url("book-headers/genesis.svg");}
body.tbd-design-active.single-tbd_chapter .tbd-book-exodus .tbd-chapter-title::after{background-image:url("book-headers/exodus.svg");}
body.tbd-design-active.single-tbd_chapter .tbd-book-leviticus .tbd-chapter-title::after{background-image:url("book-headers/leviticus.svg");}
body.tbd-design-active.single-tbd_chapter .tbd-book-numbers .tbd-chapter-title::after{background-image:url("book-headers/numbers.svg");}
body.tbd-design-active.single-tbd_chapter .tbd-book-deuteronomy .tbd-chapter-title::after{background-image:url("book-headers/deuteronomy.svg");}
body.tbd-design-active.single-tbd_chapter .tbd-book-joshua .tbd-chapter-title::after{background-image:url("book-headers/joshua.svg");}
body.tbd-design-active.single-tbd_chapter .tbd-book-judges .tbd-chapter-title::after{background-image:url("book-headers/judges.svg");}
body.tbd-design-active.single-tbd_chapter .tbd-book-ruth .tbd-chapter-title::after{background-image:url("book-headers/ruth.svg");}
body.tbd-design-active.single-tbd_chapter .tbd-book-1-samuel .tbd-chapter-title::after{background-image:url("book-headers/1-samuel.svg");}
body.tbd-design-active.single-tbd_chapter .tbd-book-2-samuel .tbd-chapter-title::after{background-image:url("book-headers/2-samuel.svg");}
body.tbd-design-active.single-tbd_chapter .tbd-book-1-kings .tbd-chapter-title::after{background-image:url("book-headers/1-kings.svg");}
body.tbd-design-active.single-tbd_chapter .tbd-book-2-kings .tbd-chapter-title::after{background-image:url("book-headers/2-kings.svg");}
body.tbd-design-active.single-tbd_chapter .tbd-book-1-chronicles .tbd-chapter-title::after{background-image:url("book-headers/1-chronicles.svg");}
body.tbd-design-active.single-tbd_chapter .tbd-book-2-chronicles .tbd-chapter-title::after{background-image:url("book-headers/2-chronicles.svg");}
body.tbd-design-active.single-tbd_chapter .tbd-book-ezra .tbd-chapter-title::after{background-image:url("book-headers/ezra.svg");}
body.tbd-design-active.single-tbd_chapter .tbd-book-nehemiah .tbd-chapter-title::after{background-image:url("book-headers/nehemiah.svg");}
body.tbd-design-active.single-tbd_chapter .tbd-book-esther .tbd-chapter-title::after{background-image:url("book-headers/esther.svg");}
body.tbd-design-active.single-tbd_chapter .tbd-book-job .tbd-chapter-title::after{background-image:url("book-headers/job.svg");}
body.tbd-design-active.single-tbd_chapter .tbd-book-psalms .tbd-chapter-title::after{background-image:url("book-headers/psalms.svg");}
body.tbd-design-active.single-tbd_chapter .tbd-book-proverbs .tbd-chapter-title::after{background-image:url("book-headers/proverbs.svg");}
body.tbd-design-active.single-tbd_chapter .tbd-book-ecclesiastes .tbd-chapter-title::after{background-image:url("book-headers/ecclesiastes.svg");}
body.tbd-design-active.single-tbd_chapter .tbd-book-song-of-solomon .tbd-chapter-title::after{background-image:url("book-headers/song-of-solomon.svg");}
body.tbd-design-active.single-tbd_chapter .tbd-book-isaiah .tbd-chapter-title::after{background-image:url("book-headers/isaiah.svg");}
body.tbd-design-active.single-tbd_chapter .tbd-book-jeremiah .tbd-chapter-title::after{background-image:url("book-headers/jeremiah.svg");}
body.tbd-design-active.single-tbd_chapter .tbd-book-lamentations .tbd-chapter-title::after{background-image:url("book-headers/lamentations.svg");}
body.tbd-design-active.single-tbd_chapter .tbd-book-ezekiel .tbd-chapter-title::after{background-image:url("book-headers/ezekiel.svg");}
body.tbd-design-active.single-tbd_chapter .tbd-book-daniel .tbd-chapter-title::after{background-image:url("book-headers/daniel.svg");}
body.tbd-design-active.single-tbd_chapter .tbd-book-hosea .tbd-chapter-title::after{background-image:url("book-headers/hosea.svg");}
body.tbd-design-active.single-tbd_chapter .tbd-book-joel .tbd-chapter-title::after{background-image:url("book-headers/joel.svg");}
body.tbd-design-active.single-tbd_chapter .tbd-book-amos .tbd-chapter-title::after{background-image:url("book-headers/amos.svg");}
body.tbd-design-active.single-tbd_chapter .tbd-book-obadiah .tbd-chapter-title::after{background-image:url("book-headers/obadiah.svg");}
body.tbd-design-active.single-tbd_chapter .tbd-book-jonah .tbd-chapter-title::after{background-image:url("book-headers/jonah.svg");}
body.tbd-design-active.single-tbd_chapter .tbd-book-micah .tbd-chapter-title::after{background-image:url("book-headers/micah.svg");}
body.tbd-design-active.single-tbd_chapter .tbd-book-nahum .tbd-chapter-title::after{background-image:url("book-headers/nahum.svg");}
body.tbd-design-active.single-tbd_chapter .tbd-book-habakkuk .tbd-chapter-title::after{background-image:url("book-headers/habakkuk.svg");}
body.tbd-design-active.single-tbd_chapter .tbd-book-zephaniah .tbd-chapter-title::after{background-image:url("book-headers/zephaniah.svg");}
body.tbd-design-active.single-tbd_chapter .tbd-book-haggai .tbd-chapter-title::after{background-image:url("book-headers/haggai.svg");}
body.tbd-design-active.single-tbd_chapter .tbd-book-zechariah .tbd-chapter-title::after{background-image:url("book-headers/zechariah.svg");}
body.tbd-design-active.single-tbd_chapter .tbd-book-malachi .tbd-chapter-title::after{background-image:url("book-headers/malachi.svg");}

/* Version 2.7.1 Read Together navigation */
.tbd-current-week-jump{margin:26px 0 8px}
.tbd-read-week{scroll-margin-top:96px}
.tbd-read-week-actions{display:flex;flex-direction:column;align-items:flex-end;gap:7px}
.tbd-read-week-actions>a{color:#795126;font-weight:800;text-decoration:none}
.tbd-back-top{font-size:.78rem;opacity:.72}
@media(max-width:760px){
  .tbd-read-week-actions{align-items:flex-start}
  .tbd-current-week-jump .tbd-btn{width:100%}
}


/* ===== Version 2.8: real image-backed book headers ===== */

/* Approved first-set production images */
body.tbd-design-active.single-tbd_chapter .tbd-book-genesis .tbd-chapter-title,
body.tbd-design-active.single-tbd_chapter .tbd-book-exodus .tbd-chapter-title,
body.tbd-design-active.single-tbd_chapter .tbd-book-leviticus .tbd-chapter-title{
    position:relative;
    min-height:390px!important;
    display:flex!important;
    flex-direction:column!important;
    justify-content:center!important;
    overflow:hidden!important;
    isolation:isolate;
    color:#fff!important;
    padding:
      72px
      max(28px,calc((100vw - 980px)/2))
      72px
      max(28px,calc((100vw - 980px)/2))!important;
    background-image:
      linear-gradient(90deg,
        rgba(3,12,28,.90) 0%,
        rgba(3,12,28,.78) 26%,
        rgba(3,12,28,.46) 50%,
        rgba(3,12,28,.15) 76%,
        rgba(3,12,28,.08) 100%),
      var(--tbd-book-image)!important;
    background-size:cover!important;
    background-repeat:no-repeat!important;
    text-shadow:0 3px 18px rgba(0,0,0,.28);
}

/* Remove the previous SVG scene from these real-image books. */
body.tbd-design-active.single-tbd_chapter .tbd-book-genesis .tbd-chapter-title::after,
body.tbd-design-active.single-tbd_chapter .tbd-book-exodus .tbd-chapter-title::after,
body.tbd-design-active.single-tbd_chapter .tbd-book-leviticus .tbd-chapter-title::after{
    display:none!important;
}

/* Preserve the small "Read the chapter..." eyebrow text. */
body.tbd-design-active.single-tbd_chapter .tbd-book-genesis .tbd-chapter-title::before,
body.tbd-design-active.single-tbd_chapter .tbd-book-exodus .tbd-chapter-title::before,
body.tbd-design-active.single-tbd_chapter .tbd-book-leviticus .tbd-chapter-title::before{
    position:relative;
    z-index:2;
}

/* Carefully chosen crops so the strongest imagery remains visible beside the title. */
body.tbd-design-active.single-tbd_chapter .tbd-book-genesis .tbd-chapter-title{
    background-position:center 48%!important;
}
body.tbd-design-active.single-tbd_chapter .tbd-book-exodus .tbd-chapter-title{
    background-position:center 52%!important;
}
body.tbd-design-active.single-tbd_chapter .tbd-book-leviticus .tbd-chapter-title{
    background-position:center 48%!important;
}

/* Give the title enough contrast while allowing the art to read as an actual scene. */
body.tbd-design-active.single-tbd_chapter .tbd-book-genesis .tbd-chapter-title,
body.tbd-design-active.single-tbd_chapter .tbd-book-exodus .tbd-chapter-title,
body.tbd-design-active.single-tbd_chapter .tbd-book-leviticus .tbd-chapter-title{
    box-shadow:inset 0 -1px rgba(255,255,255,.08);
}

@media(max-width:760px){
  body.tbd-design-active.single-tbd_chapter .tbd-book-genesis .tbd-chapter-title,
  body.tbd-design-active.single-tbd_chapter .tbd-book-exodus .tbd-chapter-title,
  body.tbd-design-active.single-tbd_chapter .tbd-book-leviticus .tbd-chapter-title{
      min-height:300px!important;
      padding:48px 22px!important;
      background-image:
        linear-gradient(90deg,
          rgba(3,12,28,.92) 0%,
          rgba(3,12,28,.78) 48%,
          rgba(3,12,28,.34) 100%),
        var(--tbd-book-image)!important;
  }

  body.tbd-design-active.single-tbd_chapter .tbd-book-genesis .tbd-chapter-title{
      background-position:62% center!important;
  }
  body.tbd-design-active.single-tbd_chapter .tbd-book-exodus .tbd-chapter-title{
      background-position:68% center!important;
  }
  body.tbd-design-active.single-tbd_chapter .tbd-book-leviticus .tbd-chapter-title{
      background-position:70% center!important;
  }
}

/* Keep all other OT books on their current fallback until their final image is approved. */


/* ===== Version 2.8.1: preserve the full book artwork ===== */

/*
 * The production art is 1916 × 821 (about 2.33:1).
 * The previous header was too shallow, so background-size: cover cropped away
 * much of the lower foreground. These overrides preserve the image's native
 * proportions on normal desktop screens.
 */
body.tbd-design-active.single-tbd_chapter .tbd-book-genesis .tbd-chapter-title,
body.tbd-design-active.single-tbd_chapter .tbd-book-exodus .tbd-chapter-title,
body.tbd-design-active.single-tbd_chapter .tbd-book-leviticus .tbd-chapter-title{
    min-height:clamp(520px,42.85vw,820px)!important;
    background-size:100% auto!important;
    background-position:center center!important;
}

/* The title stays on the darker left side while the full right-hand subject remains visible. */
body.tbd-design-active.single-tbd_chapter .tbd-book-genesis .tbd-chapter-title{
    background-position:center 50%!important;
}
body.tbd-design-active.single-tbd_chapter .tbd-book-exodus .tbd-chapter-title{
    background-position:center 50%!important;
}
body.tbd-design-active.single-tbd_chapter .tbd-book-leviticus .tbd-chapter-title{
    background-position:center 50%!important;
}

/* Tablet: maintain most of the scene while keeping the page from becoming excessively tall. */
@media(min-width:761px) and (max-width:1100px){
  body.tbd-design-active.single-tbd_chapter .tbd-book-genesis .tbd-chapter-title,
  body.tbd-design-active.single-tbd_chapter .tbd-book-exodus .tbd-chapter-title,
  body.tbd-design-active.single-tbd_chapter .tbd-book-leviticus .tbd-chapter-title{
      min-height:47vw!important;
      background-size:auto 100%!important;
      background-position:center center!important;
  }
}

/* Phone: use a controlled crop rather than shrinking the entire scene into a tiny strip. */
@media(max-width:760px){
  body.tbd-design-active.single-tbd_chapter .tbd-book-genesis .tbd-chapter-title,
  body.tbd-design-active.single-tbd_chapter .tbd-book-exodus .tbd-chapter-title,
  body.tbd-design-active.single-tbd_chapter .tbd-book-leviticus .tbd-chapter-title{
      min-height:360px!important;
      background-size:auto 100%!important;
  }
  body.tbd-design-active.single-tbd_chapter .tbd-book-genesis .tbd-chapter-title{
      background-position:68% center!important;
  }
  body.tbd-design-active.single-tbd_chapter .tbd-book-exodus .tbd-chapter-title{
      background-position:72% center!important;
  }
  body.tbd-design-active.single-tbd_chapter .tbd-book-leviticus .tbd-chapter-title{
      background-position:72% center!important;
  }
}


/* ===== Version 2.8.2: show the full image with gentler framing ===== */

/*
 * 2.8.1 made the headers much larger, but depending on browser width
 * they could still crop the bottom foreground. These overrides switch the
 * three production headers to a contain framing so the full artwork is
 * shown more faithfully.
 */
body.tbd-design-active.single-tbd_chapter .tbd-book-genesis .tbd-chapter-title,
body.tbd-design-active.single-tbd_chapter .tbd-book-exodus .tbd-chapter-title,
body.tbd-design-active.single-tbd_chapter .tbd-book-leviticus .tbd-chapter-title{
    min-height:clamp(600px,45vw,900px)!important;
    background-size:contain!important;
    background-repeat:no-repeat!important;
    background-color:#07142a!important;
}

/* Keep the most important foreground details visible. */
body.tbd-design-active.single-tbd_chapter .tbd-book-genesis .tbd-chapter-title,
body.tbd-design-active.single-tbd_chapter .tbd-book-exodus .tbd-chapter-title,
body.tbd-design-active.single-tbd_chapter .tbd-book-leviticus .tbd-chapter-title{
    background-position:center bottom!important;
}

/* If there is extra space below the image on very wide screens, keep it visually intentional. */
body.tbd-design-active.single-tbd_chapter .tbd-book-genesis .tbd-chapter-title,
body.tbd-design-active.single-tbd_chapter .tbd-book-exodus .tbd-chapter-title,
body.tbd-design-active.single-tbd_chapter .tbd-book-leviticus .tbd-chapter-title{
    box-shadow: inset 0 -80px 120px rgba(7,20,42,.18);
}

/* On tablets, slightly reduce height while still favoring full-image display. */
@media(min-width:761px) and (max-width:1100px){
  body.tbd-design-active.single-tbd_chapter .tbd-book-genesis .tbd-chapter-title,
  body.tbd-design-active.single-tbd_chapter .tbd-book-exodus .tbd-chapter-title,
  body.tbd-design-active.single-tbd_chapter .tbd-book-leviticus .tbd-chapter-title{
      min-height:52vw!important;
      background-size:contain!important;
      background-position:center bottom!important;
  }
}

/* On phones, keep the current more controlled crop so the title remains readable. */
@media(max-width:760px){
  body.tbd-design-active.single-tbd_chapter .tbd-book-genesis .tbd-chapter-title,
  body.tbd-design-active.single-tbd_chapter .tbd-book-exodus .tbd-chapter-title,
  body.tbd-design-active.single-tbd_chapter .tbd-book-leviticus .tbd-chapter-title{
      min-height:360px!important;
      background-size:auto 100%!important;
  }
}


/* ===== Version 2.8.3: exact-aspect image framing =====
   Do not crop the production artwork. The source images are 1916 x 821.
   Desktop/tablet headers now use that exact aspect ratio, and the image is
   stretched only to the matching container dimensions (no cover/contain crop).
*/

body.tbd-design-active.single-tbd_chapter .tbd-book-genesis .tbd-chapter-title,
body.tbd-design-active.single-tbd_chapter .tbd-book-exodus .tbd-chapter-title,
body.tbd-design-active.single-tbd_chapter .tbd-book-leviticus .tbd-chapter-title{
    width:100vw!important;
    height:auto!important;
    min-height:0!important;
    aspect-ratio:1916 / 821!important;
    margin-left:calc(50% - 50vw)!important;
    box-sizing:border-box!important;

    /* Separate overlay from artwork sizing. */
    background-image:
      linear-gradient(90deg,
        rgba(3,12,28,.88) 0%,
        rgba(3,12,28,.76) 27%,
        rgba(3,12,28,.42) 50%,
        rgba(3,12,28,.12) 76%,
        rgba(3,12,28,.05) 100%),
      var(--tbd-book-image)!important;
    background-size:100% 100%, 100% 100%!important;
    background-position:center center, center center!important;
    background-repeat:no-repeat, no-repeat!important;

    padding:
      clamp(38px,4vw,72px)
      max(28px,calc((100vw - 980px)/2))
      clamp(38px,4vw,72px)
      max(28px,calc((100vw - 980px)/2))!important;
}

/* Keep old vector overlays suppressed. */
body.tbd-design-active.single-tbd_chapter .tbd-book-genesis .tbd-chapter-title::after,
body.tbd-design-active.single-tbd_chapter .tbd-book-exodus .tbd-chapter-title::after,
body.tbd-design-active.single-tbd_chapter .tbd-book-leviticus .tbd-chapter-title::after{
    display:none!important;
}

/* Phone screens cannot show a 2.33:1 banner and also keep a large readable title
   without becoming very shallow. Show the full image in a taller frame with
   letterboxing rather than cropping important artwork. */
@media(max-width:760px){
  body.tbd-design-active.single-tbd_chapter .tbd-book-genesis .tbd-chapter-title,
  body.tbd-design-active.single-tbd_chapter .tbd-book-exodus .tbd-chapter-title,
  body.tbd-design-active.single-tbd_chapter .tbd-book-leviticus .tbd-chapter-title{
      aspect-ratio:auto!important;
      min-height:360px!important;
      height:360px!important;
      background-color:#07142a!important;
      background-size:100% 100%, contain!important;
      background-position:center center, center center!important;
      padding:42px 22px!important;
  }
}


/* ===== Version 2.9.0: real chapter art expansion ===== */

/* Use the same proven exact-aspect framing from 2.8.3 for every included real image. */
body.tbd-design-active.single-tbd_chapter .tbd-book-genesis .tbd-chapter-title,
body.tbd-design-active.single-tbd_chapter .tbd-book-exodus .tbd-chapter-title,
body.tbd-design-active.single-tbd_chapter .tbd-book-leviticus .tbd-chapter-title,
body.tbd-design-active.single-tbd_chapter .tbd-book-numbers .tbd-chapter-title,
body.tbd-design-active.single-tbd_chapter .tbd-book-deuteronomy .tbd-chapter-title,
body.tbd-design-active.single-tbd_chapter .tbd-book-joshua .tbd-chapter-title,
body.tbd-design-active.single-tbd_chapter .tbd-book-judges .tbd-chapter-title,
body.tbd-design-active.single-tbd_chapter .tbd-book-ruth .tbd-chapter-title,
body.tbd-design-active.single-tbd_chapter .tbd-book-1-samuel .tbd-chapter-title,
body.tbd-design-active.single-tbd_chapter .tbd-book-2-samuel .tbd-chapter-title,
body.tbd-design-active.single-tbd_chapter .tbd-book-1-kings .tbd-chapter-title,
body.tbd-design-active.single-tbd_chapter .tbd-book-2-kings .tbd-chapter-title{
    width:100vw!important;
    height:auto!important;
    min-height:0!important;
    aspect-ratio:1916 / 821!important;
    margin-left:calc(50% - 50vw)!important;
    box-sizing:border-box!important;
    background-image:
      linear-gradient(90deg,
        rgba(3,12,28,.88) 0%,
        rgba(3,12,28,.76) 27%,
        rgba(3,12,28,.42) 50%,
        rgba(3,12,28,.12) 76%,
        rgba(3,12,28,.05) 100%),
      var(--tbd-book-image)!important;
    background-size:100% 100%,100% 100%!important;
    background-position:center center,center center!important;
    background-repeat:no-repeat,no-repeat!important;
    padding:
      clamp(38px,4vw,72px)
      max(28px,calc((100vw - 980px)/2))
      clamp(38px,4vw,72px)
      max(28px,calc((100vw - 980px)/2))!important;
}

body.tbd-design-active.single-tbd_chapter .tbd-book-genesis .tbd-chapter-title::after,
body.tbd-design-active.single-tbd_chapter .tbd-book-exodus .tbd-chapter-title::after,
body.tbd-design-active.single-tbd_chapter .tbd-book-leviticus .tbd-chapter-title::after,
body.tbd-design-active.single-tbd_chapter .tbd-book-numbers .tbd-chapter-title::after,
body.tbd-design-active.single-tbd_chapter .tbd-book-deuteronomy .tbd-chapter-title::after,
body.tbd-design-active.single-tbd_chapter .tbd-book-joshua .tbd-chapter-title::after,
body.tbd-design-active.single-tbd_chapter .tbd-book-judges .tbd-chapter-title::after,
body.tbd-design-active.single-tbd_chapter .tbd-book-ruth .tbd-chapter-title::after,
body.tbd-design-active.single-tbd_chapter .tbd-book-1-samuel .tbd-chapter-title::after,
body.tbd-design-active.single-tbd_chapter .tbd-book-2-samuel .tbd-chapter-title::after,
body.tbd-design-active.single-tbd_chapter .tbd-book-1-kings .tbd-chapter-title::after,
body.tbd-design-active.single-tbd_chapter .tbd-book-2-kings .tbd-chapter-title::after{
    display:none!important;
}

@media(max-width:760px){
body.tbd-design-active.single-tbd_chapter .tbd-book-genesis .tbd-chapter-title,
body.tbd-design-active.single-tbd_chapter .tbd-book-exodus .tbd-chapter-title,
body.tbd-design-active.single-tbd_chapter .tbd-book-leviticus .tbd-chapter-title,
body.tbd-design-active.single-tbd_chapter .tbd-book-numbers .tbd-chapter-title,
body.tbd-design-active.single-tbd_chapter .tbd-book-deuteronomy .tbd-chapter-title,
body.tbd-design-active.single-tbd_chapter .tbd-book-joshua .tbd-chapter-title,
body.tbd-design-active.single-tbd_chapter .tbd-book-judges .tbd-chapter-title,
body.tbd-design-active.single-tbd_chapter .tbd-book-ruth .tbd-chapter-title,
body.tbd-design-active.single-tbd_chapter .tbd-book-1-samuel .tbd-chapter-title,
body.tbd-design-active.single-tbd_chapter .tbd-book-2-samuel .tbd-chapter-title,
body.tbd-design-active.single-tbd_chapter .tbd-book-1-kings .tbd-chapter-title,
body.tbd-design-active.single-tbd_chapter .tbd-book-2-kings .tbd-chapter-title{
      aspect-ratio:auto!important;
      min-height:360px!important;
      height:360px!important;
      background-color:#07142a!important;
      background-size:100% 100%,contain!important;
      background-position:center center,center center!important;
      padding:42px 22px!important;
}
}


/* ===== Version 3.0.0: complete 39-book Old Testament artwork ===== */
body.tbd-design-active.single-tbd_chapter .tbd-book-genesis .tbd-chapter-title,
body.tbd-design-active.single-tbd_chapter .tbd-book-exodus .tbd-chapter-title,
body.tbd-design-active.single-tbd_chapter .tbd-book-leviticus .tbd-chapter-title,
body.tbd-design-active.single-tbd_chapter .tbd-book-numbers .tbd-chapter-title,
body.tbd-design-active.single-tbd_chapter .tbd-book-deuteronomy .tbd-chapter-title,
body.tbd-design-active.single-tbd_chapter .tbd-book-joshua .tbd-chapter-title,
body.tbd-design-active.single-tbd_chapter .tbd-book-judges .tbd-chapter-title,
body.tbd-design-active.single-tbd_chapter .tbd-book-ruth .tbd-chapter-title,
body.tbd-design-active.single-tbd_chapter .tbd-book-1-samuel .tbd-chapter-title,
body.tbd-design-active.single-tbd_chapter .tbd-book-2-samuel .tbd-chapter-title,
body.tbd-design-active.single-tbd_chapter .tbd-book-1-kings .tbd-chapter-title,
body.tbd-design-active.single-tbd_chapter .tbd-book-2-kings .tbd-chapter-title,
body.tbd-design-active.single-tbd_chapter .tbd-book-1-chronicles .tbd-chapter-title,
body.tbd-design-active.single-tbd_chapter .tbd-book-2-chronicles .tbd-chapter-title,
body.tbd-design-active.single-tbd_chapter .tbd-book-ezra .tbd-chapter-title,
body.tbd-design-active.single-tbd_chapter .tbd-book-nehemiah .tbd-chapter-title,
body.tbd-design-active.single-tbd_chapter .tbd-book-esther .tbd-chapter-title,
body.tbd-design-active.single-tbd_chapter .tbd-book-job .tbd-chapter-title,
body.tbd-design-active.single-tbd_chapter .tbd-book-psalms .tbd-chapter-title,
body.tbd-design-active.single-tbd_chapter .tbd-book-proverbs .tbd-chapter-title,
body.tbd-design-active.single-tbd_chapter .tbd-book-ecclesiastes .tbd-chapter-title,
body.tbd-design-active.single-tbd_chapter .tbd-book-song-of-solomon .tbd-chapter-title,
body.tbd-design-active.single-tbd_chapter .tbd-book-isaiah .tbd-chapter-title,
body.tbd-design-active.single-tbd_chapter .tbd-book-jeremiah .tbd-chapter-title,
body.tbd-design-active.single-tbd_chapter .tbd-book-lamentations .tbd-chapter-title,
body.tbd-design-active.single-tbd_chapter .tbd-book-ezekiel .tbd-chapter-title,
body.tbd-design-active.single-tbd_chapter .tbd-book-daniel .tbd-chapter-title,
body.tbd-design-active.single-tbd_chapter .tbd-book-hosea .tbd-chapter-title,
body.tbd-design-active.single-tbd_chapter .tbd-book-joel .tbd-chapter-title,
body.tbd-design-active.single-tbd_chapter .tbd-book-amos .tbd-chapter-title,
body.tbd-design-active.single-tbd_chapter .tbd-book-obadiah .tbd-chapter-title,
body.tbd-design-active.single-tbd_chapter .tbd-book-jonah .tbd-chapter-title,
body.tbd-design-active.single-tbd_chapter .tbd-book-micah .tbd-chapter-title,
body.tbd-design-active.single-tbd_chapter .tbd-book-nahum .tbd-chapter-title,
body.tbd-design-active.single-tbd_chapter .tbd-book-habakkuk .tbd-chapter-title,
body.tbd-design-active.single-tbd_chapter .tbd-book-zephaniah .tbd-chapter-title,
body.tbd-design-active.single-tbd_chapter .tbd-book-haggai .tbd-chapter-title,
body.tbd-design-active.single-tbd_chapter .tbd-book-zechariah .tbd-chapter-title,
body.tbd-design-active.single-tbd_chapter .tbd-book-malachi .tbd-chapter-title{
    width:100vw!important;
    height:auto!important;
    min-height:0!important;
    aspect-ratio:1916 / 821!important;
    margin-left:calc(50% - 50vw)!important;
    box-sizing:border-box!important;
    background-image:
      linear-gradient(90deg,rgba(3,12,28,.90) 0%,rgba(3,12,28,.77) 27%,rgba(3,12,28,.43) 50%,rgba(3,12,28,.13) 76%,rgba(3,12,28,.05) 100%),
      var(--tbd-book-image)!important;
    background-size:100% 100%,100% 100%!important;
    background-position:center center,center center!important;
    background-repeat:no-repeat,no-repeat!important;
    padding:clamp(38px,4vw,72px) max(28px,calc((100vw - 980px)/2))!important;
}

body.tbd-design-active.single-tbd_chapter .tbd-book-genesis .tbd-chapter-title::after,
body.tbd-design-active.single-tbd_chapter .tbd-book-exodus .tbd-chapter-title::after,
body.tbd-design-active.single-tbd_chapter .tbd-book-leviticus .tbd-chapter-title::after,
body.tbd-design-active.single-tbd_chapter .tbd-book-numbers .tbd-chapter-title::after,
body.tbd-design-active.single-tbd_chapter .tbd-book-deuteronomy .tbd-chapter-title::after,
body.tbd-design-active.single-tbd_chapter .tbd-book-joshua .tbd-chapter-title::after,
body.tbd-design-active.single-tbd_chapter .tbd-book-judges .tbd-chapter-title::after,
body.tbd-design-active.single-tbd_chapter .tbd-book-ruth .tbd-chapter-title::after,
body.tbd-design-active.single-tbd_chapter .tbd-book-1-samuel .tbd-chapter-title::after,
body.tbd-design-active.single-tbd_chapter .tbd-book-2-samuel .tbd-chapter-title::after,
body.tbd-design-active.single-tbd_chapter .tbd-book-1-kings .tbd-chapter-title::after,
body.tbd-design-active.single-tbd_chapter .tbd-book-2-kings .tbd-chapter-title::after,
body.tbd-design-active.single-tbd_chapter .tbd-book-1-chronicles .tbd-chapter-title::after,
body.tbd-design-active.single-tbd_chapter .tbd-book-2-chronicles .tbd-chapter-title::after,
body.tbd-design-active.single-tbd_chapter .tbd-book-ezra .tbd-chapter-title::after,
body.tbd-design-active.single-tbd_chapter .tbd-book-nehemiah .tbd-chapter-title::after,
body.tbd-design-active.single-tbd_chapter .tbd-book-esther .tbd-chapter-title::after,
body.tbd-design-active.single-tbd_chapter .tbd-book-job .tbd-chapter-title::after,
body.tbd-design-active.single-tbd_chapter .tbd-book-psalms .tbd-chapter-title::after,
body.tbd-design-active.single-tbd_chapter .tbd-book-proverbs .tbd-chapter-title::after,
body.tbd-design-active.single-tbd_chapter .tbd-book-ecclesiastes .tbd-chapter-title::after,
body.tbd-design-active.single-tbd_chapter .tbd-book-song-of-solomon .tbd-chapter-title::after,
body.tbd-design-active.single-tbd_chapter .tbd-book-isaiah .tbd-chapter-title::after,
body.tbd-design-active.single-tbd_chapter .tbd-book-jeremiah .tbd-chapter-title::after,
body.tbd-design-active.single-tbd_chapter .tbd-book-lamentations .tbd-chapter-title::after,
body.tbd-design-active.single-tbd_chapter .tbd-book-ezekiel .tbd-chapter-title::after,
body.tbd-design-active.single-tbd_chapter .tbd-book-daniel .tbd-chapter-title::after,
body.tbd-design-active.single-tbd_chapter .tbd-book-hosea .tbd-chapter-title::after,
body.tbd-design-active.single-tbd_chapter .tbd-book-joel .tbd-chapter-title::after,
body.tbd-design-active.single-tbd_chapter .tbd-book-amos .tbd-chapter-title::after,
body.tbd-design-active.single-tbd_chapter .tbd-book-obadiah .tbd-chapter-title::after,
body.tbd-design-active.single-tbd_chapter .tbd-book-jonah .tbd-chapter-title::after,
body.tbd-design-active.single-tbd_chapter .tbd-book-micah .tbd-chapter-title::after,
body.tbd-design-active.single-tbd_chapter .tbd-book-nahum .tbd-chapter-title::after,
body.tbd-design-active.single-tbd_chapter .tbd-book-habakkuk .tbd-chapter-title::after,
body.tbd-design-active.single-tbd_chapter .tbd-book-zephaniah .tbd-chapter-title::after,
body.tbd-design-active.single-tbd_chapter .tbd-book-haggai .tbd-chapter-title::after,
body.tbd-design-active.single-tbd_chapter .tbd-book-zechariah .tbd-chapter-title::after,
body.tbd-design-active.single-tbd_chapter .tbd-book-malachi .tbd-chapter-title::after{display:none!important;}

@media(max-width:760px){
body.tbd-design-active.single-tbd_chapter .tbd-book-genesis .tbd-chapter-title,
body.tbd-design-active.single-tbd_chapter .tbd-book-exodus .tbd-chapter-title,
body.tbd-design-active.single-tbd_chapter .tbd-book-leviticus .tbd-chapter-title,
body.tbd-design-active.single-tbd_chapter .tbd-book-numbers .tbd-chapter-title,
body.tbd-design-active.single-tbd_chapter .tbd-book-deuteronomy .tbd-chapter-title,
body.tbd-design-active.single-tbd_chapter .tbd-book-joshua .tbd-chapter-title,
body.tbd-design-active.single-tbd_chapter .tbd-book-judges .tbd-chapter-title,
body.tbd-design-active.single-tbd_chapter .tbd-book-ruth .tbd-chapter-title,
body.tbd-design-active.single-tbd_chapter .tbd-book-1-samuel .tbd-chapter-title,
body.tbd-design-active.single-tbd_chapter .tbd-book-2-samuel .tbd-chapter-title,
body.tbd-design-active.single-tbd_chapter .tbd-book-1-kings .tbd-chapter-title,
body.tbd-design-active.single-tbd_chapter .tbd-book-2-kings .tbd-chapter-title,
body.tbd-design-active.single-tbd_chapter .tbd-book-1-chronicles .tbd-chapter-title,
body.tbd-design-active.single-tbd_chapter .tbd-book-2-chronicles .tbd-chapter-title,
body.tbd-design-active.single-tbd_chapter .tbd-book-ezra .tbd-chapter-title,
body.tbd-design-active.single-tbd_chapter .tbd-book-nehemiah .tbd-chapter-title,
body.tbd-design-active.single-tbd_chapter .tbd-book-esther .tbd-chapter-title,
body.tbd-design-active.single-tbd_chapter .tbd-book-job .tbd-chapter-title,
body.tbd-design-active.single-tbd_chapter .tbd-book-psalms .tbd-chapter-title,
body.tbd-design-active.single-tbd_chapter .tbd-book-proverbs .tbd-chapter-title,
body.tbd-design-active.single-tbd_chapter .tbd-book-ecclesiastes .tbd-chapter-title,
body.tbd-design-active.single-tbd_chapter .tbd-book-song-of-solomon .tbd-chapter-title,
body.tbd-design-active.single-tbd_chapter .tbd-book-isaiah .tbd-chapter-title,
body.tbd-design-active.single-tbd_chapter .tbd-book-jeremiah .tbd-chapter-title,
body.tbd-design-active.single-tbd_chapter .tbd-book-lamentations .tbd-chapter-title,
body.tbd-design-active.single-tbd_chapter .tbd-book-ezekiel .tbd-chapter-title,
body.tbd-design-active.single-tbd_chapter .tbd-book-daniel .tbd-chapter-title,
body.tbd-design-active.single-tbd_chapter .tbd-book-hosea .tbd-chapter-title,
body.tbd-design-active.single-tbd_chapter .tbd-book-joel .tbd-chapter-title,
body.tbd-design-active.single-tbd_chapter .tbd-book-amos .tbd-chapter-title,
body.tbd-design-active.single-tbd_chapter .tbd-book-obadiah .tbd-chapter-title,
body.tbd-design-active.single-tbd_chapter .tbd-book-jonah .tbd-chapter-title,
body.tbd-design-active.single-tbd_chapter .tbd-book-micah .tbd-chapter-title,
body.tbd-design-active.single-tbd_chapter .tbd-book-nahum .tbd-chapter-title,
body.tbd-design-active.single-tbd_chapter .tbd-book-habakkuk .tbd-chapter-title,
body.tbd-design-active.single-tbd_chapter .tbd-book-zephaniah .tbd-chapter-title,
body.tbd-design-active.single-tbd_chapter .tbd-book-haggai .tbd-chapter-title,
body.tbd-design-active.single-tbd_chapter .tbd-book-zechariah .tbd-chapter-title,
body.tbd-design-active.single-tbd_chapter .tbd-book-malachi .tbd-chapter-title{
      aspect-ratio:auto!important;
      min-height:360px!important;
      height:360px!important;
      background-color:#07142a!important;
      background-size:100% 100%,contain!important;
      background-position:center center,center center!important;
      padding:42px 22px!important;
  }
}

.tbd-privacy-copy{font-size:1.04rem;line-height:1.75}
.tbd-privacy-copy h2{margin:2.1rem 0 .55rem;font-family:Georgia,"Times New Roman",serif;color:#10294d;font-size:clamp(1.35rem,2.5vw,1.8rem)}
.tbd-privacy-copy a{color:#8b5f1e;text-underline-offset:3px}

/* Version 3.2.0 — homepage hero framing fix.
   Match the hero container to the 1916×821 artwork on desktop and disable the
   decorative drift/zoom so the complete composition remains visible. */
@media (min-width:761px){
  .tbd-hero{
    min-height:650px;
    aspect-ratio:1916 / 821;
  }
  .tbd-hero-image{
    background-size:cover;
    background-position:center center;
    transform:none!important;
    animation:none!important;
  }
}

/* Site Design 3.2.1 — Search page visual layer */
.tbd-search-banner{overflow:hidden;min-height:330px;background:
  radial-gradient(circle at 78% 35%,rgba(197,142,59,.18),transparent 24rem),
  linear-gradient(120deg,#06142d 0%,#10294d 62%,#1f3b5e 100%)}
.tbd-search-banner .tbd-wide{position:relative;z-index:3;padding-top:82px;padding-bottom:82px}
.tbd-search-banner h1{max-width:820px}
.tbd-search-banner p:not(.tbd-kicker){max-width:720px;color:rgba(255,255,255,.8);font-size:1.08rem;line-height:1.7}
.tbd-search-compass{position:absolute;right:4vw;top:50%;width:290px;height:290px;transform:translateY(-50%);opacity:.17;z-index:2;pointer-events:none}
.tbd-search-compass svg{width:100%;height:100%}
.tbd-search-compass .cr-ring,.tbd-search-compass .cr-inner,.tbd-search-compass .cr-spoke{stroke:#f5e7c7}
.tbd-search-compass .cr-primary,.tbd-search-compass .cr-secondary,.tbd-search-compass .cr-center,.tbd-search-compass .cr-pin{fill:#c58e3b}
.tbd-search-compass text{fill:#f5e7c7}
.tbd-search-section{background:
  radial-gradient(circle at 8% 12%,rgba(197,142,59,.09),transparent 22rem),
  linear-gradient(180deg,#fbfaf6 0%,#f1f4f7 100%)}
.tbd-search-intro{margin:0 0 30px;padding-bottom:25px;border-bottom:1px solid rgba(7,19,41,.09)}
.tbd-search-intro h2{margin:.1rem 0 .65rem;color:#071329;font-family:Georgia,"Times New Roman",serif;font-size:clamp(1.85rem,3vw,2.7rem)}
.tbd-search-intro p:last-child{margin-bottom:0;color:#5d6570;line-height:1.7}
.tbd-search-form{padding:10px;border:1px solid rgba(197,142,59,.3);border-radius:12px;background:#fff;box-shadow:0 14px 34px rgba(7,19,41,.07)}
.tbd-search-form input{border:0;background:#fbfaf7;box-shadow:inset 0 0 0 1px rgba(7,19,41,.08)}
.tbd-search-form input:focus{outline:2px solid rgba(197,142,59,.45);outline-offset:1px}
.tbd-search-form button{border-radius:8px;background:linear-gradient(135deg,#10294d,#071329);box-shadow:0 5px 14px rgba(7,19,41,.14)}
.tbd-search-lenses{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:24px 0 0}
.tbd-search-lens{min-height:128px;padding:20px 16px;border:1px solid rgba(7,19,41,.08);border-top:2px solid rgba(197,142,59,.75);border-radius:10px;background:rgba(255,255,255,.78);box-shadow:0 8px 22px rgba(7,19,41,.035)}
.tbd-search-lens>span{display:grid;place-items:center;width:34px;height:34px;margin-bottom:12px;border:1px solid rgba(197,142,59,.4);border-radius:50%;color:#8b5e25;font-family:Georgia,"Times New Roman",serif;font-size:.95rem}
.tbd-search-lens strong{display:block;color:#10294d;font-size:.97rem}
.tbd-search-lens small{display:block;margin-top:5px;color:#68717c;line-height:1.4}
.tbd-search-results{padding-top:8px}
@media(max-width:760px){.tbd-search-banner{min-height:300px}.tbd-search-compass{right:-90px;width:245px;height:245px;opacity:.12}.tbd-search-banner .tbd-wide{padding-top:66px;padding-bottom:66px}.tbd-search-lenses{grid-template-columns:repeat(2,minmax(0,1fr))}.tbd-search-form{padding:8px}}
@media(max-width:480px){.tbd-search-lenses{grid-template-columns:1fr}.tbd-search-lens{min-height:0}}

/* Site Design 3.2.2 — reliable block-theme footer + image-first Search page */
body.tbd-design-active > .wp-site-blocks > .tbd-global-footer,
body.tbd-design-active .wp-site-blocks > .tbd-global-footer,
body.tbd-design-active .tbd-global-footer{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
}

.tbd-search-banner{
  position:relative;
  overflow:hidden;
  min-height:430px;
  display:flex;
  align-items:flex-end;
  background:#071329;
  isolation:isolate;
}
.tbd-search-image{
  position:absolute;
  inset:0;
  z-index:0;
  background-image:url('images/homepage-hero.webp');
  background-size:cover;
  background-position:center 54%;
  transform:none;
}
.tbd-search-overlay{
  position:absolute;
  inset:0;
  z-index:1;
  background:
    linear-gradient(90deg,rgba(4,12,28,.78) 0%,rgba(4,12,28,.50) 48%,rgba(4,12,28,.24) 100%),
    linear-gradient(0deg,rgba(4,12,28,.38),transparent 55%);
}
.tbd-search-banner .tbd-wide{
  position:relative;
  z-index:2;
  padding-top:110px;
  padding-bottom:68px;
}
.tbd-search-banner h1{
  max-width:820px;
  margin-bottom:0;
  text-shadow:0 3px 20px rgba(0,0,0,.34);
}
.tbd-search-section{
  padding-top:58px;
  background:linear-gradient(180deg,#fbfaf6 0%,#f1f4f7 100%);
}
.tbd-search-form{
  margin:0;
  padding:10px;
  border:1px solid rgba(197,142,59,.3);
  border-radius:12px;
  background:#fff;
  box-shadow:0 14px 34px rgba(7,19,41,.07);
}
/* Remove the text/card visual layer introduced in 3.2.1. */
.tbd-search-intro,.tbd-search-lenses,.tbd-search-compass{display:none!important}

@media(max-width:760px){
  .tbd-search-banner{min-height:340px}
  .tbd-search-image{background-position:62% center}
  .tbd-search-banner .tbd-wide{padding-top:84px;padding-bottom:48px}
  .tbd-search-section{padding-top:38px}
}


/* 3.2.3 — refined chapter controls above the Chapter Compass */
body.tbd-design-active.single-tbd_chapter .tbd-compact-nav{
    margin:0 0 24px!important;
    padding:18px 24px 17px!important;
    border:1px solid rgba(190,143,63,.34)!important;
    border-radius:18px!important;
    background:
      radial-gradient(circle at 92% 0%,rgba(216,177,95,.13),transparent 24%),
      linear-gradient(135deg,#fffdf8 0%,#fbf7ed 58%,#fff 100%)!important;
    box-shadow:0 12px 30px rgba(22,34,52,.07)!important;
}
body.tbd-design-active.single-tbd_chapter .tbd-compact-nav>label{
    margin-right:6px;
    color:#715b37!important;
    font-size:.78rem!important;
    font-weight:800!important;
    letter-spacing:.02em;
}
body.tbd-design-active.single-tbd_chapter .tbd-compact-nav>select{
    min-width:170px;
    min-height:42px!important;
    margin-right:18px;
    padding:7px 34px 7px 11px!important;
    border:1px solid rgba(64,76,94,.20)!important;
    border-radius:9px!important;
    background-color:rgba(255,255,255,.92)!important;
    box-shadow:inset 0 1px rgba(255,255,255,.85);
}
body.tbd-design-active.single-tbd_chapter .tbd-prev-next-nav{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)!important;
    align-items:center!important;
    gap:18px!important;
    margin-top:16px!important;
    padding-top:17px!important;
    border-top:1px solid rgba(163,117,45,.20)!important;
}
body.tbd-design-active.single-tbd_chapter .tbd-prev-next-nav strong{
    position:relative;
    min-width:145px;
    padding:0 26px 15px;
    color:#142643!important;
    font-family:Georgia,"Times New Roman",serif!important;
    font-size:1.28rem!important;
    font-weight:600!important;
    text-align:center;
    white-space:nowrap;
}
body.tbd-design-active.single-tbd_chapter .tbd-prev-next-nav strong:after{
    content:"✦";
    position:absolute;
    left:50%;
    bottom:-6px;
    transform:translateX(-50%);
    padding:0 10px;
    color:#b1812d;
    background:#fbf7ed;
    font-family:Georgia,"Times New Roman",serif;
    font-size:.88rem;
}
body.tbd-design-active.single-tbd_chapter .tbd-prev-next-nav strong:before{
    content:"";
    position:absolute;
    left:8px;right:8px;bottom:0;
    height:1px;
    background:linear-gradient(90deg,transparent,rgba(181,134,51,.55),transparent);
}
body.tbd-design-active.single-tbd_chapter .tbd-prev-next-nav a{
    display:inline-flex!important;
    align-items:center;
    min-height:34px;
    color:#855b23!important;
    font-size:.93rem!important;
    font-weight:750!important;
    text-decoration:none!important;
}
body.tbd-design-active.single-tbd_chapter .tbd-prev-next-nav .tbd-prev-chapter{justify-self:start}
body.tbd-design-active.single-tbd_chapter .tbd-prev-next-nav .tbd-next-chapter{justify-self:end;text-align:right}
body.tbd-design-active.single-tbd_chapter .tbd-prev-next-nav a:hover{color:#4b3217!important;text-decoration:underline!important;text-decoration-color:#d4b067!important;text-underline-offset:4px}

body.tbd-design-active.single-tbd_chapter .tbd-chapter-jumps{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:14px!important;
    max-width:760px!important;
    margin:-2px auto 30px!important;
}
body.tbd-design-active.single-tbd_chapter .tbd-chapter-jumps a{
    position:relative;
    justify-content:center!important;
    min-height:50px!important;
    padding:10px 20px 10px 54px!important;
    border:1px solid rgba(190,143,63,.42)!important;
    border-radius:999px!important;
    background:linear-gradient(180deg,#fffefb,#fbf6ea)!important;
    color:#142b50!important;
    font-family:Georgia,"Times New Roman",serif!important;
    font-size:.98rem!important;
    font-weight:700!important;
    box-shadow:0 8px 20px rgba(19,35,59,.065)!important;
    transition:transform .16s ease,box-shadow .16s ease,background .16s ease!important;
}
body.tbd-design-active.single-tbd_chapter .tbd-chapter-jumps a:before{
    position:absolute;
    left:11px;top:50%;
    width:32px;height:32px;
    transform:translateY(-50%);
    display:grid;place-items:center;
    border-radius:50%;
    background:#102d55;
    color:#f1d18a;
    font-family:Georgia,"Times New Roman",serif;
    font-size:.9rem;
    line-height:1;
}
body.tbd-design-active.single-tbd_chapter .tbd-chapter-jumps a[href="#tbd-world-behind"]:before{content:"✦"}
body.tbd-design-active.single-tbd_chapter .tbd-chapter-jumps a[href="#comments"]:before{content:"···";font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:1rem;font-weight:900;letter-spacing:-1px}
body.tbd-design-active.single-tbd_chapter .tbd-chapter-jumps a:hover{
    transform:translateY(-1px);
    background:#fffaf0!important;
    box-shadow:0 11px 26px rgba(19,35,59,.10)!important;
}

@media(max-width:760px){
  body.tbd-design-active.single-tbd_chapter .tbd-compact-nav{padding:16px!important}
  body.tbd-design-active.single-tbd_chapter .tbd-compact-nav>label{display:block;margin:8px 0 5px}
  body.tbd-design-active.single-tbd_chapter .tbd-compact-nav>select{width:100%;min-width:0;margin:0 0 4px}
  body.tbd-design-active.single-tbd_chapter .tbd-prev-next-nav{grid-template-columns:1fr 1fr!important;gap:10px!important}
  body.tbd-design-active.single-tbd_chapter .tbd-prev-next-nav strong{grid-column:1/-1;grid-row:1;min-width:0;padding-bottom:14px}
  body.tbd-design-active.single-tbd_chapter .tbd-prev-next-nav .tbd-prev-chapter{grid-column:1;grid-row:2}
  body.tbd-design-active.single-tbd_chapter .tbd-prev-next-nav .tbd-next-chapter{grid-column:2;grid-row:2}
  body.tbd-design-active.single-tbd_chapter .tbd-chapter-jumps{grid-template-columns:1fr!important;max-width:100%!important;margin-bottom:24px!important}
}

/* 3.2.4: slightly stronger chapter-page title hierarchy. */
body.tbd-design-active.single-tbd_chapter .tbd-chapter-title{font-size:clamp(3.55rem,7.6vw,6.8rem)!important;}
@media(max-width:760px){body.tbd-design-active.single-tbd_chapter .tbd-chapter-title{font-size:clamp(3.05rem,17.5vw,5.2rem)!important;}}


/* 3.2.5: coordinated Book + Chapter selector with explicit Go action. */
body.tbd-design-active.single-tbd_chapter .tbd-chapter-go{
  align-self:end;min-height:38px;padding:7px 17px;border:1px solid #b7832d;border-radius:9px;background:#102d55;color:#f4d58c;
  font-weight:800;cursor:pointer;box-shadow:0 4px 10px rgba(18,40,72,.10);transition:transform .15s ease,background .15s ease;
}
body.tbd-design-active.single-tbd_chapter .tbd-chapter-go:hover{transform:translateY(-1px);background:#183b68}
@media(max-width:760px){body.tbd-design-active.single-tbd_chapter .tbd-chapter-go{width:100%;margin-top:6px}}


/* 3.2.7 — chapter navigation integrated into the book-image hero. */
body.tbd-design-active.single-tbd_chapter .tbd-chapter-hero-shell{
  position:relative;
  width:100vw;
  margin:0 0 38px calc(50% - 50vw)!important;
}
body.tbd-design-active.single-tbd_chapter .tbd-chapter-hero-shell .tbd-chapter-title{
  position:relative;
  width:100%!important;
  min-height:310px;
  margin:0!important;
  padding-bottom:118px!important;
  box-sizing:border-box;
}
body.tbd-design-active.single-tbd_chapter .tbd-chapter-hero-shell .tbd-chapter-title:after{
  z-index:0;
}
body.tbd-design-active.single-tbd_chapter .tbd-chapter-hero-shell:after{
  content:"";
  position:absolute;
  left:0;right:0;bottom:0;
  height:150px;
  z-index:2;
  pointer-events:none;
  background:linear-gradient(180deg,transparent 0%,rgba(5,15,31,.34) 30%,rgba(5,15,31,.78) 100%);
}
body.tbd-design-active.single-tbd_chapter .tbd-hero-chapter-nav{
  position:absolute;
  left:max(28px,calc((100vw - 980px)/2));
  right:max(28px,calc((100vw - 980px)/2));
  bottom:22px;
  z-index:5;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);
  align-items:center;
  gap:20px;
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
body.tbd-design-active.single-tbd_chapter .tbd-hero-chapter-nav a,
body.tbd-design-active.single-tbd_chapter .tbd-hero-jump-toggle{
  color:#fff!important;
  text-decoration:none!important;
  text-shadow:0 2px 10px rgba(0,0,0,.58);
}
body.tbd-design-active.single-tbd_chapter .tbd-hero-chapter-nav a{
  display:inline-flex;
  align-items:center;
  min-height:44px;
  padding:8px 10px;
  border-radius:9px;
  font-size:.94rem;
  font-weight:760;
  transition:background .16s ease,transform .16s ease;
}
body.tbd-design-active.single-tbd_chapter .tbd-hero-chapter-nav a:hover,
body.tbd-design-active.single-tbd_chapter .tbd-hero-chapter-nav a:focus-visible{
  background:rgba(255,255,255,.13);
  transform:translateY(-1px);
}
body.tbd-design-active.single-tbd_chapter .tbd-hero-nav-next{text-align:right}
body.tbd-design-active.single-tbd_chapter .tbd-hero-nav-next a{justify-content:flex-end}
body.tbd-design-active.single-tbd_chapter .tbd-hero-nav-center{text-align:center}
body.tbd-design-active.single-tbd_chapter .tbd-hero-jump-toggle{
  appearance:none;
  min-height:42px;
  padding:8px 16px;
  border:1px solid rgba(241,209,138,.72);
  border-radius:999px;
  background:rgba(7,25,49,.50);
  backdrop-filter:blur(5px);
  -webkit-backdrop-filter:blur(5px);
  font-size:.82rem;
  font-weight:760;
  letter-spacing:.015em;
  cursor:pointer;
}
body.tbd-design-active.single-tbd_chapter .tbd-hero-jump-toggle:after{
  content:"  ▾";
  color:#f1d18a;
}
body.tbd-design-active.single-tbd_chapter .tbd-chapter-hero-shell.is-jump-open .tbd-hero-jump-toggle:after{content:"  ▴"}
body.tbd-design-active.single-tbd_chapter .tbd-hero-jump-toggle:hover,
body.tbd-design-active.single-tbd_chapter .tbd-hero-jump-toggle:focus-visible{
  background:rgba(11,37,70,.78);
}
body.tbd-design-active.single-tbd_chapter .tbd-compact-nav.tbd-hero-jump-panel{
  position:absolute!important;
  left:50%!important;
  bottom:78px!important;
  z-index:8!important;
  width:min(620px,calc(100% - 40px))!important;
  max-width:620px!important;
  margin:0!important;
  padding:16px 18px!important;
  transform:translateX(-50%);
  border:1px solid rgba(241,209,138,.48)!important;
  border-radius:14px!important;
  background:rgba(7,22,43,.94)!important;
  box-shadow:0 20px 52px rgba(0,0,0,.34)!important;
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  color:#fff!important;
}
body.tbd-design-active.single-tbd_chapter .tbd-compact-nav.tbd-hero-jump-panel[hidden]{display:none!important}
body.tbd-design-active.single-tbd_chapter .tbd-compact-nav.tbd-hero-jump-panel>label{
  color:#f1d49b!important;
}
body.tbd-design-active.single-tbd_chapter .tbd-compact-nav.tbd-hero-jump-panel>select{
  background:#fff!important;
  color:#071329!important;
}
body.tbd-design-active.single-tbd_chapter .tbd-compact-nav.tbd-hero-jump-panel .tbd-chapter-go{
  min-height:42px!important;
  padding:8px 17px!important;
  border:1px solid #d6aa59!important;
  border-radius:9px!important;
  background:#f1d18a!important;
  color:#071329!important;
  font-weight:800!important;
  cursor:pointer;
}
/* The old chapter navigation card is now represented only by the on-demand hero panel. */
body.tbd-design-active.single-tbd_chapter .tbd-chapter-hero-shell + .tbd-compact-nav{display:none!important}

@media(max-width:760px){
  body.tbd-design-active.single-tbd_chapter .tbd-chapter-hero-shell{
    margin-bottom:28px!important;
  }
  body.tbd-design-active.single-tbd_chapter .tbd-chapter-hero-shell .tbd-chapter-title{
    min-height:330px;
    padding-bottom:142px!important;
  }
  body.tbd-design-active.single-tbd_chapter .tbd-chapter-hero-shell:after{height:185px}
  body.tbd-design-active.single-tbd_chapter .tbd-hero-chapter-nav{
    left:14px;right:14px;bottom:15px;
    grid-template-columns:1fr 1fr;
    gap:7px 10px;
  }
  body.tbd-design-active.single-tbd_chapter .tbd-hero-nav-center{
    grid-column:1/-1;
    grid-row:1;
  }
  body.tbd-design-active.single-tbd_chapter .tbd-hero-nav-prev{grid-column:1;grid-row:2}
  body.tbd-design-active.single-tbd_chapter .tbd-hero-nav-next{grid-column:2;grid-row:2}
  body.tbd-design-active.single-tbd_chapter .tbd-hero-chapter-nav a{
    width:100%;
    padding:7px 6px;
    font-size:.82rem;
  }
  body.tbd-design-active.single-tbd_chapter .tbd-hero-jump-toggle{
    min-height:38px;
    padding:7px 13px;
    font-size:.78rem;
  }
  body.tbd-design-active.single-tbd_chapter .tbd-compact-nav.tbd-hero-jump-panel{
    bottom:108px!important;
    width:calc(100% - 28px)!important;
    padding:14px!important;
  }
  body.tbd-design-active.single-tbd_chapter .tbd-compact-nav.tbd-hero-jump-panel>label{
    display:block!important;
    margin:7px 0 5px!important;
  }
  body.tbd-design-active.single-tbd_chapter .tbd-compact-nav.tbd-hero-jump-panel>select{
    width:100%!important;
    min-width:0!important;
    margin:0 0 7px!important;
  }
  body.tbd-design-active.single-tbd_chapter .tbd-compact-nav.tbd-hero-jump-panel .tbd-chapter-go{
    width:100%;
    margin-top:5px;
  }
}

/* ===== Version 3.2.9: homepage Bible-history gateway ===== */
.tbd-bible-history-home{
    padding:72px 0 78px;
    background:linear-gradient(180deg,#f8f6f1 0%,#edf1f6 100%);
}
.tbd-bible-history-card{
    position:relative;
    overflow:hidden;
    display:grid;
    grid-template-columns:minmax(220px,.72fr) minmax(0,1.6fr);
    min-height:330px;
    border-radius:18px;
    background:
        radial-gradient(circle at 16% 28%,rgba(207,159,80,.22),transparent 23rem),
        linear-gradient(125deg,#071831 0%,#102f50 58%,#4d3a38 100%);
    color:#fff;
    text-decoration:none;
    box-shadow:0 20px 46px rgba(7,19,41,.16);
    transition:transform .18s ease,box-shadow .18s ease;
}
.tbd-bible-history-card::after{
    content:"";
    position:absolute;
    inset:0;
    pointer-events:none;
    background:repeating-linear-gradient(112deg,transparent 0 55px,rgba(255,255,255,.025) 56px 57px);
}
.tbd-bible-history-card:hover{
    transform:translateY(-3px);
    color:#fff;
    box-shadow:0 25px 54px rgba(7,19,41,.21);
}
.tbd-bible-history-copy{
    position:relative;
    z-index:2;
    align-self:center;
    padding:48px 58px 48px 30px;
}
.tbd-bible-history-copy h2{
    margin:.2rem 0 1rem;
    color:#fff;
    font-size:clamp(2.35rem,4.5vw,4.7rem);
    line-height:1.02;
}
.tbd-bible-history-copy>p:not(.tbd-kicker){
    max-width:820px;
    margin:0 0 22px;
    color:rgba(255,255,255,.88);
    font-size:1.08rem;
    line-height:1.75;
}
.tbd-bible-history-copy b{
    color:#f0cf8d;
    font-size:1rem;
}
.tbd-bible-history-mark{
    position:relative;
    z-index:2;
    min-height:330px;
}
.tbd-bh-scroll{
    position:absolute;
    left:50%;
    top:50%;
    width:145px;
    height:205px;
    transform:translate(-50%,-50%) rotate(-6deg);
    border:2px solid rgba(240,207,141,.72);
    border-radius:8px 8px 13px 13px;
    background:linear-gradient(90deg,rgba(241,221,174,.13),rgba(255,255,255,.06),rgba(202,151,76,.14));
    box-shadow:inset 0 0 30px rgba(240,207,141,.06),0 15px 30px rgba(0,0,0,.18);
}
.tbd-bh-scroll::before,.tbd-bh-scroll::after{
    content:"";
    position:absolute;
    left:-12px;
    right:-12px;
    height:17px;
    border:2px solid rgba(240,207,141,.8);
    border-radius:999px;
    background:#17314d;
}
.tbd-bh-scroll::before{top:-10px}.tbd-bh-scroll::after{bottom:-10px}
.tbd-bh-lines{
    position:absolute;
    left:50%;
    top:50%;
    width:88px;
    height:116px;
    transform:translate(-50%,-50%) rotate(-6deg);
    opacity:.7;
    background:repeating-linear-gradient(to bottom,rgba(240,207,141,.62) 0 2px,transparent 2px 14px);
}
@media(max-width:760px){
    .tbd-bible-history-home{padding:52px 0 58px}
    .tbd-bible-history-card{grid-template-columns:1fr;min-height:0}
    .tbd-bible-history-mark{min-height:185px}
    .tbd-bh-scroll{width:100px;height:140px}
    .tbd-bh-lines{width:60px;height:82px}
    .tbd-bible-history-copy{padding:8px 26px 34px}
    .tbd-bible-history-copy h2{font-size:clamp(2.2rem,11vw,3.5rem)}
}

/* ===== Version 3.3.1: cohesive compass brand + real Bible-history visual ===== */
.tbd-brand-mark{
    width:34px;
    height:34px;
    border:0;
    border-radius:50%;
    overflow:visible;
    flex:0 0 34px;
}
.tbd-brand-mark img{
    display:block;
    width:34px;
    height:34px;
    object-fit:contain;
    filter:drop-shadow(0 1px 5px rgba(231,178,73,.16));
}
.tbd-bible-history-card{
    grid-template-columns:minmax(280px,.9fr) minmax(0,1.45fr);
}
.tbd-bible-history-visual{
    position:relative;
    z-index:2;
    min-height:330px;
    overflow:hidden;
    background:#171714;
}
.tbd-bible-history-visual::after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(90deg,rgba(7,24,49,.03) 35%,rgba(7,24,49,.88) 100%),linear-gradient(0deg,rgba(7,24,49,.4),transparent 55%);
    pointer-events:none;
}
.tbd-bible-history-visual img{
    display:block;
    width:100%;
    height:100%;
    min-height:330px;
    object-fit:cover;
    object-position:center;
    filter:saturate(.78) contrast(1.03) brightness(.92);
}
.tbd-bible-history-visual span{
    position:absolute;
    z-index:3;
    left:22px;
    bottom:18px;
    max-width:calc(100% - 44px);
    padding:7px 10px;
    border:1px solid rgba(240,207,141,.28);
    border-radius:999px;
    background:rgba(7,24,49,.72);
    color:rgba(255,255,255,.86);
    font-size:.74rem;
    line-height:1.2;
    letter-spacing:.025em;
    backdrop-filter:blur(4px);
}
@media(max-width:760px){
    .tbd-brand-mark,.tbd-brand-mark img{width:31px;height:31px}.tbd-brand-mark{flex-basis:31px}
    .tbd-bible-history-card{grid-template-columns:1fr}
    .tbd-bible-history-visual,.tbd-bible-history-visual img{min-height:215px;height:215px}
    .tbd-bible-history-visual::after{background:linear-gradient(0deg,rgba(7,24,49,.82) 0%,transparent 58%)}
}

/* 3.3.2: the custom TBD global header is the sole visible site-title treatment. */
body.tbd-design-active .wp-block-site-title{display:none!important}

/* 3.3.4: lexical templates may bypass the block-title filter and wp_body_open(). */
body.tbd-hebrew-lexicon-page .wp-block-site-title,
body.tbd-hebrew-lexicon-page .site-title{display:none!important}
.tbd-hebrew-header-fallback{box-shadow:0 7px 24px rgba(7,19,41,.18)}
.tbd-hebrew-header-fallback .tbd-brand-mark{font-size:.78rem;line-height:1;color:var(--gold)}
body.tbd-hebrew-lexicon-page .tbd-global-header{border-bottom:0!important}
body.tbd-hebrew-lexicon-page .tbd-global-header .tbd-brand{font-size:1.34rem;letter-spacing:.015em}

/* 3.4.4: separated homepage paths reflect the site's expanded directory. */
.tbd-home-path-heading{max-width:820px;margin:0 auto 28px;color:#fff}
.tbd-home-section-heading{max-width:900px;margin:0 auto 36px}.tbd-home-section-heading>p:last-child{max-width:850px;margin:0 auto;color:#58697a;font-size:1.08rem;line-height:1.7}
.tbd-chapter-promise{background:linear-gradient(180deg,#fcfaf5,#eef3f7)}
.tbd-home-path-heading h2{margin:.3rem 0 .65rem;color:#fff}
.tbd-home-path-heading p:last-child{color:rgba(255,255,255,.78)}
.tbd-home-section-heading{max-width:840px;margin:0 auto 34px}.tbd-home-section-heading>p:last-child{color:#596878;font-size:1.05rem;line-height:1.65}
.tbd-home-directory-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.tbd-bible-history-home{background:radial-gradient(circle at 84% 15%,rgba(197,142,59,.2),transparent 30rem),linear-gradient(135deg,#071831,#153a5b 65%,#3f4656)}
.tbd-home-directory-grid>a{display:flex;min-height:245px;padding:28px;flex-direction:column;border:1px solid rgba(226,190,112,.42);border-top:5px solid #d4a749;border-radius:7px 7px 18px 18px;background:linear-gradient(145deg,rgba(255,255,255,.12),rgba(7,24,49,.2));color:#fff!important;text-decoration:none!important;box-shadow:0 12px 28px rgba(3,13,28,.16);transition:transform .18s ease,background .18s ease}
.tbd-home-directory-grid>a:hover{transform:translateY(-3px);background:rgba(255,255,255,.13)}
.tbd-home-directory-grid span{color:#e8c978;font:800 10px/1.3 system-ui,sans-serif;letter-spacing:.12em}
.tbd-home-directory-grid h3{margin:10px 0;color:#fff;font:700 29px/1.2 Georgia,serif}
.tbd-home-directory-grid p{margin:0 0 20px;color:rgba(255,255,255,.78);font:450 15px/1.6 system-ui,sans-serif}
.tbd-home-directory-grid b{margin-top:auto;color:#f0d58f;font:800 13px/1.3 system-ui,sans-serif}
.tbd-research-grid article{display:flex;min-height:285px;flex-direction:column}
.tbd-step-link{display:inline-flex;align-items:center;margin-top:auto;color:#795126!important;font:800 13px/1.35 system-ui,sans-serif;text-decoration:none!important}
.tbd-step-link:hover{text-decoration:underline!important;text-underline-offset:4px}
.tbd-purpose-links{display:flex;flex-wrap:wrap;gap:12px 24px;margin-top:20px}
@media(max-width:760px){.tbd-home-directory-grid{grid-template-columns:1fr}.tbd-home-directory-grid>a{min-height:0}}
@media(max-width:760px){
  .tbd-hebrew-header-fallback .tbd-hebrew-fallback-nav{display:none!important}
  body.tbd-hebrew-lexicon-page .tbd-global-header .tbd-brand{font-size:1.16rem}
}

/* 3.5.6: consistent keyboard focus across shared navigation and controls. */
body.tbd-design-active :where(a,button,input,select,textarea,summary,[tabindex]):focus-visible{
  outline:3px solid #d9a33c!important;
  outline-offset:3px!important;
}

/* 3.7.4: focused, labeled public Bookshelf. */
.tbd-bookshelf{background:#f8f5ee;color:#10233b}
.tbd-bookshelf-hero{position:relative;overflow:hidden;padding:88px 0 76px;background:radial-gradient(circle at 78% 10%,rgba(211,161,62,.25),transparent 28rem),linear-gradient(135deg,#071831,#153c5d 70%,#303f52);color:#fff}
.tbd-bookshelf-hero-inner{position:relative;z-index:2;display:block}
.tbd-bookshelf-hero h1{max-width:900px;margin:.25rem 0 .8rem;color:#fff;font-size:clamp(3rem,6vw,6.2rem);line-height:.96}
.tbd-bookshelf-hero p:last-child{max-width:760px;color:rgba(255,255,255,.82);font-size:1.16rem;line-height:1.7}
.tbd-bookshelf-intro{padding:72px 0 88px}
.tbd-bookshelf-intro-grid{display:grid;grid-template-columns:minmax(260px,.7fr) minmax(0,1.3fr);gap:64px;margin-bottom:42px}
.tbd-bookshelf-intro h2{margin:.3rem 0;color:#10233b;font-size:clamp(2.25rem,4vw,4.2rem);line-height:1.06}
.tbd-bookshelf-intro-grid p{margin:0 0 14px;color:#526273;font-size:1.04rem;line-height:1.75}
.tbd-bookshelf-controls{padding:22px;border:1px solid #dcccae;border-radius:18px;background:#fff;box-shadow:0 12px 30px rgba(21,40,61,.07)}
.tbd-shelf-filter-group+.tbd-shelf-filter-group{margin-top:18px;padding-top:18px;border-top:1px solid #ece3d3}
.tbd-shelf-filter-group>span{display:block;margin-bottom:9px;color:#8b6325;font:800 11px/1.3 system-ui,sans-serif;letter-spacing:.11em;text-transform:uppercase}
.tbd-shelf-filter-group>div{display:flex;flex-wrap:wrap;gap:8px}
.tbd-shelf-filter-group button{padding:9px 13px;border:1px solid #d7c9b2;border-radius:999px;background:#fbfaf7;color:#20364d;font:750 12px/1.2 system-ui,sans-serif;cursor:pointer}
.tbd-shelf-filter-group button[aria-pressed="true"]{border-color:#0e3154;background:#0e3154;color:#fff}
.tbd-shelf-count{margin:22px 0;color:#5a6774;font:650 14px/1.4 system-ui,sans-serif}
.tbd-bookshelf-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.tbd-library-book{display:grid;grid-template-columns:54px minmax(0,1fr);min-height:285px;overflow:hidden;border:1px solid #dcccad;border-radius:6px 18px 18px 6px;background:#fff;box-shadow:0 12px 26px rgba(29,43,59,.075)}
.tbd-library-book[hidden]{display:none!important}
.tbd-book-spine{position:relative;background:linear-gradient(90deg,#78502e,#b17b3d 38%,#8b5d31 86%,#624124)}
.tbd-book-spine:after{content:"";position:absolute;inset:0 10px;border-left:1px solid rgba(255,255,255,.18);border-right:1px solid rgba(0,0,0,.16)}
.tbd-book-spine i{position:absolute;right:-6px;top:0;width:7px;height:100%;background:linear-gradient(90deg,rgba(0,0,0,.17),transparent)}
.tbd-library-book[data-level="intermediate"] .tbd-book-spine{background:linear-gradient(90deg,#183f5d,#2a6684 38%,#1d526e 86%,#123247)}
.tbd-library-book[data-level="advanced"] .tbd-book-spine{background:linear-gradient(90deg,#51435c,#756181 38%,#61516e 86%,#41364a)}
.tbd-library-book-copy{display:flex;flex-direction:column;padding:26px 28px 25px}
.tbd-library-meta{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:12px}.tbd-library-meta span{padding:5px 8px;border-radius:999px;background:#f1eadc;color:#7f5a23;font:800 10px/1.2 system-ui,sans-serif;letter-spacing:.05em;text-transform:uppercase}.tbd-library-meta .tbd-library-kind{background:#e8eef4;color:#244766}
.tbd-library-book h2{margin:0 0 6px;font-size:1.55rem;line-height:1.2}.tbd-library-byline{margin:0 0 14px!important;color:#786145!important;font-weight:700}.tbd-library-book-copy>p:not(.tbd-library-byline){margin:0 0 20px;color:#536271;line-height:1.62}.tbd-library-book a{margin-top:auto;color:#77521d!important;font:800 13px/1.35 system-ui,sans-serif;text-decoration:none!important}.tbd-library-book a:hover{text-decoration:underline!important;text-underline-offset:4px}
.tbd-bookshelf-note{margin-top:34px;padding:28px 30px;border-radius:16px;background:#102c4b;color:#fff}.tbd-bookshelf-note h2{margin:0 0 8px;color:#fff;font-size:1.7rem}.tbd-bookshelf-note p{margin:0;color:rgba(255,255,255,.78);line-height:1.7}
@media(max-width:900px){.tbd-bookshelf-grid{grid-template-columns:1fr}}
@media(max-width:700px){.tbd-bookshelf-hero{padding:62px 0 56px}.tbd-bookshelf-intro{padding:48px 0 64px}.tbd-bookshelf-intro-grid{grid-template-columns:1fr;gap:18px}.tbd-library-book{grid-template-columns:38px minmax(0,1fr);min-height:0}.tbd-library-book-copy{padding:22px 20px}.tbd-library-book h2{font-size:1.35rem}.tbd-bookshelf-controls{padding:18px 15px}}

/* 3.7.7: full-width homepage and image-led Testament choices. */
body.tbd-homepage-active .wp-site-blocks,
body.tbd-homepage-active .wp-site-blocks > main,
body.tbd-homepage-active main.wp-block-group,
body.tbd-homepage-active .wp-block-post-content,
body.tbd-homepage-active .entry-content{
    width:100%!important;
    max-width:none!important;
    margin-left:0!important;
    margin-right:0!important;
    padding-left:0!important;
    padding-right:0!important;
}
.tbd-path-ot{
    background-image:url('images/bible-history-great-isaiah-scroll.jpg');
    background-size:cover;
    background-position:center;
}
.tbd-path-ot:before{
    background:linear-gradient(180deg,rgba(7,19,41,.06) 4%,rgba(7,19,41,.91) 100%);
}
.tbd-path-nt{
    background-image:url('images/new-testament-hero.webp');
    background-size:cover;
    background-position:center;
}
.tbd-path-nt:before{
    background:linear-gradient(180deg,rgba(7,19,41,.06) 4%,rgba(7,19,41,.91) 100%);
}
.tbd-path span{
    display:inline-flex;
    width:max-content;
    max-width:100%;
    padding:6px 10px;
    border-radius:999px;
    background:rgba(7,19,41,.7);
    backdrop-filter:blur(4px);
}

/* 3.7.12: image-led chapter-experience and beyond-the-chapter cards. */
.tbd-research-grid article,
.tbd-home-directory-grid>a{
    position:relative;
    isolation:isolate;
    overflow:hidden;
    background-color:#102b47;
    background-repeat:no-repeat;
    background-size:cover;
    background-position:center;
}
.tbd-research-grid article::before,
.tbd-home-directory-grid>a::before{
    content:"";
    position:absolute;
    inset:0;
    z-index:-1;
    background:linear-gradient(180deg,rgba(7,19,41,.48),rgba(7,19,41,.94));
    transition:background .18s ease;
}
.tbd-research-grid article:hover::before,
.tbd-home-directory-grid>a:hover::before{
    background:linear-gradient(180deg,rgba(7,19,41,.38),rgba(7,19,41,.91));
}
.tbd-research-grid article:nth-child(1){background-image:url('book-images/genesis.jpg');background-position:64% center}
.tbd-research-grid article:nth-child(2){background-image:url('book-images/jeremiah.jpg');background-position:54% center}
.tbd-research-grid article:nth-child(3){background-image:url('book-images/daniel.jpg');background-position:56% center}
.tbd-research-grid article:nth-child(4){background-image:url('book-images/psalms.jpg');background-position:52% center}
.tbd-home-directory-grid>a:nth-child(1){background-image:url('book-images/exodus.jpg');background-position:44% center}
.tbd-home-directory-grid>a:nth-child(2){background-image:url('book-images/ezra.jpg');background-position:54% center}
.tbd-home-directory-grid>a:nth-child(3){background-image:url('book-images/proverbs.jpg');background-position:58% center}
.tbd-home-directory-grid>a:nth-child(4){background-image:url('book-images/esther.jpg');background-position:55% center}
.tbd-research-grid article>*,
.tbd-home-directory-grid>a>*{position:relative;z-index:1}
.tbd-research-grid article{border-top-color:#e2b85f;box-shadow:0 15px 34px rgba(7,19,41,.18)}
.tbd-research-grid span,.tbd-research-grid h3,.tbd-research-grid p{color:#fff!important;text-shadow:0 1px 12px rgba(0,0,0,.34)}
.tbd-research-grid span{color:#f0cf83!important}
.tbd-research-grid .tbd-step-link{color:#f3d58d!important}
.tbd-home-directory-grid>a{border-color:rgba(226,190,112,.55)}
.tbd-home-directory-grid>a:hover{background-color:#102b47}
@media(max-width:760px){
    .tbd-research-grid article{min-height:255px}
    .tbd-home-directory-grid>a{min-height:220px}
}

/* 3.7.13: source-based imagery for the two history destinations. */
.tbd-home-directory-grid>a:nth-child(1){
    background-image:url('images/historical-worlds-cyrus-cylinder.jpg');
    background-position:center 43%;
}
.tbd-home-directory-grid>a:nth-child(2){
    background-image:url('images/bible-history-ketef-hinnom.jpg');
    background-position:center 38%;
}

/* 3.7.36: preserve the intended serif appearance without MailPoet's full
   public webfont catalogue. */
.mailpoet_form [style*="PT Serif"]{
    font-family:Georgia,"Times New Roman",serif!important;
}

/* 3.7.41: Founding Explorers preview. */
.tbd-founders-hero{position:relative;isolation:isolate;overflow:hidden;padding:105px 0 95px;background:radial-gradient(circle at 78% 35%,rgba(198,145,50,.2),transparent 30%),linear-gradient(135deg,#071a33,#123b55);color:#fff}
.tbd-founders-hero-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(260px,.75fr);gap:55px;align-items:center}
.tbd-founders-hero h1{max-width:850px;margin:.12em 0 .25em;color:#fff;font-size:clamp(3.2rem,7vw,6.5rem);line-height:.94}
.tbd-founders-hero p{max-width:720px;color:rgba(255,255,255,.82);font-size:1.16rem;line-height:1.7}
.tbd-founders-hero .tbd-founders-cap{margin:24px 0;color:#f3d28a}
.tbd-founders-hero-mark{display:grid;place-items:center;min-height:350px}
.tbd-founders-hero-mark .tbd-compass-rose{position:static;width:min(390px,100%);opacity:.72;transform:rotate(-8deg)}
.tbd-founders-intro{width:min(920px,100%);margin:0 auto 55px;text-align:center;font-family:Georgia,"Times New Roman",serif;font-size:clamp(1.2rem,2vw,1.55rem);line-height:1.65}
.tbd-founders-benefits{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.tbd-founders-benefits article{position:relative;padding:34px;border:1px solid #d8c6a5;border-radius:18px;background:#fff;box-shadow:0 16px 36px rgba(7,26,51,.07)}
.tbd-founders-benefits article:last-child{grid-column:1/-1}
.tbd-founders-benefits span{display:inline-grid;place-items:center;width:42px;height:42px;margin-bottom:18px;border-radius:50%;background:#102b47;color:#f0c973;font-weight:800}
.tbd-founders-benefits h2{margin:.1em 0 .45em;font-size:clamp(1.45rem,2.5vw,2rem)}
.tbd-founders-offer{padding:85px 0;background:#efe4ce}
.tbd-founders-offer-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(300px,.9fr);gap:55px;align-items:start}
.tbd-founders-offer h2{font-size:clamp(2rem,4vw,3.6rem)}
.tbd-founders-offer li{margin:.8em 0;line-height:1.55}
.tbd-founders-offer aside{padding:34px;border-top:5px solid #c58f32;border-radius:0 0 16px 16px;background:#102b47;color:#fff;box-shadow:0 20px 45px rgba(7,26,51,.16)}
.tbd-founders-offer aside h2{color:#fff;font-size:2rem}
.tbd-founders-offer aside p{color:rgba(255,255,255,.8)}
.tbd-founders-line{font-family:Georgia,"Times New Roman",serif;font-size:1.28rem;font-style:italic}
.tbd-founders-legal{font-size:.9rem;color:#566171}
.tbd-founders-status{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-bottom:65px}
.tbd-founders-status article{padding:28px;border-top:4px solid #c58f32;background:#fff}
.tbd-founders-status h2{font-size:1.65rem}
.tbd-founders-signup{max-width:880px;margin:0 auto;padding:42px;border:1px solid #d8c6a5;border-radius:18px;background:#fff;box-shadow:0 18px 42px rgba(7,26,51,.08)}
.tbd-founders-signup h2{font-size:clamp(2rem,4vw,3.2rem)}
.tbd-founders-signup .mailpoet_form form,.tbd-founders-signup form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end}
.tbd-founders-signup input[type=email]{min-width:0;padding:14px;border:1px solid #bcae95;border-radius:7px;background:#fff}
.tbd-founders-signup input[type=submit],.tbd-founders-signup button{min-height:50px;padding:12px 22px;border:0;border-radius:7px;background:#102b47;color:#fff;font-weight:800}
.tbd-founders-teaser{margin:42px 0;padding:30px;border:1px solid #d8c6a5;border-left:6px solid #c58f32;border-radius:12px;background:#fffaf0}
.tbd-founders-teaser h2{margin-top:.15em}
@media(max-width:800px){.tbd-founders-hero{padding:80px 0 70px}.tbd-founders-hero-grid,.tbd-founders-offer-grid{grid-template-columns:1fr}.tbd-founders-hero-mark{display:none}.tbd-founders-benefits,.tbd-founders-status{grid-template-columns:1fr}.tbd-founders-benefits article:last-child{grid-column:auto}.tbd-founders-signup{padding:28px 22px}.tbd-founders-signup .mailpoet_form form,.tbd-founders-signup form{grid-template-columns:1fr}}
