/* 全局样式 */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	text-decoration: none !important;
}
li{
	list-style: none;
}

/* Firefox */
html {
	scrollbar-color: #2f2f2f #e0e0e0;
	scrollbar-width: thin;
}

body {
	font-family: 'Noto Serif SC', serif;
	line-height: 1.6;
	color: #333;
	overflow-x: hidden;
}

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

/* 标题样式 */
.section-title {
	text-align: center;
	font-size: 2.5rem;
	font-weight: 700;
	margin-bottom: 1.5rem;
	position: relative;
	border-bottom: 1px solid #CECECE;
	font-family: 'Microsoft YaHei', Arial, sans-serif;
}


/* 网格布局 */
.grid {
	display: grid;
	gap: 2rem;
}

.grid-2 {
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
	grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.grid-4 {
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* 响应式设计 */
@media (max-width: 768px) {
	.container {
		padding: 0 15px;
	}

	.section-title {
		font-size: 2rem;
	}

	.grid-2,
	.grid-3,
	.grid-4 {
		grid-template-columns: 1fr;
	}
}

/* 动画效果 */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.fade-in-up {
	animation: fadeInUp 0.6s ease-out;
}

/* 自定义滚动条颜色 */
::-webkit-scrollbar {
	width: 10px;
	background: #e0e0e0;
}

::-webkit-scrollbar-thumb {
	background: #2f2f2f;
	border-radius: 8px;
}

::-webkit-scrollbar-thumb:hover {
	background: #444;
}



@keyframes spin {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}

.main-content {
	margin-top: 70px;
	min-height: calc(100vh - 70px);
}

/* 页脚样式 */
.footer {
	background: #000;
	color: white;
	padding: 3rem 0 1rem;
}

.footer-container {
	max-width: 1325px;
	margin: 0 auto;
	padding: 0 20px;
}

.footer-content {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 2rem;
	margin-bottom: 2rem;
}

.footer-section h3 {
	color: #fff;
	font-size: 1.3rem;
	margin-bottom: 1rem;
	font-weight: 800;
}

.footer-content .img-logo {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 35px;
	margin-bottom: 1rem;
}

.footer-section p {
	color: #ccc;
	line-height: 1.6;
	margin-bottom: 0.5rem;
}

.footer-section .social-links {
	display: flex;
	text-align: center;
}

.footer_qrcode:nth-child(1) {
	margin-right: 20px;
}

.footer-bottom {
	text-align: center;
	padding-top: 2rem;
	border-top: 1px solid #444;
	color: #999;
}

.footer-bottom a {
	color: #999;
}

/* 响应式设计 */
@media (max-width: 768px) {

	.exhibitions-grid,
	.artists-grid,
	.works-grid,
	.news-grid {
		grid-template-columns: 1fr;
	}

	.works-filter {
		gap: 0.5rem;
	}

	.filter-btn {
		padding: 8px 16px;
		font-size: 12px;
	}

	.footer-content {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.footer-content .img-logo {
		margin: 0 auto;
		margin-bottom: 1rem;
	}

	.social-links {
		justify-content: center;
	}
}

@keyframes modalSlideIn {
	from {
		opacity: 0;
		transform: translateY(-50px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.close {
	color: #aaa;
	float: right;
	font-size: 28px;
	font-weight: bold;
	cursor: pointer;
	position: absolute;
	top: 10px;
	right: 20px;
}

.close:hover {
	color: #181818;
}