/* ==========================================================================
   Blogbari — main stylesheet
   Colors come from Customizer (CSS variables injected in <head>).
   ========================================================================== */

:root {
	--bb-primary: #0373BB;
	--bb-primary-dark: #06325A;
	--bb-accent: #D70B52;
	--bb-accent-soft: #FDE6EE;
	--bb-bg: #F6F9FC;
	--bb-text: #14223A;
	--bb-on-accent: #ffffff;
	--bb-surface: #ffffff;
	--bb-muted: color-mix(in srgb, var(--bb-text) 62%, transparent);
	--bb-line: color-mix(in srgb, var(--bb-text) 11%, transparent);
	--bb-tint: color-mix(in srgb, var(--bb-primary) 6%, var(--bb-bg));
	--bb-accent-light: color-mix(in srgb, var(--bb-accent) 45%, #fff);
	--bb-light-grad: linear-gradient(135deg, #ffffff 0%, var(--bb-accent-light) 100%);
	--bb-primary-10: color-mix(in srgb, var(--bb-primary) 9%, transparent);
	--bb-accent-dark: color-mix(in srgb, var(--bb-accent) 78%, #000);
	--bb-gold-grad: linear-gradient(135deg, color-mix(in srgb, var(--bb-accent) 70%, #fff) 0%, var(--bb-accent) 45%, var(--bb-accent-dark) 100%);
	--bb-font: "Hind Siliguri", "Noto Sans Bengali", "SolaimanLipi", system-ui, sans-serif;
	--bb-font-head: "Noto Serif Bengali", "Hind Siliguri", Georgia, serif;
	--bb-radius: 18px;
	--bb-radius-sm: 10px;
	--bb-shadow: 0 1px 2px rgba(6, 30, 60, .04), 0 10px 30px -12px rgba(6, 30, 60, .14);
	--bb-shadow-lg: 0 30px 60px -24px rgba(6, 30, 60, .35);
	--bb-container: 1220px;
	--bb-header-h: 84px;
	--bb-ease: cubic-bezier(.2, .7, .2, 1);
	--bb-marquee-speed: 40s;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
	margin: 0;
	font-family: var(--bb-font);
	font-size: 17px;
	line-height: 1.75;
	color: var(--bb-text);
	background: var(--bb-bg);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}
img, svg, video, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--bb-primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--bb-accent-dark); }
h1, h2, h3, h4, h5, h6 { font-family: var(--bb-font-head); line-height: 1.35; color: var(--bb-primary-dark); margin: 0 0 .5em; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--bb-accent); color: #fff; }
:focus-visible { outline: 2px solid var(--bb-accent); outline-offset: 3px; border-radius: 4px; }

.screen-reader-text { position: absolute !important; clip: rect(1px, 1px, 1px, 1px); width: 1px; height: 1px; overflow: hidden; }
.bb-skip { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--bb-primary); color: #fff; padding: 10px 18px; border-radius: 8px; }
.bb-skip:focus { left: 12px; color: #fff; }

.bb-container { width: 100%; max-width: var(--bb-container); margin: 0 auto; padding: 0 20px; }
.bb-narrow { max-width: 820px; }
.bb-center { text-align: center; }
.bb-icon { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- Buttons ---------- */
.bb-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	padding: .72em 1.45em; border-radius: 999px; border: 1.5px solid transparent;
	font-weight: 600; font-size: .95rem; line-height: 1.3; cursor: pointer; white-space: nowrap;
	transition: transform .25s var(--bb-ease), box-shadow .25s, background .25s, color .25s, border-color .25s;
}
.bb-btn:hover { transform: translateY(-2px); }
.bb-btn-lg { padding: .9em 1.8em; font-size: 1.02rem; }
.bb-btn-sm { padding: .45em 1em; font-size: .85rem; }
.bb-btn-block { width: 100%; }
.bb-btn-primary { background: var(--bb-primary); color: #fff; box-shadow: 0 10px 24px -12px var(--bb-primary); }
.bb-btn-primary:hover { background: var(--bb-primary-dark); color: #fff; }
.bb-btn-gold { background: var(--bb-gold-grad); color: var(--bb-on-accent); box-shadow: 0 12px 26px -12px color-mix(in srgb, var(--bb-accent) 80%, #000); }
.bb-btn-gold:hover { color: var(--bb-on-accent); box-shadow: 0 16px 30px -12px color-mix(in srgb, var(--bb-accent) 90%, #000); }
.bb-btn-ghost { background: transparent; border-color: var(--bb-line); color: var(--bb-primary); }
.bb-btn-ghost:hover { border-color: var(--bb-primary); color: var(--bb-primary); background: var(--bb-surface); }
.bb-btn-outline-light { background: rgba(255,255,255,.04); color: #fff; border-color: rgba(255,255,255,.35); backdrop-filter: blur(6px); }
.bb-btn-outline-light:hover { color: var(--bb-primary-dark); background: #fff; border-color: #fff; }
.bb-icon-btn {
	width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 50%;
	border: 1px solid var(--bb-line); background: var(--bb-surface); color: var(--bb-primary); cursor: pointer;
	transition: background .2s, color .2s, border-color .2s;
}
.bb-icon-btn:hover { background: var(--bb-primary); color: #fff; border-color: var(--bb-primary); }
.bb-icon-btn .bb-icon { width: 20px; height: 20px; }

.bb-link-arrow { display: inline-flex; align-items: center; gap: .35em; font-weight: 600; color: var(--bb-primary); }
.bb-link-arrow .bb-icon { transition: transform .25s var(--bb-ease); }
a:hover .bb-link-arrow .bb-icon, .bb-link-arrow:hover .bb-icon { transform: translateX(4px); }

/* ---------- Typography helpers ---------- */
.bb-eyebrow {
	display: inline-flex; align-items: center; gap: .6em; font-size: .82rem; font-weight: 600;
	letter-spacing: .06em; color: var(--bb-accent-dark); margin-bottom: .8rem;
}
.bb-eyebrow::before { content: ""; width: 28px; height: 1.5px; background: currentColor; }
.bb-center .bb-eyebrow::after { content: ""; width: 28px; height: 1.5px; background: currentColor; }
.bb-eyebrow-light { color: var(--bb-accent-light); }
.bb-title { font-size: clamp(1.65rem, 3.2vw, 2.45rem); margin-bottom: .4em; }
.bb-title-light { color: #fff; }
.bb-lead { font-size: 1.1rem; color: var(--bb-muted); max-width: 680px; }
.bb-center .bb-lead { margin-left: auto; margin-right: auto; }

/* ---------- Sections ---------- */
.bb-section { padding: clamp(56px, 8vw, 104px) 0; position: relative; }
.bb-section-tight { padding: clamp(32px, 5vw, 56px) 0; }
.bb-section-tint { background: var(--bb-tint); }
.bb-section-dark { background: var(--bb-primary-dark); color: rgba(255,255,255,.82); overflow: hidden; }
.bb-section-dark h2, .bb-section-dark h3 { color: #fff; }
.bb-section-pattern, .bb-page-hero-pattern, .bb-hero-bg {
	position: absolute; inset: 0; pointer-events: none;
	background-image:
		radial-gradient(circle at 1px 1px, rgba(255,255,255,.13) 1px, transparent 0),
		radial-gradient(ellipse at 85% 0%, color-mix(in srgb, var(--bb-primary) 55%, transparent), transparent 55%);
	background-size: 26px 26px, 100% 100%;
	opacity: .55;
}
.bb-section > .bb-container { position: relative; }
.bb-section-head { margin-bottom: clamp(28px, 4vw, 48px); }
.bb-section-head.bb-center { max-width: 760px; margin-left: auto; margin-right: auto; }
.bb-split { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.bb-split .bb-title { margin-bottom: 0; }

.bb-grid { display: grid; gap: clamp(18px, 2.4vw, 30px); }
.bb-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bb-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bb-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- Top bar ---------- */
.bb-topbar { background: var(--bb-primary-dark); color: rgba(255,255,255,.78); font-size: .86rem; }
.bb-topbar-inner { display: flex; justify-content: space-between; align-items: center; min-height: 42px; gap: 16px; }
.bb-topbar a { color: rgba(255,255,255,.82); display: inline-flex; align-items: center; gap: .45em; }
.bb-topbar a:hover { color: var(--bb-accent-light); }
.bb-topbar .bb-icon { width: 15px; height: 15px; color: var(--bb-accent-light); }
.bb-topbar-contact, .bb-topbar-right { display: flex; align-items: center; gap: 22px; }
.bb-topbar-sep { width: 1px; height: 16px; background: rgba(255,255,255,.18); }
.bb-topbar .bb-social a { width: 28px; height: 28px; }
.bb-topbar .bb-social .bb-icon { color: currentColor; }

/* ---------- Marquee ---------- */
.bb-marquee { overflow: hidden; display: flex; align-items: stretch; background: var(--bb-gold-grad); color: var(--bb-on-accent); font-weight: 500; font-size: .95rem; position: relative; z-index: 2; }
.bb-marquee-label {
	flex: none; display: flex; align-items: center; gap: .5em; padding: 0 22px 0 20px;
	background: var(--bb-primary-dark); color: #fff; font-weight: 600; position: relative;
	clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 100%, 0 100%); padding-right: 30px;
}
.bb-marquee-label .bb-icon { color: #fff; animation: bb-pulse 2.2s infinite; }
.bb-marquee-viewport { flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.bb-marquee-track { display: flex; width: max-content; animation: bb-marquee var(--bb-marquee-speed) linear infinite; }
.bb-marquee:hover .bb-marquee-track, .bb-marquee:focus-within .bb-marquee-track { animation-play-state: paused; }
.bb-marquee-group { display: flex; flex: none; }
.bb-marquee-item { display: inline-flex; align-items: center; padding: 10px 0; white-space: nowrap; }
.bb-marquee-item::after { content: "✦"; margin: 0 28px; font-size: .75em; opacity: .65; }
.bb-marquee-item a { color: var(--bb-on-accent); text-decoration: underline; text-decoration-color: rgba(255,255,255,.5); text-underline-offset: 4px; }
.bb-marquee-item a:hover { text-decoration-color: currentColor; }
@keyframes bb-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes bb-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.18); } }

/* ---------- Header ---------- */
.bb-header {
	position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bb-bg) 88%, transparent);
	backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
	border-bottom: 1px solid var(--bb-line); transition: box-shadow .3s;
}
.admin-bar .bb-header { top: 32px; }
.bb-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(6,30,60,.35); }
.bb-header-inner { display: flex; align-items: center; gap: 24px; min-height: var(--bb-header-h); transition: min-height .3s; }
.bb-header.is-scrolled .bb-header-inner { min-height: 70px; }
.bb-brand { flex: none; }
.custom-logo-link { display: block; }
.custom-logo, .bb-logo-default img { max-height: 58px; width: auto; transition: max-height .3s; }
.bb-logo-default { display: block; }
.bb-header.is-scrolled .custom-logo, .bb-header.is-scrolled .bb-logo-default img { max-height: 48px; }

.bb-wordmark { display: inline-flex; align-items: center; gap: 12px; color: var(--bb-primary-dark); }
.bb-wordmark:hover { color: var(--bb-primary-dark); }
.bb-wordmark-mark {
	width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px;
	background: var(--bb-primary); color: #fff; font-family: var(--bb-font-head);
	font-size: 1.6rem; font-weight: 800; box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--bb-accent) 60%, transparent);
	line-height: 1;
}
.bb-wordmark-text { display: flex; flex-direction: column; line-height: 1.15; }
.bb-wordmark-text strong { font-family: var(--bb-font-head); font-size: 1.45rem; font-weight: 800; }
.bb-wordmark-text small { font-size: .74rem; color: var(--bb-accent-dark); letter-spacing: .04em; }

.bb-nav { margin-left: auto; }
.bb-nav-head, .bb-nav-foot { display: none; }
.bb-menu { list-style: none; display: flex; align-items: center; gap: 4px; }
.bb-menu > li { position: relative; }
.bb-menu a {
	display: block; padding: 10px 14px; font-weight: 500; color: var(--bb-text); border-radius: 999px;
	position: relative; transition: color .2s, background .2s;
}
.bb-menu > li > a::after {
	content: ""; position: absolute; left: 50%; bottom: 4px; width: 0; height: 2px; background: var(--bb-accent);
	transform: translateX(-50%); transition: width .3s var(--bb-ease); border-radius: 2px;
}
.bb-menu > li > a:hover, .bb-menu > .current-menu-item > a, .bb-menu > .current-menu-ancestor > a, .bb-menu > .current-category-ancestor > a { color: var(--bb-primary); }
.bb-menu > li > a:hover::after, .bb-menu > .current-menu-item > a::after { width: 22px; }
.bb-menu .sub-menu {
	list-style: none; position: absolute; top: calc(100% + 8px); left: 0; min-width: 220px; padding: 8px;
	background: var(--bb-surface); border-radius: 14px; box-shadow: var(--bb-shadow-lg); border: 1px solid var(--bb-line);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: .25s var(--bb-ease);
}
.bb-menu li:hover > .sub-menu, .bb-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.bb-menu .sub-menu a { border-radius: 8px; padding: 8px 12px; }
.bb-menu .sub-menu a:hover { background: var(--bb-tint); }
.bb-header-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.bb-nav-toggle { display: none; }
.bb-nav-overlay { display: none; }

.bb-search-panel { border-top: 1px solid var(--bb-line); padding: 18px 0; background: var(--bb-surface); }
.bb-search-panel[hidden] { display: none; }

.bb-search-form { display: flex; align-items: center; background: var(--bb-surface); border: 1.5px solid var(--bb-line); border-radius: 999px; padding: 4px 4px 4px 20px; transition: border-color .2s; }
.bb-search-form:focus-within { border-color: var(--bb-accent-light); }
.bb-search-form input { flex: 1; border: 0; outline: 0; background: transparent; padding: 8px 0; min-width: 0; }
.bb-search-form button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--bb-primary); color: #fff; display: grid; place-items: center; cursor: pointer; flex: none; }
.bb-search-form button:hover { background: var(--bb-accent); color: var(--bb-primary-dark); }

/* ---------- Social ---------- */
.bb-social { list-style: none; display: flex; gap: 8px; }
.bb-social a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; border: 1px solid currentColor; opacity: .85; transition: .2s; }
.bb-social a:hover { opacity: 1; background: var(--bb-accent); border-color: var(--bb-accent-light); color: var(--bb-primary-dark) !important; }
.bb-social .bb-icon { width: 17px; height: 17px; }
.bb-topbar .bb-social a { border-color: transparent; }

/* ---------- Hero ---------- */
.bb-hero {
	position: relative; overflow: visible; z-index: 1; color: rgba(255,255,255,.86);
	background:
		radial-gradient(1100px 600px at 90% -10%, color-mix(in srgb, var(--bb-primary) 85%, #fff 10%), transparent 60%),
		radial-gradient(600px 400px at 100% 100%, color-mix(in srgb, var(--bb-accent) 16%, transparent), transparent 60%),
		radial-gradient(800px 500px at -10% 110%, color-mix(in srgb, var(--bb-primary) 80%, #fff 6%), transparent 60%),
		linear-gradient(160deg, color-mix(in srgb, var(--bb-primary) 80%, var(--bb-primary-dark)) 0%, var(--bb-primary-dark) 75%);
	padding: clamp(56px, 8vw, 110px) 0 0;
}
.bb-hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; position: relative; }
.bb-hero-title { color: #fff; font-size: clamp(2.1rem, 5vw, 3.7rem); line-height: 1.25; margin-bottom: .45em; font-weight: 800; }
.bb-hero-title::after { content: ""; display: block; width: 84px; height: 3px; margin-top: 22px; background: var(--bb-gold-grad); border-radius: 3px; }
.bb-hero-text { font-size: clamp(1.02rem, 1.6vw, 1.18rem); max-width: 600px; color: rgba(255,255,255,.78); }
.bb-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 22px; }
.bb-hero-fb { display: inline-flex; align-items: center; gap: .55em; color: rgba(255,255,255,.75); font-size: .95rem; }
.bb-hero-fb .bb-icon { color: var(--bb-accent-light); }
.bb-hero-fb:hover { color: var(--bb-accent-light); }
.bb-hero-photo { border-radius: 200px 200px 24px 24px; overflow: hidden; border: 1px solid color-mix(in srgb, var(--bb-accent) 45%, transparent); padding: 10px; }
.bb-hero-photo img { border-radius: 190px 190px 16px 16px; width: 100%; aspect-ratio: 4/5; object-fit: cover; }

.bb-hero-emblem { position: relative; width: min(420px, 100%); aspect-ratio: 1; margin: 0 auto; }
.bb-emblem-ring {
	position: absolute; inset: 0; border-radius: 50%;
	border: 1px solid color-mix(in srgb, var(--bb-accent) 50%, transparent);
	background:
		radial-gradient(circle, transparent 54%, color-mix(in srgb, var(--bb-accent) 30%, transparent) 54.4%, transparent 55%),
		radial-gradient(circle, transparent 71%, color-mix(in srgb, var(--bb-accent) 18%, transparent) 71.4%, transparent 72%);
	animation: bb-spin 60s linear infinite;
}
.bb-emblem-ring::before, .bb-emblem-ring::after { content: "✦"; position: absolute; color: var(--bb-accent-light); font-size: 14px; }
.bb-emblem-ring::before { top: -9px; left: 50%; transform: translateX(-50%); }
.bb-emblem-ring::after { bottom: -9px; left: 50%; transform: translateX(-50%); }
.bb-emblem-core {
	position: absolute; inset: 24%; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center;
	background: radial-gradient(circle at 30% 25%, color-mix(in srgb, var(--bb-primary) 70%, #fff 10%), var(--bb-primary-dark));
	box-shadow: 0 30px 60px -20px rgba(0,0,0,.5), inset 0 0 0 1.5px color-mix(in srgb, var(--bb-accent) 70%, transparent);
}
.bb-emblem-mark { font-family: var(--bb-font-head); font-size: clamp(3.5rem, 8vw, 5.2rem); font-weight: 800; line-height: 1; background: var(--bb-light-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bb-emblem-text { font-family: var(--bb-font-head); color: #fff; font-weight: 700; font-size: 1.05rem; letter-spacing: .04em; margin-top: 4px; }
.bb-orbit {
	position: absolute; display: flex; align-items: center; gap: 8px; padding: 9px 16px 9px 10px; border-radius: 999px;
	background: rgba(255,255,255,.96); color: var(--bb-primary-dark); font-weight: 600; font-size: .95rem; box-shadow: var(--bb-shadow-lg);
	animation: bb-float 6s ease-in-out infinite;
}
.bb-orbit .bb-icon { width: 34px; height: 34px; padding: 7px; border-radius: 50%; background: var(--bb-primary); color: #fff; }
.bb-orbit em { font-style: normal; }
.bb-orbit-1 { top: 6%; left: -4%; }
.bb-orbit-2 { top: 42%; right: -8%; animation-delay: -2s; }
.bb-orbit-3 { bottom: 6%; left: 4%; animation-delay: -4s; }
@keyframes bb-spin { to { transform: rotate(360deg); } }
@keyframes bb-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.bb-stats {
	position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr);
	margin-top: clamp(48px, 7vw, 84px); transform: translateY(50%);
	background: var(--bb-surface); border-radius: var(--bb-radius); box-shadow: var(--bb-shadow-lg);
	border: 1px solid color-mix(in srgb, var(--bb-accent) 35%, transparent);
}
.bb-stat { padding: 26px 20px; text-align: center; position: relative; }
.bb-stat + .bb-stat::before { content: ""; position: absolute; left: 0; top: 24%; bottom: 24%; width: 1px; background: var(--bb-line); }
.bb-stat strong { display: block; font-family: var(--bb-font-head); font-size: clamp(1.5rem, 3vw, 2.1rem); color: var(--bb-primary); line-height: 1.2; }
.bb-stat span { font-size: .92rem; color: var(--bb-muted); }
.bb-hero + .bb-section { padding-top: clamp(110px, 12vw, 150px); }

/* ---------- Pillars ---------- */
.bb-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.bb-pillar {
	position: relative; display: flex; flex-direction: column; padding: 36px 30px 28px; border-radius: var(--bb-radius);
	background: var(--bb-surface); border: 1px solid var(--bb-line); color: var(--bb-text); overflow: hidden;
	transition: transform .35s var(--bb-ease), box-shadow .35s, border-color .35s;
}
.bb-pillar::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--bb-gold-grad); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--bb-ease); }
.bb-pillar:hover { transform: translateY(-6px); box-shadow: var(--bb-shadow-lg); border-color: transparent; color: var(--bb-text); }
.bb-pillar:hover::before { transform: scaleX(1); }
.bb-pillar-icon { width: 66px; height: 66px; border-radius: 20px; display: grid; place-items: center; background: var(--bb-primary); color: #fff; margin-bottom: 22px; transition: transform .35s var(--bb-ease); }
.bb-pillar:hover .bb-pillar-icon { transform: rotate(-6deg) scale(1.05); }
.bb-pillar-icon .bb-icon { width: 32px; height: 32px; }
.bb-pillar h3 { font-size: 1.5rem; }
.bb-pillar p { color: var(--bb-muted); flex: 1; }
.bb-pillar-foot { display: flex; justify-content: space-between; align-items: center; padding-top: 16px; border-top: 1px dashed var(--bb-line); font-size: .92rem; color: var(--bb-muted); }

/* ---------- About ---------- */
.bb-about { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.bb-about-visual { position: relative; padding: 0 30px 40px 0; }
.bb-about-frame { border-radius: 200px 200px var(--bb-radius) var(--bb-radius); overflow: hidden; box-shadow: var(--bb-shadow-lg); position: relative; }
.bb-about-frame::after { content: ""; position: absolute; inset: 12px; border-radius: 190px 190px 10px 10px; border: 1px solid rgba(255,255,255,.55); pointer-events: none; }
.bb-about-frame img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.bb-about-quote {
	position: absolute; right: 0; bottom: 0; max-width: 260px; padding: 22px 24px; border-radius: var(--bb-radius);
	background: var(--bb-primary); color: #fff; box-shadow: var(--bb-shadow-lg);
}
.bb-about-quote .bb-icon { color: var(--bb-accent-light); width: 28px; height: 28px; margin-bottom: 6px; }
.bb-about-quote p { margin: 0; font-family: var(--bb-font-head); font-size: 1.15rem; font-weight: 600; }
.bb-mission { display: flex; gap: 18px; padding: 22px; margin: 24px 0; border-radius: var(--bb-radius); background: var(--bb-surface); border: 1px solid var(--bb-line); border-left: 4px solid var(--bb-accent); }
.bb-mission h3 { font-size: 1.15rem; margin-bottom: .3em; }
.bb-mission p { margin: 0; color: var(--bb-muted); }
.bb-mission-icon { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--bb-accent-soft); color: var(--bb-accent-dark); }

.bb-checklist { list-style: none; display: grid; gap: 10px; margin: 0 0 28px; }
.bb-checklist-2 { grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.bb-checklist li { display: flex; align-items: flex-start; gap: 10px; }
.bb-checklist .bb-icon { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--bb-primary); color: #fff; margin-top: 3px; }

/* ---------- Cards ---------- */
.bb-card {
	display: flex; flex-direction: column; background: var(--bb-surface); border-radius: var(--bb-radius); overflow: hidden;
	border: 1px solid var(--bb-line); transition: transform .35s var(--bb-ease), box-shadow .35s;
}
.bb-card:hover { transform: translateY(-5px); box-shadow: var(--bb-shadow-lg); }
.bb-card-media { position: relative; display: block; aspect-ratio: 3/2; overflow: hidden; background: var(--bb-tint); }
.bb-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--bb-ease); }
.bb-card:hover .bb-card-media img { transform: scale(1.06); }
.bb-card-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.bb-card-cat { align-self: flex-start; display: inline-block; font-size: .8rem; font-weight: 600; padding: 3px 12px; border-radius: 999px; background: var(--bb-primary-10); color: var(--bb-primary); margin-bottom: 12px; }
.bb-card-cat:hover { background: var(--bb-primary); color: #fff; }
.bb-cat-finance { background: color-mix(in srgb, var(--bb-accent) 18%, transparent); color: var(--bb-accent-dark); }
.bb-cat-health { background: color-mix(in srgb, #2f8f5b 14%, transparent); color: #23744a; }
.bb-cat-family { background: color-mix(in srgb, #b4566c 13%, transparent); color: #9a3f55; }
.bb-card-title { font-size: 1.22rem; line-height: 1.45; margin-bottom: 10px; }
.bb-card-title a { color: var(--bb-primary-dark); background: linear-gradient(var(--bb-accent), var(--bb-accent)) 0 100% / 0 1.5px no-repeat; transition: background-size .4s var(--bb-ease); }
.bb-card-title a:hover { background-size: 100% 1.5px; color: var(--bb-primary-dark); }
.bb-card-excerpt { color: var(--bb-muted); font-size: .97rem; flex: 1; }
.bb-card-meta { display: flex; flex-wrap: wrap; gap: 16px; font-size: .85rem; color: var(--bb-muted); padding-top: 14px; border-top: 1px solid var(--bb-line); }
.bb-card-meta span { display: inline-flex; align-items: center; gap: 6px; }
.bb-card-meta .bb-icon { color: var(--bb-accent-dark); width: 15px; height: 15px; }

.bb-badge {
	position: absolute; top: 14px; left: 14px; display: inline-flex; align-items: center; gap: 6px;
	padding: 5px 12px; border-radius: 999px; font-size: .78rem; font-weight: 600;
	background: rgba(6,30,60,.82); color: #fff; backdrop-filter: blur(6px);
}
.bb-badge .bb-icon { width: 14px; height: 14px; }
.bb-badge-right { left: auto; right: 14px; }
.bb-badge-gold { background: var(--bb-gold-grad); color: var(--bb-on-accent); }
.bb-badge-light { background: rgba(255,255,255,.92); color: var(--bb-primary); }
.bb-badge-static { position: static; }
.bb-card-media .bb-badge-gold:not(.bb-badge-right) { left: auto; right: 14px; }

.bb-datebox {
	position: absolute; left: 14px; bottom: 14px; width: 62px; text-align: center; border-radius: 12px; overflow: hidden;
	background: #fff; box-shadow: var(--bb-shadow); line-height: 1.15;
}
.bb-datebox strong { display: block; font-family: var(--bb-font-head); font-size: 1.5rem; color: var(--bb-primary); padding: 6px 0 2px; }
.bb-datebox small { display: block; font-size: .72rem; background: var(--bb-primary); color: #fff; padding: 3px 0; }
.bb-datebox-sm { position: static; width: 52px; flex: none; }
.bb-datebox-sm strong { font-size: 1.2rem; }

.bb-status { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; margin-bottom: 10px; }
.bb-status-live { background: #e7f6ec; color: #17803d; }
.bb-status-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: bb-blink 1.4s infinite; }
@keyframes bb-blink { 50% { opacity: .25; } }

.bb-event-meta { list-style: none; display: grid; gap: 6px; font-size: .9rem; color: var(--bb-muted); margin-bottom: 16px; flex: 1; }
.bb-event-meta li { display: flex; align-items: center; gap: 8px; }
.bb-event-meta .bb-icon { color: var(--bb-accent-dark); width: 16px; height: 16px; }
.bb-card-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 14px; border-top: 1px solid var(--bb-line); }
.bb-price { font-size: .9rem; }
.bb-price del { color: var(--bb-muted); margin-right: 4px; }
.bb-price strong { color: var(--bb-primary); }

/* ---------- Activity types ---------- */
.bb-types { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.bb-type {
	position: relative; padding: 32px 26px; border-radius: var(--bb-radius); color: rgba(255,255,255,.75);
	background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); transition: .35s var(--bb-ease); overflow: hidden;
}
.bb-type:hover { background: rgba(255,255,255,.08); border-color: color-mix(in srgb, var(--bb-accent) 60%, transparent); transform: translateY(-5px); color: rgba(255,255,255,.85); }
.bb-type h3 { font-size: 1.3rem; margin: 18px 0 8px; }
.bb-type p { font-size: .95rem; margin: 0; }
.bb-type-icon { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 16px; background: var(--bb-gold-grad); color: var(--bb-on-accent); }
.bb-type-icon .bb-icon { width: 28px; height: 28px; }
.bb-type-icon-sm { width: 44px; height: 44px; border-radius: 12px; flex: none; }
.bb-type-icon-sm .bb-icon { width: 22px; height: 22px; }
.bb-type-count { position: absolute; top: 24px; right: 24px; font-family: var(--bb-font-head); font-size: .9rem; color: var(--bb-accent-light); }
.bb-types-light .bb-type { background: var(--bb-surface); border-color: var(--bb-line); color: var(--bb-muted); }
.bb-types-light .bb-type h3 { color: var(--bb-primary-dark); }
.bb-types-light .bb-type:hover { box-shadow: var(--bb-shadow-lg); border-color: transparent; color: var(--bb-muted); }
.bb-types-light .bb-type-count { color: var(--bb-accent-dark); }

/* ---------- Tabs ---------- */
.bb-tabs { display: flex; flex-wrap: wrap; gap: 6px; padding: 5px; background: var(--bb-surface); border-radius: 999px; border: 1px solid var(--bb-line); }
.bb-tab { border: 0; background: transparent; padding: 8px 18px; border-radius: 999px; cursor: pointer; font-weight: 500; color: var(--bb-muted); transition: .25s; }
.bb-tab:hover { color: var(--bb-primary); }
.bb-tab.is-active { background: var(--bb-primary); color: #fff; }
.bb-tabpanel[hidden] { display: none; }
.bb-tabpanel { animation: bb-fade .45s var(--bb-ease); }
@keyframes bb-fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Membership band / price card ---------- */
.bb-member-band { display: grid; grid-template-columns: 1.3fr .9fr; gap: clamp(32px, 5vw, 70px); align-items: center; }
.bb-price-card {
	position: relative; text-align: center; padding: 44px 34px 34px; border-radius: 24px; color: rgba(255,255,255,.8);
	background: radial-gradient(500px 300px at 50% -10%, color-mix(in srgb, var(--bb-accent) 14%, transparent), transparent 70%), var(--bb-primary-dark);
	box-shadow: var(--bb-shadow-lg); border: 1px solid color-mix(in srgb, var(--bb-accent) 45%, transparent);
}
.bb-price-card::before { content: ""; position: absolute; inset: 10px; border-radius: 18px; border: 1px solid color-mix(in srgb, var(--bb-accent) 25%, transparent); pointer-events: none; }
.bb-price-card h3 { color: #fff; font-size: 1.35rem; }
.bb-price-card .bb-checklist { text-align: left; margin: 20px 0 0; }
.bb-price-card .bb-checklist li { color: rgba(255,255,255,.85); font-size: .95rem; }
.bb-price-card .bb-checklist .bb-icon { background: var(--bb-accent); color: var(--bb-primary-dark); }
.bb-price-card small { display: block; margin-top: 14px; }
.bb-price-card small a { color: var(--bb-accent-light); }
.bb-price-crown { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--bb-gold-grad); color: var(--bb-on-accent); margin-bottom: 14px; box-shadow: 0 10px 30px -10px var(--bb-accent); }
.bb-price-crown .bb-icon { width: 30px; height: 30px; }
.bb-price-amount { font-family: var(--bb-font-head); font-size: clamp(1.8rem, 3.5vw, 2.4rem); font-weight: 800; margin: 6px 0 10px; background: var(--bb-light-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bb-price-card .bb-btn { margin-top: 18px; position: relative; }

/* ---------- Advisors ---------- */
.bb-advisor { text-align: center; padding: 28px 22px 26px; background: var(--bb-surface); border-radius: var(--bb-radius); border: 1px solid var(--bb-line); transition: .35s var(--bb-ease); }
.bb-advisor:hover { transform: translateY(-5px); box-shadow: var(--bb-shadow-lg); border-color: transparent; }
.bb-advisor-photo { position: relative; display: block; width: 150px; height: 150px; margin: 0 auto 18px; }
.bb-advisor-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; position: relative; z-index: 1; }
.bb-advisor-ring { position: absolute; inset: -8px; border-radius: 50%; border: 1.5px dashed color-mix(in srgb, var(--bb-accent) 70%, transparent); transition: transform 1.2s var(--bb-ease); }
.bb-advisor:hover .bb-advisor-ring { transform: rotate(90deg); }
.bb-advisor-role { display: inline-block; font-size: .8rem; font-weight: 600; color: var(--bb-accent-dark); letter-spacing: .04em; margin-bottom: 4px; }
.bb-advisor h3 { font-size: 1.18rem; margin-bottom: 4px; }
.bb-advisor h3 a { color: var(--bb-primary-dark); }
.bb-advisor-org { font-size: .92rem; color: var(--bb-muted); margin-bottom: 10px; }
.bb-chip { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; padding: 3px 12px; border-radius: 999px; background: var(--bb-tint); color: var(--bb-primary); border: 1px solid var(--bb-line); }
.bb-chip .bb-icon { width: 13px; height: 13px; }
.bb-advisor-links { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
.bb-advisor-links:empty { display: none; }
.bb-advisor-links a { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--bb-tint); color: var(--bb-primary); }
.bb-advisor-links a:hover { background: var(--bb-primary); color: #fff; }
.bb-advisor-links .bb-icon { width: 16px; height: 16px; }
.bb-admin-hint { margin-top: 30px; padding: 14px 18px; border-radius: 12px; background: var(--bb-accent-soft); color: var(--bb-primary-dark); display: flex; align-items: center; gap: 10px; font-size: .92rem; }

/* ---------- CTA ---------- */
.bb-cta-box {
	position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
	padding: clamp(32px, 5vw, 56px); border-radius: 28px; color: rgba(255,255,255,.8);
	background: radial-gradient(600px 300px at 100% 0%, color-mix(in srgb, var(--bb-accent) 14%, transparent), transparent 70%), linear-gradient(135deg, var(--bb-primary), var(--bb-primary-dark));
}
.bb-cta-box::after { content: "ব"; position: absolute; right: 4%; bottom: -30%; font-family: var(--bb-font-head); font-size: 16rem; font-weight: 800; color: rgba(255,255,255,.04); line-height: 1; pointer-events: none; }
.bb-cta-box h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.bb-cta-box p { max-width: 580px; margin: 0; }
.bb-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }

/* ---------- Footer ---------- */
.bb-footer { position: relative; background: var(--bb-primary-dark); color: rgba(255,255,255,.7); padding-top: 0; margin-top: 0; }
.bb-footer-ornament { height: 4px; background: var(--bb-gold-grad); }
.bb-footer-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 44px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.bb-footer-cta h2 { color: #fff; font-size: clamp(1.35rem, 2.6vw, 1.85rem); margin-bottom: .25em; }
.bb-footer-cta p { margin: 0; }
.bb-footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding: 56px 0 44px; }
.bb-footer h4 { color: #fff; font-size: 1.08rem; margin-bottom: 18px; position: relative; padding-bottom: 12px; }
.bb-footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 2px; background: var(--bb-accent); }
.bb-footer-about p { margin: 18px 0 20px; font-size: .95rem; }
.bb-footer .bb-wordmark { color: #fff; }
.bb-footer .bb-wordmark-text small { color: var(--bb-accent-light); }
.bb-footer .bb-social a { color: rgba(255,255,255,.75); border-color: rgba(255,255,255,.22); }
.bb-logo-on-dark .custom-logo { max-height: 64px; filter: brightness(0) invert(1); }
.bb-logo-img img { max-height: 70px; width: auto; }
.bb-footer-links { list-style: none; display: grid; gap: 9px; }
.bb-footer-links a { color: rgba(255,255,255,.7); font-size: .95rem; display: inline-flex; align-items: center; gap: 6px; transition: color .2s, transform .2s; }
.bb-footer-links a::before { content: "›"; color: var(--bb-accent-light); }
.bb-footer-links a:hover { color: var(--bb-accent-light); transform: translateX(3px); }
.bb-footer-contact { list-style: none; display: grid; gap: 14px; }
.bb-footer-contact li { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; }
.bb-footer-contact .bb-icon { width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: rgba(255,255,255,.06); color: var(--bb-accent-light); }
.bb-footer-contact a { color: rgba(255,255,255,.8); word-break: break-word; padding-top: 5px; }
.bb-footer-contact span { padding-top: 5px; }
.bb-footer-contact a:hover { color: var(--bb-accent-light); }
.bb-footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 22px 0 26px; border-top: 1px solid rgba(255,255,255,.1); font-size: .88rem; }
.bb-footer-bottom p { margin: 0; }
.bb-credit a { color: var(--bb-accent-light); font-weight: 600; }
.bb-credit a:hover { color: #fff; }

.bb-totop {
	position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 48px; height: 48px; border-radius: 50%; border: 0;
	background: var(--bb-gold-grad); color: var(--bb-on-accent); display: grid; place-items: center; cursor: pointer;
	box-shadow: var(--bb-shadow-lg); opacity: 0; visibility: hidden; transform: translateY(12px); transition: .3s var(--bb-ease);
}
.bb-totop .bb-icon { transform: rotate(-90deg); }
.bb-totop.is-visible { opacity: 1; visibility: visible; transform: none; }

/* ---------- Inner page hero ---------- */
.bb-page-hero, .bb-single-head, .bb-event-hero {
	position: relative; overflow: hidden; color: rgba(255,255,255,.8);
	background: radial-gradient(900px 400px at 95% -20%, color-mix(in srgb, var(--bb-accent) 14%, transparent), transparent 60%), linear-gradient(150deg, var(--bb-primary), var(--bb-primary-dark));
	padding: clamp(46px, 7vw, 86px) 0 clamp(50px, 7vw, 90px);
}
.bb-page-hero .bb-container, .bb-single-head .bb-container, .bb-event-hero .bb-container { position: relative; }
.bb-page-hero h1, .bb-single-head h1, .bb-event-hero h1 { color: #fff; font-size: clamp(1.9rem, 4.4vw, 3.1rem); margin-bottom: .3em; }
.bb-page-hero p { max-width: 640px; margin: 0; font-size: 1.08rem; }
.bb-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .88rem; margin-bottom: 18px; color: rgba(255,255,255,.6); }
.bb-crumbs a { color: rgba(255,255,255,.75); }
.bb-crumbs a:hover { color: var(--bb-accent-light); }
.bb-crumbs span[aria-hidden] { color: var(--bb-accent-light); }

.bb-cat-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.bb-cat-nav a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 999px; background: var(--bb-surface); border: 1px solid var(--bb-line); color: var(--bb-text); font-weight: 500; transition: .2s; }
.bb-cat-nav a .bb-icon { color: var(--bb-accent-dark); width: 18px; height: 18px; }
.bb-cat-nav a:hover { border-color: var(--bb-primary); color: var(--bb-primary); }
.bb-cat-nav a.is-active { background: var(--bb-primary); border-color: var(--bb-primary); color: #fff; }
.bb-cat-nav a.is-active .bb-icon { color: var(--bb-accent-light); }

/* ---------- Layout + sidebar ---------- */
.bb-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; }
.bb-sidebar { display: grid; gap: 24px; position: sticky; top: calc(var(--bb-header-h) + 20px); }
.bb-widget { background: var(--bb-surface); border: 1px solid var(--bb-line); border-radius: var(--bb-radius); padding: 24px; }
.bb-widget-title { font-size: 1.1rem; padding-bottom: 12px; margin-bottom: 16px; border-bottom: 1px solid var(--bb-line); position: relative; }
.bb-widget-title::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 40px; height: 2px; background: var(--bb-accent); }
.bb-widget ul { list-style: none; }
.bb-widget-member { text-align: center; color: rgba(255,255,255,.78); background: radial-gradient(300px 200px at 50% 0%, color-mix(in srgb, var(--bb-accent) 14%, transparent), transparent 70%), var(--bb-primary-dark); border: 0; }
.bb-widget-member h3 { color: #fff; }
.bb-widget-member p { font-size: .93rem; }
.bb-widget-cats li a { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px dashed var(--bb-line); color: var(--bb-text); }
.bb-widget-cats li:last-child a { border-bottom: 0; }
.bb-widget-cats .bb-icon { color: var(--bb-accent-dark); }
.bb-widget-cats span { margin-left: auto; font-size: .8rem; background: var(--bb-tint); padding: 1px 9px; border-radius: 999px; }
.bb-widget-cats a:hover { color: var(--bb-primary); }
.bb-mini-events { display: grid; gap: 14px; }
.bb-mini-events li { display: flex; gap: 14px; align-items: center; }
.bb-mini-events a { display: block; font-weight: 600; line-height: 1.4; color: var(--bb-primary-dark); }
.bb-mini-events small { color: var(--bb-muted); font-size: .8rem; }
.bb-widget-fb { text-align: center; }
.bb-widget-fb > .bb-icon { width: 46px; height: 46px; padding: 10px; border-radius: 50%; background: var(--bb-primary); color: #fff; margin: 0 auto 10px; }
.bb-widget-fb p { font-size: .93rem; color: var(--bb-muted); }

.bb-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 48px; }
.bb-pagination a, .bb-pagination span { min-width: 44px; height: 44px; padding: 0 14px; display: inline-grid; place-items: center; border-radius: 999px; border: 1px solid var(--bb-line); background: var(--bb-surface); color: var(--bb-text); font-weight: 500; }
.bb-pagination .current { background: var(--bb-primary); color: #fff; border-color: var(--bb-primary); }
.bb-pagination a:hover { border-color: var(--bb-primary); color: var(--bb-primary); }

.bb-empty { padding: 28px; text-align: center; color: var(--bb-muted); background: var(--bb-surface); border: 1px dashed var(--bb-line); border-radius: var(--bb-radius); }
.bb-empty-state { text-align: center; padding: 60px 20px; background: var(--bb-surface); border-radius: var(--bb-radius); border: 1px solid var(--bb-line); }
.bb-empty-state > .bb-icon { width: 60px; height: 60px; padding: 14px; border-radius: 50%; background: var(--bb-tint); color: var(--bb-accent-dark); margin: 0 auto 16px; }
.bb-empty-state .bb-search-form { max-width: 420px; margin: 20px auto 0; }

/* ---------- Single ---------- */
.bb-single-head { padding-bottom: clamp(110px, 14vw, 170px); }
.bb-single-head .bb-card-cat { background: var(--bb-accent); color: var(--bb-primary-dark); }
.bb-single-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; font-size: .92rem; margin-top: 16px; }
.bb-single-meta span { display: inline-flex; align-items: center; gap: 8px; }
.bb-single-meta .bb-icon { color: var(--bb-accent-light); }
.bb-author img { border-radius: 50%; border: 2px solid var(--bb-accent); width: 36px; height: 36px; }
.bb-single-cover { margin: calc(-1 * clamp(80px, 11vw, 130px)) 0 40px; border-radius: 22px; overflow: hidden; box-shadow: var(--bb-shadow-lg); position: relative; border: 6px solid var(--bb-surface); background: var(--bb-surface); }
.bb-single-cover img { width: 100%; aspect-ratio: 2/1; object-fit: cover; }
.bb-page-hero + .bb-section .bb-single-cover { margin-top: 0; }

.bb-prose { font-size: 1.08rem; line-height: 1.9; }
.bb-prose > * + * { margin-top: 1.1em; }
.bb-prose p { margin: 0; }
.bb-prose h2 { font-size: 1.6rem; margin-top: 1.6em; }
.bb-prose h3 { font-size: 1.3rem; margin-top: 1.4em; }
.bb-prose ul, .bb-prose ol { padding-left: 1.4em; }
.bb-prose li + li { margin-top: .35em; }
.bb-prose ul li::marker { color: var(--bb-accent-dark); }
.bb-prose a { text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--bb-accent) 70%, transparent); text-underline-offset: 3px; }
.bb-prose blockquote { margin: 1.8em 0; padding: 26px 30px; border-radius: var(--bb-radius); background: var(--bb-tint); border-left: 4px solid var(--bb-accent); font-family: var(--bb-font-head); font-size: 1.2rem; color: var(--bb-primary-dark); }
.bb-prose img, .bb-prose figure { border-radius: 14px; }
.bb-prose figcaption { font-size: .88rem; color: var(--bb-muted); text-align: center; margin-top: 8px; }
.bb-prose table { width: 100%; border-collapse: collapse; font-size: .96rem; }
.bb-prose th, .bb-prose td { border: 1px solid var(--bb-line); padding: 10px 14px; text-align: left; }
.bb-prose th { background: var(--bb-tint); }
.bb-prose .alignwide { margin-left: -60px; margin-right: -60px; max-width: none; }
.bb-prose .aligncenter { margin-left: auto; margin-right: auto; }
.bb-prose .wp-block-button__link { background: var(--bb-primary); border-radius: 999px; }
.bb-intro { font-size: 1.12rem; color: var(--bb-muted); }

.bb-single-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin: 44px 0 30px; padding: 22px 0; border-top: 1px solid var(--bb-line); border-bottom: 1px solid var(--bb-line); }
.bb-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.bb-tags a { font-size: .85rem; padding: 4px 12px; border-radius: 999px; background: var(--bb-tint); color: var(--bb-primary); }
.bb-share { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.bb-share a { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--bb-primary); color: #fff; transition: .2s; }
.bb-share a:hover { background: var(--bb-accent); color: var(--bb-primary-dark); }
.bb-share .bb-icon { width: 17px; height: 17px; }
.bb-postnav { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 40px; }
.bb-postnav a { display: block; height: 100%; padding: 18px 22px; border-radius: 14px; background: var(--bb-surface); border: 1px solid var(--bb-line); color: var(--bb-primary-dark); }
.bb-postnav a:hover { border-color: var(--bb-accent-light); }
.bb-postnav small { display: block; color: var(--bb-accent-dark); font-weight: 600; }
.bb-postnav span { font-family: var(--bb-font-head); font-weight: 600; }
.bb-right { text-align: right; }

/* Comments */
.bb-comments { margin-top: 30px; }
.bb-comment-list { list-style: none; display: grid; gap: 18px; margin-bottom: 36px; }
.bb-comment-list .children { list-style: none; margin: 18px 0 0 34px; display: grid; gap: 18px; }
.bb-comment-list .comment-body { padding: 20px; border-radius: 14px; background: var(--bb-surface); border: 1px solid var(--bb-line); }
.bb-comment-list .avatar { border-radius: 50%; float: left; margin-right: 12px; }
.bb-comment-list .comment-meta { font-size: .88rem; color: var(--bb-muted); margin-bottom: 8px; }
.bb-comment-list .fn { font-style: normal; font-weight: 600; color: var(--bb-primary-dark); }
.bb-comment-list .reply a { font-size: .88rem; font-weight: 600; }
.comment-respond { padding: 30px; background: var(--bb-surface); border: 1px solid var(--bb-line); border-radius: var(--bb-radius); }
.comment-respond label { display: block; font-weight: 500; margin-bottom: 6px; }
.comment-respond input[type=text], .comment-respond input[type=email], .comment-respond input[type=url], .comment-respond textarea, .bb-form input, .bb-form select, .bb-form textarea, .bb-form-card input[type=text], .bb-form-card input[type=password] {
	width: 100%; padding: 12px 16px; border-radius: 12px; border: 1.5px solid var(--bb-line); background: var(--bb-bg); transition: border-color .2s, box-shadow .2s; outline: 0;
}
.comment-respond input:focus, .comment-respond textarea:focus, .bb-form input:focus, .bb-form select:focus, .bb-form textarea:focus, .bb-form-card input:focus { border-color: var(--bb-accent-light); box-shadow: 0 0 0 4px color-mix(in srgb, var(--bb-accent) 18%, transparent); background: var(--bb-surface); }

/* ---------- Event single ---------- */
.bb-event-hero-inner { display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: center; }
.bb-event-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; align-items: center; }
.bb-event-tags .bb-status { margin: 0; }
.bb-event-lead { font-size: 1.1rem; max-width: 640px; }
.bb-event-cover { margin: 0; border-radius: 20px; overflow: hidden; box-shadow: var(--bb-shadow-lg); border: 1px solid color-mix(in srgb, var(--bb-accent) 45%, transparent); }
.bb-event-cover img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.bb-event-cover-magazine { max-width: 280px; justify-self: center; transform: rotate(3deg); border-radius: 6px 16px 16px 6px; }
.bb-event-cover-magazine img { aspect-ratio: 5/6.6; }
.bb-layout-event { grid-template-columns: minmax(0, 1fr) 380px; }
.bb-event-panel { position: sticky; top: calc(var(--bb-header-h) + 20px); display: grid; gap: 16px; }
.bb-event-box { background: var(--bb-surface); border-radius: 20px; border: 1px solid var(--bb-line); padding: 28px; box-shadow: var(--bb-shadow); display: grid; gap: 12px; }
.bb-event-box h3 { font-size: 1.15rem; margin: 0 0 4px; }
.bb-event-facts { list-style: none; display: grid; gap: 14px; margin-bottom: 8px; }
.bb-event-facts li { display: flex; gap: 14px; align-items: flex-start; }
.bb-event-facts .bb-icon { width: 40px; height: 40px; padding: 10px; border-radius: 12px; background: var(--bb-tint); color: var(--bb-accent-dark); }
.bb-event-facts small { display: block; color: var(--bb-muted); font-size: .8rem; }
.bb-event-facts strong { color: var(--bb-primary-dark); font-weight: 600; line-height: 1.4; display: block; }
.bb-event-price { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 14px; border-radius: 14px; background: var(--bb-tint); }
.bb-event-price small { display: block; font-size: .78rem; color: var(--bb-muted); }
.bb-event-price strong { font-family: var(--bb-font-head); font-size: 1.25rem; color: var(--bb-primary-dark); }
.bb-event-price-member { border-left: 1px solid var(--bb-line); padding-left: 12px; }
.bb-event-price-member strong { color: var(--bb-accent-dark); }
.bb-event-note { font-size: .88rem; text-align: center; margin: 0; color: var(--bb-muted); }
.bb-access-ok { display: flex; align-items: center; gap: 8px; margin: 0; padding: 10px 14px; border-radius: 12px; background: #e7f6ec; color: #17803d; font-weight: 600; font-size: .92rem; }
.bb-share-box { justify-content: center; padding: 14px; border-radius: 14px; background: var(--bb-surface); border: 1px solid var(--bb-line); }
.bb-embed { margin-bottom: 30px; border-radius: 18px; overflow: hidden; background: #000; }
.bb-embed iframe { width: 100%; aspect-ratio: 16/9; height: auto; border: 0; }
.bb-embed .bb-btn { margin: 20px; }

/* Lock */
.bb-lock {
	position: relative; margin: 30px 0; padding: 40px 30px; text-align: center; border-radius: 22px; color: rgba(255,255,255,.8);
	background: radial-gradient(500px 260px at 50% 0%, color-mix(in srgb, var(--bb-accent) 14%, transparent), transparent 70%), var(--bb-primary-dark);
	border: 1px solid color-mix(in srgb, var(--bb-accent) 40%, transparent);
}
.bb-lock h3 { color: #fff; font-size: 1.4rem; }
.bb-lock p { max-width: 520px; margin: 0 auto 20px; }
.bb-lock-icon { display: inline-grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; background: var(--bb-gold-grad); color: var(--bb-on-accent); margin-bottom: 14px; }
.bb-lock-icon .bb-icon { width: 28px; height: 28px; }
.bb-lock-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; align-items: center; }
.bb-lock .bb-btn-ghost { color: #fff; border-color: rgba(255,255,255,.3); }
.bb-lock .bb-btn-ghost:hover { background: #fff; color: var(--bb-primary-dark); }
.bb-lock .bb-chip { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.2); }
.bb-teaser { position: relative; max-height: 220px; overflow: hidden; }
.bb-teaser::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, var(--bb-bg)); }

/* ---------- Advisor profile ---------- */
.bb-profile { display: grid; grid-template-columns: 340px 1fr; gap: 50px; align-items: start; }
.bb-profile-card { text-align: center; padding: 34px 26px; background: var(--bb-surface); border-radius: 22px; border: 1px solid var(--bb-line); box-shadow: var(--bb-shadow); position: sticky; top: calc(var(--bb-header-h) + 20px); }
.bb-profile-photo { width: 200px; height: 200px; margin: 0 auto 20px; border-radius: 50%; padding: 6px; background: var(--bb-gold-grad); }
.bb-profile-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; border: 4px solid var(--bb-surface); }
.bb-profile-card h2 { font-size: 1.4rem; margin-bottom: 4px; }
.bb-profile-body .bb-prose { margin-bottom: 30px; }

/* ---------- Contact ---------- */
.bb-contact { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(30px, 5vw, 60px); align-items: start; }
.bb-contact-info .bb-prose { margin-bottom: 26px; font-size: 1.1rem; }
.bb-contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.bb-contact-card { display: flex; gap: 14px; align-items: center; padding: 18px; border-radius: 16px; background: var(--bb-surface); border: 1px solid var(--bb-line); color: var(--bb-text); transition: .25s var(--bb-ease); min-width: 0; }
a.bb-contact-card:hover { border-color: var(--bb-accent-light); transform: translateY(-3px); box-shadow: var(--bb-shadow); color: var(--bb-text); }
.bb-contact-card small { display: block; font-size: .8rem; color: var(--bb-muted); }
.bb-contact-card strong { display: block; color: var(--bb-primary-dark); font-weight: 600; word-break: break-word; line-height: 1.4; }
.bb-contact-card > span:last-child { min-width: 0; }
.bb-contact-icon { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--bb-primary); color: #fff; }
.bb-form-card { background: var(--bb-surface); border-radius: 24px; padding: clamp(26px, 4vw, 42px); border: 1px solid var(--bb-line); box-shadow: var(--bb-shadow-lg); position: relative; }
.bb-form-card::before { content: ""; position: absolute; top: 0; left: 40px; right: 40px; height: 4px; background: var(--bb-gold-grad); border-radius: 0 0 4px 4px; }
.bb-form-card h2 { font-size: 1.6rem; margin-bottom: .2em; }
.bb-form-card > p { color: var(--bb-muted); }
.bb-form { display: grid; gap: 16px; margin-top: 20px; }
.bb-form label { display: block; }
.bb-form label > span { display: block; font-weight: 500; font-size: .93rem; margin-bottom: 6px; }
.bb-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.bb-form textarea { resize: vertical; min-height: 130px; }
.bb-form-foot { text-align: center; font-size: .92rem; margin: 6px 0 0; color: var(--bb-muted); }
.bb-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.bb-alert { padding: 14px 18px; border-radius: 12px; margin: 16px 0; font-weight: 500; }
.bb-alert-ok { background: #e7f6ec; color: #17803d; border: 1px solid #bfe5cc; }
.bb-alert-err { background: #fdecec; color: #b42318; border: 1px solid #f7c8c4; }
.bb-map { margin-top: 50px; border-radius: 22px; overflow: hidden; border: 1px solid var(--bb-line); }
.bb-map iframe { width: 100%; height: 400px; border: 0; }

/* Login form (wp_login_form) */
.bb-form-card #loginform p { margin: 0 0 16px; }
.bb-form-card #loginform label { display: block; font-weight: 500; margin-bottom: 6px; }
.bb-form-card .login-remember label { display: flex; align-items: center; gap: 8px; font-weight: 400; }

/* ---------- Membership page ---------- */
.bb-perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.bb-perk { padding: 30px 24px; background: var(--bb-surface); border-radius: var(--bb-radius); border: 1px solid var(--bb-line); text-align: center; transition: .3s var(--bb-ease); }
.bb-perk:hover { transform: translateY(-5px); box-shadow: var(--bb-shadow-lg); }
.bb-perk .bb-type-icon { margin: 0 auto 16px; }
.bb-perk h3 { font-size: 1.15rem; }
.bb-perk p { color: var(--bb-muted); font-size: .95rem; margin: 0; }
.bb-join { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 4vw, 50px); align-items: start; }
.bb-join-side { display: grid; gap: 20px; }
.bb-center-y { align-self: center; }
.bb-pay-note { padding: 22px; border-radius: 16px; background: var(--bb-surface); border: 1px dashed var(--bb-accent); }
.bb-pay-note h4 { font-size: 1.05rem; margin-bottom: 6px; }
.bb-pay-note p { margin: 0; font-size: .95rem; color: var(--bb-muted); }
.bb-member-ok { text-align: center; padding: 20px 0; }
.bb-faq { display: grid; gap: 12px; }
.bb-faq details { background: var(--bb-surface); border: 1px solid var(--bb-line); border-radius: 14px; padding: 0 22px; transition: border-color .2s; }
.bb-faq details[open] { border-color: var(--bb-accent-light); }
.bb-faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; color: var(--bb-primary-dark); display: flex; justify-content: space-between; gap: 12px; }
.bb-faq summary::-webkit-details-marker { display: none; }
.bb-faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--bb-accent-dark); transition: transform .25s; }
.bb-faq details[open] summary::after { transform: rotate(45deg); }
.bb-faq details p { color: var(--bb-muted); padding-bottom: 18px; margin: 0; }

/* ---------- Account dashboard ---------- */
.bb-dash { display: grid; grid-template-columns: 320px 1fr; gap: 36px; align-items: start; }
.bb-dash-card { text-align: center; padding: 30px 24px; background: var(--bb-surface); border-radius: 22px; border: 1px solid var(--bb-line); box-shadow: var(--bb-shadow); display: grid; gap: 10px; }
.bb-dash-avatar img { border-radius: 50%; margin: 0 auto; border: 3px solid var(--bb-accent); }
.bb-dash-card h2 { font-size: 1.3rem; margin: 6px 0 0; }
.bb-dash-card > p { color: var(--bb-muted); margin: 0; font-size: .92rem; word-break: break-word; }
.bb-member-status { justify-self: center; display: inline-flex; align-items: center; gap: 6px; padding: 6px 16px; border-radius: 999px; font-weight: 600; font-size: .9rem; }
.bb-member-active { background: var(--bb-gold-grad); color: var(--bb-on-accent); }
.bb-member-pending { background: #fff4e0; color: #9a5b00; }
.bb-member-expired, .bb-member-suspended { background: #f1f1f1; color: #666; }
.bb-dash-facts { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 8px 0; }
.bb-dash-facts li { padding: 10px; border-radius: 12px; background: var(--bb-tint); }
.bb-dash-facts small { display: block; font-size: .76rem; color: var(--bb-muted); }
.bb-dash-facts strong { font-size: .9rem; color: var(--bb-primary-dark); }
.bb-dash-alert { padding: 24px 26px; border-radius: 18px; background: var(--bb-accent-soft); margin-bottom: 30px; }
.bb-dash-alert h3 { display: flex; align-items: center; gap: 10px; font-size: 1.2rem; }
.bb-access-list { display: grid; gap: 12px; }
.bb-access-item { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 16px; background: var(--bb-surface); border: 1px solid var(--bb-line); }
.bb-access-body { flex: 1; min-width: 0; }
.bb-access-body small { display: block; font-size: .8rem; color: var(--bb-muted); }
.bb-access-body a { font-weight: 600; color: var(--bb-primary-dark); }

/* ---------- Magazines / podcasts ---------- */
.bb-shelf { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.bb-mag { text-align: center; color: rgba(255,255,255,.8); }
.bb-mag-cover { display: block; border-radius: 4px 14px 14px 4px; overflow: hidden; margin-bottom: 16px; box-shadow: -8px 18px 30px -10px rgba(0,0,0,.6), inset 6px 0 10px rgba(0,0,0,.2); transition: transform .45s var(--bb-ease); }
.bb-mag:hover .bb-mag-cover { transform: translateY(-8px) rotate(-1.5deg); }
.bb-mag-cover img { width: 100%; aspect-ratio: 5/6.6; object-fit: cover; }
.bb-mag strong { display: block; color: #fff; font-family: var(--bb-font-head); }
.bb-mag small { color: var(--bb-accent-light); }
.bb-mag:hover { color: #fff; }
.bb-podcasts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.bb-podcast { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 16px; background: var(--bb-surface); border: 1px solid var(--bb-line); color: var(--bb-text); transition: .25s var(--bb-ease); }
.bb-podcast:hover { border-color: var(--bb-accent-light); box-shadow: var(--bb-shadow); color: var(--bb-text); }
.bb-podcast-play { flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--bb-primary); color: #fff; transition: transform .3s var(--bb-ease); }
.bb-podcast:hover .bb-podcast-play { transform: scale(1.08); }
.bb-podcast-play .bb-icon { width: 26px; height: 26px; }
.bb-podcast-body { flex: 1; min-width: 0; }
.bb-podcast-body strong { display: block; color: var(--bb-primary-dark); line-height: 1.45; }
.bb-podcast-body small { color: var(--bb-muted); }

/* ---------- 404 ---------- */
.bb-404-num { font-family: var(--bb-font-head); font-size: clamp(6rem, 18vw, 11rem); font-weight: 800; line-height: 1; background: var(--bb-gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bb-404-search { max-width: 460px; margin: 26px auto; }

/* ---------- Reveal ---------- */
.bb-js .bb-reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--bb-ease), transform .8s var(--bb-ease); }
.bb-js .bb-reveal.is-in { opacity: 1; transform: none; }

/* ---------- WP core ---------- */
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption-text, .gallery-caption { font-size: .88rem; color: var(--bb-muted); }
.sticky .bb-card-title::before { content: "★ "; color: var(--bb-accent-light); }
.bypostauthor { display: block; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
	.bb-menu a { padding: 10px 10px; font-size: .95rem; }
	.bb-hide-md { display: none; }
}

@media (max-width: 1080px) {
	:root { --bb-header-h: 72px; }
	.bb-nav-toggle { display: inline-grid; }
	.bb-nav {
		position: fixed; top: 0; right: 0; bottom: 0; z-index: 100; width: min(360px, 88vw); margin: 0;
		background: var(--bb-surface); padding: 20px; overflow-y: auto; display: flex; flex-direction: column; gap: 20px;
		transform: translateX(100%); visibility: hidden; transition: transform .4s var(--bb-ease), visibility 0s .4s; box-shadow: var(--bb-shadow-lg);
	}
	.admin-bar .bb-nav { top: 46px; }
	body.bb-nav-open .bb-nav { transform: none; visibility: visible; transition: transform .4s var(--bb-ease); }
	.bb-nav-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 16px; border-bottom: 1px solid var(--bb-line); }
	.bb-nav-foot { display: grid; gap: 18px; margin-top: auto; padding-top: 20px; border-top: 1px solid var(--bb-line); }
	.bb-nav-foot .bb-social { justify-content: center; }
	.bb-nav-foot .bb-social a { color: var(--bb-primary); }
	.bb-menu { flex-direction: column; align-items: stretch; gap: 2px; }
	.bb-menu a { padding: 12px 14px; font-size: 1.05rem; border-radius: 12px; }
	.bb-menu > li > a::after { display: none; }
	.bb-menu > li > a:hover, .bb-menu > .current-menu-item > a { background: var(--bb-tint); }
	.bb-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 14px; min-width: 0; }
	.bb-nav-overlay { display: block; position: fixed; inset: 0; z-index: 90; background: rgba(6,30,60,.55); backdrop-filter: blur(3px); opacity: 0; visibility: hidden; transition: .3s; }
	body.bb-nav-open .bb-nav-overlay { opacity: 1; visibility: visible; }
	body.bb-nav-open { overflow: hidden; }
	.bb-header-actions { margin-left: auto; }

	.bb-hero-inner { grid-template-columns: 1fr; text-align: center; }
	.bb-hero-title::after { margin-left: auto; margin-right: auto; }
	.bb-hero-text { margin-left: auto; margin-right: auto; }
	.bb-hero-actions { justify-content: center; }
	.bb-hero-emblem { width: min(340px, 82%); }
	.bb-hero-photo { max-width: 420px; margin: 0 auto; }
	.bb-grid-4, .bb-types, .bb-perks, .bb-shelf { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bb-layout, .bb-layout-event { grid-template-columns: 1fr; }
	.bb-sidebar, .bb-event-panel { position: static; }
	.bb-footer-grid { grid-template-columns: 1fr 1fr; }
	.bb-event-hero-inner { grid-template-columns: 1fr; }
	.bb-event-cover { max-width: 560px; }
	.bb-event-cover-magazine { justify-self: start; max-width: 220px; }
}

@media (max-width: 900px) {
	.bb-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bb-pillars { grid-template-columns: 1fr; }
	.bb-about, .bb-member-band, .bb-contact, .bb-join, .bb-profile, .bb-dash { grid-template-columns: 1fr; }
	.bb-about-visual { max-width: 460px; margin: 0 auto; width: 100%; }
	.bb-profile-card { position: static; }
	.bb-stats { grid-template-columns: repeat(2, 1fr); }
	.bb-stat:nth-child(3)::before { display: none; }
	.bb-stat:nth-child(n+3) { border-top: 1px solid var(--bb-line); }
	.bb-podcasts { grid-template-columns: 1fr; }
	.bb-prose .alignwide { margin-left: 0; margin-right: 0; }
}

@media (max-width: 782px) {
	.admin-bar .bb-header { top: 0; }
}

@media (max-width: 640px) {
	body { font-size: 16px; }
	.bb-container { padding: 0 16px; }
	.bb-hide-sm { display: none !important; }
	.bb-topbar-inner { justify-content: center; min-height: 38px; }
	.bb-topbar-right .bb-social, .bb-topbar-sep { display: none; }
	.bb-topbar-contact { gap: 14px; }
	.bb-marquee { font-size: .88rem; }
	.bb-marquee-label { padding: 0 22px 0 12px; }
	.bb-marquee-label span { display: none; }
	.bb-wordmark-mark { width: 40px; height: 40px; font-size: 1.35rem; border-radius: 12px; }
	.bb-wordmark-text strong { font-size: 1.25rem; }
	.bb-wordmark-text small { display: none; }
	.custom-logo, .bb-logo-default img { max-height: 46px; }
	.bb-icon-btn { width: 40px; height: 40px; }
	.bb-grid-2, .bb-grid-3, .bb-grid-4, .bb-types, .bb-perks { grid-template-columns: 1fr; }
	.bb-shelf { grid-template-columns: repeat(2, 1fr); gap: 18px; }
	.bb-advisors-grid, .bb-section .bb-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
	.bb-advisor { padding: 22px 12px; }
	.bb-advisor-photo { width: 104px; height: 104px; }
	.bb-advisor h3 { font-size: 1rem; }
	.bb-advisor-org { font-size: .82rem; }
	.bb-chip { font-size: .72rem; }
	.bb-orbit { font-size: .82rem; padding: 6px 12px 6px 6px; }
	.bb-orbit .bb-icon { width: 28px; height: 28px; padding: 6px; }
	.bb-orbit-1 { left: -6%; }
	.bb-orbit-2 { right: -10%; }
	.bb-hero-actions .bb-btn { width: 100%; }
	.bb-stat { padding: 18px 10px; }
	.bb-checklist-2, .bb-contact-cards, .bb-form-row, .bb-postnav { grid-template-columns: 1fr; }
	.bb-right { text-align: left; }
	.bb-split { align-items: flex-start; }
	.bb-tabs { width: 100%; overflow-x: auto; flex-wrap: nowrap; }
	.bb-tab { flex: 1 0 auto; padding: 8px 14px; }
	.bb-footer-grid { grid-template-columns: 1fr; gap: 32px; padding: 40px 0 30px; }
	.bb-footer-cta { text-align: center; justify-content: center; }
	.bb-footer-cta .bb-eyebrow { justify-content: center; }
	.bb-footer-bottom { justify-content: center; text-align: center; }
	.bb-cta-box { text-align: center; justify-content: center; }
	.bb-cta-box .bb-eyebrow { justify-content: center; }
	.bb-cta-actions { justify-content: center; width: 100%; }
	.bb-cta-actions .bb-btn { flex: 1 1 100%; }
	.bb-about-visual { padding: 0 16px 30px 0; }
	.bb-about-quote { max-width: 210px; padding: 16px 18px; }
	.bb-about-quote p { font-size: 1rem; }
	.bb-single-meta { gap: 12px; font-size: .86rem; }
	.bb-access-item { flex-wrap: wrap; }
	.bb-event-price { grid-template-columns: 1fr 1fr; }
	.bb-comment-list .children { margin-left: 14px; }
	.bb-totop { right: 14px; bottom: 14px; width: 44px; height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.bb-marquee-track { animation: none; overflow-x: auto; }
	.bb-js .bb-reveal { opacity: 1; transform: none; }
}

@media print {
	.bb-topbar, .bb-marquee, .bb-header, .bb-footer, .bb-sidebar, .bb-totop, .bb-share { display: none !important; }
}

/* ---------- v1.1: logo emblem, feature, testimonials ---------- */
.bb-emblem-core { inset: 17%; padding: 12%; }
.bb-emblem-core img { width: 100%; height: auto; filter: drop-shadow(0 6px 14px rgba(0,0,0,.25)); }
.bb-feature { display: grid; grid-template-columns: 1.25fr 1fr; gap: 28px; align-items: stretch; }
.bb-feature-mag { display: grid; grid-template-columns: 220px 1fr; gap: 30px; align-items: center; padding: 30px; border-radius: 24px; background: var(--bb-surface); border: 1px solid var(--bb-line); box-shadow: var(--bb-shadow); }
.bb-feature-mag .bb-mag-cover { margin: 0; transform: rotate(-3deg); }
.bb-feature-mag:hover .bb-mag-cover { transform: rotate(0) translateY(-6px); }
.bb-feature-mag h3 { font-size: 1.45rem; margin: 14px 0 8px; }
.bb-feature-mag h3 a { color: var(--bb-primary-dark); }
.bb-feature-mag p { color: var(--bb-muted); }
.bb-feature-mag .bb-checklist { margin-bottom: 22px; font-size: .96rem; }
.bb-feature-pod { padding: 30px; border-radius: 24px; background: var(--bb-primary-dark); color: rgba(255,255,255,.75); display: flex; flex-direction: column; gap: 18px; }
.bb-feature-pod-head { display: flex; gap: 14px; align-items: center; }
.bb-feature-pod-head h3 { color: #fff; margin: 0; font-size: 1.3rem; }
.bb-feature-pod-head p { margin: 0; font-size: .92rem; }
.bb-podcasts-1 { grid-template-columns: 1fr; flex: 1; }
.bb-feature-pod .bb-podcast { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.1); }
.bb-feature-pod .bb-podcast:hover { background: rgba(255,255,255,.1); border-color: var(--bb-accent); }
.bb-feature-pod .bb-podcast-body strong { color: #fff; }
.bb-feature-pod .bb-podcast-body small { color: rgba(255,255,255,.6); }
.bb-feature-pod .bb-podcast-play { background: var(--bb-accent); color: #fff; }
.bb-feature-pod .bb-link-arrow { color: #fff; }
.bb-testi { margin: 0; padding: 30px 28px 26px; border-radius: 22px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); display: flex; flex-direction: column; gap: 16px; }
.bb-testi > .bb-icon { width: 38px; height: 38px; color: var(--bb-accent-light); }
.bb-testi blockquote { margin: 0; color: rgba(255,255,255,.88); font-size: 1.03rem; line-height: 1.85; flex: 1; }
.bb-testi figcaption { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.1); }
.bb-testi-avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--bb-gold-grad); color: var(--bb-on-accent); font-family: var(--bb-font-head); font-weight: 700; font-size: 1.2rem; flex: none; }
.bb-testi strong { display: block; color: #fff; }
.bb-testi small { color: rgba(255,255,255,.6); }
@media (max-width: 1080px) { .bb-feature { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
	.bb-feature-mag { grid-template-columns: 1fr; padding: 22px; text-align: center; }
	.bb-feature-mag .bb-mag-cover { max-width: 190px; margin: 0 auto; }
	.bb-feature-mag .bb-checklist { text-align: left; }
	.bb-feature-pod { padding: 22px; }
}
