/* =========================================================
   BazaarBull theme – Marathi traditional + modern
   Palette: kesar (saffron), kumkum (deep red), haldi (turmeric),
   paan (leaf green), on warm paper.
   ========================================================= */
:root {
	--paper: #fff8ee;
	--paper-2: #fbefdc;
	--card: #ffffff;
	--ink: #2b1b12;
	--ink-2: #5a4535;
	--muted: #86705e;
	--line: #ecdcc4;
	--kesar: #e0601e;
	--kesar-d: #bf4c10;
	--kumkum: #9b1b30;
	--kumkum-d: #7a1426;
	--haldi: #f2b134;
	--paan: #2e7d4f;
	--neel: #1f4e79;
	--radius: 16px;
	--shadow: 0 1px 2px rgba(60, 30, 10, .06), 0 8px 24px rgba(60, 30, 10, .07);
	--shadow-lg: 0 2px 6px rgba(60, 30, 10, .08), 0 18px 48px rgba(60, 30, 10, .12);
	--f-body: "Mukta", "Noto Sans Devanagari", system-ui, -apple-system, "Segoe UI", sans-serif;
	--f-head: "Tiro Devanagari Marathi", "Noto Serif Devanagari", Georgia, serif;
	--wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
	margin: 0; background: var(--paper); color: var(--ink);
	font-family: var(--f-body); font-size: 17px; line-height: 1.65;
	-webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
	overflow-x: hidden;
}
img, svg, video, iframe { max-width: 100%; }
img { height: auto; }
a { color: var(--kumkum); text-underline-offset: 3px; }
a:hover { color: var(--kesar-d); }
h1, h2, h3, h4 { font-family: var(--f-head); font-weight: 400; line-height: 1.25; color: var(--ink); margin: 0 0 .5em; letter-spacing: 0; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--haldi); outline-offset: 2px; border-radius: 4px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.bb-skip { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; }
.bb-skip:focus { left: 8px; }

.bb-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.bb-narrow { max-width: 800px; }
.bb-center { text-align: center; }

/* ---------- buttons ---------- */
.bb-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 44px; padding: 10px 20px; border-radius: 999px; border: 2px solid transparent;
	font-family: var(--f-body); font-size: 1rem; font-weight: 700; line-height: 1.2;
	text-decoration: none; cursor: pointer; transition: transform .15s, background .15s, box-shadow .15s, color .15s;
	white-space: nowrap;
}
.bb-btn:hover { transform: translateY(-1px); }
.bb-btn:active { transform: translateY(0); }
.bb-btn-lg { min-height: 54px; padding: 14px 28px; font-size: 1.08rem; }
.bb-btn-kesar { background: var(--kesar); color: #fff; box-shadow: 0 6px 18px rgba(224, 96, 30, .32); }
.bb-btn-kesar:hover { background: var(--kesar-d); color: #fff; }
.bb-btn-kumkum { background: var(--kumkum); color: #fff; box-shadow: 0 6px 18px rgba(155, 27, 48, .25); }
.bb-btn-kumkum:hover { background: var(--kumkum-d); color: #fff; }
.bb-btn-haldi { background: var(--haldi); color: var(--ink); }
.bb-btn-haldi:hover { background: #ffc54d; color: var(--ink); }
.bb-btn-ghost { background: transparent; color: var(--kumkum); border-color: currentColor; }
.bb-btn-ghost:hover { background: var(--kumkum); color: #fff; border-color: var(--kumkum); }
.bb-btn-yt { background: #c4302b; color: #fff; }
.bb-btn-yt:hover { background: #a3241f; color: #fff; }

/* ---------- decorative ---------- */
.bb-divider { display: flex; align-items: center; justify-content: center; height: 18px; margin: 0 auto; max-width: 420px; }
.bb-divider::before, .bb-divider::after { content: ""; flex: 1; height: 6px; border-top: 2px solid var(--haldi); border-bottom: 2px solid var(--kumkum); }
.bb-divider span { width: 12px; height: 12px; margin: 0 10px; background: var(--kesar); transform: rotate(45deg); box-shadow: 0 0 0 3px var(--paper), 0 0 0 5px var(--haldi); }

.bb-toran {
	height: 16px;
	background:
		radial-gradient(circle at 50% 0, var(--haldi) 7px, transparent 7.5px) 0 0 / 28px 16px repeat-x,
		radial-gradient(circle at 50% 0, var(--paan) 7px, transparent 7.5px) 14px 0 / 28px 16px repeat-x,
		linear-gradient(var(--kesar), var(--kesar)) 0 0 / 100% 4px no-repeat;
}

/* ---------- header ---------- */
.bb-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(255, 248, 238, .94); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
	border-bottom: 1px solid var(--line);
	box-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset;
}
.admin-bar .bb-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .bb-header { top: 0; } }
.bb-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 3px; background: linear-gradient(90deg, var(--kumkum), var(--kesar) 45%, var(--haldi)); opacity: .9; }
.bb-header-in { display: flex; align-items: center; gap: 18px; min-height: 72px; }
.bb-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: 0 0 auto; }
.bb-logo-img { width: auto; max-height: 52px; display: block; }
.bb-logo-mark {
	width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
	background: var(--kumkum); color: var(--haldi); font-weight: 800; font-size: 1.05rem;
	box-shadow: 0 0 0 3px var(--paper), 0 0 0 5px var(--haldi);
}
.bb-brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.bb-brand-name { font-family: var(--f-head); font-size: 1.45rem; color: var(--kumkum); }
.bb-brand-tag { font-size: .78rem; font-weight: 600; color: var(--muted); letter-spacing: .2px; }

.bb-nav { flex: 1 1 auto; display: flex; justify-content: center; min-width: 0; }
.bb-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }
.bb-menu > li { position: relative; }
.bb-menu a {
	display: block; padding: 10px 12px; border-radius: 10px;
	color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1rem; white-space: nowrap;
}
.bb-menu > li > a { position: relative; }
.bb-menu > li > a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; background: var(--kesar); transform: scaleX(0); transition: transform .2s; }
.bb-menu > li:hover > a::after, .bb-menu > .current-menu-item > a::after, .bb-menu > .current-menu-ancestor > a::after { transform: scaleX(1); }
.bb-menu a:hover { color: var(--kumkum); }
.bb-menu .menu-item-has-children > a { padding-right: 24px; }
.bb-menu .menu-item-has-children > a::before { content: ""; position: absolute; right: 10px; top: 50%; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-70%) rotate(45deg); }
.bb-menu .sub-menu {
	list-style: none; margin: 0; padding: 8px; position: absolute; top: 100%; left: 0; min-width: 220px; z-index: 20;
	background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s;
}
.bb-menu li:hover > .sub-menu, .bb-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.bb-menu .sub-menu a { font-weight: 500; white-space: normal; line-height: 1.35; padding: 9px 12px; }
.bb-menu .sub-menu { min-width: 250px; }
.bb-menu .sub-menu a:hover { background: var(--paper); }

.bb-header-actions { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.bb-icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; padding: 0; }
.bb-icon-btn:hover { background: var(--paper-2); }
.bb-icon-btn svg { width: 22px; height: 22px; fill: currentColor; }
.bb-menu-toggle { display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.bb-menu-toggle span { display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px; transition: .2s; margin: 0 auto; }
.bb-menu-open .bb-menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.bb-menu-open .bb-menu-toggle span:nth-child(2) { opacity: 0; }
.bb-menu-open .bb-menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.bb-search { border-top: 1px solid var(--line); background: var(--paper); padding: 14px 0; }
.bb-search-form { display: flex; gap: 8px; max-width: 640px; margin: 0 auto; }
.bb-search-form input {
	flex: 1; min-width: 0; min-height: 48px; padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--line);
	background: var(--card); font: inherit; color: var(--ink);
}
.bb-search-form input:focus { outline: none; border-color: var(--kesar); box-shadow: 0 0 0 4px rgba(224, 96, 30, .15); }

@media (max-width: 1080px) {
	/* backdrop-filter would trap the fixed menu panel inside the header */
	.bb-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--paper); }
	.bb-menu-toggle { display: flex; }
	.bb-nav {
		position: fixed; inset: 72px 0 0 0; z-index: 99; background: var(--paper); display: block;
		padding: 16px 20px 40px; overflow-y: auto; opacity: 0; transform: translateY(-8px);
		transition: opacity .2s ease, transform .2s ease, visibility .2s; visibility: hidden; pointer-events: none;
	}
	.admin-bar .bb-nav { top: 118px; }
	.bb-menu-open .bb-nav { transform: none; opacity: 1; visibility: visible; pointer-events: auto; }
	.bb-menu { flex-direction: column; align-items: stretch; gap: 0; }
	.bb-menu a { padding: 14px 8px; font-size: 1.1rem; border-bottom: 1px solid var(--line); border-radius: 0; }
	.bb-menu > li > a::after { display: none; }
	.bb-menu .menu-item-has-children > a::before { display: none; }
	.bb-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 16px; background: transparent; min-width: 0; }
	.bb-menu .sub-menu a { font-size: 1rem; color: var(--ink-2); }
	html.bb-noscroll { overflow: hidden; }
}
@media (max-width: 560px) {
	.bb-header-cta { display: none; }
	.bb-brand-name { font-size: 1.25rem; }
	.bb-header-in { gap: 8px; min-height: 64px; }
	.bb-nav { inset: 64px 0 0 0; }
}

/* ---------- hero ---------- */
.bb-hero { position: relative; overflow: hidden; padding: 56px 0 28px; }
.bb-hero-bg {
	position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background:
		radial-gradient(circle at 88% 18%, rgba(242, 177, 52, .30), transparent 38%),
		radial-gradient(circle at 8% 90%, rgba(224, 96, 30, .12), transparent 40%),
		radial-gradient(var(--line) 1.2px, transparent 1.4px) 0 0 / 22px 22px;
	-webkit-mask-image: linear-gradient(#000 70%, transparent);
	mask-image: linear-gradient(#000 70%, transparent);
}
.bb-hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; }
.bb-kicker {
	display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border-radius: 999px;
	background: var(--card); border: 1px solid var(--line); color: var(--kumkum); font-weight: 700; font-size: .92rem;
}
.bb-kicker::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--paan); box-shadow: 0 0 0 4px rgba(46, 125, 79, .18); }
.bb-hero-title { font-size: clamp(2.2rem, 5.2vw, 3.7rem); line-height: 1.12; margin: 18px 0 16px; color: var(--ink); }
.bb-hero-title::after { content: ""; display: block; width: 120px; height: 8px; margin-top: 18px; border-top: 3px solid var(--kesar); border-bottom: 3px solid var(--haldi); }
.bb-hero-sub { font-size: 1.15rem; color: var(--ink-2); max-width: 560px; }
.bb-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.bb-hero-note { margin-top: 14px; font-size: .92rem; color: var(--muted); }

.bb-hero-card {
	position: relative; background: var(--card); border-radius: 22px; padding: 22px; box-shadow: var(--shadow-lg);
	border: 1px solid var(--line);
}
.bb-hero-card::before { content: ""; position: absolute; inset: 8px; border: 1.5px dashed rgba(242, 177, 52, .7); border-radius: 16px; pointer-events: none; }
.bb-hc-head { position: relative; background: linear-gradient(135deg, var(--kumkum), #6d0f22); color: #fff; border-radius: 14px; padding: 20px; overflow: hidden; }
.bb-hc-head::after { content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%; background: repeating-conic-gradient(rgba(242, 177, 52, .22) 0 10deg, transparent 10deg 20deg); }
.bb-hc-badge { position: relative; z-index: 1; display: inline-block; background: var(--haldi); color: var(--ink); font-weight: 800; font-size: .8rem; padding: 3px 10px; border-radius: 999px; }
.bb-hc-title { position: relative; z-index: 1; font-family: var(--f-head); font-size: 1.6rem; margin: 8px 0 6px; }
.bb-hc-meta { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .9rem; opacity: .92; }
.bb-hc-meta span + span::before { content: "•"; margin-right: 14px; opacity: .6; }
.bb-hc-list { list-style: none; margin: 14px 0 0; padding: 0; position: relative; z-index: 1; }
.bb-hc-list li { display: flex; align-items: center; gap: 12px; padding: 10px 6px; border-bottom: 1px dashed var(--line); }
.bb-hc-list li:last-child { border-bottom: 0; }
.bb-hc-n { flex: 0 0 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--paper-2); color: var(--kumkum); font-weight: 800; font-size: .9rem; }
.bb-hc-t { flex: 1; min-width: 0; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-transform: capitalize; }
.bb-hc-play { color: var(--kesar); font-size: .8rem; }
.bb-hc-more { text-align: center; color: var(--muted); font-weight: 600; font-size: .92rem; padding-top: 6px; position: relative; z-index: 1; }
.bb-hc-points { margin: 14px 0 0; padding-left: 20px; position: relative; z-index: 1; }

.bb-stats {
	list-style: none; margin: 44px 0 0; padding: 18px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
	background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.bb-stats li { text-align: center; padding: 6px; }
.bb-stats li + li { border-left: 1px dashed var(--line); }
.bb-stats strong { display: block; font-family: var(--f-head); font-weight: 400; font-size: 2rem; color: var(--kumkum); line-height: 1.1; }
.bb-stats span { color: var(--ink-2); font-weight: 600; font-size: .95rem; }

@media (max-width: 900px) {
	.bb-hero { padding-top: 32px; }
	.bb-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.bb-stats { grid-template-columns: repeat(2, 1fr); margin-top: 28px; }
	.bb-stats li:nth-child(3) { border-left: 0; }
	.bb-stats li:nth-child(n+3) { border-top: 1px dashed var(--line); padding-top: 12px; }
}
@media (max-width: 480px) {
	.bb-hero-actions .bb-btn { width: 100%; white-space: normal; }
	.bb-hero-card { padding: 14px; }
}

/* ---------- sections ---------- */
.bb-section { padding: 72px 0; }
.bb-section-tight { padding: 36px 0 72px; }
.bb-sec-head { text-align: center; max-width: 720px; margin: 0 auto 36px; }
.bb-sec-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; text-align: left; max-width: none; }
.bb-eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--kesar-d); font-weight: 800; font-size: .9rem; letter-spacing: .5px; text-transform: uppercase; margin-bottom: 6px; }
.bb-eyebrow::before, .bb-sec-head:not(.bb-sec-head-row) .bb-eyebrow::after { content: ""; width: 22px; height: 2px; background: currentColor; }
.bb-sec-title { font-size: clamp(1.75rem, 3.6vw, 2.5rem); margin: 0 0 10px; }
.bb-sec-title-sm { font-size: 1.6rem; margin-bottom: 22px; }
.bb-sec-sub { color: var(--ink-2); font-size: 1.08rem; margin: 0; }
.bb-link-more { font-weight: 700; text-decoration: none; white-space: nowrap; }

/* course syllabus */
.bb-course { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; }
.bb-course::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; border-bottom: 2px solid var(--haldi); border-top: 2px solid var(--kumkum); }
.bb-syllabus { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 32px; }
.bb-syl-item { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; }
.bb-syl-n { flex: 0 0 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--kumkum); color: var(--haldi); font-weight: 800; }
.bb-syl-t { font-weight: 600; line-height: 1.35; text-transform: capitalize; }
@media (max-width: 900px) { .bb-syllabus { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .bb-syllabus { grid-template-columns: 1fr; } }

/* calculators */
.bb-calc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.bb-calc {
	display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: var(--radius);
	background: var(--card); border: 1px solid var(--line); text-decoration: none; color: var(--ink);
	box-shadow: var(--shadow); transition: transform .18s, box-shadow .18s, border-color .18s;
}
.bb-calc:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--haldi); color: var(--ink); }
.bb-calc-ic {
	flex: 0 0 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
	background: linear-gradient(135deg, var(--haldi), var(--kesar)); color: #fff; font-size: 1.5rem; font-weight: 800;
	box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .12);
}
.bb-calc:nth-child(3n+2) .bb-calc-ic { background: linear-gradient(135deg, #43a06a, var(--paan)); }
.bb-calc:nth-child(3n+3) .bb-calc-ic { background: linear-gradient(135deg, #c2364e, var(--kumkum)); }
.bb-calc-t { flex: 1; font-weight: 700; line-height: 1.35; }
.bb-calc-go { color: var(--kesar-d); font-weight: 700; font-size: .9rem; white-space: nowrap; }
@media (max-width: 900px) { .bb-calc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .bb-calc-grid { grid-template-columns: 1fr; } }

/* cards */
.bb-latest { background: var(--paper-2); }
.bb-feature-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 20px; align-items: start; }
.bb-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.bb-card-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bb-card {
	display: flex; flex-direction: column; background: var(--card); border-radius: var(--radius); overflow: hidden;
	border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .18s, box-shadow .18s; min-width: 0;
}
.bb-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.bb-card-media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--paper-2); }
.bb-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.bb-card:hover .bb-card-media img { transform: scale(1.04); }
.bb-card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.bb-chip { align-self: flex-start; font-size: .8rem; font-weight: 700; color: var(--kumkum); background: #fbe9ea; padding: 2px 10px; border-radius: 999px; text-decoration: none; margin-bottom: 8px; }
.bb-chip:hover { background: var(--kumkum); color: #fff; }
.bb-card-title { font-family: var(--f-body); font-weight: 700; font-size: 1.12rem; line-height: 1.4; margin: 0 0 6px; }
.bb-card-title a { color: var(--ink); text-decoration: none; }
.bb-card-title a:hover { color: var(--kumkum); }
.bb-card-excerpt { color: var(--ink-2); font-size: .95rem; margin: 0 0 12px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bb-card-meta { margin-top: auto; color: var(--muted); font-size: .85rem; }
.bb-card-feature .bb-card-title { font-family: var(--f-head); font-weight: 400; font-size: 1.6rem; }
.bb-card-feature .bb-card-excerpt { -webkit-line-clamp: 4; font-size: 1rem; }
/* side list on home + all grids on phones: compact horizontal cards */
.bb-feature-grid .bb-card-grid { grid-template-columns: 1fr; gap: 12px; }
.bb-feature-grid .bb-card-grid .bb-card, .bb-card-row { flex-direction: row; align-items: stretch; }
.bb-feature-grid .bb-card-grid .bb-card-media { flex: 0 0 170px; aspect-ratio: auto; min-height: 104px; }
.bb-feature-grid .bb-card-grid .bb-card-excerpt { display: none; }
.bb-feature-grid .bb-card-grid .bb-card-body { padding: 12px 14px; }
.bb-feature-grid .bb-card-grid .bb-card-title { font-size: 1.02rem; }
.bb-feature-grid .bb-card-grid .bb-ph-letter { font-size: 4rem; }
@media (max-width: 600px) {
	.bb-card-grid .bb-card:not(.bb-card-feature) { flex-direction: row; }
	.bb-card-grid .bb-card:not(.bb-card-feature) .bb-card-media { flex: 0 0 112px; aspect-ratio: auto; min-height: 100px; }
	.bb-card-grid .bb-card:not(.bb-card-feature) .bb-card-excerpt { display: none; }
	.bb-card-grid .bb-card:not(.bb-card-feature) .bb-card-body { padding: 10px 12px; }
	.bb-card-grid .bb-card:not(.bb-card-feature) .bb-card-title { font-size: 1rem; }
	.bb-card-grid .bb-ph { min-height: 100px; }
	.bb-card-grid .bb-ph-letter { font-size: 3.4rem; right: 8px; }
	.bb-card-grid .bb-ph::after { width: 120px; height: 120px; right: -40px; top: -40px; }
	.bb-feature-grid .bb-card-grid .bb-card-media { flex-basis: 112px; }
}
@media (max-width: 1000px) { .bb-feature-grid { grid-template-columns: 1fr; } .bb-card-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .bb-card-grid, .bb-card-grid-3 { grid-template-columns: 1fr; } .bb-sec-head-row { flex-direction: column; align-items: flex-start; } }

/* branded placeholder when a post has no image */
.bb-ph { position: relative; width: 100%; height: 100%; min-height: 120px; display: flex; align-items: flex-end; padding: 14px; color: #fff; overflow: hidden; }
.bb-ph::before { content: ""; position: absolute; inset: 0; background: radial-gradient(rgba(255, 255, 255, .16) 1.2px, transparent 1.6px) 0 0 / 16px 16px; }
.bb-ph::after { content: ""; position: absolute; right: -50px; top: -50px; width: 200px; height: 200px; border-radius: 50%; background: repeating-conic-gradient(rgba(255, 255, 255, .13) 0 9deg, transparent 9deg 18deg); }
.bb-ph-letter { position: absolute; right: 18px; bottom: -6px; font-family: var(--f-head); font-size: 6.5rem; line-height: 1; opacity: .28; z-index: 1; }
.bb-ph-icon { position: absolute; left: 50%; top: 45%; transform: translate(-50%, -50%); width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .2); font-size: 1.9rem; font-weight: 800; z-index: 1; }
.bb-ph-cat { position: relative; z-index: 2; font-weight: 700; font-size: .85rem; background: rgba(0, 0, 0, .22); padding: 3px 10px; border-radius: 999px; }
.bb-ph-kesar { background: linear-gradient(135deg, #f08a3c, var(--kesar-d)); }
.bb-ph-kumkum { background: linear-gradient(135deg, #b8324a, var(--kumkum-d)); }
.bb-ph-paan { background: linear-gradient(135deg, #3f9a66, #1f5e3a); }
.bb-ph-neel { background: linear-gradient(135deg, #2f6aa0, #173a5c); }
.bb-ph-haldi { background: linear-gradient(135deg, #f5c04f, #d48a12); }

.bb-cat-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; justify-content: center; }
.bb-cat-pills a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.bb-cat-pills a span { font-size: .8rem; color: var(--muted); }
.bb-cat-pills a:hover { border-color: var(--kesar); color: var(--kumkum); }
.bb-list-head .bb-cat-pills { justify-content: flex-start; margin-top: 18px; }

/* account opening (Angel One / Zerodha / FundzBazar) */
.bb-acc { background: linear-gradient(160deg, #1f2a5c, #13183a); color: #fff; border-radius: 20px; padding: 26px; margin: 28px 0; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.bb-acc::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: repeating-conic-gradient(rgba(242, 177, 52, .12) 0 8deg, transparent 8deg 16deg); pointer-events: none; }
.bb-acc-head { position: relative; z-index: 1; margin-bottom: 18px; }
.bb-acc-title { font-family: var(--f-head); font-size: clamp(1.25rem, 2.6vw, 1.6rem); line-height: 1.35; color: var(--haldi); }
.bb-acc-sub { color: #d6dcf5; font-size: .98rem; margin-top: 4px; }
.bb-acc-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.bb-acc-n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bb-acc-n1 { grid-template-columns: minmax(0, 1fr); }
.bb-acc-card { background: #fff; color: var(--ink); border-radius: 16px; padding: 18px; display: flex; flex-direction: column; }
.bb-acc-step { font-size: .78rem; font-weight: 800; letter-spacing: .4px; text-transform: uppercase; color: var(--paan); }
.bb-acc-haldi .bb-acc-step { color: #b7791f; }
.bb-acc-neel .bb-acc-step { color: var(--neel); }
.bb-acc-name { font-size: 1.35rem; font-weight: 800; margin: 2px 0 4px; }
.bb-acc-desc { color: var(--ink-2); font-size: .95rem; margin: 0 0 14px; flex: 1; }
.bb-acc-btn { display: flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 14px; border-radius: 999px; font-weight: 800; text-decoration: none; text-align: center; color: #fff; background: #2e9e5b; transition: transform .15s, filter .15s; }
.bb-acc-btn:hover { transform: translateY(-1px); filter: brightness(1.06); color: #fff; }
.bb-acc-neel .bb-acc-btn { background: #2f6aa0; }
.bb-acc-haldi .bb-acc-btn { background: var(--haldi); color: var(--ink); }
.bb-acc-haldi .bb-acc-btn:hover { color: var(--ink); }
.bb-acc-foot { position: relative; z-index: 1; margin-top: 14px; font-size: .8rem; color: #aab3dc; }
.bb-prose .bb-acc-strip { margin: 1.6em 0; }
.bb-acc-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 16px; padding: 12px 16px; background: var(--card); border: 1.5px dashed var(--haldi); border-radius: 14px; }
.bb-acc-strip-t { font-weight: 800; color: var(--kumkum); margin-right: 4px; }
.bb-acc-pill { display: inline-flex; align-items: center; min-height: 38px; padding: 6px 14px; border-radius: 999px; font-weight: 700; font-size: .95rem; text-decoration: none; color: #fff; background: #2e9e5b; line-height: 1.2; }
.bb-acc-pill:hover { color: #fff; filter: brightness(1.08); }
.bb-acc-pill.bb-acc-neel { background: #2f6aa0; }
.bb-acc-pill.bb-acc-haldi { background: var(--haldi); color: var(--ink); }
.bb-prose .bb-acc-pill, .bb-prose .bb-acc-btn { text-decoration: none; }
@media (max-width: 800px) { .bb-acc-grid, .bb-acc-n2 { grid-template-columns: minmax(0, 1fr); } .bb-acc { padding: 20px 16px; } }

/* demat */
.bb-demat { background: var(--card); border-top: 1px solid var(--line); }
.bb-demat-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.bb-demat-cards { display: grid; gap: 12px; }
.bb-demat-card { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 20px 22px; border-radius: var(--radius); border: 1.5px solid var(--line); text-decoration: none; color: var(--ink); background: var(--paper); transition: .18s; }
.bb-demat-card strong { font-size: 1.2rem; white-space: nowrap; }
.bb-demat-card { flex-wrap: wrap; }
.bb-demat-card span { color: var(--paan); font-weight: 700; }
.bb-demat-card:hover { border-color: var(--paan); transform: translateY(-2px); color: var(--ink); box-shadow: var(--shadow); }
@media (max-width: 800px) { .bb-demat-in { grid-template-columns: 1fr; } }

/* about */
.bb-about-in { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 48px; align-items: center; }
.bb-about-photo { width: 240px; height: 240px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: linear-gradient(135deg, var(--kumkum), #5c0c1b); box-shadow: 0 0 0 6px var(--paper), 0 0 0 9px var(--haldi), var(--shadow-lg); margin: 0 auto; }
.bb-about-photo img { width: 100%; height: 100%; object-fit: cover; }
.bb-about-initials { font-family: var(--f-head); font-size: 4.5rem; color: var(--haldi); }
.bb-about p { color: var(--ink-2); font-size: 1.06rem; }
.bb-about-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
@media (max-width: 800px) { .bb-about-in { grid-template-columns: 1fr; gap: 24px; text-align: center; } .bb-about-actions { justify-content: center; } .bb-about-photo { width: 180px; height: 180px; } }

/* CTA band */
.bb-cta-band { position: relative; background: var(--kumkum); color: #fff; padding: 56px 0; overflow: hidden; }
.bb-cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(rgba(242, 177, 52, .22) 1.3px, transparent 1.6px) 0 0 / 20px 20px; }
.bb-cta-band::after { content: ""; position: absolute; right: -80px; top: 50%; width: 320px; height: 320px; transform: translateY(-50%); border-radius: 50%; background: repeating-conic-gradient(rgba(242, 177, 52, .16) 0 8deg, transparent 8deg 16deg); }
.bb-cta-in { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.bb-cta-band h2 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin: 0 0 6px; }
.bb-cta-band p { margin: 0; opacity: .9; font-size: 1.08rem; }

/* ---------- article ---------- */
.bb-article-head { padding: 40px 0 12px; }
.bb-crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 12px; display: flex; gap: 8px; flex-wrap: wrap; }
.bb-crumbs a { color: var(--muted); text-decoration: none; }
.bb-crumbs a:hover { color: var(--kumkum); }
.bb-article-title { font-size: clamp(1.9rem, 4.4vw, 2.9rem); line-height: 1.2; margin: 0 0 18px; }
.bb-article-meta { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .92rem; line-height: 1.35; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.bb-article-meta strong { color: var(--ink); }
.bb-avatar { flex: 0 0 42px; height: 42px; border-radius: 50%; background: var(--kumkum); color: var(--haldi); display: grid; place-items: center; font-weight: 800; }
.bb-article-hero { margin-top: 20px; margin-bottom: 0; }
.bb-article-hero img { border-radius: var(--radius); width: 100%; display: block; }
.bb-calc-wrap { max-width: 1040px; }

.bb-prose { padding: 24px 0 8px; font-size: 1.1rem; line-height: 1.8; overflow-wrap: break-word; }
.bb-prose > * { max-width: 100%; }
.bb-prose h2 { font-size: 1.75rem; margin: 1.6em 0 .6em; padding-left: 14px; border-left: 4px solid var(--kesar); }
.bb-prose h3 { font-size: 1.35rem; margin: 1.4em 0 .5em; color: var(--kumkum); }
.bb-prose h4 { font-family: var(--f-body); font-weight: 700; font-size: 1.12rem; }
.bb-prose ul, .bb-prose ol { padding-left: 1.4em; margin: 0 0 1.2em; }
.bb-prose li { margin-bottom: .4em; }
.bb-prose li::marker { color: var(--kesar); font-weight: 700; }
.bb-prose blockquote { margin: 1.5em 0; padding: 16px 20px; background: var(--card); border-left: 4px solid var(--haldi); border-radius: 0 12px 12px 0; color: var(--ink-2); font-style: normal; }
.bb-prose img, .bb-prose figure img { border-radius: 12px; }
.bb-prose figure { margin: 1.5em 0; }
.bb-prose figcaption { font-size: .88rem; color: var(--muted); text-align: center; margin-top: 6px; }
.bb-prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .98rem; display: block; overflow-x: auto; }
.bb-prose th, .bb-prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.bb-prose th { background: var(--paper-2); }
.bb-prose iframe { border-radius: 12px; }
.bb-prose .wp-block-embed__wrapper iframe, .bb-prose > iframe[src*="youtube"] { width: 100%; aspect-ratio: 16 / 9; height: auto; }
.bb-prose code { background: var(--paper-2); padding: 2px 6px; border-radius: 6px; font-size: .9em; }
.bb-prose hr { border: 0; height: 18px; margin: 2em auto; max-width: 300px; background: radial-gradient(circle, var(--kesar) 4px, transparent 4.5px) center / 24px 18px repeat-x; }
.alignwide { max-width: 1040px; }
.alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }

.bb-article-cta { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 32px 0 20px; padding: 20px 22px; border-radius: var(--radius); background: linear-gradient(135deg, #fff3df, #ffe7cc); border: 1px solid #f5d2a3; }
.bb-article-cta strong { display: block; font-size: 1.12rem; }
.bb-article-cta span { color: var(--ink-2); }
.bb-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 18px 0; font-weight: 600; color: var(--ink-2); }
.bb-share a, .bb-share button { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink); text-decoration: none; font: inherit; font-size: .92rem; cursor: pointer; }
.bb-share a:hover, .bb-share button:hover { border-color: var(--kesar); color: var(--kumkum); }
.bb-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 24px; }
.bb-tags a { font-size: .85rem; padding: 3px 10px; border-radius: 999px; background: var(--paper-2); color: var(--ink-2); text-decoration: none; }
.bb-related { background: var(--paper-2); padding: 56px 0; }

.bb-wide-page { padding-top: 24px; padding-bottom: 40px; }
.bb-wide-page .bb-prose { padding-top: 0; font-size: 1rem; line-height: 1.6; }

.bb-list-head { padding: 44px 0 0; }
.bb-list-head .bb-sec-title { margin-bottom: 6px; }
.bb-pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.bb-pagination .page-numbers { min-width: 44px; height: 44px; padding: 0 14px; display: inline-grid; place-items: center; border-radius: 999px; background: var(--card); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 700; }
.bb-pagination .current { background: var(--kumkum); border-color: var(--kumkum); color: #fff; }
.bb-pagination a.page-numbers:hover { border-color: var(--kesar); }
.bb-empty { text-align: center; padding: 40px 0; color: var(--ink-2); }
.bb-404-n { font-family: var(--f-head); font-size: 7rem; line-height: 1; color: var(--kesar); }
.bb-404 .bb-search-form { margin: 20px auto; }

/* comments */
.bb-comments-wrap { padding-bottom: 48px; }
.bb-comment-list { list-style: none; padding: 0; }
.bb-comment-list .comment-body { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin-bottom: 12px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
	width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--card); font: inherit;
}
.comment-form .submit { background: var(--kumkum); color: #fff; border: 0; border-radius: 999px; padding: 12px 24px; font: inherit; font-weight: 700; cursor: pointer; }

/* widgets */
.bb-widget { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin-bottom: 20px; }
.bb-widget-title { font-size: 1.2rem; }

/* ---------- footer ---------- */
.bb-footer { background: #26150e; color: #e9dccb; margin-top: 0; }
.bb-footer a { color: #f6e9d6; text-decoration: none; }
.bb-footer a:hover { color: var(--haldi); }
.bb-footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; padding-top: 52px; padding-bottom: 32px; }
.bb-footer-name { font-family: var(--f-head); font-size: 1.8rem; color: var(--haldi); margin-bottom: 8px; }
.bb-footer-brand p { color: #cdbba5; max-width: 360px; }
.bb-footer-h { font-weight: 800; color: #fff; margin-bottom: 12px; letter-spacing: .3px; }
.bb-footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.bb-social { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.bb-social a { display: inline-block; padding: 6px 14px; border: 1px solid rgba(242, 177, 52, .4); border-radius: 999px; font-size: .9rem; }
.bb-disclaimer { font-size: .85rem; color: #b9a690; line-height: 1.6; padding-top: 18px; padding-bottom: 18px; border-top: 1px solid rgba(255, 255, 255, .1); }
.bb-copy { font-size: .85rem; color: #a08b74; padding-bottom: 26px; }
@media (max-width: 900px) { .bb-footer-grid { grid-template-columns: 1fr 1fr; } .bb-footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .bb-footer-grid { grid-template-columns: 1fr; } }

.bb-wa-float {
	position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 56px; height: 56px; border-radius: 50%;
	background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
	transition: transform .18s;
}
.bb-wa-float:hover { transform: scale(1.06); color: #fff; }
.bb-wa-float svg { width: 30px; height: 30px; fill: currentColor; }

/* Course plugin page: give it room and a calm background */
.bb-wide-page .bbc-root { margin-top: 8px; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media print {
	.bb-header, .bb-footer, .bb-wa-float, .bb-article-cta, .bb-share, .bb-related { display: none !important; }
	body { background: #fff; }
}

/* BazaarBull Course plugin – match the theme colours (always light) */
body .bbc-root {
	--bbc-bg: #ffffff; --bbc-soft: #fbf3e6; --bbc-line: #ecdcc4; --bbc-ink: #2b1b12; --bbc-muted: #86705e;
	--bbc-navy: #9b1b30; --bbc-orange: #e0601e; --bbc-orange-d: #bf4c10; --bbc-green-soft: #e3f6ec;
	font-family: var(--f-body);
}
body .bbc-root .bbc-mark { color: #f2b134; border-radius: 50%; }
body .bbc-root .bbc-h, body .bbc-root .bbc-now-t { font-family: var(--f-head); font-weight: 400; }
