/* WP-Bible 2.0 — box with the Bible text. Inherits the theme's font; colours follow light/dark themes. */
.wp-bible { position: relative; display: inline; }
.wp-bible-link { cursor: pointer; text-decoration-style: dotted; text-underline-offset: 0.15em; }
.wp-bible-box {
	--wp-bible-bg: #fff; --wp-bible-fg: #1e1e1e; --wp-bible-muted: #6b6b6b; --wp-bible-line: rgba(0, 0, 0, 0.14);
	display: block; box-sizing: border-box; background: var(--wp-bible-bg); color: var(--wp-bible-fg);
	border: 1px solid var(--wp-bible-line); border-radius: 6px; padding: 0.75em 0.9em;
	font-size: 0.9em; line-height: 1.5; font-style: normal; font-weight: normal; text-align: start; text-indent: 0;
	text-transform: none; letter-spacing: normal; white-space: normal;
}
/* Dark theme (the script looks at the background behind the post). */
.wp-bible-box.wp-bible-dark { --wp-bible-bg: #23262b; --wp-bible-fg: #e8e8e8; --wp-bible-muted: #a7a7a7; --wp-bible-line: rgba(255, 255, 255, 0.18); }
.wp-bible-pop {
	position: absolute; z-index: 99999; left: 0; top: calc(100% + 0.35em);
	width: var(--wp-bible-width, 300px); max-width: calc(100vw - 24px);
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
}
.wp-bible-pop.wp-bible-up { top: auto; bottom: calc(100% + 0.35em); }
.wp-bible-pop[hidden] { display: none; }
.wp-bible-inline { margin: 0.5em 0 1em; }
.wp-bible-head { display: flex; gap: 0.5em; align-items: flex-start; justify-content: space-between; margin-bottom: 0.4em; }
.wp-bible-head a { color: inherit; text-decoration: none; }
.wp-bible-head a:hover { text-decoration: underline; }
.wp-bible-close {
	flex: none; background: none; border: 0; padding: 0 0.2em; margin: -0.15em -0.25em 0 0; color: var(--wp-bible-muted);
	font: inherit; font-size: 1.3em; line-height: 1; cursor: pointer; min-width: 0; box-shadow: none;
}
.wp-bible-inline .wp-bible-close { display: none; }
.wp-bible-text { display: block; max-height: min(22em, 40vh); overflow-y: auto; overscroll-behavior: contain; }
.wp-bible-text sup { font-size: 0.7em; vertical-align: super; line-height: 0; margin-inline-end: 0.15em; color: var(--wp-bible-muted); }
.wp-bible-more { display: block; margin-top: 0.4em; }
.wp-bible-foot { display: flex; flex-wrap: wrap; gap: 0.3em 0.8em; justify-content: space-between; margin-top: 0.6em; padding-top: 0.4em; border-top: 1px solid var(--wp-bible-line); font-size: 0.8em; color: var(--wp-bible-muted); }
.wp-bible-foot a, .wp-bible-more a { color: inherit; }
@media print { .wp-bible-pop { display: none !important; } }
.wp-bible-pop:focus:not(:focus-visible){outline:none}
