/* 由 functions.php 以 media=(max-width:980px) 且仅首页 enqueue；勿写入无 media 的全局 PC 规则 */

/* ----- 小屏字号（对齐 gemini.md §9.1.10 / electricity-mobile.css）----- */
.is-view-home .home-solutions .font-module-title,
.is-view-home .home-positioning .font-module-title,
.is-view-home .home-product-heading .font-module-title,
.is-view-home .home-awards-heading .font-module-title,
.is-view-home .font-module-title {
	font-size: 1.75rem !important;
	line-height: 2.25rem !important;
}
.font-banner-subtitle {
	font-size: 1.25rem !important;
	line-height: 1.75rem !important;
	color: #E5EEF9!important;
}
.is-view-home .font-module-subtitle {
	font-size: 1rem !important;
	line-height: 1.5rem !important;
}

/* 方案卡标题：1.25rem，避免 Fusion / PC 遗留 24px～28px 偏大 */
h3.fusion-responsive-typography-calculated.font-card-title,
h3.font-card-title,
.font-card-title {
	font-size: 1.25rem !important;
	line-height: 1.75rem !important;
}

.font-card-subtitle {
	font-size: 1rem !important;
	line-height: 1.5rem !important;
}

.is-view-home .home-solution-card .ui-tag {
	font-size: 1rem !important;
	line-height: 1.5rem !important;
}

.is-view-home .home-product-item .product-title {
	font-size: 1.25rem !important;
	line-height: 1.75rem !important;
}

.is-view-home .home-product-item .product-desc {
	font-size: 1rem !important;
	line-height: 1.5rem !important;
}

.is-view-home .home-product-item .product-btn {
	font-size: 1rem !important;
	line-height: 1.5rem !important;
}

.home-solutions-inner {
	flex-direction: column;
}

.home-solution-card {
	height: auto;
	min-height: 36rem;
}

.home-product-accordion {
	flex-direction: column;
	height: auto;
	min-height: 0;
}

.home-product-item {
	flex: none !important;
	min-height: 25rem;
	padding: 1.5rem 1.25rem !important;
}

.home-product-item.is-active {
	padding-left: 1.25rem !important;
}

.home-product-item .product-icon {
	position: relative;
	left: auto !important;
	bottom: auto;
	margin-top: 1rem;
}

.home-product-item.is-active .product-icon {
	left: auto !important;
}

/* 小屏：四项均为「激活」视觉（精选背景、文案与按钮可见），与 PC 单列展开区分 */
.home-product-accordion .home-product-item .product-bg.normal-bg {
	opacity: 0 !important;
}

.home-product-accordion .home-product-item .product-bg.select-bg {
	opacity: 1 !important;
	transform: scale(1.05) !important;
}

.home-product-accordion .home-product-item .product-title,
.home-product-accordion .home-product-item .product-desc {
	opacity: 1 !important;
}

.home-product-accordion .home-product-item .product-btn {
	opacity: 1 !important;
	transform: translateY(0) !important;
}

.home-product-accordion .home-product-item .product-icon .icon-regular {
	opacity: 0 !important;
}

.home-product-accordion .home-product-item .product-icon .icon-select {
	opacity: 1 !important;
}

.home-product-accordion .home-product-item {
	cursor: default;
}

.home-cases {
	height: auto;
	min-height: 0;
	padding-bottom: 3rem;
}

.home-cases-header {
	position: relative;
	top: auto;
	left: auto;
	transform: none;
	padding: 2rem 1rem 0.75rem;
	pointer-events: auto;
}

h2.home-cases-title {
	font-size: 1.75rem !important;
	line-height: 2.25rem !important;
	margin-bottom: 1rem !important;
}

/* Tab 横向滑动，避免换行把案例区整体撑高 */
.home-cases-tabs {
	flex-wrap: nowrap;
	justify-content: flex-start;
	overflow-x: auto;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	gap: 1rem;
	max-width: 100%;
	padding-bottom: 0.5rem;
}

.home-cases-tabs::-webkit-scrollbar {
	display: none;
}

.is-view-home .home-cases-tab {
	flex-shrink: 0;
	white-space: nowrap;
	font-size: 1rem !important;
	line-height: 1.5rem !important;
}

/* 小屏标题区已在 Swiper 上方，勿保留 PC 为叠放预留的 245px 顶距 */
.is-view-home .home-cases-swiper {
	width: 100%;
	flex: 1 1 auto;
	min-height: 24rem;
	height: auto;
}

.is-view-home .home-cases-swiper .swiper-slide {
	min-height: 24rem;
	align-items: flex-start;
}

.is-view-home .home-cases-swiper .swiper-slide > .section {
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box;
}

.is-view-home .home-cases-content,
.is-view-home .home-cases-content[style] {
	width: 100% !important;
	max-width: 100% !important;
	padding-top: 1.25rem !important;
}

.is-view-home .home-cases-content .case-logo {
	max-height: 3rem;
	width: auto !important;
	height: auto !important;
}

.is-view-home h3.case-title {
	font-size: 1.25rem !important;
	line-height: 1.75rem !important;
}

.is-view-home .case-desc {
	font-size: 1rem !important;
	line-height: 1.5rem !important;
}

.is-view-home h3.case-stat-val {
	font-size: 1.75rem !important;
	line-height: 2.25rem !important;
}

.is-view-home .case-stat-val small {
	font-size: 1rem !important;
}

.is-view-home .case-cta .ui-btn-more,
.is-view-home .award-swiper-btn-wrap .ui-btn-more {
	font-size: 1rem !important;
	line-height: 1.5rem !important;
}

h3.home-awards-card-lg-title {
	font-size: 1.25rem !important;
	line-height: 1.75rem !important;
}

.home-awards-card-lg-desc {
	font-size: 1rem !important;
	line-height: 1.5rem !important;
}

.is-view-home .honor-date {
	font-size: 1rem !important;
	line-height: 1.5rem !important;
}

.is-view-home .honor-name {
	font-size: 1.25rem !important;
	line-height: 1.75rem !important;
}

.award-swiper-title {
	font-size: 1.25rem !important;
	line-height: 1.75rem !important;
}

.award-swiper-subtitle,
.award-swiper-desc {
	font-size: 1rem !important;
	line-height: 1.5rem !important;
}

.home-awards-top-grid,
.home-awards-bottom-grid {
	flex-direction: column;
	grid-template-columns: 1fr;
}

.home-awards-card-lg {
	min-height: 25rem;
}

.home-awards-card-sm {
	height: auto;
	flex-direction: column;
	text-align: center;
}

.home-awards-card-sm-img {
	width: 100%;
	height: 10rem;
}

.home-awards-swiper .swiper-pagination {
	left: 2rem;
}

.home-awards-swiper {
	height: auto;
	min-height: 18rem;
}

.home-awards-swiper .swiper-slide {
	padding-left: 2rem;
	min-height: 18rem;
}
