/**
 * 页脚 typography 与四栏布局（参考 ljvogues 底部信息架构）。
 */
#footer p,
#footer .home-footer-cintro {
	font-size: 14px;
	line-height: 1.65;
}

#footer .footer-intro {
	font-size: 14px;
	line-height: 1.65;
	margin-top: 10px;
	margin-bottom: 14px;
}

#footer .ywx-footer-tagline {
	font-size: 13px;
	line-height: 1.5;
	margin: 8px 0 0;
	opacity: 0.92;
}

#footer h6 {
	font-size: 15px;
	font-weight: 700;
	margin-bottom: 14px;
}

.footer-menu li a {
	font-size: 13px;
	line-height: 1.8;
}

#footer .ywx-footer-main {
	padding-top: 8px;
}

#footer .ywx-footer-brand,
#footer .ywx-footer-nav,
#footer .ywx-footer-links,
#footer .ywx-footer-contact {
	margin-bottom: 28px;
}

#footer .ywx-footer-logo {
	display: inline-block;
	margin-bottom: 6px;
}

#footer .ywx-footer-social {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 12px;
	margin: 12px 0 0;
	padding: 0;
	list-style: none;
}

#footer .ywx-footer-social li {
	margin: 0;
	padding: 0;
}

#footer .ywx-footer-social li a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	font-size: 15px;
	opacity: 0.95;
}

/* 页脚不用横线分隔，以留白区分区块 */
#footer .social,
#footer .ywx-footer-social {
	border-top: 0 !important;
	border-bottom: 0 !important;
	padding-top: 0;
	margin-top: 12px;
}

#footer .ywx-footer-brand,
#footer .ywx-footer-nav,
#footer .ywx-footer-links,
#footer .ywx-footer-contact,
#footer .ywx-footer-panel,
#footer .friend,
#footer .ywx-footer-bar {
	border-top: 0 !important;
	border-bottom: 0 !important;
}

#footer .footer-phone ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

#footer .footer-phone ul li {
	font-size: 15px;
	line-height: 1.7;
	margin-bottom: 6px;
}

/* 电话行：图标与整段号码同一行（兼容旧 HTML 与新 contact-row 结构） */
#footer #bottom_tel,
#footer li.ywx-footer-contact-phone {
	display: flex;
	flex-direction: row;
	align-items: baseline;
	flex-wrap: nowrap;
	column-gap: 0.35em;
	letter-spacing: 0;
}

#footer .footer-phone ul li i {
	min-width: 18px;
	flex: 0 0 auto;
	text-align: center;
}

#footer .ywx-footer-contact-row {
	display: inline-flex;
	align-items: baseline;
	flex-wrap: nowrap;
	column-gap: 0.35em;
	flex: 1 1 auto;
	min-width: 0;
	max-width: 100%;
}

#footer .ywx-footer-contact-row > i.fa {
	flex: 0 0 auto;
	line-height: inherit;
}

#footer .ywx-footer-phone-inline {
	display: inline;
	white-space: nowrap;
	min-width: 0;
	flex: 1 1 auto;
}

#footer .ywx-footer-phone-inline a {
	white-space: nowrap;
}

#footer .ywx-footer-phone-sep {
	display: inline;
	opacity: 0.72;
	white-space: pre;
}

#footer .ywx-footer-certs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 14px 0 0;
	padding: 0;
	list-style: none;
}

#footer .ywx-footer-certs li {
	margin: 0;
}

#footer .ywx-footer-certs a {
	display: inline-block;
	transition: opacity 0.2s ease;
}

#footer .ywx-footer-certs a:hover {
	opacity: 0.9;
}

#footer .ywx-footer-certs img {
	width: 36px;
	height: 36px;
	object-fit: contain;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.92);
	padding: 4px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	filter: grayscale(0.2);
}

#footer .ywx-footer-contact,
#footer .footer-phone,
#footer .footer-phone ul,
#footer .footer-phone ul li,
#footer .ywx-footer-contact-row {
	overflow: visible;
}

#footer .ywx-footer-phone-pop {
	position: relative;
	display: inline-block;
	vertical-align: baseline;
}

#footer .ywx-footer-wechat-qr-pop {
	position: absolute;
	left: 50%;
	bottom: calc(100% + 10px);
	transform: translateX(-50%) translateY(6px);
	padding: 8px;
	background: #fff;
	border: 1px solid rgba(15, 23, 42, 0.12);
	border-radius: 10px;
	box-shadow: 0 12px 32px rgba(15, 23, 42, 0.16);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
	pointer-events: none;
	z-index: 30;
	white-space: nowrap;
}

#footer .ywx-footer-wechat-qr-pop img {
	display: block;
	width: 132px;
	height: 132px;
	object-fit: contain;
	border-radius: 6px;
}

#footer .ywx-footer-phone-pop:hover .ywx-footer-wechat-qr-pop,
#footer .ywx-footer-phone-pop:focus-within .ywx-footer-wechat-qr-pop {
	opacity: 1;
	visibility: visible;
	transform: translateX(-50%) translateY(0);
}

#footer .ywx-footer-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px 16px;
	padding: 16px 0 18px;
	margin-top: 8px;
	font-size: 13px;
	line-height: 1.6;
}

#footer .ywx-footer-bar__copy,
#footer .ywx-footer-bar__sitemap,
#footer .ywx-footer-bar__link,
#footer .ywx-footer-bar__link:link,
#footer .ywx-footer-bar__link:visited,
#footer .ywx-footer-bar .ywx-footer-icp {
	color: inherit;
	text-decoration: none;
}

#footer .ywx-footer-bar__copy {
	flex: 1 1 240px;
}

#footer .ywx-footer-bar__sitemap {
	flex: 0 0 auto;
	white-space: nowrap;
}

#footer .ywx-footer-bar__link:hover,
#footer .ywx-footer-bar .ywx-footer-icp:hover {
	text-decoration: underline;
}

#footer .ywx-footer-bar__sep {
	margin: 0 8px;
	opacity: 1;
}

#footer .friend {
	margin-top: 8px;
	padding-top: 0;
}

@media (max-width: 991px) {
	#footer .ywx-footer-brand,
	#footer .ywx-footer-contact {
		margin-bottom: 22px;
	}
}

@media (max-width: 767px) {
	#footer {
		padding-top: 28px !important;
		padding-bottom: 88px !important;
		text-align: left;
	}

	#footer .container {
		padding-left: 26px !important;
		padding-right: 26px !important;
	}

	#footer .ywx-footer-main {
		padding-top: 0;
		margin-left: 0 !important;
		margin-right: 0 !important;
	}

	#footer .ywx-footer-main > [class*="col-"] {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}

	#footer .ywx-footer-brand {
		text-align: center;
		margin-bottom: 4px !important;
		padding-bottom: 12px;
	}

	#footer .ywx-footer-logo {
		margin-bottom: 6px;
	}

	#footer .ywx-footer-logo img,
	#footer .ywx-footer-logo .home-footer-back {
		max-height: 52px !important;
		max-width: 200px !important;
		width: auto;
		height: auto;
	}

	#footer .ywx-footer-tagline {
		margin: 0;
		font-size: 13px;
		line-height: 1.45;
		opacity: 0.94;
	}

	#footer .footer-intro,
	#footer #footer_intro {
		display: none;
	}

	#footer .ywx-footer-social {
		justify-content: center;
		gap: 8px 12px;
		margin-top: 10px;
		padding-top: 0;
	}

	#footer .ywx-footer-social li {
		margin: 0;
	}

	#footer .ywx-footer-social li a {
		width: 32px;
		height: 32px;
		font-size: 14px;
		background: rgba(255, 255, 255, 0.12);
	}

	#footer .ywx-footer-nav,
	#footer .ywx-footer-links,
	#footer .ywx-footer-contact {
		width: 100%;
		margin-bottom: 0 !important;
		padding: 0;
	}

	#footer .ywx-footer-panel {
		margin-top: 2px;
	}

	#footer .ywx-footer-panel__toggle {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		width: 100%;
		min-height: 44px;
		padding: 10px 0;
		border: 0;
		background: transparent;
		color: inherit;
		cursor: pointer;
		text-align: left;
		-webkit-appearance: none;
		appearance: none;
		font: inherit;
		letter-spacing: 0.01em;
	}

	#footer .ywx-footer-panel__toggle,
	#footer .ywx-footer-panel__toggle .ywx-footer-panel__title,
	#footer .ywx-footer-panel__toggle .ywx-footer-panel__chevron {
		color: inherit;
	}

	#footer .ywx-footer-panel__title {
		font-size: 16px;
		font-weight: 700;
		line-height: 1.3;
		margin: 0;
	}

	#footer .ywx-footer-panel__chevron {
		flex: 0 0 auto;
		font-size: 11px;
		opacity: 0.78;
		transition: transform 0.22s ease, opacity 0.22s ease;
	}

	#footer .ywx-footer-panel.is-open .ywx-footer-panel__chevron {
		transform: rotate(180deg);
		opacity: 1;
	}

	#footer .ywx-footer-panel__body {
		display: none;
		padding: 2px 0 14px;
	}

	#footer .ywx-footer-panel.is-open .ywx-footer-panel__body {
		display: block;
	}

	#footer .ywx-footer-panel__body .footer-menu {
		margin: 0;
		padding: 0;
	}

	#footer .ywx-footer-panel__body .footer-menu li {
		margin: 0;
	}

	#footer .ywx-footer-panel__body .footer-menu li a {
		display: block;
		padding: 7px 0;
		font-size: 14px;
		line-height: 1.45;
		opacity: 0.96;
	}

	#footer .footer-phone ul li {
		display: flex;
		align-items: flex-start;
		flex-wrap: nowrap;
		column-gap: 0.5em;
		font-size: 14px;
		line-height: 1.55;
		margin-bottom: 8px;
		letter-spacing: 0;
	}

	#footer .footer-phone ul li:last-child {
		margin-bottom: 0;
	}

	#footer .footer-phone ul li i {
		margin-top: 2px;
		opacity: 0.92;
	}

	#footer #bottom_address {
		align-items: flex-start;
		font-size: 13px;
		line-height: 1.55;
		opacity: 0.92;
	}

	#footer #bottom_address [ywx-variable="company-address"],
	#footer #bottom_address span {
		flex: 1 1 auto;
		min-width: 0;
		word-break: break-word;
	}

	#footer .ywx-footer-certs {
		gap: 8px;
		margin-top: 12px;
	}

	#footer .ywx-footer-certs img {
		width: 34px;
		height: 34px;
		padding: 3px;
	}

	#footer .friend {
		margin-top: 4px;
		padding: 8px 0 2px;
		text-align: center;
		opacity: 0.9;
	}

	#footer .friend ul {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		gap: 6px 12px;
		padding: 0;
		margin: 0;
		list-style: none;
	}

	#footer .friend ul li {
		margin: 0;
		font-size: 12px;
		line-height: 1.4;
	}

	#footer .ywx-footer-bar {
		flex-direction: column;
		align-items: center;
		text-align: center;
		padding: 14px 0 0;
		margin-top: 6px;
		font-size: 12px;
		line-height: 1.6;
		gap: 8px;
		opacity: 0.94;
	}

	#footer .ywx-footer-bar__copy {
		flex: none;
		width: 100%;
		max-width: 320px;
	}

	#footer .ywx-footer-bar__sitemap {
		white-space: normal;
	}
}

@media (min-width: 768px) {
	#footer .ywx-footer-panel__toggle {
		display: block;
		width: 100%;
		padding: 0;
		margin-bottom: 14px;
		border: 0;
		background: transparent;
		color: inherit;
		pointer-events: none;
		text-align: left;
		cursor: default;
		-webkit-appearance: none;
		appearance: none;
		font: inherit;
	}

	#footer .ywx-footer-panel__toggle,
	#footer .ywx-footer-panel__toggle .ywx-footer-panel__title {
		color: inherit;
	}

	#footer .ywx-footer-panel__chevron {
		display: none;
	}

	#footer .ywx-footer-panel__body {
		display: block !important;
		padding-bottom: 0;
	}
}
