/* My Rising Hills: verse of the day + where you left off (inc/me-bible.php), and the Bible invitations around the
   website (inc/me-bible-invite.php, bi-). Real photos only, nothing drawn. */
/* 2026-11-19: the verse across the page, "Where you left off" its own box under it */
.mb-col { display: grid; gap: 16px; margin: 0 0 18px; }
.mb-row { display: grid; grid-template-columns: 1.55fr 1fr; gap: 18px; margin: 0 0 18px; align-items: stretch; }
.mb-row.is-one { grid-template-columns: 1fr; }
@media (max-width: 860px) { .mb-row { grid-template-columns: 1fr; } }

.mb-k { margin: 0 0 14px; font: 800 11.5px/1.2 Manrope, system-ui, sans-serif; letter-spacing: .16em; text-transform: uppercase; opacity: .92; }
.mb-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.mb-btn { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 99px; font: 700 14.5px/1 Manrope, system-ui, sans-serif; text-decoration: none; color: #fff; border: 1.5px solid rgba(255, 255, 255, .55); background: rgba(255, 255, 255, .08); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: transform .18s, background-color .2s, border-color .2s; }
.mb-btn:hover { background: rgba(255, 255, 255, .18); border-color: #fff; }
.mb-btn:active { transform: scale(.97); }
.mb-btn.is-solid { background: #fff; color: #1c2a1e; border-color: #fff; }
.mb-btn.is-solid:hover { background: #F3EDE0; }
.mb-btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

/* the verse on its photo */
.mb-verse { position: relative; overflow: hidden; isolation: isolate; border-radius: 26px; min-height: 360px; display: flex; color: #fff; background: #1d2a22; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .75); }
.mb-photo { position: absolute; inset: -6%; z-index: -2; background: center / cover no-repeat; animation: mb-drift 38s ease-in-out infinite alternate; }
@keyframes mb-drift { from { transform: scale(1.02) translate3d(-1.2%, 0, 0); } to { transform: scale(1.1) translate3d(1.4%, -1.2%, 0); } }
.mb-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(10, 14, 12, .74) 0%, rgba(10, 14, 12, .42) 48%, rgba(10, 14, 12, .02) 100%), linear-gradient(0deg, rgba(10, 14, 12, .45), transparent 50%); }
.mb-in { position: relative; align-self: flex-end; width: 100%; max-width: 640px; padding: 34px 36px 32px; }
.mb-q { margin: 0; }
.mb-q p { margin: 0; font: 500 clamp(22px, 2.35vw, 31px)/1.36 Literata, Georgia, serif; letter-spacing: -.005em; text-wrap: pretty; text-shadow: 0 1px 18px rgba(0, 0, 0, .35); }
.mb-verse.is-short .mb-q p { font-size: clamp(26px, 3vw, 40px); line-height: 1.25; }
.mb-verse.is-long .mb-q p { font-size: clamp(19px, 1.85vw, 25px); }
.mb-q cite { display: block; margin-top: 16px; font: italic 500 16px/1.3 Literata, Georgia, serif; opacity: .95; }
.mb-q cite::before { content: ''; display: inline-block; width: 26px; height: 1.5px; margin-right: 10px; vertical-align: middle; background: currentColor; opacity: .7; }
.mb-q cite small { font: 700 10px/1 Manrope, system-ui, sans-serif; letter-spacing: .12em; margin-left: 6px; opacity: .7; font-style: normal; }

/* the colour wash when a photo is missing (and behind a photo while it loads), by theme */
.mb-verse { background: radial-gradient(120% 90% at 80% 10%, #4f7d5c, #1f3a2a 70%); }
.mb-t-flowers, .mb-t-meadow, .mb-t-wildflowers, .mb-t-roses, .mb-t-garden, .mb-t-blossom, .mb-t-spring { background: radial-gradient(120% 90% at 80% 10%, #c98a9a, #5a3a4a 72%); }
.mb-t-wheat, .mb-t-sunrise, .mb-t-path, .mb-t-road { background: radial-gradient(120% 90% at 80% 10%, #d9a35e, #5c3d22 72%); }
.mb-t-river, .mb-t-lake, .mb-t-calm, .mb-t-storm, .mb-t-stars { background: radial-gradient(120% 90% at 80% 10%, #5f8fb8, #162c44 72%); }
.mb-t-sword, .mb-t-armor, .mb-t-blade, .mb-t-forge, .mb-t-battle, .mb-t-soldier, .mb-t-stone, .mb-t-lion { background: radial-gradient(120% 90% at 80% 10%, #6b6f73, #16181a 72%); }

/* where you left off */
.mb-go { position: relative; overflow: hidden; isolation: isolate; border-radius: 26px; min-height: 360px; display: flex; color: #fff; background: linear-gradient(140deg, #2f5a40 0%, #234a6a 100%); box-shadow: 0 30px 60px -30px rgba(15, 40, 60, .7); }
.mb-go-tint { position: absolute; inset: 0; z-index: -1; background: linear-gradient(140deg, rgba(36, 74, 52, .9) 0%, rgba(30, 66, 98, .74) 60%, rgba(30, 66, 98, .5) 100%), linear-gradient(0deg, rgba(10, 18, 24, .45), transparent 60%); }
.mb-go-glow { position: absolute; z-index: -1; width: 420px; height: 420px; right: -140px; top: -160px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, .22), transparent); }
.mb-go-in { position: relative; align-self: flex-end; width: 100%; padding: 32px 32px 30px; }
.mb-go-book { margin: 0; font: 500 clamp(30px, 3.4vw, 44px)/1.08 Literata, Georgia, serif; letter-spacing: -.015em; }
.mb-go-book b { font-weight: 600; }
.mb-go-sub { margin: 10px 0 0; font: 500 15px/1.45 Manrope, system-ui, sans-serif; opacity: .9; max-width: 40ch; }
.mb-stats { position: relative; display: flex; gap: 22px; flex-wrap: wrap; margin-top: 18px; padding-top: 16px; font: 600 13.5px/1.3 Manrope, system-ui, sans-serif; }
.mb-stats::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: rgba(255, 255, 255, .22); }
.mb-stats b { font: 600 20px/1 Literata, Georgia, serif; margin-right: 3px; }
.mb-bar { position: absolute; left: 0; top: -1px; height: 3px; width: max(3px, var(--p)); border-radius: 3px; background: #fff; }

/* where you left off: a box of its own (2026-11-19) */
.mb-left { display: flex; align-items: center; justify-content: space-between; gap: 18px 24px; flex-wrap: wrap; padding: 22px 24px; border-radius: 22px; background: #FBF8F1; color: #1c2a1e; border: 1.5px solid rgba(47, 90, 64, .22); box-shadow: 0 18px 40px -28px rgba(20, 40, 28, .45); }
.mb-left[hidden] { display: none; }
.mb-left-in { flex: 1 1 320px; min-width: 0; }
.mb-left-k { margin: 0 0 6px; font: 800 11.5px/1.2 Manrope, system-ui, sans-serif; letter-spacing: .16em; text-transform: uppercase; color: #2f5a40; }
.mb-left-book { margin: 0; font: 600 clamp(24px, 2.6vw, 32px)/1.12 Literata, Georgia, serif; letter-spacing: -.01em; text-transform: none; }
.mb-left-line { margin: 8px 0 0; font: italic 400 17px/1.5 Literata, Georgia, serif; color: #33443a; max-width: 62ch; }
.mb-left-line:empty { display: none; }
.mb-left-line small, .bi-line small { font: 700 10px/1 Manrope, system-ui, sans-serif; letter-spacing: .12em; font-style: normal; opacity: .6; margin-left: 4px; }
.mb-left-sub { margin: 8px 0 0; font: 500 14px/1.4 Manrope, system-ui, sans-serif; color: #56655b; }
.mb-left-sub:empty { display: none; }
.mb-left-stats { position: relative; display: flex; gap: 18px; flex-wrap: wrap; margin: 14px 0 0; padding-top: 12px; font: 600 13px/1.3 Manrope, system-ui, sans-serif; color: #33443a; }
.mb-left-stats::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: rgba(47, 90, 64, .18); }
.mb-left-stats b { font: 600 18px/1 Literata, Georgia, serif; margin-right: 3px; }
.mb-left-stats .mb-bar { background: #2f5a40; }
.mb-left-btns { display: flex; gap: 10px; align-items: center; }
.mb-left-go { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 99px; background: linear-gradient(120deg, #2f5a40, #234a6a); color: #fff; font: 700 15px/1 Manrope, system-ui, sans-serif; text-decoration: none; }
.mb-left-go:hover { filter: brightness(1.08); }
.mb-left-listen { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid rgba(47, 90, 64, .35); color: #2f5a40; }
.mb-left-listen:hover { background: rgba(47, 90, 64, .08); }
.mb-left-go:focus-visible, .mb-left-listen:focus-visible { outline: 3px solid #2f5a40; outline-offset: 3px; }
@media (max-width: 600px) { .mb-left { padding: 20px; } .mb-left-btns { width: 100%; } .mb-left-go { flex: 1; justify-content: center; } }

/* arriving */
.mb-verse, .mb-go, .mb-left { opacity: 0; transform: translateY(14px); animation: mb-in .8s cubic-bezier(.2, .75, .2, 1) forwards; }
.mb-go, .mb-left { animation-delay: .12s; }
@keyframes mb-in { to { opacity: 1; transform: none; } }

@media (max-width: 860px) {
  .mb-verse { min-height: 420px; border-radius: 22px; }
  .mb-go { min-height: 0; border-radius: 22px; }
  .mb-in, .mb-go-in { padding: 26px 22px 22px; }
  .mb-shade { background: linear-gradient(0deg, rgba(10, 14, 12, .86) 0%, rgba(10, 14, 12, .5) 55%, rgba(10, 14, 12, .15) 100%); }
  .mb-btn { height: 46px; }
}
@media (prefers-reduced-motion: reduce) {
  .mb-photo { animation: none; }
  .mb-verse, .mb-go, .mb-left { animation: none; opacity: 1; transform: none; }
}

/* ---------- the Bible invitation above a page's footer (inc/me-bible-invite.php) ---------- */
.bi { margin: 44px auto 34px; }
.bi-card { position: relative; overflow: hidden; isolation: isolate; display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 14px 28px; min-height: 190px; padding: 26px 28px; border-radius: 24px; color: #fff; text-decoration: none; background: radial-gradient(120% 90% at 80% 10%, #4f7d5c, #1f3a2a 70%); box-shadow: 0 24px 50px -32px rgba(0, 0, 0, .7); }
.bi-card[hidden] { display: none; }
.bi-photo { position: absolute; inset: 0; z-index: -2; background: center / cover no-repeat; }
.bi-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(10, 14, 12, .78) 0%, rgba(10, 14, 12, .5) 55%, rgba(10, 14, 12, .18) 100%); }
.bi-in { display: flex; flex-direction: column; gap: 8px; flex: 1 1 380px; min-width: 0; max-width: 720px; }
.bi-k { font: 800 11px/1.2 Manrope, system-ui, sans-serif; letter-spacing: .16em; text-transform: uppercase; opacity: .9; }
.bi-q { font: 500 clamp(18px, 1.9vw, 24px)/1.42 Literata, Georgia, serif; text-wrap: pretty; text-shadow: 0 1px 14px rgba(0, 0, 0, .3); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.bi-ref { font: italic 500 15px/1.3 Literata, Georgia, serif; opacity: .95; }
.bi-ref small { font: 700 10px/1 Manrope, system-ui, sans-serif; letter-spacing: .12em; margin-left: 6px; font-style: normal; opacity: .7; }
.bi-go { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 20px; border-radius: 99px; background: #fff; color: #1c2a1e; font: 700 14.5px/1 Manrope, system-ui, sans-serif; white-space: nowrap; }
.bi-card:hover .bi-go { background: #F3EDE0; }
.bi-card:focus-visible { outline: 3px solid #2f5a40; outline-offset: 4px; }
.bi-left { background: #FBF8F1; color: #1c2a1e; border: 1.5px solid rgba(47, 90, 64, .22); align-items: center; min-height: 0; }
.bi-left .bi-k { color: #2f5a40; opacity: 1; }
.bi-book { font: 600 clamp(22px, 2.4vw, 30px)/1.15 Literata, Georgia, serif; }
.bi-line { font: italic 400 16px/1.5 Literata, Georgia, serif; color: #33443a; }
.bi-line:empty { display: none; }
.bi-left .bi-go { background: linear-gradient(120deg, #2f5a40, #234a6a); color: #fff; }
.bi-left:hover .bi-go { background: linear-gradient(120deg, #2f5a40, #234a6a); filter: brightness(1.08); }
.bi.is-wait { opacity: 0; transform: translateY(10px); }
.bi.is-in { opacity: 1; transform: none; transition: opacity .7s ease, transform .7s cubic-bezier(.2, .75, .2, 1); }
@media (max-width: 600px) { .bi { margin: 32px auto 26px; } .bi-card { padding: 22px 20px; min-height: 0; border-radius: 20px; } .bi-go { width: 100%; justify-content: center; } }
@media (prefers-reduced-motion: reduce) { .bi.is-wait { opacity: 1; transform: none; } .bi.is-in { transition: none; } }

/* Listen right here (2026-11-19): a real button that plays on the page; the card's link sits under it */
:where(button.mb-say) { -webkit-appearance: none; appearance: none; margin: 0; cursor: pointer; font: inherit; }
.mb-btn.mb-say { font: 700 14.5px/1 Manrope, system-ui, sans-serif; }
button.mb-say svg { flex: none; }
button.mb-say.is-playing svg { display: none; }
button.mb-say.is-playing::before { content: ''; flex: none; width: 12px; height: 13px; background: linear-gradient(90deg, currentColor 0 4px, transparent 4px 8px, currentColor 8px 12px); }
.mb-btn.mb-say.is-playing { background: #fff; color: #1c2a1e; border-color: #fff; }
.mb-left-listen.mb-say { display: inline-flex; align-items: center; justify-content: center; white-space: nowrap; width: auto; padding: 0 18px; gap: 8px; border-radius: 99px; background: transparent; font: 700 14.5px/1 Manrope, system-ui, sans-serif; }
.mb-left-listen.mb-say.is-playing { background: #2f5a40; color: #fff; border-color: #2f5a40; }
.bi-hit { position: absolute; inset: 0; z-index: 0; border-radius: inherit; }
.bi-hit:focus-visible { outline: 3px solid #2f5a40; outline-offset: 4px; }
.bi-in, .bi-acts { position: relative; z-index: 1; pointer-events: none; }
.bi-acts { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.bi-acts > * { pointer-events: auto; }
.bi-go { text-decoration: none; }
.bi-card:hover .bi-go, .bi-go:hover { background: #F3EDE0; }
.bi-listen { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 18px; border-radius: 99px; color: #fff; border: 1.5px solid rgba(255, 255, 255, .6); background: rgba(255, 255, 255, .1); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font: 700 14.5px/1 Manrope, system-ui, sans-serif; white-space: nowrap; }
.bi-listen:hover { background: rgba(255, 255, 255, .2); border-color: #fff; }
.bi-listen.is-playing { background: #fff; color: #1c2a1e; border-color: #fff; }
.bi-left .bi-listen { color: #2f5a40; border-color: rgba(47, 90, 64, .35); background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.bi-left .bi-listen:hover { background: rgba(47, 90, 64, .08); }
.bi-left .bi-listen.is-playing { background: #2f5a40; color: #fff; border-color: #2f5a40; }
.bi-listen:focus-visible, .mb-say:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
@media (max-width: 600px) { .bi-acts { width: 100%; } .bi-acts .bi-go { flex: 1; width: auto; justify-content: center; } }
