/**
 * Mantra archive / category / single pages
 */
.hb-mantra-page {
	--hb-mantra-saffron: #f47b12;
	--hb-mantra-deep: #b63d12;
	--hb-mantra-maroon: #6e2018;
	--hb-mantra-gold: #f4c24b;
	--hb-mantra-muted: #7b665d;
	--hb-mantra-border: #ecd5bb;
	--hb-mantra-shadow: 0 14px 38px rgba(92, 42, 15, 0.12);
	color: #38251f;
	background: linear-gradient(180deg, #fff8eb, #fffdf9 45%, #fff7e7);
	padding-bottom: 48px;
}

.hb-mantra-hero {
	position: relative;
	overflow: hidden;
	background:
		linear-gradient(135deg, rgba(69, 17, 8, 0.94), rgba(133, 44, 13, 0.92)),
		radial-gradient(circle at 78% 15%, #f0a624, transparent 28%);
	color: #fff;
	padding: 56px 0 72px;
}

.hb-mantra-hero::after {
	content: 'ॐ';
	position: absolute;
	right: -25px;
	bottom: -70px;
	font-size: 280px;
	line-height: 1;
	color: rgba(255, 255, 255, 0.06);
	font-weight: 900;
	pointer-events: none;
}

.hb-mantra-hero-in {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	gap: 40px;
	align-items: center;
}

.hb-mantra-crumb {
	display: flex;
	gap: 7px;
	flex-wrap: wrap;
	color: #ffdca0;
	font-size: 0.85rem;
	margin-bottom: 14px;
}

.hb-mantra-crumb a:hover { color: #fff; }

.hb-mantra-hero h1 {
	font-size: clamp(2rem, 5vw, 3.6rem);
	line-height: 1.15;
	margin: 0 0 14px;
	color: #fff;
}

.hb-mantra-hero h1 span { color: #ffd465; }

.hb-mantra-hero p {
	max-width: 720px;
	color: #fff0d8;
	font-size: 1.05rem;
	margin: 0;
}

.hb-mantra-hero-card {
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.24);
	border-radius: 24px;
	padding: 28px;
	text-align: center;
	backdrop-filter: blur(8px);
	box-shadow: 0 20px 50px rgba(29, 3, 0, 0.2);
}

.hb-mantra-hero-icon {
	font-size: 3.5rem;
	line-height: 1;
	margin-bottom: 10px;
}

.hb-mantra-hero-card strong {
	display: block;
	color: #ffd666;
	font-size: 1.35rem;
	margin-bottom: 4px;
}

.hb-mantra-hero-card span { color: #ffead0; font-size: 0.92rem; }

.hb-mantra-wrap {
	margin-top: -36px;
	position: relative;
	z-index: 5;
}

.hb-mantra-intro {
	background: #fff;
	border: 1px solid var(--hb-mantra-border);
	border-radius: 20px;
	padding: 24px;
	box-shadow: var(--hb-mantra-shadow);
	margin-bottom: 22px;
}

.hb-mantra-intro h2 {
	color: var(--hb-mantra-maroon);
	margin: 0 0 8px;
	font-size: 1.5rem;
}

.hb-mantra-intro p {
	margin: 0;
	color: var(--hb-mantra-muted);
}

.hb-mantra-archive-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
}

.hb-mantra-archive-card {
	display: block;
	padding: 22px;
	background: rgba(255, 255, 255, 0.95);
	border: 1px solid var(--hb-mantra-border);
	border-radius: 20px;
	box-shadow: var(--hb-mantra-shadow);
	transition: 0.25s ease;
	color: inherit;
	text-decoration: none;
}

.hb-mantra-archive-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 18px 35px rgba(89, 39, 13, 0.14);
}

.hb-mantra-archive-ico {
	font-size: 2rem;
	margin-bottom: 8px;
}

.hb-mantra-archive-card h3 {
	color: var(--hb-mantra-maroon);
	font-size: 1.2rem;
	line-height: 1.3;
	margin: 0 0 6px;
}

.hb-mantra-archive-card p {
	color: var(--hb-mantra-muted);
	font-size: 0.9rem;
	margin: 0;
}

.hb-mantra-archive-card span {
	display: inline-block;
	margin-top: 12px;
	color: var(--hb-mantra-deep);
	font-weight: 700;
}

.hb-mantra-toolbar {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	align-items: center;
	background: #fff;
	border: 1px solid var(--hb-mantra-border);
	border-radius: 18px;
	padding: 16px 20px;
	box-shadow: var(--hb-mantra-shadow);
	margin-bottom: 22px;
	flex-wrap: wrap;
}

.hb-mantra-toolbar strong {
	color: var(--hb-mantra-maroon);
	font-size: 1.05rem;
}

.hb-mantra-search {
	position: relative;
	min-width: min(290px, 100%);
}

.hb-mantra-search input {
	width: 100%;
	padding: 10px 14px 10px 40px;
	border-radius: 11px;
	border: 1px solid #e5c8a6;
	background: #fffaf2;
	outline: none;
	font: inherit;
}

.hb-mantra-search input:focus {
	border-color: var(--hb-mantra-saffron);
	box-shadow: 0 0 0 3px rgba(244, 123, 18, 0.1);
}

.hb-mantra-search span {
	position: absolute;
	left: 12px;
	top: 50%;
	transform: translateY(-50%);
}

.hb-mantra-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: 24px;
	align-items: start;
}

.hb-mantra-main,
.hb-mantra-side-card,
.hb-mantra-faq {
	background: rgba(255, 255, 255, 0.95);
	border: 1px solid var(--hb-mantra-border);
	border-radius: 20px;
	box-shadow: var(--hb-mantra-shadow);
}

.hb-mantra-main { padding: 26px; }

.hb-mantra-section-title { margin-bottom: 18px; }

.hb-mantra-section-title small {
	color: var(--hb-mantra-saffron);
	font-weight: 800;
	letter-spacing: 1px;
}

.hb-mantra-section-title h2 {
	font-size: clamp(1.5rem, 3vw, 2.2rem);
	color: var(--hb-mantra-maroon);
	margin: 4px 0 0;
	line-height: 1.25;
}

.hb-mantras-list {
	display: grid;
	gap: 16px;
}

.hb-mantra-card {
	border: 1px solid #ecd7c0;
	border-radius: 18px;
	overflow: hidden;
	background: #fff;
	transition: 0.25s ease;
}

.hb-mantra-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 15px 30px rgba(91, 41, 13, 0.1);
}

.hb-mantra-card-head {
	display: flex;
	gap: 12px;
	align-items: center;
	padding: 14px 16px;
	background: linear-gradient(135deg, #fff7e6, #fffdf9);
	border-bottom: 1px solid #f1dfca;
}

.hb-mantra-num {
	width: 40px;
	height: 40px;
	flex: 0 0 40px;
	border-radius: 12px;
	display: grid;
	place-items: center;
	background: linear-gradient(145deg, var(--hb-mantra-saffron), var(--hb-mantra-deep));
	color: #fff;
	font-weight: 800;
	font-size: 0.85rem;
}

.hb-mantra-card-head h3 {
	margin: 0;
	font-size: 1.1rem;
	color: var(--hb-mantra-maroon);
	line-height: 1.35;
}

.hb-mantra-card-head h3 a {
	color: inherit;
	text-decoration: none;
}

.hb-mantra-card-head h3 a:hover { color: var(--hb-mantra-deep); }

.hb-mantra-card-body { padding: 18px; }

.hb-mantra-text {
	font-family: 'Tiro Devanagari Sanskrit', 'Noto Sans Devanagari', serif;
	font-size: 1.25rem;
	line-height: 1.65;
	text-align: center;
	color: #5e1d13;
	background: #fff7e6;
	border-left: 4px solid var(--hb-mantra-saffron);
	padding: 18px 14px;
	border-radius: 0 13px 13px 0;
	white-space: pre-line;
}

.hb-mantra-meaning {
	margin-top: 12px;
	color: var(--hb-mantra-muted);
	font-size: 0.92rem;
	background: #fffdf8;
	border: 1px solid #f0e1cf;
	border-radius: 11px;
	padding: 12px 13px;
}

.hb-mantra-meaning strong { color: var(--hb-mantra-deep); }

.hb-mantra-sidebar {
	position: sticky;
	top: 100px;
	display: grid;
	gap: 16px;
}

.hb-mantra-side-card { padding: 20px; }

.hb-mantra-side-card h3 {
	color: var(--hb-mantra-maroon);
	margin: 0 0 12px;
	font-size: 1.1rem;
}

.hb-mantra-side-card p {
	margin: 0;
	color: var(--hb-mantra-muted);
	font-size: 0.92rem;
}

.hb-mantra-side-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 8px;
}

.hb-mantra-side-list a {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	padding: 10px 11px;
	border-radius: 10px;
	background: #fff7eb;
	font-weight: 700;
	font-size: 0.82rem;
	color: #5d4036;
	text-decoration: none;
}

.hb-mantra-side-list a:hover,
.hb-mantra-side-list a.is-active {
	background: linear-gradient(135deg, var(--hb-mantra-saffron), var(--hb-mantra-deep));
	color: #fff;
}

.hb-mantra-faq {
	margin-top: 24px;
	padding: 24px;
}

.hb-mantra-faq h2 {
	color: var(--hb-mantra-maroon);
	margin: 0 0 14px;
}

.hb-mantra-faq details {
	border: 1px solid #ecd7c0;
	border-radius: 12px;
	background: #fffaf2;
	margin-bottom: 10px;
	overflow: hidden;
}

.hb-mantra-faq summary {
	cursor: pointer;
	padding: 12px 14px;
	font-weight: 800;
	color: #62271b;
}

.hb-mantra-faq details p {
	padding: 0 14px 14px;
	margin: 0;
	color: var(--hb-mantra-muted);
}

.hb-mantra-no-result {
	display: none;
	text-align: center;
	padding: 24px;
	color: var(--hb-mantra-muted);
	border: 1px dashed var(--hb-mantra-border);
	border-radius: 12px;
	background: #fffaf2;
	margin-top: 12px;
}

.hb-mantra-single-num {
	display: inline-grid;
	place-items: center;
	min-width: 42px;
	height: 42px;
	padding: 0 10px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.18);
	color: #ffd666;
	font-weight: 800;
	margin-bottom: 12px;
}

.hb-mantra-single .hb-mantra-text { font-size: 1.4rem; }

.hb-mantra-back {
	margin-top: 22px;
}

.hb-mantra-back a {
	color: var(--hb-mantra-deep);
	font-weight: 700;
	text-decoration: none;
}

.hb-mantra-hero-single .hb-mantra-hero-in {
	grid-template-columns: 1fr;
}

@media (max-width: 980px) {
	.hb-mantra-hero-in,
	.hb-mantra-layout,
	.hb-mantra-archive-grid {
		grid-template-columns: 1fr;
	}

	.hb-mantra-sidebar { position: static; }

	.hb-mantra-archive-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 640px) {
	.hb-mantra-archive-grid {
		grid-template-columns: 1fr;
	}

	.hb-mantra-toolbar {
		flex-direction: column;
		align-items: stretch;
	}
}
