/* Sujiin Insights — English editorial styles */

.sj-main {
	--ink: #16161a;
	--body: #2b2b2f;
	--muted: #79745f;
	--sand: #dfd9c9;
	--paper: #fbf9f4;
	--olive: #475132;
	--rule: #e2dccd;
	--serif: "Helvetica Neue", Helvetica, Arial, "Segoe UI", sans-serif;
	width: 100%;
	max-width: 100vw;
	overflow-x: clip;
	background: var(--paper);
	color: var(--body);
	font-family: var(--serif);
	-webkit-font-smoothing: antialiased;
}

.sj-main *,
.sj-main *::before,
.sj-main *::after {
	box-sizing: border-box;
}

/* 主题与 Elementor 会用 .elementor-kit-86 h1 这类同级选择器指定中文衬线字体，
   这里提高一级特异性，把英文站拉回无衬线栈。 */
.sj-main {
	--ui: "Helvetica Neue", Helvetica, Arial, "Segoe UI", sans-serif;
}

body.sujiin-en .sj-main h1,
body.sujiin-en .sj-main h2,
body.sujiin-en .sj-main h3,
body.sujiin-en .sj-main h4 {
	font-family: var(--ui);
}

.sj-main p,
.sj-main li,
.sj-main span,
.sj-main a,
.sj-main blockquote,
.sj-main td,
.sj-main th,
.sj-main em,
.sj-main strong {
	font-family: inherit;
}

.sj-wrap {
	width: 100%;
	max-width: 1160px;
	margin: 0 auto;
	padding: 0 28px;
}

.sj-narrow {
	max-width: 748px;
}

/* ---------- hero ---------- */

.sj-hero {
	background: var(--sand);
	padding: clamp(72px, 9vw, 122px) 0 clamp(48px, 6vw, 76px);
}

.sj-hero-inner {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.sj-kicker {
	display: inline-block;
	margin: 0 0 22px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--olive);
	text-decoration: none;
	border-bottom: 1px solid transparent;
}

a.sj-kicker:hover {
	border-bottom-color: var(--olive);
}

.sj-title {
	margin: 0;
	max-width: min(20ch, 100%);
	font-size: clamp(36px, 5.1vw, 60px);
	font-weight: 500;
	line-height: 1.08;
	letter-spacing: -0.022em;
	color: var(--ink);
}

.sj-dek {
	margin: 26px 0 0;
	max-width: min(58ch, 100%);
	font-size: clamp(17px, 1.7vw, 20px);
	line-height: 1.6;
	color: #4a4a44;
}

.sj-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 18px;
	margin: 30px 0 0;
	font-size: 13px;
	letter-spacing: 0.02em;
	color: var(--muted);
}

.sj-meta-topic {
	padding: 4px 10px;
	border: 1px solid rgba(71, 81, 50, 0.35);
	border-radius: 999px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--olive);
}

/* ---------- cover ---------- */

.sj-cover {
	width: 100%;
	max-width: 676px;
	margin: 0 auto;
	padding: 0 28px;
	transform: translateY(-28px);
}

.sj-cover img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	background: var(--sand);
}

/* ---------- article body ---------- */

.sj-body {
	padding: 34px 0 8px;
}

.sj-body .sj-narrow {
	margin: 0 auto;
}

.sj-body p,
.sj-body li {
	font-size: 18px;
	line-height: 1.78;
	color: var(--body);
}

.sj-body p {
	margin: 0 0 1.5em;
}

.sj-body > .sj-wrap > p:first-of-type {
	font-size: 21px;
	line-height: 1.65;
	color: var(--ink);
}

.sj-body h2 {
	margin: 2.1em 0 0.65em;
	font-size: clamp(24px, 2.6vw, 30px);
	font-weight: 600;
	line-height: 1.28;
	letter-spacing: -0.012em;
	color: var(--ink);
}

.sj-body h3 {
	margin: 1.9em 0 0.55em;
	font-size: 20px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--ink);
}

.sj-body strong {
	font-weight: 600;
	color: var(--ink);
}

.sj-body a {
	color: var(--olive);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.sj-body ul,
.sj-body ol {
	margin: 0 0 1.6em;
	padding-left: 1.2em;
}

.sj-body li {
	margin: 0 0 0.55em;
}

.sj-body li::marker {
	color: var(--olive);
}

.sj-body blockquote {
	margin: 2.2em 0;
	padding: 4px 0 4px 24px;
	border-left: 2px solid var(--olive);
	font-size: 21px;
	line-height: 1.6;
	color: var(--ink);
}

.sj-body blockquote p {
	margin: 0;
	font-size: inherit;
	line-height: inherit;
}

.sj-body hr {
	height: 1px;
	margin: 2.6em auto;
	border: 0;
	background: var(--rule);
}

.sj-body table {
	width: 100%;
	margin: 2em 0 2.2em;
	border-collapse: collapse;
	font-size: 15px;
	line-height: 1.5;
	background: #fff;
}

.sj-body th {
	padding: 12px 14px;
	border-bottom: 1px solid var(--ink);
	text-align: left;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ink);
	vertical-align: bottom;
}

.sj-body td {
	padding: 13px 14px;
	border-bottom: 1px solid var(--rule);
	vertical-align: top;
	color: var(--body);
}

.sj-body tr:last-child td {
	border-bottom: 1px solid var(--ink);
}

/* ---------- tail ---------- */

.sj-tail {
	padding: 40px 0 96px;
}

.sj-tail .sj-narrow {
	margin: 0 auto;
}

.sj-sign {
	padding: 26px 0 0;
	border-top: 1px solid var(--ink);
	font-size: 15px;
	line-height: 1.6;
	color: var(--muted) !important;
}

.sj-related {
	margin: 56px 0 0;
}

.sj-related-label {
	margin: 0 0 14px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--olive) !important;
}

.sj-related ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.sj-related li {
	margin: 0;
	border-bottom: 1px solid var(--rule);
}

.sj-related li a {
	display: block;
	padding: 16px 0;
	font-size: 18px;
	line-height: 1.4;
	color: var(--ink);
	text-decoration: none;
}

.sj-related li a:hover {
	color: var(--olive);
}

.sj-back {
	margin: 40px 0 0;
	font-size: 14px;
}

.sj-back a {
	color: var(--olive);
	text-decoration: none;
}

/* ---------- list page ---------- */

.sj-hero-list .sj-title {
	max-width: none;
}

.sj-feed {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 64px 52px;
	padding-top: clamp(48px, 6vw, 80px);
	padding-bottom: 96px;
}

.sj-card {
	min-width: 0;
}

.sj-card-featured {
	grid-column: 1 / -1;
	padding-bottom: 56px;
	border-bottom: 1px solid var(--rule);
}

.sj-card-link {
	display: flex;
	flex-direction: column;
	gap: 20px;
	color: inherit;
	text-decoration: none;
}

.sj-card-featured .sj-card-link {
	flex-direction: row;
	align-items: center;
	gap: 48px;
}

.sj-card-media {
	display: block;
	overflow: hidden;
	background: var(--sand);
}

.sj-card-media img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.sj-card-featured .sj-card-media {
	flex: 0 0 38%;
}

.sj-card-featured .sj-card-media img {
	aspect-ratio: 4 / 5;
}

.sj-card-link:hover .sj-card-media img {
	transform: scale(1.02);
}

.sj-card-body {
	display: flex;
	flex-direction: column;
	gap: 12px;
	min-width: 0;
}

.sj-card-featured .sj-card-body {
	flex: 1 1 62%;
}

.sj-card-top {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 11px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--muted);
}

.sj-card-topic {
	font-weight: 600;
	color: var(--olive);
}

.sj-card-title {
	font-size: 24px;
	font-weight: 600;
	line-height: 1.26;
	letter-spacing: -0.012em;
	color: var(--ink);
}

.sj-card-featured .sj-card-title {
	font-size: clamp(26px, 3.1vw, 38px);
	line-height: 1.18;
}

.sj-card-dek {
	font-size: 16px;
	line-height: 1.62;
	color: #55554d;
}

.sj-card-mins {
	font-size: 12px;
	letter-spacing: 0.06em;
	color: var(--muted);
}

.sj-card-link:hover .sj-card-title {
	text-decoration: underline;
	text-underline-offset: 4px;
	text-decoration-thickness: 1px;
}

.sj-empty {
	padding: 40px 0 80px;
	font-size: 17px;
	color: var(--muted);
}

/* ---------- responsive ---------- */

@media (max-width: 860px) {
	.sj-card-featured .sj-card-link {
		flex-direction: column;
		align-items: stretch;
		gap: 24px;
	}

	.sj-card-featured .sj-card-media,
	.sj-card-featured .sj-card-body {
		flex: 0 0 auto;
	}

	.sj-feed {
		grid-template-columns: minmax(0, 1fr);
		gap: 48px;
	}
}

@media (max-width: 640px) {
	.sj-wrap {
		padding: 0 20px;
	}

	.sj-hero {
		padding: 56px 0 42px;
	}

	.sj-title {
		max-width: none;
		font-size: 32px;
	}

	.sj-dek {
		margin-top: 18px;
		font-size: 16px;
	}

	.sj-cover {
		padding: 0 20px;
		transform: none;
		margin-top: 28px;
	}

	.sj-body {
		padding: 28px 0 0;
	}

	.sj-body p,
	.sj-body li {
		font-size: 16.5px;
		line-height: 1.75;
	}

	.sj-body > .sj-wrap > p:first-of-type {
		font-size: 18.5px;
	}

	.sj-body h2 {
		font-size: 23px;
		margin-top: 1.9em;
	}

	.sj-body table {
		display: block;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		font-size: 13px;
	}

	.sj-body table > * {
		min-width: 520px;
	}

	.sj-body th,
	.sj-body td {
		padding: 10px 8px;
	}

	.sj-card-title {
		font-size: 21px;
	}

	.sj-tail {
		padding-bottom: 64px;
	}
}
