.main-content {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
}

.layout {
	display: grid;
	grid-template-columns: 303px 1fr;
	gap: 40px;
	align-items: start;
}

.sidebar {
	top: 24px;
}

.event-card {
	border: 1px solid #eee;
	padding: 18px;
	/* animation: float 6s ease-in-out infinite; */
}

.event-date {
	display: grid;
	place-items: center;
	text-align: center;
	margin: 0 auto 14px;
	overflow: hidden;
	position: relative;
}

/* 侧边栏海报轮播 */
.sidebar-poster-carousel {
	width: 100%;
	overflow: hidden;
	position: relative;
}

.sidebar-poster-track {
	display: flex;
	transition: transform 0.8s ease-in-out;
	will-change: transform;
	width: 100%;
}

.sidebar-poster-track img {
	width: 100%;
	height: auto;
	display: block;
	flex-shrink: 0;
	object-fit: contain;
	min-width: 100%;
	transition: transform 0.3s ease, opacity 0.3s ease;
}

.sidebar-poster-track img:hover {
	transform: scale(1.02);
	opacity: 0.9;
}


.event-btn {
	display: block;
	text-align: center;
	background: #1150b3;
	color: #fff;
	text-decoration: none;
	padding: 10px 14px;
	font-weight: 700;
	letter-spacing: .5px;
}

.event-btn:hover {
	background: #08295a;
}

.top-title {
	margin: 4px 0 20px;
	font-size: 32px;
	line-height: 1.25;
	text-align: center;
}

.richtext p {
	margin: 0 0 12px;
}


.richtext .highlight {
	color: #1150b3;
	font-weight: 700;
}

.gallery-title {
	font-size: 22px;
	margin: 28px 0 12px;
}

.main-content .container {
	padding: 0 20px;
}

.gallery {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
}

.gallery-column {
	display: flex;
	flex-direction: column;
	width: 100%;
}

/* 每一列单独管理 */
.gallery-column[data-column="0"] {
	/* 第一列样式 - 可在此添加第一列特定的样式 */
}

.gallery-column[data-column="1"] {
	/* 第二列样式 - 可在此添加第二列特定的样式 */
}

.gallery-column[data-column="2"] {
	/* 第三列样式 - 可在此添加第三列特定的样式 */
}

.gallery-column .gallery-item {
	margin: 0 0 15px 0;
	padding: 0;
}

.gallery-item .fig {
	margin: 0;
	padding: 0;
	position: relative;
}

.gallery-item img {
	width: 100%;
	height: auto;
	display: block;
	border: 1px solid #000;
	vertical-align: top;
	margin: 0;
	padding: 0;
}

.gallery-item .figcaption {
	font-size: 15px;
	color: #222;
	padding: 8px 0 0 0;
	margin: 0;
	text-align: center;
	line-height: 1.4;
}

.gallery-item .fig .show-dtl {
	opacity: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	position: absolute;
	inset: 0px;
	transition: all 0.3s ease;
}

.gallery-item .fig .show-dtl button {
	background-color: #fff;
	color: #000;
	padding: 0.5rem 1rem;
	border: none;
	cursor: pointer;
}

.gallery-item .fig .show-dtl:hover {
	opacity: 1;
	background-color: rgb(26 26 26 / 0.6);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* 模态框样式 */
.modal-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.6);
	z-index: 1000;
	align-items: center;
	justify-content: center;
	animation: fadeIn 0.3s ease;
}

.modal-content {
	background: #fff;
	max-width: 900px;
	width: 90%;
	max-height: 90vh;
	position: relative;
	padding: 0;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
	animation: slideUp 0.3s ease;
	display: flex;
	flex-direction: column;
}

.modal-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	height: 100%;
	max-height: 90vh;
}

.modal-image-container {
	background: #f5f5f5;
	display: flex;
	align-items: center;
	justify-content: center;
}

.modal-image {
	width: 100%;
	height: auto;
	object-fit: contain;
	max-height: none;
}

.modal-info {
	padding: 40px 36px;
	overflow-y: auto;
	display: flex;
	flex-direction: column;
}

.modal-close {
	position: absolute;
	top: 16px;
	right: 16px;
	background: rgba(255, 255, 255, 0.9);
	border: none;
	font-size: 32px;
	color: #222;
	cursor: pointer;
	line-height: 1;
	padding: 4px 12px;
	transition: all 0.2s ease;
	z-index: 10;
	border-radius: 4px;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.modal-close:hover {
	color: #666;
	background: rgba(255, 255, 255, 1);
}

.modal-header {
	margin-bottom: 24px;
}

.modal-title {
	font-size: 28px;
	font-weight: 700;
	margin: 0;
	color: #222;
	line-height: 1.3;
}

.modal-body {
	color: #222;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.modal-description {
	font-size: 15px;
	line-height: 1.6;
	margin-bottom: 28px;
	color: #444;
}

.modal-materials {
	margin-bottom: 32px;
}


.materials-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.modal-cta-btn {
	width: 100%;
	background-color: #222;
	color: #fff;
	border: none;
	padding: 14px 24px;
	font-size: 16px;
	font-weight: 600;
	border-radius: 4px;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.modal-cta-btn:hover {
	background-color: #333;
}

/* 平板设备 */
@media (max-width: 1024px) {
	.layout {
		grid-template-columns: 280px 1fr;
		gap: 30px;
	}

	.top-title {
		font-size: 28px;
	}
}

/* 移动设备 */
@media (max-width: 760px) {
	.main-content .container {
		padding: 0 15px !important;
	}

	.layout {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.sidebar {
		position: static;
		margin-bottom: 20px;
	}

	.event-card {
		padding: 15px;
	}

	.top-title {
		font-size: 24px;
		margin: 0 0 15px 0;
	}

	.gallery-title {
		font-size: 20px;
		margin: 20px 0 10px;
	}

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

	.gallery-column .gallery-item {
		margin: 0 0 12px 0;
	}

	.gallery-item .figcaption {
		font-size: 13px;
		padding: 6px 0 0 0;
	}

	.richtext p {
		font-size: 14px;
		line-height: 1.6;
	}

	.modal-content {
		overflow: auto;
		max-width: 95%;
	}

	.modal-grid {
		grid-template-columns: 1fr;
		max-height: 90vh;
	}

	.modal-info {
		padding: 32px 24px;
	}

	.modal-title {
		font-size: 24px;
	}

	.modal-description {
		font-size: 14px;
	}
}


@keyframes float {
	0% {
		transform: translateY(0px);
	}

	50% {
		transform: translateY(-10px);
	}

	100% {
		transform: translateY(0px);
	}
}

/* 海报轮播样式 */
.poster-carousel-wrapper {
	margin: 40px 0;
	position: relative;
}

.poster-carousel {
	position: relative;
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	overflow: hidden;
	border-radius: 12px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
	background: #f8f8f8;
	aspect-ratio: 16 / 9;
	min-height: 400px;
}

.poster-carousel-track {
	display: flex;
	transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
	will-change: transform;
}

.poster-slide {
	flex: 0 0 100%;
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f8f8f8;
}

.poster-slide img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: contain;
	transition: transform 0.6s ease;
}

/* 轮播按钮 */
.poster-carousel-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(255, 255, 255, 0.9);
	border: none;
	color: #1150b3;
	font-size: 1.2rem;
	padding: 15px 18px;
	cursor: pointer;
	border-radius: 50%;
	width: 50px;
	height: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
	z-index: 10;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	backdrop-filter: blur(10px);
}

.poster-carousel-btn:hover {
	background: rgba(255, 255, 255, 1);
	transform: translateY(-50%) scale(1.1);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
	color: #08295a;
}

.poster-carousel-btn:active {
	transform: translateY(-50%) scale(0.95);
}

.poster-carousel-btn.poster-prev {
	left: 20px;
}

.poster-carousel-btn.poster-next {
	right: 20px;
}

.poster-carousel-btn i {
	font-size: 1rem;
}

/* 指示器 */
.poster-carousel-dots {
	position: absolute;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 12px;
	z-index: 10;
	padding: 8px 16px;
	background: rgba(0, 0, 0, 0.3);
	border-radius: 20px;
	backdrop-filter: blur(10px);
}

.poster-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.5);
	cursor: pointer;
	transition: all 0.3s ease;
	border: 2px solid transparent;
}

.poster-dot:hover {
	background: rgba(255, 255, 255, 0.8);
	transform: scale(1.2);
}

.poster-dot.active {
	background: #fff;
	width: 24px;
	border-radius: 5px;
	box-shadow: 0 2px 8px rgba(255, 255, 255, 0.5);
}

/* 响应式设计 */
@media (max-width: 1024px) {
	.poster-carousel {
		max-width: 100%;
		border-radius: 8px;
	}

	.poster-carousel-btn {
		width: 45px;
		height: 45px;
		padding: 12px 15px;
		font-size: 1rem;
	}

	.poster-carousel-btn.poster-prev {
		left: 15px;
	}

	.poster-carousel-btn.poster-next {
		right: 15px;
	}
}

@media (max-width: 760px) {
	.poster-carousel-wrapper {
		margin: 30px 0;
	}

	.poster-carousel {
		border-radius: 6px;
		min-height: 300px;
	}

	.poster-carousel-btn {
		width: 40px;
		height: 40px;
		padding: 10px 12px;
		font-size: 0.9rem;
	}

	.poster-carousel-btn.poster-prev {
		left: 10px;
	}

	.poster-carousel-btn.poster-next {
		right: 10px;
	}

	.poster-carousel-dots {
		bottom: 15px;
		padding: 6px 12px;
		gap: 8px;
	}

	.poster-dot {
		width: 8px;
		height: 8px;
	}

	.poster-dot.active {
		width: 20px;
	}
}

@media (max-width: 480px) {
	.poster-carousel {
		min-height: 250px;
	}

	.poster-carousel-btn {
		width: 35px;
		height: 35px;
		padding: 8px 10px;
		font-size: 0.8rem;
	}

	.poster-carousel-btn.poster-prev {
		left: 8px;
	}

	.poster-carousel-btn.poster-next {
		right: 8px;
	}

	.poster-carousel-dots {
		bottom: 12px;
		padding: 5px 10px;
		gap: 6px;
	}

	.poster-dot {
		width: 6px;
		height: 6px;
	}

	.poster-dot.active {
		width: 16px;
	}
}

/* 海报查看模态框 */
.poster-modal-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.9);
	z-index: 2000;
	align-items: center;
	justify-content: center;
	animation: fadeIn 0.3s ease;
}

.poster-modal-overlay.show {
	display: flex;
}

.poster-modal-content {
	position: relative;
	max-width: 90%;
	max-height: 90vh;
	display: flex;
	align-items: center;
	justify-content: center;
	animation: zoomIn 0.3s ease;
}

.poster-modal-image {
	max-width: 90%;
	max-height: 90vh;
	width: auto;
	height: auto;
	object-fit: contain;
	display: block;
}

.poster-modal-close {
	position: absolute;
	top: -40px;
	right: 0;
	background: rgba(255, 255, 255, 0.9);
	border: none;
	font-size: 32px;
	color: #222;
	cursor: pointer;
	line-height: 1;
	padding: 4px 12px;
	transition: all 0.2s ease;
	z-index: 10;
	border-radius: 50%;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.poster-modal-close:hover {
	color: #666;
	background: rgba(255, 255, 255, 1);
	transform: scale(1.1);
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@keyframes zoomIn {
	from {
		opacity: 0;
		transform: scale(0.9);
	}
	to {
		opacity: 1;
		transform: scale(1);
	}
}

/* 响应式设计 */
@media (max-width: 760px) {
	.poster-modal-content {
		max-width: 95%;
	}

	.poster-modal-close {
		top: -35px;
		width: 35px;
		height: 35px;
		font-size: 28px;
	}
}

@media (max-width: 480px) {
	.poster-modal-close {
		top: -30px;
		width: 30px;
		height: 30px;
		font-size: 24px;
	}
}