/**
 * 所属模板：Lusheng Blog 详情模板
 * 用途：仅作用于 .lusheng-blog-detail 内部的样式。
 */

.lusheng-blog-detail {
	--lusheng-detail-accent: #f28a00;
	--lusheng-detail-text: #222;
	--lusheng-detail-muted: #777;
	--lusheng-detail-line: #e6e6e6;
	background: #fff;
	color: var(--lusheng-detail-text);
	font-family: Arial, Helvetica, sans-serif;
	overflow: hidden;
}

.lusheng-blog-detail * {
	box-sizing: border-box;
}

.lusheng-blog-detail__wrap {
	width: min(75rem, calc(100% - 2.5rem));
	margin: 0 auto;
}

.lusheng-blog-detail__banner {
	min-height: 19.375rem;
	display: flex;
	align-items: center;
	background-position: center;
	background-size: cover;
}

.lusheng-blog-detail__banner h1 {
	margin: 0;
	color: #fff;
	font-size: clamp(2.375rem, 5vw, 4rem);
	line-height: 1.1;
	font-weight: 700;
}

.lusheng-blog-detail__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 20.625rem;
	gap: 3.625rem;
	padding-top: 4.6875rem;
	padding-bottom: 5.3125rem;
}

.lusheng-blog-detail__article {
	min-width: 0;
}

.lusheng-blog-detail__header {
	padding-bottom: 1.5625rem;
	border-bottom: 1px solid var(--lusheng-detail-line);
}

.lusheng-blog-detail__header h2 {
	margin: 0 0 1.125rem;
	font-size: clamp(1.75rem, 3vw, 2.625rem);
	line-height: 1.25;
	overflow-wrap: anywhere;
}

.lusheng-blog-detail__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 1.125rem;
	color: var(--lusheng-detail-muted);
	font-size: 0.875rem;
}

.lusheng-blog-detail__content {
	padding: 2rem 0;
	color: #555;
	font-size: 1rem;
	line-height: 1.9;
	overflow-wrap: anywhere;
}

.lusheng-blog-detail__content> :first-child {
	margin-top: 0;
}

.lusheng-blog-detail__content> :last-child {
	margin-bottom: 0;
}

.lusheng-blog-detail__content img,
.lusheng-blog-detail__content video,
.lusheng-blog-detail__content iframe {
	max-width: 100%;
	height: auto;
}

.lusheng-blog-detail__content a {
	color: var(--lusheng-detail-accent);
}

.lusheng-blog-detail__post-nav {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.5rem;
	padding-top: 1.75rem;
	border-top: 1px solid var(--lusheng-detail-line);
}

.lusheng-blog-detail__post-nav-item {
	min-width: 0;
}

.lusheng-blog-detail__post-nav-item--next {
	text-align: right;
}

.lusheng-blog-detail__post-nav-item span {
	display: block;
	margin-bottom: 0.5rem;
	color: var(--lusheng-detail-muted);
	font-size: 0.8125rem;
	text-transform: uppercase;
	letter-spacing: .08em;
}

.lusheng-blog-detail__post-nav-item a {
	color: var(--lusheng-detail-text);
	font-size: 0.9375rem;
	line-height: 1.5;
	text-decoration: none;
	overflow-wrap: anywhere;
}

.lusheng-blog-detail__post-nav-item a:hover {
	color: var(--lusheng-detail-accent);
}

.lusheng-blog-detail__sidebar {
	min-width: 0;
}

.lusheng-blog-detail__sidebar>h2 {
	margin: 0 0 1.5rem;
	padding-bottom: 0.875rem;
	border-bottom: 2px solid var(--lusheng-detail-accent);
	font-size: 1.5625rem;
}

.lusheng-blog-detail__related-list {
	display: grid;
	gap: 1.375rem;
}

.lusheng-blog-detail__related-card {
	display: grid;
	grid-template-columns: 6.75rem minmax(0, 1fr);
	gap: 0.9375rem;
	align-items: start;
}

.lusheng-blog-detail__related-image {
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: #f1f1f1;
}

.lusheng-blog-detail__related-image img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	transition: transform .35s ease;
}

.lusheng-blog-detail__related-card:hover .lusheng-blog-detail__related-image img {
	transform: scale(1.05);
}

.lusheng-blog-detail__related-copy time {
	color: var(--lusheng-detail-muted);
	font-size: 0.75rem;
}

.lusheng-blog-detail__related-copy h3 {
	margin: 0.4375rem 0 0;
	font-size: 0.9375rem;
	line-height: 1.45;
}

.lusheng-blog-detail__related-copy a {
	color: var(--lusheng-detail-text);
	text-decoration: none;
}

.lusheng-blog-detail__related-copy a:hover {
	color: var(--lusheng-detail-accent);
}


.lusheng-blog-detail__empty {
	color: var(--lusheng-detail-muted);
}

@media (max-width: 900px) {
	.lusheng-blog-detail__layout {
		grid-template-columns: 1fr;
		gap: 3.125rem;
		padding-top: 3.4375rem;
	}

	.lusheng-blog-detail__sidebar {
		max-width: 38.75rem;
	}
}

@media (max-width: 600px) {
	.lusheng-blog-detail__wrap {
		width: min(100% - 1.75rem, 75rem);
	}

	.lusheng-blog-detail__banner {
		min-height: 13.125rem;
	}

	.lusheng-blog-detail__layout {
		padding-top: 2.375rem;
		padding-bottom: 3.4375rem;
	}

	.lusheng-blog-detail__post-nav {
		grid-template-columns: 1fr;
	}

	.lusheng-blog-detail__post-nav-item--next {
		text-align: left;
	}

	.lusheng-blog-detail__related-card {
		grid-template-columns: 6rem minmax(0, 1fr);
	}
}

/* Shared MAJHG layout and controls. */
.lusheng-blog-detail {
	--lusheng-detail-accent: #c48337;
	font-family: 'Google Sans Flex', Arial, sans-serif;
}

.lusheng-blog-detail .lusheng-blog-detail__wrap {
	width: 96%;
	max-width: var(--site-content-max);
}

.lusheng-blog-detail__header h2 {
	font-size: 2.625rem;
	font-weight: 600;
}

.lusheng-blog-detail__sidebar>h2,
.lusheng-blog-detail__related-copy h3 {
	font-weight: 400;
}

.lusheng-blog-detail__more {
	margin-top: 1.875rem;
}

.lusheng-blog-detail__content p {
	margin: 0 0 1.25em;
}

.lusheng-blog-detail__content ul,
.lusheng-blog-detail__content ol {
	padding-left: 1.5em;
	margin: 1em 0;
}

.lusheng-blog-detail__content ul {
	list-style: disc;
}

.lusheng-blog-detail__content ol {
	list-style: decimal;
}

.lusheng-blog-detail__content table {
	display: block;
	max-width: 100%;
	overflow-x: auto;
}

@media(max-width:600px) {
	.lusheng-blog-detail .lusheng-blog-detail__wrap {
		width: calc(100% - 28px);
	}

	.lusheng-blog-detail__header h2 {
		font-size: 1.75rem;
	}
}

@media(prefers-reduced-motion:reduce) {
	.lusheng-blog-detail__related-image img {
		transition: none;
	}
}

/* Match the live reference article below the shared MAJHG banner. */
.lusheng-blog-detail {
	background: #f4f4f4;
}

.lusheng-blog-detail__layout {
	grid-template-columns: minmax(0, 75.5fr) minmax(0, 20fr);
	gap: 4.5%;
	padding-top: 8rem;
	padding-bottom: 8.5rem;
	align-items: start;
}

.lusheng-blog-detail__header {
	padding: 0 2.25rem;
	border: 0;
	text-align: center;
}

.lusheng-blog-detail__header h2 {
	font-family: Lora, Georgia, serif;
	font-size: 2.125rem;
	font-weight: 600;
	line-height: 1.35;
	margin: 0 0 1.59375rem;
}

.lusheng-blog-detail__meta {
	justify-content: center;
	align-items: center;
	gap: .5rem;
	font-size: 1rem;
	margin-bottom: 3rem;
}

.lusheng-detail-icon {
	width: 1rem;
	height: 1rem;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.5;
	flex: none;
}

.lusheng-blog-detail__meta time+svg {
	margin-left: 1.25rem;
}

.lusheng-blog-detail__content {
	padding: 0 2.25rem 4rem;
	font-size: 1.125rem;
	line-height: 1.55;
}

.lusheng-blog-detail__content p {
	font-size: inherit;
	line-height: 1.55;
	margin: 0 0 .75em;
}

.lusheng-blog-detail__post-nav {
	gap: 1.5rem;
	padding-top: 2rem;
}

.lusheng-blog-detail__post-nav-item span {
	text-transform: none;
	letter-spacing: 0;
	color: #333;
	font-size: 1rem;
}

.lusheng-blog-detail__post-nav-item a {
	font-size: 1rem;
}

.lusheng-blog-detail__post-nav-item:first-child span::before {
	content: '‹';
	margin-right: .5rem;
}

.lusheng-blog-detail__post-nav-item--next span::after {
	content: '›';
	margin-left: .5rem;
}

.lusheng-blog-detail__sidebar>h2 {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-family: Lora, Georgia, serif;
	font-size: 1.75rem;
	font-weight: 600;
	text-transform: uppercase;
	padding-bottom: 1.5rem;
	margin: 0 0 2rem;
	border-bottom: 1px solid #d4d4d4;
}

.lusheng-blog-detail__sidebar>h2::after {
	content: '⊞';
	font: 400 1.75rem/1 Arial, sans-serif;
	color: #666;
}

.lusheng-blog-detail__related-list {
	gap: 2rem;
}

.lusheng-blog-detail__related-card {
	display: block;
	padding-bottom: 2rem;
	border-bottom: 1px solid #e9e9e9;
}

.lusheng-blog-detail__related-card:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.lusheng-blog-detail__related-image {
	aspect-ratio: 320/172;
	border-radius: .5rem;
	margin-bottom: .875rem;
}

.lusheng-blog-detail__related-copy h3 {
	margin: 0;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.35;
	text-align: center;
}

.lusheng-blog-detail__more {
	display: block;
	width: fit-content;
	margin: 3rem 0 0 auto;
	color: #555;
	font-size: 1rem;
	text-decoration: underline;
	text-underline-offset: .2em;
}

.lusheng-blog-detail__more:hover {
	color: var(--lusheng-detail-accent);
}

@media(max-width:900px) {
	.lusheng-blog-detail__layout {
		grid-template-columns: 1fr;
		gap: 3rem;
		padding-top: 3.5rem;
		padding-bottom: 3.5rem;
	}

	.lusheng-blog-detail__sidebar {
		max-width: none;
	}
}

@media(max-width:600px) {
	.lusheng-blog-detail .lusheng-blog-detail__wrap {
		width: 96%;
	}

	.lusheng-blog-detail__header {
		padding: 0;
	}

	.lusheng-blog-detail__header h2 {
		font-size: 1.3125rem;
		margin-bottom: 1rem;
	}

	.lusheng-blog-detail__meta {
		font-size: .9375rem;
		margin-bottom: 1.875rem;
	}

	.lusheng-blog-detail__content {
		padding: 0 0 1.5rem;
		font-size: .9375rem;
	}

	.lusheng-blog-detail__post-nav {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.lusheng-blog-detail__post-nav-item--next {
		text-align: right;
	}

	.lusheng-blog-detail__post-nav-item a {
		font-size: .875rem;
	}

	.lusheng-blog-detail__related-copy h3 {
		font-size: 1.125rem;
	}

	.lusheng-blog-detail__more {
		margin: 1.125rem auto 0;
	}
}
