/* 全局样式重置 & 基础设置 */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: "Microsoft Yahei", sans-serif;
}

/* 为所有可点击元素添加鼠标小手抓指针 */
[onclick],
button,
a {
	cursor: pointer;
}

body {
	background-color: #fff;
	color: #333;
	padding-bottom: 0px;
	margin: 0px;
}

/*reset*/
.nav-bg {
	display: flex;
	flex-direction: column;
	background-image: linear-gradient(to right, #157D40, #A1C736);
	/* 渐变色 */
	height: 80px;
	align-items: center;
	width: 100%;
	padding: 0 0px;
}

.nav-mid-wrap {
	width: 1200px;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	height: 80px;
	align-items: center;

}

/* 纺博会顶部图片样式 */
.nav-img {
	width: 120px;
	height: 60px;
	object-fit: fill;
	margin-left: 10px;
}

/* 切换语言 */
.changeLanguage_btn {
	margin-left: 10px;
	width: 60px;
	height: 60px;
	background: #d10606
}

/* 语言切换按钮样式 */
.lang-btn {
	background-color: #f5f5f5;
	border: 1px solid #ddd;
	border-radius: 4px;
	padding: 8px 15px;
	margin: 0 5px;
	font-size: 14px;
	cursor: pointer;
	transition: all 0.3s ease;
}

.lang-btn:hover {
	background-color: #e0e0e0;
}

.lang-btn:active {
	background-color: #d0d0d0;
}

.registration-wrap {
	border-radius: 10px;
	text-align: center;
	font-size: 30px;
	line-height: 30px;
	width: 100%;
	height: 30px;
	margin-top: 20px;
	font-weight: bold;
	color: #333;
}

.registration-wrap-bottom {
	width: 100px;
	height: 5px;
	background-color: #009bdd;
	margin: 10px auto 30px;
}

.alet-wrap {
	display: flex;
	flex-direction: row;
	align-items: center;
	margin: 20px 2.5%;
	padding: 15px;
	background-color: #f5f5f5;
	border-left: 4px solid #009bdd;
}

.alert-wrap-icon {
	width: 30px;
	height: 30px;
	margin-right: 15px;
}

img {
	max-width: 100%;
	display: block;
	/* 消除图片底部空隙 */
}

a {
	text-decoration: none;
	color: inherit;
}

/* 容器：限制宽度+居中，适配手机端 */
.container {
	max-width: 700px;
	margin: 0 auto;
	padding: 0 15px;
}

/* 顶部横幅 */
.header-banner {
	width: 95%;
	height: 160px;
	margin-top: 20px;
	margin-left: 2.5%;
	margin-right: 2.5%;
	background-color: #50b828;
}

/* 模块标题（参观预登记、关于展会内容） */
.section-title {
	font-size: 18px;
	font-weight: bold;
	text-align: center;
	margin: 20px 0 10px;
}

/* 温馨提示文字 */
.notice {
	color: #ff9900;
	/* 橙色提示 */
	font-size: 14px;
	text-align: center;
	margin-bottom: 15px;
}

/* 表单组：标签+输入框/下拉框 */
.form-group {
	margin-bottom: 15px;
}

.form-group label {
	display: block;
	font-size: 14px;
	margin-bottom: 5px;
}

.form-group input,
.form-group select {
	width: 100%;
	padding: 10px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 14px;
	color: #666;
}

.form-group input::placeholder {
	color: #ccc;
	/* 占位符浅灰色 */
}

/* 提交按钮：绿色渐变 */
.btn-submit {
	width: 100%;
	padding: 12px 0;
	background: linear-gradient(to right, #7ed321, #50b828);
	color: #fff;
	font-size: 16px;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	margin-bottom: 30px;
}

.btn-submit:active {
	opacity: 0.8;
	/* 点击反馈 */
}

/* 展会内容模块：浅灰背景+内边距 */
.expo-content {
	background-color: #f9f9f9;
	padding: 20px;
	border-radius: 8px;
	margin-bottom: 30px;
}

.content-item {
	margin-bottom: 30px;
}

.content-item h3 {
	font-size: 16px;
	font-weight: bold;
	margin-bottom: 10px;
}

/* 内容占位区（用户自定义内容用） */
.content-placeholder {
	background-color: #fff;
	border: 1px solid #eee;
	padding: 15px;
	border-radius: 4px;
	min-height: 80px;
	font-size: 14px;
	line-height: 1.6;
	color: #999;
}

/* 底部按钮栏：左右分布 */
.bottom-buttons {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	display: flex;
	justify-content: space-between;
	margin-bottom: 20px;
}

.bottom-buttons .btn {
	flex: 1;
	/* 均分宽度 */
	margin: 0 5px;
	padding: 12px 0;
	background: linear-gradient(to right, #7ed321, #50b828);
	color: #fff;
	font-size: 16px;
	border: none;
	border-radius: 4px;
	cursor: pointer;
}

.bottom-buttons .btn:active {
	opacity: 0.8;
	/* 点击反馈 */
}

.nav {
	line-height: 100%;
	margin-left: 0px;
	width: auto;
	background-color: transparent;
	display: flex;
	flex-direction: row;
	align-items: center;
	height: 60px;
	list-style: none;
}

.nav li {
	position: relative;
	padding: 0 20px;
	height: 60px;
	display: flex;
	align-items: center;
	cursor: pointer;

}

.nav li:not(:last-child)::after {
	content: '';
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 1px;
	height: 14px;
	background-color: white;
}

.dropdown-trigger {
	background-color: transparent;
	border-radius: 0px;
	text-wrap: nowrap;
	color: white;
	transition: all 0.3s ease;
	cursor: pointer;
	font-size: 16px;
	line-height: 16px;
	font-weight: bold;

	&:hover {

		transform: scale(1.15);
	}
}

.dropdown-trigger:hover {
	font-weight: bold;
	color: black;
	border-radius: 0px;
}

/* 下拉菜单样式 */
.dropdown {
	position: relative;
}

.dropdown-menu {
	position: absolute;
	top: 80%;
	left: 0;
	width: 138px;
	background-color: rgba(160, 199, 54, 0.90);
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
	padding: 10px 0;
	list-style: none;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
	z-index: 100;
	border-bottom-left-radius: 20px;
	border-top-right-radius: 20px;
	border-bottom-right-radius: 20px;
}

.dropdown:hover .dropdown-menu {
	opacity: 1;
	visibility: visible;
}

.dropdown-menu a {
	display: block;
	padding: 10px 20px;
	color: white;
	text-decoration: none;
	transition: background-color 0.2s ease;
	text-align: center;
	font-size: 16px;
	cursor: pointer;
}

.dropdown-menu a:not(:last-child)::after {
	content: '';
	display: block;
	width: 100%;
	height: 1px;
	background-color: white;
	margin-top: 10px;
}

.dropdown-menu a:hover {

	color: #333;
	font-weight: bold;
}

.change-btn {
	background-color: rgb(0, 255, 42);
	margin-top: 20px;
	width: 20px;
	height: 20px;
	margin-right: 20px;
	cursor: pointer;
}


.lang {

	margin-top: 0px;
	width: auto;
	height: 80px;
	margin-right: 20px;
	display: flex;
	flex-direction: row;
	align-items: center;
}

.lang a {
	color: white;
	font-size: 16px;
	font-weight: bold;
	cursor: pointer;
	height: 80px;
	line-height: 80px;
}

.lang .active {
	font-size: 14px;
}

/* 三列网格布局 */
.grid-container {
	display: grid;
	width: 100%;
	grid-template-columns: repeat(3, 1fr);

	height: auto;
	gap: 136px;
	align-items: center;
	justify-items: center;
	padding-left: 30px;
	padding-right: 30px;
}

.grid-item-title {
	font-size: 28px;
	font-weight: bold;
	color: #333333;
	width: 280px;
	text-align: center;
	margin-top: 55px;
}

.grid-item-image {
	max-width: 101px;
	max-height: 101px;
	object-fit: fill;
	margin-top: -50px;
	overflow: hidden;
}

.grid-item {
	background-color: white;
	border-radius: 20px;

	box-shadow: 0 4px 12px 2px rgba(0, 0, 0, 0.15);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	cursor: pointer;
	width: 280px;
	height: 192px;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.grid-item:hover {
	transform: translateY(-5px);
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.grid-item img {
	width: 100%;
	height: 180px;
	object-fit: cover;
}



/* 响应式调整 */
@media (max-width: 768px) {
	.grid-container {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 480px) {
	.grid-container {
		grid-template-columns: 1fr;
	}
}

/* 文字滚动动画 */
@keyframes scroll {
	0% {
		transform: translateX(100%);
	}

	100% {
		transform: translateX(-100%);
	}
}

.scroll-text {
	white-space: nowrap;
	overflow: hidden;
	animation: scroll 8s linear infinite;
}

/* 轮播 */
.banner-wrap {
	display: flex;
	flex-direction: column;
	/* 渐变色 */
	height: auto;
	align-items: center;
	width: 100%;
	padding: 0 0px;
	margin-top: 0px;
	/* background: linear-gradient(to right, #7ed321, #50b828); */
}

.banner-wrap-detail {
	width: 1200px;
	height: 521px;
	background-color: #f3eeee;

}

.header-wrap {
	display: flex;
	flex-direction: column;
	height: 180px;
}

.header-wrap-bottom {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.header-wrap-bottom-sub {
	display: flex;
	flex-direction: row;
	width: 1200px;
	justify-content: space-between;
	align-items: center;
}

.header-wrap-bottom-image {
	height: 100px;
	width: 670px;
	background-color: #f3eeee;
}

.header-wrap-bottom-right-bg {
	width: 200px;
	overflow: hidden;
}

.header-wrap-bottom-right {
	width: auto;
	
	font-size: 18px;
	color: #333333;
	

}

.banner-wrap-detail-left {


	border-radius: 20px;
	width: 220px;
	height: 118px;
	background-color: rgba(255, 255, 255, 0.35);
	transition: all 0.3s ease;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	align-items: center;

	&:hover {
		background-color: white;
		transform: scale(1.15);

		.banner-wrap-detail-left-title {
			color: #333333;
		}

		.banner-wrap-detail-left-subtitle {
			color: #333333;
		}

		.banner-wrap-detail-left-line {

			background-color: #333333;
		}
	}
}

.banner-wrap-detail-left-title {
	font-size: 26px;
	margin-top: 15px;
	color: white;
}

.banner-wrap-detail-left-subtitle {
	font-size: 20px;
	margin-top: 20px;
	color: white;
	margin-top: 11px;
}

.banner-wrap-detail-left-line {
	height: 1px;
	width: 186px;
	margin-left: 17px;
	margin-top: 11px;
	background-color: white;
}

.banner-wrap-detail-right {
	border-radius: 20px;
	width: 220px;
	height: 118px;
	background-color: rgba(255, 255, 255, 0.35);
	transition: all 0.3s ease;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.banner-wrap-detail-right:hover {
	background-color: white;
	transform: scale(1.15);

	.banner-wrap-detail-left-title {
		color: #333333;
	}

	.banner-wrap-detail-left-subtitle {
		color: #333333;
	}

	.banner-wrap-detail-left-line {

		background-color: #333333;
	}


}

.banner-float-view {
	top: -154px;
	/* background-color: yellow; */
	position: relative;
	width: 1200px;
	height: 100px;
	display: flex;
	flex-direction: row;
	justify-content: space-evenly;
	gap: 0px;
	z-index: 999;

}

.banner-wrap-detail-image {
	width: 1200px;
	height: 521px;
	object-fit: cover;
	position: relative;
	top: 0;
	left: 0;

}

.banner-wrap-title {
	font-size: 30px;
	font-weight: bold;
	width: 100%;
	text-align: center;
	margin-top: 40px;
	color: #333333;

}

.banner-wrap-title-custom {
	font-size: 30px;
	font-weight: bold;
	width: 100%;
	text-align: center;
	margin-top: 40px;
	color: white;
}

.banner-wrap-color {
	background-color: #A0C736;
	width: 50px;
	height: 5px;
	margin-top: 8px;
}

.six-wrap {
	width: 1200px;
	height: auto;
	padding-top: 116px;
	padding-bottom: 50px;


}

.map-wrap-line {

	width: 1200px;
	height: auto;
	margin-left: 0px;
}

.map-wrap-line-tip {
	background-color: #A0C736;
	width: 160px;
	height: 5px;
}

.map-wrap-line-text {
	color: #333;
	font-size: 20px;

	height: 28px;

}
.map-wrap-line-text-custom {
	color: white;
	font-size: 20px;

	height: 28px;

}
.map-wrap-line-content{
	display: flex;
	flex-direction: row;
	align-items: center;
	margin-top: 51px;
	gap: 20px;
}
.map-wrap-line-content-custom{
	display: flex;
	flex-direction: row;
	align-items: center;
	margin-top: 11px;
	gap: 20px;
}
.custom-wrap-view {
	display: flex;
	flex-direction: column;
	background-image: linear-gradient(to right, #157D40, #A1C736);
	/* 渐变色 */
	height: auto;
	align-items: center;
	width: 100%;
	padding: 0 0px;
	margin-top: 50px;
	padding-bottom: 40px;
}

.banner-wrap-custom-detail {
	width: 1200px;
	height: auto;

}

/* 轮播样式 */
.slider-container {
	width: 100%;
	height: 300px;
	position: relative;
	overflow: hidden;
	margin: 20px 0;
	background-color: #f0f0f0;
}

.slider {
	display: flex;
	width: 100%;
	height: 100%;
	transition: transform 0.5s ease-in-out;
}

.slider img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	flex-shrink: 0;
}

.prev,
.next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background-color: rgba(0, 0, 0, 0.5);
	color: white;
	border: none;
	padding: 10px 15px;
	cursor: pointer;
	z-index: 10;
	font-size: 20px;
	border-radius: 50%;
	transition: background-color 0.3s ease;
}

.prev:hover,
.next:hover {
	background-color: rgba(0, 0, 0, 0.8);
}

.prev {
	left: 20px;
}

.next {
	right: 20px;
}

.slider-dots {
	position: absolute;
	bottom: 20px;
	width: 100%;
	display: flex;
	justify-content: center;
	gap: 10px;
	z-index: 5;
}

.slider-dots .dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.5);
	cursor: pointer;
	transition: all 0.3s ease;
}

.slider-dots .dot.active {
	background: #ffffff;
	transform: scale(1.15);
}

/* 4列网格布局 */
.grid-4container {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	width: 100%;
	height: auto;
	gap: auto;
	align-items: center;
	justify-items: center;
	padding-left: 30px;
	padding-right: 30px;
}

.six-wrap-dynamic {
	width: 1200px;
	height: auto;
	padding-bottom: 50px;
	display: flex;
	flex-direction: column;
	align-items: center;


}

.grid-container-dynamic {
	display: grid;
	width: 1010px;
	grid-template-columns: repeat(3, 1fr);

	height: auto;

	align-items: center;
	justify-items: center;
	margin-top: 18px;

}

.grid-item-dynamic {

	transition: transform 0.3s ease, box-shadow 0.3s ease;
	cursor: pointer;
	width: 310px;
	height: 310px;
	display: flex;
	flex-direction: column;
	align-items: center;
	&:hover {
		transform: translateY(-10px);
		
	}
}

.five-grid-exhibition-item {
	width: 152px;
	height: 220px;

	transition: transform 0.3s ease, box-shadow 0.3s ease;
	cursor: pointer;

	display: flex;
	flex-direction: column;
	align-items: center;
	&:hover {
		transform: translateY(-10px);
		
	}
}

.five-grid-exhibition-item-image {
	width: 152px;
	height: 152px;
	object-fit: fill;
	border-radius: 76px;
	overflow: hidden;
}

.grid-item-dynamic-title {
	font-size: 16px;
	color: white;
	width: 310px;
	height: 48px;
	/* 确保高度足够容纳2行文本（根据行高调整） */
	margin-top: 10px;

	/* 核心：多行截断必须属性 */
	display: -webkit-box;
	/* 将元素设为弹性盒子（WebKit内核） */
	overflow: hidden;
	/* 隐藏超出部分 */
	-webkit-line-clamp: 2;
	/* 限制显示2行 */
	line-clamp: 2;
	/* 标准属性（部分浏览器支持） */
	/*! autoprefixer: off */
	-webkit-box-orient: vertical;
	/* 垂直排列文本（必须保留，防止压缩工具删除） */
	/*! autoprefixer: on */
	text-overflow: ellipsis;
	/* 超出部分显示省略号 */

}

.wrap-dynamic-more {
	font-size: 20px;
	font-weight: medium;
	color: white;
	margin-left: 64px;
	margin-left: 100px;
}

.grid-item-dynamic-subtitle {
	font-size: 14px;

	color: white;
	width: 310px;
	margin-top: 16px;
	line-height: 24px;


}

.grid-item-dynamic-image {
	width: 310px;
	height: 220px;
	object-fit: fill;
	border-radius: 20px;
}

.grid-item-custom {

	transition: transform 0.3s ease, box-shadow 0.3s ease;
	cursor: pointer;
	width: 180px;
	height: 160px;
	display: flex;
	flex-direction: column;
	align-items: center;
	&:hover {
		transform: translateY(-10px);
		
	}
}

.grid-item-custom-title {
	font-size: 28px;
	font-weight: bold;
	color: white;
	width: 200px;
	text-align: center;

}

.grid-item-custom-image {
	width: 112px;
	height: 112px;
	object-fit: fill;
}

.video-container {
	width: 1200px;
	height: auto;
	display: flex;
	flex-direction: column;

	align-items: center;
	padding-top: 46px;
	padding-bottom: 20px;
}

.video-bg {
	background-color: lightgray;
	width: 1010px;
	height: 350px;
	border-radius: 30px;
	/* margin-left: 150px;
	margin-top: 20px;
	margin-bottom: 20px;
	border-radius: 30px; */
	cursor: pointer;
}

.slider-container {

	width: 1010px;
	height: 351px;
	overflow: hidden;
	border-radius: 30px;
	cursor: pointer;
}

.slider {
	display: flex;
	width: 1010px;
	height: 351px;
	transition: transform 0.5s ease-in-out;
}

.slider img {
	width: 1010px;
	height: 351px;
	object-fit: fill;
}

.prev,
.next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background-color: rgba(0, 0, 0, 0.2);
	color: white;
	border: none;
	padding: 10px;
	cursor: pointer;
	z-index: 10;
	width: 60px;
	height: 60px;
}

.prev {
	left: 10px;
}

.next {
	right: 10px;
}

.slider-dots {
	position: absolute;
	bottom: 20px;
	width: 100%;
	display: flex;
	justify-content: center;
	gap: 8px;
}

.slider-dots .dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: #FFF;
	cursor: pointer;
	transition: background 0.3s ease;
}

.slider-dots .dot.active {
	background: #A0C736;
	transform: scale(1.15);
}

/* 三列网格布局 */
.five-grid-container {
	display: flex;
	flex-direction: row;
	gap: 20px;
	padding: 20px;
	justify-content: space-around;
	flex-wrap: wrap;

}

/* 三列网格布局 */
.five-grid-exhibition-container {
	/* display: flex;
	flex-direction: row;
	gap:  93px  210px;
	width: 876px;
	justify-content: space-around;
	flex-wrap: wrap;
	margin-left :162px;
	align-items: center;  */
	display: flex;
	flex-direction: row;
	gap: 93px 210px;
	/* 行间距93px，列间距210px（固定值） */
	width: 876px;
	justify-content: center;
	/* 关键：元素居中排列，间距由gap严格控制 */
	flex-wrap: wrap;
	margin-left: 162px;
	align-items: center;

}

.five-grid-exhibition-item-title {
	font-size: 30px;
	font-weight: bold;
	color: #333;
	margin-top: 35px;
}

.five-grid-item {
	background-color: #f9f9f9;
	border-radius: 8px;
	overflow: hidden;
	width: 30%;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	cursor: pointer;
}

.five-grid-item:hover {
	transform: translateY(-5px);
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.five-grid-item img {
	width: 100%;
	height: 180px;
	object-fit: cover;
}

.five-grid-item h3 {
	padding: 15px;
	text-align: center;
	font-size: 16px;
	color: #333;
	margin: 0;
}

.base-info {
	width: 1200px;
	height: auto;
	margin-top: 30px;
}

.video-btn {
	border-radius: 10px;
	width: 134px;
	height: 31px;
	color: white;
	background-color: #A0C736;
	text-align: center;
	margin-bottom: 100px;
	margin-top: 40px;
	font-size: 16px;
	line-height: 31px;
	cursor: pointer;
	&:hover {
		transform: translateY(-3px);
		
	}
}

.footer-wrap {
	width: 100%;
	height: 248px;
	/* background-color: white; */
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-bottom: 0px;
}

.footer-wrap-text {
	width: 1200px;

	display: flex;
	flex-direction: row;
	padding-top: 68px;
	
	height: 248px;
	padding-bottom: 68px;

}

.footer-wrap-text-left {
	width: 650px;
	display: flex;
	flex-direction: column;
	/* 强制子元素垂直排列（核心属性） */
	align-items: center;
	/* 子元素水平居中 */
	justify-content: flex-start;
	/* 垂直方向从顶部开始排列（默认值，可省略） */
	gap: 4px;
	/* 子元素之间的垂直间距（根据需求调整） */
	height: auto;

	/* 可选：添加内边距避免内容贴边 */
	padding: 16px;
	


}

.footer-wrap-text-left-content {
	width: 412px;
	height: auto;
	text-align: center;
}

.footer-wrap-text-right {
	width: 650px;

	display: flex;
	flex-direction: column;
	margin-left: 150px;
	height: 248px;
}

.base-info-item {
	font-size: 20px;
	color: #333;
	margin-top: 20px;
}