@charset "utf-8";
@import url('reset.css');
@import url('animate.min.css');

* {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

:root {
	--page-width: 1600px;
	--font-size: 14px;
	--font-color: #454239;
	--theme-color: #997050;
	--hover-color: #997050;
	--nav-height: 96px;
	--nav-son-color: #997050;
	--p-line-height: 200%;
	--p-size: 18px;
	--p-color: #454239;
	--font-color-hover: #997050;
}

body {
	background-color: #fff;
	overflow: hidden;
	font-size: var(--font-size);
	font-weight: 200;
}

body.other {
	background-color: #000;
}

.transition,
.transition * {
	transition: all .5s;
}

input,
button {
	font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, 微软雅黑, Arial, sans-serif;
}

img {
	max-width: 100%;
}

a {
	background: transparent;
	text-decoration: none;
	color: var(--p-color)
}

a:active,
a:hover {
	outline: 0
}

a:hover {
	text-decoration: none;
	color: var(--hover-color)
}

.textCenter {
	text-align: center;
}

.wrapper {
	width: var(--page-width);
	margin: 0 auto;
	text-align: left
}

.index .wrapper {
	width: var(--page-width);
}

.ov {
	overflow: hidden;
}

.ts {
	text-transform: uppercase
}

.mauto {
	margin: 0 auto
}

.pz {
	position: relative;
	z-index: 0
}

.pa {
	position: absolute;
	z-index: 0
}

.bz {
	box-sizing: border-box
}

.b {
	font-weight: bold
}

.i {
	font-style: italic
}

.hidden {
	display: none !important
}

.cb {
	clear: both
}

.tes {
	text-overflow: ellipsis;
	white-space: nowrap;
}

.mt20 {
	margin-top: 20px;
}

.image-wrap img {
	max-width: 100%;
	display: block;
}

.flex-not-grow {
	flex-shrink: 0;
	flex-grow: 0;
}

/*animation*/
@keyframes slideDown {
	0% {
		top: 45px;
		opacity: 0;
	}

	to {
		top: 100px;
		opacity: 1;
	}
}

@-webkit-keyframes slideDown {
	0% {
		top: 45px;
		opacity: 0;
	}

	to {
		top: 100px;
		opacity: 1;
	}
}

@keyframes slideUp {
	0% {
		transform: translate(-50%, 100%);
		opacity: 0;
	}

	to {
		transform: translate(-50%, 0);
		opacity: 1;
	}
}

@-webkit-keyframes slideUp {
	0% {
		transform: translate(-50%, 100%);
		opacity: 0;
	}

	to {
		transform: translate(-50%, 0);
		opacity: 1;
	}
}

@keyframes headerDown {
	0% {
		transform: translateY(-70%);
	}

	to {
		transform: translateY(0);
	}
}

.img img {
	transform: scale(1);
}

a:hover .img img {
	transform: scale(1.1, 1.1);
}

.flex {
	display: flex;
	display: -webkit-flex;
}

.flexJb {
	display: flex;
	display: -webkit-flex;
	justify-content: space-between;
}

.flexColumn {
	display: flex;
	display: -webkit-flex;
	flex-direction: column;
}

.flexAc {
	display: flex;
	display: -webkit-flex;
	align-items: center;
}

.flexCenter {
	display: flex;
	display: -webkit-flex;
	justify-content: center;
	align-items: center;
}

.flexWrap {
	display: flex;
	display: -webkit-flex;
	flex-wrap: wrap;
}

.flexRight {
	display: flex;
	display: -webkit-flex;
	justify-content: flex-end;
}

.ovd {
	overflow: hidden;
}

.db {
	display: block;
}

#app {
	overflow: hidden;
}

.wow {
	visibility: hidden;
	/* 初始状态不可见 */
	opacity: 0;
	/* 初始状态完全透明 */
}

.wow.animate__animated {
	visibility: visible;
	/* 动画触发时可见 */
	opacity: 1;
	/* 动画触发时完全不透明 */
}

[v-clock] {
	display: none;
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	padding: 15px;
}

ul.list {
	list-style: none;
	margin: 0;
	gap: 15px;
	/* 合并行列间距设置 */
	grid-template-columns: repeat(12, 1fr);
	/* 简化12列设置 */
	grid-auto-flow: dense;
	display: grid;
}


/* 简化网格跨列设置，合并重复规则 */
/* 第10n+1到10n+4、10n+8到10n+9项：跨6列 */
ul.list li:nth-child(10n+1),
ul.list li:nth-child(10n+2),
ul.list li:nth-child(10n+3),
ul.list li:nth-child(10n+4),
ul.list li:nth-child(10n+8),
ul.list li:nth-child(10n+9) {
	grid-column: span 6;
	/* 简化写法，等价于跨6列 */
	grid-row: span 1;
}

ul.list li:nth-child(10n+1) .media,
ul.list li:nth-child(10n+2) .media,
ul.list li:nth-child(10n+3) .media,
ul.list li:nth-child(10n+4) .media,
ul.list li:nth-child(10n+8) .media,
ul.list li:nth-child(10n+9) .media {
	height: calc(100vh - 30px);
	object-fit: cover;
}

/* 第10n+5到10n+7项：跨4列 */
ul.list li:nth-child(10n+5),
ul.list li:nth-child(10n+6),
ul.list li:nth-child(10n+7) {
	grid-column: span 4;
	grid-row: span 1;
}

ul.list li:nth-child(10n+5) .media,
ul.list li:nth-child(10n+6) .media,
ul.list li:nth-child(10n+7) .media {
	height: calc(80vh - 30px);
	object-fit: cover;
}

/* 第10n项（10、20、30...）：跨12列 */
ul.list li:nth-child(10n) {
	grid-column: span 12;
	grid-row: span 1;
}

ul.list li:nth-child(10n) .media {
	height: calc(100vh - 30px);
	object-fit: cover;
}

/* 添加默认规则，确保所有项都有布局（防止遗漏） */
ul.list li {
	grid-column: span 1;
	/* 默认跨1列 */
	grid-row: span 1;
}


ul.list li .media {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	cursor: pointer;
	transition: transform 0.3s ease;
}

ul.list li .media:hover {
	transform: scale(1.02);
}

ul.list li {
	position: relative;
	overflow: hidden;
}

ul.list li .title {
	position: absolute;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	line-height: 150%;
	font-size: 20px;
	color: #fff;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
	z-index: 2;
	    width: 100%;
    padding: 0 2%;
    text-align: center;
}



/* 添加图片悬停时的渐变遮罩 */
ul.list li::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
	transition: height 0.3s ease;
	z-index: 1;
}

ul.list li:hover::after {
	height: 100px;
}

header {
	position: fixed;
	z-index: 999;
	width: 100%;
	left: 0;
	padding: 0 50px;
	transition: background-color 0.3s ease;
	height: 100px;
}

header:hover {
	background-color: rgba(0, 0, 0, 0.7);
}

header .logo {
	font-size: 40px;
	color: #fff;
	font-weight: 600;
	text-transform: uppercase;
}

header .logo img {
	max-height: 40px;
}

header .navs li {
	display: inline-flex;
	margin-right: 50px;
}

header .navs li a {
	font-size: 18px;
	color: #fff;
	text-shadow: 0 0 2px #ccc;
	text-decoration: none;
	transition: color 0.3s ease;
}

header .navs li a:hover {
	color: #ccc;
}

/* 模态框样式 */
.modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1000;
	overflow: auto;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.modal.active {
	display: block;
	opacity: 1;
}

.modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.9);
	cursor: pointer;
}

.modal-content {
	position: relative;
	width: 90vw;
	animation: opacity 0.3s ease;
	overflow: hidden;
	position: fixed;
	z-index: 999;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
}

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

	to {
		transform: scale(1);
		opacity: 1;
	}
}

.modal-image {
	height: auto;
	object-fit: contain;
	display: block;
	margin: 0 auto;
	max-width: 85vw;
	max-height: 85vh;
}

.modal-caption {
	color: #fff;
	text-align: center;
	padding: 20px 0;
	font-size: 24px;
	line-height: 1.5;
}

.modal-close {
	position: absolute;
	top: 0;
	right: 20px;
	color: #fff;
	font-size: 36px;
	font-weight: bold;
	cursor: pointer;
	transition: color 0.3s ease;
	z-index: 1001;
}

.modal-close:hover {
	color: #ccc;
}

.intro {
	width: 100%;
	color: #fff;
	font-size: 14px;
	width: 1200px;
	margin: 0 auto;
	margin-top: 200px;
}

@media (max-width: 768px) {
	body {
		padding: 1svw;
	}

	header {
		padding: 0 20px;
	}

	header .logo {
		font-size: .36rem;
	}

	header .navs li {
		margin-right: .3rem;
	}

	header .navs li:last-child {
		margin-right: 0;
	}

	header .navs li a {
		font-size: .4rem;
	}

	.modal-content {
		margin: 30px auto;
	}

	.modal-caption {
		font-size: 18px;
		padding: 15px 0;
	}

	.modal-close {
		font-size: 28px;
	}

	ul.list li .title {
		width: 100%;
		text-align: center;
		bottom: .1rem;
		font-size: .32rem;
	}

	ul.list {
		display: flex;
		flex-wrap: wrap;
	}

	ul.list li {
		width: 100%;
	}

	ul.list li .media {
		width: 100%;
		height: auto;
	}

	.intro {
		margin-top: 80px;
		width: 100%;
		padding: 0 3%;
	}

	header {
		height: 1.2rem;
	}

	header .logo img {
		max-height: 25px;
	}

	ul.list li img {
		height: 45vw !important;
	}
}