﻿.banner {
	height: 525px;
	color: #d8241e;
	position: relative;
        max-width: 2560px;
        margin: 0 auto;
}
.banner img{
	height: 100%;
}
.banner-container {
	position: absolute;
	left: 0;
	top: 0;
	padding-top: 193px;
	padding-left: 295px;
	height: 100%;
	width: 100%;
}
.banner .head-text {
	font-size: 80px;
	font-weight: 700;
}
.banner .head-text1 {
	font-size: 30px;
	font-weight: 500;
	margin: 16px 0 18px;
}

.img-box {
	/* position: relative; */
}
.content-img {
	display: block;
	/* margin: -30px; */
	/* bottom: -40px; */
	/* position: absolute;
	top: -30px;
	bottom: -30px; */
	width: 100%;
	cursor: pointer; /* 添加手型光标，提示可点击 */
}

/* 图片预览模态框样式 */
.modal-gallery {
	display: none;
	position: fixed;
	z-index: 1000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
	background-color: rgba(0, 0, 0, 0.75);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.modal-content {
	position: relative;
	top: 5%;
	margin: 0 auto;
	max-width: 90%;
	max-height: 90%;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.modal-body {
	background: transparent;
	border-radius: 8px;
	overflow: hidden;
	display: flex;
	justify-content: center;
	align-items: center;
	height: 90vh;
}

.gallery-container {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 100%;
}

.gallery-image-container {
	position: relative;
	max-width: 100%;
	max-height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
}

.gallery-image-container img {
	max-width: 100%;
	max-height: 90vh;
	object-fit: contain;
	border-radius: 4px;
}

.close-modal {
	position: absolute;
	top: -40px;
	right: -40px;
	color: #fff;
	font-size: 28px;
	font-weight: bold;
	cursor: pointer;
	z-index: 1010;
	width: 40px;
	height: 40px;
	background-color: rgba(0, 0, 0, 0.5);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background-color 0.3s;
}

.close-modal:hover {
	background-color: rgba(0, 0, 0, 0.8);
}

/* 移动端适配样式 */
@media screen and (max-width: 1024px) {
	/* Banner区域适配 */
	.banner {
		height: 280px;
		background-size: cover;
		background-position: center;
	}

	.banner-container {
		padding-top: 0px;
		padding-left: 20px;
		text-align: left;
		display: flex;
		align-items: center;
	}

	.banner .head-text {
		font-size: 28px;
	}

	.banner .head-text1 {
		display: none;
		font-size: 18px;
		margin: 10px 0;
	}

	/* 面包屑导航适配 */
	.container-box .breadcrumb {
		padding-left: 15px;
		font-size: 14px;
		white-space: nowrap;
		overflow-x: auto;
		padding-right: 15px;
		-webkit-overflow-scrolling: touch;
	}

	.container-box .breadcrumb .home-icon {
		width: 16px;
		height: 16px;
		vertical-align: middle;
	}

	.container-box .breadcrumb .separator {
		margin: 0 5px;
	}

	.img-box {
		margin-top: 20px;
		margin-bottom: 20px;
	}

	.content-img {
		width: 100%;
		height: auto;
	}
	
	/* 移动端模态框样式调整 */
	.modal-content {
		max-width: 95%;
	}
	
	.close-modal {
		top: -30px;
		right: -10px;
	}
}
