* { margin: 0; padding: 0; box-sizing: border-box; }

html {
	min-height: 100%;
}

body {
	font-family: 'Microsoft YaHei', '微软雅黑', sans-serif;
	font-size: 16px;
	line-height: 1.8;
	color: #333;
	min-height: 100vh;
	position: relative;
	background-color: #0a1628;
}

/* 全屏背景图（固定层，避免 background-attachment:fixed 失效） */
.page-bg {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: -2;
	background: #0a1628 url(../918ps/images/918ps_02.jpg) no-repeat center top;
	background-size: cover;
	pointer-events: none;
}

.page-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: -1;
	background: rgba(6, 18, 36, 0.35);
	pointer-events: none;
}

.wrap {
	max-width: 900px;
	margin: 0 auto;
	padding: 30px 20px 60px;
	position: relative;
	z-index: 1;
}

.header-bar {
	text-align: center;
	padding: 28px 24px 20px;
	margin-bottom: 28px;
	background: rgba(0, 0, 0, 0.45);
	border: 1px solid rgba(191, 166, 81, 0.45);
	border-radius: 4px;
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.header-bar h1 {
	font-size: 28px;
	color: #ffeab7;
	letter-spacing: 4px;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.header-bar .sub {
	color: #bfa651;
	font-size: 14px;
	margin-top: 8px;
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.article {
	background: rgba(255, 255, 255, 0.94);
	border: 1px solid #145a79;
	border-radius: 4px;
	padding: 32px 36px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}

.article h2 {
	font-size: 22px;
	color: #145a79;
	border-left: 4px solid #9c3809;
	padding-left: 12px;
	margin: 24px 0 12px;
}

.article h2:first-child { margin-top: 0; }

.article p {
	margin-bottom: 12px;
	text-indent: 2em;
	color: #444;
}

.article ul,
.article ol {
	margin: 8px 0 16px 2em;
	color: #444;
}

.article li { margin-bottom: 6px; }

.article ul li a {
	color: #145a79;
	text-decoration: none;
	font-size: 16px;
	line-height: 2.2;
	display: inline-block;
	padding: 2px 0;
	border-bottom: 1px dotted transparent;
	transition: color 0.2s, border-color 0.2s;
}

.article ul li a:hover {
	color: #9c3809;
	border-bottom-color: #9c3809;
}

.article p a {
	color: #145a79;
	text-decoration: none;
	border-bottom: 1px dotted #145a79;
}

.article p a:hover {
	color: #9c3809;
	border-bottom-color: #9c3809;
}

.article .tag {
	display: inline-block;
	background: #145a79;
	color: #fff;
	font-size: 12px;
	padding: 2px 10px;
	border-radius: 2px;
	margin-right: 8px;
}

.article .meta {
	color: #888;
	font-size: 13px;
	margin-bottom: 20px;
	padding-bottom: 12px;
	border-bottom: 1px dotted #ccc;
}

.class-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin: 16px 0;
}

.class-card {
	flex: 1 1 140px;
	background: linear-gradient(135deg, #f5f0e6, #e8dcc8);
	border: 1px solid #9c3809;
	border-radius: 4px;
	padding: 16px;
	text-align: center;
}

.class-card .name {
	font-size: 20px;
	font-weight: bold;
	color: #9c3809;
	margin-bottom: 6px;
}

.class-card .role {
	font-size: 13px;
	color: #666;
}

.nav-links {
	text-align: center;
	margin-top: 28px;
	padding-top: 20px;
	border-top: 1px solid #ddd;
}

.nav-links a {
	display: inline-block;
	margin: 0 12px;
	color: #145a79;
	text-decoration: none;
	font-size: 15px;
	padding: 4px 12px;
	border: 1px solid #145a79;
	border-radius: 3px;
	transition: all 0.2s;
}

.nav-links a:hover {
	color: #fff;
	background: #9c3809;
	border-color: #9c3809;
	text-decoration: none;
}

.footer-tip {
	text-align: center;
	color: #c8bdb0;
	font-size: 12px;
	margin-top: 24px;
	line-height: 1.6;
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

@media (max-width: 640px) {
	.page-bg {
		background-size: auto 100%;
		background-position: center top;
	}

	.article { padding: 20px 16px; }

	.header-bar {
		padding: 20px 16px;
	}

	.header-bar h1 { font-size: 22px; }

	.class-grid { flex-direction: column; }

	.nav-links a {
		display: block;
		margin: 8px auto;
		max-width: 200px;
	}
}
