/* 活动详情页专用样式 */

/* 横幅样式调整 */
.banner {
	position: relative;
	height: 300px;
	overflow: hidden;
}

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

/* 活动内容包装器 */
.activity-content-wrapper {
	position: relative;
	margin-top: -100px; /* 调整内容区域位置，向下移动 */
	background-color: #fff;
	padding-bottom: 50px;
}

/* 面包屑导航 */
.breadcrumb-container {
	background-color: transparent;
	padding: 38px 0;
	position: relative;
	z-index: 10;
	margin-top: 0;
	border-bottom: 1px solid #f0f0f0;
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
}

.breadcrumb-container .container {
	padding-left: 300px;
	padding-right: 308px;
	text-align: left;
}

.breadcrumb {
	font-size: 14px;
	color: #333;
	font-weight: normal;
	text-align: left;
}

.breadcrumb a {
	color: #666;
	text-decoration: none;
}

.breadcrumb a:hover {
	color: #ed7930;
}

.breadcrumb span {
	color: #333;
	font-weight: 500;
}

/* 活动详情容器 */
.activity-detail-container {
	padding: 40px 0;
	background-color: #f8f9fa;
}

.activity-detail-container .container {
	padding-left: 300px;
	padding-right: 308px;
}

.activity-detail-wrapper {
	display: flex;
	flex-wrap: wrap;
	gap: 40px;
	margin-bottom: 40px;
}

/* 活动图片区域 */
.activity-gallery {
	flex: 1;
	min-width: 300px;
	max-width: 450px;
}

.activity-main-img {
	width: 100%;
	height: 350px;
	border: 1px dashed #ddd;
	margin-bottom: 15px;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #f9f9f9;
}

.activity-main-img img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	display: block;
}

.activity-thumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.activity-thumb {
	width: calc(20% - 8px);
	height: 70px;
	cursor: pointer;
	border: 1px solid #eee;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #f9f9f9;
}

.activity-thumb.active {
	border: 1px solid #ed7930;
}

.activity-thumb img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	display: block;
}

/* 活动信息区域 */
.activity-info {
	flex: 1;
	min-width: 300px;
}

.activity-header {
	margin-bottom: 30px;
	border-bottom: 1px solid #eee;
	padding-bottom: 20px;
}

.activity-title {
	font-size: 28px;
	margin-bottom: 15px;
	color: #333;
	font-weight: 600;
}

.activity-subtitle {
	font-size: 16px;
	margin-bottom: 20px;
	color: #666;
	font-weight: normal;
	transition: color 0.3s ease;
}

.activity-header:hover .activity-subtitle {
	color: #ed7930;
}

.activity-meta {
	color: #6c757d;
	font-size: 14px;
}

.activity-meta-item {
	margin-right: 20px;
}

.activity-text {
	margin-bottom: 30px;
	line-height: 1.8;
	color: #555;
}

.activity-text p {
	margin-bottom: 15px;
}

.activity-image {
	margin: 20px 0 30px;
	text-align: center;
	height: 730px;
}

.activity-image img {
	max-width: 100%;
	height: 730px;
	border-radius: 5px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* 分享按钮 */
.activity-share {
	margin-top: 30px;
	display: flex;
	align-items: center;
	padding: 15px 20px;
	background-color: rgba(237, 121, 48, 0.05);
	border-radius: 10px;
	transition: all 0.3s ease;
}

.activity-share:hover {
	background-color: rgba(237, 121, 48, 0.1);
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
	transform: translateY(-3px);
}

.activity-share p {
	margin-right: 15px;
	font-size: 14px;
	color: #666;
	font-weight: 500;
	transition: color 0.3s ease;
}

.activity-share:hover p {
	color: #ed7930;
}

.share-links {
	display: flex;
	gap: 10px;
}

.share-links a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background-color: #f5f5f5;
	color: #666;
	transition: all 0.4s ease;
	position: relative;
	overflow: hidden;
}

.share-links a::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(45deg, #ed7930, #ff9f5a);
	opacity: 0;
	transition: opacity 0.4s ease;
	z-index: 0;
}

.share-links a i {
	position: relative;
	z-index: 1;
	transition: transform 0.4s ease, color 0.4s ease;
}

.share-links a:hover {
	transform: translateY(-3px) scale(1.1);
	box-shadow: 0 5px 10px rgba(237, 121, 48, 0.3);
}

.share-links a:hover::before {
	opacity: 1;
}

.share-links a:hover i {
	color: #fff;
	transform: scale(1.2);
}

/* 活动详情部分 */
.activity-details {
	padding: 40px 0;
	background-color: #fff;
}

.activity-details .container {
	padding-left: 300px;
	padding-right: 308px;
}

.section-title {
	font-size: 24px;
	margin-bottom: 30px;
	color: #333;
	font-weight: 600;
	position: relative;
	padding-bottom: 10px;
	border-bottom: 1px solid #eee;
}

.details-content {
	background: #fff;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 30px;
}

.details-image {
	width: 100%;
	border: 1px dashed #ddd;
	overflow: hidden;
	height: 400px;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #f9f9f9;
	margin-bottom: 20px;
}

.details-image img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	display: block;
}

.details-text {
	padding: 0;
	margin-bottom: 0;
}

.details-subtitle {
	font-size: 18px;
	color: #333;
	margin-bottom: 15px;
	font-weight: 600;
	position: relative;
	border-left: none;
	padding-left: 0;
}

.details-text p {
	font-size: 14px;
	line-height: 1.6;
	color: #555;
	margin-bottom: 15px;
	text-align: justify;
}

/* 活动图集 */
.activity-gallery-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 15px;
	margin-top: 20px;
}

.gallery-item {
	height: 200px;
	overflow: hidden;
	border: 1px solid #eee;
	cursor: pointer;
	transition: all 0.4s ease;
	position: relative;
}

.gallery-item::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.3);
	opacity: 0;
	transition: opacity 0.4s ease;
	z-index: 1;
}

.gallery-item:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
	border-color: #ed7930;
}

.gallery-item:hover::before {
	opacity: 1;
}

.gallery-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.gallery-item:hover img {
	transform: scale(1.1);
}

/* 相关活动 */
.related-activities {
	margin-top: 40px;
	border-top: 1px solid #eee;
	padding-top: 20px;
}

.related-activities h3 {
	font-size: 22px;
	margin-bottom: 30px;
	text-align: center;
	position: relative;
}

.related-activities h3:after {
	content: "";
	display: block;
	width: 50px;
	height: 3px;
	background: #ed7930;
	margin: 10px auto 0;
	transition: width 0.5s ease;
}

.related-activities:hover h3:after {
	width: 100px;
}

.related-activities-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 30px;
}

.related-activity-item {
	border: 1px solid #eee;
	padding: 15px;
	text-align: center;
	transition: all 0.4s ease;
	position: relative;
	overflow: hidden;
	border-radius: 8px;
}

.related-activity-item::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 5px;
	background: linear-gradient(to right, #ed7930, #ff9f5a);
	transform: translateY(-100%);
	transition: transform 0.4s ease;
}

.related-activity-item:hover {
	transform: translateY(-10px);
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
	border-color: rgba(237, 121, 48, 0.3);
}

.related-activity-item:hover::before {
	transform: translateY(0);
}

.related-activity-item img {
	width: 100%;
	height: 180px;
	object-fit: cover;
	margin-bottom: 15px;
	transition: transform 0.5s ease, filter 0.5s ease;
	border-radius: 4px;
}

.related-activity-item:hover img {
	transform: scale(1.05);
	filter: brightness(1.1);
}

.related-activity-item h4 {
	margin-bottom: 10px;
	font-size: 16px;
	color: #333;
	transition: color 0.3s ease;
}

.related-activity-item:hover h4 {
	color: #ed7930;
}

.related-activity-item p {
	color: #666;
	font-size: 14px;
	margin-bottom: 15px;
}

.related-activity-item a {
	color: #ed7930;
	text-decoration: none;
	font-weight: 500;
	transition: all 0.3s ease;
	font-size: 14px;
	display: inline-block;
	padding: 5px 15px;
	border-radius: 20px;
	border: 1px solid transparent;
}

.related-activity-item a:hover {
	color: #fff;
	background-color: #ed7930;
	border-color: #ed7930;
	box-shadow: 0 5px 15px rgba(237, 121, 48, 0.3);
}

/* 活动内容列表样式 */
.activity-content ul,
.activity-content ol {
	margin-bottom: 20px;
	padding-left: 20px;
}

.activity-content ul li,
.activity-content ol li {
	margin-bottom: 10px;
	font-size: 14px;
	color: #555;
	line-height: 1.6;
	transition: all 0.3s ease;
	position: relative;
	padding-left: 5px;
}

.activity-content ul li::before,
.activity-content ol li::before {
	content: "";
	position: absolute;
	left: -5px;
	top: 0;
	height: 100%;
	width: 2px;
	background: linear-gradient(to bottom, #ed7930, #ff9f5a);
	opacity: 0;
	transition: opacity 0.3s ease, transform 0.3s ease;
	transform: scaleY(0);
}

.activity-content ul li:hover,
.activity-content ol li:hover {
	color: #333;
	transform: translateX(5px);
	padding-left: 10px;
}

.activity-content ul li:hover::before,
.activity-content ol li:hover::before {
	opacity: 1;
	transform: scaleY(1);
}

.activity-content ul li strong,
.activity-content ol li strong {
	color: #ed7930;
	transition: color 0.3s ease;
}

.activity-content ul li:hover strong,
.activity-content ol li:hover strong {
	color: #d56a28;
}

/* 相关活动链接样式 */
.related-activity-links {
	display: flex;
	justify-content: space-between;
}

.related-link {
	padding: 10px 15px;
	background-color: #f8f9fa;
	color: #333;
	border-radius: 4px;
	text-decoration: none;
	transition: all 0.3s ease;
}

.related-link:hover {
	background-color: #e9ecef;
	color: #212529;
}

/* 响应式调整 */
@media (max-width: 1440px) {
	.activity-detail-container .container,
	.activity-details .container,
	.breadcrumb-container .container {
		padding-left: 200px;
		padding-right: 208px;
	}
}

@media (max-width: 1200px) {
	.activity-detail-container .container,
	.activity-details .container,
	.breadcrumb-container .container {
		padding-left: 100px;
		padding-right: 108px;
	}

	.activity-gallery-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 992px) {
	.activity-detail-container .container,
	.activity-details .container,
	.breadcrumb-container .container {
		padding-left: 50px;
		padding-right: 58px;
	}

	.activity-detail-wrapper {
		flex-direction: column;
	}

	.activity-gallery {
		max-width: 100%;
	}

	.activity-meta {
		flex-direction: column;
		gap: 10px;
	}
}

@media (max-width: 768px) {
	.activity-detail-container .container,
	.activity-details .container,
	.breadcrumb-container .container {
		padding-left: 20px;
		padding-right: 20px;
	}

	.breadcrumb-container {
		padding: 20px 0;
	}

	.activity-title {
		font-size: 22px;
	}

	.activity-subtitle {
		font-size: 16px;
	}

	.activity-thumb {
		width: calc(25% - 8px);
	}

	.section-title {
		font-size: 20px;
	}

	.details-subtitle {
		font-size: 16px;
	}

	.activity-gallery-grid {
		grid-template-columns: 1fr;
	}

	.gallery-item {
		height: 180px;
	}

	.related-activity-links {
		flex-direction: column;
		gap: 10px;
	}
}

@media (max-width: 576px) {
	.activity-thumb {
		width: calc(33.33% - 7px);
	}

	.share-links {
		flex-wrap: wrap;
	}

	.activity-share {
		flex-direction: column;
		align-items: flex-start;
	}

	.activity-share p {
		margin-bottom: 10px;
	}
}

/* 图片查看器样式 */
.lightbox {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.9);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 1000;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease;
}

.lightbox.active {
	opacity: 1;
	visibility: visible;
}

.lightbox-content {
	position: relative;
	max-width: 90%;
	max-height: 80%;
	transform: scale(0.9);
	opacity: 0;
	transition: all 0.5s ease;
}

.lightbox.active .lightbox-content {
	transform: scale(1);
	opacity: 1;
}

.lightbox-img {
	max-width: 100%;
	max-height: 80vh;
	display: block;
	margin: 0 auto;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
	border-radius: 5px;
}

.lightbox-close {
	position: absolute;
	top: -40px;
	right: 0;
	color: #fff;
	font-size: 30px;
	cursor: pointer;
	transition: all 0.3s ease;
}

.lightbox-close:hover {
	color: #ed7930;
	transform: rotate(90deg);
}

.lightbox-nav {
	position: absolute;
	top: 50%;
	width: 100%;
	display: flex;
	justify-content: space-between;
	transform: translateY(-50%);
}

.lightbox-prev,
.lightbox-next {
	color: #fff;
	font-size: 30px;
	cursor: pointer;
	padding: 10px;
	background-color: rgba(0, 0, 0, 0.5);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	transition: all 0.3s ease;
	transform: translateX(0);
}

.lightbox-prev:hover,
.lightbox-next:hover {
	background-color: rgba(237, 121, 48, 0.8);
	box-shadow: 0 0 20px rgba(237, 121, 48, 0.5);
}

.lightbox-prev {
	margin-left: 20px;
}

.lightbox-prev:hover {
	transform: translateX(-5px);
}

.lightbox-next {
	margin-right: 20px;
}

.lightbox-next:hover {
	transform: translateX(5px);
}

.lightbox-caption {
	position: absolute;
	bottom: -40px;
	left: 0;
	width: 100%;
	text-align: center;
	color: #fff;
	font-size: 16px;
	opacity: 0;
	transform: translateY(20px);
	transition: all 0.5s ease;
}

.lightbox.active .lightbox-caption {
	opacity: 1;
	transform: translateY(0);
}

/* 动画效果 */
.wow {
	visibility: hidden;
}

/* 滑入动画 */
@keyframes slideInFromLeft {
	0% {
		transform: translateX(-50px);
		opacity: 0;
	}
	100% {
		transform: translateX(0);
		opacity: 1;
	}
}

@keyframes slideInFromRight {
	0% {
		transform: translateX(50px);
		opacity: 0;
	}
	100% {
		transform: translateX(0);
		opacity: 1;
	}
}

@keyframes slideInFromBottom {
	0% {
		transform: translateY(50px);
		opacity: 0;
	}
	100% {
		transform: translateY(0);
		opacity: 1;
	}
}

/* 滑入动画类 */
.slide-in-left {
	animation: slideInFromLeft 0.8s ease forwards;
}

.slide-in-right {
	animation: slideInFromRight 0.8s ease forwards;
}

.slide-in-bottom {
	animation: slideInFromBottom 0.8s ease forwards;
}

/* 渐变动画 */
@keyframes fadeIn {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}

.fade-in {
	animation: fadeIn 1s ease forwards;
}

/* 缩放动画 */
@keyframes zoomIn {
	0% {
		transform: scale(0.8);
		opacity: 0;
	}
	100% {
		transform: scale(1);
		opacity: 1;
	}
}

.zoom-in {
	animation: zoomIn 0.8s ease forwards;
}

/* 悬停效果 */
.hover-lift {
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

header.scrolled-past-banner {
	background-color: #ffffff !important;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
}
header.scrolled-past-banner .menu a {
	color: #333333 !important;
}
header.scrolled-past-banner .menu a:hover,
header.scrolled-past-banner .menu a.active {
	color: #333333 !important;
	border-bottom-color: #333333 !important;
}
header.scrolled-past-banner .language-switch a {
	color: #333333 !important;
}
header.scrolled-past-banner .menu-toggle i {
	color: #333333 !important;
}
.related-link:hover,
.prev-article:hover,
.next-article:hover {
	background: transparent; /* 移除任何背景色变�?*/
	border-left: none; /* 移除左侧边框 */
	text-decoration: none; /* 移除下划�?*/
	color: #ff6600; /* 可以改为悬停时的文字颜色变化 */
}
/* 移除标题下方的下划线 */
.prev-article h3::after,
.next-article h3::after,
.related-link h3::after {
	display: none !important;
}
.prev-article h3,
.next-article h3,
.related-link h3 {
	border-bottom: none !important;
	text-decoration: none !important;
}
