:root {
	--brand: #4C6AFF; /* 网易蓝/科技蓝 */
	--brand-light: #eef4fb;
	--green: #10b981; /* 有效状态绿 */
	--gold: #d4af37; /* 奖杯金 */
	--green-bg: #ecfdf5;
	--ink: #1f2937;
	--text: #4b5563;
	--line: #e5e7eb;
	--bg: #f8fafc;
	--radius: 12px;
	--muted:#6B7480;
    --gray: #9ca3af; /* 历史状态灰 */
    --gray-bg: #f3f4f6;
    --warnbg:#FFF7E8;
    --warnline:#E9D8B4;
    --warnink:#6B5217;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
	font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
	background-color: #ffffff;
	color: var(--ink);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* 顶部通栏 */
.hero {
	background: linear-gradient(135deg, #f0f6fc 0%, #ffffff 100%);
	padding: 60px 0 40px;
	border-bottom: 1px solid var(--line);
	text-align: center;
}
.hero h1 {
	font-size: 32px;
	font-weight: 700;
	letter-spacing: 1px;
	margin-bottom: 12px;
	color: var(--brand);
}
.hero p {
	font-size: 15px;
	color: var(--text);
	max-width: 650px;
	margin: 0 auto;
}

/* 数据统计条 */
.stats-bar {
	display: flex;
	justify-content: center;
	gap: 40px;
	margin-top: 30px;
}
.stat-item { text-align: center; }
.stat-num {
	font-size: 26px;
	font-weight: 700;
	color: var(--brand);
	font-family: "Georgia", serif;
}
.stat-label { font-size: 13px; color: #6b7280; margin-top: 4px; }

/* 筛选分类 */
.filter-wrap {
	display: flex;
	justify-content: center;
	gap: 12px;
	padding: 30px 0;
	position: sticky;
	top: 0;
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(8px);
	z-index: 10;
}
.filter-btn {
	padding: 8px 20px;
	border: 1px solid var(--line);
	border-radius: 30px;
	background: #fff;
	color: var(--text);
	font-size: 14px;
	cursor: pointer;
	transition: all 0.2s ease;
}
.filter-btn:hover { border-color: var(--brand); color: var(--brand); }
.filter-btn.active {
	background: var(--brand);
	border-color: var(--brand);
	color: #fff;
	box-shadow: 0 4px 12px rgba(26, 92, 154, 0.2);
}

/* 网格容器 */
.grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 24px;
	padding-bottom: 60px;
}

/* 荣誉卡片 */
.card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	display: flex;
	flex-direction: column;
}
.card:hover {
	transform: translateY(-5px);
	box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
}
/* 第一张有效卡片的特殊边框 */
.card.is-valid {
	border-color: #a7f3d0;
	box-shadow: 0 4px 20px rgba(16, 185, 129, 0.08);
}
.card[hidden] { display: none; }

/* 图片区域 */
.card-img-wrap {
	position: relative;
	width: 100%;
	aspect-ratio: 4/3;
	background: #f3f4f6;
	padding: 15px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: zoom-in;
	overflow: hidden;
}
.card-img-wrap img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain; /* 保证证书和奖杯完整显示 */
	border-radius: 4px;
	transition: transform 0.3s ease;
	box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.card-img-wrap:hover img { transform: scale(1.03); }

/* 角标 */
.badge {
	position: absolute;
	top: 12px;
	left: 12px;
	padding: 4px 10px;
	border-radius: 4px;
	font-size: 12px;
	font-weight: 600;
	color: #fff;
	z-index: 2;
}
.badge.cert { background: rgba(26, 92, 154, 0.9); }
.badge.trophy { background: rgba(212, 175, 55, 0.9); }

/* 当前有效 状态标签 */
.status-valid {
	position: absolute;
	top: 12px;
	right: 12px;
	background: var(--green);
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	padding: 4px 10px;
	border-radius: 20px;
	display: flex;
	align-items: center;
	gap: 6px;
	box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
	z-index: 2;
}
.status-valid::before {
	content: '';
	display: inline-block;
	width: 6px;
	height: 6px;
	background: #fff;
	border-radius: 50%;
	animation: pulse 1.5s infinite;
}
@keyframes pulse {
	0% { transform: scale(0.8); opacity: 0.6; }
	50% { transform: scale(1.2); opacity: 1; }
	100% { transform: scale(0.8); opacity: 0.6; }
}


/* 文本信息区 */
.card-info {
	padding: 16px 20px 20px;
	flex: 1;
	display: flex;
	flex-direction: column;
}
.card-year {
	font-size: 12px;
	color: var(--brand);
	font-weight: 700;
	letter-spacing: 0.5px;
	margin-bottom: 6px;
}
.card-title {
	font-size: 16px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--ink);
	margin-bottom: 8px;
}
.card-desc {
	font-size: 13px;
	color: var(--text);
	margin-top: auto;
	padding-top: 10px;
	border-top: 1px dashed var(--line);
	display: flex;
	justify-content: space-between;
	align-items: center;
}

/* 历史存档 状态标签（灰色） */
.status-history {
	position: absolute;
	top: 12px;
	right: 12px;
	background: rgba(156, 163, 175, 0.9);
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	padding: 4px 10px;
	border-radius: 4px;
	z-index: 2;
}
/* 底部文字状态 */
.desc-valid-tag {
	font-size: 12px;
	color: var(--green);
	background: var(--green-bg);
	padding: 2px 8px;
	border-radius: 4px;
	font-weight: 600;
}
.card.is-history .card-year { color: var(--gray); } /* 历史卡片年份变灰 */
.desc-history-tag {
	font-size: 12px;
	color: var(--gray);
	background: var(--gray-bg);
	padding: 2px 8px;
	border-radius: 4px;
	font-weight: 500;
	white-space: nowrap;
}

/* 图片灯箱（模态框） */
.lightbox {
	position: fixed;
	top: 0; left: 0; width: 100%; height: 100%;
	background: rgba(0, 0, 0, 0.85);
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 9999;
	padding: 30px;
	opacity: 0;
	transition: opacity 0.3s ease;
}
.lightbox.show { display: flex; opacity: 1; }
.lightbox img {
	max-width: 90%;
	max-height: 90vh;
	object-fit: contain;
	border-radius: 8px;
	box-shadow: 0 10px 30px rgba(0,0,0,0.5);
	background: #fff;
}
.lightbox-close {
	position: absolute;
	top: 20px; right: 30px;
	color: #fff;
	font-size: 40px;
	cursor: pointer;
	line-height: 1;
}
.h-sec h2{
	font-weight:600;font-size:clamp(21px,3.4vw,27px);line-height:1.4;margin:0 0 10px;
}
.h-sub{color:var(--muted);font-size:14px;margin:0 0 20px;max-width:48em}

/* 获奖记录 */
.h-awards{list-style:none;margin:0;padding:0;border-top:1px solid var(--line)}
.h-awards li{
  display:grid;grid-template-columns:96px 1fr;gap:14px;padding:16px 0;
  border-bottom:1px solid var(--line);
}
@media (min-width:768px){.h-awards li{grid-template-columns:120px 1fr auto;align-items:start}}
.h-awards .yr{
  font-size:13.5px;color:var(--brand);
  font-variant-numeric:tabular-nums;padding-top:2px;white-space:nowrap;
}
.h-awards p{margin:2px 0 0;color:var(--muted);font-size:13.5px}
.h-awards .by{
  grid-column:2;font-size:12.5px;color:var(--muted);white-space:nowrap;
}
@media (min-width:768px){.h-awards .by{grid-column:3;text-align:right;align-self:center}}


.h-sec{padding:34px 0;border-top:1px solid var(--line);margin-top:34px}
.h-sec:first-of-type{margin-top:30px}

.h-arch{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  border:1px solid var(--line);
  background:#FBFBFC;
  padding:18px 20px;
  border-radius: var(--radius);
}
.h-arch div{max-width:40em}
.h-arch strong{display:block;font-size:15px;margin-bottom:4px}
.h-arch span{font-size:13.5px;color:var(--muted)}
.h-arch a.btn{
  flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;
  min-height:44px;padding:10px 18px;border:1px solid var(--ink);background:var(--ink);
  color:#fff;font-size:14px;border-radius:var(--radius);
}
.h-arch a.btn:hover{background:#000;border-color:#000}

.h-note{
  margin:24px 0 0;padding-top:14px;border-top:1px solid var(--line);
  font-size:12.5px;color:var(--muted);line-height:1.8;
}
.h-note b{color:var(--ink);font-weight:600}

/* 响应式 */
@media (max-width: 768px) {
	.hero h1 { font-size: 24px; }
	.stats-bar { gap: 20px; }
	.stat-num { font-size: 20px; }
	.filter-wrap { overflow-x: auto; justify-content: flex-start; padding: 20px; white-space: nowrap; }
	.grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
	.card-img-wrap { padding: 10px; }
}


.hy-arch *{box-sizing:border-box}
.hy-arch .a-wrap{max-width:1080px;margin:0 auto;padding:0 20px}
.hy-arch h2{
  font-weight:600;font-size:clamp(21px,3.4vw,27px);line-height:1.4;margin:0 0 10px;
}
.hy-arch h3{font-size:15.5px;font-weight:600;margin:0;line-height:1.6}
.hy-arch p{margin:0 0 14px}
.hy-arch a{color:var(--ink);text-decoration:none;border-bottom:1px solid var(--line)}
.hy-arch a:hover{border-bottom-color:var(--accent)}
.hy-arch .a-title{
  font-weight:600;font-size:clamp(25px,4vw,36px);line-height:1.3;margin:0 0 12px;
}
.hy-arch .a-lead{color:var(--ink);font-size:16px;max-width:44em}

/* 顶部警示 */
.hy-arch .a-warn{
  border:1px solid var(--warnline);background:var(--warnbg);color:var(--warnink);
  padding:14px 16px;margin:20px 0 0;font-size:14px;line-height:1.75;
}
.hy-arch .a-warn strong{display:block;font-size:15px;margin-bottom:4px;color:var(--warnink)}
.hy-arch .a-warn a{color:var(--warnink);border-bottom-color:var(--warnink)}