 * 全站统一页脚（静态页 + 与 WP footer 结构对齐的样式）
 */

.home-contact.index-idea-bg {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 100%;
	padding: 48px 24px;
	color: #fff;
	text-align: center;
	background: radial-gradient(
		90% 106.38% at 122.89% 49.97%,
		#8200fa 0%,
		#7200dc 9%,
		#5a00ad 25%,
		#450086 41%,
		#360067 56%,
		#2b0052 72%,
		#240045 86%,
		#220041 100%
	);
}

.home-contact.index-idea-bg h4 {
	font-size: 18px;
	font-weight: 400;
	line-height: 1.5;
	margin: 0 0 14px;
	padding: 0;
	opacity: 0.92;
	color: #fff;
}

.home-contact.index-idea-bg h2 {
	font-size: clamp(22px, 3vw, 32px);
	font-weight: 700;
	margin: 0 0 28px;
	padding: 0;
	line-height: 1.45;
	color: #fff;
}

.home-contact .info-detail a,
.home-contact .info-detail a.vc_btn3,
.home-contact .vc_btn3,
.home-contact a.vc_general.vc_btn3 {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	box-sizing: border-box;
	padding: 12px 28px;
	border: 1px solid transparent;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.95) !important;
	color: #220041 !important;
	font-weight: 600;
	text-decoration: none;
	transform: none;
	transition: box-shadow 0.25s ease, color 0.25s ease, background-color 0.25s ease;
}

.home-contact .info-detail a:hover,
.home-contact .info-detail a.vc_btn3:hover,
.home-contact .vc_btn3:hover,
.home-contact a.vc_general.vc_btn3:hover {
	transform: none !important;
	scale: 1 !important;
	border: 1px solid transparent !important;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
	color: #8200fa !important;
	text-decoration: none !important;
}

/* WordPress 首页：覆盖 theme style.css 花瓣纹理与 600px 高度 */
.home-contact.index-idea-bg::before,
.home-contact.index-idea-bg::after {
	content: none;
	display: none;
}

.home-contact {
	min-height: 0 !important;
	height: auto !important;
	border-top: 0 !important;
}

.home-contact.index-idea-bg {
	background: radial-gradient(
		90% 106.38% at 122.89% 49.97%,
		#8200fa 0%,
		#7200dc 9%,
		#5a00ad 25%,
		#450086 41%,
		#360067 56%,
		#2b0052 72%,
		#240045 86%,
		#220041 100%
	);
	background-color: transparent;
}

.home-contact .info-detail {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	max-width: 960px;
	margin: 0 auto;
	padding: 0;
	text-align: center;
}

.home-contact h2 {
	line-height: 1.35;
	margin-bottom: 24px;
	font-weight: 700;
}

.home-contact .info-detail a {
	border: none;
	font-size: inherit;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

@media (max-width: 767px) {
	.home-contact {
		min-height: 0;
	}

	.home-contact.index-idea-bg {
		padding: 36px 20px;
	}
}

footer.ed-site-footer,
footer.ed-site-footer--earth {
	position: relative;
	overflow: hidden;
	color: #fff;
	padding: 40px 0 0;
	margin-top: 0;
}

footer.ed-site-footer .ed-site-footer__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

.ed-site-footer__grid {
	display: grid;
	grid-template-columns: minmax(260px, 1fr) minmax(0, 1.4fr);
	gap: 32px 40px;
	align-items: start;
}

.ed-site-footer__locations {
	display: flex;
	gap: 0;
}

.ed-site-footer__cities {
	list-style: none;
	margin: 0;
	padding: 0;
	border-right: 1px solid rgba(255, 255, 255, 0.35);
	flex: 0 0 auto;
}

.ed-site-footer__cities li {
	margin: 0;
}

.ed-site-footer__cities a {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
	padding: 8px 24px 8px 0;
	font-size: 28px;
	line-height: 1.2;
	color: rgba(255, 255, 255, 0.7);
	text-decoration: none;
	position: relative;
	white-space: nowrap;
}

.ed-site-footer__cities li.is-active a {
	color: #fff;
	opacity: 1;
}

.ed-site-footer__cities li.is-active .ed-site-footer__city-arrow {
	display: block;
}

.ed-site-footer__city-arrow {
	display: none;
	position: absolute;
	right: -11px;
	top: 50%;
	margin-top: -11px;
	width: 0;
	height: 0;
	border: 11px solid transparent;
	border-left-color: #fff;
	border-right-width: 0;
}

.ed-site-footer__panels {
	flex: 1;
	padding: 0 0 0 40px;
	min-width: 0;
}

.ed-site-footer__panel {
	display: none;
}

.ed-site-footer__panel.is-active {
	display: block;
}

.ed-site-footer__panel p {
	margin: 0 0 14px;
	line-height: 1.9;
	font-size: 15px;
	color: rgba(255, 255, 255, 0.88);
}

.ed-site-footer__menus {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px 20px;
}

.ed-site-footer__menu-col ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ed-site-footer__menu-col li {
	line-height: 2.2;
	font-size: 14px;
	margin-bottom: 2px;
}

.ed-site-footer__menu-col li:first-child {
	font-size: 18px;
	margin-bottom: 10px;
	font-weight: 600;
}

.ed-site-footer__menu-col a {
	color: rgba(255, 255, 255, 0.7);
	text-decoration: none;
	transition: color 0.2s ease;
}

.ed-site-footer__menu-col a:hover {
	color: #f024f6;
}

.ed-site-footer__bottom {
	margin-top: 30px;
	padding: 28px 20px 52px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
}

/* WP 首页 footer-bottom 与静态页底栏统一留白 */
footer.ed-site-footer .footer-bottom {
	padding: 28px 20px 52px;
}

.ed-site-footer__bottom-inner {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

footer.ed-site-footer .ed-site-footer__copyright p,
footer.ed-site-footer .footer-bottom .copyright p,
.ed-site-footer__copyright p {
	margin: 0 0 20px;
	font-size: 14px;
	line-height: 2.15;
}

footer.ed-site-footer .ed-site-footer__copyright p + p,
footer.ed-site-footer .footer-bottom .copyright p + p {
	margin-top: 14px;
}

footer.ed-site-footer .ed-site-footer__copyright p:last-child,
footer.ed-site-footer .footer-bottom .copyright p:last-child {
	margin-bottom: 0;
}

.ed-site-footer__copyright a,
footer.ed-site-footer .footer-bottom .copyright p a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	flex-wrap: nowrap;
	color: #fff;
	text-decoration: none;
	white-space: nowrap;
}

.ed-site-footer__copyright a:hover,
footer.ed-site-footer .footer-bottom .copyright p a:hover {
	color: #f024f6;
}

/* 覆盖 Tailwind preflight：img { display:block } 导致图标与文字分行 */
footer.ed-site-footer .ed-site-footer__copyright img,
footer.ed-site-footer .footer-bottom .copyright img,
.ed-site-footer__copyright img {
	display: inline-block !important;
	vertical-align: middle;
	width: 30px;
	height: 30px;
	max-width: none !important;
	margin: 0;
	flex-shrink: 0;
}

.ed-site-footer__social ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 10px;
}

.ed-site-footer__social a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 35px;
	height: 35px;
	border-radius: 50%;
	background: #fff;
	color: #333;
	font-size: 17px;
	text-decoration: none;
	transition: all 0.35s ease;
}

.ed-site-footer__social a i.ph {
	font-size: 17px;
	line-height: 1;
}

.ed-site-footer__social a svg {
	display: block;
	flex-shrink: 0;
}

.ed-site-footer__social a svg.ed-icon-weibo {
	width: 15px;
	height: 15px;
}

.ed-site-footer__social a:hover {
	background: #f024f6;
	color: #fff;
	transform: scale(1.15);
}

.ed-site-footer__social a.wechat:hover {
	background: #03d96a;
}

.ed-site-footer__social a.facebook:hover {
	background: #1278f3;
}

.ed-site-footer__social a.linkedin:hover {
	background: #0b66c1;
}

.ed-site-footer__social a.weibo:hover {
	background: #fedd6b;
	color: #f024f6;
}

@media (min-width: 1025px) {
	footer.ed-site-footer .ed-site-footer__bottom,
	footer.ed-site-footer .footer-bottom {
		padding-bottom: 56px;
	}
}

@media (max-width: 991px) and (min-width: 769px) {
	.ed-site-footer__grid {
		grid-template-columns: 1fr;
	}

	.ed-site-footer__menus {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ed-site-footer__cities a {
		font-size: 22px;
	}
}

/*
 * 移动端（≤1024px）：与 eastdigi.com 首页一致
 * 同时支持 .ed-site-footer--mobile-compact（JS 兜底，防样式被覆盖）
 */
@media (max-width: 1024px) {
	footer.ed-site-footer {
		--ed-footer-mobile-social-gap: 36px;
	}

	footer.ed-site-footer.ed-site-footer--mobile-compact .ed-site-footer__grid,
	footer.ed-site-footer.ed-site-footer--mobile-compact .ed-site-footer__locations,
	footer.ed-site-footer.ed-site-footer--mobile-compact .ed-site-footer__menus,
	footer.ed-site-footer .ed-site-footer__grid,
	footer.ed-site-footer .ed-site-footer__locations,
	footer.ed-site-footer .ed-site-footer__menus {
		display: none !important;
		height: 0 !important;
		overflow: hidden !important;
		margin: 0 !important;
		padding: 0 !important;
		visibility: hidden !important;
	}

	footer.ed-site-footer.ed-site-footer--mobile-compact .ed-site-footer__inner,
	footer.ed-site-footer .ed-site-footer__inner {
		display: none !important;
	}

	footer.ed-site-footer,
	footer.ed-site-footer--earth {
		padding-top: 0;
		padding-bottom: env(safe-area-inset-bottom, 0);
	}

	/* 静态页 .ed-site-footer__bottom + WP 首页 .footer-bottom */
	footer.ed-site-footer .ed-site-footer__bottom,
	footer.ed-site-footer .footer-bottom {
		margin-top: 0;
		padding: 40px 20px calc(48px + env(safe-area-inset-bottom, 0px));
		border-top: none;
	}

	footer.ed-site-footer .ed-site-footer__bottom-inner,
	footer.ed-site-footer .footer-bottom .row {
		display: flex !important;
		flex-direction: column !important;
		align-items: center !important;
		text-align: center;
		gap: 0 !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
	}

	footer.ed-site-footer .footer-bottom .row > [class*="col-"] {
		width: 100% !important;
		max-width: 100% !important;
		flex: 0 0 auto !important;
		padding-left: 0 !important;
		padding-right: 0 !important;
	}

	footer.ed-site-footer .footer-bottom .copyright,
	footer.ed-site-footer .footer-bottom .footer-social,
	footer.ed-site-footer .ed-site-footer__copyright,
	footer.ed-site-footer .ed-site-footer__social {
		width: 100%;
	}

	/* 苏公网安备与社交图标：Bootstrap .row 下 gap 常失效，用 margin-top 强制拉开 */
	footer.ed-site-footer .ed-site-footer__bottom-inner > .ed-site-footer__copyright + .ed-site-footer__social,
	footer.ed-site-footer .footer-bottom .row > [class*="col-"]:first-child + [class*="col-"],
	footer.ed-site-footer .ed-site-footer__social,
	footer.ed-site-footer .footer-bottom .footer-social,
	footer.ed-site-footer .footer-bottom .row > [class*="col-"]:last-child {
		margin-top: var(--ed-footer-mobile-social-gap, 36px) !important;
		padding-top: 0 !important;
	}

	footer.ed-site-footer .footer-bottom .footer-social ul,
	footer.ed-site-footer .ed-site-footer__social ul {
		justify-content: center;
		margin-top: 0 !important;
		padding-top: 0 !important;
	}

	footer.ed-site-footer .ed-site-footer__copyright p,
	footer.ed-site-footer .footer-bottom .copyright p {
		font-size: 12px;
		line-height: 2.05 !important;
		margin-bottom: 18px !important;
	}

	footer.ed-site-footer .footer-bottom .copyright p + p,
	footer.ed-site-footer .ed-site-footer__copyright p + p {
		margin-top: 12px !important;
	}

	footer.ed-site-footer .footer-bottom .copyright p:last-child,
	footer.ed-site-footer .ed-site-footer__copyright p:last-child {
		margin-bottom: 0 !important;
	}

	footer.ed-site-footer .ed-site-footer__copyright a,
	footer.ed-site-footer .footer-bottom .copyright p a {
		display: inline-flex !important;
		align-items: center !important;
		justify-content: center;
		gap: 6px;
		white-space: normal;
		text-align: center;
	}

	footer.ed-site-footer .ed-site-footer__copyright img,
	footer.ed-site-footer .footer-bottom .copyright img {
		display: inline-block !important;
		width: 24px !important;
		height: 24px !important;
		max-width: none !important;
		margin: 0 !important;
		flex-shrink: 0;
	}

	footer.ed-site-footer .ed-site-footer__social ul {
		justify-content: center;
		flex-wrap: wrap;
		gap: 8px;
	}

	footer.ed-site-footer .ed-site-footer__social a,
	footer.ed-site-footer .footer-bottom .footer-social a {
		width: 32px;
		height: 32px;
		font-size: 15px;
	}

	.home-contact.index-idea-bg {
		padding: 40px 20px;
	}

	.home-contact.index-idea-bg h4 {
		font-size: 15px;
		margin-bottom: 12px;
	}

	.home-contact.index-idea-bg h2 {
		font-size: clamp(18px, 5vw, 22px);
		margin-bottom: 24px;
	}

	.home-contact .info-detail a,
	.home-contact .vc_btn3 {
		padding: 10px 22px;
		font-size: 14px;
	}
}

@media (max-width: 480px) {
	footer.ed-site-footer {
		--ed-footer-mobile-social-gap: 36px;
	}

	footer.ed-site-footer .ed-site-footer__bottom,
	footer.ed-site-footer .footer-bottom {
		padding-top: 44px;
		padding-bottom: calc(52px + env(safe-area-inset-bottom, 0px));
	}

	footer.ed-site-footer .ed-site-footer__bottom-inner > .ed-site-footer__copyright + .ed-site-footer__social,
	footer.ed-site-footer .footer-bottom .row > [class*="col-"]:first-child + [class*="col-"],
	footer.ed-site-footer .ed-site-footer__social,
	footer.ed-site-footer .footer-bottom .footer-social,
	footer.ed-site-footer .footer-bottom .row > [class*="col-"]:last-child {
		margin-top: var(--ed-footer-mobile-social-gap, 36px) !important;
	}

	footer.ed-site-footer .ed-site-footer__social ul,
	footer.ed-site-footer .footer-bottom .footer-social ul {
		max-width: 100%;
	}
}

/* 页脚二维码单图 Fancybox：仅保留关闭按钮，确保可点击 */
.ed-footer-qr-fancybox .fancybox__toolbar,
.ed-footer-qr-fancybox .fancybox__nav {
	pointer-events: none;
}

.ed-footer-qr-fancybox .fancybox__toolbar .f-button,
.ed-footer-qr-fancybox .fancybox__backdrop {
	pointer-events: auto;
}

.ed-footer-qr-fancybox .fancybox__toolbar .f-button.is-close-btn {
	z-index: 50;
	opacity: 1;
}

/*
 * 全站页脚间距锁定（与 partials/ed-site-footer-assets-late 内联兜底一致）
 * 修改时请同步 ed-site-footer-assets-late.html 与 inc/ed-site-footer-assets-late.php
 */
footer.ed-site-footer.ed-site-footer--earth .ed-site-footer__copyright p,
footer.ed-site-footer.ed-site-footer--earth .footer-bottom .copyright p {
	line-height: 2.15;
	margin-bottom: 20px;
}

footer.ed-site-footer.ed-site-footer--earth .ed-site-footer__copyright p + p,
footer.ed-site-footer.ed-site-footer--earth .footer-bottom .copyright p + p {
	margin-top: 14px;
}
