* {
	font-family: PingFang SC Regular;
}


/* 英雄区域样式 */
.hero {
	background: url('../static/img/banner2.png') center/cover no-repeat;
	padding-top: 60px;
	position: relative;
	overflow: hidden;
}

.hero-content {
	display: flex;
	align-items: center;
	height: 360px;
}

.hero-text {
	flex: 1;
	padding-right: 40px;
	font-family: PingFang SC Regular;
}

.hero-text h1 {
	color: #303133;
	margin-bottom: 20px;
	line-height: 1.1;
	font-size: 36px;
	font-family: PingFang SC Regular;
	font-weight: 500;
}

.hero-text p {
	font-size: 18px;
	color: #191919;
	line-height: 1.1;
	/* margin-bottom: 30px; */
}

.hero-image {
	flex: 1;
	text-align: right;
}

.hero-image img {
	max-width: 100%;
	height: auto;
	border-radius: 12px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* 广告类型标签 */
.ad-tabs-container {
	height: 60px;
	background-color: #f4f5f7;
	position: sticky;top: 60px;
	z-index: 9;
}

.ad-tabs {
	display: flex;
	justify-content: space-around;
	/* height: 60px; */
	/* border-bottom: 1px solid #eee; */
	/* padding-bottom: 10px; */
}

.ad-tab {
	margin: 0 20px;
	cursor: pointer;
	color: #666;
	padding: 18px 6px 5px;
	position: relative;
	/* border-bottom: 3px solid #f4f5f7; */
	display: flex;
	align-items: center;
	/* height: 100%; */
}

.ad-tab a {
	text-decoration: none;
	color: #191919;
	font-size: 16px;
	transition: color 0.3s;
}

.ad-tab.active {
	color: #0052D9;
}

.ad-tab.active::after {
	content: '';
	position: absolute;
	bottom: -11px;
	left: 0;
	width: 100%;
	height: 3px;
	background-color: #0052D9;
	border-radius: 3px;
}

/* 广告内容区域 */
.ad-content {
	padding: 40px 0;
}

.ad-card {
	display: flex;
	align-items: center;
	background-color: #f9fafb;
	border-radius: 16px;
	
	margin-bottom: 40px;
}

.ad-card.reverse {
	flex-direction: row-reverse;
}

.ad-card-text {
	flex: 1;
	min-width: 50%

}

.ad-card-text-left {
	padding-left: 15%;

}
.ad-card-text-right {
	padding-left: 5%;
	padding-right: 10%;

}

.ad-card-text h2 {
	font-size: 24px;
	color: #191919;
	margin-bottom: 20px;
	padding-left: 20px;
}

.ad-card-text ul {
	list-style: none;
	margin-bottom: 30px;
}

.ad-card-text ul li {
	font-size: 16px;
	color: #666;
	margin-bottom: 10px;
	position: relative;
	padding-left: 20px;
}

.ad-card-text ul li::before {
	content: '。';
	position: absolute;
	left: 0;
	color: #0052d9;
	font-size: 20px;
	font-weight: 900;
	top: -10px;

}

.btn {
	margin-left: 20px;
	display: inline-block;
	padding: 8px 30px;
	border-radius: 3px;
	text-decoration: none;
	font-size: 14px;
	transition: background-color 0.3s;
	border: 1px solid #0052d9;
	color: #0052d9;
}

.btn:hover {
	cursor: pointer;
	background-color: #0052d9;
	color: white;
}

.ad-card-image {
	flex: 1;
	padding-top: 50px;
	min-width: 50%;
	display: flex;
	justify-content: center;
	
}

.ad-card-image img {
	height: auto;
	width: 380px;
	/* border-radius: 12px;
			box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1); */
			animation-delay: 0.7s;
			animation: sloshing 1.2s infinite 
cubic-bezier(.36, 0, .7, 1) alternate backwards ;
			
}


/* 响应式调整 */
@media (max-width: 768px) {
	.hero-content {
		flex-direction: column;
	}

	.hero-text {
		padding-right: 0;
		margin-bottom: 30px;
		text-align: center;
	}

	.ad-card,
	.ad-card.reverse {
		flex-direction: column;
		padding: 30px;
	}

	.ad-card-text {
		padding: 0 0 30px 0;
		text-align: center;
	}

	.ad-card-image {
		flex: 0 0 auto;
		width: 100%;
		max-width: 220px;
		margin: 0 auto;
	}

	.ad-tabs {
		flex-wrap: wrap;
	}

	.ad-tab {
		margin: 0 10px 10px;
	}

	nav ul {
		display: none;
	}
}
