/* 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(.study-reader .sr-tools:focus-within) #gsc-toggle,html body:has(.study-reader .sr-tools:focus-within) #back-to-top,
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(hover:hover){html body:has(.study-reader .sr-tools:hover) #gsc-toggle,html body:has(.study-reader .sr-tools:hover) #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("https://thegospel.lanstar.org/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}
html body #welcome-faqs details{text-align:center}
html body #welcome-faqs summary{list-style:none}
html body #welcome-faqs summary::-webkit-details-marker{display:none}
html body #welcome-faqs summary::before{content:'▸';display:inline-block;margin-right:.45em}
html body #welcome-faqs details[open] summary::before{transform:rotate(90deg)}
html body #welcome-faqs details p{max-width:660px;margin:12px auto 0}
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:1024px){
 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}
}
