/* Common containment rules, loaded after page-independent base styles. */
.preferences-panel {
	z-index: 50;
	width: min(340px, var(--preferences-available-width, calc(100vw - 24px)));
	max-height: var(--preferences-max-height, calc(100dvh - 24px));
	transform: translateX(calc(-50% + var(--preferences-offset, 0px)));
	overflow-y: auto;
	overscroll-behavior: contain;
}
.preferences-panel,
html[data-theme="dark"] .preferences-panel {
	background: var(--panel-solid);
	box-shadow: 0 16px 44px rgb(0 0 0 / 22%);
}
.preferences-panel > div { min-width: 0; }
.preferences-panel .segmented-control { min-width: 0; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.preferences-panel .segmented-control.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.preferences-panel .segmented-control button { min-width: 0; min-height: 40px; padding-inline: 2px; white-space: nowrap; font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: .74rem; }
.preferences-panel-link a { min-height: 44px; }
.preferences-panel-link a:active { color: var(--page); background: var(--accent-active); }
.preferences-panel :is(a, button):focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

main,
:where(.reference-reader-layout, .dictionary-entry-layout, .dictionary-page-layout, .study-resource-layout, .blog-layout) > *,
.reference-reader-body, .dictionary-entry-body, .study-resource-body, .course-guide-content {
	min-width: 0;
}
.reference-reader-body, .dictionary-entry-body, .study-resource-body, .course-guide-content {
	overflow-wrap: anywhere;
}
.content-table-scroll {
	min-width: 0;
	max-width: 100%;
	width: 100%;
	margin-block: 1.5em;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	-webkit-overflow-scrolling: touch;
}
.content-table-scroll > table {
	display: table;
	width: 100%;
	max-width: none;
	overflow-wrap: normal;
	word-break: normal;
	margin: 0;
}
.content-table-scroll:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (max-width: 560px) {
	.preferences-panel > div { grid-template-columns: 52px minmax(0, 1fr); gap: 8px; }
	.preferences-panel > .preferences-panel-link { grid-template-columns: minmax(0, 1fr); }
	.preferences-panel .segmented-control button { min-height: 44px; }
}
.reference-section-heading > div { min-width: 0; max-width: 100%; }
.reference-section-heading h2 { overflow-wrap: anywhere; }
@media (max-width: 640px) {
	.reference-section-heading h2 { font-size: clamp(1.65rem, 6vw, 2.2rem); line-height: 1.2; }
}

.mobile-toc-toggle { display: none; }
.mobile-toc > nav[hidden] { display: none !important; }
@media (max-width: 900px) {
	.mobile-toc { margin-bottom: 28px; }
	.mobile-toc > .eyebrow, .mobile-toc[data-mobile-toc] > header { display: none; }
	.mobile-toc .mobile-toc-toggle {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 16px;
		width: 100%;
		min-height: 48px;
		margin: 0 0 12px;
		padding: 10px 14px;
		border: 1px solid var(--line);
		border-radius: 10px;
		color: var(--text);
		background: var(--panel-solid);
		font: 700 .9rem/1.4 var(--ui-font);
		text-align: left;
		cursor: pointer;
	}
	.mobile-toc .mobile-toc-toggle > span:last-child { font: 500 1.4rem/1 var(--ui-font); }
	.mobile-toc .mobile-toc-toggle:hover { color: var(--nav-hover-text); background: var(--nav-hover-bg); }
	.mobile-toc .mobile-toc-toggle:active { color: var(--nav-active-text); background: var(--nav-active-bg); }
	.mobile-toc .mobile-toc-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
}

/* Simple Bible reading never reserves study columns, regardless of saved preferences. */
html body .reader-shell--plain[data-reading-current] > .reader-layout > .reader-content {
 display: block !important;
 width: min(var(--reading-width, 760px), 100%) !important;
 min-width: 0;
 margin-inline: auto;
}
.reader-shell--plain [data-reader-column] { display: none !important; }

/* Keep the original fixed arrows clear of the desktop alphabet. */
@media (min-width: 901px) {
 .dictionary-entry-sidebar {
  box-sizing: border-box;
  max-height: var(--dictionary-sidebar-available-height, calc(100dvh - 238px));
  overflow-y: auto;
  overscroll-behavior-y: contain;
 }
 .dictionary-entry-sidebar .dictionary-entry-letters {
  grid-template-columns: repeat(2, minmax(0, 1fr));
 }
}

/* Fit alphabet cells beside the vertical scrollbar without horizontal scrolling. */
.dictionary-entry-sidebar { overflow-x: hidden; }
.dictionary-entry-sidebar > * { min-width: 0; max-width: 100%; }
.dictionary-entry-sidebar > strong { overflow-wrap: anywhere; }
.dictionary-entry-sidebar .dictionary-entry-letters { width: 100%; min-width: 0; }
.dictionary-entry-sidebar .dictionary-entry-letters a {
 box-sizing: border-box;
 max-width: 100%;
 gap: 4px;
 padding-inline: 6px;
}
.dictionary-entry-sidebar .dictionary-entry-letters a small { flex-shrink: 0; }

/* Article navigation stays below the header; long reference outlines scroll locally. */
.dictionary-entry-arrows--inline a { z-index: auto; }
@media (min-width: 901px) {
 .reference-reader-toc {
  max-height: var(--reference-toc-available-height, calc(100dvh - 118px));
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior-y: contain;
  scrollbar-width: thin;
 }
}
.reference-document-attribution, .reference-document-attribution p { font-weight: 700; }
.source-line--tis8 > span {
 font-family: "SBL Greek", "Times New Roman", serif;
 font-size: calc(var(--reader-size) * 1.95);
 line-height: 1.25;
}
html[data-source-tis8="show"] .source-line--tis8 { display: flex; }
html[data-source-tis8="show"] .verse-source-lines { display: grid; }
.source-variant { display: inline; }
.source-variant small { font: 600 .75rem/1.4 var(--ui-font); color: inherit; text-transform: none; letter-spacing: normal; }

.tis8-rights { display: none; }
html[data-source-tis8="show"] .tis8-rights { display: block; }

/* Open the existing Bible navigator without returning to the chapter heading. */
.reader-mobile-navigation { display: none; }
@media (max-width: 900px) {
 .reader-shell[data-reading-current] > .reader-arrows > .reader-mobile-navigation {
  display: flex; flex: 1 1 auto; flex-direction: column; justify-content: center;
  align-items: center; gap: 2px; min-width: 0; max-width: 180px; height: 52px;
  margin: 0 6px; padding: 4px 8px; border: 1px solid var(--line); border-radius: 18px;
  background: var(--panel-solid); color: var(--text); pointer-events: auto; cursor: pointer;
  font: 700 .78rem/1.2 "OB Nav", system-ui, sans-serif;
  box-shadow: 0 8px 24px color-mix(in srgb, var(--text) 14%, transparent);
 }
 .reader-shell[data-reading-current] > .reader-arrows > .reader-mobile-navigation > span { font: inherit; line-height: 1.2; position: static; display: block; min-width: 0; min-height: 0; padding: 0; border: 0; background: none; color: inherit; box-shadow: none; transform: none; visibility: visible; }
 .reader-shell[data-reading-current] > .reader-arrows > .reader-mobile-navigation:hover { background: var(--accent); color: var(--panel-solid); }
 .reader-shell[data-reading-current] > .reader-arrows > .reader-mobile-navigation:active { background: var(--accent-active); color: var(--panel-solid); transform: scale(.97); }
 .reader-mobile-navigation:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
}

/* Compact Bible links, with a close control anchored at the header's right edge. */
@media (max-width: 900px) {
 .book-browser-head { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: stretch; }
 .book-browser-head > div:first-child { min-width: 0; padding-right: 54px; }
 .book-browser-head .book-browser-actions { display: flex; flex-wrap: wrap; width: 100%; align-items: center; }
 .book-browser-head .book-browser-actions > .version-chip { flex: 0 1 auto; width: auto; min-width: 0; }
 .book-browser-head .book-browser-close { position: absolute; top: clamp(18px, 3vw, 28px); right: clamp(18px, 3vw, 28px); flex-shrink: 0; }
}

.reader-chapter-pagination { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin: 24px 0; }
.reader-chapter-pagination a { display: grid; gap: 6px; padding: 16px; border: 1px solid var(--line); border-radius: 16px; color: var(--text); background: var(--panel-solid); text-decoration: none; }
.reader-chapter-pagination a:last-child { text-align: right; }
.reader-chapter-pagination small { color: var(--muted); font: 600 .78rem/1.4 var(--ui-font); }
.reader-chapter-pagination a:hover { border-color: var(--accent); background: var(--page-wash); color: var(--accent); }
.reader-chapter-pagination a:active { background: var(--accent); color: var(--panel-solid); }
.reader-chapter-pagination a:active small { color: inherit; }
.reader-chapter-pagination a:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
@media (max-width:900px) {
 .reader-shell[data-reading-current] > .reader-arrows > .reader-mobile-navigation { font-size: .72rem; gap: 3px; border-radius: 18px; }
 .reader-shell[data-reading-current] > .reader-arrows > .reader-mobile-navigation > svg { order: 0; width: 20px; height: 20px; flex-shrink: 0; }
 .reader-shell[data-reading-current] > .reader-arrows > .reader-mobile-navigation > span { order: 1; white-space: nowrap; }
}

@media (max-width:900px) {
 .reader-shell[data-reading-current] > .reader-arrows > .reader-mobile-navigation {
  flex: 0 0 52px; width: 52px; min-width: 52px; max-width: 52px;
  height: 52px; padding: 0; margin: 0; border-radius: 50%;
 }
 .reader-shell[data-reading-current] > .reader-arrows > .reader-mobile-navigation > svg { width: 24px; height: 24px; }
}

.dictionary-entry-sidebar .dictionary-entry-preliminaries { white-space: normal; overflow-wrap: anywhere; }
.dictionary-entry-body table { border-collapse: collapse; min-width: 36rem; width: 100%; font-size: .9em; }
.dictionary-entry-body td, .dictionary-entry-body th { padding: .6rem .75rem; border: 1px solid var(--line); vertical-align: top; }
.dictionary-entry-body td p { margin: 0 0 .5em; }
.dictionary-entry-body td p:last-child { margin-bottom: 0; }

.dictionary-page-body figure { margin: 1.5rem 0; }
.dictionary-page-body img { display: block; max-width: 100%; height: auto; }

/* Bibliographies align with the article even with their smaller type size. */
.dictionary-entry-article .dictionary-entry-bibliography,
.dictionary-entry-article .dictionary-entry-bibliography p { width: 100%; max-width: 100%; }

/* Study section notes: native disclosure, closed by default on every screen. */
.reader-section-note { margin: 1.25rem 0; border: 1px solid var(--line); border-radius: 14px; background: var(--panel-solid); color: var(--text); overflow-wrap: anywhere; }
.reader-section-note > summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .85rem 1rem; cursor: pointer; list-style: none; font-weight: 700; }
.reader-section-note > summary::-webkit-details-marker { display: none; }
.reader-section-note > summary::after { content: '+'; flex: 0 0 auto; font-size: 1.3rem; }
.reader-section-note[open] > summary::after { content: '−'; }
.reader-section-note > summary:hover { background: color-mix(in srgb, var(--accent) 8%, transparent); }
.reader-section-note > summary:active { background: color-mix(in srgb, var(--accent) 15%, transparent); }
.reader-section-note > summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.reader-section-note small { margin-left: .4rem; font-weight: 400; }
.reader-section-note__body { padding: 0 1rem 1rem; font: 1em/1.75 var(--reader-font); }
.reader-section-note__body p { max-width: 100%; }
.reader-section-note__body > :last-child { margin-bottom: 0; }

.reader-section-note > summary { border-radius: 13px; }
.reader-section-note[open] > summary { border-radius: 13px 13px 0 0; }

/* Sidebar tracks must shrink; only wide tables scroll horizontally. */
.reader-intro-panel, .reader-intro-panel > div, .reader-intro-panel section, .reader-intro-body { min-width: 0; max-width: 100%; }
.reader-intro-panel { overflow-x: hidden; }
.reader-intro-panel :is(p, li, a, h2, h3, h4, dt, dd) { overflow-wrap: anywhere; }
.reader-intro-panel :is(img, svg, video) { max-width: 100%; height: auto; }
.reader-intro-panel .content-table-scroll { min-width: 0; max-width: 100%; overflow-x: auto; }
/* The highlighter opens a compact palette in place of the action buttons. */
.verse-actions .verse-highlight-colors { display: flex; align-items: center; justify-content: space-between; gap: .65rem; padding-top: .75rem; }
.verse-actions .verse-highlight-colors[hidden], .verse-actions .verse-actions-grid[hidden] { display: none; }
[data-highlight-color="blue"] { --highlight-color: #72b9ed; }
[data-highlight-color="gray"] { --highlight-color: #aaa; }
[data-highlight-color="red"] { --highlight-color: #ee8993; }
.verse-actions .verse-highlight-colors button { flex: 0 0 44px; width: 44px; height: 44px; min-height: 44px; padding: 0; border: 0; border-radius: 50%; box-shadow: none; }
.verse-actions .verse-highlight-colors .verse-highlight-back { display: grid; place-items: center; color: var(--text); background: transparent; }
.verse-actions .verse-highlight-back svg { width: 24px; height: 24px; }
.verse-actions .verse-highlight-colors .verse-highlight-swatch { background: var(--highlight-color); }
.verse-actions .verse-highlight-colors button:hover { filter: brightness(1.08); transform: translateY(-1px); }
.verse-actions .verse-highlight-colors button:active { transform: scale(.94); }
.verse-actions .verse-highlight-colors button:focus-visible { outline: 2px solid var(--text); outline-offset: 4px; }
.verse-actions .verse-highlight-swatch[aria-pressed="true"] { outline: 2px solid var(--text); outline-offset: 3px; }
.verse.is-highlighted[data-highlight-color="blue"] .verse-text,
.verse.is-highlighted[data-highlight-color="gray"] .verse-text,
.verse.is-highlighted[data-highlight-color="red"] .verse-text { background: color-mix(in srgb, var(--highlight-color) 32%, transparent); }


/* Corpus cards grow with their text at every viewport and reading size. */
.corpus-explorer__grid { align-items: start; grid-auto-rows: auto; }
.corpus-explorer .corpus-explorer__card { height: auto; min-height: 0; max-height: none; grid-template-rows: auto; }
.corpus-explorer__copy { height: auto; min-height: 0; max-height: none; align-self: start; }
.corpus-explorer__copy > :is(small, strong, span) { display: block; height: auto; max-height: none; white-space: normal; overflow-wrap: anywhere; }
@media (max-width: 540px) {
    .corpus-explorer__card.is-current { grid-template-columns: 40px minmax(0, 1fr); }
    .corpus-explorer__card.is-current > em { grid-column: 2; justify-self: start; white-space: normal; }
}

/* Study landing proposal — October 22. Scoped to the two editorial sections. */
.study-home .study-reperes { width: min(1180px, calc(100% - 40px)); margin: clamp(52px, 7vw, 100px) auto; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.8fr); gap: clamp(32px, 6vw, 86px); color: var(--text); }
.study-reperes__heading .eyebrow, .study-resources__heading .eyebrow { margin: 0 0 18px; color: var(--accent-active); }
.study-reperes__heading h2, .study-resources__heading h2 { margin: 0; font: 500 clamp(2rem, 3.5vw, 3.2rem)/1.08 "OB Serif", Georgia, serif; letter-spacing: -.035em; text-wrap: balance; }
.study-reperes__heading > p:last-child { margin: 20px 0 0; color: var(--muted); font-size: .95rem; line-height: 1.75; max-width: 28ch; }
.study-reperes__numbers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 24px; margin: 0; }
.study-reperes__numbers > div { display: flex; flex-direction: column-reverse; justify-content: end; gap: 10px; min-width: 0; padding: 20px 0 0; border-top: 1px solid var(--line); }
.study-reperes__numbers dd { margin: 0; color: var(--text); font: 500 clamp(1.8rem, 3.2vw, 3rem)/1.15 "OB Serif", Georgia, serif; letter-spacing: -.04em; overflow-wrap: anywhere; }
.study-reperes__numbers dt { color: var(--muted); font: 500 .88rem/1.5 var(--ui-font); }
.study-home .study-resources { width: min(1180px, calc(100% - 40px)); margin: 0 auto clamp(60px, 8vw, 110px); padding: clamp(24px, 4vw, 52px); border: 1px solid var(--line); border-radius: 28px; background: color-mix(in srgb, var(--panel-solid) 85%, var(--page)); color: var(--text); }
.study-resources__heading { display: grid; grid-template-columns: 1.1fr 1fr; align-items: end; gap: 30px; margin-bottom: 36px; }
.study-resources__heading > p { margin: 0; max-width: 45ch; color: var(--muted); font-size: .98rem; line-height: 1.8; }
.study-resources__paths { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.study-resources a { color: inherit; text-decoration: none; }
.study-resources__feature { display: flex; flex-direction: column; align-items: start; padding: clamp(24px, 3vw, 36px); border: 1px solid color-mix(in srgb, var(--accent) 24%, var(--line)); border-radius: 20px; background: radial-gradient(ellipse at 90% 10%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%), color-mix(in srgb, var(--accent) 6%, var(--panel-solid)); }
.study-resources__kicker { color: var(--accent-active); font: 700 .68rem/1.5 var(--ui-font); text-transform: uppercase; letter-spacing: .1em; }
.study-resources__book { width: 200px; max-width: 75%; height: auto; margin: 28px auto; color: var(--accent); opacity: .8; }
.study-resources__feature h3 { margin: 0; max-width: 17ch; font: 500 clamp(1.6rem, 2.6vw, 2.4rem)/1.1 "OB Serif", Georgia, serif; letter-spacing: -.025em; }
.study-resources__feature p { margin: 18px 0 28px; color: var(--muted); font: .92rem/1.75 var(--ui-font); }
.study-resources__cta { display: flex; justify-content: space-between; align-items: center; gap: 20px; width: 100%; margin-top: auto; padding-top: 20px; border-top: 1px solid color-mix(in srgb, var(--accent) 20%, var(--line)); font: 700 .88rem/1.5 var(--ui-font); }
.study-resources__introductions { display: grid; gap: 14px; min-width: 0; }
.study-resources__intro { display: grid; grid-template-columns: 30px minmax(0, 1fr) 22px; gap: 16px; align-items: start; padding: 26px 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--page); }
.study-resources__index { color: var(--accent-active); font: italic 1.3rem/1.4 "OB Serif", Georgia, serif; }
.study-resources__intro small { color: var(--muted); font: 600 .65rem/1.5 var(--ui-font); letter-spacing: .06em; text-transform: uppercase; }
.study-resources__intro h3 { margin: 10px 0 12px; font: 500 clamp(1.2rem, 1.8vw, 1.65rem)/1.2 "OB Serif", Georgia, serif; }
.study-resources__intro p { margin: 0; color: var(--muted); font: .85rem/1.7 var(--ui-font); }
.study-resources__compare { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 22px; border-radius: 14px; font: .8rem/1.5 var(--ui-font); color: var(--muted) !important; }
.study-resources__compare strong { display: block; margin-top: 4px; color: var(--text); font-size: .9rem; }
.study-resources a { transition: background-color .18s, border-color .18s, transform .18s; }
.study-resources a:hover { background-color: color-mix(in srgb, var(--accent) 10%, var(--panel-solid)); border-color: var(--accent); transform: translateY(-2px); }
.study-resources a:active { transform: translateY(0); background-color: color-mix(in srgb, var(--accent) 16%, var(--panel-solid)); }
.study-resources a:focus-visible, .study-resources summary:focus-visible { outline: 2px solid var(--accent-active); outline-offset: 4px; }
.study-resources svg { flex-shrink: 0; }
.study-resources__all { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.study-resources__all summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; list-style: none; cursor: pointer; padding: 10px 0; font: 700 .95rem/1.5 var(--ui-font); }
.study-resources__all summary::-webkit-details-marker { display: none; }
.study-resources__all summary small { display: block; margin-top: 5px; color: var(--muted); font-weight: 400; font-size: .8rem; }
.study-resources__toggle::before { content: '+'; font: 400 1.6rem/1 var(--ui-font); }
.study-resources__all[open] .study-resources__toggle::before { content: '−'; }
.study-resources__all summary:hover { color: var(--accent-active); }
.study-resources__all summary:active { opacity: .8; }
.study-resources__all nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; margin-top: 20px; }
.study-resources__all nav a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font: .85rem/1.6 var(--ui-font); }
.study-resources :is(h2,h3,p,a,dt,dd) { overflow-wrap: anywhere; }
@media(max-width: 850px) {
 .study-home .study-reperes { grid-template-columns: 1fr; gap: 30px; }
 .study-reperes__heading > p:last-child { max-width: 50ch; }
 .study-resources__heading { grid-template-columns: 1fr; gap: 20px; }
 .study-resources__paths { grid-template-columns: 1fr; }
 .study-resources__book { width: 170px; margin: 20px auto; }
 .study-resources__feature h3 { max-width: 26ch; }
}
@media(max-width: 500px) {
 .study-reperes__numbers { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; }
 .study-home .study-resources, .study-home .study-reperes { width: calc(100% - 28px); }
 .study-home .study-resources { padding: 24px 18px; border-radius: 22px; }
 .study-resources__intro { grid-template-columns: 24px minmax(0,1fr) 18px; padding: 22px 16px; gap: 12px; }
 .study-resources__all nav { grid-template-columns: 1fr; }
}
@media(prefers-reduced-motion: reduce) { .study-resources a { transition: none; } }

.study-reperes__numbers dd small { font: 500 .38em/1 var(--ui-font); letter-spacing: 0; white-space: nowrap; vertical-align: .3em; }

/* Resource panels share the BSE editorial treatment. */
.bible-index .bible-annexes-panel,
.search-layout--landing .search-guide,
.search-layout--landing .search-pathways,
.search-layout--landing .search-empty {
 width: min(1180px, calc(100% - 40px)); max-width: none;
 margin: 0 auto clamp(32px, 5vw, 60px); padding: clamp(24px, 4vw, 52px);
 border: 1px solid var(--line); border-radius: 28px;
 color: var(--text); background: color-mix(in srgb, var(--panel-solid) 85%, var(--page));
 box-shadow: none; backdrop-filter: none;
}
.bible-index .bible-annexes-panel { display: grid; grid-template-columns: 1fr; gap: 36px; }
.bible-index .bible-annexes-copy { max-width: none; display: grid; grid-template-columns: 1.1fr 1fr; gap: 18px 30px; align-items: end; }
.bible-index .bible-annexes-copy .eyebrow { grid-column: 1 / -1; }
.bible-index .bible-annexes-copy h2,
.search-layout--landing .search-guide h2,
.search-layout--landing .search-empty h2 {
 margin: 0; color: var(--text); font: 500 clamp(2rem, 3.5vw, 3.2rem)/1.08 "OB Serif", Georgia, serif;
 letter-spacing: -.035em; text-wrap: balance;
}
.bible-index .bible-annexes-copy > p:not(.eyebrow) { margin: 0; max-width: 45ch; color: var(--muted); font: .98rem/1.8 var(--ui-font); }
.bible-index .bible-annexes-copy .eyebrow,
.search-layout--landing .search-guide .eyebrow { margin: 0 0 18px; color: var(--accent-active); }
.search-layout--landing .search-guide { display: block; }
.search-layout--landing .search-guide > header { margin-bottom: 36px; }
.bible-index .bible-annexes-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bible-index .bible-annexes-grid > a,
.search-layout--landing .search-scope-grid > a,
.search-layout--landing .search-pathways > a {
 min-width: 0; min-height: 0; padding: 26px 22px; border: 1px solid var(--line); border-radius: 18px;
 color: var(--text); background: var(--page); box-shadow: none; text-decoration: none;
 transition: background-color .18s, border-color .18s, transform .18s;
}
.bible-index .bible-annexes-grid strong,
.search-layout--landing .search-scope-grid strong,
.search-layout--landing .search-pathways strong {
 color: var(--text); font: 500 clamp(1.2rem, 1.8vw, 1.65rem)/1.2 "OB Serif", Georgia, serif; letter-spacing: -.025em;
}
.bible-index .bible-annexes-grid small,
.search-layout--landing .search-pathways > a > span { color: var(--accent-active); font: 600 .65rem/1.5 var(--ui-font); letter-spacing: .06em; text-transform: uppercase; }
.bible-index .bible-annexes-grid > a > span,
.search-layout--landing .search-scope-grid span,
.search-layout--landing .search-scope-grid small,
.search-layout--landing .search-pathways small { color: var(--muted); font: .85rem/1.7 var(--ui-font); }
.bible-index .bible-annexes-grid > a:hover,
.search-layout--landing :is(.search-scope-grid, .search-pathways) > a:hover { color: var(--text); background: color-mix(in srgb, var(--accent) 10%, var(--panel-solid)); border-color: var(--accent); transform: translateY(-2px); }
.bible-index .bible-annexes-grid > a:active,
.search-layout--landing :is(.search-scope-grid, .search-pathways) > a:active { background: color-mix(in srgb, var(--accent) 16%, var(--panel-solid)); transform: translateY(0); }
.bible-index .bible-annexes-grid > a:focus-visible,
.search-layout--landing :is(.search-scope-grid, .search-pathways) > a:focus-visible { outline: 2px solid var(--accent-active); outline-offset: 4px; }
.search-layout--landing .search-example-panel { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
@media (max-width: 850px) {
 .bible-index .bible-annexes-copy { grid-template-columns: 1fr; }
 .bible-index .bible-annexes-grid { grid-template-columns: 1fr; }
}
@media (max-width: 500px) {
 .bible-index .bible-annexes-panel,
 .search-layout--landing :is(.search-guide, .search-pathways, .search-empty) { width: calc(100% - 28px); padding: 24px 18px; border-radius: 22px; }
}
@media (prefers-reduced-motion: reduce) {
 .bible-index .bible-annexes-grid > a,
 .search-layout--landing :is(.search-scope-grid, .search-pathways) > a { transition: none; }
}
.search-layout--landing .search-scope-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.search-layout--landing .search-scope-grid strong { text-transform: none; }
@media (max-width: 760px) {
 .search-layout--landing .search-scope-grid { grid-template-columns: minmax(0, 1fr); }
}
