.hero {
	height: 50vh;
	/* background: url('/img/lifeDetail/background.jpg') center/cover; */
	background-size: cover;
	background-position: center;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	margin-top: 100px;
	color: #fff;
}

.Our-title {
	font-weight: 700;
	font-size: 24px;
	color: #003782;
	line-height: 1.5;
	text-align: center;
	font-style: normal;
	text-transform: none;
}


.hero-content h1 {
	/* font-family: Calibri-Regular; */
	font-size: 31px;
	line-height: 1.5;
	color: #FECC48;
	background: rgba(0, 55, 130, 0.58);
	border-radius: 90px;
	border: 1px solid #707070;
	/* opacity: 0.58; */
	padding: 20px 60px;
}

.campus-features {
	padding: 60px 10%;
	background: #fff;
}

.bottom-title {
	text-align: center;
	font-size: 18px;
	font-weight: 400;
	letter-spacing: 0px;
	line-height: 1.5;
	color: rgb(0, 55, 130);
	max-width: 1200px;
	margin: 0px auto;
	padding: 60px 0;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	text-align: center;
	/* 整体内容居中 */
}

.feature-item {
	display: flex;
	align-items: center;
	gap: 140px;
	margin-top: 40px;
	text-align: left;
	/* 内容左对齐（与图标并列时） */
}

.icon-box {
	width: 120px;
	height: 120px;
	border: 1px solid rgba(112, 112, 112, 1);
	border-radius: 30px;
	/* 圆角 60（宽高 120，半径 60 即圆形边框） */
	display: flex;
	align-items: center;
	justify-content: center;
}

.feature-icon {
	width: 80px;
	height: 80px;
}

.feature-content {
	flex: 1;
}

.feature-content h3 {
	font-size: 24px;
	color: rgba(8, 8, 8, 1);
	/* 右侧内容标题颜色 */
	margin-bottom: 10px;
}

.feature-content p {
	font-size: 16px;
	color: #003782;
	/* 右侧内容段落颜色（若需与标题同色） */
	line-height: 1.5;
}


.campus-image-grid {
	/* padding: 40px 0; */
}

.container {
	/* max-width: 1200px;
	margin: 0 auto; */
	padding: 0 20px;
}

.grid-wrapper {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	/* 三列等宽 */
	/* gap: 16px; */
	/* 图片间距 */
}

.grid-item {
	width: 100%;
	height: 240px;
	object-fit: cover;
	/* border-radius: 8px; */
	/* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); */
	transition: transform 0.3s ease;
}

.grid-item:hover {
	transform: scale(1.02);
}

.bottom-image {
	grid-column: 1 / -1;
	/* 跨越所有列 */
	height: 320px;
	/* 底部图片更高 */
}


.classroom-layout {
	padding: 60px 120px;
	color: #003782;
	/* 品牌主色 */
}

/* 顶部模块（左图右文） */
.top-module {
	display: flex;
	align-items: flex-start;
	gap: 40px;
	margin-bottom: 40px;
}

.top-image {
	flex: 1;
	max-width: 50%;
	height: 300px;
	object-fit: cover;
	border-radius: 12px;
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
}

.top-text {
	flex: 1;
	line-height: 1.5;
}

/* 中间模块（并排图片） */
.middle-module {
	display: flex;
	gap: 20px;
	margin-bottom: 40px;
}

.middle-img:first-child {
	flex: 3;
	/* 第一张图片占30%宽度 */
}

.middle-img:last-child {
	flex: 7;
	/* 第二张图片占70%宽度 */
}

.middle-img {
	flex: 1;
	height: 300px;
	object-fit: cover;
	/* border-radius: 12px; */
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
}

/* 底部模块（网格布局） */
.bottom-module {
	display: grid;
	gap: 20px;
}

.full-width {
	width: 100%;
	height: 300px;
	object-fit: cover;
	/* border-radius: 12px; */
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
}

.bottom-grid {
	display: flex;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
}


.bottom-grid .bottom-img:first-child {
	flex: 7;
	/* 第一张图片占70%宽度 */
}

.bottom-grid .bottom-img:last-child {
	flex: 3;
	/* 第二张图片占30%宽度 */
}


.bottom-img {
	width: 100%;
	height: 200px;
	object-fit: cover;
	/* border-radius: 12px; */
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
}

/* 响应式适配（移动端） */
@media (max-width: 768px) {
	.top-module {
		flex-direction: column;
		text-align: center;
	}

	.top-image {
		max-width: 100%;
		margin-bottom: 20px;
	}

	.middle-module {
		flex-direction: column;
	}

	.bottom-grid {
		grid-template-columns: 1fr;
		flex-direction: column;
		/* 移动端垂直排列 */
	}

	.top-image,
	.middle-img,
	.bottom-img {
		height: auto;
		max-height: 300px;
	}

	.classroom-layout {
		padding: 30px 60px;
		color: #003782;
		/* 品牌主色 */
	}


	.bottom-grid .bottom-img {
		flex: 1;
		/* 自动占满宽度 */
		max-width: 100%;
	}


	.grid-wrapper {
		grid-template-columns: 1fr;
		/* 小屏幕单列布局 */
	}

	.grid-item {
		height: 200px;
	}

	.bottom-image {
		height: 240px;
	}


	.feature-item {
		flex-direction: column;
		text-align: center;
		gap: 20px;
	}

	.icon-box {
		margin-bottom: 20px;
	}

	.feature-content p {
		font-size: 20px;
	}

	.Our-title {
		font-size: 26px;
	}

	.bottom-title {
		padding: 40px;
	}
}

/* 视频播放器 */

.card-carousel {
	position: relative;
	/* max-width: 1200px; */
	/* margin: 0 40px; */
	padding: 20px 0;
}

.carousel-wrapper {
	overflow: hidden;
}

.carousel-track {
	display: flex;
	transition: transform 0.5s ease;
	gap: 20px;
}

.carousel-card {
	flex: 0 0 100%;
	min-width: 0;
}

.card-inner {
	background: #fff;
	overflow: hidden;
	transition: transform 0.3s;
}

.card-inner:hover {
	transform: translateY(-5px);
}

.card-thumbnail {
	position: relative;
	height: 200px;
	overflow: hidden;
}

.card-thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.play-icon {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 60px;
	height: 60px;
	background: rgba(255, 255, 255, 0.8);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #003782;
	font-size: 24px;
	cursor: pointer;
	opacity: 0.9;
	transition: opacity 0.3s;
}

.play-icon:hover {
	opacity: 1;
}

.card-content {
	padding: 16px 20px;
}

.card-title {
	font-size: 18px;
	font-weight: 600;
	color: #333;
	margin-bottom: 8px;
}

.card-description {
	font-size: 14px;
	color: #666;
	line-height: 1.5;
}

/* 控制按钮 */
.carousel-control {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 40px;
	height: 40px;
	background: rgba(255, 255, 255, 0.8);
	border-radius: 50%;
	border: none;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #003782;
	font-size: 24px;
	cursor: pointer;
	z-index: 10;
	transition: background 0.3s;
}

.carousel-control:hover {
	background: white;
}

.carousel-control:disabled {
	opacity: 0.3;
	cursor: not-allowed;
}

.prev {
	left: -50px;
}

.next {
	right: -50px;
}

/* 指示器 */
.carousel-indicators {
	display: flex;
	justify-content: center;
	margin-top: 20px;
	gap: 8px;
}

.carousel-indicators button {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #e0e0e0;
	border: none;
	cursor: pointer;
	transition: all 0.3s;
}

.carousel-indicators button.active {
	width: 30px;
	border-radius: 5px;
	background: #003782;
}

@media (min-width: 768px) {
	.carousel-card {
		flex: 0 0 calc((100% - 40px) / 3);
	}
}

@media (min-width: 576px) and (max-width: 767px) {
	.carousel-card {
		flex: 0 0 calc((100% - 20px) / 2);
	}
}

.image-preview-modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.9);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 1000;
	cursor: zoom-out;
}

.preview-content {
	position: relative;
	max-width: 90%;
	max-height: 90%;
	cursor: default;
}

.preview-content img {
	max-width: 100%;
	max-height: 80vh;
	object-fit: contain;
}

.close-btn {
	position: absolute;
	top: -40px;
	right: -40px;
	color: white;
	font-size: 30px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 5px 10px;
}

@media (max-width: 768px) {
	.close-btn {
		top: -30px;
		right: 0;
	}
}