/* BibleBitz — neon cinematic layer on top of theme.json */

:root {
	--bb-radius: 16px;
	--bb-line: rgba(255, 255, 255, 0.08);
	--bb-line-strong: rgba(255, 255, 255, 0.16);
	--bb-cyan: var(--wp--preset--color--cyan);
	--bb-amber: var(--wp--preset--color--amber);
	--bb-magenta: var(--wp--preset--color--magenta);
	--bb-ease: cubic-bezier(.2, .7, .2, 1);
}

html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
::selection { background: var(--bb-magenta); color: #fff; }
img { height: auto; }
.wp-site-blocks { min-height: 100vh; display: flex; flex-direction: column; }
.wp-site-blocks > main { flex: 1; }
:where(.wp-site-blocks) > * { margin-block-start: 0; }

/* ---------- Utility type ---------- */
.bb-eyebrow {
	font-family: var(--wp--preset--font-family--mono);
	font-size: var(--wp--preset--font-size--xs);
	font-weight: 500;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--bb-cyan);
	margin: 0;
}
.bb-eyebrow.is-amber { color: var(--bb-amber); }
.bb-eyebrow.is-magenta { color: var(--bb-magenta); }
.bb-muted { color: var(--wp--preset--color--muted); }
.bb-lede { font-size: var(--wp--preset--font-size--lg); color: #D5DAE5; line-height: 1.6; }
.bb-neon { color: var(--bb-amber); text-shadow: 0 0 12px rgba(255, 181, 71, .55), 0 0 42px rgba(255, 120, 71, .35); }
.bb-neon-cyan { color: var(--bb-cyan); text-shadow: 0 0 12px rgba(63, 227, 242, .5), 0 0 40px rgba(63, 227, 242, .25); }
.bb-gradient-text {
	background: linear-gradient(100deg, var(--bb-cyan), var(--bb-magenta));
	-webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- On-air pill ---------- */
.bb-onair {
	display: inline-flex; align-items: center; gap: .6em;
	padding: .45em 1em .45em .85em;
	border: 1px solid rgba(255, 74, 74, .45);
	background: rgba(255, 74, 74, .1);
	border-radius: 999px;
	font-family: var(--wp--preset--font-family--mono);
	font-size: var(--wp--preset--font-size--xs);
	letter-spacing: .16em; text-transform: uppercase; color: #FFD9D9;
	width: fit-content;
}
.bb-onair::before {
	content: ""; width: .55em; height: .55em; border-radius: 50%;
	background: var(--wp--preset--color--onair);
	box-shadow: 0 0 0 0 rgba(255, 74, 74, .7);
	animation: bb-pulse 1.8s infinite;
}
@keyframes bb-pulse {
	0% { box-shadow: 0 0 0 0 rgba(255, 74, 74, .7); }
	70% { box-shadow: 0 0 0 10px rgba(255, 74, 74, 0); }
	100% { box-shadow: 0 0 0 0 rgba(255, 74, 74, 0); }
}

/* ---------- Header ---------- */
:root { --bb-header-h: 76px; }
.wp-site-blocks > header.wp-block-template-part { position: sticky; top: 0; z-index: 50; margin-bottom: calc(var(--bb-header-h) * -1); }
.admin-bar .wp-site-blocks > header.wp-block-template-part { top: var(--wp-admin--admin-bar--height, 32px); }
@media (max-width: 600px) { .admin-bar .wp-site-blocks > header.wp-block-template-part { top: 0; } }
.bb-top { padding-top: calc(var(--bb-header-h) + var(--wp--preset--spacing--50)) !important; }
.bb-header {
	background: rgba(7, 8, 13, .55);
	-webkit-backdrop-filter: saturate(160%) blur(14px);
	backdrop-filter: saturate(160%) blur(14px);
	border-bottom: 1px solid transparent;
	transition: background .3s var(--bb-ease), border-color .3s var(--bb-ease);
}
.is-scrolled .bb-header { background: rgba(7, 8, 13, .88); border-bottom-color: var(--bb-line); }
.bb-logo img { width: 128px; filter: drop-shadow(0 0 14px rgba(63, 227, 242, .25)); transition: filter .3s; }
.bb-logo a:hover img { filter: drop-shadow(0 0 18px rgba(255, 61, 139, .45)); }
.bb-header .wp-block-navigation a:not(.wp-element-button) { color: #E6E9F0; position: relative; }
.bb-header .wp-block-navigation a:not(.wp-element-button):hover { color: #fff; }
.bb-header .wp-block-navigation-item:not(.bb-nav-cta) > a::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
	background: linear-gradient(90deg, var(--bb-cyan), var(--bb-magenta));
	transform: scaleX(0); transform-origin: left; transition: transform .3s var(--bb-ease);
}
.bb-header .wp-block-navigation-item:not(.bb-nav-cta) > a:hover::after,
.bb-header .wp-block-navigation-item.current-menu-item > a::after { transform: scaleX(1); }
.bb-nav-cta > a {
	background: var(--bb-amber); color: var(--wp--preset--color--ink) !important;
	padding: .55em 1.2em !important; border-radius: 999px; font-weight: 600;
	box-shadow: 0 0 0 rgba(255, 181, 71, 0); transition: box-shadow .3s, transform .3s;
}
.bb-nav-cta > a:hover { box-shadow: 0 0 26px rgba(255, 181, 71, .45); transform: translateY(-1px); }
.wp-block-navigation__responsive-container.is-menu-open {
	background: rgba(7, 8, 13, .97) !important; color: #fff !important;
	padding: 1.5rem clamp(1rem, 4vw, 2.5rem) !important;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { align-items: flex-start; padding-top: 3.5rem; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { gap: 1.25rem; align-items: flex-start !important; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item { font-size: 1.6rem; font-family: var(--wp--preset--font-family--heading); }
.wp-block-navigation__responsive-container-open svg, .wp-block-navigation__responsive-container-close svg { width: 28px; height: 28px; }

/* ---------- Hero ---------- */
.bb-hero { position: relative; isolation: isolate; overflow: hidden; }
.bb-hero { background: var(--wp--preset--color--ink); }
.bb-hero .wp-block-cover__image-background { left: auto !important; right: 0; width: 70% !important; object-position: 38% 30%; transform: scale(1.04); transform-origin: 60% 40%; animation: bb-drift 22s ease-in-out infinite alternate;
	-webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 38%); mask-image: linear-gradient(90deg, transparent 0%, #000 38%); }
@keyframes bb-drift { from { transform: scale(1.04) translate3d(0, 0, 0); } to { transform: scale(1.1) translate3d(-1.5%, -1%, 0); } }
.bb-hero .wp-block-cover__background {
	background: linear-gradient(90deg, rgba(7, 8, 13, .6) 0%, rgba(7, 8, 13, .2) 40%, rgba(7, 8, 13, 0) 60%, rgba(7, 8, 13, .2) 100%) !important;
	opacity: 1 !important;
}
.bb-hero::after {
	content: ""; position: absolute; inset: auto 0 0 0; height: 38%; z-index: 1; pointer-events: none;
	background: linear-gradient(180deg, rgba(7, 8, 13, 0), var(--wp--preset--color--ink));
}
.bb-hero::before {
	content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .18; mix-blend-mode: overlay;
	background-image: repeating-linear-gradient(0deg, rgba(255, 255, 255, .06) 0 1px, transparent 1px 3px);
}
.bb-hero .wp-block-cover__inner-container { position: relative; z-index: 2; }
.bb-hero.has-custom-content-position .wp-block-cover__inner-container { width: 100% !important; max-width: 1240px !important; margin-left: auto !important; margin-right: auto !important; }
.bb-hero .bb-lede { max-width: 36rem; }
.bb-hero h1 { font-size: var(--wp--preset--font-size--display); line-height: 1.02; letter-spacing: -0.035em; max-width: 12ch; }
@media (max-width: 781px) {
	.bb-hero .wp-block-cover__background { background: linear-gradient(180deg, rgba(7, 8, 13, .35) 0%, rgba(7, 8, 13, .75) 45%, rgba(7, 8, 13, .96) 100%) !important; }
	.bb-hero .wp-block-cover__image-background { width: 100% !important; object-position: 45% 20%; -webkit-mask-image: none; mask-image: none; }
	.bb-hero { align-items: flex-end !important; }
}

/* ---------- Section heads ---------- */
.bb-section-head { gap: .5rem; }
.bb-section-head h2 { margin: 0; }
.bb-rule { height: 1px; background: linear-gradient(90deg, var(--bb-line-strong), transparent); border: 0; margin: 0; }

/* ---------- Cards & thumbs ---------- */
.bb-card {
	background: var(--wp--preset--color--panel);
	border: 1px solid var(--bb-line);
	border-radius: var(--bb-radius);
	overflow: hidden; height: 100%;
	transition: transform .35s var(--bb-ease), border-color .35s, box-shadow .35s;
	position: relative;
}
.bb-card:hover { transform: translateY(-4px); border-color: rgba(63, 227, 242, .45); box-shadow: 0 18px 50px -20px rgba(63, 227, 242, .35); }
.bb-card .wp-block-post-featured-image { margin: 0; }
.bb-card-body { padding: 1.1rem 1.25rem 1.4rem; }
.bb-card .wp-block-post-title { font-size: 1.15rem; line-height: 1.3; margin: .35rem 0 .5rem; letter-spacing: -0.01em; }
.bb-card .wp-block-post-title a { color: var(--wp--preset--color--text); }
.bb-card .wp-block-post-title a::before { content: ""; position: absolute; inset: 0; z-index: 1; } /* whole card clickable */
.bb-card .wp-block-post-excerpt__excerpt { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bb-thumb { position: relative; overflow: hidden; }
.bb-thumb img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; transition: transform .6s var(--bb-ease), filter .6s; }
.bb-card:hover .bb-thumb img, .bb-feature:hover .bb-thumb img { transform: scale(1.05); filter: saturate(1.15); }
.bb-thumb::after {
	content: ""; position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; translate: -50% -50%;
	border-radius: 50%; pointer-events: none;
	background: rgba(7, 8, 13, .55) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M8 5.5v13l11-6.5z'/%3E%3C/svg%3E") 54% 50% / 24px no-repeat;
	border: 1px solid rgba(255, 255, 255, .35);
	-webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
	transition: transform .35s var(--bb-ease), background-color .35s, box-shadow .35s;
}
.bb-card:hover .bb-thumb::after, .bb-feature:hover .bb-thumb::after { transform: scale(1.1); background-color: rgba(255, 61, 139, .75); box-shadow: 0 0 30px rgba(255, 61, 139, .55); border-color: transparent; }
.bb-thumb.is-large::after { width: 84px; height: 84px; background-size: 34px; }

/* episode number kicker (from post meta via bindings) */
.bb-ep { margin: 0; font-family: var(--wp--preset--font-family--mono); font-size: var(--wp--preset--font-size--xs); letter-spacing: .16em; text-transform: uppercase; color: var(--bb-cyan); }
.bb-ep:empty { display: none; }

/* terms as small pills */
.bb-terms { font-family: var(--wp--preset--font-family--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; }
.bb-terms a { color: var(--bb-amber); }
.bb-terms .wp-block-post-terms__separator { color: var(--wp--preset--color--muted); }

/* Feature (latest drop) */
.bb-feature { position: relative; }
.bb-feature .bb-thumb { border-radius: var(--wp--custom--radius--lg); border: 1px solid var(--bb-line-strong); box-shadow: 0 30px 80px -30px rgba(63, 227, 242, .35), 0 0 0 1px rgba(255, 61, 139, .08); }
.bb-feature .wp-block-post-title a { color: #fff; }
.bb-feature .wp-block-post-title a:hover { color: var(--bb-amber); }

/* ---------- Series cards ---------- */
.bb-series { border-radius: var(--wp--custom--radius--lg); overflow: hidden; border: 1px solid var(--bb-line-strong); transition: transform .4s var(--bb-ease), box-shadow .4s; }
.bb-series:hover { transform: translateY(-4px); box-shadow: 0 30px 70px -30px rgba(255, 61, 139, .45); }
.bb-series .wp-block-cover__background { background: linear-gradient(180deg, rgba(7, 8, 13, .1) 0%, rgba(7, 8, 13, .55) 45%, rgba(7, 8, 13, .96) 100%) !important; opacity: 1 !important; }
.bb-series .wp-block-cover__image-background { transition: transform .8s var(--bb-ease); }
.bb-series:hover .wp-block-cover__image-background { transform: scale(1.05); }

/* ---------- Chips (categories) ---------- */
.bb-chips.wp-block-categories, ul.bb-chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.bb-chips li { margin: 0; }
.bb-chips a, .bb-chip {
	display: inline-flex; align-items: center; gap: .5em;
	padding: .6em 1.1em; border-radius: 999px;
	border: 1px solid var(--bb-line-strong); background: rgba(255, 255, 255, .03);
	color: #E6E9F0; font-size: var(--wp--preset--font-size--sm); font-family: var(--wp--preset--font-family--heading); font-weight: 500;
	transition: border-color .25s, color .25s, background .25s, box-shadow .25s;
}
.bb-chips a:hover, .bb-chip:hover, .bb-chips .current-cat a { border-color: var(--bb-cyan); color: #fff; background: rgba(63, 227, 242, .08); box-shadow: 0 0 18px rgba(63, 227, 242, .2); }

/* ---------- Panels ---------- */
.bb-panel { background: var(--wp--preset--color--panel); border: 1px solid var(--bb-line); border-radius: var(--wp--custom--radius--lg); }
.bb-glass { background: rgba(21, 26, 38, .6); border: 1px solid var(--bb-line-strong); border-radius: var(--wp--custom--radius--lg); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.bb-glow-border { position: relative; }
.bb-glow-border::before {
	content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
	background: linear-gradient(120deg, rgba(63, 227, 242, .7), rgba(255, 61, 139, .15) 40%, rgba(255, 181, 71, .6));
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.bb-ambient { position: relative; isolation: isolate; }
.bb-ambient::before {
	content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none;
	background: radial-gradient(40% 60% at 15% 20%, rgba(63, 227, 242, .10), transparent 70%), radial-gradient(40% 60% at 85% 80%, rgba(255, 61, 139, .10), transparent 70%);
}

/* Testimony */
.bb-quote { position: relative; }
.bb-quote::before {
	content: "\201C"; position: absolute; top: -.62em; right: 0; left: auto; font-family: var(--wp--preset--font-family--heading);
	font-size: 8rem; line-height: 1; color: var(--bb-magenta); opacity: .35; pointer-events: none;
}
.bb-quote p { font-size: var(--wp--preset--font-size--lg); line-height: 1.65; color: #E3E7EF; }
.bb-quote .bb-verse { font-family: var(--wp--preset--font-family--heading); font-size: var(--wp--preset--font-size--xl); line-height: 1.35; color: #fff; }
.bb-avatar img { border-radius: 50%; border: 2px solid var(--bb-amber); box-shadow: 0 0 20px rgba(255, 181, 71, .35); }

/* Buttons */
.wp-block-button.is-style-outline > .wp-block-button__link {
	background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .28);
	padding: calc(.85em - 1px) calc(1.6em - 1px);
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover { border-color: var(--bb-cyan); color: #fff; box-shadow: 0 0 22px rgba(63, 227, 242, .3); background: rgba(63, 227, 242, .06); }
.wp-block-button:not(.is-style-outline) > .wp-block-button__link { transition: box-shadow .3s, transform .3s, background .3s; }
.wp-block-button:not(.is-style-outline) > .wp-block-button__link:hover { box-shadow: 0 0 30px rgba(255, 181, 71, .45); transform: translateY(-1px); }
.bb-link-arrow a, a.bb-link-arrow { font-family: var(--wp--preset--font-family--heading); font-weight: 600; font-size: var(--wp--preset--font-size--sm); }
.bb-link-arrow a::after, a.bb-link-arrow::after { content: " →"; transition: margin .25s; }
.bb-link-arrow a:hover::after, a.bb-link-arrow:hover::after { margin-left: .25em; }

/* ---------- Single episode ---------- */
.bb-single-head { position: relative; isolation: isolate; overflow: hidden; }
.bb-single-head .bb-bgimg { position: absolute; inset: 0; z-index: -2; margin: 0; }
.bb-single-head .bb-bgimg img { width: 100%; height: 100%; object-fit: cover; filter: blur(34px) saturate(1.3); opacity: .45; transform: scale(1.2); }
.bb-single-head::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 8, 13, .55), var(--wp--preset--color--ink) 92%); }
.bb-prose > * { max-width: var(--wp--style--global--content-size); margin-left: auto !important; margin-right: auto !important; }
.bb-prose > .alignwide { max-width: var(--wp--style--global--wide-size); }
.bb-prose p, .bb-prose li { color: #D6DBE6; }
.bb-prose strong, .bb-prose b { color: #fff; }
.bb-prose h2, .bb-prose h3, .bb-prose h4 { margin-top: 2.4em; margin-bottom: .6em; }
.bb-prose h2 { font-size: var(--wp--preset--font-size--xl); }
.bb-prose h3, .bb-prose h4 { font-size: var(--wp--preset--font-size--lg); }
.bb-prose h2:first-child, .bb-prose h3:first-child, .bb-prose h4:first-child { margin-top: 0; }
.bb-prose a { text-decoration: underline; text-decoration-color: rgba(63, 227, 242, .4); text-underline-offset: 3px; }
.bb-prose a:hover { text-decoration-color: var(--bb-amber); }
.bb-prose .bb-featuring { font-family: var(--wp--preset--font-family--mono); font-size: var(--wp--preset--font-size--xs); letter-spacing: .12em; text-transform: uppercase; color: var(--wp--preset--color--muted); }
.bb-prose .bb-featuring a { color: var(--bb-amber); text-decoration: none; }
.wp-block-embed.is-type-video .wp-block-embed__wrapper { border-radius: var(--wp--custom--radius--lg); overflow: hidden; border: 1px solid var(--bb-line-strong); box-shadow: 0 40px 90px -40px rgba(63, 227, 242, .45), 0 0 0 1px rgba(255, 61, 139, .1); background: #000; }
.bb-prose > .wp-block-embed:first-child, .bb-prose > .wp-block-embed.alignwide { margin-bottom: var(--wp--preset--spacing--50); }

.bb-video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--wp--custom--radius--lg); overflow: hidden; border: 1px solid var(--bb-line-strong); background: #000; box-shadow: 0 40px 90px -40px rgba(63, 227, 242, .45), 0 0 0 1px rgba(255, 61, 139, .1); margin-bottom: var(--wp--preset--spacing--50) !important; }
.bb-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.wp-block-embed.is-type-video.wp-has-aspect-ratio .wp-block-embed__wrapper { aspect-ratio: 16 / 9; }
.wp-block-embed.is-type-video iframe { width: 100%; height: 100%; }

.bb-share { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.bb-share span { font-family: var(--wp--preset--font-family--mono); font-size: var(--wp--preset--font-size--xs); letter-spacing: .14em; text-transform: uppercase; color: var(--wp--preset--color--muted); margin-right: .4rem; }
.bb-share a, .bb-share button {
	display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
	border: 1px solid var(--bb-line-strong); color: #fff; background: transparent; cursor: pointer; transition: all .25s;
}
.bb-share a:hover, .bb-share button:hover { border-color: var(--bb-cyan); box-shadow: 0 0 18px rgba(63, 227, 242, .3); color: var(--bb-cyan); }
.bb-share svg { width: 18px; height: 18px; fill: currentColor; }
.bb-share button.is-copied { border-color: var(--bb-amber); color: var(--bb-amber); }

.bb-postnav { border-top: 1px solid var(--bb-line); border-bottom: 1px solid var(--bb-line); }
.bb-postnav .post-navigation-link-previous a, .bb-postnav .post-navigation-link-next a { color: #fff; font-family: var(--wp--preset--font-family--heading); font-weight: 600; }
.bb-postnav .post-navigation-link-previous a:hover, .bb-postnav .post-navigation-link-next a:hover { color: var(--bb-amber); }

/* Pagination */
.wp-block-query-pagination { gap: .5rem; font-family: var(--wp--preset--font-family--heading); }
.wp-block-query-pagination a, .wp-block-query-pagination .current { display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 .9rem; border-radius: 999px; border: 1px solid var(--bb-line-strong); color: #fff; }
.wp-block-query-pagination .current, .wp-block-query-pagination a:hover { border-color: var(--bb-cyan); color: var(--bb-cyan); }

/* Search */
.wp-block-search__input { background: var(--wp--preset--color--panel); border: 1px solid var(--bb-line-strong) !important; color: #fff; border-radius: 999px !important; padding: .8em 1.2em !important; }
.wp-block-search__input::placeholder { color: var(--wp--preset--color--muted); }
.wp-block-search__button { margin-left: .5rem !important; }
.wp-block-search__inside-wrapper { border: 0 !important; padding: 0 !important; }

/* Details / FAQ */
.wp-block-details summary { font-family: var(--wp--preset--font-family--heading); font-weight: 600; font-size: var(--wp--preset--font-size--lg); cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after { content: "+"; color: var(--bb-cyan); font-size: 1.5em; line-height: 1; transition: transform .3s; }
.wp-block-details[open] summary::after { transform: rotate(45deg); }
.wp-block-details > :not(summary) { color: #D6DBE6; margin-top: .75rem; }

/* Forms (WPForms + donation plugin) */
.bb-form input[type=text], .bb-form input[type=email], .bb-form textarea, .bb-form select,
.wpforms-container input[type=text], .wpforms-container input[type=email], .wpforms-container textarea {
	background: var(--wp--preset--color--night) !important; border: 1px solid var(--bb-line-strong) !important; color: #fff !important;
	border-radius: 12px !important; padding: .8em 1em !important; font-family: inherit !important; font-size: 1rem !important; max-width: 100% !important;
}
.wpforms-container input:focus, .wpforms-container textarea:focus { border-color: var(--bb-cyan) !important; box-shadow: 0 0 0 3px rgba(63, 227, 242, .15) !important; outline: 0; }
.wpforms-container .wpforms-field-label, .wpforms-container .wpforms-field-sublabel { color: #E6E9F0 !important; font-weight: 500 !important; }
.wpforms-container button[type=submit] { background: var(--bb-amber) !important; color: var(--wp--preset--color--ink) !important; border: 0 !important; border-radius: 999px !important; padding: .9em 2em !important; font-family: var(--wp--preset--font-family--heading) !important; font-weight: 600 !important; height: auto !important; }
.wpforms-container button[type=submit]:hover { box-shadow: 0 0 30px rgba(255, 181, 71, .45) !important; }
.wpedon-container, .wpedon-form { color: #fff; }
.bb-give-box .wpedon-select, .bb-give-box input, .bb-give-box select { background: var(--wp--preset--color--night); color: #fff; border: 1px solid var(--bb-line-strong); border-radius: 12px; padding: .6em .9em; }

/* ---------- Footer ---------- */
.bb-footer { border-top: 1px solid var(--bb-line); position: relative; }
.bb-footer::before { content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--bb-cyan), var(--bb-magenta), transparent); opacity: .6; }
.bb-footer a { color: #D6DBE6; }
.bb-footer a:hover { color: var(--bb-amber); }
.bb-footer .wp-block-social-links .wp-social-link { background: transparent !important; border: 1px solid var(--bb-line-strong); transition: all .25s; }
.bb-footer .wp-block-social-links .wp-social-link:hover { border-color: var(--bb-cyan); box-shadow: 0 0 18px rgba(63, 227, 242, .3); transform: none; }
.bb-footer .wp-block-social-links .wp-social-link a { color: #fff !important; padding: .55em; }
.bb-footer hr.wp-block-separator { border: 0; height: 1px; background: var(--bb-line) !important; opacity: 1; }
.bb-footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }

/* Give CTA */
.bb-give { position: relative; overflow: hidden; }
.bb-give::before {
	content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
	background: radial-gradient(60% 120% at 0% 0%, rgba(255, 181, 71, .18), transparent 60%), radial-gradient(60% 120% at 100% 100%, rgba(255, 61, 139, .18), transparent 60%);
}
.bb-give > * { position: relative; z-index: 1; }

/* Reveal on scroll */
.js .bb-reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--bb-ease), transform .8s var(--bb-ease); }
.js .bb-reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.js .bb-reveal { opacity: 1; transform: none; }
}

@media (max-width: 781px) {
	.bb-logo img { width: 104px; }
	.bb-hide-mobile { display: none !important; }
}

/* Stretched links + read more */
.bb-stretch::before { content: ""; position: absolute; inset: 0; z-index: 3; }
.bb-series h3 a { color: #fff; }
.bb-series:hover h3 a { color: var(--bb-amber); }
.wp-block-read-more.bb-readmore { display: inline-block; width: fit-content; margin-top: .5rem; }
.wp-block-read-more.bb-readmore:hover { color: var(--wp--preset--color--ink); box-shadow: 0 0 30px rgba(255, 181, 71, .45); }
