/* About page styles */

/* Hero (moved to header.css) */

/* Intro */
.about-intro {
	padding: 60px 0 0;
	background: var(--white);
}

.intro-split {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 40px;
	align-items: center;
}

.intro-copy p {
	color: var(--text-color);
	line-height: 1.8;
	margin: 0 0 14px 0;
}

.intro-copy h2 {
	margin-bottom: 16px;
}

.intro-copy h3 {
	margin: 20px 0 10px 0;
}

.intro-hero-img {
	width: 100%;
	height: 420px;
	border-radius: 10px;
	background-size: cover;
	background-position: center;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
	overflow: hidden;
	position: relative;
}

.intro-hero-img:after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0));
	pointer-events: none;
}

.section-title {
	padding-bottom: 60px;
}

.intro-grid {
	display: grid;
	grid-template-columns: 1.2fr 0.8fr;
	gap: 40px;
}

.intro-text h2 {
	font-size: 32px;
	margin: 0 0 16px 0;
}

.intro-text h3 {
	font-size: 22px;
	margin: 0 0 12px 0;
}

.intro-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.intro-list li {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 8px 0;
	line-height: 1.8;
}

.intro-list .intro-icon {
	color: var(--primary-color);
	font-size: 18px;
	width: 20px;
	text-align: center;
}

/* Gallery */
.about-gallery {
	padding: 60px 0;
}

.about-gallery-main {
	margin-top: 40px;
}

.about-gallery-main img {
	width: 100%;
	height: auto;
	border-radius: 6px;
}

/* Gallery grid and hover effect */
.gallery-grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 12px;
}

.gallery-item {
	position: relative;
	height: 180px;
	border-radius: 0px;
	overflow: hidden;
	background-size: cover;
	background-position: center;
}

.gallery-item .gi-overlay {
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	/* 使用叠加模式提亮图像，而不是覆盖半透明白层 */
	background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.65) 100%);
	mix-blend-mode: screen;
	/* 叠加提亮，不会出现明显白膜 */
	transform: translateX(-100%);
	transition: transform .5s ease;
	will-change: transform;
	pointer-events: none;
}

.gallery-item .gi-title {
	position: absolute;
	top: 10px;
	right: 10px;
	/* background: rgba(255,255,255,0.9); */
	color: #111;
	font-size: 13px;
	font-weight: 600;
	padding: 6px 10px;
	border-radius: 4px;
	opacity: 0;
	transform: translateY(-6px);
	transition: opacity .3s ease .15s, transform .3s ease .15s;
}

.gallery-item:hover .gi-overlay {
	transform: translateX(0);
}

.gallery-item:hover .gi-title {
	opacity: 1;
	transform: translateY(0);
}

/* Timeline */
.about-timeline {
	padding: 60px 0;
	background: var(--light-bg);
}

.timeline {
	position: relative;
	margin: 0 auto;
	max-width: 1100px;
}

.timeline:before {
	content: '';
	position: absolute;
	left: 50%;
	top: 0;
	bottom: 0;
	width: 2px;
	background: rgba(0, 0, 0, 0.08);
	transform: translateX(-50%);
}

.timeline-item {
	position: relative;
	margin: 40px 0;
	padding-top: 24px;
	/* 与年份徽标留出间距 */
}

.timeline-year {
	position: absolute;
	left: 50%;
	top: 0;
	transform: translate(-50%, -50%);
	background: var(--primary-color);
	color: var(--white);
	font-weight: 600;
	font-size: 18px;
	padding: 10px 18px;
	border-radius: 6px;
}

.timeline-card {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 50px;
	padding: 16px;
	margin-top: 16px;
	/* 年份徽标与内容的间距 */
}

/* 单数图片在左，双数在右：通过顺序控制 */
.timeline-item:nth-child(even) .timeline-media {
	order: 2;
}

.timeline-item:nth-child(even) .timeline-content {
	order: 1;
}

.timeline-media img {
	width: 100%;
	height: 240px;
	object-fit: cover;
	border-radius: 6px;
}

.timeline-content h3 {
	margin: 0 0 8px 0;
	font-size: 18px;
}

.timeline-content p {
	margin: 0;
	color: var(--text-color);
	line-height: 1.7;
}

/* Responsive */
@media (max-width: 1024px) {
	.intro-grid {
		grid-template-columns: 1fr;
	}

	.intro-split {
		grid-template-columns: 1fr;
	}

	.intro-hero-img {
		height: 360px;
	}

	.timeline-card {
		grid-template-columns: 1fr;
	}

	.timeline-media img {
		height: 220px;
	}

	.gallery-grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.gallery-item {
		height: 160px;
	}
}


@media (max-width: 768px) {
	.intro-hero-img {
		height: 260px;
	}


	.timeline:before {
		left: 18px;
		transform: none;
	}

	.timeline-year {
		left: 18px;
		transform: translateY(-50%);
	}

	.timeline-card {
		margin-left: 36px;
	}

	.gallery-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 10px;
	}

	.gallery-item {
		height: 140px;
	}
}

/* Lightbox (image preview) */
.lightbox {
	position: fixed;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.85);
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 10000;
	padding: 20px;
}

.lightbox.open {
	display: flex;
}

.lightbox .lb-img {
	max-width: 90vw;
	max-height: 90vh;
}

.lightbox .lb-close {
	position: absolute;
	top: 20px;
	right: 20px;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.15);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	cursor: pointer;
	user-select: none;
}

.lightbox .lb-close:hover {
	background: rgba(255, 255, 255, 0.3);
}

.lightbox .lb-caption {
	position: absolute;
	left: 20px;
	right: 20px;
	bottom: 20px;
	color: #fff;
	text-align: center;
	font-size: 14px;
	line-height: 1.6;
	opacity: 0.95;
}