/**
 * Sanatan Dharma page styles
 * Based on sanatan-dharma-page-package (content only).
 */

.hb-sd-page {
	--sd-bg: #fffaf1;
	--sd-surface: #ffffff;
	--sd-text: #3d2a1f;
	--sd-muted: #705c4d;
	--sd-primary: #b82a1d;
	--sd-saffron: #ef7d00;
	--sd-gold: #dca23c;
	--sd-line: #efd8b3;
	--sd-shadow: 0 12px 34px rgba(108, 63, 15, 0.10);
	--sd-radius: 20px;
	color: var(--sd-text);
	background:
		radial-gradient(circle at 12% 10%, rgba(239, 125, 0, 0.08), transparent 24%),
		radial-gradient(circle at 88% 26%, rgba(220, 162, 60, 0.08), transparent 28%),
		var(--sd-bg);
	line-height: 1.75;
}

.hb-sd-section { padding: 26px 0; }
.hb-sd-section-title {
	font-size: clamp(1.45rem, 2vw, 2rem);
	margin: 0 0 16px;
	color: var(--sd-primary);
	line-height: 1.3;
	text-align: left;
}
.hb-sd-section-title::after { display: none; }
.hb-sd-section-subtitle { margin: -8px 0 20px; color: var(--sd-muted); }
.hb-sd-center { text-align: center; }

/* Hero */
.hb-sd-hero { padding: 34px 0 24px; }
.hb-sd-hero-card {
	position: relative;
	overflow: hidden;
	border: 1px solid var(--sd-line);
	border-radius: 28px;
	background:
		radial-gradient(circle at 76% 30%, rgba(255, 185, 83, 0.28), transparent 25%),
		linear-gradient(100deg, #fffdf8 0%, #fff3da 56%, #ffe2ae 100%);
	box-shadow: var(--sd-shadow);
}
.hb-sd-hero-card::before {
	content: "";
	position: absolute;
	inset: -170px auto auto -180px;
	width: 390px;
	height: 390px;
	border-radius: 50%;
	background: repeating-conic-gradient(from 5deg, rgba(184, 42, 29, 0.06) 0 5deg, transparent 5deg 12deg);
	border: 18px double rgba(184, 42, 29, 0.04);
}
.hb-sd-hero-card::after {
	content: "ॐ";
	position: absolute;
	right: 7%;
	top: 50%;
	transform: translateY(-52%);
	font-size: clamp(8rem, 16vw, 15rem);
	font-weight: 800;
	line-height: 1;
	color: rgba(184, 42, 29, 0.11);
	filter: drop-shadow(0 5px 0 rgba(239, 125, 0, 0.08));
	pointer-events: none;
}
.hb-sd-hero-content {
	position: relative;
	z-index: 2;
	max-width: 760px;
	padding: 54px 56px;
}
.hb-sd-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 7px 12px;
	border: 1px solid #f2c77e;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.7);
	font-size: 0.82rem;
	font-weight: 700;
	color: var(--sd-primary);
}
.hb-sd-hero h1 {
	font-size: clamp(2.4rem, 5vw, 4.6rem);
	margin: 14px 0 4px;
	color: var(--sd-primary);
	line-height: 1.12;
	letter-spacing: -1px;
}
.hb-sd-mantra {
	font-size: 1rem;
	color: var(--sd-saffron);
	font-weight: 700;
	margin-bottom: 14px;
}
.hb-sd-hero p {
	font-size: 1.08rem;
	margin: 0;
	color: #4e392d;
	max-width: 680px;
}
.hb-sd-hero-actions {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	margin-top: 24px;
}
.hb-sd-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border-radius: 12px;
	padding: 12px 18px;
	font-weight: 700;
	border: 1px solid var(--sd-line);
	text-decoration: none;
}
.hb-sd-btn-primary {
	background: linear-gradient(135deg, var(--sd-saffron), #d84b00);
	color: #fff !important;
	border: 0;
}
.hb-sd-btn-soft {
	background: rgba(255, 255, 255, 0.78);
	color: var(--sd-text) !important;
}

/* Layout */
.hb-sd-main-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 290px;
	gap: 24px;
	align-items: start;
	padding-bottom: 20px;
}
.hb-sd-content { min-width: 0; }
.hb-sd-sidebar {
	position: sticky;
	top: 100px;
	display: grid;
	gap: 16px;
}
.hb-sd-side-card,
.hb-sd-card {
	background: rgba(255, 255, 255, 0.86);
	border: 1px solid var(--sd-line);
	border-radius: var(--sd-radius);
	box-shadow: 0 8px 24px rgba(108, 63, 15, 0.06);
}
.hb-sd-side-card { padding: 18px; }
.hb-sd-side-card h3 {
	margin: 0 0 10px;
	color: var(--sd-primary);
	font-size: 1.12rem;
}
.hb-sd-toc {
	list-style: none;
	margin: 0;
	padding: 0;
}
.hb-sd-toc li + li { border-top: 1px dashed #efd7b4; }
.hb-sd-toc a {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	padding: 9px 2px;
	font-size: 0.9rem;
	color: #544034;
	text-decoration: none;
	transition: color 0.2s ease, padding-left 0.2s ease;
}
.hb-sd-toc a:hover {
	color: var(--sd-primary);
	padding-left: 4px;
}
.hb-sd-quote {
	background: linear-gradient(145deg, #fff9ed, #ffe9bc);
}
.hb-sd-quote p {
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--sd-primary);
	margin: 0;
}
.hb-sd-quote small {
	display: block;
	margin-top: 6px;
	color: var(--sd-muted);
}

.hb-sd-card { padding: 24px; }
.hb-sd-lead-card {
	display: grid;
	grid-template-columns: 1.2fr 0.8fr;
	gap: 22px;
	align-items: center;
}
.hb-sd-lead-card h2 {
	margin: 0 0 8px;
	color: var(--sd-primary);
	font-size: 1.55rem;
}
.hb-sd-lead-card p { color: var(--sd-muted); }
.hb-sd-symbol-panel {
	min-height: 220px;
	border-radius: 18px;
	display: grid;
	place-items: center;
	background:
		radial-gradient(circle, rgba(239, 125, 0, 0.17) 0 24%, transparent 25%),
		repeating-radial-gradient(circle, rgba(184, 42, 29, 0.07) 0 2px, transparent 2px 16px),
		linear-gradient(135deg, #fff7e6, #ffe9bd);
	font-size: 7rem;
	color: var(--sd-primary);
	font-weight: 800;
}

.hb-sd-values {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 12px;
}
.hb-sd-value {
	padding: 18px 12px;
	text-align: center;
	border: 1px solid var(--sd-line);
	border-radius: 16px;
	background: linear-gradient(180deg, #fff, #fff8ee);
}
.hb-sd-value-icon {
	width: 64px;
	height: 64px;
	margin: 0 auto 10px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: #fff4dc;
	border: 1px solid #efc983;
	font-size: 1.9rem;
}
.hb-sd-value strong { display: block; color: var(--sd-primary); }
.hb-sd-value span { font-size: 0.8rem; color: var(--sd-muted); }

.hb-sd-four-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 14px;
}
.hb-sd-mini-card {
	padding: 18px;
	border: 1px solid var(--sd-line);
	border-radius: 16px;
	background: linear-gradient(180deg, #fff, #fffaf3);
}
.hb-sd-mini-card .hb-sd-ico { font-size: 2rem; margin-bottom: 8px; }
.hb-sd-mini-card h3 {
	margin: 0 0 5px;
	color: var(--sd-primary);
	font-size: 1.08rem;
}
.hb-sd-mini-card p {
	margin: 0;
	font-size: 0.88rem;
	color: var(--sd-muted);
}

.hb-sd-split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}
.hb-sd-info-row {
	display: flex;
	gap: 14px;
	align-items: flex-start;
}
.hb-sd-info-row + .hb-sd-info-row {
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px dashed #ead3ae;
}
.hb-sd-info-row .hb-sd-ico {
	flex: 0 0 46px;
	width: 46px;
	height: 46px;
	border-radius: 14px;
	display: grid;
	place-items: center;
	background: #fff0d3;
	font-size: 1.45rem;
}
.hb-sd-info-row h3 {
	margin: 0;
	color: var(--sd-primary);
	font-size: 1.02rem;
}
.hb-sd-info-row p {
	margin: 2px 0 0;
	color: var(--sd-muted);
	font-size: 0.9rem;
}

.hb-sd-nature-icons {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 10px;
	margin-top: 16px;
}
.hb-sd-nature-icon {
	text-align: center;
	padding: 12px 6px;
	border-radius: 14px;
	background: #fff9ee;
	border: 1px solid #f0ddba;
}
.hb-sd-nature-icon div { font-size: 2rem; }
.hb-sd-nature-icon strong { font-size: 0.82rem; }

.hb-sd-topic-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}
.hb-sd-topic-card { overflow: hidden; padding: 0; }
.hb-sd-topic-image {
	height: 150px;
	display: grid;
	place-items: center;
	font-size: 4rem;
	background:
		radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.8), transparent 20%),
		linear-gradient(135deg, #ffd994, #e96b17);
}
.hb-sd-topic-body { padding: 18px; }
.hb-sd-topic-body h3 {
	margin: 0 0 8px;
	color: var(--sd-primary);
	font-size: 1.12rem;
}
.hb-sd-topic-body p,
.hb-sd-topic-body li {
	font-size: 0.88rem;
	color: var(--sd-muted);
}
.hb-sd-topic-body ul {
	padding-left: 20px;
	margin: 8px 0 0;
}
.hb-sd-read-more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 12px;
	color: var(--sd-primary);
	font-weight: 700;
	font-size: 0.88rem;
	text-decoration: none;
}

.hb-sd-mantra-banner {
	display: grid;
	grid-template-columns: 100px 1fr 100px;
	align-items: center;
	gap: 20px;
	padding: 24px 28px;
	border-radius: 22px;
	border: 1px solid #f0ca8f;
	background: linear-gradient(100deg, #ffe8b3, #fff9eb 50%, #ffd786);
	box-shadow: var(--sd-shadow);
	text-align: center;
}
.hb-sd-mantra-banner .hb-sd-om,
.hb-sd-mantra-banner .hb-sd-lotus {
	font-size: 3.7rem;
	color: var(--sd-primary);
}
.hb-sd-mantra-banner blockquote {
	margin: 0;
	font-size: 1.25rem;
	font-weight: 800;
	color: #79321e;
	line-height: 1.55;
}
.hb-sd-mantra-banner p {
	margin: 8px 0 0;
	color: var(--sd-muted);
}

.hb-sd-link-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 12px;
}
.hb-sd-link-card {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 15px;
	border: 1px solid var(--sd-line);
	border-radius: 14px;
	background: #fff;
	text-decoration: none;
	color: inherit;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hb-sd-link-card:hover {
	transform: translateY(-2px);
	box-shadow: var(--sd-shadow);
	color: inherit;
}
.hb-sd-link-card .hb-sd-ico { font-size: 1.6rem; }
.hb-sd-link-card strong {
	display: block;
	color: var(--sd-primary);
	font-size: 0.92rem;
}
.hb-sd-link-card span span {
	font-size: 0.76rem;
	color: var(--sd-muted);
}
.hb-sd-link-card b {
	margin-left: auto;
	color: var(--sd-saffron);
}

.hb-sd-faq details {
	border: 1px solid var(--sd-line);
	border-radius: 14px;
	background: #fff;
	margin-bottom: 10px;
	overflow: hidden;
}
.hb-sd-faq summary {
	cursor: pointer;
	list-style: none;
	padding: 15px 18px;
	font-weight: 700;
	color: #5f3425;
	display: flex;
	justify-content: space-between;
	gap: 15px;
}
.hb-sd-faq summary::-webkit-details-marker { display: none; }
.hb-sd-faq summary::after {
	content: "+";
	font-size: 1.3rem;
	color: var(--sd-primary);
}
.hb-sd-faq details[open] summary::after { content: "−"; }
.hb-sd-faq p {
	margin: 0;
	padding: 0 18px 16px;
	color: var(--sd-muted);
}

.hb-sd-values-strip {
	margin-top: 28px;
	background: linear-gradient(110deg, #9d1f16, #c22d1e);
	color: #fff;
}
.hb-sd-values-strip-row {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	padding: 19px 0;
	gap: 10px;
	text-align: center;
}
.hb-sd-values-strip-row > div {
	padding: 6px;
	border-right: 1px solid rgba(255, 255, 255, 0.25);
}
.hb-sd-values-strip-row > div:last-child { border-right: 0; }
.hb-sd-values-strip-row span {
	display: block;
	font-size: 1.4rem;
}
.hb-sd-values-strip-row small { font-weight: 600; }

@media (max-width: 1050px) {
	.hb-sd-main-grid { grid-template-columns: 1fr; }
	.hb-sd-sidebar {
		position: static;
		grid-template-columns: 1fr 1fr;
		display: grid;
	}
	.hb-sd-values { grid-template-columns: repeat(3, 1fr); }
	.hb-sd-topic-grid { grid-template-columns: repeat(2, 1fr); }
	.hb-sd-link-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
	.hb-sd-hero-content { padding: 38px 24px; }
	.hb-sd-hero-card::after {
		font-size: 8rem;
		right: -8%;
		top: 34%;
		opacity: 0.55;
	}
	.hb-sd-hero p { font-size: 0.98rem; }
	.hb-sd-lead-card,
	.hb-sd-split { grid-template-columns: 1fr; }
	.hb-sd-symbol-panel {
		min-height: 170px;
		font-size: 5rem;
	}
	.hb-sd-values { grid-template-columns: repeat(2, 1fr); }
	.hb-sd-four-grid { grid-template-columns: 1fr 1fr; }
	.hb-sd-nature-icons { grid-template-columns: repeat(3, 1fr); }
	.hb-sd-topic-grid { grid-template-columns: 1fr; }
	.hb-sd-sidebar { grid-template-columns: 1fr; }
	.hb-sd-mantra-banner {
		grid-template-columns: 1fr;
		padding: 22px;
	}
	.hb-sd-mantra-banner .hb-sd-lotus { display: none; }
	.hb-sd-link-grid { grid-template-columns: 1fr; }
	.hb-sd-values-strip-row { grid-template-columns: repeat(2, 1fr); }
	.hb-sd-values-strip-row > div { border-right: 0; }
}

@media (max-width: 480px) {
	.hb-sd-card { padding: 18px; }
	.hb-sd-four-grid { grid-template-columns: 1fr; }
	.hb-sd-hero h1 { font-size: 2.45rem; }
	.hb-sd-hero-actions .hb-sd-btn { width: 100%; }
}
