:root {
	--ssb-bg: #0e0a0b;
	--ssb-panel: #1a1415;
	--ssb-gold: #d9b877;
	--ssb-cream: #f1e6d2;
	--ssb-copy: #cfc4c0;
	--ssb-muted: #9a8e90;
	--ssb-line: #3a2f31;
}

.ssb-main,
.ssb-hub {
	background: var(--ssb-bg);
	color: var(--ssb-cream);
}

.ssb-main *,
.ssb-hub * {
	box-sizing: border-box;
}

.ssb-main a,
.ssb-hub a {
	cursor: pointer;
}

.ssb-hub {
	display: flex;
	flex-direction: column;
	gap: 44px;
	max-width: 1200px;
	margin: 0 auto;
	padding: 32px 20px 96px;
	font-family: "Noto Sans SC", system-ui, sans-serif;
}

.ssb-crumb {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	font-size: 13px;
	color: var(--ssb-muted);
}

.ssb-crumb a {
	color: var(--ssb-muted);
	text-decoration: none;
}

.ssb-crumb a:hover {
	color: var(--ssb-gold);
}

.ssb-head {
	display: flex;
	flex-direction: column;
	gap: 14px;
	max-width: 820px;
}

.ssb-h1 {
	margin: 0;
	font-family: "Noto Serif SC", serif;
	font-size: clamp(30px, 5vw, 44px);
	font-weight: 900;
	line-height: 1.3;
	color: var(--ssb-cream);
}

.ssb-h1 span {
	color: var(--ssb-gold);
}

.ssb-intro,
.ssb-lead {
	margin: 0;
	font-size: 16px;
	line-height: 1.85;
	color: var(--ssb-copy);
}

.ssb-featured {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 32px;
	color: var(--ssb-cream);
	text-decoration: none;
}

.ssb-featured__img {
	flex: 1 1 520px;
	min-width: 0;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: 16px;
	background: #1c1617;
}

.ssb-featured__img img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .6s ease;
}

.ssb-featured:hover .ssb-featured__img img {
	transform: scale(1.04);
}

.ssb-featured__body {
	display: flex;
	flex: 1 1 380px;
	flex-direction: column;
	gap: 14px;
	min-width: 0;
}

.ssb-label,
.ssb-more {
	font-size: 13px;
	font-weight: 700;
	color: var(--ssb-gold);
}

.ssb-featured__title,
.ssb-card__title {
	margin: 0;
	font-family: "Noto Serif SC", serif;
	line-height: 1.4;
	color: var(--ssb-cream);
}

.ssb-featured__title {
	font-size: clamp(24px, 3vw, 30px);
}

.ssb-featured:hover .ssb-featured__title {
	color: var(--ssb-gold);
}

.ssb-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 20px;
}

.ssb-card {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 26px;
	border: 1px solid var(--ssb-line);
	border-radius: 16px;
	color: var(--ssb-cream);
	text-decoration: none;
	transition: border-color .3s ease, transform .3s ease;
}

.ssb-card:hover {
	transform: translateY(-4px);
	border-color: var(--ssb-gold);
}

.ssb-card__title {
	font-size: 20px;
}

.ssb-excerpt {
	margin: 0;
	font-size: 15px;
	line-height: 1.8;
	color: var(--ssb-copy);
}

.ssb-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
	font-size: 13px;
	color: var(--ssb-muted);
}

.ssb-card .ssb-more {
	margin-top: auto;
}

.ssb-pages {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
}

.ssb-pages .page-numbers {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 16px;
	border: 1px solid #5a4a36;
	border-radius: 999px;
	color: var(--ssb-cream);
	text-decoration: none;
}

.ssb-pages .current {
	border-color: var(--ssb-gold);
	background: var(--ssb-gold);
	font-weight: 700;
	color: #120d0e;
}

.ssb-cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding-top: 48px;
	border-top: 1px solid #2c2224;
}

.ssb-cta h2,
.ssb-empty h2 {
	margin: 0 0 6px;
	font-family: "Noto Serif SC", serif;
	font-size: 24px;
	color: var(--ssb-cream);
}

.ssb-cta p,
.ssb-empty p {
	margin: 0;
	font-size: 14px;
	color: #b9aeb0;
}

.ssb-btn {
	display: inline-block;
	padding: 14px 28px;
	border-radius: 999px;
	background: var(--ssb-gold);
	font-size: 15px;
	font-weight: 700;
	color: #120d0e !important;
	text-decoration: none;
}

.ssb-btn:hover {
	background: var(--ssb-cream);
}

.ssb-main {
	padding: 32px 20px 80px;
}

.ssb-post {
	display: flex;
	flex-direction: column;
	gap: 28px;
	max-width: 760px;
	margin: 0 auto;
	font-family: "Noto Sans SC", system-ui, sans-serif;
}

.ssb-post .ssb-meta {
	padding-bottom: 20px;
	border-bottom: 1px solid #2c2224;
}

.ssb-cover {
	margin: 0;
}

.ssb-cover img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	border-radius: 16px;
	background: #1c1617;
	object-fit: cover;
}

.ssb-toc {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 20px 24px;
	border: 1px solid var(--ssb-line);
	border-radius: 14px;
}

.ssb-toc strong {
	font-family: "Noto Serif SC", serif;
	font-size: 17px;
}

.ssb-toc a {
	font-size: 15px;
	color: var(--ssb-copy);
	text-decoration: none;
}

.ssb-toc a:hover {
	color: var(--ssb-gold);
}

.ssb-body {
	display: flex;
	flex-direction: column;
	gap: 20px;
	font-size: 17px;
	line-height: 1.95;
	color: #e4dad5;
}

.ssb-body h2 {
	margin: 16px 0 0;
	font-family: "Noto Serif SC", serif;
	font-size: clamp(23px, 3.4vw, 27px);
	line-height: 1.4;
	color: var(--ssb-cream);
	scroll-margin-top: 100px;
}

.ssb-body h3 {
	margin: 0;
	font-size: 20px;
	color: var(--ssb-cream);
}

.ssb-body p,
.ssb-body ul,
.ssb-body ol,
.ssb-body blockquote,
.ssb-body figure {
	margin-top: 0;
	margin-bottom: 0;
}

.ssb-body ul,
.ssb-body ol {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding-left: 22px;
}

.ssb-body a {
	color: var(--ssb-gold);
	text-underline-offset: 4px;
}

.ssb-body blockquote {
	padding: 18px 22px;
	border-left: 3px solid var(--ssb-gold);
	border-radius: 0 12px 12px 0;
	background: var(--ssb-panel);
}

.ssb-body img {
	max-width: 100%;
	height: auto;
	border-radius: 12px;
}

.ssb-book {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	padding: 28px;
	border: 1px solid #5a4a36;
	border-radius: 16px;
	text-align: center;
}

.ssb-book h2,
.ssb-sec-title {
	margin: 0;
	font-family: "Noto Serif SC", serif;
	font-size: 24px;
	color: var(--ssb-cream);
}

.ssb-related-section {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.ssb-related {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 14px;
}

.ssb-rel {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 20px;
	border: 1px solid var(--ssb-line);
	border-radius: 14px;
	color: var(--ssb-cream);
	text-decoration: none;
	transition: border-color .3s ease;
}

.ssb-rel:hover {
	border-color: var(--ssb-gold);
}

.ssb-rel h3 {
	margin: 0;
	font-family: "Noto Serif SC", serif;
	font-size: 17px;
	line-height: 1.45;
}

.ssb-rel span {
	margin-top: auto;
	font-size: 13px;
	font-weight: 700;
	color: var(--ssb-gold);
}

@media (max-width: 700px) {
	.ssb-hub,
	.ssb-post {
		gap: 30px;
	}

	.ssb-hub,
	.ssb-main {
		padding-right: 16px;
		padding-left: 16px;
	}

	.ssb-featured {
		gap: 20px;
	}

	.ssb-grid {
		grid-template-columns: 1fr;
	}

	.ssb-cta {
		align-items: flex-start;
		padding-top: 34px;
	}

	.ssb-btn {
		width: 100%;
		text-align: center;
	}

	.ssb-body {
		font-size: 16px;
	}
}
