/* Blog detail - extractable layout + interactive reading chrome */

body.blog-detail-page {
	background: #050816 !important;
	--bs-body-bg: #050816;
}

body.blog-detail-page .site-main,
body.blog-detail-page .page-content {
	background: transparent !important;
	isolation: auto !important;
}

.bi-blog-wrap {
	max-width: 860px;
	margin: 0 auto;
	padding: 0 1.15rem 3rem;
}

.bi-blog-crumb {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	align-items: center;
	font-size: 0.82rem;
	color: rgba(255,255,255,0.5);
	margin: 1.25rem 0 1rem;
}
.bi-blog-crumb a { color: #c4b5fd; text-decoration: none; }
.bi-blog-crumb a:hover { color: #67e8f9; }

.bi-blog-hero-art {
	position: relative;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	border-radius: 20px;
	overflow: hidden;
	margin-bottom: 1.35rem;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(255,255,255,0.1);
	background: #0a0f24;
}
.bi-blog-hero-art .bi-blog-hero-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
	z-index: 1;
}
.bi-blog-section-fig {
	margin: 0 0 1rem;
	border-radius: 14px;
	overflow: hidden;
	border: 1px solid rgba(255,255,255,0.1);
}
.bi-blog-section-fig img {
	display: block;
	width: 100%;
	height: auto;
}
.bi-blog-hero-art i {
	font-size: 3.4rem;
	color: #fff;
	z-index: 1;
	filter: drop-shadow(0 10px 24px rgba(0,0,0,0.4));
}
.bi-blog-hero-art span {
	position: absolute;
	border-radius: 50%;
	filter: blur(28px);
	opacity: 0.75;
	animation: bi-blog-orb 8s ease-in-out infinite alternate;
}
.bi-blog-hero-art span:first-of-type { width: 220px; height: 220px; left: -40px; top: -60px; }
.bi-blog-hero-art span:last-of-type { width: 160px; height: 160px; right: -20px; bottom: -50px; animation-duration: 11s; }
.bi-blog-hero-art[data-tone="ai"] { background: linear-gradient(135deg, #4c1d95, #0891b2); }
.bi-blog-hero-art[data-tone="ai"] span:first-of-type { background: #a78bfa; }
.bi-blog-hero-art[data-tone="ai"] span:last-of-type { background: #22d3ee; }
.bi-blog-hero-art[data-tone="crypto"] { background: linear-gradient(135deg, #7c3aed, #f59e0b); }
.bi-blog-hero-art[data-tone="crypto"] span:first-of-type { background: #fbbf24; }
.bi-blog-hero-art[data-tone="crypto"] span:last-of-type { background: #c084fc; }
.bi-blog-hero-art[data-tone="chain"] { background: linear-gradient(135deg, #1d4ed8, #06b6d4); }
.bi-blog-hero-art[data-tone="chain"] span:first-of-type { background: #60a5fa; }
.bi-blog-hero-art[data-tone="chain"] span:last-of-type { background: #34d399; }
.bi-blog-hero-art[data-tone="consult"] { background: linear-gradient(135deg, #6d28d9, #db2777); }
.bi-blog-hero-art[data-tone="consult"] span:first-of-type { background: #f472b6; }
.bi-blog-hero-art[data-tone="consult"] span:last-of-type { background: #a78bfa; }
@keyframes bi-blog-orb { to { transform: translate(16px, 12px) scale(1.1); } }

.bi-blog-kicker {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #c4b5fd;
	margin-bottom: 0.65rem;
}
.bi-blog-title {
	color: #fff !important;
	font-weight: 900;
	font-size: clamp(1.6rem, 3.4vw, 2.35rem);
	letter-spacing: -0.03em;
	line-height: 1.2;
	margin-bottom: 0.85rem;
}
.bi-blog-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem 1.25rem;
	color: rgba(255,255,255,0.6);
	font-size: 0.85rem;
	font-weight: 600;
	margin-bottom: 1.25rem;
}
.bi-blog-meta time { color: #fff; }

.bi-blog-tldr {
	background: rgba(124,58,237,0.12);
	border: 1px solid rgba(167,139,250,0.35);
	border-radius: 16px;
	padding: 1.1rem 1.2rem;
	margin-bottom: 1.35rem;
}
.bi-blog-tldr h2 {
	margin: 0 0 0.45rem;
	font-size: 0.78rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #67e8f9;
	font-weight: 800;
}
.bi-blog-tldr p { margin: 0; color: rgba(255,255,255,0.9); line-height: 1.6; font-size: 1.02rem; }

.bi-blog-toc {
	background: rgba(255,255,255,0.04);
	border: 1px solid rgba(255,255,255,0.1);
	border-radius: 16px;
	padding: 1rem 1.15rem;
	margin-bottom: 1.5rem;
}
.bi-blog-toc h2 {
	font-size: 0.78rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #a78bfa;
	margin: 0 0 0.55rem;
	font-weight: 800;
}
.bi-blog-toc ol { margin: 0; padding-left: 1.15rem; color: rgba(255,255,255,0.78); }
.bi-blog-toc a { color: #c4b5fd; text-decoration: none; }
.bi-blog-toc a:hover { color: #67e8f9; text-decoration: underline; }

.bi-blog-body h2 {
	color: #fff;
	font-size: 1.28rem;
	font-weight: 800;
	margin: 1.75rem 0 0.7rem;
	scroll-margin-top: 5.5rem;
}
.bi-blog-body p {
	color: rgba(255,255,255,0.84);
	line-height: 1.75;
	font-size: 1.02rem;
	margin-bottom: 1rem;
}

.bi-blog-takeaways {
	list-style: none;
	padding: 0;
	margin: 0 0 1.5rem;
	display: grid;
	gap: 0.65rem;
}
.bi-blog-takeaways li {
	position: relative;
	padding: 0.85rem 0.95rem 0.85rem 2.4rem;
	background: rgba(255,255,255,0.04);
	border: 1px solid rgba(255,255,255,0.1);
	border-radius: 12px;
	color: rgba(255,255,255,0.88);
	line-height: 1.5;
}
.bi-blog-takeaways li::before {
	content: '✓';
	position: absolute;
	left: 0.85rem;
	color: #34d399;
	font-weight: 900;
}

.bi-blog-faq details {
	background: rgba(255,255,255,0.04);
	border: 1px solid rgba(255,255,255,0.1);
	border-radius: 12px;
	padding: 0.85rem 1rem;
	margin-bottom: 0.55rem;
}
.bi-blog-faq summary {
	cursor: pointer;
	font-weight: 800;
	color: #fff;
	list-style: none;
}
.bi-blog-faq summary::-webkit-details-marker { display: none; }
.bi-blog-faq summary::after {
	content: '+';
	float: right;
	color: #a78bfa;
}
.bi-blog-faq details[open] summary::after { content: '–'; }
.bi-blog-faq p { margin: 0.65rem 0 0; color: rgba(255,255,255,0.8); line-height: 1.6; }

.bi-blog-related {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.85rem;
	margin-top: 0.75rem;
}
.bi-blog-related a {
	display: block;
	padding: 1rem;
	border-radius: 14px;
	border: 1px solid rgba(255,255,255,0.1);
	background: rgba(255,255,255,0.04);
	color: #fff;
	text-decoration: none;
	font-weight: 700;
	font-size: 0.92rem;
	transition: transform .2s, border-color .2s;
}
.bi-blog-related a:hover {
	transform: translateY(-3px);
	border-color: rgba(167,139,250,0.5);
	color: #c4b5fd;
}
.bi-blog-related span { display: block; font-size: 0.72rem; color: #67e8f9; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 0.3rem; }

.bi-blog-cta {
	margin-top: 2rem;
	padding: 1.5rem;
	border-radius: 18px;
	text-align: center;
	background: linear-gradient(135deg, rgba(124,58,237,0.22), rgba(6,182,212,0.12));
	border: 1px solid rgba(124,58,237,0.35);
}
.bi-blog-cta p { color: #fff; font-weight: 800; margin-bottom: 0.9rem; }
.bi-blog-copy {
	margin-left: 0.5rem;
	border: 1px solid rgba(167,139,250,0.4);
	background: transparent;
	color: #c4b5fd;
	border-radius: 8px;
	padding: 0.35rem 0.7rem;
	font-size: 0.78rem;
	font-weight: 700;
	cursor: pointer;
}

@media (max-width: 700px) {
	.bi-blog-related { grid-template-columns: 1fr; }
	.bi-blog-hero-art { height: auto; aspect-ratio: 16 / 9; }
}
@media (prefers-reduced-motion: reduce) {
	.bi-blog-hero-art span { animation: none; }
}
