/* Quiet scripture navigation; shared geometry and menu behavior stay unchanged. */
:root{--shell-nav:64px}
:root:root body .scripture-menu>button{
  box-sizing:border-box;position:relative;width:190px;max-width:calc(100% - 20px);height:48px;
  padding:0 22px;border:.5px solid #494949!important;border-radius:12px;
  background:#292929!important;
  box-shadow:none!important;filter:none;color:#bcbcbc!important;
  font:28px/1 Georgia,'Times New Roman',serif;letter-spacing:.2px;
  transition:color .18s,border-color .18s,background .18s;
}
:root:root body .scripture-menu>button::before,
:root:root body .scripture-menu>button::after{display:none}
:root:root body .scripture-menu>button:hover{border-color:#f8941c!important}
:root:root body .scripture-menu>button:focus-visible{outline:1px solid #f8941c;outline-offset:4px}
@media(max-width:850px){:root{--shell-nav:58px}:root:root body .scripture-menu>button{width:150px;max-width:calc(100% - 12px);height:44px;font-size:24px;padding:0 12px;border-radius:10px}}
@media(max-width:420px){:root:root body .scripture-menu>button{font-size:23px;max-width:calc(100% - 10px)}}
@media(prefers-reduced-motion:reduce){:root:root body .scripture-menu>button{transition:none}}
:root:root body.home-page .scripture-nav{grid-template-columns:repeat(3,minmax(0,212px));justify-content:center;column-gap:calc(2cm - 22px);padding-inline:16px!important}
:root:root body.home-page .scripture-menu>button{width:100%;max-width:100%;background:#292929!important;box-shadow:none!important}
:root:root body.home-page .scripture-menu>button:hover{box-shadow:none!important}
@media(max-width:850px){:root:root body.home-page .scripture-nav{grid-template-columns:repeat(3,minmax(0,150px));column-gap:clamp(10px,4vw,2cm)}}
/* Original buttons with small, text-free scripture symbols. */
:root:root body.home-page .scripture-menu>button{gap:8px;padding:0 6px}
:root:root body.home-page .scripture-icon{display:block;width:1em;height:1em;flex:0 0 1em;overflow:visible}
:root:root body.home-page .scripture-label{min-width:0;line-height:1;letter-spacing:inherit}
@media(max-width:850px){
  :root:root body.home-page .scripture-menu>button{gap:6px;padding:0 6px}
}
@media(max-width:380px){
  :root:root body.home-page .scripture-menu>button{font-size:21px;gap:5px;padding:0 4px}
}
@media(max-width:340px){
  :root:root body.home-page .scripture-menu>button{font-size:20px;gap:4px;padding:0 3px}
}

:root:root body.home-page .scripture-menu[data-work="new-testament"] .scripture-icon{width:1.35em;flex-basis:1.35em;height:1.35em}

/* Keep labels centered; reveal the symbols beside them on mouse hover. */
:root:root body.home-page .scripture-menu>button{display:flex;align-items:center;justify-content:center}
:root:root body.home-page .scripture-label{position:relative;display:inline-block;flex:0 0 auto;white-space:nowrap}
:root:root body.home-page .scripture-label[data-wrap-label]{max-width:100%;white-space:normal;overflow-wrap:anywhere;text-wrap:balance}
:root:root body.home-page .scripture-icon{position:absolute;left:0;top:50%;transform:translate(calc(-100% - 6px),-50%);width:.92em;height:.92em;opacity:0;pointer-events:none;transition:opacity .15s}
:root:root body.home-page .scripture-menu[data-work="new-testament"] .scripture-icon{width:1.35em;height:1.35em}
@media(hover:hover) and (pointer:fine){
  :root:root body.home-page .scripture-menu>button:hover .scripture-label[data-symbol-fits] .scripture-icon{opacity:1}
}
