/* 全局变量与基础重置（对齐 jingtai 静态稿） */
*, *::before, *::after {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

:root {
	/* 品牌色 */
	--brand: #E6212A;
	--brand-dark: #C41D24;
	--brand-light: #FDECED;

	/* 文字与背景 */
	--ink: #1E1E1E;
	--text: #4A4A4A;
	--muted: #909090;
	--bg: #FFFFFF;
	--bg-gray: #F6F7F8;
	--line: #E7E8EA;
	--dark: #16181C;
	--dark-soft: #20242B;

	/* 字体 */
	--font-sans: 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', system-ui, sans-serif;
	--font-size: 15px;
	--line-height: 1.7;

	/* 兼容旧变量名（逐步过渡） */
	--navy: var(--brand-dark);
	--blue: var(--brand);
	--blue-mid: var(--brand);
	--blue-light: var(--brand-light);
	--blue-pale: #FEF5F5;
	--gray-dark: var(--ink);
	--gray: var(--text);
	--gray-light: var(--muted);
	--border: var(--line);
	--white: var(--bg);
	--rule: var(--line);
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: var(--font-sans);
	font-size: var(--font-size);
	line-height: var(--line-height);
	color: var(--text);
	background: var(--bg);
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	text-decoration: none;
	color: inherit;
}

ul, ol {
	list-style: none;
}

input,
textarea,
select,
button {
	font-family: inherit;
	font-size: inherit;
}

/* 公共内容容器：1400px 居中 */
.inner,
.container {
	max-width: 1400px;
	margin: 0 auto;
	width: 100%;
	padding: 0 32px;
}

@media (max-width: 1100px) {
	.inner,
	.container {
		padding: 0 28px;
	}
}

@media (max-width: 640px) {
	.inner,
	.container {
		padding: 0 20px;
	}
}

/* 板块通用 */
.section {
	padding: 100px 0;
}

.section-head {
	text-align: center;
	margin-bottom: 56px;
}

.section-head .en {
	font-size: 13px;
	letter-spacing: 4px;
	color: var(--brand);
	text-transform: uppercase;
}

.section-head h2 {
	font-size: 32px;
	font-weight: 600;
	color: var(--ink);
	margin: 8px 0 14px;
	line-height: 1.3;
}

.section-head .line {
	width: 46px;
	height: 3px;
	background: var(--brand);
	margin: 0 auto;
}

.section-head p {
	margin-top: 14px;
	color: var(--muted);
	font-size: 14px;
}

/* 兼容旧区块标题类 */
.s-tag {
	display: block;
	font-size: 13px;
	font-weight: 400;
	letter-spacing: 4px;
	text-transform: uppercase;
	color: var(--brand);
	margin-bottom: 8px;
}

.s-tag::before {
	display: none;
}

.s-title {
	font-family: inherit;
	font-weight: 600;
	font-size: 32px;
	color: var(--ink);
	letter-spacing: 0;
	text-transform: none;
	line-height: 1.3;
}

.s-title b {
	color: var(--brand);
	font-weight: 600;
}

.link-more {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	font-weight: 400;
	letter-spacing: 2px;
	text-transform: none;
	color: var(--brand);
	text-decoration: none;
	border-bottom: 1px solid transparent;
	padding-bottom: 2px;
	transition: gap .2s, border-color .2s;
}

.link-more:hover {
	gap: 14px;
	border-bottom-color: var(--brand);
}

/* 按钮（对齐静态稿） */
.btn {
	display: inline-block;
	padding: 13px 38px;
	font-size: 14px;
	letter-spacing: 2px;
	border: 1px solid transparent;
	cursor: pointer;
	transition: all .3s ease;
	font-family: inherit;
	line-height: 1.4;
}

.btn-red {
	background: var(--brand);
	color: #fff;
}

.btn-red:hover {
	background: var(--brand-dark);
	color: #fff;
}

.btn-outline {
	border-color: #fff;
	color: #fff;
	background: transparent;
}

.btn-outline:hover {
	background: #fff;
	color: var(--ink);
}

.btn-dark {
	border-color: var(--brand);
	color: var(--brand);
	background: transparent;
}

.btn-dark:hover {
	background: var(--brand);
	color: #fff;
}

.reveal {
	opacity: 0;
	transform: translateY(22px);
	transition: opacity .6s ease, transform .6s ease;
}

.reveal.in {
	opacity: 1;
	transform: translateY(0);
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

.site-main {
	min-height: 40vh;
}

/* 经典编辑器图片对齐 */
img.alignleft,
.wp-caption.alignleft,
figure.alignleft {
	float: left;
	margin: 0.5em 1.5em 1em 0;
}

img.alignright,
.wp-caption.alignright,
figure.alignright {
	float: right;
	margin: 0.5em 0 1em 1.5em;
}

img.aligncenter,
.wp-caption.aligncenter,
figure.aligncenter {
	display: block;
	float: none;
	margin-left: auto;
	margin-right: auto;
	margin-top: 0.5em;
	margin-bottom: 1em;
}

img.alignnone {
	margin: 0.5em 0 1em;
}

.aligncenter {
	clear: both;
	text-align: center;
}

.wp-caption {
	max-width: 100%;
}

.wp-caption img {
	display: block;
	max-width: 100%;
	height: auto;
}

.wp-caption-text,
.wp-caption-dd {
	margin-top: 0.5em;
	font-size: 0.9em;
	color: var(--muted);
	text-align: center;
}

img.size-full,
img.size-large,
img.size-medium,
img.size-thumbnail {
	max-width: 100%;
	height: auto;
}
