:root {
	--b8-content-bg: #07141d;
	--b8-content-bg-soft: #0e1f2a;
	--b8-content-surface: rgba(8, 21, 30, 0.86);
	--b8-content-surface-strong: rgba(10, 24, 35, 0.94);
	--b8-content-border: rgba(150, 214, 196, 0.18);
	--b8-content-text: #f7f1df;
	--b8-content-muted: #d5dfdc;
	--b8-content-accent: #f1b24a;
	--b8-content-accent-strong: #ffcf6a;
	--b8-content-mint: #9af1d6;
	--b8-content-shadow: 0 30px 80px rgba(0, 0, 0, 0.26);
	--b8-content-radius: 24px;
	--b8-content-shell: min(1180px, calc(100vw - 32px));
	--b8-content-title-font: Fraunces, Georgia, serif;
	--b8-content-body-font: "Plus Jakarta Sans", "Segoe UI", sans-serif;
}

body.b8-content-view {
	background:
		radial-gradient(circle at top left, rgba(125, 224, 194, 0.16), transparent 34%),
		radial-gradient(circle at top right, rgba(241, 178, 74, 0.14), transparent 26%),
		linear-gradient(180deg, #08141d 0%, #0c1b27 45%, #07141d 100%);
	color: var(--b8-content-text);
	font-family: var(--b8-content-body-font);
}

.b8-content-page {
	padding: 28px 0 96px;
}

.b8-content-shell {
	margin: 0 auto;
	width: var(--b8-content-shell);
}

.b8-content-hero {
	margin-bottom: 28px;
	padding: 24px 0 12px;
}

.b8-breadcrumbs {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 16px;
}

.b8-breadcrumbs,
.b8-breadcrumbs a,
.b8-post-card-meta,
.b8-meta-row {
	color: #00ffcc;
	font-size: 0.92rem;
	line-height: 1.7;
}

.b8-breadcrumbs a,
.b8-post-card-link,
.b8-sidebar-link,
.b8-inline-link {
	text-decoration: none;
}

.b8-kicker {
	color: var(--b8-content-mint);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	margin: 0 0 14px;
	text-transform: uppercase;
}

.b8-content-hero h1,
.b8-content-hero h2,
.b8-sidebar-panel h2,
.b8-post-card-body h2,
.b8-post-card-body h3,
.b8-article-content h2,
.b8-article-content h3,
.b8-article-content h4,
.b8-tag-block h2,
.b8-inline-cta h2 {
	color: #00ffcc;
	font-family: var(--b8-content-title-font);
	letter-spacing: -0.03em;
	line-height: 1.08;
	margin: 0;
}

.b8-content-hero h1 {
	font-size: clamp(1.85rem, 3.2vw, 3.2rem);
	max-width: none;
	text-wrap: balance;
}

.b8-content-lead {
	color: #00ffcc;
	font-size: 1.04rem;
	line-height: 1.85;
	margin: 18px 0 0;
	max-width: 72ch;
}

.b8-meta-row,
.b8-pill-row,
.b8-cta-actions,
.b8-sidebar-links {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.b8-meta-row {
	margin-top: 18px;
}

.b8-meta-row span {
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 999px;
	padding: 8px 14px;
}

.b8-pill-row {
	margin-top: 18px;
}

.b8-pill {
	background: rgba(241, 178, 74, 0.14);
	border: 1px solid rgba(241, 178, 74, 0.18);
	border-radius: 999px;
	color: #00ffcc;
	display: inline-flex;
	font-size: 0.88rem;
	font-weight: 700;
	padding: 9px 14px;
	text-decoration: none;
	transition: transform 220ms ease, background-color 220ms ease;
}

.b8-pill-soft {
	background: rgba(125, 224, 194, 0.1);
	border-color: rgba(125, 224, 194, 0.18);
}

.b8-pill:hover,
.b8-button:hover,
.b8-post-card-link:hover,
.b8-sidebar-link:hover,
.b8-inline-link:hover {
	transform: translateY(-1px);
}

.b8-content-grid {
	display: grid;
	gap: 24px;
	grid-template-columns: minmax(0, 1.7fr) minmax(280px, 0.8fr);
	align-items: start;
}

.b8-article-card,
.b8-archive-card,
.b8-sidebar-card,
.b8-sidebar-panel,
.b8-post-card,
.b8-inline-cta {
	backdrop-filter: blur(16px);
	background: var(--b8-content-surface);
	border: 1px solid var(--b8-content-border);
	border-radius: var(--b8-content-radius);
	box-shadow: var(--b8-content-shadow);
}

.b8-article-card,
.b8-archive-card,
.b8-sidebar-card {
	overflow: hidden;
}

.b8-featured-media img,
.b8-post-card-media img {
	display: block;
	height: auto;
	width: 100%;
}

.b8-article-content,
.b8-inline-cta,
.b8-sidebar-card,
.b8-archive-card {
	padding: 24px;
}

.b8-article-content {
	color: #00ffcc;
	font-size: 1rem;
	line-height: 1.9;
}

.b8-article-content > *:first-child {
	margin-top: 0;
}

.b8-article-content > *:last-child {
	margin-bottom: 0;
}

.b8-article-content p,
.b8-article-content li,
.b8-article-content blockquote,
.b8-article-content figcaption,
.b8-inline-cta p,
.b8-post-card-body p,
.b8-sidebar-link span,
.b8-pagination a,
.b8-pagination span {
	color: #00ffcc;
}

.b8-article-content a,
.b8-breadcrumbs a,
.b8-inline-link,
.b8-sidebar-link strong,
.b8-post-card-body h2,
.b8-post-card-body h3 {
	color: #00ffcc;
}

.b8-article-content .wp-block-button__link,
.b8-button {
	align-items: center;
	border-radius: 999px;
	display: inline-flex;
	font-size: 0.95rem;
	font-weight: 700;
	gap: 8px;
	justify-content: center;
	min-height: 52px;
	padding: 0 24px;
	text-decoration: none;
	transition: transform 220ms ease, box-shadow 220ms ease, background-color 220ms ease;
}

.b8-button-primary,
.b8-article-content .wp-block-button__link {
	background: linear-gradient(135deg, var(--b8-content-accent), var(--b8-content-accent-strong));
	box-shadow: 0 18px 42px rgba(241, 178, 74, 0.24);
	color: #17212b;
}

.b8-button-secondary {
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid var(--b8-content-border);
	color: #00ffcc;
}

.b8-tag-block,
.b8-related-posts {
	margin-top: 30px;
	padding: 0 24px 24px;
}

.b8-section-head {
	margin-bottom: 18px;
}

.b8-post-grid {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.b8-post-card {
	overflow: hidden;
}

.b8-post-card-link {
	display: block;
	height: 100%;
}

.b8-post-card-body {
	padding: 20px;
}

.b8-post-card-body h2,
.b8-post-card-body h3 {
	font-size: 1.3rem;
	margin-bottom: 12px;
}

.b8-sidebar-card {
	display: grid;
	gap: 18px;
	position: sticky;
	top: 110px;
}

.b8-sidebar-panel {
	padding: 20px;
}

.b8-sidebar-links {
	flex-direction: column;
	gap: 0;
}

.b8-sidebar-link {
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	display: grid;
	gap: 5px;
	padding: 16px 0;
}

.b8-sidebar-link:first-child {
	border-top: 0;
	padding-top: 4px;
}

.b8-sidebar-link strong {
	font-size: 1rem;
	transition: color 220ms ease;
}

.b8-pagination {
	margin-top: 26px;
}

.b8-pagination ul {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.b8-pagination a,
.b8-pagination span {
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 999px;
	display: inline-flex;
	padding: 10px 16px;
	text-decoration: none;
}

.b8-pagination .current {
	background: rgba(241, 178, 74, 0.14);
	border-color: rgba(241, 178, 74, 0.2);
	color: #00ffcc;
}

@media (max-width: 1080px) {
	.b8-content-grid {
		grid-template-columns: 1fr;
	}

	.b8-sidebar-card {
		position: static;
	}

	.b8-post-grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 780px) {
	.b8-content-page {
		padding: 20px 0 72px;
	}

	.b8-content-shell {
		width: min(100vw - 20px, 1180px);
	}

	.b8-content-hero h1 {
		font-size: clamp(1.7rem, 7vw, 2.5rem);
	}

	.b8-post-grid {
		grid-template-columns: 1fr;
	}

	.b8-meta-row,
	.b8-pill-row,
	.b8-cta-actions {
		gap: 10px;
	}

	.b8-article-content,
	.b8-inline-cta,
	.b8-sidebar-card,
	.b8-archive-card,
	.b8-sidebar-panel {
		padding: 18px;
	}

	.b8-tag-block,
	.b8-related-posts {
		padding: 0 18px 18px;
	}

	.b8-meta-row span,
	.b8-pill,
	.b8-pagination a,
	.b8-pagination span {
		width: auto;
	}

	.b8-button {
		width: 100%;
	}

	.b8-cta-actions {
		width: 100%;
	}
}