/*
Theme Name: BlessedPocket
Theme URI: https://blessedpocket.com
Author: BlessedPocket
Author URI: https://blessedpocket.com
Description: A premium, modern, minimal theme for Bible verses, prayers, blessings, and devotionals. Built for readability, trust, and speed.
Version: 1.0.1
Requires at least: 6.4
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: blessedpocket
Tags: blog, custom-colors, custom-logo, custom-menu, featured-images, translation-ready, threaded-comments, block-patterns, full-site-editing

BlessedPocket WordPress Theme, (C) 2026 BlessedPocket
BlessedPocket is distributed under the terms of the GNU GPL.
*/

/* =========================================================
   1. DESIGN TOKENS
   ========================================================= */
:root {
	/* Color */
	--bp-color-primary: #1b2a5e;
	--bp-color-primary-dark: #121d43;
	--bp-color-primary-tint: #eef0f8;
	--bp-color-gold: #c9a667;
	--bp-color-gold-dark: #a3823f;
	--bp-color-gold-tint: #f8f1e2;
	--bp-color-bg: #ffffff;
	--bp-color-bg-alt: #faf7f1;
	--bp-color-text: #2a2a2e;
	--bp-color-text-muted: #6b6b72;
	--bp-color-border: #e7e3d8;
	--bp-color-success: #6e8f72;
	--bp-color-success-tint: #eef4ef;

	/* Type */
	--bp-font-display: "Fraunces", Georgia, "Times New Roman", serif;
	--bp-font-body: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

	--bp-fs-caption: 0.8125rem;
	--bp-fs-small: 0.9375rem;
	--bp-fs-body: 1.0625rem;
	--bp-fs-lg: 1.25rem;
	--bp-fs-xl: 1.625rem;
	--bp-fs-2xl: 2.125rem;
	--bp-fs-3xl: 2.75rem;
	--bp-fs-4xl: 3.5rem;

	--bp-lh-body: 1.7;
	--bp-lh-heading: 1.2;

	/* Spacing (8px system) */
	--bp-space-1: 0.5rem;
	--bp-space-2: 1rem;
	--bp-space-3: 1.5rem;
	--bp-space-4: 2rem;
	--bp-space-5: 3rem;
	--bp-space-6: 4rem;
	--bp-space-7: 6rem;
	--bp-space-8: 8rem;

	/* Layout */
	--bp-container: 1200px;
	--bp-container-narrow: 760px;
	--bp-radius-sm: 6px;
	--bp-radius: 12px;
	--bp-radius-lg: 20px;
	--bp-shadow-sm: 0 1px 2px rgba(27, 42, 94, 0.06);
	--bp-shadow: 0 4px 20px rgba(27, 42, 94, 0.08);
	--bp-shadow-lg: 0 12px 40px rgba(27, 42, 94, 0.12);

	--bp-header-h: 76px;
}

html.bp-dark {
	--bp-color-bg: #14161f;
	--bp-color-bg-alt: #1b1e2b;
	--bp-color-text: #ece9e2;
	--bp-color-text-muted: #a4a2ab;
	--bp-color-border: #2c2f3d;
	--bp-color-primary-tint: #1d2440;
	--bp-color-gold-tint: #2a2417;
}

/* =========================================================
   2. RESET & BASE
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
body {
	margin: 0;
	background: var(--bp-color-bg);
	color: var(--bp-color-text);
	font-family: var(--bp-font-body);
	font-size: var(--bp-fs-body);
	line-height: var(--bp-lh-body);
	-webkit-font-smoothing: antialiased;
	transition: background 0.2s ease, color 0.2s ease;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--bp-color-primary); text-decoration: none; }
a:hover { color: var(--bp-color-gold-dark); }
h1, h2, h3, h4, h5, h6 {
	font-family: var(--bp-font-display);
	line-height: var(--bp-lh-heading);
	font-weight: 600;
	margin: 0 0 var(--bp-space-2);
	color: var(--bp-color-text);
}
h1 { font-size: var(--bp-fs-4xl); }
h2 { font-size: var(--bp-fs-3xl); }
h3 { font-size: var(--bp-fs-2xl); }
h4 { font-size: var(--bp-fs-xl); }
p { margin: 0 0 var(--bp-space-3); }
ul, ol { padding-left: 1.25em; }
button { font-family: inherit; }

:focus-visible {
	outline: 2px solid var(--bp-color-gold-dark);
	outline-offset: 2px;
	border-radius: 4px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
	border: 0; padding: 0; margin: -1px;
}
.skip-link {
	position: absolute;
	top: -50px;
	left: 0;
	background: var(--bp-color-primary);
	color: #fff;
	padding: 10px 18px;
	z-index: 10000;
	transition: top 0.15s ease;
	border-radius: 0 0 8px 0;
}
.skip-link:focus { top: 0; }

/* =========================================================
   3. LAYOUT
   ========================================================= */
.bp-container {
	max-width: var(--bp-container);
	margin-inline: auto;
	padding-inline: var(--bp-space-3);
}
.bp-container--narrow { max-width: var(--bp-container-narrow); }
.bp-section { padding-block: var(--bp-space-6); }
.bp-section--alt { background: var(--bp-color-bg-alt); }
.bp-section-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: var(--bp-space-2);
	margin-bottom: var(--bp-space-4);
}
.bp-eyebrow {
	font-family: var(--bp-font-body);
	font-size: var(--bp-fs-caption);
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--bp-color-gold-dark);
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: var(--bp-space-1);
}
.bp-eyebrow::before {
	content: "";
	width: 20px; height: 1px;
	background: var(--bp-color-gold-dark);
	display: inline-block;
}
.bp-section-head h2 { margin-bottom: 0; }
.bp-section-desc { color: var(--bp-color-text-muted); max-width: 60ch; }
.bp-link-more {
	font-weight: 600;
	font-size: var(--bp-fs-small);
	white-space: nowrap;
}
.bp-grid {
	display: grid;
	gap: var(--bp-space-3);
	grid-template-columns: repeat(3, 1fr);
}
.bp-grid--2 { grid-template-columns: repeat(2, 1fr); }
.bp-grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
	.bp-grid, .bp-grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
	.bp-grid, .bp-grid--2, .bp-grid--4 { grid-template-columns: 1fr; }
	:root { --bp-fs-4xl: 2.375rem; --bp-fs-3xl: 1.875rem; --bp-fs-2xl: 1.5rem; }
	.bp-section { padding-block: var(--bp-space-5); }
}

/* =========================================================
   4. HEADER
   ========================================================= */
.bp-header {
	position: sticky;
	top: 0;
	z-index: 500;
	height: var(--bp-header-h);
	display: flex;
	align-items: center;
	background: var(--bp-color-bg); /* fallback for browsers without color-mix() */
	background: color-mix(in srgb, var(--bp-color-bg) 92%, transparent);
	-webkit-backdrop-filter: saturate(180%) blur(14px);
	backdrop-filter: saturate(180%) blur(14px);
	border-bottom: 1px solid var(--bp-color-border);
	transition: height 0.2s ease, box-shadow 0.2s ease;
}
.bp-header.is-scrolled {
	height: calc(var(--bp-header-h) - 12px);
	box-shadow: var(--bp-shadow-sm);
}
.bp-header-inner {
	display: flex;
	align-items: center;
	gap: var(--bp-space-4);
	width: 100%;
}
.bp-logo {
	font-family: var(--bp-font-display);
	font-size: 1.375rem;
	font-weight: 700;
	color: var(--bp-color-primary);
	display: flex;
	align-items: center;
	gap: 8px;
	margin-right: auto;
}
.bp-logo img { height: 32px; width: auto; }
.bp-logo .bp-logo-mark {
	width: 10px; height: 10px;
	border-radius: 50%;
	background: var(--bp-color-gold);
	display: inline-block;
}
.bp-primary-nav { display: none; }
@media (min-width: 1024px) { .bp-primary-nav { display: block; } }
.bp-primary-nav ul {
	display: flex;
	list-style: none;
	margin: 0; padding: 0;
	gap: var(--bp-space-4);
}
.bp-primary-nav > ul > li { position: relative; }
.bp-primary-nav a {
	position: relative;
	color: var(--bp-color-text);
	font-weight: 500;
	font-size: var(--bp-fs-small);
	padding: 8px 0;
	display: inline-block;
}
.bp-primary-nav > ul > li > a::after {
	content: "";
	position: absolute;
	left: 0; right: 100%;
	bottom: 2px;
	height: 2px;
	background: var(--bp-color-gold);
	border-radius: 2px;
	transition: right 0.18s ease;
}
.bp-primary-nav > ul > li > a:hover::after,
.bp-primary-nav > ul > li.current-menu-item > a::after,
.bp-primary-nav > ul > li.current-menu-ancestor > a::after {
	right: 0;
}
.bp-primary-nav a:hover { color: var(--bp-color-primary); }
.bp-primary-nav > ul > li.current-menu-item > a,
.bp-primary-nav > ul > li.current-menu-ancestor > a {
	color: var(--bp-color-primary);
}
.bp-primary-nav .menu-item-has-children > a {
	display: inline-flex; align-items: center; gap: 5px;
}
.bp-primary-nav .menu-item-has-children > a::before {
	content: "";
	width: 7px; height: 7px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg) translateY(-2px);
	opacity: 0.6;
	transition: transform 0.15s ease;
}
.bp-primary-nav .menu-item-has-children:hover > a::before,
.bp-primary-nav .menu-item-has-children:focus-within > a::before {
	transform: rotate(225deg) translateY(1px);
}
.bp-primary-nav .sub-menu {
	list-style: none;
	position: absolute;
	top: 100%; left: -16px;
	background: var(--bp-color-bg);
	border: 1px solid var(--bp-color-border);
	border-radius: var(--bp-radius);
	box-shadow: var(--bp-shadow-lg);
	min-width: 220px;
	padding: 10px;
	opacity: 0; visibility: hidden;
	transform: translateY(6px);
	transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
}
.bp-primary-nav li:hover > .sub-menu,
.bp-primary-nav li:focus-within > .sub-menu {
	opacity: 1; visibility: visible; transform: translateY(0);
}
.bp-primary-nav .sub-menu a { padding: 8px 10px; border-radius: 8px; }
.bp-primary-nav .sub-menu a::after { display: none; }
.bp-primary-nav .sub-menu a:hover { background: var(--bp-color-primary-tint); }

.bp-header-actions { display: flex; align-items: center; gap: var(--bp-space-2); }
.bp-icon-btn {
	width: 40px; height: 40px;
	display: inline-flex; align-items: center; justify-content: center;
	border-radius: 50%;
	border: 1px solid var(--bp-color-border);
	background: var(--bp-color-bg);
	cursor: pointer;
	color: var(--bp-color-text);
}
.bp-icon-btn:hover { border-color: var(--bp-color-primary); color: var(--bp-color-primary); }
.bp-btn {
	display: inline-flex; align-items: center; justify-content: center;
	gap: 8px;
	padding: 11px 22px;
	border-radius: 999px;
	font-weight: 600;
	font-size: var(--bp-fs-small);
	border: 1px solid transparent;
	cursor: pointer;
	white-space: nowrap;
}
.bp-btn--primary { background: var(--bp-color-primary); color: #fff; }
.bp-btn--primary:hover { background: var(--bp-color-primary-dark); color: #fff; }
.bp-btn--gold { background: var(--bp-color-gold); color: var(--bp-color-primary-dark); }
.bp-btn--gold:hover { background: var(--bp-color-gold-dark); }
.bp-btn--outline { background: transparent; border-color: var(--bp-color-border); color: var(--bp-color-text); }
.bp-btn--outline:hover { border-color: var(--bp-color-primary); color: var(--bp-color-primary); }
.bp-btn--sm { padding: 8px 16px; font-size: var(--bp-fs-caption); }

.bp-mobile-toggle { display: inline-flex; }
@media (min-width: 1024px) { .bp-mobile-toggle { display: none; } }

/* Mobile menu */
.bp-mobile-menu {
	position: fixed; inset: 0;
	background: var(--bp-color-bg);
	z-index: 999;
	padding: var(--bp-space-3);
	transform: translateX(100%);
	transition: transform 0.25s ease;
	overflow-y: auto;
}
.bp-mobile-menu.is-open { transform: translateX(0); }
.bp-mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.bp-mobile-menu li { border-bottom: 1px solid var(--bp-color-border); }
.bp-mobile-menu a { display: block; padding: 16px 4px; font-size: var(--bp-fs-lg); font-family: var(--bp-font-display); color: var(--bp-color-text); }
.bp-mobile-menu-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--bp-space-3); }

/* Search overlay */
.bp-search-overlay {
	position: fixed; inset: 0;
	background: rgba(18, 29, 67, 0.7); /* fallback for browsers without color-mix() */
	background: color-mix(in srgb, var(--bp-color-primary-dark) 70%, transparent);
	z-index: 998;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding-top: 12vh;
	opacity: 0; visibility: hidden;
	transition: opacity 0.2s ease;
}
.bp-search-overlay.is-open { opacity: 1; visibility: visible; }
.bp-search-panel {
	background: var(--bp-color-bg);
	border-radius: var(--bp-radius-lg);
	width: min(640px, 92vw);
	padding: var(--bp-space-3);
	box-shadow: var(--bp-shadow-lg);
}
.bp-search-panel form { display: flex; gap: 8px; border-bottom: 2px solid var(--bp-color-border); padding-bottom: 12px; }
.bp-search-panel input[type="search"] {
	flex: 1; border: none; outline: none; font-size: var(--bp-fs-lg);
	font-family: var(--bp-font-display); background: transparent; color: var(--bp-color-text);
}
.bp-search-suggestions { margin-top: var(--bp-space-2); }
.bp-search-suggestions h4 { font-size: var(--bp-fs-caption); text-transform: uppercase; letter-spacing: 0.08em; color: var(--bp-color-text-muted); margin-bottom: 10px; }
.bp-chip-list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: var(--bp-space-2); }
.bp-chip {
	padding: 7px 14px; border-radius: 999px; background: var(--bp-color-bg-alt);
	border: 1px solid var(--bp-color-border); font-size: var(--bp-fs-caption); color: var(--bp-color-text);
}
.bp-chip:hover { border-color: var(--bp-color-primary); }

/* =========================================================
   5. HERO
   ========================================================= */
.bp-hero {
	padding-block: var(--bp-space-7) var(--bp-space-6);
	text-align: center;
	background: radial-gradient(ellipse at top, var(--bp-color-primary-tint) 0%, var(--bp-color-bg) 65%);
}
.bp-hero h1 { max-width: 16ch; margin-inline: auto; }
.bp-hero .bp-hero-sub {
	max-width: 56ch; margin: var(--bp-space-2) auto var(--bp-space-4);
	color: var(--bp-color-text-muted); font-size: var(--bp-fs-lg);
}
.bp-hero-search {
	max-width: 620px; margin: 0 auto var(--bp-space-3);
	display: flex; gap: 8px;
	background: var(--bp-color-bg);
	border: 1px solid var(--bp-color-border);
	border-radius: 999px;
	padding: 6px 6px 6px 22px;
	box-shadow: var(--bp-shadow);
}
.bp-hero-search input {
	flex: 1; border: none; outline: none; background: transparent;
	font-size: var(--bp-fs-body); color: var(--bp-color-text);
}
.bp-hero-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }

/* =========================================================
   6. SIGNATURE ELEMENT — Illuminated verse / prayer cards
   ========================================================= */
.bp-verse-card, .bp-prayer-card, .bp-quote-block {
	position: relative;
	background: var(--bp-color-gold-tint);
	border-left: 3px solid var(--bp-color-gold);
	border-radius: 0 var(--bp-radius) var(--bp-radius) 0;
	padding: var(--bp-space-4) var(--bp-space-4) var(--bp-space-4) var(--bp-space-4);
	overflow: hidden;
	margin: var(--bp-space-3) 0;
}
.bp-verse-card::before, .bp-quote-block::before {
	content: "\201C";
	position: absolute;
	top: -0.35em; right: 0.2em;
	font-family: var(--bp-font-display);
	font-size: 6rem;
	color: var(--bp-color-gold);
	opacity: 0.18;
	line-height: 1;
}
.bp-verse-card blockquote, .bp-quote-block blockquote {
	font-family: var(--bp-font-display);
	font-style: italic;
	font-size: var(--bp-fs-xl);
	line-height: 1.5;
	margin: 0 0 var(--bp-space-2);
	color: var(--bp-color-primary-dark);
	position: relative;
	z-index: 1;
}
.bp-verse-ref, .bp-quote-cite {
	font-size: var(--bp-fs-small);
	font-weight: 700;
	color: var(--bp-color-gold-dark);
	letter-spacing: 0.02em;
}
.bp-verse-actions { display: flex; gap: 8px; margin-top: var(--bp-space-2); }

.bp-prayer-card { background: var(--bp-color-primary-tint); border-left-color: var(--bp-color-primary); }
.bp-prayer-card .bp-verse-ref { color: var(--bp-color-primary); }

/* =========================================================
   7. CARDS (articles / categories)
   ========================================================= */
.bp-card {
	display: flex; flex-direction: column;
	background: var(--bp-color-bg);
	border: 1px solid var(--bp-color-border);
	border-radius: var(--bp-radius);
	overflow: hidden;
	transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.bp-card:hover { transform: translateY(-3px); box-shadow: var(--bp-shadow); border-color: transparent; }
.bp-card-img { aspect-ratio: 16/10; overflow: hidden; background: var(--bp-color-bg-alt); }
.bp-card-img img, .bp-card-img svg.bp-card-placeholder { width: 100%; height: 100%; object-fit: cover; display: block; }
.bp-card-body { padding: var(--bp-space-3); display: flex; flex-direction: column; gap: 8px; flex: 1; }
.bp-badge {
	display: inline-flex; align-self: flex-start;
	font-size: var(--bp-fs-caption); font-weight: 700;
	color: var(--bp-color-primary); background: var(--bp-color-primary-tint);
	padding: 4px 10px; border-radius: 999px;
	text-transform: uppercase; letter-spacing: 0.04em;
}
.bp-card-title { font-size: var(--bp-fs-lg); margin: 0; }
.bp-card-title a { color: var(--bp-color-text); }
.bp-card-title a:hover { color: var(--bp-color-primary); }
.bp-card-excerpt { color: var(--bp-color-text-muted); font-size: var(--bp-fs-small); margin: 0; }
.bp-card-meta {
	display: flex; align-items: center; gap: 10px;
	font-size: var(--bp-fs-caption); color: var(--bp-color-text-muted);
	margin-top: auto; padding-top: 8px;
}

.bp-category-tile {
	display: flex; flex-direction: column; gap: 10px;
	padding: var(--bp-space-3);
	border-radius: var(--bp-radius);
	background: var(--bp-color-bg-alt);
	border: 1px solid var(--bp-color-border);
	transition: border-color 0.15s ease, transform 0.15s ease;
}
.bp-category-tile:hover { border-color: var(--bp-color-gold); transform: translateY(-2px); }
.bp-category-tile .bp-cat-icon { font-size: 1.5rem; }
.bp-category-tile h3 { font-size: var(--bp-fs-body); margin: 0; }
.bp-category-tile span { font-size: var(--bp-fs-caption); color: var(--bp-color-text-muted); }

/* =========================================================
   8. ARTICLE / SINGLE
   ========================================================= */
.bp-progress-bar {
	position: fixed; top: 0; left: 0; height: 3px;
	background: var(--bp-color-gold);
	width: 0%;
	z-index: 600;
	transition: width 0.1s linear;
}
.bp-breadcrumbs { font-size: var(--bp-fs-caption); color: var(--bp-color-text-muted); margin-bottom: var(--bp-space-2); }
.bp-breadcrumbs a { color: var(--bp-color-text-muted); }
.bp-breadcrumbs a:hover { color: var(--bp-color-primary); }
.bp-article-head { max-width: var(--bp-container-narrow); margin: 0 auto var(--bp-space-4); text-align: left; }
.bp-article-head h1 { font-size: var(--bp-fs-3xl); }
.bp-article-meta {
	display: flex; flex-wrap: wrap; align-items: center; gap: 16px;
	font-size: var(--bp-fs-small); color: var(--bp-color-text-muted);
	margin-top: var(--bp-space-2);
}
.bp-author-chip { display: flex; align-items: center; gap: 8px; }
.bp-author-chip img { width: 32px; height: 32px; border-radius: 50%; }
.bp-featured-img { border-radius: var(--bp-radius-lg); overflow: hidden; margin-bottom: var(--bp-space-5); }

.bp-article-layout {
	display: grid;
	grid-template-columns: 220px minmax(0, 1fr);
	gap: var(--bp-space-5);
	align-items: start;
}
@media (max-width: 960px) { .bp-article-layout { grid-template-columns: 1fr; } }

.bp-toc { position: sticky; top: calc(var(--bp-header-h) + 24px); }
.bp-toc h4 { font-size: var(--bp-fs-caption); text-transform: uppercase; letter-spacing: 0.08em; color: var(--bp-color-text-muted); margin-bottom: 10px; }
.bp-toc ul { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--bp-color-border); }
.bp-toc a {
	display: block; padding: 6px 0 6px 14px; font-size: var(--bp-fs-small);
	color: var(--bp-color-text-muted); border-left: 2px solid transparent; margin-left: -2px;
}
.bp-toc a:hover, .bp-toc a.is-active { color: var(--bp-color-primary); border-left-color: var(--bp-color-primary); }

.bp-article-body { max-width: var(--bp-container-narrow); font-size: var(--bp-fs-body); }
.bp-article-body h2 { margin-top: var(--bp-space-5); font-size: var(--bp-fs-2xl); }
.bp-article-body h3 { margin-top: var(--bp-space-4); font-size: var(--bp-fs-xl); }
.bp-article-body img { border-radius: var(--bp-radius); margin-block: var(--bp-space-3); }
.bp-article-body a { text-decoration: underline; text-decoration-color: var(--bp-color-gold); text-underline-offset: 3px; }

.bp-summary-box {
	background: var(--bp-color-bg-alt);
	border: 1px solid var(--bp-color-border);
	border-radius: var(--bp-radius);
	padding: var(--bp-space-3);
	margin-bottom: var(--bp-space-4);
}
.bp-summary-box h4 { font-size: var(--bp-fs-caption); text-transform: uppercase; letter-spacing: 0.06em; color: var(--bp-color-gold-dark); margin-bottom: 8px; }
.bp-summary-box ul { margin: 0; padding-left: 1.2em; }

.bp-callout {
	border-radius: var(--bp-radius);
	padding: var(--bp-space-3);
	margin: var(--bp-space-3) 0;
	border: 1px solid var(--bp-color-border);
	display: flex; gap: 12px;
}
.bp-callout--reflection { background: var(--bp-color-primary-tint); border-color: transparent; }
.bp-callout--application { background: var(--bp-color-success-tint); border-color: transparent; }
.bp-callout-icon { font-size: 1.25rem; flex-shrink: 0; }

.bp-article-tools {
	display: flex; flex-wrap: wrap; gap: 10px;
	padding: var(--bp-space-2) 0; margin-bottom: var(--bp-space-4);
	border-top: 1px solid var(--bp-color-border);
	border-bottom: 1px solid var(--bp-color-border);
}

.bp-faq-item { border-bottom: 1px solid var(--bp-color-border); }
.bp-faq-q {
	width: 100%; text-align: left; background: none; border: none; cursor: pointer;
	display: flex; justify-content: space-between; align-items: center;
	padding: var(--bp-space-2) 0; font-family: var(--bp-font-display); font-size: var(--bp-fs-lg); color: var(--bp-color-text);
}
.bp-faq-a { max-height: 0; overflow: hidden; transition: max-height 0.2s ease; color: var(--bp-color-text-muted); }
.bp-faq-item.is-open .bp-faq-a { max-height: 600px; padding-bottom: var(--bp-space-2); }
.bp-faq-item.is-open .bp-faq-q .bp-faq-icon { transform: rotate(45deg); }
.bp-faq-icon { transition: transform 0.2s ease; font-size: 1.3rem; color: var(--bp-color-gold-dark); }

.bp-author-bio {
	display: flex; gap: var(--bp-space-3);
	background: var(--bp-color-bg-alt);
	border-radius: var(--bp-radius);
	padding: var(--bp-space-3);
	margin: var(--bp-space-5) 0;
	align-items: flex-start;
}
.bp-author-bio img { width: 64px; height: 64px; border-radius: 50%; flex-shrink: 0; }

.bp-post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: var(--bp-space-3); margin: var(--bp-space-5) 0; }
.bp-post-nav a { border: 1px solid var(--bp-color-border); border-radius: var(--bp-radius); padding: var(--bp-space-3); display: block; }
.bp-post-nav a:hover { border-color: var(--bp-color-primary); }
.bp-post-nav .bp-eyebrow { margin-bottom: 6px; }
@media (max-width: 600px) { .bp-post-nav { grid-template-columns: 1fr; } }

.bp-back-to-top {
	position: fixed; right: 20px; bottom: 20px;
	width: 46px; height: 46px; border-radius: 50%;
	background: var(--bp-color-primary); color: #fff;
	display: flex; align-items: center; justify-content: center;
	border: none; cursor: pointer;
	opacity: 0; visibility: hidden; transform: translateY(10px);
	transition: all 0.2s ease;
	z-index: 400;
	box-shadow: var(--bp-shadow);
}
.bp-back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }

::selection { background: var(--bp-color-gold); color: var(--bp-color-primary-dark); }
.bp-highlighted { background: var(--bp-color-gold-tint); border-bottom: 2px solid var(--bp-color-gold); }

/* =========================================================
   9. NEWSLETTER / CTA / TESTIMONIALS / FAQ (home)
   ========================================================= */
.bp-newsletter {
	background: var(--bp-color-primary);
	color: #fff;
	border-radius: var(--bp-radius-lg);
	padding: var(--bp-space-5);
	text-align: center;
}
.bp-newsletter h2 { color: #fff; }
.bp-newsletter p { color: rgba(255,255,255,0.8); }
.bp-newsletter form { display: flex; gap: 8px; max-width: 460px; margin: var(--bp-space-3) auto 0; }
.bp-newsletter input[type="email"] {
	flex: 1; border: none; border-radius: 999px; padding: 12px 18px; font-size: var(--bp-fs-small);
}
.bp-testimonial {
	background: var(--bp-color-bg); border: 1px solid var(--bp-color-border); border-radius: var(--bp-radius);
	padding: var(--bp-space-3);
}
.bp-testimonial p { font-style: italic; color: var(--bp-color-text); }
.bp-testimonial .bp-t-name { font-weight: 700; font-size: var(--bp-fs-small); }
.bp-testimonial .bp-t-loc { color: var(--bp-color-text-muted); font-size: var(--bp-fs-caption); }

/* =========================================================
   10. FOOTER
   ========================================================= */
.bp-footer { background: var(--bp-color-primary-dark); color: rgba(255,255,255,0.75); padding-top: var(--bp-space-6); }
.bp-footer h4 { color: #fff; font-size: var(--bp-fs-body); font-family: var(--bp-font-body); font-weight: 700; margin-bottom: var(--bp-space-2); }
.bp-footer-grid { display: grid; grid-template-columns: 2fr repeat(4, 1fr); gap: var(--bp-space-4); padding-bottom: var(--bp-space-5); }
.bp-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.bp-footer a { color: rgba(255,255,255,0.68); font-size: var(--bp-fs-small); }
.bp-footer a:hover { color: var(--bp-color-gold); }
.bp-footer-bottom {
	border-top: 1px solid rgba(255,255,255,0.12);
	padding: var(--bp-space-3) 0;
	display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px;
	font-size: var(--bp-fs-caption);
}
.bp-social-icons { display: flex; gap: 10px; }
.bp-social-icons a {
	width: 36px; height: 36px; border-radius: 50%;
	border: 1px solid rgba(255,255,255,0.2);
	display: flex; align-items: center; justify-content: center;
}
@media (max-width: 900px) { .bp-footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .bp-footer-grid { grid-template-columns: 1fr; } }

/* Sticky mobile action bar (article) */
.bp-mobile-actions {
	position: fixed; bottom: 0; left: 0; right: 0;
	display: none;
	background: var(--bp-color-bg);
	border-top: 1px solid var(--bp-color-border);
	padding: 10px var(--bp-space-2);
	gap: 8px;
	z-index: 450;
}
@media (max-width: 640px) {
	.bp-mobile-actions.has-items { display: flex; }
	body.single-post { padding-bottom: 64px; }
}

/* WP core alignment helpers */
.alignwide { max-width: var(--bp-container); margin-inline: auto; }
.alignfull { max-width: 100%; }
.has-text-align-center { text-align: center; }

/* =========================================================
   11. PRINT
   ========================================================= */
@media print {
	.bp-header, .bp-mobile-menu, .bp-search-overlay, .bp-progress-bar,
	.bp-back-to-top, .bp-mobile-actions, .bp-article-tools, .skip-link,
	.bp-newsletter, .bp-footer, .bp-toc, .bp-comments, .bp-post-nav,
	.bp-faq-icon, .bp-summary-box { display: none !important; }
	body { padding-bottom: 0 !important; }
	.bp-article-body, .bp-article-content { max-width: 100% !important; }
	a { color: #000 !important; text-decoration: underline; }
	.bp-verse-card, .bp-prayer-card, .bp-quote-block { border: 1px solid #999; background: none !important; }
}
