:root {
  --bos-bg: #f7f3ea;
  --bos-paper: #fffdf8;
  --bos-ink: #1f1e1a;
  --bos-muted: #6e6a60;
  --bos-gold: #a47c3c;
  --bos-gold-dark: #7f5e2b;
  --bos-gold-soft: #efe3c9;
  --bos-night: #151712;
  --bos-night-2: #21241c;
  --bos-border: #dfd7c8;
  --bos-green: #4d6552;
  --bos-shadow: 0 18px 50px rgba(41, 34, 22, .09);
  --bos-radius: 24px;
  --bos-shell: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bos-bg);
  color: var(--bos-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
img { max-width: 100%; height: auto; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.bos-skip-link { position:absolute; left:-999px; top:10px; z-index:9999; background:#fff; padding:10px 14px; }
.bos-skip-link:focus { left:10px; }
.bos-shell { width: min(calc(100% - 40px), var(--bos-shell)); margin: 0 auto; }

.bos-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(247,243,234,.92);
  border-bottom: 1px solid rgba(164,124,60,.16);
  backdrop-filter: blur(14px);
}
.admin-bar .bos-header { top: 32px; }
.bos-header-inner { min-height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.bos-brand { display:flex; align-items:center; gap:10px; font-weight:800; letter-spacing:-.02em; }
.bos-logo-wrap { display:flex; align-items:center; }
.bos-logo-wrap img { display:block; width:auto; height:46px; max-width:112px; }
.bos-brand-text { font-size: 17px; line-height:1.05; color: var(--bos-ink); white-space: nowrap; }
.bos-nav { display:flex; align-items:center; gap:24px; }
.bos-nav-list { display:flex; align-items:center; list-style:none; padding:0; margin:0; gap:28px; }
.bos-nav-list a { font-size:14px; color:#49473f; font-weight:650; }
.bos-nav-list a:hover { color:var(--bos-gold-dark); }
.bos-header-cta { border:1px solid var(--bos-ink); border-radius:999px; padding:10px 17px; font-size:14px; font-weight:750; }
.bos-menu-toggle { display:none; width:42px; height:42px; border:0; background:transparent; padding:8px; }
.bos-menu-toggle span:not(.screen-reader-text) { display:block; height:2px; margin:5px 0; background:var(--bos-ink); }

.bos-hero { padding: 92px 0 84px; background: radial-gradient(circle at 86% 15%, rgba(164,124,60,.12), transparent 28%), var(--bos-bg); }
.bos-hero-grid { display:grid; grid-template-columns:minmax(0,1.25fr) minmax(340px,.75fr); gap:70px; align-items:center; }
.bos-kicker, .bos-eyebrow { color:var(--bos-gold-dark); text-transform:uppercase; letter-spacing:.16em; font-size:12px; font-weight:850; }
.bos-hero h1 { max-width:780px; margin:14px 0 24px; font-family:Georgia,"Times New Roman",serif; font-size:clamp(48px,7vw,82px); line-height:.98; letter-spacing:-.045em; font-weight:500; }
.bos-hero h1 span { color:var(--bos-gold-dark); }
.bos-hero-lead { max-width:700px; font-size:20px; color:#555147; margin:0; }
.bos-hero-actions { display:flex; gap:12px; margin-top:32px; flex-wrap:wrap; }
.bos-btn { display:inline-flex; align-items:center; justify-content:center; min-height:50px; padding:0 22px; border-radius:12px; font-weight:800; font-size:15px; }
.bos-btn-primary { background:var(--bos-ink); color:#fff; box-shadow:0 10px 30px rgba(31,30,26,.14); }
.bos-btn-primary:hover { background:#000; }
.bos-btn-secondary { border:1px solid var(--bos-border); background:rgba(255,255,255,.62); }
.bos-free-line { display:flex; gap:20px; flex-wrap:wrap; margin-top:22px; color:#746f64; font-size:13px; }
.bos-free-line span::before { content:"✓"; color:var(--bos-green); font-weight:900; margin-right:7px; }

.bos-hero-card { position:relative; overflow:hidden; background:var(--bos-paper); border:1px solid var(--bos-border); border-radius:30px; padding:30px; box-shadow:var(--bos-shadow); }
.bos-hero-card::before { content:""; position:absolute; inset:0 0 auto; height:5px; background:linear-gradient(90deg,var(--bos-gold),#d6bd83); }
.bos-card-topline { display:flex; justify-content:space-between; align-items:center; color:var(--bos-muted); font-size:13px; }
.bos-progress { background:var(--bos-gold-soft); color:var(--bos-gold-dark); border-radius:999px; padding:6px 10px; font-weight:800; }
.bos-book-label { margin-top:44px; color:var(--bos-gold-dark); font-size:12px; letter-spacing:.19em; font-weight:900; }
.bos-hero-card h2 { font-family:Georgia,serif; font-size:42px; margin:5px 0 8px; font-weight:500; }
.bos-hero-card p { color:var(--bos-muted); }
.bos-card-actions { display:flex; gap:20px; margin-top:26px; font-weight:800; font-size:14px; }
.bos-card-actions a:first-child { color:var(--bos-gold-dark); }
.bos-mini-progress { height:7px; border-radius:999px; background:#ece6d9; margin-top:28px; overflow:hidden; }
.bos-mini-progress span { display:block; height:100%; background:var(--bos-gold); border-radius:inherit; }
.bos-hero-card small { display:block; margin-top:9px; color:#817b70; }

.bos-section { padding:96px 0; }
.bos-section-light { background:var(--bos-paper); }
.bos-section-warm { background:#eee5d5; }
.bos-section-dark { background:var(--bos-night); color:#fff; }
.bos-section-heading { max-width:780px; margin-bottom:42px; }
.bos-section-heading h2, .bos-feature-copy h2, .bos-connections h2, .bos-question-box h2, .bos-final-cta h2 { margin:9px 0 16px; font-family:Georgia,serif; font-weight:500; font-size:clamp(34px,5vw,54px); line-height:1.08; letter-spacing:-.025em; }
.bos-section-heading p, .bos-feature-copy p, .bos-connections p, .bos-question-box p { color:var(--bos-muted); font-size:18px; }
.bos-heading-light p { color:#b9b9ae; }

.bos-book-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:18px; }
.bos-book-card { display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:18px; min-height:126px; padding:24px; background:var(--bos-bg); border:1px solid var(--bos-border); border-radius:22px; transition:.2s ease; }
.bos-book-card:hover { transform:translateY(-2px); box-shadow:var(--bos-shadow); }
.bos-book-icon { display:grid; place-items:center; width:58px; height:58px; border-radius:16px; background:var(--bos-ink); color:#fff; font-family:Georgia,serif; }
.bos-book-card strong { display:block; font-size:20px; }
.bos-book-card small { color:var(--bos-muted); }
.bos-arrow { font-size:26px; color:var(--bos-gold-dark); }
.bos-quick-search { margin-top:22px; padding:22px 24px; display:flex; justify-content:space-between; align-items:center; gap:24px; border:1px solid var(--bos-border); border-radius:22px; background:#fff; }
.bos-quick-search strong, .bos-quick-search span { display:block; }
.bos-quick-search span { color:var(--bos-muted); font-size:14px; }
.bos-quick-search form { display:flex; gap:8px; flex:1; max-width:560px; }
.bos-quick-search input { width:100%; border:1px solid var(--bos-border); border-radius:12px; padding:13px 14px; background:#fbfaf6; }
.bos-quick-search button { border:0; border-radius:12px; padding:0 18px; background:var(--bos-ink); color:#fff; font-weight:800; }

.bos-step-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
.bos-step-grid article { min-height:250px; padding:26px; border:1px solid #35382e; border-radius:22px; background:var(--bos-night-2); }
.bos-step-grid article span { color:#caa866; font-size:12px; font-weight:900; letter-spacing:.16em; }
.bos-step-grid h3 { font-family:Georgia,serif; font-size:29px; margin:48px 0 12px; font-weight:500; }
.bos-step-grid p { color:#b9b9ae; margin:0; }

.bos-feature-grid { display:grid; grid-template-columns:1fr 1fr; gap:72px; align-items:center; }
.bos-check-list { list-style:none; padding:0; margin:26px 0 0; display:grid; grid-template-columns:repeat(2,1fr); gap:12px 18px; }
.bos-check-list li::before { content:"✓"; color:var(--bos-green); font-weight:900; margin-right:8px; }
.bos-player-card { background:var(--bos-night); color:#fff; border-radius:30px; padding:30px; box-shadow:0 22px 60px rgba(33,25,12,.18); }
.bos-player-meta { display:flex; justify-content:space-between; color:#c8b17e; font-size:11px; letter-spacing:.14em; font-weight:850; }
.bos-player-card h3 { font-family:Georgia,serif; font-size:40px; font-weight:500; margin:34px 0 0; }
.bos-player-card p { margin:4px 0 28px; color:#bfc0b8; }
.bos-wave { height:52px; display:flex; align-items:center; justify-content:center; gap:5px; }
.bos-wave i { width:4px; border-radius:999px; background:#caa866; display:block; }
.bos-wave i:nth-child(1),.bos-wave i:nth-child(12){height:14px}.bos-wave i:nth-child(2),.bos-wave i:nth-child(11){height:24px}.bos-wave i:nth-child(3),.bos-wave i:nth-child(10){height:38px}.bos-wave i:nth-child(4),.bos-wave i:nth-child(9){height:26px}.bos-wave i:nth-child(5),.bos-wave i:nth-child(8){height:46px}.bos-wave i:nth-child(6),.bos-wave i:nth-child(7){height:34px}
.bos-player-controls { display:flex; justify-content:center; align-items:center; gap:22px; margin:24px 0 30px; }
.bos-player-controls button { border:0; background:transparent; color:#fff; font-weight:800; }
.bos-player-controls .bos-play { width:62px; height:62px; border-radius:50%; background:#fff; color:var(--bos-night); font-size:20px; }
.bos-player-tabs { display:grid; grid-template-columns:1fr 1fr 1.5fr; gap:8px; font-size:12px; }
.bos-player-tabs span { text-align:center; border:1px solid #3d4037; border-radius:999px; padding:9px 8px; color:#aaa99f; }
.bos-player-tabs .active { background:#2f3328; color:#fff; border-color:#6f613f; }

.bos-study-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:20px; }
.bos-study-card { padding:34px; border:1px solid var(--bos-border); border-radius:26px; background:var(--bos-bg); }
.bos-study-card.featured { background:#f1e5ce; border-color:#d5bf93; }
.bos-study-badge { display:inline-block; border-radius:999px; padding:6px 10px; background:#fff; font-size:11px; font-weight:900; text-transform:uppercase; letter-spacing:.12em; color:var(--bos-gold-dark); }
.bos-study-card h3 { font-family:Georgia,serif; font-size:32px; font-weight:500; margin:26px 0 12px; }
.bos-study-card p { color:var(--bos-muted); }
.bos-study-card a { display:inline-block; margin-top:20px; font-weight:850; color:var(--bos-gold-dark); }

.bos-connections { background:#e5eadf; }
.bos-connections-grid { display:grid; grid-template-columns:1fr 1fr; gap:70px; align-items:center; }
.bos-thread-card { background:#fff; border:1px solid #cfd7c7; border-radius:28px; padding:28px; box-shadow:var(--bos-shadow); }
.bos-thread-item { padding:15px 18px; border-radius:16px; }
.bos-thread-item span { display:block; color:var(--bos-green); font-size:11px; letter-spacing:.14em; font-weight:900; text-transform:uppercase; }
.bos-thread-item strong { display:block; margin-top:4px; }
.bos-thread-item.current { background:#edf2e9; }
.bos-thread-line { width:2px; height:24px; margin-left:31px; background:#b7c0af; }

.bos-question-section { background:var(--bos-paper); }
.bos-question-box { display:grid; grid-template-columns:1fr 1fr; gap:58px; align-items:center; padding:46px; border:1px solid var(--bos-border); border-radius:30px; background:var(--bos-bg); }
.bos-question-ui { background:#fff; border:1px solid var(--bos-border); border-radius:22px; padding:20px; }
.bos-question-input { min-height:76px; padding:17px; border-radius:14px; background:#f8f6ef; color:#535047; display:flex; align-items:center; }
.bos-question-ui button { width:100%; margin-top:10px; border:0; border-radius:12px; min-height:48px; background:var(--bos-ink); color:#fff; font-weight:850; }
.bos-question-ui small { display:block; margin-top:10px; color:#888276; }

.bos-final-cta { text-align:center; padding:90px 0 100px; background:var(--bos-night); color:#fff; }
.bos-final-cta p { color:#bfc0b8; font-size:18px; margin-bottom:28px; }
.bos-final-cta .bos-btn-primary { background:#fff; color:var(--bos-night); }

.bos-footer { background:#0f110d; color:#fff; padding:50px 0 20px; }
.bos-footer-grid { display:flex; justify-content:space-between; align-items:flex-start; gap:30px; }
.bos-footer-brand { font-family:Georgia,serif; font-size:26px; }
.bos-footer p { color:#9f9f97; margin:5px 0 0; }
.bos-footer-links { display:flex; flex-wrap:wrap; gap:20px; color:#c7c7c0; font-size:14px; }
.bos-footer-bottom { margin-top:34px; padding-top:18px; border-top:1px solid #272a22; display:flex; justify-content:space-between; color:#777970; font-size:12px; }

.bos-content-shell { padding:80px 0; background:var(--bos-paper); min-height:70vh; }
.bos-readable { max-width:840px; }
.bos-readable h1 { font-family:Georgia,serif; font-size:52px; font-weight:500; }
.bos-entry-content { font-size:18px; }
.bos-post-list { display:grid; gap:18px; }
.bos-post-card { border:1px solid var(--bos-border); border-radius:20px; padding:24px; background:#fff; }
.bos-post-card h2 { margin-top:0; }
.bos-404 { text-align:center; }

@media (max-width: 900px) {
  .admin-bar .bos-header { top:46px; }
  .bos-menu-toggle { display:block; }
  .bos-nav { display:none; position:absolute; left:20px; right:20px; top:70px; background:var(--bos-paper); border:1px solid var(--bos-border); border-radius:18px; padding:20px; box-shadow:var(--bos-shadow); align-items:stretch; }
  .bos-nav.is-open { display:flex; flex-direction:column; }
  .bos-nav-list { flex-direction:column; align-items:stretch; gap:0; }
  .bos-nav-list li + li { border-top:1px solid var(--bos-border); }
  .bos-nav-list a { display:block; padding:13px 0; }
  .bos-header-cta { text-align:center; }
  .bos-hero { padding-top:62px; }
  .bos-hero-grid, .bos-feature-grid, .bos-connections-grid, .bos-question-box { grid-template-columns:1fr; gap:38px; }
  .bos-step-grid { grid-template-columns:repeat(2,1fr); }
  .bos-book-grid, .bos-study-grid { grid-template-columns:1fr; }
  .bos-quick-search { align-items:stretch; flex-direction:column; }
  .bos-quick-search form { max-width:none; }
}

@media (max-width: 600px) {
  .bos-shell { width:min(calc(100% - 28px), var(--bos-shell)); }
  .bos-header-inner { min-height:56px; }
  .bos-logo-wrap img { height:40px; max-width:98px; }
  .bos-brand-text { font-size:16px; }
  .bos-hero { padding:52px 0 58px; }
  .bos-hero h1 { font-size:48px; }
  .bos-hero-lead { font-size:17px; }
  .bos-section { padding:70px 0; }
  .bos-step-grid { grid-template-columns:1fr; }
  .bos-step-grid article { min-height:0; }
  .bos-step-grid h3 { margin-top:28px; }
  .bos-check-list { grid-template-columns:1fr; }
  .bos-quick-search form { flex-direction:column; }
  .bos-quick-search button { min-height:46px; }
  .bos-player-tabs { grid-template-columns:1fr; }
  .bos-question-box { padding:26px; }
  .bos-footer-grid, .bos-footer-bottom { flex-direction:column; }
}


/* Header sizing override — Bible One Step */
.bos-header-inner { min-height: 58px !important; }
.bos-brand { gap: 9px !important; }
.bos-logo-wrap { width: 78px !important; height: 52px !important; flex: 0 0 78px !important; overflow: hidden !important; align-items: center !important; justify-content: center !important; }
.bos-logo-wrap img,
.bos-logo-wrap .bos-header-logo { width: 78px !important; height: 52px !important; max-width: 78px !important; max-height: 52px !important; object-fit: contain !important; display: block !important; }
.bos-brand-text { font-size: 18px !important; line-height: 1.05 !important; }
@media (max-width: 600px) {
  .bos-header-inner { min-height: 54px !important; }
  .bos-logo-wrap { width: 64px !important; height: 43px !important; flex-basis: 64px !important; }
  .bos-logo-wrap img,
  .bos-logo-wrap .bos-header-logo { width: 64px !important; height: 43px !important; max-width: 64px !important; max-height: 43px !important; }
  .bos-brand-text { font-size: 16px !important; }
}

/* Bible chapter experience */
.bos-chapter-page { background: var(--bos-paper); }
.bos-chapter-hero { padding: 66px 0 46px; background: linear-gradient(180deg, #f3eadb 0%, var(--bos-bg) 100%); border-bottom:1px solid var(--bos-border); }
.bos-chapter-hero-inner { display:grid; grid-template-columns:1.1fr .9fr; gap:64px; align-items:end; }
.bos-chapter-back { display:inline-block; margin-bottom:26px; color:var(--bos-muted); font-size:13px; font-weight:750; }
.bos-chapter-back:hover { color:var(--bos-gold-dark); }
.bos-chapter-label { color:var(--bos-gold-dark); letter-spacing:.18em; font-size:12px; font-weight:900; }
.bos-chapter-hero h1 { margin:7px 0 4px; font:500 clamp(54px,8vw,90px)/.98 Georgia,"Times New Roman",serif; letter-spacing:-.05em; }
.bos-chapter-subtitle { margin:0; color:#5e594e; font-size:19px; }
.bos-chapter-summary-card { padding:25px 26px; border:1px solid #d8c7a8; border-radius:22px; background:rgba(255,253,248,.72); box-shadow:var(--bos-shadow); }
.bos-chapter-summary-card span, .bos-one-sentence span { display:block; margin-bottom:8px; color:var(--bos-gold-dark); font-size:11px; letter-spacing:.14em; text-transform:uppercase; font-weight:900; }
.bos-chapter-summary-card p { margin:0; font-family:Georgia,serif; font-size:20px; line-height:1.45; }

.bos-chapter-tabs-wrap { position:sticky; top:58px; z-index:800; background:rgba(255,253,248,.95); border-bottom:1px solid var(--bos-border); backdrop-filter:blur(12px); }
.admin-bar .bos-chapter-tabs-wrap { top:90px; }
.bos-chapter-tabs { display:flex; gap:5px; overflow:auto; scrollbar-width:none; }
.bos-chapter-tabs::-webkit-scrollbar { display:none; }
.bos-chapter-tab { appearance:none; border:0; border-bottom:3px solid transparent; background:transparent; padding:17px 20px 14px; color:#6b675e; font-weight:800; cursor:pointer; white-space:nowrap; }
.bos-chapter-tab:hover, .bos-chapter-tab.active { color:var(--bos-ink); border-bottom-color:var(--bos-gold); }
.bos-chapter-panel { display:none; }
.bos-chapter-panel.active { display:block; }

.bos-chapter-layout { display:grid; grid-template-columns:270px minmax(0,760px); gap:70px; justify-content:center; padding-top:62px; padding-bottom:90px; }
.bos-chapter-aside { align-self:start; position:sticky; top:145px; }
.admin-bar .bos-chapter-aside { top:177px; }
.bos-depth-switch { display:grid; grid-template-columns:1fr 1fr; gap:4px; padding:4px; border:1px solid var(--bos-border); border-radius:13px; background:#f3efe6; }
.bos-depth-switch button { border:0; border-radius:9px; padding:10px 8px; background:transparent; color:#716c62; font-size:13px; font-weight:850; cursor:pointer; }
.bos-depth-switch button.active { background:#fff; color:var(--bos-ink); box-shadow:0 2px 12px rgba(31,30,26,.08); }
.bos-key-verse { margin-top:18px; padding:18px; border-radius:16px; background:#f0e3cb; }
.bos-key-verse span { color:var(--bos-gold-dark); text-transform:uppercase; letter-spacing:.14em; font-size:10px; font-weight:900; }
.bos-key-verse blockquote { margin:9px 0 0; font:italic 17px/1.55 Georgia,serif; }
.bos-chapter-toc { margin-top:26px; max-height:42vh; overflow:auto; padding-right:8px; }
.bos-chapter-toc strong { display:block; margin-bottom:9px; font-size:13px; }
.bos-chapter-toc a { display:block; padding:6px 0; color:#817b70; font-size:12px; line-height:1.35; }
.bos-chapter-toc a:hover { color:var(--bos-gold-dark); }

.bos-depth-content { display:none; }
.bos-depth-content.active { display:block; }
.bos-chapter-reading h2 { margin:7px 0 20px; font:500 clamp(38px,5vw,52px)/1.06 Georgia,serif; letter-spacing:-.025em; }
.bos-chapter-lead { font:500 22px/1.6 Georgia,serif; color:#3d3a34; }
.bos-chapter-reading > .bos-depth-content > p { font-size:18px; }
.bos-simple-points { display:grid; gap:14px; margin-top:34px; }
.bos-simple-points section { padding:25px 26px; border:1px solid var(--bos-border); border-radius:18px; background:#fff; }
.bos-simple-points h3 { margin:0 0 8px; font:500 24px/1.2 Georgia,serif; }
.bos-simple-points p { margin:0; color:#5e594f; }
.bos-explain-section { display:block; padding:38px 0; border-top:1px solid #e7e0d4; scroll-margin-top:145px; }
.bos-section-number { padding-top:6px; color:#b28c4f; font-size:11px; letter-spacing:.12em; font-weight:900; }
.bos-explain-section h3 { margin:0 0 14px; font:500 30px/1.2 Georgia,serif; }
.bos-explain-section h4 { margin:24px 0 7px; font-size:16px; }
.bos-explain-section p { margin:0 0 14px; font-size:17px; color:#48443c; }
.bos-emphasis { padding:16px 18px; border-left:3px solid var(--bos-gold); background:#f7f0e3; font-family:Georgia,serif; font-size:19px !important; }
.bos-progression { display:grid; gap:8px; margin:20px 0; }
.bos-progression div { display:grid; grid-template-columns:130px 1fr; gap:18px; padding:14px 16px; border-radius:12px; background:#f7f3ea; }
.bos-progression span { color:var(--bos-gold-dark); font-size:12px; font-weight:850; }
.bos-one-sentence { margin-top:40px; padding:28px; border-radius:22px; background:var(--bos-night); color:#fff; }
.bos-one-sentence p { margin:0; font:500 21px/1.55 Georgia,serif; }

.bos-listen-page { min-height:620px; display:grid; grid-template-columns:1fr .9fr; gap:70px; align-items:center; padding-top:80px; padding-bottom:90px; }
.bos-listen-copy h2 { margin:8px 0 15px; font:500 clamp(42px,5vw,58px)/1.05 Georgia,serif; }
.bos-listen-copy p { color:var(--bos-muted); font-size:18px; }
.bos-voice-picker { margin-top:24px; max-width:460px; }
.bos-voice-picker label { display:block; margin-bottom:7px; color:#4b473f; font-size:13px; font-weight:800; }
.bos-voice-picker select { width:100%; min-height:48px; padding:0 42px 0 14px; border:1px solid var(--bos-border); border-radius:12px; background:#fff; color:var(--bos-ink); font:inherit; }
.bos-listen-actions { display:flex; flex-wrap:wrap; gap:10px; margin-top:18px; }
.bos-speech-status { font-size:13px !important; }
.bos-listen-display { min-height:390px; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; border-radius:30px; background:var(--bos-night); color:#fff; box-shadow:0 24px 65px rgba(31,30,26,.18); }
.bos-listen-display > span { color:#caa866; font-size:10px; letter-spacing:.18em; font-weight:900; }
.bos-listen-display h3 { margin:26px 0 3px; font:500 48px/1 Georgia,serif; }
.bos-listen-display p { margin:0; color:#bdbdb4; }
.bos-listen-display small { color:#85877f; }
.bos-big-wave { height:80px; display:flex; align-items:center; justify-content:center; gap:5px; margin:28px 0; }
.bos-big-wave i { width:4px; border-radius:999px; background:#caa866; height:20px; }
.bos-big-wave i:nth-child(2n){height:42px}.bos-big-wave i:nth-child(3n){height:60px}.bos-big-wave i:nth-child(5n){height:32px}
.bos-listen-display.is-speaking .bos-big-wave i { animation:bos-wave-pulse .8s ease-in-out infinite alternate; }
.bos-listen-display.is-speaking .bos-big-wave i:nth-child(2n){animation-delay:.15s}.bos-listen-display.is-speaking .bos-big-wave i:nth-child(3n){animation-delay:.3s}
@keyframes bos-wave-pulse { from{transform:scaleY(.5);opacity:.55} to{transform:scaleY(1.15);opacity:1} }

.bos-chapter-connections, .bos-chapter-questions { padding-top:78px; padding-bottom:95px; }
.bos-connection-list { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.bos-connection-card { padding:25px; border:1px solid var(--bos-border); border-radius:20px; background:#fff; }
.bos-connection-type { display:inline-block; padding:5px 8px; border-radius:999px; background:#e7ede3; color:var(--bos-green); text-transform:uppercase; letter-spacing:.12em; font-size:9px; font-weight:900; }
.bos-connection-reference { margin-top:24px; color:var(--bos-gold-dark); font-size:12px; font-weight:900; letter-spacing:.12em; text-transform:uppercase; }
.bos-connection-card h3 { margin:6px 0 8px; font:500 23px/1.2 Georgia,serif; }
.bos-connection-card p { margin:0; color:var(--bos-muted); font-size:14px; }
.bos-question-chips { display:flex; flex-wrap:wrap; gap:10px; }
.bos-question-chips button { border:1px solid var(--bos-border); border-radius:999px; background:#fff; padding:11px 15px; color:#4c4942; cursor:default; }
.bos-question-callout { margin-top:32px; padding:28px; display:flex; justify-content:space-between; align-items:center; gap:30px; border-radius:22px; background:#efe5d4; }
.bos-question-callout strong { font:500 24px/1.2 Georgia,serif; }
.bos-question-callout p { margin:5px 0 0; color:#6b655b; max-width:700px; }
.bos-question-callout button[disabled] { opacity:.55; cursor:not-allowed; }

.bos-next-step { padding:62px 0; background:var(--bos-night); color:#fff; }
.bos-next-step-inner { display:flex; align-items:center; justify-content:space-between; gap:40px; }
.bos-next-step h2 { margin:6px 0 7px; font:500 38px/1.1 Georgia,serif; }
.bos-next-step p { max-width:720px; margin:0; color:#b9b9ae; }
.bos-next-coming { padding:10px 14px; border:1px solid #45483d; border-radius:999px; color:#c9c9c0; white-space:nowrap; font-size:12px; font-weight:750; }

@media (max-width:900px) {
  .bos-chapter-hero-inner, .bos-listen-page { grid-template-columns:1fr; gap:34px; }
  .bos-chapter-layout { grid-template-columns:1fr; gap:24px; }
  .bos-chapter-aside { position:static; }
  .bos-chapter-toc { display:none; }
  .bos-connection-list { grid-template-columns:1fr 1fr; }
  .bos-chapter-tabs-wrap { top:58px; }
  .admin-bar .bos-chapter-tabs-wrap { top:104px; }
}
@media (max-width:600px) {
  .bos-chapter-hero { padding-top:38px; }
  .bos-chapter-hero h1 { font-size:56px; }
  .bos-chapter-layout { padding-top:38px; padding-bottom:62px; }
  .bos-chapter-tabs { width:100%; padding:0 14px; }
  .bos-chapter-tab { padding-left:13px; padding-right:13px; }
  .bos-explain-section { padding:30px 0; }
  .bos-section-number { padding:0; }
  .bos-progression div { grid-template-columns:1fr; gap:3px; }
  .bos-connection-list { grid-template-columns:1fr; }
  .bos-question-callout, .bos-next-step-inner { flex-direction:column; align-items:flex-start; }
  .bos-listen-display { min-height:330px; }
}

/* Professional Bible One Step narration */
.bos-audio-mode-picker { display:flex; flex-wrap:wrap; gap:8px; margin-top:22px; }
.bos-audio-mode-picker button { appearance:none; border:1px solid var(--bos-border); border-radius:999px; padding:9px 13px; background:#fff; color:#5f5a50; font-weight:800; cursor:pointer; }
.bos-audio-mode-picker button.active { border-color:var(--bos-gold); background:var(--bos-gold-soft); color:var(--bos-gold-dark); }
.bos-audio-options { display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin-top:14px; color:var(--bos-muted); font-size:13px; }
.bos-audio-options label { font-weight:800; color:#4c4840; }
.bos-audio-options select { min-height:38px; padding:0 32px 0 10px; border:1px solid var(--bos-border); border-radius:9px; background:#fff; color:var(--bos-ink); }
.bos-audio-chunk-status { margin-left:auto; }
.bos-audio-progress { height:7px; margin-top:16px; overflow:hidden; border-radius:999px; background:#e8e1d5; }
.bos-audio-progress span { display:block; width:0; height:100%; border-radius:inherit; background:var(--bos-gold); transition:width .2s linear; }
.bos-browser-fallback { max-width:540px; margin-top:24px; padding-top:18px; border-top:1px solid var(--bos-border); }
.bos-browser-fallback summary { cursor:pointer; color:#726c61; font-size:13px; font-weight:800; }
.bos-browser-fallback[open] summary { margin-bottom:14px; }
.bos-device-audio-actions .bos-btn { min-height:43px; padding:0 15px; font-size:13px; }

@media (max-width:600px) {
  .bos-audio-chunk-status { width:100%; margin-left:0; }
}


/* Enhanced audio timeline + timestamp notes */
.bos-primary-audio-actions { align-items:center; flex-wrap:wrap; }
.bos-skip-btn { min-width:88px; }
.bos-audio-timeline { display:grid; grid-template-columns:auto minmax(0,1fr) auto; gap:12px; align-items:center; margin-top:16px; }
.bos-audio-time { min-width:42px; color:#625d53; font-size:13px; font-variant-numeric:tabular-nums; font-weight:800; }
.bos-audio-time:last-child { text-align:right; }
.bos-audio-seek { width:100%; accent-color:var(--bos-gold); cursor:pointer; }
.bos-audio-note-actions { display:flex; align-items:center; gap:14px; flex-wrap:wrap; margin-top:18px; padding-top:18px; border-top:1px solid var(--bos-border); }
.bos-note-save-hint { color:var(--bos-muted); font-size:12px; }
.bos-note-composer { margin-top:18px; padding:18px; border:1px solid var(--bos-border); border-radius:18px; background:#fff; box-shadow:0 14px 34px rgba(41,34,22,.06); }
.bos-note-composer[hidden] { display:none; }
.bos-note-composer-head { display:flex; align-items:center; justify-content:space-between; gap:14px; }
.bos-note-close { border:0; background:transparent; color:#716c62; font-size:26px; line-height:1; cursor:pointer; }
.bos-note-colors { display:flex; gap:9px; margin:14px 0; }
.bos-note-color { width:30px; height:30px; border-radius:50%; border:2px solid transparent; box-shadow:0 0 0 1px rgba(31,30,26,.12); cursor:pointer; }
.bos-note-color.active { border-color:var(--bos-ink); box-shadow:0 0 0 3px #fff, 0 0 0 5px var(--bos-ink); }
.bos-note-color[data-note-color="gold"] { background:#f1d891; }
.bos-note-color[data-note-color="blue"] { background:#bcd9ee; }
.bos-note-color[data-note-color="green"] { background:#c7dfc4; }
.bos-note-color[data-note-color="rose"] { background:#efc5ca; }
.bos-note-color[data-note-color="lavender"] { background:#d8c8ea; }
#bos-note-text { width:100%; resize:vertical; min-height:110px; padding:13px 14px; border:1px solid var(--bos-border); border-radius:12px; background:#fbfaf6; color:var(--bos-ink); font:inherit; }
#bos-note-text:focus { outline:2px solid rgba(164,124,60,.28); border-color:var(--bos-gold); }
.bos-note-composer-actions { display:flex; gap:10px; margin-top:12px; }
.bos-audio-notes { margin-top:28px; padding-top:24px; border-top:1px solid var(--bos-border); }
.bos-audio-notes-head { display:flex; justify-content:space-between; align-items:end; gap:20px; margin-bottom:13px; }
.bos-audio-notes-head h3 { margin:3px 0 0; font-family:Georgia,serif; font-size:28px; font-weight:500; }
.bos-note-count { color:var(--bos-muted); font-size:12px; font-weight:800; }
.bos-note-list { display:grid; gap:10px; }
.bos-note-empty { margin:0; padding:14px 16px; border:1px dashed var(--bos-border); border-radius:14px; color:var(--bos-muted); background:rgba(255,255,255,.5); font-size:13px; }
.bos-note-card { position:relative; overflow:hidden; padding:14px 15px 14px 18px; border:1px solid var(--bos-border); border-radius:14px; background:#fff; transition:box-shadow .2s ease, transform .2s ease; }
.bos-note-card::before { content:""; position:absolute; inset:0 auto 0 0; width:5px; background:#d7bd74; }
.bos-note-card.is-blue::before { background:#79acd1; }
.bos-note-card.is-green::before { background:#80ae7b; }
.bos-note-card.is-rose::before { background:#cf838d; }
.bos-note-card.is-lavender::before { background:#9f83c3; }
.bos-note-card.is-highlighted { transform:translateY(-1px); box-shadow:0 0 0 3px rgba(164,124,60,.14), var(--bos-shadow); }
.bos-note-card-top { display:flex; justify-content:space-between; align-items:center; gap:12px; }
.bos-note-timestamp { appearance:none; border:0; padding:5px 9px; border-radius:999px; background:#f4efe4; color:var(--bos-gold-dark); font-weight:900; font-size:12px; cursor:pointer; font-variant-numeric:tabular-nums; }
.bos-note-timestamp:hover { background:var(--bos-gold-soft); }
.bos-note-delete { border:0; background:transparent; color:#8b655f; padding:4px; font-size:11px; cursor:pointer; }
.bos-note-text { margin:9px 0 0; white-space:pre-wrap; color:#49453e; font-size:14px; }

@media (max-width:600px) {
  .bos-primary-audio-actions .bos-btn { flex:1 1 auto; }
  .bos-skip-btn { min-width:0; }
  .bos-audio-timeline { gap:8px; }
  .bos-audio-note-actions { align-items:flex-start; }
  .bos-note-composer-actions { flex-direction:column; }
  .bos-note-composer-actions .bos-btn { width:100%; }
}

/* Generic chapter navigation */
.bos-previous-chapter { display:inline-block; margin-bottom:14px; color:#d1b879; font-size:13px; font-weight:800; }
.bos-previous-chapter:hover { color:#fff; }
.bos-previous-chapter.muted { color:#777970; }
a.bos-next-coming { text-decoration:none; transition:.2s ease; }
a.bos-next-coming:hover { border-color:#8d774c; color:#fff; }

/* Public Bible libraries */
.bos-library-page { background:var(--bos-paper); min-height:70vh; }
.bos-library-hero { padding:78px 0 64px; background:linear-gradient(180deg,#f3eadb 0%,var(--bos-bg) 100%); border-bottom:1px solid var(--bos-border); }
.bos-library-hero-grid { display:grid; grid-template-columns:minmax(0,1.3fr) minmax(250px,.7fr); gap:64px; align-items:end; }
.bos-library-hero h1 { max-width:900px; margin:10px 0 18px; font:500 clamp(46px,7vw,76px)/1 Georgia,"Times New Roman",serif; letter-spacing:-.045em; }
.bos-library-hero p { max-width:760px; margin:0; color:#5d584e; font-size:18px; }
.bos-library-stat { min-height:178px; display:flex; flex-direction:column; justify-content:center; align-items:flex-start; padding:28px; border:1px solid #d8c7a8; border-radius:24px; background:rgba(255,253,248,.76); box-shadow:var(--bos-shadow); }
.bos-library-stat strong { font:500 58px/1 Georgia,serif; letter-spacing:-.04em; }
.bos-library-stat .bos-stat-label { font-size:34px; line-height:1.05; }
.bos-library-stat span { margin-top:8px; color:var(--bos-muted); font-size:14px; }
.bos-library-mode-switch { display:flex; flex-wrap:wrap; gap:10px; margin-top:28px; }
.bos-library-mode-switch a { display:inline-flex; align-items:center; min-height:46px; padding:0 18px; border:1px solid var(--bos-border); border-radius:999px; background:#fff; color:#5b564d; font-weight:850; }
.bos-library-mode-switch a.active { background:var(--bos-ink); border-color:var(--bos-ink); color:#fff; }
.bos-library-section { padding:74px 0 88px; }
.bos-library-section + .bos-library-section { border-top:1px solid var(--bos-border); }
.bos-library-section-head { display:flex; align-items:end; justify-content:space-between; gap:24px; margin-bottom:26px; }
.bos-library-section-head h2 { margin:5px 0 0; font:500 clamp(34px,5vw,52px)/1.06 Georgia,serif; letter-spacing:-.03em; }
.bos-library-books, .bos-understand-books, .bos-listen-books, .bos-connection-chapters { display:grid; gap:12px; }
.bos-library-book { border:1px solid var(--bos-border); border-radius:20px; background:#fff; overflow:hidden; }
.bos-library-book summary { list-style:none; display:flex; align-items:center; justify-content:space-between; gap:20px; padding:19px 22px; cursor:pointer; }
.bos-library-book summary::-webkit-details-marker { display:none; }
.bos-library-book summary > div { min-width:0; }
.bos-library-book summary strong { display:block; font:500 23px/1.15 Georgia,serif; }
.bos-library-book summary span:not(.bos-library-status) { display:block; margin-top:4px; color:var(--bos-muted); font-size:12px; }
.bos-library-status { flex:0 0 auto; padding:6px 10px; border-radius:999px; background:#f2eee5; color:#777065; font-size:11px; font-weight:850; }
.bos-library-status.is-complete { background:#e7ede3; color:var(--bos-green); }
.bos-library-book[open] summary { border-bottom:1px solid var(--bos-border); background:#fbfaf6; }
.bos-chapter-number-grid { display:grid; grid-template-columns:repeat(12,minmax(36px,1fr)); gap:8px; padding:20px 22px 24px; }
.bos-chapter-number-grid a, .bos-chapter-number-grid span { display:grid; place-items:center; min-height:42px; border-radius:10px; font-size:13px; font-weight:850; }
.bos-chapter-number-grid a { background:var(--bos-ink); color:#fff; }
.bos-chapter-number-grid a:hover { background:var(--bos-gold-dark); }
.bos-chapter-number-grid .is-unavailable { background:#f2eee6; color:#aaa397; }

.bos-understand-chapter-list, .bos-listen-chapter-list { display:grid; gap:0; padding:0 20px; }
.bos-understand-chapter-list a, .bos-listen-library-row { min-width:0; display:grid; grid-template-columns:minmax(130px,.35fr) minmax(0,1fr) auto; gap:20px; align-items:center; padding:16px 2px; border-bottom:1px solid #ece6dc; }
.bos-understand-chapter-list a:last-child, .bos-listen-library-row:last-child { border-bottom:0; }
.bos-understand-chapter-list span, .bos-listen-library-row span:first-child { color:var(--bos-gold-dark); font-size:12px; font-weight:900; text-transform:uppercase; letter-spacing:.08em; }
.bos-understand-chapter-list strong, .bos-listen-library-row strong { min-width:0; font:500 20px/1.25 Georgia,serif; }
.bos-understand-chapter-list em { color:#777166; font-size:12px; font-style:normal; font-weight:850; white-space:nowrap; }
.bos-understand-chapter-list a:hover strong { color:var(--bos-gold-dark); }
.bos-listen-library-row > div { display:contents; }
.bos-listen-play { display:inline-flex; align-items:center; justify-content:center; min-height:40px; padding:0 15px; border-radius:999px; background:var(--bos-ink); color:#fff; font-size:12px; font-weight:850; white-space:nowrap; }
.bos-listen-play:hover { background:#000; }
.bos-audio-coming { color:#989185 !important; font-size:12px !important; font-weight:750 !important; text-transform:none !important; letter-spacing:0 !important; white-space:nowrap; }

.bos-connection-book-group + .bos-connection-book-group { margin-top:70px; padding-top:62px; border-top:1px solid var(--bos-border); }
.bos-connection-chapter { border:1px solid var(--bos-border); border-radius:20px; background:#fff; overflow:hidden; }
.bos-connection-chapter summary { list-style:none; display:flex; justify-content:space-between; gap:18px; align-items:center; padding:18px 21px; cursor:pointer; }
.bos-connection-chapter summary::-webkit-details-marker { display:none; }
.bos-connection-chapter summary strong { display:block; font:500 21px/1.2 Georgia,serif; }
.bos-connection-chapter summary div span { display:block; margin-top:4px; color:var(--bos-muted); font-size:12px; }
.bos-connection-chapter summary > span { color:var(--bos-green); font-size:11px; font-weight:850; white-space:nowrap; }
.bos-connection-chapter[open] summary { background:#edf2e9; border-bottom:1px solid #d8dfd2; }
.bos-connections-hub-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; padding:20px; }
.bos-connection-open-chapter { display:inline-block; margin:0 20px 22px; color:var(--bos-gold-dark); font-size:13px; font-weight:850; }

/* Clear previous / next chapter controls */
.bos-next-step { padding:54px 0 62px; }
.bos-chapter-bottom-nav { display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-top:13px; }
.bos-chapter-nav-card { min-width:0; display:flex; flex-direction:column; min-height:142px; padding:22px 24px; border:1px solid #35382e; border-radius:20px; background:#1d2019; color:#fff; transition:.2s ease; }
a.bos-chapter-nav-card:hover { transform:translateY(-2px); border-color:#8d774c; background:#22261d; }
.bos-chapter-nav-card > span { color:#c8a965; font-size:11px; font-weight:900; letter-spacing:.12em; text-transform:uppercase; }
.bos-chapter-nav-card strong { margin-top:auto; padding-top:20px; font:500 27px/1.1 Georgia,serif; }
.bos-chapter-nav-card small { margin-top:6px; color:#a9aaa1; font-size:12px; }
.bos-chapter-nav-next { text-align:right; align-items:flex-end; }
.bos-chapter-nav-card.is-disabled { opacity:.48; }

@media (max-width:900px) {
  .bos-library-hero-grid { grid-template-columns:1fr; gap:28px; }
  .bos-library-stat { min-height:0; }
  .bos-chapter-number-grid { grid-template-columns:repeat(8,minmax(36px,1fr)); }
  .bos-connections-hub-grid { grid-template-columns:1fr 1fr; }
}
@media (max-width:600px) {
  .bos-library-hero { padding:50px 0 44px; }
  .bos-library-hero h1 { font-size:46px; }
  .bos-library-section { padding:54px 0 64px; }
  .bos-library-book summary { padding:16px; }
  .bos-chapter-number-grid { grid-template-columns:repeat(6,minmax(34px,1fr)); padding:16px; gap:7px; }
  .bos-understand-chapter-list, .bos-listen-chapter-list { padding:0 15px; }
  .bos-understand-chapter-list a, .bos-listen-library-row { grid-template-columns:1fr auto; gap:5px 12px; }
  .bos-understand-chapter-list span, .bos-listen-library-row span:first-child { grid-column:1 / -1; }
  .bos-understand-chapter-list strong, .bos-listen-library-row strong { font-size:18px; }
  .bos-connections-hub-grid { grid-template-columns:1fr; padding:14px; }
  .bos-connection-chapter summary { align-items:flex-start; }
  .bos-chapter-bottom-nav { grid-template-columns:1fr; }
  .bos-chapter-nav-next { text-align:left; align-items:flex-start; }
}

/* Book-first library navigation */
.bos-book-picker-section { scroll-margin-top:90px; }
.bos-book-choice-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; }
.bos-book-choice { position:relative; min-width:0; min-height:112px; display:flex; flex-direction:column; align-items:flex-start; justify-content:center; padding:18px 19px; border:1px solid var(--bos-border); border-radius:18px; background:#fff; transition:border-color .2s ease, transform .2s ease, background .2s ease; }
a.bos-book-choice:hover { transform:translateY(-2px); border-color:#c7aa73; background:#fffcf6; }
.bos-book-choice.is-selected { border-color:var(--bos-gold); background:#f5ead5; box-shadow:inset 0 0 0 1px rgba(164,124,60,.12); }
.bos-book-choice.is-disabled { background:#f5f2eb; opacity:.63; }
.bos-book-choice strong { display:block; font:500 21px/1.12 Georgia,serif; }
.bos-book-choice > span { display:block; margin-top:6px; color:var(--bos-muted); font-size:12px; }
.bos-book-choice em { display:inline-block; margin-top:11px; padding:5px 8px; border-radius:999px; background:#f0ece4; color:#7b7469; font-size:10px; font-style:normal; font-weight:900; letter-spacing:.04em; text-transform:uppercase; }
.bos-book-choice em.is-complete { background:#e6ede2; color:var(--bos-green); }
.bos-book-choice.is-selected em { background:#fff8eb; color:var(--bos-gold-dark); }
.bos-selected-book-panel { margin-top:34px; border:1px solid #d9c9aa; border-radius:24px; background:#fff; overflow:hidden; scroll-margin-top:96px; box-shadow:0 18px 44px rgba(41,34,22,.06); }
.bos-selected-book-head { display:flex; align-items:flex-end; justify-content:space-between; gap:20px; padding:25px 26px 21px; background:#fbf6ec; border-bottom:1px solid var(--bos-border); }
.bos-selected-book-head h3 { margin:5px 0 0; font:500 36px/1.05 Georgia,serif; letter-spacing:-.025em; }
.bos-selected-book-head > span { color:var(--bos-muted); font-size:12px; font-weight:800; }
.bos-selected-chapter-grid { padding:24px 26px 28px; }
.bos-selected-chapter-list { padding:4px 24px 8px; }

@media (max-width:900px) {
  .bos-book-choice-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media (max-width:700px) {
  .bos-book-choice-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .bos-selected-book-head { align-items:flex-start; flex-direction:column; gap:7px; }
}
@media (max-width:420px) {
  .bos-book-choice-grid { grid-template-columns:1fr 1fr; gap:9px; }
  .bos-book-choice { min-height:100px; padding:15px; }
  .bos-book-choice strong { font-size:18px; }
  .bos-selected-chapter-grid { padding:18px 16px 22px; }
  .bos-selected-chapter-list { padding:2px 14px 8px; }
}

/* Scripture-only Read Bible experience */
.bos-scripture-library-page .bos-library-hero p a { color:var(--bos-gold-dark); font-weight:850; text-decoration:underline; text-underline-offset:3px; }
.bos-scripture-page { background:#f8f5ee; }
.bos-scripture-hero { padding:54px 0 46px; border-bottom:1px solid var(--bos-border); background:#171a15; color:#fff; }
.bos-scripture-hero-inner { display:flex; align-items:flex-end; justify-content:space-between; gap:34px; }
.bos-scripture-hero .bos-chapter-back { display:inline-block; margin-bottom:26px; color:#cbb77f; font-size:13px; font-weight:850; }
.bos-scripture-hero .bos-eyebrow { color:#d5bd7d; }
.bos-scripture-hero h1 { margin:8px 0 8px; font:500 clamp(46px,7vw,76px)/1 Georgia,serif; letter-spacing:-.045em; }
.bos-scripture-hero p { margin:0; color:#b7b8b0; font-size:13px; }
.bos-scripture-understand-btn { background:linear-gradient(135deg,var(--bos-gold),#c9a864); color:#171a15; border:1px solid rgba(255,255,255,.12); box-shadow:0 12px 30px rgba(164,124,60,.22); }
.bos-scripture-understand-btn:hover { background:linear-gradient(135deg,#b58a45,#d8ba77); color:#11130f; transform:translateY(-1px); }
.bos-scripture-understand-bottom { display:flex; justify-content:center; margin-top:34px; }
.bos-scripture-content-section { padding:62px 0 76px; }
.bos-scripture-shell { max-width:880px; }
.bos-scripture-text { padding:42px 48px; border:1px solid #ded6c8; border-radius:24px; background:#fffdf9; box-shadow:0 18px 50px rgba(41,34,22,.06); }
.bos-scripture-verse { display:block; margin:0 0 17px; color:#342f28; font:400 19px/1.75 Georgia,serif; }
.bos-scripture-verse:last-child { margin-bottom:0; }
.bos-scripture-verse sup { position:relative; top:-.15em; display:inline-block; min-width:25px; margin-right:6px; color:var(--bos-gold-dark); font-family:Arial,sans-serif; font-size:11px; font-weight:900; line-height:1; vertical-align:baseline; }
.bos-scripture-source-note { display:flex; justify-content:space-between; gap:20px; margin-top:14px; padding:0 4px; color:#81796e; font-size:11px; }
.bos-scripture-source-note strong { color:#625b51; }
.bos-scripture-error { padding:38px 40px; border:1px solid #ded6c8; border-radius:22px; background:#fff; }
.bos-scripture-error h2 { margin:7px 0 10px; font:500 34px/1.12 Georgia,serif; }
.bos-scripture-error p { margin:0 0 22px; color:var(--bos-muted); }
.bos-scripture-bottom-nav { display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-top:44px; }
.bos-scripture-nav-card { display:flex; flex-direction:column; min-height:126px; padding:21px 23px; border:1px solid #d8cfbf; border-radius:18px; background:#fff; color:var(--bos-ink); transition:.2s ease; }
a.bos-scripture-nav-card:hover { transform:translateY(-2px); border-color:#b99351; box-shadow:0 14px 34px rgba(41,34,22,.07); }
.bos-scripture-nav-card > span { color:var(--bos-gold-dark); font-size:11px; font-weight:900; letter-spacing:.08em; text-transform:uppercase; }
.bos-scripture-nav-card strong { margin-top:auto; padding-top:20px; font:500 24px/1.1 Georgia,serif; }
.bos-scripture-nav-next { align-items:flex-end; text-align:right; }
.bos-scripture-nav-card.is-disabled { opacity:.5; }

@media (max-width:700px) {
  .bos-scripture-hero-inner { align-items:flex-start; flex-direction:column; gap:22px; }
  .bos-scripture-content-section { padding:38px 0 54px; }
  .bos-scripture-text { padding:29px 23px; border-radius:18px; }
  .bos-scripture-verse { font-size:18px; line-height:1.7; }
  .bos-scripture-source-note { flex-direction:column; gap:3px; }
  .bos-scripture-bottom-nav { grid-template-columns:1fr; }
  .bos-scripture-nav-next { align-items:flex-start; text-align:left; }
}

/* Homepage chapter questions — scoped to the existing question section. */
.bos-question-box{align-items:start}
.bos-question-copy{padding-top:12px}
.bos-question-benefits{display:grid;gap:11px;margin-top:24px;color:#77654b;font-size:13px}
.bos-question-benefits span::before{content:"✓";display:inline-grid;place-items:center;width:20px;height:20px;margin-right:9px;background:#eee3d1;color:#725328;border-radius:50%;font-weight:700}
.bos-home-questions .bos-home-question-title{font:normal 23px/1.25 Georgia,serif;color:#2e2a25;margin:0 0 17px}
.bos-home-questions .bos-home-question-pickers{display:grid;grid-template-columns:minmax(0,1fr) 120px;gap:12px;margin-bottom:14px}
.bos-home-questions label{display:block;color:#635440;font-size:12px;font-weight:700;letter-spacing:.02em}
.bos-home-questions select,.bos-home-questions textarea{display:block;width:100%;max-width:100%;margin-top:7px;padding:12px 13px;border:1px solid #d8c7af;border-radius:11px;color:#332b24;background:#fcfaf6;font:inherit;font-size:15px;box-sizing:border-box}
.bos-home-questions textarea{resize:vertical;min-height:100px;line-height:1.5}
.bos-home-questions :is(select,textarea,button):focus-visible{outline:3px solid #d3b786;outline-offset:2px}
.bos-home-questions .bos-home-question-submit{display:flex;align-items:center;justify-content:center;gap:12px}
.bos-home-questions .bos-home-question-submit:disabled{opacity:.65;cursor:wait}
.bos-home-questions .bos-home-question-status{font-size:13px;line-height:1.4;margin:12px 0;color:#80603a;min-height:0}
.bos-home-questions .bos-home-question-status:empty{display:none}
.bos-home-questions .bos-home-question-conversation{display:grid;gap:12px;max-height:430px;overflow:auto;margin-top:14px}
.bos-home-questions .bos-home-question-conversation[hidden]{display:none}
.bos-home-question-message{padding:14px 16px;border-radius:13px;border:1px solid #e4d5bf;background:#faf5ec;color:#2e2a25;white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.6}
.bos-home-question-message[data-role="user"]{background:#2c2924;color:#fff;border-color:#2c2924}
.bos-home-question-message strong{display:block;text-transform:uppercase;letter-spacing:.11em;font-size:10px;margin-bottom:7px;opacity:.72}
.bos-home-questions .bos-home-question-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:15px;flex-wrap:wrap}
.bos-home-questions .bos-home-question-open{font-size:13px;color:#805b2e;text-decoration:underline;text-underline-offset:3px}
.bos-home-questions button.bos-home-question-clear{width:auto;min-height:0;border:1px solid #d2bea0;padding:7px 11px;margin:0;background:#fffaf1;color:#5a452e;border-radius:9px;font-size:12px}
.bos-home-questions .bos-home-question-clear[hidden]{display:none}
.bos-home-questions small{line-height:1.6}
@media(max-width:560px){.bos-home-questions .bos-home-question-pickers{grid-template-columns:minmax(0,1fr) 105px}}


/* Manual AdSense placements: clear separation from Bible and chapter content. */
.bos-ad-section { padding-top:24px; padding-bottom:42px; }
.bos-ad-wrap { box-sizing:border-box; width:100%; max-width:100%; margin:30px auto; padding:16px 18px 20px; background:#faf7f0; border:1px solid #e5dac8; border-radius:14px; overflow:hidden; text-align:center; }
.bos-ad-label { color:#8b795d; font-size:10px; font-weight:700; letter-spacing:.13em; line-height:1.5; text-transform:uppercase; margin-bottom:12px; }
.bos-ad-unit { width:100%; min-height:90px; }
@media (max-width:700px) { .bos-ad-section { padding-top:12px; padding-bottom:24px; } .bos-ad-wrap { margin:16px auto; padding:10px 6px 4px; border-radius:10px; } .bos-ad-label { margin-bottom:6px; } }
