/**
 * 决策专题样式（page-topic.php / page-topics.php）
 *
 * 命名前缀 tp-（单页）/ tpc-（专题中心）。
 * 基准字号 10px（主题 main.css），1.4rem = 14px。
 */

.tp-page,
.tpc-page {
	--tp-navy: #21365c;
	--tp-blue: #6085c8;
	--tp-gold: #d99a3f;
	--tp-ink: #2b3242;
	--tp-grey: #6b7484;
	--tp-line: #e3eaf4;
	--tp-bg: #f5f8fd;
	--tp-rush: #c0442f;
	--tp-safe: #2f7d55;
	color: var(--tp-ink);
}

.tp-page h1,
.tp-page h2,
.tp-page h3,
.tp-page p,
.tp-page ul,
.tp-page ol,
.tpc-page h1,
.tpc-page h2,
.tpc-page h3,
.tpc-page p,
.tpc-page ul,
.tpc-page ol {
	margin: 0;
	padding: 0;
}

.tp-page ul,
.tp-page ol,
.tpc-page ul,
.tpc-page ol {
	list-style: none;
}

/* ------------------------------------------------------------------ Hero */
.tp-hero {
	background: linear-gradient(120deg, #1b2c4b 0%, #284170 55%, #34558c 100%);
	color: #fff;
	padding: 54px 0 44px;
	position: relative;
	overflow: hidden;
}

.tp-hero::after {
	content: "";
	position: absolute;
	right: -80px;
	top: -60px;
	width: 320px;
	height: 320px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.04);
	pointer-events: none;
}

.tp-hero-inner {
	position: relative;
	z-index: 1;
	max-width: 940px;
}

.tp-kicker {
	font-size: 1.3rem;
	letter-spacing: 1px;
	color: #f0c98a;
	margin-bottom: 12px;
}

.tp-kicker-dim {
	display: inline-block;
	margin-right: 10px;
	padding: 2px 9px;
	border: 1px solid rgba(240, 201, 138, 0.55);
	border-radius: 3px;
	font-size: 1.15rem;
	letter-spacing: 1px;
}

.tp-hero-title {
	font-size: 3.8rem;
	line-height: 1.3;
	font-weight: 700;
	letter-spacing: 1px;
}

.tp-hero-lead {
	margin-top: 16px;
	font-size: 1.55rem;
	line-height: 1.95;
	color: rgba(255, 255, 255, 0.82);
	max-width: 860px;
}

.tp-hero-stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1px;
	margin-top: 30px;
	background: rgba(255, 255, 255, 0.14);
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 4px;
	overflow: hidden;
}

.tp-stat {
	background: rgba(255, 255, 255, 0.05);
	padding: 16px 18px;
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.tp-stat b {
	font-size: 2.8rem;
	line-height: 1.25;
	font-weight: 700;
	color: #fff;
}

.tp-stat-k {
	font-size: 1.3rem;
	color: rgba(255, 255, 255, 0.9);
}

.tp-stat-s {
	font-size: 1.15rem;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.55);
}

/* ------------------------------------------------------------------ 页内导航 */
.tp-subnav {
	position: sticky;
	top: 0;
	z-index: 30;
	background: #fff;
	border-bottom: 1px solid var(--tp-line);
	box-shadow: 0 2px 8px rgba(33, 54, 92, 0.05);
}

.tp-subnav .container {
	display: flex;
	gap: 6px;
	overflow-x: auto;
	white-space: nowrap;
	-webkit-overflow-scrolling: touch;
}

.tp-subnav a {
	display: inline-block;
	padding: 14px 16px;
	font-size: 1.4rem;
	color: var(--tp-grey);
	text-decoration: none;
	border-bottom: 2px solid transparent;
	transition: color 0.2s, border-color 0.2s;
}

.tp-subnav a:hover {
	color: var(--tp-navy);
	border-bottom-color: var(--tp-gold);
	text-decoration: none;
}

/* ------------------------------------------------------------------ 主体 */
.tp-body {
	padding-bottom: 10px;
}

.tp-section {
	padding: 46px 0 8px;
}

.tp-sec-head {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	margin-bottom: 24px;
}

.tp-sec-num {
	flex: 0 0 auto;
	font-size: 1.3rem;
	font-weight: 700;
	letter-spacing: 1px;
	color: #fff;
	background: var(--tp-navy);
	padding: 4px 9px;
	border-radius: 3px;
	line-height: 1.6;
}

.tp-sec-title {
	font-size: 2.4rem;
	line-height: 1.5;
	font-weight: 700;
	color: var(--tp-navy);
}

.tp-sec-desc {
	margin-top: 6px;
	font-size: 1.4rem;
	line-height: 1.8;
	color: var(--tp-grey);
	max-width: 820px;
}

/* ------------------------------------------------------------------ 01 分流 */
.tp-branch-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
}

.tp-branch {
	background: #fff;
	border: 1px solid var(--tp-line);
	border-left: 3px solid var(--tp-blue);
	border-radius: 0 4px 4px 0;
	padding: 20px 22px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.tp-branch:hover {
	border-left-color: var(--tp-gold);
	box-shadow: 0 6px 18px rgba(33, 54, 92, 0.07);
}

.tp-branch-if {
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.tp-branch-label {
	font-size: 1.15rem;
	letter-spacing: 1px;
	color: #9aa4b5;
}

.tp-branch-q {
	font-size: 1.6rem;
	line-height: 1.6;
	font-weight: 700;
	color: var(--tp-navy);
}

.tp-branch-then {
	font-size: 1.4rem;
	line-height: 1.85;
	color: #4a5364;
	flex: 1;
}

.tp-branch-link {
	align-self: flex-start;
	font-size: 1.35rem;
	color: var(--tp-blue);
	text-decoration: none;
	border-bottom: 1px dashed rgba(96, 133, 200, 0.5);
	padding-bottom: 1px;
}

.tp-branch-link:hover {
	color: var(--tp-gold);
	border-bottom-color: var(--tp-gold);
	text-decoration: none;
}

/* ------------------------------------------------------------------ 02 步骤 */
.tp-steps {
	position: relative;
	padding-left: 4px;
}

.tp-step {
	position: relative;
	padding: 0 0 26px 26px;
	border-left: 2px solid var(--tp-line);
}

.tp-step:last-child {
	border-left-color: transparent;
	padding-bottom: 4px;
}

.tp-step::before {
	content: "";
	position: absolute;
	left: -7px;
	top: 6px;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: #fff;
	border: 3px solid var(--tp-blue);
	box-sizing: content-box;
}

.tp-step-title {
	font-size: 1.7rem;
	font-weight: 700;
	line-height: 1.6;
	color: var(--tp-navy);
	margin-bottom: 8px;
}

.tp-step-what {
	font-size: 1.4rem;
	line-height: 1.95;
	color: #40495a;
}

.tp-step-check {
	margin-top: 10px;
	font-size: 1.3rem;
	line-height: 1.85;
	color: var(--tp-grey);
	background: var(--tp-bg);
	border-radius: 3px;
	padding: 10px 14px;
}

.tp-step-check b {
	display: inline-block;
	margin-right: 8px;
	color: var(--tp-gold);
	font-weight: 700;
}

.tp-step-links {
	margin-top: 10px;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
}

.tp-step-links a {
	font-size: 1.3rem;
	color: var(--tp-blue);
	text-decoration: none;
}

.tp-step-links a:hover {
	color: var(--tp-gold);
	text-decoration: none;
}

/* ------------------------------------------------------------------ 03 误区 */
.tp-myths {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.tp-myth {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
	background: #fff;
	border: 1px solid var(--tp-line);
	border-radius: 4px;
	overflow: hidden;
}

.tp-myth-wrong,
.tp-myth-right {
	padding: 18px 20px;
	font-size: 1.4rem;
	line-height: 1.85;
}

.tp-myth-wrong {
	background: #fdf6f4;
	color: #8a4234;
	border-right: 1px solid var(--tp-line);
}

.tp-myth-right {
	color: #3d4657;
}

.tp-myth-tag {
	display: block;
	margin-bottom: 6px;
	font-size: 1.15rem;
	letter-spacing: 1px;
	color: #9aa4b5;
}

.tp-myth-wrong .tp-myth-tag {
	color: #c08a7c;
}

/* ------------------------------------------------------------------ 04 数据表 */
.tp-table-wrap {
	border: 1px solid var(--tp-line);
	border-radius: 4px;
	overflow: hidden;
	background: #fff;
}

.tp-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 1.35rem;
}

.tp-table thead th {
	background: var(--tp-bg);
	color: var(--tp-navy);
	font-weight: 700;
	text-align: left;
	padding: 13px 16px;
	border-bottom: 1px solid var(--tp-line);
	white-space: nowrap;
}

.tp-table tbody td {
	padding: 13px 16px;
	border-bottom: 1px solid #eef2f8;
	line-height: 1.75;
	color: #3d4657;
	vertical-align: top;
}

.tp-table tbody tr:last-child td {
	border-bottom: 0;
}

.tp-table tbody td:first-child {
	color: var(--tp-navy);
	font-weight: 600;
	white-space: nowrap;
}

.tp-table tbody td:last-child {
	color: var(--tp-grey);
	white-space: nowrap;
	font-size: 1.25rem;
}

.tp-data-note {
	margin-top: 12px;
	font-size: 1.25rem;
	line-height: 1.8;
	color: #9aa4b5;
}

/* ------------------------------------------------------------------ 05 延伸阅读 */
.tp-related-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.tp-related-col {
	background: #fff;
	border: 1px solid var(--tp-line);
	border-radius: 4px;
	padding: 20px 22px;
}

.tp-related-title {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--tp-navy);
	padding-bottom: 12px;
	margin-bottom: 12px;
	border-bottom: 1px solid var(--tp-line);
}

.tp-related-list li,
.tp-related-tools li {
	padding: 9px 0;
	border-bottom: 1px dashed #eef2f8;
}

.tp-related-list li:last-child,
.tp-related-tools li:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.tp-related-list a,
.tp-related-tools a {
	display: block;
	font-size: 1.4rem;
	line-height: 1.7;
	color: #3d4657;
	text-decoration: none;
}

.tp-related-list a:hover,
.tp-related-tools a:hover {
	color: var(--tp-blue);
	text-decoration: none;
}

.tp-related-meta {
	display: block;
	margin-top: 3px;
	font-size: 1.15rem;
	color: #9aa4b5;
}

.tp-related-tools a {
	color: var(--tp-navy);
	font-weight: 600;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
}

.tp-related-tools a span {
	color: var(--tp-gold);
}

.tp-related-note {
	margin-top: 16px;
	font-size: 1.3rem;
	line-height: 1.9;
	color: var(--tp-grey);
	background: var(--tp-bg);
	border-left: 3px solid var(--tp-gold);
	padding: 14px 18px;
	border-radius: 0 3px 3px 0;
}

.tp-related-note a {
	color: var(--tp-blue);
	text-decoration: none;
	white-space: nowrap;
}

/* ------------------------------------------------------------------ 06 FAQ */
.tp-faq {
	border-top: 1px solid var(--tp-line);
}

.tp-faq-item {
	border-bottom: 1px solid var(--tp-line);
}

.tp-faq-item summary {
	position: relative;
	cursor: pointer;
	list-style: none;
	padding: 17px 40px 17px 0;
	font-size: 1.5rem;
	font-weight: 600;
	line-height: 1.7;
	color: var(--tp-navy);
}

.tp-faq-item summary::-webkit-details-marker {
	display: none;
}

.tp-faq-item summary::after {
	content: "+";
	position: absolute;
	right: 6px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 2.2rem;
	font-weight: 400;
	color: var(--tp-gold);
	line-height: 1;
}

.tp-faq-item[open] summary::after {
	content: "−";
}

.tp-faq-item[open] summary {
	color: var(--tp-blue);
}

.tp-faq-a {
	padding: 0 40px 18px 0;
	font-size: 1.4rem;
	line-height: 1.95;
	color: #4a5364;
}

/* ------------------------------------------------------------------ 其他专题 */
.tp-cross {
	margin-top: 46px;
	padding: 26px 0 0;
	border-top: 1px solid var(--tp-line);
}

.tp-cross-title {
	font-size: 1.6rem;
	font-weight: 700;
	color: var(--tp-navy);
	margin-bottom: 14px;
}

.tp-cross-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
}

.tp-cross-item {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 14px 16px;
	background: #fff;
	border: 1px solid var(--tp-line);
	border-radius: 4px;
	text-decoration: none;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.tp-cross-item:hover {
	border-color: var(--tp-blue);
	box-shadow: 0 4px 12px rgba(33, 54, 92, 0.06);
	text-decoration: none;
}

.tp-cross-dim {
	font-size: 1.1rem;
	color: #9aa4b5;
	letter-spacing: 1px;
}

.tp-cross-name {
	font-size: 1.45rem;
	font-weight: 600;
	color: var(--tp-navy);
	line-height: 1.6;
}

/* ------------------------------------------------------------------ CTA */
.tp-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 20px;
	margin: 40px 0 50px;
	padding: 28px 30px;
	background: linear-gradient(120deg, #21365c 0%, #2d4a7a 100%);
	border-radius: 4px;
	color: #fff;
}

.tp-cta-title {
	font-size: 2rem;
	font-weight: 700;
	line-height: 1.5;
}

.tp-cta-sub {
	margin-top: 8px;
	font-size: 1.35rem;
	line-height: 1.8;
	color: rgba(255, 255, 255, 0.72);
	max-width: 620px;
}

.tp-cta-actions {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}

.tp-btn {
	display: inline-block;
	padding: 0 22px;
	line-height: 4rem;
	font-size: 1.4rem;
	border-radius: 3px;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.2s, color 0.2s, border-color 0.2s;
	white-space: nowrap;
}

.tp-btn-ghost {
	border: 1px solid rgba(255, 255, 255, 0.45);
	color: #fff;
}

.tp-btn-ghost:hover {
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
	text-decoration: none;
}

.tp-btn-solid {
	background: var(--tp-gold);
	border: 1px solid var(--tp-gold);
	color: #21365c;
	font-weight: 700;
}

.tp-btn-solid:hover {
	background: #e8ac56;
	border-color: #e8ac56;
}

/* ================================================================== 专题中心 */
.tpc-hero .tp-hero-lead {
	max-width: 880px;
}

.tpc-stage-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
}

.tpc-stage {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 20px 20px 18px;
	background: #fff;
	border: 1px solid var(--tp-line);
	border-top: 3px solid var(--tp-blue);
	border-radius: 0 0 4px 4px;
	text-decoration: none;
	transition: border-top-color 0.2s, box-shadow 0.2s;
}

.tpc-stage:hover {
	border-top-color: var(--tp-gold);
	box-shadow: 0 6px 18px rgba(33, 54, 92, 0.07);
	text-decoration: none;
}

.tpc-stage-no {
	font-size: 1.1rem;
	letter-spacing: 1px;
	color: #9aa4b5;
}

.tpc-stage-name {
	font-size: 1.7rem;
	font-weight: 700;
	color: var(--tp-navy);
	line-height: 1.5;
}

.tpc-stage-q {
	font-size: 1.3rem;
	line-height: 1.8;
	color: #5a6474;
	flex: 1;
}

.tpc-stage-go {
	font-size: 1.25rem;
	color: var(--tp-blue);
}

.tpc-card-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.tpc-card {
	display: flex;
	flex-direction: column;
	gap: 9px;
	padding: 24px 24px 20px;
	background: #fff;
	border: 1px solid var(--tp-line);
	border-radius: 4px;
	text-decoration: none;
	transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.tpc-card:hover {
	border-color: var(--tp-blue);
	box-shadow: 0 8px 22px rgba(33, 54, 92, 0.08);
	transform: translateY(-2px);
	text-decoration: none;
}

.tpc-card-kicker {
	font-size: 1.2rem;
	letter-spacing: 0.5px;
	color: var(--tp-gold);
}

.tpc-card-title {
	font-size: 2rem;
	font-weight: 700;
	line-height: 1.5;
	color: var(--tp-navy);
}

.tpc-card-lead {
	font-size: 1.35rem;
	line-height: 1.85;
	color: #5a6474;
	flex: 1;
}

.tpc-card-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 6px;
	padding-top: 12px;
	border-top: 1px dashed var(--tp-line);
	font-size: 1.2rem;
	color: #9aa4b5;
}

.tpc-card-foot span {
	color: var(--tp-gold);
	font-size: 1.5rem;
}

.tp-stand {
	margin-top: 46px;
	padding: 26px 28px;
	background: var(--tp-bg);
	border: 1px solid var(--tp-line);
	border-radius: 4px;
}

.tp-stand-title {
	font-size: 1.7rem;
	font-weight: 700;
	color: var(--tp-navy);
	margin-bottom: 14px;
}

.tp-stand-list li {
	position: relative;
	padding: 7px 0 7px 16px;
	font-size: 1.35rem;
	line-height: 1.9;
	color: #4a5364;
}

.tp-stand-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 17px;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--tp-gold);
}

.tp-stand-list b {
	color: var(--tp-navy);
	margin-right: 4px;
}

/* ================================================================== 响应式 */
@media (max-width: 991px) {
	.tpc-stage-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.tp-related-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.tp-hero {
		padding: 38px 0 30px;
	}
	.tp-hero-title {
		font-size: 2.7rem;
		line-height: 1.35;
	}
	.tp-hero-lead {
		font-size: 1.45rem;
		line-height: 1.85;
	}
	.tp-hero-stats {
		grid-template-columns: 1fr;
		margin-top: 22px;
	}
	.tp-stat {
		flex-direction: row;
		align-items: baseline;
		gap: 10px;
		padding: 12px 16px;
	}
	.tp-stat b {
		font-size: 2.2rem;
		min-width: 74px;
	}
	.tp-stat-s {
		display: none;
	}

	.tp-subnav a {
		padding: 12px 13px;
		font-size: 1.3rem;
	}

	.tp-section {
		padding: 34px 0 6px;
	}
	.tp-sec-head {
		gap: 10px;
		margin-bottom: 18px;
	}
	.tp-sec-title {
		font-size: 2rem;
	}
	.tp-sec-desc {
		font-size: 1.35rem;
	}

	.tp-branch-grid {
		grid-template-columns: 1fr;
		gap: 12px;
	}
	.tp-branch {
		padding: 18px;
	}
	.tp-branch-q {
		font-size: 1.5rem;
	}

	.tp-step {
		padding-left: 18px;
	}
	.tp-step-title {
		font-size: 1.55rem;
	}
	.tp-step-check {
		font-size: 1.25rem;
		padding: 10px 12px;
	}

	.tp-myth {
		grid-template-columns: 1fr;
	}
	.tp-myth-wrong {
		border-right: 0;
		border-bottom: 1px solid var(--tp-line);
	}

	/* 表格改卡片：表头隐藏，单元格用 data-label 打标 */
	.tp-table thead {
		display: none;
	}
	.tp-table,
	.tp-table tbody,
	.tp-table tr,
	.tp-table td {
		display: block;
		width: 100%;
	}
	.tp-table tr {
		padding: 12px 16px;
		border-bottom: 1px solid #eef2f8;
	}
	.tp-table tbody tr:last-child {
		border-bottom: 0;
	}
	.tp-table tbody td {
		border: 0;
		padding: 3px 0;
		white-space: normal;
	}
	.tp-table tbody td:first-child {
		font-size: 1.45rem;
		margin-bottom: 4px;
		white-space: normal;
	}
	.tp-table tbody td[data-label]:not(:first-child)::before {
		content: attr(data-label) "：";
		color: #9aa4b5;
		font-size: 1.2rem;
	}
	.tp-table tbody td:last-child {
		font-size: 1.2rem;
	}

	.tp-related-grid {
		grid-template-columns: 1fr;
		gap: 12px;
	}
	.tp-related-col {
		padding: 16px 18px;
	}

	.tp-faq-item summary {
		font-size: 1.4rem;
		padding-right: 32px;
	}
	.tp-faq-a {
		padding-right: 0;
	}

	.tp-cross-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.tp-cta {
		padding: 22px;
		margin: 32px 0 40px;
	}
	.tp-cta-title {
		font-size: 1.75rem;
	}
	.tp-cta-actions {
		width: 100%;
	}
	.tp-btn {
		flex: 1 1 auto;
		text-align: center;
	}

	.tpc-stage-grid,
	.tpc-card-grid {
		grid-template-columns: 1fr;
	}
	.tpc-card {
		padding: 20px;
	}
	.tpc-card-title {
		font-size: 1.75rem;
	}
	.tp-stand {
		padding: 20px;
	}
}
