/* 由 functions.php 以 media=(max-width:980px) 加载，勿写入无 media 的全局 PC 规则 */

/* Banner 立即咨询按钮小屏 */
.banner-consult-cta {
	width: auto;
	max-width: 100%;
}

.banner-consult-cta:hover {
	opacity: 1;
}

/* 版心与媒体兜底 */
.section {
	width: 100% !important;
	max-width: 100% !important;
	padding-left: 1rem;
	padding-right: 1rem;
	box-sizing: border-box;
}

/* 内页 PC 写 .section { 100rem } 会把 #page 撑宽，导致子元素 width:100% 按 1600px 计算 */
#page.site {
	width: 100% !important;
	max-width: 100vw !important;
	overflow-x: clip;
	box-sizing: border-box;
}

/* home-banner：内联 .is-hero-content { padding:0 } 会冲掉 .section 左右 1rem */
.is-hero-content.section {
	padding-left: 1rem !important;
	padding-right: 1rem !important;
}

img,
video,
svg {
	max-width: 100%;
	height: auto;
}

/* 小屏根字号固定 16px，保证菜单与正文可读（不得低于 16px） */
html {
	font-size: 16px !important;
}

.site-main h1,
.is-view-home h1,
h1.fusion-responsive-typography-calculated {
	font-size: clamp(2rem, 5.5vw, 3.125rem) !important;
	line-height: 1.25 !important;
}

.site-main h2,
.is-view-home h2,
h2.fusion-responsive-typography-calculated {
	font-size: clamp(1.875rem, 4vw, 2.5rem) !important;
	line-height: 1.3 !important;
}

.is-view-home .font-banner-main {
	font-size: clamp(2rem, 5.5vw, 3.125rem) !important;
	line-height: 1.25 !important;
}

.is-view-home .font-module-title {
	font-size: 1.75rem !important;
	line-height: 1.3 !important;
}


.top-banner {
	height: 28.75rem !important;
	min-height: 28.75rem !important;
}

.is-view-home .is-hero.top-banner {
	height: 31.25rem !important;
	min-height: 31.25rem !important;
}
.site-main h2,
.site-main .font-module-title,
.site-main h2[class*="module-title"],
.site-main h2[class*="tagline"],
.site-main h2[class*="values-title"],
.site-main h2[class*="values__heading"],
.site-main h2[class*="scenes__title"],
.site-main h2[class*="section__title"],
.site-main h2.about-profile__heading,
.site-main h2.about-impact__title,
.site-main h2.about-team__title,
.site-main h2.mine-home-cases-title,
.site-main h2.news-carousel__title,
.site-main h2.news-list-section__title,
.site-main h2.partner-clients-cta__title {
	font-size: 1.75rem !important;
	line-height: 2.3125rem !important;
}

.site-main .font-module-subtitle {
	font-size: 1.375rem !important;
	line-height: 1.8125rem !important;
}

/* PC 为断句插入的 br，小屏交给自动换行（若某页布局依赖 br 再收窄选择器） */
.site-main br {
	display: none !important;
}

/* 首页案例：去掉侧栏切换按钮 */
.home-cases-nav {
	display: none !important;
	pointer-events: none !important;
}

/* 产品手风琴：去掉装饰性翻页按钮 */
.is-view-home .product-icon {
	display: none !important;
}

/* 若模块启用 Swiper 默认箭头则隐藏 */
.is-view-home .swiper-button-next,
.is-view-home .swiper-button-prev {
	display: none !important;
}

/* 固定头占位：小屏主导航条高度 60px（顶条由脚本离场或审核隐藏） */
.header-v2-container .header-main-bar {
	height: 60px !important;
	min-height: 60px !important;
	max-height: 60px !important;
	box-sizing: border-box;
	/* 小屏不用 PC 内阴影底边，避免与 60px 固定高、抽屉导航冲突 */
	box-shadow: none !important;
	border-bottom: 1px solid #c9cdd6;
}
.header-v2-container.has-hero-header .header-main-bar {
	border-bottom-color: transparent;
}
#masthead.v2-is-scrolled .header-v2-container .header-main-bar,
#masthead:hover .header-v2-container .header-main-bar,
.header-v2-container.has-fixed-header .header-main-bar {
	border-bottom-color: #c9cdd6;
}

/* 头部版心：禁止 width:100% 相对被撑宽的 #page（≈1600px），统一以视口为上限 */
.site-header .header-main-bar,
.site-header .section.header-main-inner,
.header-v2-container .header-top-bar .section {
	width: 100% !important;
	max-width: 100vw !important;
	padding-left: 1rem !important;
	padding-right: 1rem !important;
	box-sizing: border-box;
}
.site-header .header-v2-container,
.site-header .section.header-main-inner {
	padding-left: 0rem !important;
	padding-right: 0rem !important;
}
.site-header {
	position: fixed !important;
	top: 0 !important;
	left: 0 !important;
	right: 0 !important;
	z-index: 2000 !important;
	width: auto !important;
	max-width: none !important;
	overflow: visible;
}

.header-main-bar {
	overflow: visible;
}

.site-header .header-main-inner.flex {
	position: relative;
	width: 100% !important;
	max-width: 100vw !important;
	box-sizing: border-box;
}

.site-header .site-branding {
	flex: 1 1 auto;
	min-width: 0;
	max-width: calc(100vw - 4.5rem);
}

/* 小屏主导航迁入抽屉，顶栏 flex 仅保留 Logo + 汉堡（避免宽菜单撑出视口） */
.header-nav-wrap:not(.is-nav-ported) {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.header-nav-wrap.is-nav-ported {
	position: static !important;
	width: auto !important;
	height: auto !important;
	margin: 0 !important;
	clip: auto !important;
	overflow: visible !important;
}

.site-header .header-mobile-menu-toggle {
	flex: 0 0 auto;
	margin-left: auto;
}

/* 固定头占位：内页主内容下移 60px；首页 Hero 不占位（头浮在 Banner 上） */
:root {
	--site-header-offset-mobile: 3.75rem;
}

/* 小屏不用 #page 的 PC 顶距（header-menu 内联 6.875rem），避免与 .site-main 双重留白 */
#page:has(.has-fixed-header),
#page.has-fixed-header-padding,
.is-audit-lock #page:has(.has-fixed-header),
.is-audit-lock #page.has-fixed-header-padding {
	padding-top: 0 !important;
}

#page:has(.has-fixed-header) > .site-main,
#page.has-fixed-header-padding > .site-main {
	padding-top: var(--site-header-offset-mobile) !important;
}

#page:has(.has-hero-header) > .site-main {
	padding-top: 0 !important;
}

html {
	scroll-padding-top: var(--site-header-offset-mobile);
}

/* 内页首屏模块曾单独预留头高，改由 .site-main 统一占位后收拢 */
#page:has(.has-fixed-header) .is-view-single-post .news-intro {
	padding-top: 2.5rem;
}

/* 顶条过高时仍可缩小占位：与单栏主导航对齐 */
.header-top-bar.is-mobile-collapsed {
	display: none;
}

/* Logo 区（小屏放大可读；须覆盖 header-menu 内联 22.75rem） */
.site-header .site-branding a {
	display: block !important;
	width: auto !important;
	max-width: min(17.5rem, calc(100vw - 4.5rem)) !important;
	height: auto !important;
	min-height: 1.375rem;
}

/* 压过页面后置入队的全局 .section { 100rem }（仅主内容区，不含已单独处理的页脚/头部） */
#page .site-main .section {
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box;
}

/* 小屏：咨询热线为右侧固定浮钮，顶栏与抽屉内均不外露 */
.header-cta-wrapper {
	display: none !important;
}

.header-cta-btn--pc {
	display: none !important;
}

.header-cta-btn--tel {
	display: none !important;
}

.header-cta-popup {
	display: none !important;
	visibility: hidden !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

/* 主导航区：桌面横向菜单隐藏，仅保留汉堡占位 */
.header-nav-wrap .main-navigation {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* 导航迁回抽屉后释放占位（由 JS 将 #site-navigation 移入抽屉时父级可能为空，此处兼容） */
.header-nav-wrap.is-nav-ported .main-navigation {
	position: static;
	width: auto;
	height: auto;
	clip: auto;
	overflow: visible;
	margin: 0;
}

.nav-sliding-line {
	display: none !important;
}

.header-main-inner {
	gap: 0.75rem;
	min-width: 0;
}

.header-cta-wrapper {
	margin-left: 0;
	flex-shrink: 0;
}

/* 汉堡按钮 */
.header-mobile-menu-toggle {
	display: inline-flex !important;
	align-items: center;
	justify-content: end;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0;
	margin: 0;
	border: none;
	background: transparent;
	cursor: pointer;
	border-radius: 0.25rem;
	flex-shrink: 0;
	position: relative;
	z-index: 5;
	-webkit-tap-highlight-color: transparent;
}

.header-mobile-menu-toggle:focus-visible {
	outline: 2px solid #35A0FF;
	outline-offset: 2px;
}

.header-mobile-menu-toggle__bar {
	display: block;
	width: 1.25rem;
	height: 2px;
	background: #37414C;
	position: relative;
}

/* v2-is-scrolled 在 #masthead 上，不在 .has-hero-header 上：透明顶栏未滚动时汉堡为白 */
#masthead:not(.v2-is-scrolled):not(:hover) .header-v2-container.has-hero-header .header-mobile-menu-toggle__bar {
	background: #ffffff;
}

#masthead.v2-is-scrolled .header-mobile-menu-toggle__bar,
.site-header:hover .header-mobile-menu-toggle__bar,
.header-v2-container:not(.has-hero-header) .header-mobile-menu-toggle__bar {
	background: #37414C;
}

#masthead:not(.v2-is-scrolled):not(:hover) .header-v2-container.has-hero-header .header-mobile-menu-toggle:focus-visible {
	outline-color: rgba(255, 255, 255, 0.85);
}

.header-mobile-menu-toggle__bar::before,
.header-mobile-menu-toggle__bar::after {
	content: "";
	position: absolute;
	left: 0;
	width: 100%;
	height: 2px;
	background: inherit;
}

.header-mobile-menu-toggle__bar::before {
	top: -6px;
}

.header-mobile-menu-toggle__bar::after {
	top: 6px;
}

/* 全屏抽屉（挂在 body 下，避免 header transform 影响 fixed） */
.header-mobile-drawer {
	position: fixed;
	inset: 0;
	z-index: 3001;
	pointer-events: none;
	visibility: hidden;
	transition: visibility 0.6s ease;
}

.header-mobile-drawer.is-open {
	pointer-events: auto;
	visibility: visible;
}

.header-mobile-drawer__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(23, 38, 68, 0.45);
	opacity: 0;
	transition: opacity 0.6s ease;
}

.header-mobile-drawer.is-open .header-mobile-drawer__backdrop {
	opacity: 1;
}

.header-mobile-drawer__panel {
	position: absolute;
	inset: 0;
	width: 100%;
	max-width: 100%;
	height: 100%;
	max-height: 100dvh;
	background: #ffffff;
	box-shadow: none;
	transform: translateX(100%);
	transition: transform 0.6s ease;
	display: flex;
	flex-direction: column;
	min-height: 0;
}

.header-mobile-drawer.is-open .header-mobile-drawer__panel {
	transform: translateX(0);
}

.header-mobile-drawer__head {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	padding: 0.75rem 1rem;
	border-bottom: 1px solid #e8eaef;
}

.header-mobile-drawer__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0;
	border: none;
	background: transparent;
	font-size: 1.75rem;
	line-height: 1;
	color: #37414C;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}

.header-mobile-drawer__close:focus-visible {
	outline: 2px solid #35A0FF;
}

.header-mobile-drawer__panel-inner {
	flex: 1;
	display: flex;
	flex-direction: column;
	min-height: 0;
}

.header-mobile-drawer__body-scroller {
	flex: 1;
	min-height: 0;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}

.header-mobile-drawer__body {
	padding: 0.5rem 0 1rem;
}

/* 小屏：咨询热线固定于视口右侧垂直居中（仅图标，tel 拨号） */
.header-mobile-tel-fab {
	position: fixed;
	inset: 58% 5px auto auto;
	transform: translateY(-50%);
	box-sizing: border-box;
	z-index: 2147482200;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 47.3px;
	height: 47.3px;
	border-radius: 50%;
	background: #35a0ff;
	box-shadow: 0 0.125rem 0.5rem rgba(23, 38, 68, 0.2);
	text-decoration: none;
	-webkit-tap-highlight-color: transparent;
	transition: background 0.6s ease, box-shadow 0.6s ease;
}

.header-mobile-tel-fab:active {
	background: #266ac9;
}

.header-mobile-tel-fab:focus-visible {
	outline: 2px solid #35a0ff;
	outline-offset: 2px;
}

.header-mobile-tel-fab__icon {
	width: 1.375rem;
	height: 1.375rem;
	object-fit: contain;
	flex-shrink: 0;
	filter: brightness(0) invert(1);
}

/* 抽屉内菜单树 */
.header-mobile-drawer .main-navigation {
	position: static;
	width: 100%;
	height: auto;
	margin: 0;
	/* 右侧多留空：旋转后的边框箭头会超出占位盒，避免被 body-scroller 横向裁切 */
	padding: 0 1rem 0 1rem;
	padding-inline-end: 1.375rem;
	overflow: visible;
	clip: auto;
	white-space: normal;
}

.header-mobile-drawer .main-navigation .menu {
	flex-direction: column;
	align-items: stretch;
	gap: 0;
}

.header-mobile-drawer .main-navigation .menu > li {
	padding: 0;
	min-width: 0;
	border-bottom: 1px solid #eef0f4;
}

/* 抽屉菜单层级缩进：每深入一层 +1rem（一级对齐导航版心，不单加） */
.header-mobile-drawer .main-navigation .menu > li > a {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 0.5rem;
	min-height: 2.75rem;
	line-height: 1.3;
	padding: 0.5rem 0;
	padding-inline-start: 0;
	color: #37414c !important;
	font-size: 16px !important;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	box-sizing: border-box;
}

/* 有子级的链接：文字可收缩换行，箭头靠右（勿用 space-between） */
.header-mobile-drawer .main-navigation li.menu-item-has-children > a {
	padding-inline-end: 0.25rem;
}

/*
 * 抽屉内箭头：必须压过 header-menu.php 内联里的
 * .main-navigation ul:not(.sub-menu-l2) > li.menu-item-has-children > a::after（SVG、扁宽高），
 * 否则仍会套用桌面 width/height，与边框画法叠加会像「缺半边」。
 */
.header-mobile-drawer .main-navigation ul:not(.sub-menu-l2) > li.menu-item-has-children > a::after,
.header-mobile-drawer .main-navigation ul.sub-menu li.menu-item-has-children > a::after,
.header-mobile-drawer .main-navigation ul.sub-menu-l2 > li.menu-item-has-children > a::after {
	content: "" !important;
	display: block !important;
	width: 0.5rem !important;
	height: 0.5rem !important;
	min-width: 0.5rem !important;
	min-height: 0.5rem !important;
	margin-left: auto !important;
	margin-right: 0.125rem !important;
	margin-top: 0 !important;
	margin-bottom: 0.125rem !important;
	padding: 0 !important;
	border: none !important;
	border-right: 2px solid #99a0ad !important;
	border-bottom: 2px solid #99a0ad !important;
	background: none !important;
	background-image: none !important;
	filter: none !important;
	transform: rotate(45deg) !important;
	transition: transform 0.6s ease, margin-bottom 0.6s ease;
	flex-shrink: 0;
	box-sizing: border-box;
	vertical-align: middle;
}

/* 收起态：压过 header 内联里 PC 的 hover / current-*（rotate(180deg) + SVG） */
.header-mobile-drawer .main-navigation li.menu-item-has-children:hover > a::after,
.header-mobile-drawer .main-navigation li.menu-item-has-children.current-menu-item > a::after,
.header-mobile-drawer .main-navigation li.menu-item-has-children.current-menu-ancestor > a::after,
.header-mobile-drawer .main-navigation li.menu-item-has-children.current_page_item > a::after,
.header-mobile-drawer .main-navigation li.menu-item-has-children.current_page_ancestor > a::after {
	transform: rotate(45deg) !important;
	background-image: none !important;
	filter: none !important;
}

.header-mobile-drawer .main-navigation li.menu-item-has-children.is-open > a::after,
.header-mobile-drawer .main-navigation li.menu-item-has-children.is-open:hover > a::after,
.header-mobile-drawer .main-navigation li.menu-item-has-children.is-open.current-menu-ancestor > a::after,
.header-mobile-drawer .main-navigation li.menu-item-has-children.is-open.current-menu-item > a::after {
	transform: rotate(-135deg) !important;
	margin-bottom: -0.0625rem !important;
	background-image: none !important;
	filter: none !important;
}

/* 子菜单：仅由 .is-open 控制（!important 压过 header 内联里的 :hover） */
.header-mobile-drawer .main-navigation ul.sub-menu {
	position: static !important;
	left: auto !important;
	top: auto !important;
	transform: none !important;
	display: none !important;
	box-shadow: none !important;
	/* 抵消 .main-navigation 左右 padding，灰底与抽屉内容区同宽；内边距与一级对齐 */
	margin-left: -1rem !important;
	margin-right: -1.375rem !important;
	width: calc(100% + 1rem + 1.375rem) !important;
	max-width: none !important;
	box-sizing: border-box !important;
	padding: 0.5rem 1rem 0.5rem 1rem !important;
	padding-inline-end: 1.375rem !important;
	margin-bottom: 0.25rem !important;
	text-align: left !important;
	align-items: stretch !important;
	background: #f7f8fa !important;
	border-radius: 0 !important;
}

.header-mobile-drawer .main-navigation li.menu-item-has-children:hover > ul.sub-menu {
	display: none !important;
}

.header-mobile-drawer .main-navigation li.menu-item-has-children.is-open > ul.sub-menu {
	display: block !important;
}

.header-mobile-drawer .main-navigation li.menu-item-has-children.is-open:hover > ul.sub-menu {
	display: block !important;
}

.header-mobile-drawer .main-navigation ul.sub-menu::before {
	display: none;
}

.header-mobile-drawer .main-navigation ul.sub-menu > li {
	margin-bottom: 0.25rem;
	width: 100% !important;
	max-width: 100% !important;
	text-align: left !important;
	align-self: stretch !important;
	box-sizing: border-box;
}

.header-mobile-drawer .main-navigation ul.sub-menu > li > a {
	white-space: normal !important;
	line-height: 1.4;
	padding: 0.5rem 0;
	padding-inline-start: 1rem;
	padding-inline-end: 0.25rem;
	min-height: 2.75rem;
	min-width: 0;
	width: 100% !important;
	max-width: 100% !important;
	display: flex !important;
	align-items: center;
	justify-content: flex-start !important;
	text-align: left !important;
	gap: 0.375rem;
	font-size: 16px !important;
	box-sizing: border-box;
}

/* 普通下拉内再嵌套一层 sub-menu（若有） */
.header-mobile-drawer .main-navigation ul.sub-menu ul.sub-menu > li > a {
	padding-inline-start: 2rem !important;
}

/* Mega：二级改纵向 */
.header-mobile-drawer .main-navigation li.has-mega > ul.sub-menu {
	flex-direction: column !important;
	align-items: stretch !important;
	gap: 0;
	margin-left: -1rem !important;
	margin-right: -1.375rem !important;
	width: calc(100% + 1rem + 1.375rem) !important;
	max-width: none !important;
	box-sizing: border-box !important;
	padding: 0.5rem 1rem 0.5rem 1rem !important;
	padding-inline-end: 1.375rem !important;
}

.header-mobile-drawer .main-navigation li.has-mega:hover > ul.sub-menu {
	display: none !important;
}

.header-mobile-drawer .main-navigation li.has-mega.is-open > ul.sub-menu {
	display: flex !important;
	flex-direction: column !important;
	align-items: stretch !important;
}

.header-mobile-drawer .main-navigation li.has-mega.is-open:hover > ul.sub-menu {
	display: flex !important;
	flex-direction: column !important;
	align-items: stretch !important;
}

.header-mobile-drawer .main-navigation li.has-mega > ul.sub-menu > li {
	width: 100% !important;
	max-width: 100% !important;
	text-align: left !important;
}

.header-mobile-drawer .main-navigation li.has-mega > ul.sub-menu > li > a {
	pointer-events: auto !important;
	border-bottom: none;
	padding-bottom: 0.25rem;
	padding-top: 0.5rem;
	padding-inline-start: 1rem;
	padding-inline-end: 0.25rem;
	white-space: normal !important;
	font-size: 16px !important;
	min-width: 0;
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box;
	display: flex !important;
	align-items: center !important;
	justify-content: flex-start !important;
	text-align: left !important;
}

.header-mobile-drawer .main-navigation li.has-mega > ul.sub-menu .sub-menu-l3 {
	margin-top: 0.25rem;
	width: 100% !important;
	max-width: 100% !important;
	text-align: left !important;
}

.header-mobile-drawer .main-navigation li.has-mega > ul.sub-menu .sub-menu-l3 a {
	white-space: normal !important;
	font-size: 16px !important;
	display: flex !important;
	align-items: center !important;
	justify-content: flex-start !important;
	width: 100% !important;
	max-width: 100% !important;
	padding-inline-start: 2rem;
	text-align: left !important;
	box-sizing: border-box;
}

/* Mega 列内三级列表：禁止 hover 展开，仅随父级 .is-open */
.header-mobile-drawer .main-navigation .sub-menu-l3 {
	display: none !important;
}

.header-mobile-drawer .main-navigation li.menu-item-has-children.is-open > .sub-menu-l3 {
	display: block !important;
}

body.is-mobile-nav-open {
	overflow: hidden;
}

/* 抽屉打开时隐藏回顶与电话浮钮，避免叠按 */
body.is-mobile-nav-open .ts-scroll-top,
body.is-mobile-nav-open .header-mobile-tel-fab {
	display: none !important;
}

/* 回到顶部：箭头与抽屉/页脚手风琴同为边框 + 旋转（朝上 ≈ -135deg） */
.ts-scroll-top {
	position: fixed;
	right: 1rem;
	bottom: 1rem;
	z-index: 1990;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0;
	border: none;
	border-radius: 50%;
	background: #ffffff;
	box-shadow: 0 0.125rem 0.5rem rgba(23, 38, 68, 0.18);
	cursor: pointer;
	display: none;
	align-items: center;
	justify-content: center;
	-webkit-tap-highlight-color: transparent;
}

.ts-scroll-top::after {
	content: "";
	display: block;
	width: 0.5rem;
	height: 0.5rem;
	border-right: 2px solid #37414c;
	border-bottom: 2px solid #37414c;
	transform: rotate(-135deg);
	margin-bottom: -0.125rem;
	box-sizing: border-box;
	transition: border-color 0.6s ease, transform 0.6s ease;
}
.footer-contact-float__pill {display: none!important;}
.ts-scroll-top:active::after {
	border-right-color: #35a0ff;
	border-bottom-color: #35a0ff;
}

.ts-scroll-top.is-visible {
	display: none;
}

.ts-scroll-top:focus-visible {
	outline: 2px solid #35a0ff;
}

/* 页脚手风琴（与 footer-ui 中 JS 协同） */
.footer-nav-container.is-accordion-mode .footer-column {
	width: 100%;
	flex: 1 1 100%;
	min-width: 0;
	border-bottom: 1px solid #2e2f31;
	padding-bottom: 0.25rem;
	margin-bottom: 0.25rem;
}

.footer-nav-container.is-accordion-mode .footer-title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	cursor: pointer;
	user-select: none;
	min-height: 2.75rem;
	margin-bottom: 0;
}

.footer-nav-container.is-accordion-mode .footer-title::after {
	content: "";
	width: 0.5rem;
	height: 0.5rem;
	border-right: 2px solid #7e838f;
	border-bottom: 2px solid #7e838f;
	transform: rotate(45deg);
	flex-shrink: 0;
	margin-right: 0.25rem;
	transition: transform 0.6s ease;
}

.footer-nav-container.is-accordion-mode .footer-column.footer-accordion--open .footer-title::after {
	transform: rotate(-135deg);
	margin-top: 0.25rem;
}

.footer-nav-container.is-accordion-mode .footer-links {
	display: none !important;
	padding-bottom: 0.75rem;
}

.footer-nav-container.is-accordion-mode .footer-column.footer-accordion--open .footer-links {
	display: block !important;
	padding-top: 1rem !important;
}

/* 页脚主区：左右改为上下（排除 .footer-social-wrap，否则会把社交图标排成纵列） */
.footer-main-inner > .flex:not(.footer-social-wrap) {
	flex-direction: column;
	align-items: stretch;
	gap: 1.25rem;
	margin-bottom: 2rem !important;
}

.site-footer-inner .footer-main,
.footer-main {
	padding-top: 2.5rem !important;
}

.site-footer-inner .section.footer-main-inner,
.section.footer-main-inner {
	width: 100% !important;
	max-width: 100% !important;
	padding-left: 1rem !important;
	padding-right: 1rem !important;
	box-sizing: border-box;
}

.footer-info-box {
	width: 100%!important;
	max-width: 22.5rem;
	height: auto;
	min-height: 0;
	margin-left: auto;
	margin-right: auto;
}

.footer-nav-container {
	margin-left: 0 !important;
	flex-wrap: nowrap;
	gap: 0 !important;
}

.footer-social-wrap {
	position: static;
	margin-top: 1.5rem;
	justify-content: flex-start !important;
	flex-direction: row !important;
	flex-wrap: wrap !important;
	align-items: center !important;
	gap: 1rem;
}

.footer-info {
	padding-top: 1rem !important;
	padding-bottom: 1rem !important;
}

.footer-info-inner {
	flex-direction: column !important;
	align-items: flex-start !important;
	justify-content: flex-start !important;
	text-align: left !important;
	gap: 0.5rem !important;
}

/* 与头部小屏 Logo 尺度一致（见 .site-branding a） */
.footer-info-logo .footer-bottom-logo,
.footer-bottom-logo {
	width: 100%;
	max-width: min(17.5rem, 78vw) !important;
	height: auto;
	min-height: 1.375rem;
	object-fit: contain;
}
