@import url('/home-map-shortcuts.css?v=1');
:root{--bg:#101010;--line:#f8941c;--text:#f3f3f3}
.home-tools{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:12px;margin:6px auto -8px}
.home-tools .home-discovery{border:0;border-radius:8px;padding:6px 12px}
.home-tools .home-discovery:hover{color:#f8941c}
.home-tool-link{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;margin:0;padding:6px 12px;border:0;background:transparent;color:#aaa;text-decoration:none;font:14px/1.4 'Segoe UI',Arial,sans-serif;border-radius:8px;cursor:pointer;transition:color .18s}
.home-tool-link[hidden]{display:none}
.home-atlas-link .home-brand-edge{color:#aaa}
.home-atlas-link .home-brand-core,.home-tools .home-tool-link>svg{color:#f8941c}
.home-tool-link:hover,.home-tool-link:focus-visible{color:#f8941c}
.home-tool-link:focus-visible{outline:1px solid #f8941c;outline-offset:2px}
*{box-sizing:border-box}
body{margin:0;min-height:100vh;color:var(--text);font:16px Arial,sans-serif}
main{max-width:860px;margin:auto;text-align:center;padding:20vh 20px}
body.home-page main{padding-bottom:24px}
@media(max-height:760px) and (min-width:601px){body.home-page main{padding-top:calc(20vh - 28px)}}
h1{display:flex;justify-content:center;align-items:flex-end;margin:15px 0 -10px}
h1:before{content:'';display:block;width:min(66vw,430px);height:min(23vw,150px);background:url('assets/nuuurlogo.png?v=light1') center/contain no-repeat}
.home-brand-name{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.logo-verse{margin:0 0 28px;color:#c7c7c7;font:17px Georgia,serif;letter-spacing:.2px;opacity:.75;--home-intro-opacity:.75}
#search{display:flex;align-items:stretch;max-width:760px;margin:auto;border:.5px solid #686868;overflow:hidden}
#search input{flex:1;min-width:0;background:transparent;border:0;color:#eee;outline:0;text-align:center}
#search button{border:0}
.featured-verse{display:block;max-width:650px;margin:26px auto 0;padding:0 20px;text-align:center;color:#d3d3d3;text-decoration:none;line-height:1.75;position:relative;top:12px}
/* The intro animation makes siblings stacking contexts; lift the entire search. */
body.home-page .home-search-anchor{position:relative;top:-12px;z-index:31}
.featured-verse-text{display:block;font:400 18px/1.5 'Segoe UI',Arial,sans-serif;color:#e2e2e2}
.featured-verse-text>span{display:block}
.featured-verse-text>span:not(:nth-child(2)){opacity:.5}
.featured-verse-text>span:nth-child(2){opacity:.75}
.featured-verse-reference{display:block;margin-top:8px;color:var(--site-blue,#79b8ff);font:12px Arial,sans-serif;letter-spacing:.7px;opacity:.5}
.featured-verse:hover .featured-verse-text,.featured-verse:focus-visible .featured-verse-text{color:#fff}
.featured-verse:hover .featured-verse-reference,.featured-verse:focus-visible .featured-verse-reference{color:#a4cfff}
@media(max-width:600px){h1{margin-bottom:-7px}.logo-verse{margin-bottom:24px;font-size:15px}.featured-verse{margin-top:21px;padding:0 8px}.featured-verse-text{font-size:16px}}
@media(max-width:430px){main{padding-top:15vh}h1:before{width:72vw;height:28vw}}
/* Home hero: a quiet glow at a fixed position. */
main > h1,
main > .logo-verse {
  transform: translateY(-28px);
}
main > .logo-verse {
  color: #dedede;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: .35px;
  text-shadow: 0 0 8px #ffffff22, 0 0 16px #f8941c22;
}
#search {
  min-height: 68px;
  padding: 6px;
  gap: 6px;
  border-radius: 36px;
  background: linear-gradient(145deg, #292929, #1c1c1c);
  box-shadow: 0 10px 28px #0004, inset 0 1px 0 #ffffff08;
  transition: box-shadow .2s ease;
}
#search:focus-within {
  box-shadow: 0 0 0 3px #f8941c18, 0 10px 28px #0004;
}
#search input {
  padding: 12px 18px;
  font: 17px/1.5 "Segoe UI", Arial, sans-serif;
  border-radius: 28px;
}
#search input::placeholder { color: #a8a8a8; }
#search > button {
  flex: 0 0 auto;
  min-width: 124px;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 28px;
  background: linear-gradient(135deg, #f8941c, #f8941c);
  color: #171717;
  font: 600 16px/1.3 "Segoe UI", Arial, sans-serif;
  cursor: pointer;
  transition: background .2s ease, box-shadow .2s ease;
}
#search > button:hover { background: #f8941c; box-shadow: 0 0 12px #f8941c22; }
#search > button:focus-visible { outline: 2px solid #eee; outline-offset: -4px; }
@media(max-width:600px) {
  #search { min-height: 60px; padding: 5px; gap: 2px; }
  #search input { font-size: 15px; padding: 10px 12px; }
  #search > button { min-width: 96px; min-height: 48px; padding: 0 15px; font-size: 14px; }
  main > .logo-verse { font-size: 15px; letter-spacing: .1px; }
}
/* Two layers of the same asset: orange first, then the complete logo. */
body.home-page main>h1{position:relative}
body.home-page main>h1::before{filter:url(#home-orange-only);animation:home-intro-reveal .15s ease-out both}
body.home-page main>h1::after{content:'';position:absolute;inset:0;margin:auto;display:block;width:min(66vw,430px);height:min(23vw,150px);background:url('assets/nuuurlogo.png?v=light1') center/contain no-repeat;filter:drop-shadow(0 0 2px #f8941c55) drop-shadow(0 0 12px #f8941c22);animation:home-intro-reveal 1.5s .5s ease-in-out both}
body.home-page>.scripture-nav,body.home-page>.site-header,body.home-page>.site-mark,body.home-page main>:not(h1){animation:home-intro-reveal .6s .15s ease-in-out both}
html.site-first-entry body.home-page::before{animation:home-intro-reveal .6s .15s ease-in-out both!important}
/* Pause both matching transitions until the logo asset is ready. */
body.home-page main>.logo-verse{animation:home-intro-reveal 1.5s .5s ease-in-out both}
html.home-logo-loading body.home-page main>h1::after,html.home-logo-loading body.home-page main>.logo-verse{animation-play-state:paused}
@keyframes home-intro-reveal{from{opacity:0}to{opacity:var(--home-intro-opacity,1)}}
@media(max-width:430px){body.home-page main>h1::after{width:72vw;height:28vw}}
@media(prefers-reduced-motion:reduce){
  html.site-first-entry body.home-page::before{animation:none!important}
  #search,#search > button { transition:none }
  body.home-page main>h1::before{visibility:hidden;animation:none}
  body.home-page main>h1::after,html body.home-page::before,body.home-page>.site-header,body.home-page>.scripture-nav,body.home-page>.site-mark,body.home-page main>:not(h1){animation:none}
  html body.home-page main>.logo-verse{animation:none}
}
/* Keep the mobile layout compact without blocking pull-to-refresh. */
.palestine-solidarity{position:relative;display:inline-flex;align-items:center;margin-right:26px;pointer-events:auto;letter-spacing:normal}
.palestine-heart{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;padding:3px;border:0;background:transparent;cursor:pointer;border-radius:7px}
.palestine-heart img{display:block;filter:drop-shadow(0 2px 2px #0008)}
.palestine-heart:hover img{filter:drop-shadow(0 2px 2px #0008) drop-shadow(0 0 4px #ffffff35)}
.palestine-heart:focus-visible{outline:1px solid #f8941c;outline-offset:2px}
.palestine-message{position:absolute;bottom:calc(100% + 10px);left:0;width:max-content;max-width:min(290px,calc(100vw - 48px));padding:10px 13px;border:1px solid #666;border-radius:9px;background:linear-gradient(145deg,#333,#1d1d1d);box-shadow:0 5px 18px #0008;color:#eee;font:13px/1.5 'Segoe UI',Arial,sans-serif;text-align:start;white-space:normal;visibility:hidden;opacity:0;z-index:50;pointer-events:none}
.palestine-solidarity:hover .palestine-message,.palestine-solidarity:focus-within .palestine-message,.palestine-solidarity.is-open .palestine-message{visibility:visible;opacity:1}
.home-page .site-header .home-language{position:absolute;left:max(18px,5vw);top:50%;transform:translateY(-50%);max-width:calc(100vw - 110px)}
.home-language .language-name{display:block;max-width:100%;min-height:44px;padding:10px 0;font:16px/1.5 'Segoe UI',Arial,sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:left}
@media(max-width:600px), (max-height:500px) and (pointer:coarse) {
  html:has(body.home-page){height:100%;overflow-x:clip;overflow-y:auto;overscroll-behavior-y:auto}
  html body.site-page.home-page{position:relative;width:100%;height:auto;min-height:100svh;overflow:visible;overscroll-behavior-y:auto}
  body.home-page main{width:100%;padding-top:clamp(28px,calc(50svh - 280px),120px);padding-bottom:18px;max-height:none;overflow:visible;overscroll-behavior-y:auto;scrollbar-width:none}
  body.home-page main::-webkit-scrollbar{display:none}
}
@media(max-width:600px){
  html.home-browser-layout body.home-page main{padding-top:clamp(24px,calc(30svh - 180px),56px)}
}
@media(max-width:600px) and (max-height:650px){
  body.home-page main>h1::before,body.home-page main>h1::after{height:23vw}
  body.home-page .logo-verse{margin-bottom:16px}
  body.home-page .featured-verse{margin-top:16px}
}

/* Keep the desktop hero comfortably above the fold below the fixed header. */
@media(min-width:601px) and (min-height:501px){body.home-page>main{padding-top:max(28px,calc(20vh - 40px))}}
@media(min-width:601px) and (min-height:501px) and (max-height:760px){body.home-page>main{padding-top:max(28px,calc(20vh - 68px))}}
