/* V42: usability, typography, responsive reflow, keyboard navigation. */
:root{--v42-ink:#17382d;--v42-focus:#b28b39;--v42-measure:72ch}
html{scroll-padding-top:6rem;overflow-x:clip}
body{overflow-x:clip}
img,svg,video,canvas{max-width:100%;height:auto}
img{object-position:center}
main,article,section,aside,.wrap,.container,.prose,.reader-main,.v39-reader-layout{min-width:0}
:where(p,li,h1,h2,h3,h4,a,span){overflow-wrap:break-word}
:where(a,button,input,select,textarea,summary,[role="button"]):focus-visible{outline:3px solid var(--v42-focus)!important;outline-offset:3px!important}
:where(button,[role="button"],summary){touch-action:manipulation}
:where(.v39-story-chapter,.reader-main .prose,.v40-end-references) p{max-width:var(--v42-measure)}
.v39-story-chapter p{line-height:1.83!important;font-size:clamp(16px,1.11vw,18px)!important}
.v39-story-chapter h2{line-height:1.23!important;letter-spacing:-.015em}
.v42-evidence-note{font-size:.9rem;line-height:1.7;border-top:1px solid #dce4d4;padding-top:15px;color:#4c6055}
.v42-evidence-key{margin-top:22px;padding:18px;background:#f5f7ef;border:1px solid #d4e0d0;border-radius:12px}
.v42-evidence-key h3{font:600 1.25rem Georgia,serif;margin:0 0 10px}
.v42-evidence-key li,.v42-review-detail li{line-height:1.7;margin-bottom:8px}
.v42-review-detail{margin-top:16px;border-top:1px solid #d5e0d3;padding-top:12px}
.v42-review-detail summary{cursor:pointer;min-height:44px;padding:12px 0;font-weight:700}
.v42-short-notice{font-size:.84rem!important;line-height:1.55!important}
.v40-chapter-jump a,.v39-reader-page a,.k33-reader a{min-height:36px}
:where(.v39-reader-page,.k33-reader,.reader-main) :where(p,li){hyphens:auto}
@media(max-width:980px){
 .v39-reader-layout,.v39-breadcrumb{width:min(100% - 32px,900px)!important}
 .k33-layout,.k33-grid,.k33-shell,.k33-reader-grid{max-width:100%}
 .footer-grid{gap:28px}
}
@media(max-width:640px){
 body{font-size:16px}
 main{width:100%;min-width:0}
 .wrap{width:min(100% - 28px,100%)!important}
 .v39-reader-layout,.v39-breadcrumb{width:calc(100% - 28px)!important}
 .v39-reading-head{padding:0 0 6px!important}
 .v39-reading-head h1{font-size:clamp(30px,9vw,42px)!important;line-height:1.12!important}
 .v39-reading-head img,.v39-reading-hero img{max-height:320px;object-fit:cover}
 .v39-story-chapter{padding:8px 0 4px!important}
 .v39-story-chapter h2{font-size:clamp(24px,7vw,32px)!important}
 .v39-story-chapter p{font-size:16px!important;line-height:1.8!important}
 .v40-end-references,.v41-verse-map,.v39-sources{max-width:100%;overflow-wrap:anywhere}
 .v40-chapter-jump summary,.v40-chapter-jump .v40-chapter-links a{min-height:44px}
 .v39-reader-page .v37-quiz button,.k33-reader button,.v29-button,.v24-btn,.v24-level{min-height:44px}
 .nav-panel{max-height:min(65vh,540px);overflow-y:auto;overscroll-behavior:contain}
 .footer-grid{display:grid;grid-template-columns:1fr!important;gap:25px!important}
 .v15-parent-inner{flex-wrap:wrap;align-items:center}
 .v40-community{grid-template-columns:1fr}
 .k33-reader img,.k33-hero img{width:100%;height:auto;object-fit:cover}
 pre,code,table{max-width:100%;overflow-x:auto}
 .v39-story-chapter p,.reader-main .prose{word-break:normal}
}
@media(max-width:360px){.v39-breadcrumb{font-size:12px}.v39-story-chapter h2{font-size:23px!important}.v40-community{padding:16px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}}

/* Let readers reach the article without a charity banner interrupting the opening. Donate remains in main navigation and footer. */
body.v42-reading-page .v20-banner{display:none!important}
body.v42-reading-page .v39-breadcrumb{margin-top:4px}
body.v42-reading-page .v40-chapter-jump{list-style:none;counter-reset:none}
body.v42-reading-page .v40-chapter-jump summary{list-style:none}
body.v42-reading-page .v40-chapter-jump summary::-webkit-details-marker{display:none}
body.v42-reading-page .v40-chapter-jump summary::before{content:'▸';display:inline-block;margin-right:9px;color:#926f2c}
body.v42-reading-page .v40-chapter-jump[open] summary::before{content:'▾'}
@media(max-width:640px){body.v42-reading-page .v39-hero-image{height:150px!important}}
