/* ==========================================================================
   BH Modern — British Hindus front-end design layer
   Brand: cream #F6F2EC · ink #21251F · saffron #F4B50C · gold #CB8E00 · plum #5B4460
   ========================================================================== */

:root {
	--bhm-cream: #f6f2ec;
	--bhm-cream-2: #efe8dd;
	--bhm-paper: #fffdf9;
	--bhm-ink: #21251f;
	--bhm-ink-2: #4a4e47;
	--bhm-muted: #6f7069;
	--bhm-saffron: #f4b50c;
	--bhm-saffron-soft: #fbe7b0;
	--bhm-gold: #cb8e00;
	--bhm-gold-deep: #9a6b00;
	--bhm-plum: #5b4460;
	--bhm-on-accent: #21251f;
	--bhm-line: rgba(33, 37, 31, .1);
	--bhm-radius: 18px;
	--bhm-radius-sm: 10px;
	--bhm-shadow: 0 1px 2px rgba(33, 37, 31, .04), 0 8px 24px -12px rgba(33, 37, 31, .18);
	--bhm-shadow-lg: 0 2px 4px rgba(33, 37, 31, .04), 0 24px 48px -20px rgba(33, 37, 31, .32);
	--bhm-ease: cubic-bezier(.2, .7, .2, 1);
	--bhm-sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
	--bhm-serif: "Source Serif Pro", "Source Serif 4", Georgia, serif;
}

/* --------------------------------------------------------------------------
   Base skin
   -------------------------------------------------------------------------- */
.bhm-f-skin {
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	background: var(--bhm-cream);
}
.bhm-f-skin ::selection { background: var(--bhm-saffron-soft); color: var(--bhm-ink); }

.bhm-f-skin :where(h1, h2, h3, h4) { letter-spacing: -.015em; text-wrap: balance; }
.bhm-f-skin :where(p, li) { text-wrap: pretty; }

.bhm-f-skin :where(.entry-content, .wp-block-post-content) a:where(:not(.wp-element-button, .bhm-btn, .bhm-share__btn)) {
	color: inherit;
	text-decoration: underline;
	text-decoration-color: var(--bhm-saffron);
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
	transition: text-decoration-color .2s, color .2s;
}
.bhm-f-skin :where(.entry-content, .wp-block-post-content) a:where(:not(.wp-element-button, .bhm-btn, .bhm-share__btn)):hover {
	color: var(--bhm-gold-deep);
	text-decoration-color: var(--bhm-gold);
}

.bhm-f-skin :focus-visible {
	outline: 2px solid var(--bhm-gold);
	outline-offset: 3px;
	border-radius: 4px;
}

/* Buttons (core + ours) */
.bhm-f-skin .wp-element-button,
.bhm-f-skin .wp-block-button__link,
.bhm-btn {
	display: inline-flex;
	align-items: center;
	gap: .55em;
	padding: .8em 1.35em;
	border-radius: 999px;
	border: 0;
	background: var(--bhm-ink);
	color: var(--bhm-cream);
	font-family: var(--bhm-sans);
	font-size: .95rem;
	font-weight: 600;
	letter-spacing: .005em;
	line-height: 1.1;
	text-decoration: none;
	cursor: pointer;
	transition: transform .25s var(--bhm-ease), box-shadow .25s var(--bhm-ease), background-color .2s, color .2s;
}
.bhm-f-skin .wp-element-button:hover,
.bhm-f-skin .wp-block-button__link:hover,
.bhm-btn:hover {
	transform: translateY(-2px);
	box-shadow: var(--bhm-shadow);
}
.bhm-f-skin .wp-element-button:active,
.bhm-btn:active { transform: translateY(0) scale(.98); }

.bhm-btn--primary { background: var(--bhm-saffron); color: var(--bhm-on-accent); }
.bhm-btn--primary:hover { background: #ffc53a; }
.bhm-btn--ghost {
	background: transparent;
	color: var(--bhm-ink);
	box-shadow: inset 0 0 0 1.5px rgba(33, 37, 31, .25);
}
.bhm-btn--ghost:hover { background: var(--bhm-paper); box-shadow: inset 0 0 0 1.5px var(--bhm-ink), var(--bhm-shadow); }
.bhm-btn svg { width: 1.05em; height: 1.05em; fill: currentColor; transition: transform .25s var(--bhm-ease); }
.bhm-btn:hover svg { transform: translateX(3px); }

/* Images */
.bhm-f-skin :where(.entry-content, .wp-block-post-content) :where(figure img, .wp-block-image img) {
	border-radius: var(--bhm-radius-sm);
}
.bhm-f-skin .wp-block-post-featured-image img {
	border-radius: var(--bhm-radius);
	box-shadow: var(--bhm-shadow-lg);
}

/* Article typography */
.bhm-f-skin.single .wp-block-post-content {
	font-size: var(--bhm-text-size, clamp(1.06rem, .98rem + .3vw, 1.18rem));
	line-height: 1.72;
}
.bhm-text-s { --bhm-text-size: 1rem; }
.bhm-text-l { --bhm-text-size: clamp(1.15rem, 1.05rem + .45vw, 1.32rem); }
.bhm-f-skin.bhm-f-lead-para.single :is(.wp-block-post-content, .bhm-article__body) > p:first-of-type {
	font-size: 1.12em;
	line-height: 1.6;
	color: var(--bhm-ink);
}
.bhm-f-drop-cap.single :is(.wp-block-post-content, .bhm-article__body) > p:first-of-type::first-letter {
	float: left;
	margin: .06em .1em 0 0;
	font-family: var(--bhm-serif);
	font-size: 3.5em;
	font-weight: 600;
	line-height: .82;
	color: var(--bhm-gold-deep);
}
.bhm-f-skin .wp-block-post-content blockquote,
.bhm-f-skin .wp-block-quote {
	border-left: 3px solid var(--bhm-saffron);
	padding: .25em 0 .25em 1.25em;
	margin-left: 0;
	font-style: italic;
	color: var(--bhm-ink-2);
}
.bhm-f-skin .wp-block-post-title { text-wrap: balance; }

/* Separators / misc */
.bhm-f-skin hr.wp-block-separator { border: 0; height: 1px; background: var(--bhm-line); }

/* Existing WP Carousel Free on the homepage */
.bhm-f-skin .wpcp-carousel-section .wpcp-single-item img { border-radius: var(--bhm-radius-sm); transition: transform .5s var(--bhm-ease); }
.bhm-f-skin .wpcp-carousel-section .wpcp-single-item:hover img { transform: scale(1.03); }

/* Header nav */
.bhm-f-skin header .wp-block-navigation-item__content {
	position: relative;
	font-family: var(--bhm-sans);
	font-weight: 500;
	font-size: .95rem;
	transition: color .2s;
}
.bhm-f-skin header .wp-block-navigation-item__content:not(:has(svg))::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: -4px;
	height: 2px;
	border-radius: 2px;
	background: var(--bhm-saffron);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .3s var(--bhm-ease);
}
.bhm-f-skin header .wp-block-navigation-item__content:hover::after,
.bhm-f-skin header .current-menu-item > .wp-block-navigation-item__content::after { transform: scaleX(1); }
.bhm-f-skin header .wp-block-social-link,
.bhm-f-skin header .wp-block-navigation-item svg { transition: transform .25s var(--bhm-ease), opacity .2s; }
.bhm-f-skin header .wp-block-navigation-item:hover svg { transform: translateY(-2px); }
.bhm-f-skin .wp-block-site-logo img { transition: transform .35s var(--bhm-ease); }
.bhm-f-skin .wp-block-site-logo a:hover img { transform: rotate(-4deg) scale(1.03); }

/* Mobile overlay menu */
.bhm-f-skin .wp-block-navigation__responsive-container.is-menu-open {
	background: var(--bhm-cream) !important;
	color: var(--bhm-ink) !important;
	animation: bhm-fade .25s var(--bhm-ease);
}
.bhm-f-skin .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { padding-top: 4.5rem; }
/* Close button: always in the top corner of the screen, large and clearly visible in both modes. */
.bhm-f-skin .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close {
	position: fixed;
	top: calc(14px + var(--wp-admin--admin-bar--height, 0px) + env(safe-area-inset-top, 0px));
	right: 14px;
	z-index: 3;
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	padding: 0;
	border-radius: 50%;
	background: var(--bhm-paper);
	color: var(--bhm-ink) !important;
	box-shadow: inset 0 0 0 1px var(--bhm-line), var(--bhm-shadow);
	cursor: pointer;
	transition: transform .25s var(--bhm-ease), background-color .2s;
}
.bhm-f-skin .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close:hover { transform: rotate(90deg); background: var(--bhm-saffron); color: #21251f !important; }
.bhm-f-skin .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close svg { width: 26px; height: 26px; fill: currentColor; }
.bhm-f-skin .wp-block-navigation__responsive-container.is-menu-open :is(.wp-block-navigation-item__content, .wp-social-link, .wp-block-navigation__submenu-icon) { color: var(--bhm-ink) !important; }
.bhm-f-skin .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	font-family: var(--bhm-serif);
	font-size: 1.75rem;
}

/* Footer */
.bhm-f-skin footer.wp-block-template-part {
	border-top: 1px solid var(--bhm-line);
	margin-top: clamp(3rem, 6vw, 6rem);
}

/* --------------------------------------------------------------------------
   Glass sticky header
   -------------------------------------------------------------------------- */
.bhm-f-header header.wp-block-template-part {
	position: sticky;
	top: 0;
	z-index: 100;
	border-bottom: 1px solid transparent;
	transition: border-color .3s, box-shadow .3s;
}
/* The frosted glass sits on a layer behind the header's contents. Putting the blur on the
   header itself would trap the full-screen menu inside it (its close button ends up off-screen). */
.bhm-f-header header.wp-block-template-part::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: color-mix(in srgb, var(--bhm-cream) 78%, transparent);
	-webkit-backdrop-filter: saturate(160%) blur(14px);
	backdrop-filter: saturate(160%) blur(14px);
	pointer-events: none;
}
.admin-bar.bhm-f-header header.wp-block-template-part { top: var(--wp-admin--admin-bar--height, 32px); }
.bhm-f-header header.wp-block-template-part > .wp-block-group > .wp-block-group { position: static !important; }
.bhm-f-header header.wp-block-template-part > .wp-block-group > .wp-block-group,
.bhm-f-header header .wp-block-site-logo img { transition: padding .3s var(--bhm-ease), width .3s var(--bhm-ease); }
.bhm-f-header.bhm-scrolled header.wp-block-template-part {
	border-bottom-color: var(--bhm-line);
	box-shadow: 0 10px 30px -24px rgba(33, 37, 31, .5);
}
.bhm-f-header.bhm-scrolled header.wp-block-template-part > .wp-block-group > .wp-block-group {
	padding-top: .6rem !important;
	padding-bottom: .6rem !important;
}
.bhm-f-header.bhm-scrolled header .wp-block-site-logo img { width: 150px !important; }
@media (max-width: 600px) {
	.bhm-f-header.bhm-scrolled header .wp-block-site-logo img { width: 120px !important; }
}

/* --------------------------------------------------------------------------
   Reading progress
   -------------------------------------------------------------------------- */
.bhm-progress {
	position: fixed;
	top: 0; left: 0;
	width: 100%;
	height: 3px;
	z-index: 100000;
	pointer-events: none;
	transform-origin: 0 50%;
	transform: scaleX(0);
	background: linear-gradient(90deg, var(--bhm-gold), var(--bhm-saffron));
}
.admin-bar .bhm-progress { top: var(--wp-admin--admin-bar--height, 32px); }

/* --------------------------------------------------------------------------
   Article meta & share bar
   -------------------------------------------------------------------------- */
.bhm-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .5rem 1rem;
	margin-bottom: 1.75rem !important;
	font-family: var(--bhm-sans);
	font-size: .85rem;
	color: var(--bhm-muted);
}
.bhm-meta > span + span::before { content: "·"; margin-right: 1rem; opacity: .6; }
.bhm-meta__cat,
.bhm-pill {
	display: inline-block;
	padding: .35em .8em;
	border-radius: 999px;
	background: var(--bhm-saffron-soft);
	color: var(--bhm-gold-deep) !important;
	font-family: var(--bhm-sans);
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	text-decoration: none !important;
	line-height: 1.2;
}
.bhm-meta__cat:hover { background: var(--bhm-saffron); color: var(--bhm-on-accent) !important; }

.bhm-share {
	--s: 42px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .5rem;
}
.bhm-share--s { --s: 34px; }
.bhm-share--l { --s: 50px; }
.bhm-share--bottom, .bhm-share--float { clear: both; margin-top: 2.5rem !important; padding-top: 1.5rem; border-top: 1px solid var(--bhm-line); }
.bhm-share--top { margin-bottom: 1.75rem !important; }
.bhm-share__label {
	margin-right: .5rem;
	font-family: var(--bhm-sans);
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--bhm-muted);
}
.bhm-share__btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5em;
	min-width: var(--s);
	height: var(--s);
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: var(--bhm-paper);
	color: var(--bhm-ink);
	box-shadow: inset 0 0 0 1px var(--bhm-line);
	font-family: var(--bhm-sans);
	font-size: calc(var(--s) * .32);
	font-weight: 600;
	text-decoration: none !important;
	cursor: pointer;
	transition: transform .25s var(--bhm-ease), background-color .2s, color .2s, box-shadow .25s;
}
.bhm-share__btn[hidden] { display: none; }
.bhm-share__btn svg { flex: none; width: calc(var(--s) * .43); height: calc(var(--s) * .43); fill: currentColor; }
.bhm-share__btn:hover { transform: translateY(-3px); box-shadow: var(--bhm-shadow); background: var(--c, var(--bhm-ink)); color: #fff; }
/* Shapes */
.bhm-share--pill .bhm-share__btn { padding: 0 1.1em 0 .9em; }
.bhm-share--minimal .bhm-share__btn { background: transparent; box-shadow: none; }
.bhm-share--minimal .bhm-share__btn:hover { background: transparent; box-shadow: none; color: var(--c, var(--bhm-gold-deep)); }
/* Colours */
.bhm-share--brand .bhm-share__btn { background: var(--c); color: #fff; box-shadow: none; }
.bhm-share--brand .bhm-share__btn:hover { filter: brightness(1.12); }
.bhm-share--brand.bhm-share--minimal .bhm-share__btn { background: transparent; color: var(--c); }
.bhm-share--accent .bhm-share__btn { background: var(--bhm-saffron); color: var(--bhm-on-accent); box-shadow: none; }
.bhm-share--accent .bhm-share__btn:hover { background: var(--bhm-ink); color: var(--bhm-cream); }
.bhm-share--accent.bhm-share--minimal .bhm-share__btn { background: transparent; color: var(--bhm-gold-deep); }
/* Floating beside the article on wide screens */
@media (min-width: 1360px) {
	.bhm-share--float {
		position: fixed;
		left: calc(50% - var(--wp--style--global--wide-size, 1200px) / 2 - 68px);
		top: 50%;
		z-index: 20;
		flex-direction: column;
		margin: 0 !important;
		padding: .5rem;
		border: 0;
		border-radius: 999px;
		background: color-mix(in srgb, var(--bhm-paper) 88%, transparent);
		-webkit-backdrop-filter: blur(10px);
		backdrop-filter: blur(10px);
		box-shadow: var(--bhm-shadow);
		opacity: 0;
		pointer-events: none;
		transform: translate(-12px, -50%);
		transition: opacity .3s, transform .3s var(--bhm-ease);
	}
	.bhm-share--float.is-visible { opacity: 1; pointer-events: auto; transform: translate(0, -50%); }
	.bhm-share--float .bhm-share__label, .bhm-share--float .bhm-share__name { display: none; }
	.bhm-share--float.bhm-share--pill .bhm-share__btn { padding: 0; }
	.bhm-share--float .bhm-share__toast { bottom: auto; left: calc(100% + 10px); top: 50%; transform: translate(4px, -50%); }
	.bhm-share--float .bhm-share__btn[data-share="copy"].is-copied .bhm-share__toast { transform: translate(0, -50%); }
}
.bhm-share__toast {
	position: absolute;
	bottom: calc(100% + 8px);
	left: 50%;
	transform: translate(-50%, 4px);
	padding: .35em .7em;
	border-radius: 6px;
	background: var(--bhm-ink);
	color: var(--bhm-cream);
	font-family: var(--bhm-sans);
	font-size: .75rem;
	white-space: nowrap;
	opacity: 0;
	pointer-events: none;
	transition: opacity .2s, transform .2s var(--bhm-ease);
}
.bhm-share__btn.is-copied .bhm-share__toast { opacity: 1; transform: translate(-50%, 0); }

/* Hashtag chips */
.bhm-tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.bhm-tag {
	padding: .3em .75em;
	border-radius: 999px;
	background: rgba(91, 68, 96, .08);
	color: var(--bhm-plum);
	font-family: var(--bhm-sans);
	font-size: .8rem;
	font-weight: 600;
}

/* Back to top */
.bhm-top {
	position: fixed;
	right: clamp(14px, 3vw, 28px);
	bottom: clamp(14px, 3vw, 28px);
	z-index: 90;
	display: grid;
	place-items: center;
	width: 46px; height: 46px;
	border: 0;
	border-radius: 50%;
	background: var(--bhm-ink);
	color: var(--bhm-cream);
	box-shadow: var(--bhm-shadow-lg);
	cursor: pointer;
	opacity: 0;
	transform: translateY(12px) scale(.9);
	pointer-events: none;
	transition: opacity .3s, transform .3s var(--bhm-ease), background-color .2s;
}
.bhm-top svg { width: 20px; height: 20px; fill: currentColor; }
.bhm-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.bhm-top:hover { background: var(--bhm-saffron); color: var(--bhm-on-accent); }

/* --------------------------------------------------------------------------
   Sections (shortcodes)
   -------------------------------------------------------------------------- */
.bhm-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: .6em;
	margin: 0 0 1.25rem;
	font-family: var(--bhm-sans);
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--bhm-gold-deep);
}
.bhm-eyebrow::before {
	content: "";
	width: 28px; height: 2px;
	border-radius: 2px;
	background: var(--bhm-saffron);
}
.bhm-h2 {
	margin: 0;
	font-family: var(--bhm-serif);
	font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -.02em;
}
.bhm-section-head {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1.25rem;
}
.bhm-link {
	font-family: var(--bhm-sans);
	font-size: .9rem;
	font-weight: 600;
	color: var(--bhm-ink);
	text-decoration: none;
	white-space: nowrap;
	transition: color .2s;
}
.bhm-link:hover { color: var(--bhm-gold-deep); }

/* Hero */
.bhm-hero {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	margin-top: 0 !important;
	padding: clamp(3.5rem, 9vw, 7.5rem) clamp(1.5rem, 6vw, 5rem) clamp(3rem, 7vw, 6rem);
	border-radius: calc(var(--bhm-radius) + 10px);
	box-shadow: inset 0 0 0 1px var(--bhm-line);
	background:
		radial-gradient(120% 80% at 100% 0%, color-mix(in srgb, var(--bhm-saffron) 20%, transparent), transparent 55%),
		radial-gradient(90% 70% at 0% 100%, color-mix(in srgb, var(--bhm-plum) 10%, transparent), transparent 60%),
		var(--bhm-cream);
}
.bhm-hero__inner { position: relative; max-width: 820px; }
.bhm-hero__title {
	margin: 0;
	font-family: var(--bhm-serif);
	font-size: clamp(2.5rem, 1.4rem + 5vw, 5.25rem);
	font-weight: 600;
	line-height: 1.02;
	letter-spacing: -.035em;
	color: var(--bhm-ink);
}
.bhm-hero__title em {
	font-style: italic;
	font-weight: 500;
	background: linear-gradient(100deg, var(--bhm-gold-deep), var(--bhm-gold) 45%, var(--bhm-saffron));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	padding-right: .06em;
}
.bhm-hero__text {
	max-width: 46ch;
	margin: 1.5rem 0 0;
	font-size: clamp(1.08rem, 1rem + .4vw, 1.3rem);
	line-height: 1.6;
	color: var(--bhm-ink-2);
}
.bhm-hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.25rem; }
.bhm-hero__actions .bhm-btn { padding: 1em 1.6em; font-size: 1rem; }
.bhm-hero__rings {
	position: absolute;
	z-index: -1;
	right: -12%;
	top: 50%;
	width: min(780px, 90vw);
	transform: translateY(-50%);
	fill: none;
	stroke: var(--bhm-gold);
	stroke-width: 1;
	opacity: .22;
	animation: bhm-spin 120s linear infinite;
}
.bhm-hero__rings circle:nth-child(odd) { stroke-dasharray: 2 8; }
.bhm-hero--still .bhm-hero__rings, .bhm-hero--still .bhm-hero__glow { animation: none; }
.bhm-hero__glow {
	position: absolute;
	z-index: -1;
	width: 520px; height: 520px;
	right: 8%; top: 10%;
	border-radius: 50%;
	background: radial-gradient(circle, color-mix(in srgb, var(--bhm-saffron) 35%, transparent), transparent 65%);
	filter: blur(20px);
	animation: bhm-float 14s ease-in-out infinite alternate;
}
@media (max-width: 700px) {
	.bhm-hero__rings { right: -50%; top: 18%; opacity: .16; }
	.bhm-hero__glow { width: 320px; height: 320px; right: -20%; }
}

/* Hero with the logo: text left, logo right; logo above the text on small screens. */
.bhm-hero--globe {
	display: grid;
	grid-template-columns: minmax(0, 1fr) clamp(220px, 28vw, 380px);
	align-items: center;
	gap: clamp(1.5rem, 4vw, 4rem);
}
.bhm-hero--globe .bhm-hero__inner { grid-column: 1; grid-row: 1; }
.bhm-hero--globe .bhm-hero__art { grid-column: 2; grid-row: 1; }
.bhm-hero--globe .bhm-hero__glow { right: 2%; top: 50%; margin-top: -260px; }
@media (max-width: 860px) {
	.bhm-hero--globe { grid-template-columns: minmax(0, 1fr); }
	.bhm-hero--globe .bhm-hero__art { grid-column: 1; grid-row: 1; width: clamp(96px, 30vw, 150px); }
	.bhm-hero--globe .bhm-hero__inner { grid-row: 2; }
	.bhm-hero--globe .bhm-hero__glow { right: auto; left: -20%; top: 0; margin-top: -80px; }
}
.bhm-globe {
	position: relative;
	width: 100%;
	aspect-ratio: 1;
	border-radius: 50%;
	overflow: hidden;
	background: #f4b50c;
	box-shadow: 0 30px 60px -30px color-mix(in srgb, var(--bhm-gold-deep) 70%, transparent);
	clip-path: circle(50%);
}
.bhm-globe > * { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.bhm-globe__canvas { opacity: 0; }
.bhm-globe.is-live .bhm-globe__canvas { opacity: 1; }
.bhm-globe.is-live .bhm-globe__static { visibility: hidden; }
.bhm-globe__aum path { fill: #fff; transition: fill .3s; }
html[data-bhm-theme="dark"] .bhm-globe__aum path { fill: #000; }

/* Stats */
.bhm-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 1px;
	margin-block: clamp(2rem, 5vw, 4rem) !important;
	overflow: hidden;
	border-radius: var(--bhm-radius);
	background: var(--bhm-line);
	box-shadow: var(--bhm-shadow);
}
.bhm-stat {
	display: flex;
	flex-direction: column;
	gap: .35rem;
	padding: clamp(1.25rem, 3vw, 2rem);
	background: var(--bhm-paper);
}
.bhm-stat__num {
	font-family: var(--bhm-serif);
	font-size: clamp(2rem, 1.5rem + 2vw, 3rem);
	font-weight: 600;
	line-height: 1;
	letter-spacing: -.03em;
	font-variant-numeric: tabular-nums;
	color: var(--bhm-ink);
}
.bhm-stat__label {
	font-family: var(--bhm-sans);
	font-size: .9rem;
	color: var(--bhm-muted);
}

/* Latest / cards */
.bhm-latest { margin-block: clamp(2.5rem, 6vw, 5rem) !important; scroll-margin-top: 110px; }
.bhm-chips {
	display: flex;
	gap: .5rem;
	margin: 0 0 1.75rem;
	padding: 2px 2px 6px;
	overflow-x: auto;
	scrollbar-width: none;
	-webkit-mask-image: linear-gradient(90deg, #000 90%, transparent);
	mask-image: linear-gradient(90deg, #000 90%, transparent);
}
.bhm-chips::-webkit-scrollbar { display: none; }
.bhm-chip {
	flex: 0 0 auto;
	padding: .55em 1.05em;
	border: 0;
	border-radius: 999px;
	background: var(--bhm-paper);
	color: var(--bhm-ink-2);
	box-shadow: inset 0 0 0 1px var(--bhm-line);
	font-family: var(--bhm-sans);
	font-size: .86rem;
	font-weight: 600;
	cursor: pointer;
	transition: background-color .2s, color .2s, box-shadow .2s, transform .2s var(--bhm-ease);
}
.bhm-chip:hover { box-shadow: inset 0 0 0 1px var(--bhm-ink); color: var(--bhm-ink); }
.bhm-chip:active { transform: scale(.96); }
.bhm-chip.is-active { background: var(--bhm-ink); color: var(--bhm-cream); box-shadow: none; }

.bhm-grid {
	display: grid;
	grid-template-columns: repeat(var(--bhm-cols, 3), minmax(0, 1fr));
	gap: clamp(1rem, 2.4vw, 1.75rem);
	transition: opacity .25s;
}
.bhm-grid.is-loading { opacity: .4; pointer-events: none; }
@media (max-width: 960px) { .bhm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .bhm-grid { grid-template-columns: 1fr; } }

.bhm-card {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-radius: var(--bhm-radius);
	background: var(--bhm-paper);
	box-shadow: var(--bhm-shadow);
	transition: transform .35s var(--bhm-ease), box-shadow .35s var(--bhm-ease);
}
.bhm-card:hover { transform: translateY(-4px); box-shadow: var(--bhm-shadow-lg); }
.bhm-card__media {
	display: block;
	overflow: hidden;
	position: relative;
	aspect-ratio: var(--bhm-card-ratio, 4 / 5);
	background: var(--bhm-cream-2);
}
.bhm-card__img,
.bhm-card__placeholder {
	display: block;
	width: 100%;
	height: 100% !important;
	position: relative;
	object-fit: var(--bhm-card-fit, cover);
	object-position: var(--bhm-card-pos, center top);
	transition: transform .7s var(--bhm-ease);
}
.bhm-card__placeholder { background: linear-gradient(135deg, var(--bhm-saffron-soft), var(--bhm-cream-2)); }
.bhm-f-img-zoom .bhm-card:hover .bhm-card__img { transform: scale(1.05); }
.bhm-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: flex-start;
	gap: .65rem;
	padding: 1.15rem 1.3rem 1.35rem;
}
.bhm-card__title {
	margin: 0;
	font-family: var(--bhm-serif);
	font-size: 1.28rem;
	font-weight: 600;
	line-height: 1.22;
	letter-spacing: -.012em;
}
.bhm-card__title a { color: var(--bhm-ink); text-decoration: none; }
/* Whole card is clickable via the title link */
.bhm-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.bhm-card__title a:focus-visible { outline: none; }
.bhm-card:has(.bhm-card__title a:focus-visible) { outline: 2px solid var(--bhm-gold); outline-offset: 3px; }
.bhm-card__excerpt {
	margin: 0;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
	font-size: .98rem;
	line-height: 1.55;
	color: var(--bhm-ink-2);
}
.bhm-card__meta {
	margin: auto 0 0;
	padding-top: .25rem;
	font-family: var(--bhm-sans);
	font-size: .8rem;
	color: var(--bhm-muted);
}

.bhm-card--feature { grid-column: span 2; flex-direction: row; }
.bhm-card--feature .bhm-card__media { flex: 0 0 46%; align-self: stretch; }
.bhm-card--feature .bhm-card__body { justify-content: center; padding: clamp(1.5rem, 3vw, 2.5rem); gap: .9rem; }
.bhm-card--feature .bhm-card__title { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.1rem); line-height: 1.12; }
.bhm-card--feature .bhm-card__excerpt { -webkit-line-clamp: 5; font-size: 1.05rem; }
@media (max-width: 960px) {
	.bhm-card--feature { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
	.bhm-card--feature { flex-direction: column; }
	.bhm-card--feature .bhm-card__media { flex: none; }
}

.bhm-card.is-new { animation: bhm-rise .5s var(--bhm-ease) both; animation-delay: calc(var(--i, 0) * 50ms); }

.bhm-more-wrap { display: flex; justify-content: center; margin-top: 2rem; }
.bhm-more.is-loading { opacity: .6; pointer-events: none; }
.bhm-empty { grid-column: 1 / -1; padding: 2rem; text-align: center; color: var(--bhm-muted); font-family: var(--bhm-sans); }

/* Skeletons */
.bhm-skel { border-radius: var(--bhm-radius); background: var(--bhm-paper); box-shadow: var(--bhm-shadow); overflow: hidden; }
.bhm-skel::before { content: ""; display: block; aspect-ratio: var(--bhm-card-ratio, 4 / 5); background: var(--bhm-cream-2); }
.bhm-skel::after {
	content: "";
	display: block;
	height: 90px;
	margin: 1.2rem;
	border-radius: 8px;
	background: linear-gradient(90deg, var(--bhm-cream-2), var(--bhm-cream), var(--bhm-cream-2));
	background-size: 200% 100%;
	animation: bhm-shimmer 1.2s linear infinite;
}

/* Topics */
.bhm-topics { margin-block: clamp(2.5rem, 6vw, 5rem) !important; }
.bhm-topics .bhm-h2 { margin-bottom: 1.25rem; }
.bhm-topics__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: .75rem;
}
.bhm-topic {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: .2rem;
	padding: 1.15rem 3rem 1.15rem 1.2rem;
	border-radius: var(--bhm-radius-sm);
	background: var(--bhm-paper);
	box-shadow: inset 0 0 0 1px var(--bhm-line);
	color: var(--bhm-ink);
	text-decoration: none;
	transition: background-color .25s, box-shadow .25s, transform .25s var(--bhm-ease);
}
.bhm-topic__name { font-family: var(--bhm-serif); font-size: 1.12rem; font-weight: 600; }
.bhm-topic__count { font-family: var(--bhm-sans); font-size: .8rem; color: var(--bhm-muted); }
.bhm-topic__arrow {
	position: absolute;
	right: 1.1rem; top: 50%;
	transform: translate(-6px, -50%);
	opacity: 0;
	transition: opacity .25s, transform .25s var(--bhm-ease);
}
.bhm-topic:hover { background: var(--bhm-saffron-soft); box-shadow: inset 0 0 0 1px rgba(203, 142, 0, .35); transform: translateY(-2px); }
.bhm-topic:hover .bhm-topic__arrow { opacity: 1; transform: translate(0, -50%); }

/* CTA */
.bhm-cta {
	position: relative;
	overflow: hidden;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem 3rem;
	margin-block: clamp(2.5rem, 6vw, 5rem) !important;
	padding: clamp(2rem, 5vw, 3.5rem);
	border-radius: calc(var(--bhm-radius) + 6px);
	background: var(--bhm-ink);
	color: var(--bhm-cream);
}
.bhm-cta::before {
	content: "";
	position: absolute;
	right: -120px; top: -160px;
	width: 420px; height: 420px;
	border-radius: 50%;
	background: radial-gradient(circle, color-mix(in srgb, var(--bhm-saffron) 45%, transparent), transparent 65%);
	pointer-events: none;
}
.bhm-cta > div { position: relative; max-width: 560px; }
.bhm-cta__title {
	margin: 0 0 .5rem;
	font-family: var(--bhm-serif);
	font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem);
	font-weight: 600;
	line-height: 1.12;
	letter-spacing: -.02em;
	color: var(--bhm-cream);
}
.bhm-cta p { margin: 0; color: color-mix(in srgb, var(--bhm-cream) 75%, transparent); line-height: 1.6; }
.bhm-cta .bhm-btn { position: relative; background: var(--bhm-saffron); color: var(--bhm-on-accent); padding: 1em 1.6em; }
.bhm-cta .bhm-btn:hover { background: #ffc53a; }

/* --------------------------------------------------------------------------
   Scroll reveal
   -------------------------------------------------------------------------- */
.bhm-js .bhm-reveal .bhm-r {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity .7s var(--bhm-ease), transform .7s var(--bhm-ease);
	transition-delay: calc(var(--d, 0) * 70ms);
}
.bhm-js .bhm-reveal .bhm-r.is-in { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   Page transitions
   -------------------------------------------------------------------------- */
::view-transition-old(root) { animation: bhm-vt-out .18s ease both; }
::view-transition-new(root) { animation: bhm-vt-in .28s var(--bhm-ease) both; }
header.wp-block-template-part { view-transition-name: bhm-header; }
::view-transition-group(bhm-header) { animation: none; }

/* --------------------------------------------------------------------------
   Keyframes
   -------------------------------------------------------------------------- */
@keyframes bhm-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes bhm-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes bhm-spin { to { transform: translateY(-50%) rotate(360deg); } }
@keyframes bhm-float { from { transform: translate(0, 0); } to { transform: translate(-60px, 40px); } }
@keyframes bhm-shimmer { to { background-position: -200% 0; } }
@keyframes bhm-vt-out { to { opacity: 0; } }
@keyframes bhm-vt-in { from { opacity: 0; transform: translateY(8px); } }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
	.bhm-js .bhm-reveal .bhm-r { opacity: 1; transform: none; }
	html { scroll-behavior: auto !important; }
	::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}

@media print {
	.bhm-share, .bhm-top, .bhm-progress, .bhm-chips, .bhm-more-wrap { display: none !important; }
	.bhm-f-header header.wp-block-template-part { position: static; }
}

/* ==========================================================================
   v1.1 — settings-driven components
   ========================================================================== */

/* The hidden attribute must win over display:grid / flex */
.bhm-grid[hidden], .bhm-more-wrap[hidden] { display: none; }

/* Links that are components, not prose */
.bhm-f-skin .wp-block-post-content a.bhm-link,
.bhm-f-skin .wp-block-post-content a.bhm-topic,
.bhm-f-skin .wp-block-post-content a.bhm-postnav__link { text-decoration: none; color: var(--bhm-ink); }

/* Shadow strength */
.bhm-shadows-none { --bhm-shadow: 0 0 0 1px var(--bhm-line); --bhm-shadow-lg: 0 0 0 1px color-mix(in srgb, var(--bhm-ink) 45%, transparent); }
.bhm-shadows-strong {
	--bhm-shadow: 0 2px 4px rgba(33, 37, 31, .06), 0 14px 32px -12px rgba(33, 37, 31, .3);
	--bhm-shadow-lg: 0 4px 8px rgba(33, 37, 31, .08), 0 32px 60px -20px rgba(33, 37, 31, .45);
}

/* --------------------------------------------------------------------------
   Images
   -------------------------------------------------------------------------- */
.bhm-grid--3 { --bhm-cols: 3; }

/* "Show the whole image" over a blurred copy of itself */
.bhm-card__media.has-backdrop::before {
	content: "";
	position: absolute;
	inset: -24px;
	background: var(--bhm-img) center / cover no-repeat;
	filter: blur(22px) saturate(1.2);
	opacity: .85;
}

/* Fade in on load (only once the script is running, so images never stay hidden) */
.bhm-fade-ready .bhm-f-img-fade .bhm-card__img { opacity: 0; transition: opacity .5s ease, transform .7s var(--bhm-ease); }
.bhm-fade-ready .bhm-f-img-fade .bhm-card__img.is-loaded { opacity: 1; }

/* "New" badge */
.bhm-card__badge {
	position: absolute;
	top: .8rem; left: .8rem;
	z-index: 2;
	padding: .35em .7em;
	border-radius: 999px;
	background: var(--bhm-ink);
	color: var(--bhm-cream);
	font-family: var(--bhm-sans);
	font-size: .68rem;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	line-height: 1.2;
	pointer-events: none;
}

/* Lightbox */
.bhm-zoomable { cursor: zoom-in; }
.bhm-lightbox {
	position: fixed;
	inset: 0;
	z-index: 100002;
	display: grid;
	place-items: center;
	padding: clamp(12px, 3vw, 40px);
	background: rgba(14, 15, 13, .92);
	opacity: 0;
	pointer-events: none;
	cursor: zoom-out;
	transition: opacity .22s ease;
}
.bhm-lightbox.is-open { opacity: 1; pointer-events: auto; }
.bhm-lightbox img {
	max-width: 100%;
	max-height: calc(100vh - clamp(24px, 6vw, 80px));
	border-radius: 8px;
	box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
	transform: scale(.96);
	transition: transform .3s var(--bhm-ease);
}
.bhm-lightbox.is-open img { transform: none; }
.bhm-lightbox__close {
	position: absolute;
	top: 14px; right: 14px;
	width: 44px; height: 44px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .12);
	color: #fff;
	font-size: 1.6rem;
	line-height: 1;
	cursor: pointer;
}
.bhm-lightbox__close:hover { background: rgba(255, 255, 255, .24); }

/* --------------------------------------------------------------------------
   Articles, topic and search pages: theme lists as cards
   -------------------------------------------------------------------------- */
.bhm-f-archive-cards main .wp-block-query .wp-block-post-template {
	display: grid !important;
	grid-template-columns: repeat(var(--bhm-cols, 3), minmax(0, 1fr));
	gap: clamp(1rem, 2.4vw, 1.75rem);
	margin: 0;
	padding: 0;
	list-style: none;
}
@media (max-width: 960px) { .bhm-f-archive-cards main .wp-block-query .wp-block-post-template { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .bhm-f-archive-cards main .wp-block-query .wp-block-post-template { grid-template-columns: 1fr; } }
.bhm-f-archive-cards main .wp-block-post-template > li {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: .6rem;
	width: auto !important;
	margin: 0 !important;
	padding: 0 0 1.3rem;
	overflow: hidden;
	border-radius: var(--bhm-radius);
	background: var(--bhm-paper);
	box-shadow: var(--bhm-shadow);
	transition: transform .35s var(--bhm-ease), box-shadow .35s var(--bhm-ease);
}
.bhm-f-archive-cards main .wp-block-post-template > li:hover { transform: translateY(-4px); box-shadow: var(--bhm-shadow-lg); }
.bhm-f-archive-cards main .wp-block-post-template > li > * { margin: 0 !important; padding-inline: 1.3rem; }
.bhm-f-archive-cards main .wp-block-post-template > li > .wp-block-post-featured-image {
	padding: 0;
	margin-bottom: .4rem !important;
	overflow: hidden;
	aspect-ratio: var(--bhm-card-ratio, 4 / 5);
	background: var(--bhm-cream-2);
}
.bhm-f-archive-cards main .wp-block-post-template > li > .wp-block-post-featured-image a { display: block; height: 100%; }
.bhm-f-archive-cards main .wp-block-post-template > li > .wp-block-post-featured-image img {
	display: block;
	width: 100% !important;
	height: 100% !important;
	aspect-ratio: auto !important;
	object-fit: var(--bhm-card-fit, cover) !important;
	object-position: var(--bhm-card-pos, center top);
	border-radius: 0;
	box-shadow: none;
	transition: transform .7s var(--bhm-ease);
}
/* "Original — never crop": each card takes its own image's shape. */
.bhm-ratio-auto.bhm-f-archive-cards main .wp-block-post-template > li > .wp-block-post-featured-image { aspect-ratio: auto; }
.bhm-ratio-auto.bhm-f-archive-cards main .wp-block-post-template > li > .wp-block-post-featured-image a { height: auto; }
.bhm-ratio-auto.bhm-f-archive-cards main .wp-block-post-template > li > .wp-block-post-featured-image img {
	height: auto !important;
	max-height: 90vh;
	aspect-ratio: var(--bhm-ar, 4 / 5) !important;
}
.bhm-ratio-auto .bhm-skel::before { aspect-ratio: 4 / 5; }
.bhm-f-archive-cards.bhm-f-img-zoom main .wp-block-post-template > li:hover .wp-block-post-featured-image img { transform: scale(1.05); }
.bhm-f-archive-cards main .wp-block-post-template .wp-block-post-title { font-size: 1.28rem; line-height: 1.22; font-weight: 600; }
.bhm-f-archive-cards main .wp-block-post-template .wp-block-post-title a { color: var(--bhm-ink); text-decoration: none; }
.bhm-f-archive-cards main .wp-block-post-template .wp-block-post-excerpt { font-size: .98rem; line-height: 1.55; color: var(--bhm-ink-2); }
.bhm-f-archive-cards main .wp-block-post-template .wp-block-post-excerpt__excerpt {
	margin: 0;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
}
.bhm-f-archive-cards main .wp-block-post-template .wp-block-post-date { margin-top: auto !important; font-family: var(--bhm-sans); font-size: .8rem; color: var(--bhm-muted); }
.bhm-f-archive-cards main .wp-block-post-template .wp-block-post-date a { color: inherit; text-decoration: none; }
.bhm-f-archive-cards main .wp-block-post-template .wp-block-spacer { display: none; }

.bhm-f-skin .wp-block-query-pagination { gap: .4rem; margin-top: 2.5rem; font-family: var(--bhm-sans); font-size: .9rem; }
.bhm-f-skin .wp-block-query-pagination a,
.bhm-f-skin .wp-block-query-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.5em;
	padding: .55em .9em;
	border-radius: 999px;
	color: var(--bhm-ink);
	text-decoration: none;
	box-shadow: inset 0 0 0 1px var(--bhm-line);
	transition: background-color .2s, color .2s;
}
.bhm-f-skin .wp-block-query-pagination a:hover { background: var(--bhm-saffron-soft); }
.bhm-f-skin .wp-block-query-pagination .page-numbers.current { background: var(--bhm-ink); color: var(--bhm-cream); box-shadow: none; }

/* --------------------------------------------------------------------------
   Header: added on blank templates, smart hide, tools
   -------------------------------------------------------------------------- */
.bhm-auto-header .wp-site-blocks > .wp-block-post-content { margin-top: clamp(.5rem, 2vw, 1.5rem); }

.bhm-f-header.bhm-f-header-smart header.wp-block-template-part { transition: transform .35s var(--bhm-ease), border-color .3s, box-shadow .3s, background-color .3s; }
.bhm-f-header.bhm-f-header-smart.bhm-header-hidden header.wp-block-template-part { transform: translateY(-110%); }

.bhm-tools { display: flex; align-items: center; gap: .15rem; margin-left: .5rem; flex: none; }
.bhm-tool {
	display: grid;
	place-items: center;
	width: 40px; height: 40px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--bhm-ink);
	cursor: pointer;
	transition: background-color .2s, transform .25s var(--bhm-ease);
}
.bhm-tool:hover { background: color-mix(in srgb, var(--bhm-ink) 9%, transparent); transform: translateY(-1px); }
.bhm-tool svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bhm-tool .bhm-moon, [data-bhm-theme="dark"] .bhm-tool .bhm-sun { display: none; }
[data-bhm-theme="dark"] .bhm-tool .bhm-moon { display: block; }

/* Announcement bar */
.bhm-announce {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: .6rem 3rem;
	background: var(--bhm-ink);
	color: var(--bhm-cream);
	font-family: var(--bhm-sans);
	font-size: .88rem;
	line-height: 1.4;
	text-align: center;
}
.bhm-announce[hidden] { display: none; }
.bhm-announce__text { margin: 0; }
.bhm-announce__link { margin-left: .5em; color: var(--bhm-saffron); font-weight: 600; text-decoration: none; white-space: nowrap; }
.bhm-announce__link:hover { text-decoration: underline; }
.bhm-announce__close {
	position: absolute;
	right: .5rem; top: 50%;
	transform: translateY(-50%);
	width: 36px; height: 36px;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: inherit;
	font-size: 1.3rem;
	line-height: 1;
	cursor: pointer;
	opacity: .7;
}
.bhm-announce__close:hover { opacity: 1; background: color-mix(in srgb, var(--bhm-cream) 14%, transparent); }

/* --------------------------------------------------------------------------
   Instant search
   -------------------------------------------------------------------------- */
.bhm-search {
	position: fixed;
	inset: 0;
	z-index: 100001;
	display: grid;
	place-items: start center;
	padding: min(14vh, 120px) 16px 16px;
	background: rgba(20, 22, 19, .5);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	opacity: 0;
	pointer-events: none;
	transition: opacity .2s ease;
}
.bhm-search.is-open { opacity: 1; pointer-events: auto; }
.bhm-search__panel {
	width: min(640px, 100%);
	overflow: hidden;
	border-radius: var(--bhm-radius);
	background: var(--bhm-paper);
	box-shadow: var(--bhm-shadow-lg);
	transform: translateY(-10px) scale(.98);
	transition: transform .25s var(--bhm-ease);
}
.bhm-search.is-open .bhm-search__panel { transform: none; }
.bhm-search__form { display: flex; align-items: center; gap: .75rem; margin: 0; padding: 1rem 1.25rem; border-bottom: 1px solid var(--bhm-line); color: var(--bhm-muted); }
.bhm-search__form svg { flex: none; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.bhm-search__input {
	flex: 1;
	min-width: 0;
	padding: 0;
	border: 0;
	outline: none !important;
	background: transparent;
	color: var(--bhm-ink);
	font-family: var(--bhm-serif);
	font-size: 1.2rem;
}
.bhm-search__input::placeholder { color: var(--bhm-muted); }
.bhm-search__esc {
	flex: none;
	padding: .2em .55em;
	border: 0;
	border-radius: 6px;
	background: var(--bhm-cream-2);
	color: var(--bhm-muted);
	font-family: var(--bhm-sans);
	font-size: .72rem;
	cursor: pointer;
}
.bhm-search__results { max-height: min(60vh, 460px); overflow: auto; padding: .5rem; }
.bhm-search__results:empty { display: none; }
a.bhm-search__item { display: flex; align-items: center; gap: .9rem; padding: .6rem .75rem; border-radius: var(--bhm-radius-sm); color: var(--bhm-ink); text-decoration: none; }
a.bhm-search__item:hover, a.bhm-search__item.is-active { background: var(--bhm-saffron-soft); }
.bhm-search__item img, .bhm-search__thumb { flex: none; width: 46px; height: 58px; border-radius: 6px; object-fit: cover; object-position: center top; background: var(--bhm-cream-2); }
.bhm-search__title { display: block; font-family: var(--bhm-serif); font-size: 1.02rem; font-weight: 600; line-height: 1.25; }
.bhm-search__meta { display: block; margin-top: .15rem; font-family: var(--bhm-sans); font-size: .76rem; color: var(--bhm-muted); }
a.bhm-search__all { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: .25rem; padding: .7rem .75rem; border-top: 1px solid var(--bhm-line); border-radius: 0 0 var(--bhm-radius-sm) var(--bhm-radius-sm); font-family: var(--bhm-sans); font-size: .88rem; font-weight: 600; color: var(--bhm-ink); text-decoration: none; }
a.bhm-search__all:hover, a.bhm-search__all.is-active { background: var(--bhm-saffron-soft); }
.bhm-search__all kbd { flex: none; padding: .15em .5em; border-radius: 6px; background: var(--bhm-cream-2); color: var(--bhm-muted); font: inherit; font-size: .72rem; font-weight: 500; }
.bhm-no-thumbs a.bhm-search__item { padding-block: .7rem; }
/* The same list under the theme's own search boxes */
.bhm-suggest-wrap { position: relative; }
.bhm-suggest {
	position: absolute;
	z-index: 50;
	top: calc(100% + 6px);
	left: 0;
	right: 0;
	min-width: min(320px, 90vw);
	max-height: min(60vh, 460px);
	overflow: auto;
	padding: .5rem;
	border-radius: var(--bhm-radius-sm);
	background: var(--bhm-paper);
	box-shadow: var(--bhm-shadow-lg), inset 0 0 0 1px var(--bhm-line);
	text-align: left;
}
.bhm-suggest[hidden] { display: none; }
.bhm-suggest__none { margin: 0; padding: .6rem .75rem; font-family: var(--bhm-sans); font-size: .85rem; color: var(--bhm-muted); }
.bhm-search__hint { margin: 0; padding: .9rem 1.25rem; font-family: var(--bhm-sans); font-size: .85rem; color: var(--bhm-muted); }

/* --------------------------------------------------------------------------
   Article footer: related + previous / next
   -------------------------------------------------------------------------- */
.bhm-related { clear: both; margin-top: clamp(3rem, 6vw, 5rem) !important; padding-top: 2rem; border-top: 1px solid var(--bhm-line); }
.bhm-related .bhm-h2 { margin-bottom: 1.25rem; }
.bhm-postnav { clear: both; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem !important; }
.bhm-postnav__link {
	display: flex;
	flex-direction: column;
	gap: .3rem;
	padding: 1.1rem 1.25rem;
	border-radius: var(--bhm-radius-sm);
	background: var(--bhm-paper);
	box-shadow: inset 0 0 0 1px var(--bhm-line);
	transition: background-color .25s, transform .25s var(--bhm-ease);
}
.bhm-postnav__link:hover { background: var(--bhm-saffron-soft); transform: translateY(-2px); }
.bhm-postnav__link--next { text-align: right; }
.bhm-postnav__label { font-family: var(--bhm-sans); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--bhm-muted); }
.bhm-postnav__title { font-family: var(--bhm-serif); font-size: 1.05rem; font-weight: 600; line-height: 1.25; }
@media (max-width: 600px) { .bhm-postnav { grid-template-columns: 1fr; } .bhm-postnav__link--next { text-align: left; } }

/* --------------------------------------------------------------------------
   Adverts — every slot reserves its size so the page never jumps
   -------------------------------------------------------------------------- */
.bhm-ad {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: .35rem;
	max-width: 100%;
	margin: clamp(1.25rem, 3vw, 2rem) auto !important;
	text-align: center;
}
.bhm-ad__label { font-family: var(--bhm-sans); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--bhm-muted); }
.bhm-ad__slot {
	display: flex;
	align-items: center;
	justify-content: center;
	width: var(--w, 100%);
	max-width: 100%;
	min-height: var(--h, 0px);
	overflow: hidden;
}
.bhm-ad--fluid { align-items: stretch; }
.bhm-ad--fluid .bhm-ad__slot { display: block; width: 100%; min-height: 90px; }
@media (max-width: 767px) {
	.bhm-ad__slot { width: var(--mw, 100%); min-height: var(--mh, 0px); }
}
.bhm-ad__ph {
	display: flex;
	flex-direction: column;
	align-self: stretch;
	justify-content: center;
	gap: .15rem;
	width: 100%;
	min-height: 50px;
	border: 1.5px dashed color-mix(in srgb, var(--bhm-ink) 35%, transparent);
	border-radius: 8px;
	background: repeating-linear-gradient(45deg, transparent 0 10px, color-mix(in srgb, var(--bhm-ink) 5%, transparent) 10px 20px);
	color: var(--bhm-ink-2);
	font-family: var(--bhm-sans);
	font-size: .78rem;
	line-height: 1.3;
}
.bhm-ad--header_below, .bhm-ad--footer_above { padding-inline: var(--wp--style--root--padding-left, 1rem); }
.bhm-ad--header_below { margin-top: 1rem !important; }
.bhm-grid > .bhm-ad { grid-column: 1 / -1; margin: 0 !important; padding: 1rem; border-radius: var(--bhm-radius); background: color-mix(in srgb, var(--bhm-cream-2) 55%, transparent); }
.bhm-ad--content_end { clear: both; }
.bhm-ad--rail { display: none; position: fixed; top: 130px; z-index: 5; margin: 0 !important; }
.bhm-ad--anchor {
	position: fixed;
	left: 0; right: 0; bottom: 0;
	z-index: 95;
	margin: 0 !important;
	padding: .45rem .5rem calc(.45rem + env(safe-area-inset-bottom, 0px));
	border-top: 1px solid var(--bhm-line);
	background: color-mix(in srgb, var(--bhm-paper) 94%, transparent);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	box-shadow: 0 -10px 30px -18px rgba(0, 0, 0, .45);
}
.bhm-ad--anchor[hidden] { display: none; }
.bhm-ad--anchor .bhm-ad__label { display: none; }
.bhm-ad__close {
	position: absolute;
	top: -15px; right: 10px;
	width: 30px; height: 30px;
	border: 1px solid var(--bhm-line);
	border-radius: 50%;
	background: var(--bhm-paper);
	color: var(--bhm-ink);
	font-size: 1.1rem;
	line-height: 1;
	cursor: pointer;
}
.bhm-has-anchor .bhm-top { bottom: calc(var(--bhm-anchor-h, 70px) + 14px); }

/* --------------------------------------------------------------------------
   Dark mode (visitor's choice via the header switch)
   -------------------------------------------------------------------------- */
html[data-bhm-theme="dark"] {
	color-scheme: dark;
	--bhm-cream: #151713;
	--bhm-cream-2: #1d201a;
	--bhm-paper: #22251f;
	--bhm-ink: #f3efe8;
	--bhm-ink-2: #cfcabf;
	--bhm-muted: #9c9a90;
	--bhm-line: rgba(243, 239, 232, .13);
	--bhm-saffron-soft: color-mix(in srgb, var(--bhm-saffron) 24%, #151713);
	--bhm-gold: var(--bhm-saffron);
	--bhm-gold-deep: color-mix(in srgb, var(--bhm-saffron) 85%, white);
	--bhm-plum: #d3bcd8;
	--bhm-shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px -12px rgba(0, 0, 0, .7);
	--bhm-shadow-lg: 0 2px 4px rgba(0, 0, 0, .3), 0 24px 48px -20px rgba(0, 0, 0, .85);
	--wp--preset--color--base: #151713;
	--wp--preset--color--contrast: #f3efe8;
}
html[data-bhm-theme="dark"] body { background: var(--bhm-cream); color: var(--bhm-ink); }
html[data-bhm-theme="dark"] .wp-block-site-logo img { background: #f6f2ec; border-radius: 8px; box-shadow: 0 0 0 6px #f6f2ec; }
html[data-bhm-theme="dark"] header .wp-social-link { color: var(--bhm-ink) !important; }
html[data-bhm-theme="dark"] .bhm-rail, html[data-bhm-theme="dark"] .bhm-tag { background: color-mix(in srgb, var(--bhm-plum) 16%, transparent); }
html[data-bhm-theme="dark"] .bhm-cta { background: var(--bhm-paper); color: var(--bhm-ink); box-shadow: inset 0 0 0 1px var(--bhm-line); }
html[data-bhm-theme="dark"] .bhm-cta__title { color: var(--bhm-ink); }
html[data-bhm-theme="dark"] .bhm-cta p { color: var(--bhm-ink-2); }

@media print {
	.bhm-ad, .bhm-announce, .bhm-tools, .bhm-related, .bhm-postnav, .bhm-search, .bhm-lightbox { display: none !important; }
}

/* ==========================================================================
   v1.2 — article layout, footer, 404, header button
   ========================================================================== */

/* --------------------------------------------------------------------------
   Article: [headline] [image] [text]
   The plugin prints this itself, so it looks the same whatever alignment the
   theme template gives its own image block.
   -------------------------------------------------------------------------- */
.bhm-article {
	--gap: clamp(1.5rem, 4vw, 3.5rem);
	--img: var(--bhm-single-w, 420px);
	max-width: var(--wp--style--global--wide-size, 1200px) !important;
	margin-inline: auto !important;
}
.bhm-article::after { content: ""; display: block; clear: both; }
.bhm-article__body { min-width: 0; }
.bhm-article__body > :first-child { margin-top: 0 !important; }

.bhm-article__media { margin: 0; }
.bhm-article__img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: var(--bhm-single-ratio, auto);
	object-fit: var(--bhm-card-fit, cover);
	object-position: var(--bhm-card-pos, center top);
	border-radius: var(--bhm-radius);
	box-shadow: var(--bhm-shadow-lg);
}
.bhm-article__caption {
	margin-top: .7rem;
	font-family: var(--bhm-sans);
	font-size: .8rem;
	line-height: 1.45;
	color: var(--bhm-muted);
}

.bhm-article__title {
	margin: 0 0 1.25rem;
	font-family: var(--bhm-serif);
	font-size: clamp(2rem, 1.3rem + 2.6vw, 3.4rem);
	font-weight: 600;
	line-height: 1.08;
	letter-spacing: -.025em;
	text-wrap: balance;
	color: var(--bhm-ink);
}
.bhm-article__head { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.bhm-article__head .bhm-meta { margin-bottom: 1rem !important; }
.bhm-article__head .bhm-article__title { margin-bottom: 0; }
.bhm-article__body > .bhm-article__title { font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.7rem); }

/* Image above the text / banner / no image: one centred reading column */
.bhm-article--top, .bhm-article--wide, .bhm-article--hide, .bhm-article.no-media { max-width: var(--bhm-measure, 720px) !important; }
.bhm-article--top .bhm-article__media, .bhm-article--wide .bhm-article__media { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.bhm-article--wide.has-media { max-width: var(--wp--style--global--wide-size, 1200px) !important; }
.bhm-article--wide.has-media > :not(.bhm-article__media) { max-width: var(--bhm-measure, 720px); margin-inline: auto; }
.bhm-article--wide .bhm-article__img { max-height: 72vh; object-fit: cover; }

@media (min-width: 783px) {
	/* Own columns, no wrapping */
	.bhm-article--side-left.has-media, .bhm-article--side-right.has-media {
		display: grid;
		grid-template-columns: minmax(0, var(--img)) minmax(0, var(--bhm-measure, 720px));
		justify-content: center;
		align-items: start;
		gap: 0 var(--gap);
	}
	.bhm-article--side-right.has-media { grid-template-columns: minmax(0, var(--bhm-measure, 720px)) minmax(0, var(--img)); }
	.bhm-article--side-left.has-media::after, .bhm-article--side-right.has-media::after { display: none; }
	.bhm-article--side-left .bhm-article__head, .bhm-article--side-right .bhm-article__head { grid-column: 1 / -1; }
	.bhm-article--side-right .bhm-article__media { order: 2; }
	.bhm-article.is-sticky .bhm-article__media { position: sticky; top: 110px; }
	.admin-bar .bhm-article.is-sticky .bhm-article__media { top: 142px; }

	/* Text wraps around the image */
	.bhm-article--wrap-left.has-media, .bhm-article--wrap-right.has-media { max-width: calc(var(--bhm-measure, 720px) + var(--img) * .55) !important; }
	.bhm-article--wrap-left .bhm-article__media { float: left; width: min(var(--img), 46%); margin: .35rem var(--gap) 1.25rem 0; }
	.bhm-article--wrap-right .bhm-article__media { float: right; width: min(var(--img), 46%); margin: .35rem 0 1.25rem var(--gap); }
}

/* Phones and small tablets: image on top, text underneath */
@media (max-width: 782px) {
	.bhm-article { max-width: var(--bhm-measure, 720px) !important; }
	.bhm-article__media { margin: 0 0 1.5rem; }
	.bhm-article--wide .bhm-article__img { max-height: none; }
}

/* Safety net: if the theme's own image or headline still printed, hide the duplicate */
.wp-site-blocks:has(.bhm-article) .wp-block-post-featured-image:not(.wp-block-post-template *) { display: none; }
.wp-site-blocks:has(.bhm-article.has-own-title) h1.wp-block-post-title { display: none; }

/* --------------------------------------------------------------------------
   Header button
   -------------------------------------------------------------------------- */
.bhm-header-btn { margin-right: .35rem; padding: .7em 1.15em; font-size: .88rem; white-space: nowrap; }
.bhm-header-btn svg { display: none; }
@media (max-width: 520px) { .bhm-header-btn { display: none; } }

/* --------------------------------------------------------------------------
   Modern footer
   -------------------------------------------------------------------------- */
.bhm-footer {
	margin-top: clamp(3rem, 7vw, 6rem) !important;
	padding: clamp(2.5rem, 6vw, 4.5rem) var(--wp--style--root--padding-left, 1.5rem) 1.5rem;
	border: 0 !important;
	background: var(--bhm-ink);
	color: color-mix(in srgb, var(--bhm-cream) 78%, transparent);
	font-family: var(--bhm-sans);
	font-size: .95rem;
}
.bhm-footer__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr));
	gap: 2.5rem clamp(2rem, 5vw, 4rem);
	max-width: var(--wp--style--global--wide-size, 1200px);
	margin: 0 auto;
}
.bhm-footer__brand p { max-width: 38ch; margin: 1.1rem 0 0; line-height: 1.6; }
.bhm-footer .custom-logo { width: 170px; height: auto; padding: 8px 12px; border-radius: 12px; background: #f6f2ec; box-sizing: content-box; }
.bhm-footer__name { color: var(--bhm-cream); font-family: var(--bhm-serif); font-size: 1.5rem; font-weight: 600; text-decoration: none; }
.bhm-footer h2 {
	margin: 0 0 1rem;
	color: var(--bhm-cream);
	font-family: var(--bhm-sans);
	font-size: .74rem;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
}
.bhm-footer ul { margin: 0; padding: 0; list-style: none; }
.bhm-footer__col li + li { margin-top: .6rem; }
.bhm-footer a { color: inherit; text-decoration: none; transition: color .2s; }
.bhm-footer a:hover { color: var(--bhm-saffron); }
.bhm-footer__social { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.4rem !important; }
.bhm-footer__social a {
	display: inline-block;
	padding: .5em 1em;
	border-radius: 999px;
	box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--bhm-cream) 28%, transparent);
	color: var(--bhm-cream);
	font-size: .85rem;
	font-weight: 600;
	transition: background-color .2s, color .2s, box-shadow .2s;
}
.bhm-footer__social a:hover { background: var(--bhm-saffron); color: var(--bhm-on-accent); box-shadow: none; }
.bhm-footer__bar {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: .5rem 1.5rem;
	max-width: var(--wp--style--global--wide-size, 1200px);
	margin: clamp(2rem, 5vw, 3.5rem) auto 0;
	padding-top: 1.25rem;
	border-top: 1px solid color-mix(in srgb, var(--bhm-cream) 16%, transparent);
	font-size: .82rem;
}
@media (max-width: 782px) {
	.bhm-footer__inner { grid-template-columns: 1fr 1fr; }
	.bhm-footer__brand { grid-column: 1 / -1; }
}
html[data-bhm-theme="dark"] .bhm-footer { background: var(--bhm-paper); color: var(--bhm-ink-2); }
html[data-bhm-theme="dark"] .bhm-footer h2, html[data-bhm-theme="dark"] .bhm-footer__social a, html[data-bhm-theme="dark"] .bhm-footer__name { color: var(--bhm-ink); }
html[data-bhm-theme="dark"] .bhm-footer__social a { box-shadow: inset 0 0 0 1px var(--bhm-line); }
html[data-bhm-theme="dark"] .bhm-footer__bar { border-top-color: var(--bhm-line); }

/* --------------------------------------------------------------------------
   Page not found
   -------------------------------------------------------------------------- */
.bhm-404 { padding-block: clamp(2rem, 6vw, 5rem); text-align: center; }
.bhm-404__code {
	margin: 0;
	font-family: var(--bhm-serif);
	font-size: clamp(5rem, 3rem + 12vw, 11rem);
	font-style: italic;
	font-weight: 600;
	line-height: .9;
	letter-spacing: -.04em;
	background: linear-gradient(100deg, var(--bhm-gold-deep), var(--bhm-saffron));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.bhm-404__title { margin: 1rem 0 .5rem; font-family: var(--bhm-serif); font-size: clamp(1.7rem, 1.2rem + 2vw, 2.6rem); font-weight: 600; letter-spacing: -.02em; }
.bhm-404__text { max-width: 46ch; margin: 0 auto; color: var(--bhm-ink-2); line-height: 1.6; }
.bhm-404__search { display: flex; gap: .5rem; max-width: 480px; margin: 2rem auto 1rem; }
.bhm-404__search input {
	flex: 1;
	min-width: 0;
	padding: .8em 1.2em;
	border: 0;
	border-radius: 999px;
	background: var(--bhm-paper);
	box-shadow: inset 0 0 0 1px var(--bhm-line);
	color: var(--bhm-ink);
	font: inherit;
	font-size: 1rem;
}
.bhm-404__search input:focus { outline: 2px solid var(--bhm-gold); outline-offset: 2px; }
.bhm-404__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; }
.bhm-404 .bhm-h2 { margin: clamp(2.5rem, 6vw, 4.5rem) 0 1.25rem; text-align: left; }
.bhm-404 .bhm-grid { text-align: left; }

@media print {
	.bhm-footer, .bhm-header-btn { display: none !important; }
	.bhm-article { display: block !important; }
	.bhm-article__media { float: none !important; position: static !important; max-width: 60% !important; margin: 0 0 1rem !important; }
}
