/* -------------------------------------------------------------------------
 * 新闻详情页
 * ------------------------------------------------------------------------- */

.site-single-post {
	background: #fff;
	color: var(--gray-dark, #2d3748);
}

/* -------------------------------------------------------------------------
 * Hero：左文右图
 * ------------------------------------------------------------------------- */
.news-hero {
	box-sizing: border-box;
	padding: 160px 0 72px;
	background: #fff;
}

.news-hero__inner {
	box-sizing: border-box;
	width: 100%;
	max-width: var(--max, 1610px);
	margin: 0 auto;
	padding: 0 48px;
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	gap: clamp(32px, 5vw, 72px);
	align-items: center;
}

.news-hero__copy {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 22px;
	min-width: 0;
}

.news-hero__back {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--body, "Poppins", sans-serif);
	font-size: 20px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: normal;
	text-transform: uppercase;
	text-decoration: none;
	color: #1a1a1a;
	transition: opacity 0.2s ease;
}

.news-hero__back:hover,
.news-hero__back:focus,
.news-hero__back:focus-visible,
.news-hero__back:active {
	color: #1a1a1a;
	text-decoration: none;
	opacity: 0.75;
	outline: none;
}

.news-hero__back-icon {
	display: inline-flex;
	line-height: 0;
	flex-shrink: 0;
}

.news-hero__back-label {
	display: inline-block;
}

.news-hero__title {
	margin: 0;
	font-family: var(--display, "Poppins", sans-serif);
	font-size: clamp(32px, 3.8vw, 60px);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: normal;
	color: #1a1a1a;
	word-break: break-word;
	overflow-wrap: anywhere;
}

.news-hero__excerpt {
	margin: 0;
	font-family: var(--body, "Poppins", sans-serif);
	font-size: clamp(16px, 1.25vw, 20px);
	font-weight: 400;
	line-height: 1.55;
	letter-spacing: normal;
	color: #64748b;
}

.news-hero__media {
	min-width: 0;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: #e8eef4;
	line-height: 0;
}

.news-hero__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.news-hero__media-placeholder {
	display: block;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #e8eef4 0%, #d5e0ea 100%);
}

/* -------------------------------------------------------------------------
 * 正文：WordPress 编辑器内容
 * ------------------------------------------------------------------------- */
.news-content {
	padding: 0;
	background: #fff;
}

.news-content + .news-faq {
	padding-top: 24px;
}

.news-content + .news-cont {
	padding-top: 48px;
}

/* -------------------------------------------------------------------------
 * FAQ（news_faq 中继器）
 * ------------------------------------------------------------------------- */
.news-faq {
	padding: 0 0 96px;
	background: #fff;
}

.news-faq:has(+ .news-cont) {
	padding-bottom: 40px;
}

/* -------------------------------------------------------------------------
 * 附加内容（news_cont 编辑器）
 * ------------------------------------------------------------------------- */
.news-cont {
	padding: 0 0 96px;
	background: #fff;
}

.news-faq__inner {
	box-sizing: border-box;
	width: 100%;
	max-width: var(--max, 1610px);
	margin: 0 auto;
	padding: 0 48px;
}

.news-faq__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.news-faq__item {
	box-sizing: border-box;
	display: flex;
	align-items: flex-start;
	gap: 18px;
	padding: 22px 24px;
	background: #f2f5f7;
	border-radius: 12px;
}

.news-faq__icon {
	flex: 0 0 auto;
	display: inline-flex;
	line-height: 0;
	margin-top: 2px;
}

.news-faq__icon img {
	display: block;
	width: 56px;
	height: 56px;
	object-fit: contain;
}

.news-faq__copy {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.news-faq__title {
	margin: 0;
	font-family: var(--display, "Poppins", sans-serif);
	font-size: clamp(18px, 1.6vw, 26px);
	font-weight: 600;
	line-height: 1.35;
	letter-spacing: normal;
	color: #f3c81d;
	word-break: break-word;
	overflow-wrap: anywhere;
}

.news-faq__desc {
	margin: 0;
	font-family: var(--body, "Poppins", sans-serif);
	font-size: clamp(15px, 1.25vw, 20px);
	font-weight: 400;
	line-height: 1.55;
	color: #4a5568;
	word-break: break-word;
	overflow-wrap: anywhere;
}

.news-faq__desc p {
	margin: 0 0 0.6em;
}

.news-faq__desc p:last-child {
	margin-bottom: 0;
}

.news-content__inner,
.news-cont__inner {
	box-sizing: border-box;
	width: 100%;
	max-width: var(--max, 1610px);
	margin: 0 auto;
	padding: 0 48px;
	font-family: var(--body, "Poppins", sans-serif);
	font-size: 18px;
	font-weight: 400;
	line-height: 1.7;
	color: #2d3748;
	word-wrap: break-word;
	overflow-wrap: break-word;
}

.news-content__inner > *:first-child,
.news-cont__inner > *:first-child {
	margin-top: 0;
}

.news-content__inner > *:last-child,
.news-cont__inner > *:last-child {
	margin-bottom: 0;
}

.news-content__inner h1,
.news-content__inner h2,
.news-content__inner h3,
.news-content__inner h4,
.news-content__inner h5,
.news-content__inner h6,
.news-cont__inner h1,
.news-cont__inner h2,
.news-cont__inner h3,
.news-cont__inner h4,
.news-cont__inner h5,
.news-cont__inner h6 {
	margin: 1.6em 0 0.7em;
	font-family: var(--display, "Poppins", sans-serif);
	font-weight: 600;
	line-height: 1.25;
	color: #1a1a1a;
}

.news-content__inner h2,
.news-cont__inner h2 {
	font-size: 32px;
}

.news-content__inner h3,
.news-cont__inner h3 {
	font-size: 26px;
}

.news-content__inner h4,
.news-cont__inner h4 {
	font-size: 22px;
}

.news-content__inner ul,
.news-content__inner ol,
.news-cont__inner ul,
.news-cont__inner ol {
	margin: 0 0 1.25em;
	padding-left: 1.4em;
}

.news-content__inner li,
.news-cont__inner li {
	margin: 0 0 0.45em;
}

.news-content__inner a,
.news-cont__inner a {
	color: var(--navy, #0093d0);
	text-decoration: underline;
}

.news-content__inner a:hover,
.news-content__inner a:focus-visible,
.news-cont__inner a:hover,
.news-cont__inner a:focus-visible {
	color: #1a1a1a;
}

.news-content__inner img,
.news-content__inner figure,
.news-cont__inner img,
.news-cont__inner figure {
	max-width: 100%;
	height: auto;
}

.news-content__inner figure,
.news-cont__inner figure {
	margin: 1.5em 0;
}

.news-content__inner figcaption,
.news-cont__inner figcaption {
	margin-top: 0.6em;
	font-size: 14px;
	color: #64748b;
}

.news-content__inner blockquote,
.news-cont__inner blockquote {
	margin: 1.5em 0;
	padding: 0.25em 0 0.25em 1.1em;
	border-left: 3px solid #fdd000;
	color: #1a1a1a;
}

/* 默认表格：随容器宽度，单行不出现滚动条 */
.news-content__inner table,
.news-cont__inner table {
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	margin: 20px 0;
	border-collapse: collapse;
	table-layout: auto;
}

.news-content__inner table th,
.news-content__inner table td,
.news-cont__inner table th,
.news-cont__inner table td {
	box-sizing: border-box;
	padding: 12px 16px;
	word-break: normal;
	overflow-wrap: break-word;
	white-space: normal;
	vertical-align: middle;
}

.news-content__inner table img,
.news-cont__inner table img {
	display: inline-block;
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}

/* 表格内 figure 不占整行，避免挡住对齐 */
.news-content__inner table figure,
.news-cont__inner table figure {
	display: inline-block;
	max-width: 100%;
	margin: 0;
	line-height: 0;
}

/* 编辑器：单元格 / 图片居左、居中、居右 */
.news-content__inner table td[align="left"],
.news-content__inner table th[align="left"],
.news-cont__inner table td[align="left"],
.news-cont__inner table th[align="left"] {
	text-align: left;
}

.news-content__inner table td[align="center"],
.news-content__inner table th[align="center"],
.news-cont__inner table td[align="center"],
.news-cont__inner table th[align="center"] {
	text-align: center;
}

.news-content__inner table td[align="right"],
.news-content__inner table th[align="right"],
.news-cont__inner table td[align="right"],
.news-cont__inner table th[align="right"] {
	text-align: right;
}

.news-content__inner table img.alignleft,
.news-content__inner table img[align="left"],
.news-content__inner table .alignleft,
.news-cont__inner table img.alignleft,
.news-cont__inner table img[align="left"],
.news-cont__inner table .alignleft {
	float: left;
	display: inline;
	margin: 0.35em 1em 0.35em 0;
}

.news-content__inner table img.aligncenter,
.news-content__inner table img[align="center"],
.news-content__inner table .aligncenter,
.news-cont__inner table img.aligncenter,
.news-cont__inner table img[align="center"],
.news-cont__inner table .aligncenter {
	display: block;
	float: none;
	margin-left: auto;
	margin-right: auto;
}

.news-content__inner table img.alignright,
.news-content__inner table img[align="right"],
.news-content__inner table .alignright,
.news-cont__inner table img.alignright,
.news-cont__inner table img[align="right"],
.news-cont__inner table .alignright {
	float: right;
	display: inline;
	margin: 0.35em 0 0.35em 1em;
}

.news-content__inner table figure.alignright,
.news-content__inner table .wp-block-image.alignright,
.news-cont__inner table figure.alignright,
.news-cont__inner table .wp-block-image.alignright {
	float: right;
	margin: 0 0 0 1em;
}

.news-content__inner table figure.alignleft,
.news-content__inner table .wp-block-image.alignleft,
.news-cont__inner table figure.alignleft,
.news-cont__inner table .wp-block-image.alignleft {
	float: left;
	margin: 0 1em 0 0;
}

.news-content__inner table figure.aligncenter,
.news-content__inner table .wp-block-image.aligncenter,
.news-cont__inner table figure.aligncenter,
.news-cont__inner table .wp-block-image.aligncenter {
	display: block;
	float: none;
	margin-left: auto;
	margin-right: auto;
}

/* 浮动后清浮动，避免撑破单元格 */
.news-content__inner table td::after,
.news-content__inner table th::after,
.news-cont__inner table td::after,
.news-cont__inner table th::after {
	content: "";
	display: table;
	clear: both;
}

/* 多行表格滚动容器：保留自然列宽，可横向滑动 */
.news-content__inner .news-table-scroll,
.news-cont__inner .news-table-scroll {
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	margin: 0;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior-x: contain;
}

.news-content__inner .news-table-scroll > table,
.news-cont__inner .news-table-scroll > table {
	width: auto;
	min-width: 100%;
	max-width: none;
	margin:20px 0;
}

.news-content__inner .news-table-scroll th,
.news-content__inner .news-table-scroll td,
.news-cont__inner .news-table-scroll th,
.news-cont__inner .news-table-scroll td {
	white-space: nowrap;
}

.news-content__inner iframe,
.news-content__inner video,
.news-content__inner embed,
.news-content__inner object,
.news-cont__inner iframe,
.news-cont__inner video,
.news-cont__inner embed,
.news-cont__inner object {
	max-width: 100%;
}

.news-content__inner pre,
.news-cont__inner pre {
	max-width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

/* -------------------------------------------------------------------------
 * Responsive
 * ------------------------------------------------------------------------- */

/* 小桌面：双栏收紧，避免大标题挤爆半栏 */
@media (max-width: 1400px) {
	.news-hero {
		padding: 148px 0 64px;
	}

	.news-hero__inner {
		gap: clamp(28px, 4vw, 48px);
	}

	.news-hero__title {
		font-size: clamp(30px, 3.4vw, 48px);
	}

	.news-hero__excerpt {
		font-size: clamp(16px, 1.2vw, 18px);
	}
}

/* 平板 / 小桌面：单栏堆叠 */
@media (max-width: 1100px) {
	.news-hero {
		padding: 140px 0 56px;
	}

	.news-hero__inner,
	.news-content__inner,
	.news-cont__inner,
	.news-faq__inner {
		padding-left: 28px;
		padding-right: 28px;
	}

	.news-hero__inner {
		grid-template-columns: 1fr;
		gap: 28px;
		align-items: start;
	}

	.news-hero__copy {
		gap: 18px;
		max-width: 720px;
	}

	.news-hero__title {
		font-size: clamp(28px, 4.5vw, 40px);
	}

	.news-hero__excerpt {
		font-size: 17px;
	}

	.news-hero__media {
		width: 100%;
		max-width: 860px;
	}

	.news-content + .news-cont {
		padding-top: 40px;
	}

	.news-content__inner,
	.news-cont__inner {
		font-size: 17px;
	}

	.news-content__inner h2,
	.news-cont__inner h2 {
		font-size: 28px;
	}

	.news-content__inner h3,
	.news-cont__inner h3 {
		font-size: 22px;
	}

	.news-content__inner h4,
	.news-cont__inner h4 {
		font-size: 20px;
	}

	.news-faq {
		padding-bottom: 72px;
	}

	.news-faq:has(+ .news-cont) {
		padding-bottom: 32px;
	}

	.news-cont {
		padding-bottom: 72px;
	}

	.news-faq__item {
		padding: 20px;
		gap: 14px;
	}

	.news-faq__icon img {
		width: 48px;
		height: 48px;
	}
}

/* 大手机 / 小平板 */
@media (max-width: 860px) {
	.news-hero {
		padding: 132px 0 48px;
	}

	.news-hero__inner {
		gap: 24px;
	}

	.news-hero__copy {
		max-width: none;
	}

	.news-hero__media {
		max-width: none;
		aspect-ratio: 16 / 11;
	}

	.news-faq__item {
		padding: 18px;
		gap: 12px;
	}

	.news-faq__icon img {
		width: 44px;
		height: 44px;
	}

	.news-content__inner,
	.news-cont__inner {
		overflow-x: visible;
		min-width: 0;
	}

	.news-content__inner table th,
	.news-content__inner table td,
	.news-cont__inner table th,
	.news-cont__inner table td {
		padding: 10px 14px;
		font-size: 14px;
		line-height: 1.45;
	}
}

/* 手机 */
@media (max-width: 640px) {
	.news-hero {
		padding: 120px 0 40px;
	}

	.news-hero__inner,
	.news-content__inner,
	.news-cont__inner,
	.news-faq__inner {
		padding-left: 20px;
		padding-right: 20px;
	}

	.news-hero__inner {
		gap: 20px;
	}

	.news-hero__copy {
		gap: 12px;
	}

	.news-hero__back {
		font-size: 16px;
		gap: 8px;
	}

	.news-hero__back-icon svg {
		width: 18px;
		height: 15px;
	}

	.news-hero__title {
		font-size: clamp(24px, 7vw, 28px);
	}

	.news-hero__excerpt {
		font-size: 15px;
		line-height: 1.5;
	}

	.news-hero__media {
		aspect-ratio: 16 / 11;
		border-radius: 4px;
	}

	.news-content + .news-faq {
		padding-top: 16px;
	}

	.news-content + .news-cont {
		padding-top: 32px;
	}

	.news-content__inner,
	.news-cont__inner {
		font-size: 16px;
		line-height: 1.65;
	}

	.news-content__inner table th,
	.news-content__inner table td,
	.news-cont__inner table th,
	.news-cont__inner table td {
		padding: 10px 12px;
		font-size: 13px;
	}

	.news-content__inner h2,
	.news-cont__inner h2 {
		font-size: 22px;
	}

	.news-content__inner h3,
	.news-cont__inner h3 {
		font-size: 18px;
	}

	.news-content__inner h4,
	.news-cont__inner h4 {
		font-size: 17px;
	}

	.news-content__inner ul,
	.news-content__inner ol,
	.news-cont__inner ul,
	.news-cont__inner ol {
		padding-left: 1.2em;
	}

	.news-faq {
		padding-bottom: 56px;
	}

	.news-faq:has(+ .news-cont) {
		padding-bottom: 24px;
	}

	.news-cont {
		padding-bottom: 56px;
	}

	.news-faq__list {
		gap: 12px;
	}

	.news-faq__item {
		padding: 14px 14px;
		gap: 10px;
		border-radius: 10px;
	}

	.news-faq__icon {
		margin-top: 0;
	}

	.news-faq__icon img {
		width: 36px;
		height: 36px;
	}

	.news-faq__copy {
		gap: 6px;
	}

	.news-faq__title {
		font-size: 17px;
	}

	.news-faq__desc {
		font-size: 15px;
		line-height: 1.5;
	}
}

/* 超小屏 */
@media (max-width: 380px) {
	.news-hero__inner,
	.news-content__inner,
	.news-cont__inner,
	.news-faq__inner {
		padding-left: 16px;
		padding-right: 16px;
	}

	.news-hero__back {
		font-size: 15px;
	}

	.news-hero__title {
		font-size: 22px;
	}

	.news-hero__excerpt {
		font-size: 14px;
	}

	.news-content__inner,
	.news-cont__inner {
		font-size: 15px;
	}

	.news-faq__item {
		padding: 12px;
		gap: 8px;
	}

	.news-faq__icon img {
		width: 32px;
		height: 32px;
	}

	.news-faq__title {
		font-size: 16px;
	}

	.news-faq__desc {
		font-size: 14px;
	}
}
