/* ==========================================================================
 * 政策解读（/policy/、/policy/{slug}/）
 * ========================================================================== */

.mxs-pol {
	--pol-navy: #0a2a5e;
	--pol-blue: #1a6fd4;
	--pol-gold: #d4af37;
	--pol-line: #e3e8ef;
	--pol-text: #25303f;
	--pol-muted: #7a8698;
	background: #f4f6fa;
	color: var(--pol-text);
	font-size: 15px;
	line-height: 1.8;
}

.mxs-pol *,
.mxs-pol *::before,
.mxs-pol *::after {
	box-sizing: border-box;
}

/*
 * 只对 p 重置 margin。这里不能连带重置 p 的 padding：
 * .mxs-pol p 的权重 (0,1,1) 高于组件自身的 .pol-lead (0,1,0)，
 * 一并写 padding:0 会把导语块的内边距整个清掉，文字压到边框上。
 */
.mxs-pol h1,
.mxs-pol h2,
.mxs-pol h3,
.mxs-pol p,
.mxs-pol ul,
.mxs-pol ol,
.mxs-pol dl,
.mxs-pol dd {
	margin: 0;
}

.mxs-pol ul,
.mxs-pol ol,
.mxs-pol dl,
.mxs-pol dd {
	padding: 0;
}

.mxs-pol ul,
.mxs-pol ol {
	list-style: none;
}

.mxs-pol a {
	color: inherit;
	text-decoration: none;
}

.pol-wrap {
	width: 100%;
	max-width: 980px;
	margin: 0 auto;
	padding: 0 16px;
}

/* ---------- Hero ---------- */
.pol-hero {
	padding: 46px 0 38px;
	color: #fff;
	background:
		radial-gradient(760px 260px at 84% -20%, rgba(212, 175, 55, 0.22), transparent 62%),
		linear-gradient(135deg, #071d42 0%, #0d3266 58%, #123f80 100%);
}

.pol-hero-kicker {
	display: inline-block;
	padding: 3px 12px;
	margin-bottom: 12px;
	border: 1px solid rgba(212, 175, 55, 0.55);
	border-radius: 999px;
	color: #f0d68a;
	font-size: 12px;
	letter-spacing: 0.08em;
}

.pol-hero-title {
	font-size: 32px;
	font-weight: 700;
	line-height: 1.3;
}

.pol-hero-sub {
	max-width: 720px;
	margin-top: 10px;
	color: rgba(255, 255, 255, 0.84);
	font-size: 14px;
}

.pol-hero-sub b {
	color: #f0d68a;
}

/* ---------- 分类 ---------- */
.pol-body {
	padding-top: 22px;
	padding-bottom: 46px;
}

.pol-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 16px;
}

.pol-tab {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 7px 16px;
	border: 1px solid #d6dde7;
	border-radius: 999px;
	background: #fff;
	font-size: 13px;
	color: #4a5768;
}

.pol-tab:hover {
	border-color: var(--pol-blue);
	color: var(--pol-blue);
}

.pol-tab span {
	padding: 0 6px;
	border-radius: 999px;
	background: #f0f3f7;
	font-size: 11px;
	color: #7a8698;
}

.pol-tab.is-on {
	background: var(--pol-navy);
	border-color: var(--pol-navy);
	color: #fff;
}

.pol-tab.is-on span {
	background: rgba(255, 255, 255, 0.18);
	color: #fff;
}

/* ---------- 列表卡片 ---------- */
.pol-list {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.pol-card {
	padding: 22px 24px;
	background: #fff;
	border: 1px solid var(--pol-line);
	border-radius: 8px;
	transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.pol-card:hover {
	border-color: rgba(26, 111, 212, 0.4);
	box-shadow: 0 10px 24px rgba(10, 42, 94, 0.08);
}

.pol-card-top {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 10px;
}

.pol-chip {
	display: inline-block;
	padding: 2px 10px;
	border-radius: 3px;
	background: #eef4ff;
	color: #2d63b3;
	font-size: 12px;
	line-height: 20px;
}

.pol-chip-line {
	background: #f7f8fa;
	color: #6b7789;
	border: 1px solid #e6eaf0;
}

.pol-chip-ok {
	background: #e9f7ef;
	color: #1f7a45;
}

.pol-card-title {
	font-size: 20px;
	font-weight: 700;
	line-height: 1.45;
	color: #16233a;
}

.pol-card-title a:hover {
	color: var(--pol-blue);
}

.pol-card-desc {
	margin-top: 8px;
	font-size: 14px;
	color: #5b6779;
}

.pol-card-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 22px;
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px dashed var(--pol-line);
	font-size: 13px;
	color: #4a5768;
}

.pol-meta-item {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 6px;
}

.pol-meta-item b {
	font-weight: 400;
	color: var(--pol-muted);
	font-size: 12px;
}

.pol-meta-item em {
	font-style: normal;
	color: #98a3b3;
	font-size: 12px;
}

.pol-meta-check {
	color: #1f7a45;
}

.pol-card-more {
	display: inline-block;
	margin-top: 12px;
	font-size: 13px;
	font-weight: 600;
	color: var(--pol-blue);
}

.pol-pager {
	margin-top: 24px;
}

.pol-pager .pagination {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin: 0;
}

.pol-pager .pagination a,
.pol-pager .pagination span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 38px;
	padding: 0 12px;
	border: 1px solid var(--pol-line);
	border-radius: 4px;
	background: #fff;
	font-size: 14px;
	color: #45536a;
}

.pol-pager .pagination .current {
	background: var(--pol-navy);
	border-color: var(--pol-navy);
	color: #fff;
}

/* ---------- 说明 ---------- */
.pol-note {
	margin-top: 26px;
	padding: 20px 22px;
	background: #fff;
	border: 1px solid var(--pol-line);
	border-left: 4px solid var(--pol-gold);
	border-radius: 6px;
}

.pol-note h2 {
	font-size: 15px;
	font-weight: 700;
	margin-bottom: 8px;
}

.pol-note ul {
	display: flex;
	flex-direction: column;
	gap: 5px;
	font-size: 13px;
	color: #5b6779;
}

.pol-note li {
	position: relative;
	padding-left: 13px;
}

.pol-note li::before {
	content: "";
	position: absolute;
	left: 2px;
	top: 9px;
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: #b9c3d1;
}

.pol-note b {
	color: #1f6b41;
}

.pol-empty {
	padding: 50px 20px;
	text-align: center;
	background: #fff;
	border: 1px solid var(--pol-line);
	border-radius: 8px;
}

.pol-empty a {
	color: var(--pol-blue);
	text-decoration: underline;
}

/* ==========================================================================
 * 详情
 * ========================================================================== */

.pol-crumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	padding-top: 14px;
	font-size: 12px;
	color: var(--pol-muted);
}

.pol-crumb a:hover {
	color: var(--pol-blue);
}

.pol-crumb em {
	font-style: normal;
	color: var(--pol-text);
}

.pol-article {
	padding-bottom: 50px;
}

.pol-head {
	padding: 26px 28px 24px;
	margin-top: 14px;
	background: #fff;
	border: 1px solid var(--pol-line);
	border-radius: 8px;
}

.pol-head-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 12px;
}

.pol-title {
	font-size: 28px;
	line-height: 1.4;
	font-weight: 700;
	color: #142033;
}

.pol-title-ja {
	margin-top: 6px;
	font-size: 14px;
	color: var(--pol-muted);
	line-height: 1.7;
}

.pol-lead {
	margin-top: 14px;
	padding: 12px 16px;
	background: #f7f9fc;
	border-left: 3px solid var(--pol-gold);
	border-radius: 0 4px 4px 0;
	font-size: 14px;
	color: #3c4a5e;
}

.pol-meta-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px 20px;
	margin-top: 18px;
	padding-top: 16px;
	border-top: 1px solid var(--pol-line);
}

.pol-meta-grid > div {
	display: flex;
	gap: 10px;
	font-size: 13px;
}

.pol-meta-grid dt {
	flex: 0 0 84px;
	color: var(--pol-muted);
}

.pol-meta-grid dd {
	color: #2b3a4f;
}

.pol-meta-grid em {
	display: block;
	font-style: normal;
	font-size: 12px;
	color: var(--pol-muted);
}

/* 要点 */
.pol-points {
	margin-top: 16px;
	padding: 22px 26px;
	background: linear-gradient(180deg, #fffdf5, #fff);
	border: 1px solid #efe3bd;
	border-radius: 8px;
}

.pol-points h2 {
	font-size: 17px;
	font-weight: 700;
	color: #8a6a12;
	margin-bottom: 12px;
}

.pol-points ol {
	counter-reset: polpoint;
	display: flex;
	flex-direction: column;
	gap: 9px;
}

.pol-points li {
	position: relative;
	padding-left: 30px;
	font-size: 14px;
	color: #3c4a5e;
	line-height: 1.75;
}

.pol-points li::before {
	counter-increment: polpoint;
	content: counter(polpoint);
	position: absolute;
	left: 0;
	top: 2px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: var(--pol-gold);
	color: #221a03;
	font-size: 11px;
	font-weight: 700;
	line-height: 20px;
	text-align: center;
}

/* 对照 */
.pol-compare {
	margin-top: 16px;
	padding: 22px 0 6px;
	background: #fff;
	border: 1px solid var(--pol-line);
	border-radius: 8px;
}

.pol-compare-head {
	padding: 0 26px 14px;
	border-bottom: 1px solid var(--pol-line);
}

.pol-compare-head h2 {
	font-size: 17px;
	font-weight: 700;
	color: #16233a;
}

.pol-compare-head p {
	margin-top: 4px;
	font-size: 12px;
	color: var(--pol-muted);
}

.pol-compare-body {
	display: flex;
	flex-direction: column;
}

.pol-pair {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	border-bottom: 1px solid #eef2f7;
}

.pol-pair:nth-child(even) {
	background: #fafcff;
}

.pol-cell {
	padding: 16px 22px;
	font-size: 14px;
	line-height: 1.95;
}

.pol-cell-ja {
	color: #33404f;
	border-right: 1px solid #eef2f7;
}

.pol-cell-ja p {
	font-family: "Hiragino Sans", "Yu Gothic", "Meiryo", "Noto Sans JP", sans-serif;
	letter-spacing: 0.01em;
}

.pol-cell-zh {
	color: #3c4a5e;
}

.pol-cell-tag {
	display: inline-block;
	margin-bottom: 6px;
	padding: 0 8px;
	border-radius: 3px;
	background: #eef4ff;
	color: #2d63b3;
	font-size: 11px;
	line-height: 18px;
}

.pol-cell-zh .pol-cell-tag {
	background: #f2f6f2;
	color: #2f6f4a;
}

.pol-compare-note {
	padding: 14px 26px 16px;
	font-size: 12px;
	color: var(--pol-muted);
}

.pol-compare-note b {
	color: #b3341f;
}

/* 正文 */
.pol-bodytext {
	margin-top: 16px;
	padding: 22px 26px;
	background: #fff;
	border: 1px solid var(--pol-line);
	border-radius: 8px;
	font-size: 15px;
	line-height: 1.95;
	color: #33404f;
}

.pol-bodytext h2 {
	font-size: 17px;
	font-weight: 700;
	color: #16233a;
	margin-bottom: 12px;
}

.pol-bodytext p + p {
	margin-top: 12px;
}

.pol-bodytext ul,
.pol-bodytext ol {
	list-style: disc;
	padding-left: 22px;
	margin: 10px 0;
}

.pol-bodytext li + li {
	margin-top: 6px;
}

.pol-bodytext strong {
	color: #16233a;
}

/* 出处 */
.pol-source {
	margin-top: 16px;
	padding: 20px 24px;
	background: #fff;
	border: 1px solid var(--pol-line);
	border-left: 4px solid var(--pol-navy);
	border-radius: 6px;
}

.pol-source h2 {
	font-size: 15px;
	font-weight: 700;
	margin-bottom: 10px;
}

.pol-source ul {
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-size: 13px;
}

.pol-source li {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.pol-source li span {
	flex: 0 0 84px;
	color: var(--pol-muted);
}

.pol-source li a {
	color: var(--pol-blue);
	word-break: break-all;
	text-decoration: underline;
}

.pol-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 0 20px;
	border-radius: 4px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	border: 1px solid transparent;
}

.pol-btn-line {
	margin-top: 12px;
	border-color: #cfdae8;
	color: #1f4f8a;
	background: #fff;
}

.pol-btn-line:hover {
	border-color: var(--pol-blue);
	color: var(--pol-blue);
}

.pol-btn-gold {
	background: linear-gradient(180deg, #e6c65c, #c9a233);
	color: #221a03;
}

/* CTA */
.pol-cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: 16px;
	padding: 20px 24px;
	background: linear-gradient(120deg, #0b2a58, #16477f);
	border-radius: 8px;
	color: #fff;
}

.pol-cta-title {
	font-size: 16px;
	font-weight: 700;
}

.pol-cta-sub {
	margin-top: 4px;
	font-size: 12px;
	color: rgba(255, 255, 255, 0.72);
}

/* 相关 */
.pol-rel {
	margin-top: 16px;
	padding: 20px 24px;
	background: #fff;
	border: 1px solid var(--pol-line);
	border-radius: 8px;
}

.pol-rel h2 {
	font-size: 15px;
	font-weight: 700;
	margin-bottom: 10px;
}

.pol-rel ul {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.pol-rel a {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px;
	padding: 10px 14px;
	border: 1px solid #eef2f7;
	border-radius: 6px;
	font-size: 14px;
	background: #fbfcfe;
}

.pol-rel a:hover {
	border-color: rgba(26, 111, 212, 0.4);
	background: #f4f8ff;
}

.pol-rel-title {
	color: #22324a;
}

.pol-rel-date {
	font-size: 12px;
	color: var(--pol-muted);
}

/* ---------- 响应式 ---------- */
@media (max-width: 768px) {
	.mxs-pol {
		font-size: 14px;
	}
	.pol-hero {
		padding: 32px 0 26px;
	}
	.pol-hero-title {
		font-size: 23px;
	}
	.pol-hero-sub {
		font-size: 13px;
	}
	.pol-card {
		padding: 16px;
	}
	.pol-card-title {
		font-size: 17px;
	}
	.pol-card-desc {
		font-size: 13px;
	}
	.pol-head {
		padding: 18px 16px;
	}
	.pol-title {
		font-size: 21px;
	}
	.pol-meta-grid {
		grid-template-columns: minmax(0, 1fr);
	}
	.pol-meta-grid dt {
		flex: 0 0 76px;
	}
	.pol-points,
	.pol-bodytext,
	.pol-source,
	.pol-rel {
		padding: 16px;
	}
	.pol-compare-head {
		padding: 0 16px 12px;
	}
	.pol-pair {
		grid-template-columns: minmax(0, 1fr);
	}
	.pol-cell {
		padding: 12px 16px;
	}
	.pol-cell-ja {
		border-right: 0;
		background: #fafcff;
		border-bottom: 1px dashed #e6ecf4;
	}
	.pol-compare-note {
		padding: 12px 16px 14px;
	}
	.pol-cta {
		flex-direction: column;
		align-items: flex-start;
	}
	.pol-cta .pol-btn {
		width: 100%;
		min-height: 44px;
	}
	.pol-tab {
		padding: 6px 12px;
		font-size: 12px;
	}
	.pol-source li span {
		flex: 0 0 72px;
	}
}
