/**
 * 发布信息 — 选择分类页（info_post.html）
 * 主色 #2F85C7，步骤条带轨道与圆形序号
 * 依赖：global.css、style.css、post.css
 */

body.info-post-page-modern {
	--ip-blue: #2f85c7;
	--ip-blue-hover: #4a9fd4;
	--ip-blue-deep: #2676b3;
	--ip-blue-soft: rgba(47, 133, 199, 0.16);
	--ip-blue-ring: rgba(47, 133, 199, 0.38);
	--ip-blue-glow: rgba(47, 133, 199, 0.28);

	min-height: 100vh;
	margin: 0;
	color: #f1f5f9;
	overflow-x: hidden;
	position: relative;
	/* 整页铺色：与主题浅蓝一致（高于主题 bodybg 图） */
	background: #a5d3f7 !important;
}

body.info-post-page-modern .info-post-modern-bg {
	position: fixed;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	overflow: hidden;
	/* 仅在 #2F85C7 上加高光与轻微纵深，不再叠深色底 */
	background:
		radial-gradient(ellipse 110% 70% at 50% -15%, rgba(255, 255, 255, 0.28) 0%, transparent 50%),
		radial-gradient(ellipse 60% 45% at 100% 30%, rgba(255, 255, 255, 0.12) 0%, transparent 45%),
		radial-gradient(ellipse 55% 50% at 0% 70%, rgba(255, 255, 255, 0.08) 0%, transparent 42%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, transparent 40%, rgba(0, 0, 0, 0.05) 100%);
}

body.info-post-page-modern .info-post-modern-bg::before {
	content: "";
	position: absolute;
	inset: 0;
	opacity: 0.22;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
	background-size: 44px 44px;
	mask-image: radial-gradient(ellipse 85% 65% at 50% 35%, black 25%, transparent 78%);
}

body.info-post-page-modern .info-post-modern-bg::after {
	content: "";
	position: absolute;
	top: -15%;
	left: 50%;
	width: 100%;
	height: 55%;
	transform: translateX(-50%);
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.14) 0%, transparent 70%);
	filter: blur(28px);
}

body.info-post-page-modern .info-post-modern-content {
	position: relative;
	z-index: 1;
}

body.info-post-page-modern .bartop {
	background: rgba(15, 23, 42, 0.75);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid rgba(47, 133, 199, 0.18);
}

body.info-post-page-modern .bartop a,
body.info-post-page-modern .bartop .barcity span {
	color: #cbd5e1 !important;
}

body.info-post-page-modern .bartop a:hover {
	color: var(--ip-blue-hover) !important;
}

body.info-post-page-modern .mheader {
	background: transparent;
	padding-bottom: 0;
}

body.info-post-page-modern .mhead {
	max-width: 1200px;
	width: 100%;
	margin: 0 auto;
	padding: 16px 24px 8px;
	box-sizing: border-box;
}

body.info-post-page-modern .mhead .font {
	border-left-color: var(--ip-blue);
	color: #0b2d5f;
}

body.info-post-page-modern .mhead .font span {
	font-size: 22px;
	letter-spacing: 0.02em;
}

body.info-post-page-modern #fenlei2::before,
body.info-post-page-modern .psearch::before {
	display: none !important;
}

body.info-post-page-modern .body1000 {
	max-width: 1200px;
	width: 100%;
	margin: 0 auto;
	padding: 0 20px 48px;
	box-sizing: border-box;
	font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
}

body.info-post-page-modern .info-post-hero {
	text-align: center;
	padding: 28px 20px 28px;
}

body.info-post-page-modern .info-post-hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 14px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
	color: #bfdbfe;
	background: var(--ip-blue-soft);
	border: 1px solid var(--ip-blue-ring);
	margin-bottom: 16px;
}

body.info-post-page-modern .info-post-hero h1 {
	margin: 0 0 12px;
	font-size: clamp(26px, 4vw, 36px);
	font-weight: 700;
	color: #0b2d5f;
	letter-spacing: -0.02em;
	line-height: 1.25;
}

body.info-post-page-modern .info-post-hero p {
	margin: 0 auto;
	max-width: 640px;
	font-size: 15px;
	line-height: 1.65;
	color: #94a3b8;
}

/* —— 步骤条：轨道 + 圆形序号 + 文案 —— */
body.info-post-page-modern .info-post-stepper {
	max-width: 820px;
	margin: 0 auto 28px;
	padding: 0;
}

body.info-post-page-modern .info-post-stepper-track.step1 {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	justify-content: space-between;
	align-items: flex-start;
	position: relative;
	gap: 12px;
	max-width: none !important;
	width: 1160px !important;
	margin-left: -169px;
	padding: 24px 32px 28px !important;
	background: rgba(15, 23, 42, 0.58) !important;
	backdrop-filter: blur(12px);
	border: 1px solid var(--ip-blue-ring) !important;
	border-radius: 16px !important;
	box-shadow: 0 10px 36px rgba(0, 0, 0, 0.22);
	box-sizing: border-box;
}

/* 横向连接线（位于序号圆心高度） */
body.info-post-page-modern .info-post-stepper-track::before {
	content: "";
	position: absolute;
	left: 18%;
	right: 18%;
	top: 46px;
	height: 2px;
	background: rgba(148, 163, 184, 0.2);
	border-radius: 2px;
	z-index: 0;
	pointer-events: none;
}

body.info-post-page-modern .info-post-stepper-track > span {
	flex: 1;
	min-width: 0;
	display: flex !important;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	position: relative;
	z-index: 1;
	float: none !important;
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
	padding: 0 6px 2px !important;
	margin: 0 !important;
	max-width: none !important;
	height: auto !important;
	line-height: 1.4 !important;
	text-align: center;
	font-size: 13px !important;
	font-weight: 500;
	color: #94a3b8 !important;
	transition: color 0.2s ease;
}

body.info-post-page-modern .info-post-stepper-track > span.cur {
	color: #f1f5f9 !important;
	font-weight: 600;
}

body.info-post-page-modern .info-post-stepper-track > span .number {
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	font-size: 17px;
	font-weight: 700;
	margin: 0 !important;
	padding: 0 !important;
	background: rgba(30, 41, 59, 0.95) !important;
	border: 2px solid rgba(148, 163, 184, 0.32) !important;
	color: #94a3b8 !important;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

body.info-post-page-modern .info-post-stepper-track > span.cur .number {
	background: var(--ip-blue) !important;
	border-color: rgba(255, 255, 255, 0.38) !important;
	color: #fff !important;
	box-shadow: 0 0 0 4px var(--ip-blue-soft), 0 8px 20px var(--ip-blue-glow);
}

body.info-post-page-modern .info-post-step-label {
	display: block;
	max-width: 8.5em;
	line-height: 1.35;
}

/* 主栅格 */
body.info-post-page-modern .info-post-grid {
	display: grid;
	grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
	gap: 24px;
	align-items: start;
}

@media (max-width: 960px) {
	body.info-post-page-modern .info-post-grid {
		grid-template-columns: 1fr;
	}
}

body.info-post-page-modern .info-post-main {
	min-width: 0;
}

body.info-post-page-modern .info-post-aside {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

body.info-post-page-modern .info-post-side-card {
	background: rgba(15, 23, 42, 0.55);
	backdrop-filter: blur(14px);
	border: 1px solid rgba(47, 133, 199, 0.2);
	border-radius: 16px;
	padding: 18px 18px 16px;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

body.info-post-page-modern .info-post-side-card h2 {
	margin: 0 0 12px;
	font-size: 15px;
	font-weight: 700;
	color: #f1f5f9;
	display: flex;
	align-items: center;
	gap: 8px;
}

body.info-post-page-modern .info-post-side-card h2::before {
	content: "";
	width: 4px;
	height: 16px;
	border-radius: 2px;
	background: linear-gradient(180deg, var(--ip-blue), var(--ip-blue-deep));
}

body.info-post-page-modern .info-post-side-card ul {
	margin: 0;
	padding: 0 0 0 18px;
	color: #94a3b8;
	font-size: 13px;
	line-height: 1.7;
}

body.info-post-page-modern .info-post-side-card li {
	margin-bottom: 6px;
}

body.info-post-page-modern .info-post-tip-row {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	padding: 10px 0;
	border-bottom: 1px solid rgba(148, 163, 184, 0.12);
	font-size: 13px;
	line-height: 1.55;
	color: #cbd5e1;
}

body.info-post-page-modern .info-post-tip-row:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

body.info-post-page-modern .info-post-tip-icon {
	flex-shrink: 0;
	width: 28px;
	height: 28px;
	border-radius: 8px;
	background: var(--ip-blue-soft);
	color: var(--ip-blue-hover);
	font-weight: 800;
	font-size: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
}

body.info-post-page-modern .info-post-trust {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 4px;
}

body.info-post-page-modern .info-post-trust span {
	font-size: 12px;
	padding: 4px 10px;
	border-radius: 999px;
	background: var(--ip-blue-soft);
	border: 1px solid var(--ip-blue-ring);
	color: #bfdbfe;
}

body.info-post-page-modern #fenlei2 {
	background: rgba(15, 23, 42, 0.5) !important;
	backdrop-filter: blur(16px);
	border: 1px solid rgba(47, 133, 199, 0.22) !important;
	border-radius: 20px !important;
	padding: 76px 22px 28px !important;
	margin: 0 !important;
	max-width: none !important;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35) !important;
}

body.info-post-page-modern #fenlei2:hover {
	transform: none !important;
}

body.info-post-page-modern .info-post-section-title {
	margin: 0 0 18px;
	font-size: 17px;
	font-weight: 700;
	color: #f8fafc;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--ip-blue-ring);
}

body.info-post-page-modern #ymenu-side.minheight {
	min-height: 200px;
	padding: 8px 0 12px;
	background: transparent;
}

body.info-post-page-modern .ym-mainmnu {
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)) !important;
	gap: 14px !important;
}

body.info-post-page-modern .ym-mainmnu .ym-tab {
	background: rgba(30, 41, 59, 0.65) !important;
	border: 1px solid rgba(148, 163, 184, 0.18) !important;
	border-radius: 14px !important;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2) !important;
	position: relative;
}

body.info-post-page-modern .ym-mainmnu .ym-tab:hover {
	border-color: var(--ip-blue-ring) !important;
	transform: translateY(-2px);
	box-shadow: 0 12px 32px var(--ip-blue-soft) !important;
}

body.info-post-page-modern .ym-mainmnu .ym-tab > a.black {
	color: #e2e8f0 !important;
	padding: 16px 18px !important;
	font-size: 15px !important;
	border-radius: 14px;
}

body.info-post-page-modern .ym-mainmnu .ym-tab:hover > a.black {
	color: var(--ip-blue-hover) !important;
	background: var(--ip-blue-soft) !important;
}

body.info-post-page-modern .ym-submnu {
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	right: 0;
	width: auto !important;
	max-width: 100%;
	min-width: 0;
	box-sizing: border-box;
	margin: 0 !important;
	padding: 8px 0 !important;
	background: rgba(15, 23, 42, 0.97) !important;
	backdrop-filter: blur(12px);
	border: 1px solid var(--ip-blue-ring) !important;
	border-radius: 12px !important;
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45) !important;
	z-index: 200 !important;
	max-height: 280px;
	/* 仅纵向滚动，禁止横向滚动条（post.css 中 nowrap + translateX 会撑宽） */
	overflow-x: hidden !important;
	overflow-y: auto;
}

body.info-post-page-modern .ym-submnu li {
	border-bottom-color: rgba(51, 65, 85, 0.8) !important;
	max-width: 100%;
	overflow: hidden;
	box-sizing: border-box;
}

body.info-post-page-modern .ym-submnu li a {
	color: #cbd5e1 !important;
	padding: 11px 16px !important;
	white-space: normal !important;
	word-break: break-word;
	overflow-wrap: anywhere;
	/* 取消横向位移，避免触发布局溢出 */
	transform: none !important;
}

body.info-post-page-modern .ym-submnu li a:hover {
	color: var(--ip-blue-hover) !important;
	padding-left: 16px !important;
	background: var(--ip-blue-soft);
}

body.info-post-page-modern .backall {
	margin-top: 16px;
	text-align: center;
}

body.info-post-page-modern .backall a {
	color: var(--ip-blue-hover) !important;
	font-size: 14px;
	text-decoration: none;
	font-weight: 500;
}

body.info-post-page-modern .backall a:hover {
	text-decoration: underline;
}

body.info-post-page-modern .psearch {
	background: rgba(30, 41, 59, 0.5) !important;
	border: 1px solid rgba(47, 133, 199, 0.22) !important;
	border-radius: 16px !important;
	padding: 18px !important;
	margin: 20px 0 0 !important;
	max-width: none !important;
}

body.info-post-page-modern .psearch .pshead {
	flex-wrap: wrap;
	gap: 0;
}

body.info-post-page-modern .psearch .pshead .pstxt {
	flex: 1;
	min-width: 200px;
	border: 1px solid rgba(148, 163, 184, 0.35) !important;
	border-radius: 12px 0 0 12px !important;
	background: rgba(15, 23, 42, 0.6) !important;
	color: #f1f5f9 !important;
}

body.info-post-page-modern .psearch .pshead .pstxt::placeholder {
	color: #64748b !important;
}

body.info-post-page-modern .psearch .pshead .pstxt:focus {
	border-color: var(--ip-blue) !important;
	box-shadow: 0 0 0 3px var(--ip-blue-soft) !important;
}

body.info-post-page-modern .psearch .pshead .psbtn {
	background: linear-gradient(180deg, var(--ip-blue-hover) 0%, var(--ip-blue) 48%, var(--ip-blue-deep) 100%) !important;
	border-radius: 0 12px 12px 0 !important;
	height: 52px !important;
	line-height: 52px !important;
	border: 1px solid rgba(255, 255, 255, 0.12) !important;
}

body.info-post-page-modern .psearch .pshead .psbtn:hover {
	filter: brightness(1.05);
	box-shadow: 0 6px 18px var(--ip-blue-glow) !important;
}

body.info-post-page-modern .info-post-search-hint {
	margin: 12px 0 0;
	font-size: 12px;
	color: #64748b;
	line-height: 1.5;
}

body.info-post-page-modern .footer,
body.info-post-page-modern .footer a {
	color: rgba(255, 255, 255, 0.88) !important;
}

body.info-post-page-modern .footer a:hover {
	color: #fff !important;
	text-decoration: underline;
}

@media (max-width: 640px) {
	body.info-post-page-modern .info-post-stepper-track::before {
		display: none;
	}

	body.info-post-page-modern .info-post-stepper-track.step1 {
		flex-direction: column !important;
		align-items: stretch;
		gap: 0;
		padding: 18px 20px 22px !important;
	}

	body.info-post-page-modern .info-post-stepper-track > span {
		flex-direction: row;
		justify-content: flex-start;
		align-items: center;
		text-align: left;
		gap: 14px;
		padding: 12px 4px !important;
		border-bottom: 1px solid rgba(148, 163, 184, 0.1);
	}

	body.info-post-page-modern .info-post-stepper-track > span:last-child {
		border-bottom: none;
	}

	body.info-post-page-modern .info-post-step-label {
		max-width: none;
	}

	body.info-post-page-modern .psearch .pshead .pstxt {
		border-radius: 12px !important;
		border-right: 1px solid rgba(148, 163, 184, 0.35) !important;
	}

	body.info-post-page-modern .psearch .pshead .psbtn {
		width: 100% !important;
		border-radius: 12px !important;
		margin-top: 10px;
	}

	body.info-post-page-modern .ym-submnu {
		position: static;
		display: none;
		margin-top: 8px;
		max-height: none;
		overflow-x: hidden !important;
	}

	body.info-post-page-modern .ym-tab:hover .ym-submnu {
		display: block;
	}
}

body.info-post-page-modern .ac_results {
	background: rgba(15, 23, 42, 0.98) !important;
	border: 1px solid var(--ip-blue-ring) !important;
	border-radius: 10px !important;
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4) !important;
	overflow: hidden;
}

body.info-post-page-modern .ac_results li {
	color: #e2e8f0 !important;
	font-size: 14px !important;
	line-height: 1.45 !important;
	padding: 10px 12px !important;
}

body.info-post-page-modern .ac_results li.ac_over {
	background: var(--ip-blue-soft) !important;
	color: #f0f9ff !important;
}
