/* 移动端头部样式 */
@media (max-width: 768px) {
	#pc-header {
		position: relative;
	}
	#pc-header .navbar {
		z-index: 9 !important;
	}

	#pc-header .container {
		padding: 0 15px !important;
	}

	#pc-header .line {
		flex-direction: column;
		align-items: flex-start;
	}

	#pc-header .logo {
		width: 100%;
		text-align: center;
		padding: 10px 0;
	}

	#pc-header .logo h1 a {
		background-size: contain;
		background-position: center;
		height: 45px;
		display: block;
	}

	#pc-header .user-r {
		float: unset !important;
		width: auto !important;
	}

	.userlogin .btn-login {
		margin: 0 !important;
	}

	/* 移动端导航 */
	.nav-con-x {
		width: 100% !important;
		float: none !important;
		text-align: left !important;
	}

	.nav-menu {
		display: none;
		flex-direction: column;
		width: 100%;
		background: #fff;
		box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
		border-radius: 8px;
		margin-top: 10px;
		max-height: 80vh;
		/* 设置最大高度 */
		overflow-y: auto;
		/* 允许垂直滚动 */
		-webkit-overflow-scrolling: touch;
		/* 提供iOS流畅滚动 */
	}

	.nav-menu.show {
		display: flex;
	}

	.nav-menu li {
		width: 100%;
		border-bottom: 1px solid #f0f0f0;
	}

	.nav-menu li:last-child {
		border-bottom: none;
	}

	.nav-menu li a {
		display: block;
		padding: 15px 20px;
		color: #333;
		text-decoration: none;
		font-size: 16px;
		transition: all 0.3s ease;
	}

	.nav-menu li a:hover,
	.nav-menu li.active a {
		background: #f8f9fa;
		color: #007bff;
	}

	.nav-menu li .drop-menu {
		float: unset !important;
		display: none;
		background: #f8f9fa;
		position: static;
		/* 改为静态定位，占据文档流 */
		width: 100%;
		/* 宽度100% */
		box-sizing: border-box;
		margin: 0;
		padding: 0;
		border-top: 1px solid #e9ecef;
		/* 顶部边框 */
	}

	.nav-menu li.show-submenu .drop-menu {
		display: block;
	}

	.nav-menu li .drop-menu li {
		border-bottom: 1px solid #e9ecef;
		margin: 0;
		padding: 0;
		width: 100%;
	}

	.nav-menu li .drop-menu li:last-child {
		border-bottom: none;
	}

	.nav-menu li .drop-menu li a {
		padding: 12px 40px;
		font-size: 14px;
		color: #666;
		display: block;
		width: 100%;
		box-sizing: border-box;
	}

	.nav-menu li .drop-menu li a:hover {
		background: #e9ecef;
		color: #007bff;
	}

	/* 汉堡菜单按钮 */
	.mobile-menu-toggle {
		display: block;
		position: absolute;
		top: 19px;
		right: 15px;
		width: 30px;
		height: 30px;
		cursor: pointer;
		z-index: 1000;
	}

	.mobile-menu-toggle span {
		display: block;
		width: 25px;
		height: 3px;
		background: #333;
		margin: 5px 0;
		transition: all 0.3s ease;
		border-radius: 2px;
	}

	.mobile-menu-toggle.active span:nth-child(1) {
		transform: rotate(45deg) translate(5px, 5px);
	}

	.mobile-menu-toggle.active span:nth-child(2) {
		opacity: 0;
	}

	.mobile-menu-toggle.active span:nth-child(3) {
		transform: rotate(-45deg) translate(7px, -6px);
	}

	/* 登录按钮优化 */
	.ey-nav-login {
		justify-content: center;
		margin: 10px 0;
		padding: 10px 0;
		border-top: 1px solid #f0f0f0;
	}

	.ey-nav-login .vertical-align-middle {
		margin: 0 5px;
	}

	.btn-login,
	.btn-register {
		padding: 10px 20px;
		font-size: 14px;
		border-radius: 6px;
		min-width: 80px;
		text-align: center;
		transition: all 0.3s ease;
	}

	.btn-login:hover,
	.btn-register:hover {
		transform: translateY(-2px);
		box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	}

	/* 移动端头部固定 */
	#pc-header.mobile-fixed {
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		z-index: 1000;
		background: #fff;
		box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	}

	/* 为固定头部添加页面顶部间距 */
	body.header-fixed {
		padding-top: 80px;
	}

	.cat-menu-style2 {
		line-height: 30px;
		height: auto;
	}
	.case_banner .case_banner_content .banner_content_left {
		bottom: 7em;
		height: 75%;
	}
	.case_banner .case_banner_content .banner_content_left .content_left_txt {
		margin-bottom: -1em;
	}
	.bread-style2 {
		margin: 0;
	}
	.cat-menu-style2 {
		float: unset;
	}
	.bread-style1 {
		float: left;
	}
}

@media (min-width: 769px) {
	.mobile-menu-toggle {
		display: none;
	}

	.nav-menu {
		display: flex !important;
	}
}

/* 登录弹窗移动端优化 */
@media (max-width: 768px) {
	#log .dialog {
		width: 90% !important;
		max-width: 400px;
		margin: 10% auto;
	}

	#log .dialog-body {
		padding: 20px 15px;
	}

	#log .form-group {
		margin-bottom: 15px;
	}

	#log .input {
		height: 45px;
		font-size: 16px;
		padding: 0 15px 0 45px;
	}

	#log .field-icon .icon {
		left: 15px;
		top: 50%;
		transform: translateY(-50%);
	}

	#log .button-large {
		height: 45px;
		font-size: 16px;
	}

	#log .bnt-login a {
		width: 45px;
		height: 45px;
		line-height: 45px;
		margin: 0 10px;
	}

	#log .tab ul li {
		padding: 12px 20px;
		font-size: 16px;
	}
	/* 子菜单展开指示器 */
	.nav-menu li .first-level i.fa-angle-down {
		float: right;
		margin-top: 26px;
		transition: transform 0.3s ease;
	}

	.nav-menu li.show-submenu .first-level i.fa-angle-down {
		transform: rotate(180deg);
	}
	.ServiceBanner {
		padding: 20px 0;
		margin-bottom: 20px;
	}

	.ServiceBanner_content {
		width: 100% !important;
		flex-direction: column !important;
		text-align: center;
	}

	.ServiceBanner_content_left {
		width: 100% !important;
		float: none !important;
	}

	.ServiceBanner_content_right {
		width: 100% !important;
		float: none !important;
	}

	.content_left_title {
		padding-top: 20px !important;
	}

	.content_left_title dd {
		font-size: 20px !important;
		line-height: 1.4;
		margin-bottom: 10px;
	}

	.content_left_title dt {
		font-size: 14px !important;
	}

	.fuwu-list ul {
		display: flex;
		flex-wrap: wrap;
		gap: 15px;
		justify-content: space-between;
	}

	.fuwu-list li {
		width: calc(50% - 8px) !important;
		margin: 0 0 15px 0 !important;
	}

	.process ul {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
	}

	.process li {
		width: calc(50% - 10px) !important;
		margin-bottom: 0px;
	}

	.list-case-zoom {
		display: flex;
		flex-wrap: wrap;
		gap: 15px;
		justify-content: space-between;
	}

	.list-case-zoom>div {
		width: calc(50% - 8px) !important;
		margin-bottom: 15px;
	}

	.list-case-zoom dl {
		border-radius: 6px;
	}

	.m-ichl-subnav ul {
		display: flex;
		flex-wrap: wrap;
	}

	.m-ichl-subnav ul>li {
		flex: 0 0 25%;
		max-width: 25%;
		margin: 0 !important;
		box-sizing: border-box;
	}

	.m-ichl-subnav li a {
		font-size: 16px !important;
		line-height: 35px !important;
		padding: 0 3px !important;
		border-radius: 4px;
		transition: all 0.3s ease;
	}

	.post-time .media {
		height: auto !important;
		padding: 10px !important;
	}

	.post-time .media .date .day {
		font-size: 24px;
	}

	.post-time .media .date hr {
		margin: 5px auto 10px auto;
	}

	.post-time .media strong {
		text-align: left;
	}


}

/* 新闻列表布局 */
@media (min-width: 481px) and (max-width: 768px) {

	.xl12,
	.xs12,
	.xm4,
	.bm4 {
		width: 50% !important;
		float: left;
		padding: 0 8px;
		box-sizing: border-box;
	}

	.rows {
		margin: 0 -8px;
	}

	.rows:after {
		content: "";
		display: table;
		clear: both;
	}

	.home-news-h {
		height: 100%;
	}

	.home-news-h .media-img {
		height: 285px !important;
	}
}

@media (max-width: 480px) {

	.xl12,
	.xs12,
	.xm4,
	.bm4 {
		width: 100% !important;
	}

	.partners-style1 .xl6 {
		width: 50% !important;
	}

	.text-center h2 {
		font-size: 24px !important;
	}

	.containers,
	.container-layout {
		padding: 0 15px;
	}

	.media-x {
		flex-direction: column;
		text-align: center;
	}

	.date {
		margin-bottom: 10px;
	}


	.IndexService .IndexService_content {
		padding: 5px 0px !important;
	}

	.IndexService .IndexService_content .IndexService_content_title {
		padding-bottom: 25px !important;
	}

	.fuwu-list li {
		padding: 20px !important;
	}

	.home-news-h .media-img {
		height: 285px !important;
	}

	.post-time .media .itag {
		display: none !important;
	}

	.partners-style1 .list-ul {
		display: flex;
		flex-wrap: wrap;
		border-right: unset;
	}

	.bg-footer .foot-link {
		float: unset !important;
	}
	
	.pages li a {
		padding: 0 10px;
	}
	.pages * {
		line-height: 28px;
	}
	.content_left_title dd {
		font-size: 24px !important;
		margin-bottom: 10px !important;
	}

	.content_left_title dt {
		font-size: 14px !important;
		margin-bottom: 10px !important;
	}

	.media-x span {
		font-size: 24px !important;
	}

	.text-big {
		font-size: 16px !important;
	}

	/* 小屏幕下仍保持两列显示 */
	.partners-style1 .xl6 {
		width: 50% !important;
	}

	/* 服务列表在小屏幕下依然保持两列 */
	.fuwu-list li {
		width: calc(50% - 8px) !important;
		margin: 0 0 10px 0 !important;
		padding: 15px 10px !important;
	}

	.fuwu-list li:hover {
		background: unset;
	}

	.fuwu-list li {
		text-align: center;
	}

	.fuwu-list li .icon {
		height: 70px !important;
		background-position: center center !important;
		background-repeat: no-repeat !important;
		background-size: contain !important;
	}

	.fuwu-list .title {
		font-size: 16px !important;
	}

	.fuwu-list .txt-x {
		font-size: 12px !important;
		height: auto !important;
		overflow: hidden;
		display: -webkit-box;
		-webkit-line-clamp: 3;
		-webkit-box-orient: vertical;
		line-clamp: 3;
	}

	.fuwu-list li .link {
		margin-top: 0 !important;
		background: unset;
	}

	/* 案例在小屏幕下依然保持两列 */
	.list-case-zoom>div {
		flex: unset !important;
		min-width: auto !important;
		width: calc(50% - 8px) !important;
		margin-bottom: 10px;
		margin-right: 0;
	}

	.list-case-zoom dl dd {
		padding: 10px 8px !important;
	}

	.list-case-zoom dl dd .titleu:before {
		display: none !important;
	}

	.list-case-zoom dl dd h4 {
		font-size: 14px !important;
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
		text-overflow: ellipsis;
		line-clamp: 2;
		white-space: normal;
		height: 48px;
	}

	.list-case-zoom dl dd p.itags {
		margin-top: 10px !important;
		display: flex !important;
		flex-direction: row !important;
		justify-content: flex-start !important;
		gap: 3px !important;
	}

	.list-case-zoom dl dd p.itags a {
		flex: 1 1 0;
		max-width: calc(33.33% - 5px);
		text-align: center;
		font-size: 11px !important;
		padding: 1px !important;
		margin: 2px !important;
	}

	.list-case-zoom dl dd .icon {
		right: 8px !important;
		top: 36px !important;
		background: #f8f8f8;
		bottom: unset;
	}

	/* 流程步骤在小屏幕下改为单列 */
	.process li {
		width: 100% !important;
	}

	.m-ichl-subnav ul {
		flex-wrap: wrap;
		justify-content: center;
	}

	.m-ichl-subnav li {
		margin: 5px;
	}

	/* 优化间距 */
	.blank-big {
		height: 30px !important;
	}

	.blank-middle {
		height: 20px !important;
	}
}

/* 通用响应式优化 */
.clear::after {
	content: "";
	display: table;
	clear: both;
}

.ServiceBanner_content {
	display: flex;
	align-items: center;
}

.fuwu-list ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

/* 美化服务卡片 */
.fuwu-list li {
	transition: all 0.3s ease;
	border-radius: 8px;
	overflow: hidden;
}

.fuwu-list li:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.fuwu-list .icon {
	margin-bottom: 15px;
}

.process ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

/* 美化流程卡片 */
.process .media {
	margin: 10px !important;
	border-radius: 8px;
	transition: all 0.3s ease;
}

.process .media:hover {
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}



/* 美化合作伙伴 */
.partners-style1 .list-li {
	padding: 10px;
	border-radius: 8px;
	transition: all 0.3s ease;
}

.partners-style1 .list-li:hover {
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}


/* 添加页面平滑滚动 */
html {
	scroll-behavior: smooth;
}

/* 滚动条样式优化 */
.nav-menu::-webkit-scrollbar {
	width: 4px;
}

.nav-menu::-webkit-scrollbar-track {
	background: #f1f1f1;
}

.nav-menu::-webkit-scrollbar-thumb {
	background: #888;
	border-radius: 4px;
}

.nav-menu::-webkit-scrollbar-thumb:hover {
	background: #555;
}



/* 移动端筛选功能样式 */
@media (max-width: 768px) {
    /* 筛选框整体样式 */
    .filter-box {
        border-radius: 8px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
        margin-bottom: 15px;
        overflow: hidden;
    }
    
    .filter-box .padding-big {
        padding: 10px 15px;
    }
    
    /* 筛选项标题和内容布局 */
    .filter-box dl {
        margin: 0;
        padding: 8px 0;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .filter-box dl:last-child {
        border-bottom: none;
    }
    
    .filter-box dl dt {
        width: 100%;
        float: none;
        line-height: 30px;
        margin-left: 0;
        font-weight: 500;
        color: #333;
        font-size: 15px;
    }
    
    .filter-box dl dd {
        width: 100%;
        float: none;
        margin-left: 0;
    }
    
    /* 筛选选项容器 */
    .filter-nav {
        position: relative;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin: 0 -5px;
        padding-bottom: 5px;
    }
    
    .filter-nav::-webkit-scrollbar {
        height: 3px;
    }
    
    .filter-nav::-webkit-scrollbar-track {
        background: #f1f1f1;
    }
    
    .filter-nav::-webkit-scrollbar-thumb {
        background: #ccc;
        border-radius: 3px;
    }
    
    .filter-nav ul {
        display: flex;
        flex-wrap: nowrap;
        white-space: nowrap;
        padding: 5px 5px;
    }
    
    .filter-nav ul li {
        float: none;
        display: inline-block;
    }
    
    .filter-nav ul li a {
        margin: 3px 4px;
        padding: 6px 12px;
        border-radius: 15px;
        font-size: 13px;
        background: #f8f9fa;
        color: #666;
        text-align: center;
        border: 1px solid #eee;
    }
    
    .filter-nav ul li a:hover,
    .filter-nav ul li a.active {
        background: #ff6b0c;
        color: #fff;
        border-color: #ff6b0c;
    }
    
    /* 筛选项展开/折叠状态 */
    .filter-box.collapsed dl:not(:first-child) {
        display: none;
    }
    
    /* 筛选按钮组 */
    .filter-actions {
        display: flex;
        padding: 10px 15px;
        border-top: 1px solid #f0f0f0;
    }
    
    .filter-actions .btn-reset,
    .filter-actions .btn-apply {
        flex: 1;
        padding: 8px 0;
        text-align: center;
        border-radius: 4px;
        font-size: 14px;
    }
    
    .filter-actions .btn-reset {
        background: #f8f9fa;
        color: #666;
        margin-right: 10px;
    }
    
    .filter-actions .btn-apply {
        background: #ff6b0c;
        color: #fff;
    }
    
    /* 筛选切换按钮 */
    .filter-toggle-btn {
        display: block;
        width: 100%;
        text-align: center;
        padding: 8px 0;
        color: #666;
        font-size: 14px;
        background: #f8f9fa;
        border-top: 1px solid #eee;
        border-radius: 0 0 8px 8px;
    }
    
    .filter-toggle-btn i {
        margin-left: 5px;
        transition: transform 0.3s;
    }
    
    .filter-toggle-btn.active i {
        transform: rotate(180deg);
    }
}

/* 平板设备筛选样式优化 */
@media (min-width: 481px) and (max-width: 768px) {
    .filter-box dl dt {
        width: auto;
        float: left;
        margin-right: 10px;
        line-height: 40px;
    }
    
    .filter-box dl dd {
        overflow: hidden;
    }
    
    .filter-nav ul {
        flex-wrap: wrap;
    }
}

/* 小屏幕手机筛选样式 */
@media (max-width: 480px) {
    .filter-box .padding-big {
        padding: 8px 12px;
    }
    
    .filter-nav ul li a {
        padding: 5px 10px;
        font-size: 12px;
    }
}