/* Quiet, consistent surfaces; retain the theme's separate dark-mode palette. */
body:not(.body_dark) .body_wrapper .header .navbar,
body:not(.body_dark) .body_wrapper .mobile_main_menu,
body:not(.body_dark) .gospel-footer {background:#f5f5f5!important;}
.header .header_logo {margin:0;line-height:1;display:block;}
.header .docy-logo-wrapper {flex:0 0 auto;}
body .body_wrapper .header .docy-logo-wrapper .header_logo img {width:280px!important;height:auto!important;max-width:280px!important;max-height:none!important;padding:0!important;object-fit:contain;}
.mobile_main_menu .header_logo {margin:0;line-height:1;display:block;}
body .body_wrapper .mobile_main_menu .docy-logo-wrapper .header_logo img {width:210px!important;max-width:210px!important;height:auto!important;max-height:none!important;padding:0!important;object-fit:contain;}
.gospel-footer img {width:260px;max-width:100%;height:auto;}
@media(min-width:992px) and (max-width:1199px){
 body .body_wrapper .header .docy-logo-wrapper .header_logo img {width:240px!important;max-width:240px!important;}
}
@media(max-width:767px){
 body .body_wrapper .mobile_main_menu .docy-logo-wrapper .header_logo img {width:180px!important;max-width:180px!important;}
 .mobile_main_menu .mobile_menu_left {flex:0 0 auto;}
 .mobile_main_menu .mobile_menu_right {gap:10px!important;}
 .mobile_main_menu .mobile_menu_right>.right-nav {gap:0!important;}
 .mobile_main_menu .mobile_menu_right .darkmode-btn {display:none;}
 .mobile_main_menu .nav_btn {padding:8px 10px!important;font-size:13px!important;white-space:nowrap;}
 .gospel-footer img {width:260px;}
}
@media(max-width:359px){
 body .body_wrapper .mobile_main_menu .docy-logo-wrapper .header_logo img {width:150px!important;max-width:150px!important;}
 .mobile_main_menu .mobile_menu_right {gap:8px!important;}
 .mobile_main_menu .nav_btn {padding:8px!important;font-size:12px!important;}
}
/* Keep the full navigation on one line on smaller desktop/tablet widths. */
@media(min-width:992px) and (max-width:1199px){
 body .body_wrapper .header .docy-logo-wrapper .header_logo img {width:210px!important;max-width:210px!important;}
 .header .menu>.nav-item {margin-left:16px!important;padding:25px 0!important;}
 .header .menu>.nav-item:first-child {margin-left:0!important;}
 .header .menu>.nav-item>.nav-link {font-size:13px!important;white-space:nowrap;}
 .header .right-nav {gap:12px!important;margin-left:20px!important;}
 .header .right-nav .nav_btn {padding:8px 12px!important;white-space:nowrap;}
}

/* The document body already reserves the administrator toolbar height.
   Only a viewport-fixed navigation bar needs the theme's extra toolbar offset. */
body.admin-bar .header .navbar:not(.navbar_fixed) {margin-top:0!important;}
/* The theme's 75px decorative tail must not paint over the footer. */
.doc_documentation_area .doc_left_sidebarlist::after {display:none!important;}

/* Reserve logo geometry before image decoding, and keep navigation steady. */
.header_logo img {aspect-ratio:1280 / 365;}
.header .navbar, .mobile_main_menu {animation:none!important;transition:none!important;transform:none!important;}
.header .navbar {top:0!important;}
@media(min-width:992px){.header .navbar {min-height:100px!important;}}
@media(max-width:991px){
 .mobile_main_menu,.mobile_main_menu.navbar_fixed {padding-top:15px!important;padding-bottom:15px!important;}
}
@media(max-width:767px){
 body.admin-bar {margin-top:46px!important;}
 #gsc-panel .gsc-message li>a {display:block;min-height:44px;padding:10px 0;}
 #gsc-panel summary {min-height:44px;padding:10px 0;}
 #gsc-close {min-width:44px;min-height:44px;line-height:1;}
 #gsc-clear {min-height:44px;}
 #gsc-panel footer {align-items:center;gap:8px;}
}

@media(max-width:767px){html body #back-to-top {right:112px!important;bottom:16px!important;}}

html body .study-reader .sr-tools .gospel-tools-close{display:none!important}
#gospel-tools-backdrop{display:none}
@media screen{
 #gospel-study-tools-toggle{display:block;position:fixed;left:14px;bottom:calc(16px + env(safe-area-inset-bottom,0px));z-index:9998;min-height:44px;padding:10px 14px;border:1px solid #bdb48a;border-radius:24px;background:#fff;color:#62532c;font:600 14px/1.3 sans-serif;box-shadow:0 3px 16px #0002}
 #gospel-tools-backdrop:not([hidden]){display:block;position:fixed;inset:0;background:#0005;z-index:100010;touch-action:none}
 html body .study-reader .sr-tools.gospel-tools-open{display:block!important;position:fixed!important;inset:auto 12px calc(76px + env(safe-area-inset-bottom,0px))!important;width:auto!important;max-width:440px!important;max-height:calc(100dvh - 150px)!important;margin:0 auto!important;padding:20px!important;overflow:auto!important;overscroll-behavior:contain;background:#fff!important;color:#292929!important;z-index:100011!important;border:1px solid #d9d5c8!important;border-radius:18px!important;box-shadow:0 12px 45px #0003}
 html body .study-reader .sr-tools.gospel-tools-open .gospel-tools-close{display:block!important;width:auto!important;min-height:44px;margin:0 0 8px auto!important;padding:8px 12px!important}
 .gospel-tools-open>.sr-label{margin:0 0 16px!important}
 html body .study-reader .sr-prose p{line-height:1.65!important;word-spacing:normal!important;letter-spacing:normal!important;text-align:left!important;margin-top:0!important;margin-bottom:1em!important;white-space:normal!important}
 html body .study-reader .sr-prose strong,html body .study-reader .sr-prose span{word-spacing:normal!important;letter-spacing:normal!important}
}
@media print{#gospel-study-tools-toggle,#gospel-tools-backdrop,.gospel-tools-close{display:none!important}}

@media(min-width:768px){html body .study-reader .sr-tools.gospel-tools-open{inset:auto auto 76px 20px!important;width:400px!important;margin:0!important;max-height:calc(100dvh - 140px)!important}}
@media(max-width:767px){html body #gsc-toggle,html body #back-to-top{bottom:calc(16px + env(safe-area-inset-bottom,0px))!important}}

/* Quiet paths from feast dates to the related study collections. */
.gospel-feast-learn{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px 24px;padding:14px 18px;margin:20px auto 24px;border-top:1px solid #e7e4dc;border-bottom:1px solid #e7e4dc;max-width:1100px;font-size:15px;line-height:1.5;text-align:center}
.gospel-feast-learn>span{color:#73716b;font-size:14px}
.gospel-feast-learn a{color:#806322;text-decoration:underline;text-underline-offset:4px;padding:6px 0;font-weight:500}
.gospel-feast-learn a:hover{color:#514018}
.gospel-feast-learn a:focus-visible{outline:2px solid #a6862e;outline-offset:4px}
.gospel-feast-learn-bottom{margin-top:30px}
@media(max-width:575px){.gospel-feast-learn{gap:0 18px;padding:12px}.gospel-feast-learn>span{width:100%}.gospel-feast-learn a{min-height:44px;display:flex;align-items:center;gap:5px}}

.gospel-feast-learn-bottom{justify-content:flex-start;text-align:left;padding-left:0;padding-right:0;margin-left:0;margin-right:0;max-width:none}

/* Match the reader's desktop rail breakpoint and keep floating controls clear. */
@media screen and (min-width:1200px){
 html body #gospel-study-tools-toggle{display:none!important}
 html body:not(.sr-focus) .study-reader .sr-tools{top:112px!important;max-height:calc(100dvh - 212px)!important;overflow-y:auto;overscroll-behavior:contain;padding-bottom:12px;scrollbar-width:thin;scrollbar-gutter:stable}
 html body.admin-bar:not(.sr-focus) .study-reader .sr-tools{top:144px!important;max-height:calc(100dvh - 244px)!important}
}
@media screen and (max-width:1199px){
 html body #gospel-study-tools-toggle{display:block!important;max-width:calc(100vw - 190px);min-height:44px;bottom:calc(16px + env(safe-area-inset-bottom,0px))!important;transition:opacity .2s ease}
 html body #gospel-study-tools-toggle.gospel-tools-idle{opacity:.7}
 html body #gospel-study-tools-toggle:hover,html body #gospel-study-tools-toggle:focus-visible,html body #gospel-study-tools-toggle[aria-expanded="true"]{opacity:1}
 html body:has(.study-reader) #gsc-toggle{right:14px!important;bottom:calc(16px + env(safe-area-inset-bottom,0px))!important;min-width:78px!important;max-width:90px!important;min-height:44px!important;padding:10px 16px!important}
 html body:has(.study-reader) #back-to-top{right:112px!important;bottom:calc(16px + env(safe-area-inset-bottom,0px))!important;width:44px!important;height:44px!important;line-height:42px!important}
 html body .study-reader .sr-tools.gospel-tools-open{inset:auto 12px calc(16px + env(safe-area-inset-bottom,0px))!important;width:auto!important;max-width:440px!important;margin:0 auto!important;max-height:calc(100dvh - 120px)!important;scroll-padding:16px}
 html body .study-reader .sr-tools.gospel-tools-open>*{margin-bottom:10px}
 html body.gospel-tools-modal{overflow:hidden}
}
html body.gospel-tools-modal #gsc-toggle,html body.gospel-tools-modal #back-to-top,html body.gospel-tools-modal #gospel-study-tools-toggle,
html body:has(#gsc-toggle[aria-expanded="true"]) #gospel-study-tools-toggle,html body:has(#gsc-toggle[aria-expanded="true"]) #back-to-top{visibility:hidden!important;pointer-events:none!important}

@media(prefers-reduced-motion:reduce){html body #gospel-study-tools-toggle{transition:none}}
@media print{html body #gospel-study-tools-toggle{display:none!important}}

/* Keep navigation prominent and consolidate optional reading actions. */
html body .study-reader [data-sr-full]{display:none!important}
html body .study-reader .sr-tools>.sr-jump-wrap{grid-column:1 / -1;min-width:0;margin:4px 0 12px}
html body .study-reader .sr-tools>.sr-jump-wrap select{width:100%;max-width:100%;min-height:44px}
html body .study-reader .sr-share-links [data-sr-copy]{width:100%;margin:12px 0 8px}

/* Shared dark surfaces for custom site sections. */
html body .study-reader .sr-listen,
html body .study-reader .sr-listen-section{display:none!important}
html body.body_dark{color-scheme:dark;--gospel-night:#191c20;--gospel-panel:#24282d;--gospel-text:#eeeae1;--gospel-muted:#c5c1b8;--gospel-gold:#dfc47b;--gospel-border:#505153}
html body.body_dark .body_wrapper .header .navbar,
html body.body_dark .body_wrapper .mobile_main_menu,
html body.body_dark .gospel-footer{background:var(--gospel-panel)!important;color:var(--gospel-text)!important}
html body.body_dark .header .nav-link,html body.body_dark .header .menu>.nav-item>a,
html body.body_dark .gospel-footer :is(p,h2,h3,h4,a,span){color:var(--gospel-text)!important}
html body.body_dark .navbar .dropdown-menu{background:var(--gospel-panel)!important;border-color:var(--gospel-border)!important}
html body.body_dark .navbar .dropdown-menu a{color:var(--gospel-text)!important}
html body.body_dark .navbar .dropdown-menu a:hover{background:#353a40!important;color:var(--gospel-gold)!important}
html body.body_dark #gospel-welcome,
html body.body_dark .gw,
html body.body_dark .gq-page,
html body.body_dark main.gsf{background:var(--gospel-night)!important;color:var(--gospel-text)!important}
html body.body_dark :is(.gw-hub,.gw-card,.gw-topic-card,.gw-faq,.gw-results,.gq-page details,main.gsf fieldset){background:var(--gospel-panel)!important;color:var(--gospel-text)!important;border-color:var(--gospel-border)!important}
html body.body_dark :is(.gw,.gq-page,main.gsf) :is(h1,h2,h3,h4,summary){color:var(--gospel-text)!important}
html body.body_dark :is(.gw,.gq-page,main.gsf) :is(p,label,li){color:var(--gospel-muted)!important}
html body.body_dark :is(.gw,.gq-page,main.gsf) a:not(.gw-pill):not(.gc-start){color:var(--gospel-gold)!important}
html body.body_dark .gw-search,
html body.body_dark .gw-search :is(input,select,button){background:var(--gospel-panel)!important;color:var(--gospel-text)!important;border-color:var(--gospel-border)!important}
html body.body_dark input::placeholder{color:#bcbab4!important;opacity:1}
html body.body_dark .study-reader,
html body.body_dark .study-reader .sr-prose{background:transparent!important;color:var(--gospel-text)!important}
html body.body_dark .study-reader .sr-prose :is(p,li,strong,span){color:inherit!important}
html body.body_dark .study-reader .sr-prose :is(h2,h3,h4){color:var(--gospel-gold)!important}
html body.body_dark .study-reader .sr-tools,
html body.body_dark .study-reader .sr-tools.gospel-tools-open{background:var(--gospel-panel)!important;color:var(--gospel-text)!important;border-color:var(--gospel-border)!important}
html body.body_dark .study-reader .sr-tools :is(button,select,a),
html body.body_dark #gospel-study-tools-toggle{background:var(--gospel-panel)!important;color:var(--gospel-text)!important;border-color:#77705b!important}
html body.body_dark .study-reader .sr-tools :is(p,label,summary,small,.sr-label,.sr-note,.sr-save-note,.sr-status){color:var(--gospel-muted)!important}
html body.body_dark .gospel-feast-learn a{color:var(--gospel-gold)!important}
html body.body_dark .gospel-feast-learn>span{color:var(--gospel-muted)!important}
html body.body_dark .darkmode-btn:focus-within{outline:2px solid var(--gospel-gold);outline-offset:4px}
@media print{html body.body_dark .study-reader .sr-prose{color:#111!important;background:#fff!important}}

html body.body_dark .nav_btn.tp_btn{color:var(--gospel-gold)!important;border-color:#8d8060!important;background:transparent!important}
html body.body_dark .doc-middle-content .shortcode_title h1{color:var(--gospel-text)!important}
html body.body_dark .page_breadcrumb.ezd-breadcrumb{background:var(--gospel-panel)!important;border-color:var(--gospel-border)!important}
html body.body_dark .page_breadcrumb :is(a,span,li){color:var(--gospel-muted)!important}
html body.body_dark .page_breadcrumb a:hover{color:var(--gospel-gold)!important}

/* Brand accents and a quiet transition from browsing to library FAQs. */
html body.body_dark .nav_btn.tp_btn{background:#bba767!important;color:#191c20!important;border-color:#bba767!important}
html body.body_dark .nav_btn.tp_btn:hover,html body.body_dark .nav_btn.tp_btn:focus-visible{background:#dfc47b!important;color:#191c20!important;border-color:#dfc47b!important}
html body.body_dark .nav_btn.tp_btn i{color:inherit!important}
html body #gospel-welcome #welcome-faqs{margin-top:40px!important;padding-top:48px!important;border-top:1px solid #ded9cc}
html body.body_dark #gospel-welcome #welcome-faqs{background:var(--gospel-night)!important;border-top-color:#595342!important}
html body.body_dark #gospel-welcome #welcome-faqs details{background:transparent!important;border-color:#41464c!important}
html body.body_dark #gospel-welcome #welcome-faqs summary{color:var(--gospel-text)!important}
html body.body_dark #gospel-welcome #welcome-faqs summary::marker{color:var(--gospel-gold)}
html body.body_dark #gospel-welcome #welcome-faqs summary:hover,html body.body_dark #gospel-welcome #welcome-faqs details[open] summary{color:var(--gospel-gold)!important}
html body.body_dark #gospel-welcome #welcome-faqs p{color:var(--gospel-muted)!important}
html body.body_dark #gospel-welcome #welcome-faqs a{color:var(--gospel-gold)!important}
@media(max-width:767px){html body #gospel-welcome #welcome-faqs{margin-top:28px!important;padding-top:32px!important}}

/* Continue-study actions and the existing light-lettered brand logo for dark mode. */
html body.body_dark #gospel-welcome .gw-hub .gw-pill{background:#bba767!important;color:#191c20!important;border:1px solid #bba767!important}
html body.body_dark #gospel-welcome .gw-hub .gw-outline{background:#24282d!important;color:#dfc47b!important;border:1px solid #8d8060!important}
html body.body_dark #gospel-welcome .gw-hub :is(.gw-pill,.gw-outline):hover{background:#dfc47b!important;color:#191c20!important;border-color:#dfc47b!important}
html body #gospel-welcome .gw-hub-links a:focus-visible{outline:2px solid #dfc47b;outline-offset:4px}
html body #gospel-welcome .gw-hub-links a{min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:10px}
html body.body_dark .gospel-footer img{content:url("/wp-content/uploads/2026/04/The-Gospel-of-the-Kingdom-brand-logo-11-scaled.png");object-fit:contain}
@media(max-width:575px){html body #gospel-welcome .gw-hub-links{display:flex;flex-direction:column;align-items:stretch;gap:12px;max-width:340px;margin-inline:auto}html body #gospel-welcome .gw-hub-links a{width:100%;box-sizing:border-box}}

/* Supplied stacked footer marks, retaining the original transparent artwork. */
html body .gospel-footer img{content:url("assets/footer-light.png");width:220px!important;height:220px!important;max-width:100%;object-fit:contain}
html body.body_dark .gospel-footer img{content:url("assets/footer-dark.png")}
html body.body_dark .gw :is(.gw-pill,.gw-outline),html body.body_dark .gc-start,html body.body_dark main.gsf button{background:#bba767!important;color:#191c20!important;border-color:#bba767!important}
html body.body_dark .gw :is(svg,.gw-start-label){color:var(--gospel-gold)!important}
html body.body_dark .gw-card :is(small,.gw-empty,.gw-book-preview){color:var(--gospel-muted)!important}
html body.body_dark .gq-page :is(.gq-about,.gq-answer,.gq-studies){background:var(--gospel-panel)!important;color:var(--gospel-text)!important;border-color:var(--gospel-border)!important}
html body.body_dark .gq-page :is(.gq-ref,.gq-eyebrow,.gq-plus){color:var(--gospel-gold)!important}
html body.body_dark .gq-page .gq-studies a{background:var(--gospel-night)!important;color:var(--gospel-gold)!important;border-color:#8d8060!important}
html body.body_dark .gfe{color:var(--gospel-text)!important}
html body.body_dark .gfe :is(h1,h2,h3){color:var(--gospel-gold)!important}
html body.body_dark .gfe :is(p,li,.gfe-time,.gfe-excerpt){color:var(--gospel-muted)!important}
html body.body_dark .gfe :is(.gfe-nav a,.gfe-calendar>summary,.gfe-calendar-panel,.gfe-calendar-links a,.gfe-date){background:var(--gospel-panel)!important;color:var(--gospel-gold)!important;border-color:#8d8060!important}
html body.body_dark .gfe :is(a,summary){color:var(--gospel-gold)!important}
html body.body_dark .gfe :is(.gfe-event,.gfe-description){border-color:var(--gospel-border)!important}
html body.body_dark .gfe-date :is(span,strong){color:var(--gospel-text)!important}
html body.body_dark .doc_left_sidebarlist,html body.body_dark .doc_left_sidebarlist::before{background:var(--gospel-panel)!important}
html body.body_dark .page_breadcrumb :is(.breadcrumb-item,.breadcrumb-item.active){color:var(--gospel-muted)!important}
html body.body_dark #back-to-top{background:var(--gospel-panel)!important;color:var(--gospel-gold)!important;border-color:#8d8060!important}
html body.body_dark #back-to-top i{color:inherit!important}
@media(min-width:1200px) and (max-width:1399px){.header .menu>.nav-item{margin-left:16px!important}.header .menu>.nav-item>.nav-link{white-space:nowrap;font-size:13px!important}.header .right-nav{gap:12px!important;margin-left:20px!important}body .body_wrapper .header .docy-logo-wrapper .header_logo img{width:220px!important;max-width:220px!important}}

html body.body_dark .gospel-footer-bottom{color:var(--gospel-muted)!important;border-color:var(--gospel-border)!important}
html body.body_dark #back-to-top::before,html body.body_dark #back-to-top::after{color:var(--gospel-gold)!important;border-color:var(--gospel-gold)!important}
html body:not(.body_dark) .gospel-footer a{color:#454545!important}

html body.body_dark .sr-mobile-book-nav,html body.body_dark .sr-mobile-book-nav select{background:var(--gospel-panel)!important;color:var(--gospel-text)!important;border-color:var(--gospel-border)!important}
html body.body_dark .sr-mobile-book-nav a{color:var(--gospel-gold)!important}
html body.body_dark .sr-mobile-book-nav label,html body.body_dark .doc-middle-content>.doc-content>p,html body.body_dark .study-reader>p{color:var(--gospel-muted)!important}

@media(max-width:991px){html body .mobile_main_menu .gsf-contact-link{display:none!important}}
html body.body_dark #gsc-panel{background:var(--gospel-night)!important;color:var(--gospel-text)!important;border:1px solid var(--gospel-border)!important;color-scheme:dark}
html body.body_dark #gsc-panel header{background:#bba767!important;color:#191c20!important}
html body.body_dark #gsc-panel header :is(strong,p,button){color:#191c20!important}
html body.body_dark #gsc-messages,html body.body_dark #gsc-form,html body.body_dark #gsc-panel footer{background:var(--gospel-night)!important;color:var(--gospel-muted)!important;border-color:var(--gospel-border)!important}
html body.body_dark #gsc-panel .gsc-message{background:var(--gospel-panel)!important;color:var(--gospel-text)!important;border-color:var(--gospel-border)!important;overflow-wrap:anywhere}
html body.body_dark #gsc-panel .gsc-question{background:#3d3829!important;color:#f3e8c8!important}
html body.body_dark #gsc-panel .gsc-message :is(p,strong,li){color:inherit!important}
html body.body_dark #gsc-panel .gsc-message :is(a,summary){color:var(--gospel-gold)!important}
html body.body_dark #gsc-panel .gsc-message a{text-decoration:underline;text-underline-offset:3px}
html body.body_dark #gsc-panel :is(blockquote,details,small){background:transparent!important;color:var(--gospel-muted)!important;border-color:#8d8060!important}
html body.body_dark #gsc-question{background:var(--gospel-panel)!important;color:var(--gospel-text)!important;border-color:#8d8060!important}
html body.body_dark #gsc-question::placeholder{color:#c5c1b8!important;opacity:1}
html body.body_dark #gsc-send{background:#bba767!important;color:#191c20!important;border-color:#bba767!important}
html body.body_dark #gsc-clear,html body.body_dark #gsc-status,html body.body_dark #gsc-coverage{color:var(--gospel-muted)!important}
html body.body_dark #gsc-panel :is(a,button,input,summary):focus-visible{outline:2px solid var(--gospel-gold)!important;outline-offset:2px}
html body.body_dark .mobile_nav_bottom .gospel-mobile-contact a{color:var(--gospel-text)!important}

/* Responsive photographic headers: search is the home page's focal point. */
html body #gospel-welcome .gw-hero{min-height:clamp(620px,80vh,900px);min-height:clamp(620px,80svh,900px);background-image:linear-gradient(90deg,rgba(13,17,19,.67),rgba(13,17,19,.42)),url('assets/hero-home.jpg');background-position:center,center 58%;background-size:cover;background-repeat:no-repeat}
html body #gospel-welcome .gw-hero-inner{padding:80px 28px 120px;width:min(960px,100%)}
html body #gospel-welcome #gw-title{font-size:clamp(28px,3.1vw,44px);line-height:1.32;max-width:900px;margin-bottom:38px;text-wrap:balance;color:#fff!important}
html body #gospel-welcome .gospel-browse a{color:#f0dca2!important;text-shadow:0 1px 3px #000}
html body #gospel-welcome .gw-search{border:1px solid #b8a66b;box-shadow:0 12px 36px #0004}
html body .gospel-photo-header{min-height:clamp(300px,42vh,500px);min-height:clamp(300px,42svh,500px);padding:64px 28px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;background:linear-gradient(90deg,#11181bc4,#11181b80),url('assets/hero-topics.jpg') center 60%/cover;color:#fff;margin-bottom:54px}
html body .gospel-photo-header.gospel-books-header{background-image:linear-gradient(90deg,#11181bb8,#11181b80),url('assets/hero-books.jpg');background-position:center,center 55%}
html body .gospel-photo-header h1{color:#fff!important;font-size:clamp(28px,3vw,42px)!important;line-height:1.3;max-width:900px;text-wrap:balance;margin:0 0 16px!important}
html body .gospel-photo-header .gw-subtitle{color:#eeeae1!important;max-width:650px;margin:0!important;font-size:17px}
html body .gw-library:has(>.gospel-photo-header){padding-top:0!important}
html body.single-docs .banner-bg .doc_banner_area{min-height:clamp(220px,30vh,360px)!important;min-height:clamp(220px,30svh,360px)!important;padding:40px 24px!important;display:flex;align-items:center;background-image:linear-gradient(90deg,#11181bb8,#11181b80),url('assets/hero-books.jpg')!important;background-position:center,center 56%!important;background-size:cover!important}
html body.single-docs .banner-bg .doc_banner_area:before{background:transparent!important}
html body.single-docs .gospel-study-banner-title{color:#fff!important;text-align:center;font-size:clamp(25px,2.5vw,36px)!important;line-height:1.35!important;text-wrap:balance}
@media(max-width:767px){html body #gospel-welcome .gw-hero{min-height:clamp(580px,82vh,780px);min-height:clamp(580px,82svh,780px);background-position:center,56% center}html body #gospel-welcome .gw-hero-inner{padding:56px 22px 120px}html body #gospel-welcome #gw-title{font-size:clamp(26px,6.7vw,34px);margin-bottom:30px}html body .gospel-photo-header{min-height:clamp(280px,40svh,430px);padding:48px 24px;margin-bottom:36px}html body .gospel-photo-header .gw-subtitle{font-size:16px}html body.single-docs .banner-bg .doc_banner_area{min-height:clamp(190px,28svh,280px)!important}}

/* Edge-to-edge photos with centred reading content beneath. */
html body .gospel-photo-header{box-sizing:border-box;width:var(--gospel-banner-width,100vw);max-width:none;margin-left:calc((100% - var(--gospel-banner-width,100vw))/2);margin-right:calc((100% - var(--gospel-banner-width,100vw))/2);border-radius:0}
html body .gospel-banner-container{padding-top:0!important}
html body .gospel-photo-host,html body .gfe:has(.gospel-photo-header),html body .gq:has(.gospel-photo-header){padding-top:0!important}
html body .gospel-photo-header p{color:#fff!important;max-width:720px;font-size:17px;line-height:1.65;margin:0!important}
html body .gospel-photo-header .gq-eyebrow{margin-bottom:14px!important;color:#f0dca2!important}
html body .gospel-contact-header{background-image:linear-gradient(90deg,#11181b99,#11181b73),url('assets/hero-contact.jpg');background-position:center,center 55%}
html body .gospel-questions-header{background-image:linear-gradient(90deg,#11181b99,#11181b73),url('assets/hero-questions.jpg');background-position:center,center 62%}
html body .gospel-feasts-header{background-image:linear-gradient(90deg,#11181b99,#11181b73),url('assets/hero-topics.jpg')}
html body #gospel-welcome .gw-hero{background-image:linear-gradient(90deg,rgba(13,17,19,.27),rgba(13,17,19,.12)),url('assets/hero-home.jpg')}
html body #gospel-welcome #gw-title{text-shadow:0 2px 12px #0009}
@media(max-width:767px){html body .gospel-photo-header p{font-size:16px}}

html body .gq-page:has(.gospel-photo-header){padding-top:var(--gospel-nav-height,100px)!important}
html body .gq-intro.gospel-photo-host{max-width:none;width:100%;margin-bottom:0}
html body .gospel-photo-header h1{font-family:Raleway,sans-serif!important;font-weight:600!important}

/* Restore the original welcome photo and give the feast calendar its own image. */
html body #gospel-welcome .gw-hero{background-image:linear-gradient(90deg,rgba(13,17,19,.40),rgba(13,17,19,.30)),url('assets/hero-home-original.jpg');background-position:center,center 60%}
html body .gospel-feasts-header{background-image:linear-gradient(90deg,rgba(13,17,19,.65),rgba(13,17,19,.53)),url('assets/hero-feasts.jpg');background-position:center,center 53%}

/* Render the footer mark as a regular eagerly loaded image, not CSS replacement content. */
html body .gospel-footer img,html body.body_dark .gospel-footer img{content:normal!important;opacity:1!important;visibility:visible!important;display:block!important}

/* Align the visible artwork, excluding the transparent canvas around the logo. */
html body .gospel-footer-grid{align-items:start}
html body .gospel-footer-grid>div:first-child>a{display:block;position:relative;width:154px;height:116px;overflow:hidden;margin:0 0 22px}
html body .gospel-footer-grid>div:first-child>a img{position:absolute;left:-33px;top:-51px;width:220px!important;height:220px!important;max-width:none!important;margin:0!important}
html body .docy-footer .e-con-inner{padding-top:0!important;padding-bottom:0!important}
html body .docy-footer{margin-bottom:0!important;padding-bottom:0!important;background:#f5f5f5!important}
html body.body_dark .docy-footer{background:var(--gospel-panel)!important}
html{background:#f5f5f5!important}
html:has(body.body_dark){background:var(--gospel-panel,#25282b)!important}
html body .e-con-inner:has(#gospel-welcome){padding-top:0!important}
html body .header,html body .mobile_main_menu{border:0!important;box-shadow:none!important}
html body .header .navbar{border:0!important;box-shadow:none!important}

html body{height:auto!important;min-height:100vh}

/* Viewport-height welcome and centred study navigation. */
html body #gospel-welcome .gw-hero{min-height:calc(100vh - var(--gospel-hero-top,100px));min-height:calc(100svh - var(--gospel-hero-top,100px))}
html body #gospel-welcome .gw-start{animation:gospel-start-bounce 2.4s ease-in-out infinite;white-space:nowrap}
@keyframes gospel-start-bounce{0%,20%,50%,80%,100%{transform:translate(-50%,0)}40%{transform:translate(-50%,-10px)}60%{transform:translate(-50%,-5px)}}
html body #gospel-welcome .gw-start:hover,html body #gospel-welcome .gw-start:focus-visible{animation-play-state:paused}
@media(prefers-reduced-motion:reduce){html body #gospel-welcome .gw-start{animation:none}}
html body .header .search-icon,html body .mobile_main_menu .search-icon{display:none!important}
/* Center each FAQ question and disclosure arrow beneath the section heading. */
html body #welcome-faqs details{max-width:800px;margin-inline:auto;text-align:left;box-sizing:border-box}
html body #welcome-faqs summary{display:flex;align-items:baseline;justify-content:center;gap:.45em;list-style:none;text-align:center;overflow-wrap:anywhere}
html body #welcome-faqs summary::-webkit-details-marker{display:none}
html body #welcome-faqs summary::before{content:'▸';display:block;flex:0 0 1em;width:1em;text-align:center;transform-origin:center}
html body #welcome-faqs details[open] summary::before{transform:rotate(90deg)}
html body #welcome-faqs details p{max-width:none;margin:12px 0 0;padding-inline:0;text-align:center;overflow-wrap:anywhere}
html body .gw-hub{box-sizing:border-box;width:var(--gospel-banner-width,100vw);max-width:none;margin-left:calc((100% - var(--gospel-banner-width,100vw))/2);margin-right:calc((100% - var(--gospel-banner-width,100vw))/2);border-radius:0}

/* Keep the scroll invitation comfortably inside the opening screen. */
html body #gospel-welcome .gw-start{bottom:40px}

/* Make the study invitation prominent and stationary. */
html body #gospel-welcome .gw-start{animation:none;font-size:20px;font-weight:600;line-height:1.4;text-shadow:0 1px 5px rgba(0,0,0,.5)}
html body #gospel-welcome .gw-start span{font-size:36px;line-height:1.2}

/* Slim gold study invitation with a double chevron. */
html body #gospel-welcome .gw-start{font-size:15px;font-weight:400;color:var(--gospel-gold,#a17a24)!important;text-shadow:none;animation:none}
html body #gospel-welcome .gw-start span{position:relative;display:block;width:20px;height:25px;margin:7px auto 0;font-size:0;line-height:0}
html body #gospel-welcome .gw-start span::before,html body #gospel-welcome .gw-start span::after{content:'';position:absolute;left:4px;width:12px;height:12px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg)}
html body #gospel-welcome .gw-start span::before{top:0}
html body #gospel-welcome .gw-start span::after{top:8px}

/* Pale gold remains legible over the welcome photograph. */
html body #gospel-welcome .gw-start{color:#f2d995!important}

html body #gospel-welcome .gw-start{color:#fff!important}

html body #gospel-welcome .gw-start,html body #gospel-welcome .gw-start:is(:hover,:focus,:active,:visited){text-decoration:none!important;border-bottom:0!important;box-shadow:none!important}

/* Keep focused fields readable without Safari's small-input zoom. */
@media(max-width:1366px){
 html body #gospel-welcome .gw-search :is(input,select),html body #gsc-question{font-size:16px!important}
 html body #gospel-welcome .gw-hero-inner{min-width:0;max-width:100%;box-sizing:border-box}
 html body #gospel-welcome :is(.gw-search,.gw-results){width:100%;min-width:0;max-width:820px;box-sizing:border-box}
 html body #gospel-welcome .gw-search input{min-width:0;flex:1 1 0%;width:0}
 html body #gospel-welcome .gw-search button{flex-shrink:0}
 html body #gospel-welcome .gw-results{overflow-wrap:anywhere}
 html body #gospel-welcome .gospel-browse{flex-wrap:wrap}
 /* Place the chat inside the visible viewport, including above the keyboard. */
 html body #gsc-panel{top:calc(var(--gospel-visible-top,0px) + 8px + env(safe-area-inset-top,0px));bottom:auto!important;right:12px!important;left:auto!important;width:calc(100% - 24px)!important;max-width:410px;box-sizing:border-box;height:590px;max-height:calc(var(--gospel-visible-height,100dvh) - 24px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px))!important}
 html body #gsc-panel:not([hidden]){display:flex;flex-direction:column}
 html body #gsc-panel[hidden]{display:none!important}
 html body #gsc-panel>header,html body #gsc-form,html body #gsc-panel>footer,html body #gsc-status{flex-shrink:0}
 html body #gsc-messages{min-height:0;flex:1 1 0%;overflow-y:auto;overscroll-behavior:contain;overflow-wrap:anywhere}
 html body #gsc-form{min-width:0}
 html body #gsc-question{min-width:0;width:0;flex:1 1 0%}
 html body #gsc-panel>header>div{min-width:0}
 html body #gsc-panel>footer{flex-wrap:wrap}
}

/* Follow the document-relative visible viewport, including Safari keyboard panning. */
@media(max-width:1366px){
 html body #gsc-panel{position:absolute!important;top:calc(var(--gospel-visible-top,0px) + 8px + env(safe-area-inset-top,0px))!important;left:var(--gospel-chat-left,12px)!important;right:auto!important;width:var(--gospel-chat-width,calc(100% - 24px))!important;min-height:0!important;overflow:hidden}
 html body #gsc-panel.gospel-chat-compact>header p,html body #gsc-panel.gospel-chat-compact>footer{display:none!important}
 html body #gsc-panel.gospel-chat-compact>header{padding:10px 14px}
}

html body #gsc-panel{z-index:100001!important}

/* Quiet next steps at the end of a study. */
.gospel-study-next{border-top:1px solid #e5e1d8;margin-top:32px;padding:24px 0 8px}
.gospel-study-next h2{font-size:20px!important;line-height:1.4;margin:0 0 14px!important;color:inherit}
.gospel-study-next ul{list-style:none!important;padding:0!important;margin:0 0 12px!important;display:grid;gap:12px}
.gospel-study-next li{margin:0!important;padding:0!important}
.gospel-study-next a{color:#806322;line-height:1.6;text-underline-offset:4px}
.gospel-study-next .gospel-study-all{font-size:14px}
.gospel-study-feedback{padding-top:20px!important;margin-top:20px!important;align-items:center;gap:16px}
.gospel-study-feedback p{margin:0!important;font-size:15px!important;line-height:1.6}
.gospel-study-feedback p.left a{color:#806322}
.gospel-study-feedback .h_btn{background:transparent!important;border:1px solid #b7a56f!important;color:#806322!important;border-radius:6px!important;padding:6px 14px!important;min-width:52px;box-shadow:none!important}
.gospel-study-feedback .h_btn:hover{background:#f5f1e6!important}
.gospel-study-next a:focus-visible,.gospel-study-feedback a:focus-visible{outline:2px solid #a6862e;outline-offset:4px}
body.body_dark .gospel-study-next a,body.body_dark .gospel-study-feedback p.left a,body.body_dark .gospel-study-feedback .h_btn{color:#e0ca8b!important}
@media(max-width:767px){.gospel-study-feedback{display:flex!important;flex-direction:column;align-items:flex-start}.gospel-study-feedback p.right{text-align:left!important;display:flex;gap:12px;flex-wrap:wrap;align-items:center}}

/* A quiet, coordinated pair of floating controls. */
html body #gsc-toggle#gsc-toggle{display:flex!important;align-items:center;justify-content:center;gap:8px;background:#171717!important;color:#fff!important;border:1px solid #343434!important;border-radius:14px!important;width:104px!important;min-width:104px!important;max-width:104px!important;height:48px!important;min-height:48px!important;padding:0 14px!important;font-size:15px!important;font-weight:500!important;line-height:1!important;box-shadow:0 4px 16px #0002!important;transition:background .2s,box-shadow .2s!important}
html body #gsc-toggle#gsc-toggle svg{width:20px;height:20px;flex:none}
html body #back-to-top#back-to-top{width:48px!important;height:48px!important;line-height:48px!important;right:138px!important;bottom:20px!important;border-radius:14px!important;border:1px solid #d9d9d9!important;background:#fff!important;color:#171717!important;box-shadow:0 4px 16px #00000014!important;text-decoration:none!important}
html body #back-to-top#back-to-top::before,html body #back-to-top#back-to-top::after{content:none!important;display:none!important}
html body #back-to-top#back-to-top svg{width:21px;height:21px;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%)}
html body #gsc-toggle#gsc-toggle:hover{background:#303030!important}
html body #back-to-top#back-to-top:hover{background:#f2f2f2!important;color:#171717!important}
html body #gsc-toggle#gsc-toggle:focus-visible,html body #back-to-top#back-to-top:focus-visible,.gospel-open-chat:focus-visible{outline:2px solid #a6862e!important;outline-offset:4px}
.gospel-study-feedback .gospel-open-chat{font:inherit;font-weight:500;background:transparent;border:0;padding:8px 0;color:#806322;cursor:pointer;text-align:left;min-height:44px}
.gospel-study-feedback .gospel-open-chat:hover{color:#292929}
body.body_dark .gospel-open-chat{color:#e0ca8b}
@media(max-width:767px){html body #gsc-toggle#gsc-toggle,html body:has(.study-reader) #gsc-toggle#gsc-toggle{right:14px!important}html body #back-to-top#back-to-top,html body:has(.study-reader) #back-to-top#back-to-top{right:130px!important;width:48px!important;height:48px!important;bottom:calc(16px + env(safe-area-inset-bottom,0px))!important}}
@media(prefers-reduced-motion:reduce){html body #gsc-toggle#gsc-toggle,html body #back-to-top#back-to-top{transition:none!important}}

/* A focused landing view and monochrome conversation panel. */
#gospel-welcome .gospel-browse,.gospel-welcome .gospel-browse{display:none!important}
html body #gsc-toggle#gsc-toggle:not(.gospel-chat-ready){visibility:hidden!important;opacity:0!important;pointer-events:none!important}
html body #gsc-panel#gsc-panel{background:#fafafa!important;color:#202020!important;border:1px solid #ddd!important;border-radius:18px!important;box-shadow:0 16px 48px #0003!important}
html body #gsc-panel#gsc-panel header{background:#171717!important;color:#fff!important;border-bottom:1px solid #303030}
html body #gsc-panel#gsc-panel header strong{color:#fff!important;font-size:21px;font-weight:600;letter-spacing:-.3px}
html body #gsc-panel#gsc-panel header p{color:#d2d2d2!important;font-size:13px;line-height:1.5}
html body #gsc-panel#gsc-panel #gsc-close{color:#fff!important;background:transparent!important;border:1px solid #555;border-radius:8px;line-height:1;min-height:36px}
html body #gsc-panel#gsc-panel #gsc-messages{background:#fafafa!important;color:#202020!important}
html body #gsc-panel#gsc-panel .gsc-message{background:#fff!important;border:1px solid #e5e5e5!important;color:#292929!important;border-radius:12px;font-size:15px;line-height:1.65}
html body #gsc-panel#gsc-panel .gsc-question{background:#ededed!important;color:#202020!important;border-color:#e2e2e2!important}
html body #gsc-panel#gsc-panel .gsc-message :is(a,summary){color:#292929!important;text-decoration:underline;text-underline-offset:3px}
html body #gsc-panel#gsc-panel blockquote{background:#f4f4f4!important;border-color:#777!important;color:#444!important}
html body #gsc-panel#gsc-panel :is(#gsc-form,footer,#gsc-status){background:#fafafa!important;color:#626262!important;border-color:#e1e1e1!important}
html body #gsc-panel#gsc-panel #gsc-question{background:#fff!important;color:#222!important;border:1px solid #cfcfcf!important;border-radius:10px;box-shadow:none!important;font-size:16px!important}
html body #gsc-panel#gsc-panel #gsc-question::placeholder{color:#777!important}
html body #gsc-panel#gsc-panel #gsc-send{background:#171717!important;color:#fff!important;border-radius:10px;border:1px solid #171717!important;font-weight:500}
html body #gsc-panel#gsc-panel #gsc-send:hover{background:#333!important}
html body #gsc-panel#gsc-panel :is(button,input,a,summary):focus-visible{outline:2px solid #777!important;outline-offset:2px}
html body.body_dark #gsc-panel#gsc-panel{background:#202020!important;color:#eee!important;border-color:#454545!important;color-scheme:dark}
html body.body_dark #gsc-panel#gsc-panel :is(#gsc-messages,#gsc-form,footer,#gsc-status){background:#202020!important;color:#ccc!important;border-color:#444!important}
html body.body_dark #gsc-panel#gsc-panel .gsc-message{background:#292929!important;color:#eee!important;border-color:#414141!important}
html body.body_dark #gsc-panel#gsc-panel .gsc-question{background:#363636!important}
html body.body_dark #gsc-panel#gsc-panel .gsc-message :is(a,summary){color:#eee!important}
html body.body_dark #gsc-panel#gsc-panel blockquote{background:#333!important;color:#ddd!important}
html body.body_dark #gsc-panel#gsc-panel #gsc-question{background:#292929!important;color:#fff!important;border-color:#666!important}
html body.body_dark #gsc-panel#gsc-panel #gsc-question::placeholder{color:#bcbcbc!important}

/* Brand accents, with black remaining the primary chat color. */
html body #gsc-panel#gsc-panel header{align-items:center;border-bottom:3px solid #b09a55;padding:22px 20px}
html body #gsc-panel#gsc-panel header strong{font-size:24px;line-height:1.25;letter-spacing:-.4px}
html body #gsc-panel#gsc-panel header p{display:none}
html body #gsc-panel#gsc-panel .gsc-message :is(a,summary){color:#806322!important}
html body #gsc-panel#gsc-panel blockquote{border-color:#b09a55!important}
html body #gsc-panel#gsc-panel :is(button,input,a,summary):focus-visible{outline-color:#b09a55!important}
html body #gsc-panel#gsc-panel #gsc-send:hover{border-color:#b09a55!important}
html body.body_dark #gsc-panel#gsc-panel .gsc-message :is(a,summary){color:#e0ca8b!important}
html body #gsc-toggle#gsc-toggle{opacity:1;transform:translateY(0);transition:opacity .4s ease,transform .4s cubic-bezier(.22,1,.36,1),visibility 0s,background .2s,box-shadow .2s!important}
html body #gsc-toggle#gsc-toggle:not(.gospel-chat-ready){transform:translateY(12px);transition:opacity .25s ease,transform .25s ease,visibility 0s .25s!important}
@media(max-width:600px){html body #gsc-panel#gsc-panel header{padding:18px 16px}html body #gsc-panel#gsc-panel header strong{font-size:22px}}
@media(prefers-reduced-motion:reduce){html body #gsc-toggle#gsc-toggle,html body #gsc-toggle#gsc-toggle:not(.gospel-chat-ready){transition:none!important;transform:none!important}}

/* Flexible focus reading, with comfortable viewport gutters on every device. */
@media screen{
 html body.sr-focus #sticky_doc>.ezd-container-fluid{max-width:var(--sr-reading-width,850px)!important;width:calc(100% - 48px)!important}
 html body.sr-focus .study-reader .sr-prose{width:100%!important;max-width:none!important;min-width:0;overflow-wrap:break-word}
 html body .study-reader .sr-width-control{display:grid;gap:6px;grid-column:1/-1;font:13px/1.5 Arial,sans-serif;color:inherit}
 html body .study-reader .sr-width-control select{width:100%;min-height:44px;padding:8px;border:1px solid var(--sr-line);border-radius:7px;background:#fff;color:#303136}
 html body.body_dark.sr-focus,html body.body_dark.sr-focus #sticky_doc{background:#171819!important}
 html body.body_dark .study-reader{--sr-ink:#e8e5de;--sr-paper:#252628;--sr-line:#454648;--sr-gold:#d4b76a;color:var(--sr-ink)}
 html body.body_dark .study-reader .sr-prose,html body.body_dark .study-reader .sr-prose :is(p,li,strong,em,blockquote,td,th){color:#e8e5de!important;background-color:transparent!important}
 html body.body_dark .study-reader :is(.sr-focus-title,.sr-prose h2,.sr-prose h3,.sr-prose a){color:#dec684!important}
 html body.body_dark .study-reader :is(.sr-tools,.sr-tools.gospel-tools-open){background:#202123!important;color:#e8e5de!important;border-color:#454648!important}
 html body.body_dark .study-reader :is(button,select,.sr-tools a,.sr-exit,.sr-focus-toggle){background:#292a2c!important;color:#f0ede6!important;border-color:#505153!important}
 html body.body_dark .study-reader :is(.sr-note,.sr-label,summary,label){color:#cbc7be!important}
 html body.body_dark .study-reader [data-sr-dark][aria-pressed="true"]{border-color:#d4b76a!important}
}
@media screen and (max-width:767px){html body.sr-focus #sticky_doc>.ezd-container-fluid{width:calc(100% - 28px)!important}}

/* Adjustable reading controls and narrow-screen containment. */
@media screen{
 html body .study-reader .sr-width-control input[type=range]{display:block;width:100%;min-width:0;max-width:100%;height:44px;margin:0;padding:0;accent-color:#a68a39;cursor:pointer;box-sizing:border-box}
 html body .study-reader .sr-width-value{font-size:12px;color:inherit;text-align:right}
 html body .study-reader [data-sr-dark]{display:flex!important;justify-content:space-between;align-items:center;gap:12px;grid-column:1/-1;min-height:48px}
 html body .study-reader .sr-theme-track{display:block;width:42px;height:24px;flex:0 0 42px;border-radius:20px;background:#777;position:relative}
 html body .study-reader .sr-theme-track>span{position:absolute;left:3px;top:3px;width:18px;height:18px;border-radius:50%;background:#fff;transition:transform .2s ease}
 html body .study-reader [data-sr-dark][aria-checked=true] .sr-theme-track{background:#a68a39}
 html body .study-reader [data-sr-dark][aria-checked=true] .sr-theme-track>span{transform:translateX(18px)}
 html body .study-reader :is(.sr-prose,.sr-prose p,.sr-prose li,.sr-prose h2,.sr-prose h3){min-width:0;overflow-wrap:anywhere}
 html body .study-reader .sr-prose :is(img,video,svg){max-width:100%;height:auto}
 html body .study-reader .sr-prose table{display:block;max-width:100%;overflow-x:auto}
 html body .study-reader .sr-prose pre{white-space:pre-wrap;overflow-wrap:anywhere;max-width:100%}
 html body .study-reader .sr-tools :is(select,input,button,a){box-sizing:border-box;max-width:100%;min-width:0}
}
@media screen and (max-width:767px){
 html body .study-reader .sr-tools{box-sizing:border-box;max-width:calc(100vw - 24px)!important;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain}
 html body.sr-focus.sr-focus-tools .study-reader .sr-tools{max-height:calc(100dvh - 90px - env(safe-area-inset-bottom,0px))!important}
 html body .study-reader .sr-tools :is(select,input:not([type=range])){font-size:16px!important}
 html body .study-reader .sr-extra-inner{grid-template-columns:minmax(0,1fr)!important}
 html body .study-reader .sr-extra-inner>*{grid-column:1/-1!important}
 html body .study-reader .sr-prose{max-width:100%!important;width:100%;box-sizing:border-box}
 html body .study-reader .sr-tools :is(button,a){white-space:normal}
}
@media(prefers-reduced-motion:reduce){.sr-theme-track>span{transition:none!important}}

/* Balance navigation between the brand and Questions action. */
@media(min-width:992px){
 html body .header .navbar>.container{display:grid!important;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:16px}
 html body .header #navbarSupportedContent{display:contents!important}
 html body .header .docy-logo-wrapper{justify-self:start}
 html body .header #menu-the-gospel-menu{justify-self:center;margin:0!important;align-items:center;justify-content:center}
 html body .header #menu-the-gospel-menu>.nav-item:first-child{margin-left:0!important}
 html body .header #navbarSupportedContent>.right-nav{justify-self:end;margin-left:0!important;align-items:center}
}

/* Keep footer copy clear of floating mobile actions at the page end. */
@media screen and (max-width:991px){
 html body .gospel-footer{padding-bottom:calc(96px + env(safe-area-inset-bottom,0px))!important}
 html body .gospel-footer :is(nav,li,p,.gospel-footer-bottom){min-width:0;overflow-wrap:anywhere}
}

/* Focus-only width controls and distraction-free reading. */
html body:not(.sr-focus) .study-reader .sr-width-control{display:none!important}
html body.sr-focus :is(#gsc-toggle,#gsc-panel,#back-to-top,#gospel-study-tools-toggle){display:none!important;visibility:hidden!important;pointer-events:none!important}
@media(max-width:1366px){
 html body #gsc-panel#gsc-panel{box-sizing:border-box;min-height:0}
 html body #gsc-panel#gsc-panel #gsc-form{flex:0 0 auto;display:flex;gap:8px;padding:12px;box-sizing:border-box}
 html body #gsc-panel#gsc-panel #gsc-question{font-size:16px!important;min-width:0;max-width:100%;box-sizing:border-box}
 html body #gsc-panel#gsc-panel #gsc-send{flex-shrink:0}
 html body #gsc-panel#gsc-panel.gospel-chat-compact>header{padding:10px 12px}
 html body #gsc-panel#gsc-panel.gospel-chat-compact>header strong{font-size:18px;line-height:1.2}
 html body #gsc-panel#gsc-panel.gospel-chat-compact #gsc-close{width:36px;height:36px;min-height:36px;flex-shrink:0}
 html body #gsc-panel#gsc-panel.gospel-chat-compact>footer{display:none}
 html body #gsc-panel#gsc-panel.gospel-chat-compact #gsc-form{padding:8px 12px}
}

/* Phones: floating tools only, with no width adjustment. */
@media screen and (max-width:767px){
 html body:not(.sr-focus) .study-reader .sr-tools:not(.gospel-tools-open){display:none!important}
 html body .study-reader .sr-width-control{display:none!important}
 html body:not(.sr-focus) .study-reader .sr-prose{grid-row:1!important}
}

/* One reading-width preference for all shared readers, scoped to focus mode. */
@media screen and (min-width:768px){
 html body.sr-focus .study-reader{width:100%!important;max-width:var(--sr-reading-width,850px)!important;margin-inline:auto!important;box-sizing:border-box}
}
.gospel-recent-studies{padding:64px 24px;background:var(--bs-body-bg,#fff);color:inherit}
.grs-wrap{max-width:1140px;margin:auto}
.gospel-recent-studies h2{font-size:clamp(26px,3vw,36px);font-weight:500;color:#967326;margin:0 0 28px}
.grs-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;list-style:none!important;padding:0!important;margin:0!important}
.grs-list li{margin:0!important;min-width:0}
.grs-list a{display:flex;flex-direction:column;height:100%;gap:14px;padding:24px;border:1px solid #dedbd3;border-radius:12px;color:inherit;text-decoration:none!important;box-sizing:border-box;transition:border-color .2s,background .2s}
.grs-list a:hover,.grs-list a:focus-visible{border-color:#a68a39;background:#faf8f2}
.grs-list a:focus-visible{outline:2px solid #a68a39;outline-offset:3px}
.grs-collection{font-size:13px;line-height:1.5;color:#716b60}
.grs-list h3{font-size:20px;line-height:1.4;font-weight:500;margin:0;overflow-wrap:anywhere;color:inherit}
.grs-read{margin-top:auto;color:#88671f;font-size:14px}
body.body_dark .gospel-recent-studies{background:#171819;color:#e8e5de}
body.body_dark .grs-list a{border-color:#454648}
body.body_dark .grs-list a:hover,body.body_dark .grs-list a:focus-visible{background:#252628}
body.body_dark .gospel-recent-studies h2,body.body_dark .grs-read{color:#dec684}
body.body_dark .grs-collection{color:#bbb7ad}
@media(max-width:991px){.grs-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.grs-list{grid-template-columns:minmax(0,1fr)}.gospel-recent-studies{padding:40px 20px}}
#gospel-tools-hint{position:fixed;z-index:100100;max-width:min(260px,calc(100vw - 24px));padding:10px 13px;border-radius:8px;background:#181818;color:#fff;font:13px/1.5 Arial,sans-serif;box-shadow:0 4px 16px #0003;pointer-events:none}
#gospel-tools-hint[hidden]{display:none!important}
@media print{.gospel-recent-studies,#gospel-tools-hint{display:none!important}}
