.post-page .post-hero {
	padding: 24px 0;
}

.post-page .post-hero-subtitle {
	margin-bottom: 20px;
}

.post-page .post-activity-section {
	margin-top: 56px;
	padding: 52px 0 58px;
	border-top: 1px solid var(--rfj-color-border);
	background: linear-gradient(180deg, #f7faff 0%, #fff 100%);
}

.post-page .post-ecosystem-groups {
	display: grid;
	gap: 34px;
}

.post-page .post-ecosystem-group {
	padding: 24px;
	border: 1px solid var(--rfj-color-border);
	border-radius: 18px;
	background: rgba(255, 255, 255, .9);
	box-shadow: 0 14px 38px rgba(24, 34, 48, .05);
}

.post-page .post-ecosystem-group > header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 18px;
}

.post-page .post-ecosystem-group > header span {
	color: var(--rfj-color-primary);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .1em;
}

.post-page .post-ecosystem-group > header h3 {
	margin: 5px 0 0;
	font-size: 19px;
}

.post-page .post-ecosystem-group > header p {
	max-width: 440px;
	margin: 0;
	color: var(--rfj-text-tertiary);
	font-size: 12px;
	line-height: 1.6;
	text-align: right;
}

.post-page .post-ecosystem-card-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 12px;
}

.post-page .post-ecosystem-card {
	display: grid;
	grid-template-columns: 42px minmax(0, 1fr) auto;
	align-items: center;
	gap: 10px;
	min-width: 0;
	min-height: 82px;
	padding: 14px;
	border: 1px solid #edf0f4;
	border-radius: 14px;
	background: #fff;
	color: inherit;
	text-decoration: none;
	transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.post-page .post-ecosystem-card:hover {
	transform: translateY(-2px);
	border-color: rgba(19, 102, 236, .24);
	box-shadow: 0 10px 24px rgba(24, 34, 48, .08);
	text-decoration: none;
}

.post-page .post-ecosystem-card img {
	display: block;
	width: 42px;
	height: 42px;
	border: 1px solid #edf0f4;
	border-radius: 10px;
	background: #fff;
	object-fit: contain;
}

.post-page .post-ecosystem-card span,
.post-page .post-ecosystem-card strong,
.post-page .post-ecosystem-card small {
	display: block;
	min-width: 0;
}

.post-page .post-ecosystem-card strong {
	overflow: hidden;
	font-size: 14px;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.post-page .post-ecosystem-card small {
	margin-top: 5px;
	color: var(--rfj-text-tertiary);
	font-size: 11px;
	line-height: 1.4;
}

.post-page .post-ecosystem-card b {
	color: #a9b3c0;
	font-size: 15px;
}

.post-page .post-ecosystem-author-card {
	min-width: 0;
	padding: 15px;
	border: 1px solid #edf0f4;
	border-radius: 14px;
	background: #fff;
}

.post-page .post-ecosystem-author-card > a:first-child {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--rfj-text-primary);
	font-size: 14px;
	text-decoration: none;
}

.post-page .post-ecosystem-author-card img {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	object-fit: cover;
}

.post-page .post-ecosystem-author-latest {
	display: -webkit-box;
	overflow: hidden;
	min-height: 38px;
	margin-top: 12px;
	color: var(--rfj-text-secondary);
	font-size: 12px;
	line-height: 1.6;
	text-decoration: none;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.post-page .post-ecosystem-author-card time {
	display: block;
	margin-top: 8px;
	color: var(--rfj-text-tertiary);
	font-size: 11px;
}

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

.post-page .post-signal-card {
	min-width: 0;
	padding: 22px;
	border: 1px solid var(--rfj-color-border);
	border-radius: 14px;
	background: linear-gradient(145deg, #fff 0%, #fafbfc 100%);
	box-shadow: 0 12px 32px rgba(24, 34, 48, .05);
}

.post-page .post-signal-card > header {
	margin-bottom: 13px;
	padding-bottom: 14px;
	border-bottom: 1px solid #edf0f3;
}

.post-page .post-signal-card h3 {
	margin: 5px 0 0;
	font-size: 17px;
	line-height: 1.4;
}

.post-page .post-signal-list,
.post-page .post-author-activity-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.post-page .post-signal-list li + li,
.post-page .post-author-activity-list li + li {
	border-top: 1px solid #f0f2f5;
}

.post-page .post-signal-list a {
	display: grid;
	grid-template-columns: 24px 34px minmax(0, 1fr) auto;
	align-items: center;
	gap: 10px;
	min-height: 54px;
	color: inherit;
	text-decoration: none;
}

.post-page .post-signal-list a:hover strong,
.post-page .post-author-latest:hover,
.post-page .post-author-name:hover {
	color: var(--rfj-color-primary);
}

.post-page .post-signal-rank {
	color: #a2a9b3;
	font-size: 12px;
	font-weight: 700;
	text-align: center;
}

.post-page .post-signal-list li:first-child .post-signal-rank {
	color: var(--rfj-color-primary);
}

.post-page .post-signal-list img,
.post-page .post-author-avatar img {
	display: block;
	width: 34px;
	height: 34px;
	border: 1px solid #edf0f3;
	border-radius: 9px;
	background: #fff;
	object-fit: contain;
}

.post-page .post-signal-list strong {
	min-width: 0;
	overflow: hidden;
	font-size: 14px;
	font-weight: 600;
	text-overflow: ellipsis;
	white-space: nowrap;
	transition: color .2s ease;
}

.post-page .post-signal-list small {
	color: var(--rfj-text-tertiary);
	font-size: 11px;
	white-space: nowrap;
}

.post-page .post-author-activity-list li {
	display: grid;
	grid-template-columns: 36px minmax(0, 1fr) auto;
	align-items: center;
	gap: 10px;
	min-height: 54px;
}

.post-page .post-author-avatar img {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	object-fit: cover;
}

.post-page .post-author-activity-list li > div {
	min-width: 0;
}

.post-page .post-author-name,
.post-page .post-author-latest {
	display: block;
	overflow: hidden;
	text-decoration: none;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.post-page .post-author-name {
	color: var(--rfj-text-primary);
	font-size: 13px;
	font-weight: 700;
}

.post-page .post-author-latest {
	margin-top: 3px;
	color: var(--rfj-text-secondary);
	font-size: 11px;
}

.post-page .post-author-activity-list time {
	color: var(--rfj-text-tertiary);
	font-size: 11px;
	white-space: nowrap;
}

.post-page .post-category-preview-area {
	margin: 8px 0 56px;
}

.post-page .post-category-preview-section + .post-category-preview-section {
	margin-top: 42px;
	padding-top: 38px;
	border-top: 1px solid var(--rfj-color-border);
}

.post-page .post-category-preview-header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 18px;
}

.post-page .post-category-preview-header h2 {
	margin: 0;
	font-size: 22px;
}

.post-page .post-category-preview-header p {
	max-width: 760px;
	margin: 7px 0 0;
	color: var(--rfj-text-tertiary);
	font-size: 13px;
	line-height: 1.6;
}

.post-page .post-category-preview-header > a {
	flex: 0 0 auto;
	color: var(--rfj-text-tertiary);
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
}

.post-page .post-category-preview-header > a:hover,
.post-page .post-category-preview-header > a:focus-visible {
	color: var(--rfj-text-secondary);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.post-page .post-category-preview-grid {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}

.post-page .post-category-preview-grid .rfzj_post_card__summary {
	display: none;
}

.post-page .post-latest-heading {
	margin: 0 0 22px;
}

.post-page .post-latest-heading h2 {
	margin: 0;
	font-size: 24px;
}

.post-page .post-latest-heading p {
	margin: 7px 0 0;
	color: var(--rfj-text-tertiary);
	font-size: 13px;
}

@media (max-width: 1024px) {
	.post-page .post-ecosystem-card-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.post-page .post-activity-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.post-page .post-signal-card--authors {
		grid-column: 1 / -1;
	}

	.post-page .post-category-preview-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.post-page .post-activity-section {
		margin-top: 38px;
		padding: 34px 0 40px;
	}

	.post-page .post-ecosystem-group {
		padding: 18px 14px;
	}

	.post-page .post-ecosystem-group > header {
		display: block;
	}

	.post-page .post-ecosystem-group > header p {
		margin-top: 7px;
		text-align: left;
	}

	.post-page .post-ecosystem-card-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.post-page .post-category-preview-header {
		display: block;
	}

	.post-page .post-activity-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.post-page .post-signal-card--authors {
		grid-column: auto;
	}

	.post-page .post-signal-card {
		padding: 18px 16px;
	}

	.post-page .post-category-preview-area {
		margin: 0 0 38px;
	}

	.post-page .post-category-preview-section + .post-category-preview-section {
		margin-top: 32px;
		padding-top: 30px;
	}

	.post-page .post-category-preview-header > a {
		display: inline-block;
		margin-top: 10px;
	}

	.post-page .post-category-preview-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 0;
	}

	.post-page .post-category-preview-grid > :nth-child(n+3) {
		display: none;
	}
}

/* Keep the article list action comfortably separated from the footer. */
.post-page .post-main > .post-load-more {
	margin-bottom: 40px;
}

@media (max-width: 767px) {
	.post-page .post-main > .post-load-more {
		margin-bottom: 32px;
	}
}

/* 移动端资讯首页：特色文章横向浏览，资讯列表采用紧凑图文布局。 */
@media (max-width: 768px) {
	.post-page .featured-posts-section {
		padding: 8px 0 20px;
	}

	.post-page .featured-posts-grid {
		display: flex;
		gap: 12px;
		overflow-x: auto;
		overflow-y: hidden;
		margin: 0 -16px;
		padding: 0 16px 8px;
		scroll-padding-inline: 16px;
		scroll-snap-type: x mandatory;
		overscroll-behavior-inline: contain;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}

	.post-page .featured-posts-grid::-webkit-scrollbar {
		display: none;
	}

	.post-page .featured-posts-grid > .featured-post-card {
		flex: 0 0 min(82vw, 340px);
		width: min(82vw, 340px);
		max-width: none;
		aspect-ratio: 16 / 9;
		scroll-snap-align: start;
		scroll-snap-stop: always;
		transition: none;
	}

	.post-page .featured-post-card:hover {
		transform: none;
	}

	.post-page .featured-post-card .featured-post-overlay {
		padding: 16px;
	}

	.post-page .featured-post-card .featured-post-category {
		margin-bottom: 8px;
		padding: 4px 10px;
		font-size: 11px;
	}

	.post-page .featured-post-card .featured-post-title {
		margin-bottom: 0;
		font-size: 16px;
		line-height: 1.35;
	}

	.post-page .featured-post-card .featured-post-excerpt {
		display: none;
	}

	.post-page .post-list#post-list,
	.post-page .post-observations .post-category-preview-grid {
		display: flex;
		flex-direction: column;
		gap: 10px;
		align-items: stretch;
	}

	.post-page .post-list#post-list > .rfzj_case_card,
	.post-page .post-observations .post-category-preview-grid > .rfzj_case_card {
		display: grid;
		grid-template-columns: 96px minmax(0, 1fr);
		align-items: start;
		gap: 12px;
		width: 100%;
		max-width: none;
		height: auto;
		min-height: 0;
		padding: 12px;
		border: 1px solid #edf0f2;
		border-radius: 14px;
		background: #fff;
		box-shadow: none;
		transform: none;
	}

	.post-page .post-list#post-list > .rfzj_case_card:hover,
	.post-page .post-observations .post-category-preview-grid > .rfzj_case_card:hover {
		border-color: #edf0f2;
		box-shadow: none;
		transform: none;
	}

	.post-page .post-list#post-list .rfzj_case_card__media,
	.post-page .post-observations .post-category-preview-grid .rfzj_case_card__media {
		width: 96px;
		aspect-ratio: 4 / 3;
		border-radius: 10px;
	}

	.post-page .post-list#post-list .rfzj_case_card__tag,
	.post-page .post-observations .post-category-preview-grid .rfzj_case_card__tag,
	.post-page .post-list#post-list .rfzj_case_card__facts,
	.post-page .post-observations .post-category-preview-grid .rfzj_case_card__facts {
		display: none;
	}

	.post-page .post-list#post-list .rfzj_case_card__body,
	.post-page .post-observations .post-category-preview-grid .rfzj_case_card__body {
		min-width: 0;
		padding: 0;
	}

	.post-page .post-list#post-list .rfzj_case_card__title,
	.post-page .post-observations .post-category-preview-grid .rfzj_case_card__title {
		min-height: 0;
		font-size: 15px;
		line-height: 1.45;
	}

	.post-page .post-list#post-list .rfzj_case_card__meta,
	.post-page .post-observations .post-category-preview-grid .rfzj_case_card__meta {
		gap: 5px;
		margin-top: 6px;
		font-size: 11px;
	}

	.post-page .post-list#post-list .rfzj_case_card__summary,
	.post-page .post-observations .post-category-preview-grid .rfzj_case_card__summary {
		margin-top: 5px;
		font-size: 12px;
		line-height: 1.45;
		-webkit-line-clamp: 2;
	}
}

@media (max-width: 380px) {
	.post-page .post-list#post-list > .rfzj_case_card,
	.post-page .post-observations .post-category-preview-grid > .rfzj_case_card {
		grid-template-columns: 84px minmax(0, 1fr);
		gap: 10px;
		padding: 10px;
	}

	.post-page .post-list#post-list .rfzj_case_card__media,
	.post-page .post-observations .post-category-preview-grid .rfzj_case_card__media {
		width: 84px;
	}
}
