/* 卫飞首页 #section8 页脚 — 对齐设计稿截图 */
:root {
	--wf-footer-pad-x: 80px;
	--wf-footer-logo-w: 232px;
	--wf-footer-logo-gap: 64px;
}

#factory_main #section8.windphy-footer-section,
#factory_main #section8.fp-auto-height {
	height: auto !important;
	min-height: 0 !important;
	background-image: none !important;
	background-color: #2d2d2d !important;
}

#factory_main #section8.windphy-footer-section .fp-tableCell {
	height: auto !important;
	vertical-align: bottom;
}

#factory_main #section8 .windphy-home-footer-layer {
	position: relative !important;
	left: auto !important;
	right: auto !important;
	width: 100% !important;
	top: auto !important;
	bottom: auto !important;
	transform: none !important;
	z-index: 100;
	padding: 0 !important;
	margin: 0 !important;
}

#factory_main #section8 .windphy-home-footer-mount {
	width: 100%;
}

.windphy-footer__main {
	max-width: 1200px;
	margin: 0 auto;
	padding: 32px var(--wf-footer-pad-x) 24px;
	box-sizing: border-box;
}

.windphy-footer__row {
	display: flex !important;
	align-items: flex-start !important;
	justify-content: flex-start !important;
	flex-wrap: nowrap !important;
	gap: var(--wf-footer-logo-gap);
	margin-top: 0 !important;
}

.footer-wrap--windphy .footer-item {
	border-right: none !important;
	padding: 0 !important;
	flex: 0 0 auto;
}

.footer-wrap--windphy .footer-item--brand {
	width: var(--wf-footer-logo-w);
	flex-shrink: 0;
	margin-top: 0;
}

.windphy-footer__logo {
	display: block;
	width: var(--wf-footer-logo-w);
	max-width: 100%;
	height: auto;
	/* 设计稿标注：顶对齐栏目标题、左移到内容区左缘（仅 Logo） */
	transform: translate(-80px, -50px);
}

.footer-wrap--windphy .footer-item--brand a {
	display: block;
	line-height: 0;
}

.windphy-footer__nav {
	flex: 1;
	min-width: 0;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
}

.footer-wrap--windphy .footer-item--group {
	width: 108px;
}

.footer-wrap--windphy .footer-item--biz {
	width: 196px;
}

.footer-wrap--windphy .footer-item--solution {
	width: 132px;
}

.footer-wrap--windphy .footer-item--about {
	width: 96px;
}

/* 设计稿：栏目标题 — 普惠体3.0 / 65 Medium / 18px / 21.6px / 纯白 */
.footer-wrap.footer-wrap--windphy .footer-item .title_h3,
#factory_main #section8 .footer-wrap--windphy .footer-item .title_h3 {
	font-family: 'Alibaba PuHuiTi 3.0', 'PingFang SC', 'Microsoft YaHei', sans-serif;
	font-size: 18px;
	line-height: 21.6px;
	font-weight: 500;
	font-synthesis: none;
	text-align: left;
	margin: 0 0 10px;
	color: #ffffff;
}

.footer-wrap.footer-wrap--windphy .footer-list,
#factory_main #section8 .footer-wrap--windphy .footer-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

/* 设计稿：链接 — 普惠体3.0 / 45 Light / 14px / 16.8px / 浅灰 */
.footer-wrap.footer-wrap--windphy .footer-item .footer-list li,
#factory_main #section8 .footer-wrap--windphy .footer-item .footer-list li {
	padding: 7px 0;
	text-align: left;
	font-family: 'Alibaba PuHuiTi 3.0', 'PingFang SC', 'Microsoft YaHei', sans-serif;
	font-size: 14px;
	line-height: 16.8px;
	font-weight: 300;
	font-synthesis: none;
	color: rgba(255, 255, 255, 0.75);
}

.footer-wrap.footer-wrap--windphy .footer-item .footer-list a,
#factory_main #section8 .footer-wrap--windphy .footer-item .footer-list a {
	font-family: inherit;
	font-size: inherit;
	line-height: inherit;
	font-weight: inherit;
	font-synthesis: none;
	color: rgba(255, 255, 255, 0.75);
	white-space: nowrap;
}

.footer-wrap.footer-wrap--windphy .footer-item .footer-list a:hover,
#factory_main #section8 .footer-wrap--windphy .footer-item .footer-list a:hover {
	color: #c30d23;
}

#factory_main #section8 .footer.fp {
	height: 86px;
	line-height: 86px;
	text-align: left !important;
	padding: 0 var(--wf-footer-pad-x);
	padding-left: max(
		var(--wf-footer-pad-x),
		calc((100% - 1200px) / 2 + var(--wf-footer-pad-x))
	);
	background: #2d2d2d;
	font-size: 12px;
	color: rgba(255, 255, 255, 0.65);
	position: relative;
	bottom: auto;
	left: auto;
	width: 100%;
	box-sizing: border-box;
}

#factory_main #section8 .footer.fp a {
	color: rgba(255, 255, 255, 0.65);
}

#factory_main #section8 .footer.fp a:hover {
	color: #fff;
}

/* 首页共 3 屏：section1(0) section2(1) section8(2) → fp-viewing-2 */
body.fp-viewing-2 .tbox,
#factory_main #section8.active ~ .tbox {
	position: fixed;
	right: var(--wf-footer-pad-x);
	bottom: 23px;
	float: none;
	z-index: 1001;
	display: block !important;
}

body.fp-viewing-2 .tbox #gotop,
#factory_main #section8.active ~ .tbox #gotop {
	width: 40px;
	height: 40px;
	background: #c30d23 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='18 15 12 9 6 15'/%3E%3C/svg%3E") center / 18px no-repeat;
	border-radius: 2px;
}

@media (max-width: 1199px) {
	:root {
		--wf-footer-pad-x: 40px;
		--wf-footer-logo-w: 180px;
		--wf-footer-logo-gap: 56px;
	}

	.windphy-footer__main {
		padding: 24px var(--wf-footer-pad-x) 20px;
	}

	.footer-wrap--windphy .footer-item--brand {
		margin-top: 0;
	}

	.windphy-footer__logo {
		transform: none;
	}

	#factory_main #section8 .footer.fp {
		padding-right: var(--wf-footer-pad-x);
		padding-left: max(
			var(--wf-footer-pad-x),
			calc((100% - 1200px) / 2 + var(--wf-footer-pad-x))
		);
	}

	.footer-wrap--windphy .footer-item--group {
		width: 96px;
	}

	.footer-wrap--windphy .footer-item--biz {
		width: 170px;
	}

	.footer-wrap--windphy .footer-item--solution {
		width: 120px;
	}
}

@media (max-width: 991px) {
	.windphy-footer__row {
		flex-wrap: wrap !important;
	}

	.windphy-footer__nav {
		flex-direction: column;
		width: 100%;
	}

	.footer-wrap--windphy .footer-item {
		width: 100% !important;
		margin: 0 0 20px !important;
	}

	.footer-wrap--windphy .footer-list a {
		white-space: normal;
	}
}
