@import url('mobile-scrollbars.css');
/* One geometry for every standard public page; no page-specific header offsets. */
/* Forced scroll shrinks viewport units on Windows. Keep auto on every page
   so the fixed 100vw backdrop includes the scrollbar strip consistently. */
html:has(body.site-page){overflow-y:auto;scrollbar-gutter:auto}
:root{--shell-header:68px;--shell-nav:64px;--site-accent:#f8941c;--site-frame:#686868}
html body.site-page{padding-top:calc(var(--shell-header) + var(--shell-nav))!important;color:#eee}
html body.site-page:not(.home-page){--shell-nav:0px}
html body .site-header{box-sizing:border-box;position:fixed!important;inset:0 0 auto!important;height:var(--shell-header)!important;min-height:var(--shell-header)!important;display:flex;align-items:center;padding:0 max(18px,5vw)!important;margin:0!important;border:0!important;background:transparent!important;z-index:100!important;transition:transform .24s ease}
.site-header .brand{display:flex;align-items:center;width:92px;height:46px;flex:none;background:none}
.site-header .brand img{display:block;width:92px;height:46px;object-fit:contain}
/* One restrained highlight for the existing logo asset, without changing layout. */
html body img[src*="nuuurlogo.png"]{filter:url('assets/logo-metal.svg#metal')!important}
body.home-page main>h1::before{filter:url(#home-orange-only) url('assets/logo-metal.svg#metal')!important}
body.home-page main>h1::after{filter:url('assets/logo-metal.svg#metal') drop-shadow(0 0 2px #f8941c33)!important}
.site-header .staff-login-link{margin-left:auto;width:44px;height:44px;padding:10px;display:grid;place-items:center;border:.5px solid #555;border-radius:50%;background:#202020;color:#ccc;cursor:pointer}
.staff-login-dialog{box-sizing:border-box;width:min(420px,calc(100vw - 32px));padding:32px;border:.5px solid #555;border-radius:20px;background:#1c1c1c;color:#ddd;box-shadow:0 24px 80px #0009;font:16px/1.5 'Segoe UI',Arial,sans-serif}
.staff-login-dialog::backdrop{background:#0009;backdrop-filter:blur(6px)}
.staff-login-dialog h2{margin:0 0 24px;font-size:24px;font-weight:500}
.staff-login-dialog form,.staff-login-dialog label{display:grid;gap:8px}
.staff-login-dialog form{gap:18px}
.staff-login-dialog input{box-sizing:border-box;width:100%;min-width:0;border:.5px solid #666;border-radius:10px;background:#252525;color:#eee;padding:12px;font:inherit}
.staff-login-dialog input:focus{outline:1px solid #f8941c;border-color:#f8941c}
.staff-login-dialog button{font:inherit;cursor:pointer}
.staff-login-dialog button[type=submit]{padding:12px;border:.5px solid #f8941c;border-radius:10px;color:#f8941c;background:#252525}
.staff-login-dialog button:focus-visible{outline:2px solid #f8941c;outline-offset:3px}
.staff-login-dialog button:disabled{opacity:.6;cursor:wait}
.staff-login-dialog .staff-login-close{position:absolute;right:14px;top:10px;border:0;background:transparent;color:#bbb;font-size:28px}
.staff-login-error{margin:0;color:#f8941c;font-size:14px}
.staff-login-error:empty{display:none}
.site-header .staff-login-link:hover,.site-header .staff-login-link:focus-visible{color:#f8941c;border-color:#f8941c}
.home-page .site-header .guest-profile{border:0;border-radius:0;background:transparent;box-shadow:none}
.home-page .site-header .guest-profile:focus-visible{outline:2px solid #f8941c;outline-offset:2px}
html body .scripture-nav{box-sizing:border-box;position:fixed!important;inset:var(--shell-header) 0 auto!important;height:var(--shell-nav)!important;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:4px 0!important;margin:0;border:0!important;border-radius:0;z-index:99!important;transition:transform .24s ease}
html body .scripture-menu{display:flex;align-items:center;justify-content:center;border:0!important;min-width:0}
html body .scripture-menu>button{box-sizing:border-box;display:flex;align-items:center;justify-content:center;width:150px;max-width:calc(100% - 20px);height:50px;padding:0 20px;border-radius:10px;font:30px/1 Georgia,serif;letter-spacing:0;cursor:pointer}
html body.nuuur-scroll-down>.site-header{transform:translateY(calc(-1 * var(--shell-header)))}
html body.nuuur-scroll-down>.scripture-nav{transform:translateY(calc(-1 * (var(--shell-header) + var(--shell-nav))))}
/* Reading headers travel with the document instead of sliding in on a scroll trigger. */
html body.site-page.flowing-header>.site-header,html body.site-page.flowing-header>.scripture-nav{position:absolute!important;transform:none;transition:none}
.global-search{box-sizing:border-box;display:flex;align-items:center;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:314px;max-width:calc(100vw - 150px);height:44px;border:.5px solid var(--site-frame);border-radius:8px;overflow:hidden;background:#1d1d1d;transition:width .2s,border-color .2s;margin:0}
.global-search:focus-within{width:394px;border-color:var(--site-accent)}
.global-search input{box-sizing:border-box;flex:1;width:0;min-width:0;height:100%;padding:10px 13px;border:0!important;outline:0;background:transparent;color:#eee;font:14px Arial,sans-serif}
.global-search button{height:100%;flex:none;padding:0 16px;border:0!important;background:var(--site-accent);color:#101010;font:bold 14px Arial,sans-serif;cursor:pointer}
.search-suggestions{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:4px;max-width:760px;margin:5px auto 0;text-align:left}
.search-suggestions[hidden]{display:none}
.search-suggestions button{padding:9px 12px;border:.5px solid var(--site-frame);border-radius:7px;background:#292929;color:#ddd;font:14px/1.4 Arial,sans-serif;cursor:pointer;text-align:left}
.search-suggestions button:hover,.search-suggestions button:focus-visible{border-color:var(--site-accent);color:var(--site-accent)}
.site-header .search-suggestions{position:absolute;top:calc(50% + 25px);left:50%;transform:translateX(-50%);width:394px;max-width:calc(100vw - 30px);padding:6px;background:#202020;border-radius:8px;box-shadow:0 10px 24px #0008}
body.site-page:not(.home-page)>main{box-sizing:border-box;max-width:900px;margin:0 auto;padding:30px 22px 72px}
.site-mark{display:flex;justify-content:center;align-items:center;gap:7px;font:400 19px/1.3 'Segoe UI',Arial,sans-serif;letter-spacing:.4px;pointer-events:none}
.site-mark{color:#aaa}
.site-mark .brand-orange{color:#f8941c}
.site-mark .brand-white{color:#fff}
.site-mark a{pointer-events:auto;color:inherit;text-decoration:none}
.site-mark a:hover{color:inherit}
.site-mark a.social-x{display:inline-flex;align-items:center;justify-content:center;margin-left:5px;width:24px;height:25px;color:#fff;font:inherit;line-height:1}
.site-mark a.social-x:hover{color:#f8941c}
.site-mark a.social-instagram{display:inline-flex;align-items:center;justify-content:center;width:24px;height:25px;color:#fff;line-height:1}
.site-mark a.social-instagram:hover{color:#f8941c}
.site-mark a:focus-visible{outline:1px solid var(--site-accent);outline-offset:5px;border-radius:3px}
body.site-page{display:flex;flex-direction:column;min-height:100vh;min-height:100svh;box-sizing:border-box}
body.site-page:not(.home-page)>main{width:100%;flex:1 0 auto;min-height:calc(100svh - var(--shell-header,68px) + 16px)}
body.site-page>.site-mark{position:static;inset:auto;flex:none;align-self:stretch;margin: auto 0 0;padding:12px 16px calc(18px + env(safe-area-inset-bottom,0px));text-align:center;z-index:auto}
body.home-page>main{margin:0 auto;flex-shrink:0}
.site-page :is(button,input,select,textarea,.card,.verse,.verse-card,.analysis,.word-list,.root-item,.occurrence){border-width:.5px}
.site-page :is(.verse-card,.analysis,.word-list,.root-item,.occurrence){border-color:var(--site-accent)}
@media(max-width:850px){:root{--shell-nav:58px}.global-search{left:auto;right:12px;transform:translateY(-50%);width:178px;height:40px}.global-search:focus-within{width:248px}.site-header .search-suggestions{left:auto;right:12px;transform:none;width:300px}html body .scripture-menu>button{width:112px;height:46px;padding:0 12px;font-size:24px}}
@media(max-width:600px){body.site-page:not(.home-page)>main{padding:18px 14px 52px}}
@media(prefers-reduced-motion:reduce){html body .site-header,html body .scripture-nav,.global-search{transition:none}}
html body.site-page.flowing-header>main{padding-top:22px}
@media(max-width:600px){html body.site-page.flowing-header>main{padding-top:12px}}
 .home-discovery{color:#aaa;font-size:14px;border:1px solid #777;border-radius:20px;padding:4px 12px;text-decoration:none}.home-discovery:hover{color:#faa43b;border-color:#faa43b}
body.home-page>.site-mark{flex-wrap:wrap}
.site-mark .privacy-footer-link{flex-basis:100%;order:1;font-size:12px;line-height:1.5;letter-spacing:0;margin-top:2px}
@media(max-width:380px){body.home-page>.site-mark{font-size:14px;gap:5px}body.home-page>.site-mark .palestine-solidarity{margin-right:0}body.home-page>.site-mark .home-discovery{font-size:12px;padding:4px 8px}body.home-page>.site-mark a:is(.social-x,.social-instagram){width:20px;margin-left:0}}
