/* ==========================================================================
   设计变量
   ========================================================================== */
:root {
	--brand: #123A70;
	--brand-dark: #0A2548;
	--accent: #486A91;
	--bg: #F5F7FA;
	--surface: #FFFFFF;
	--text: #263548;
	--muted: #68768A;
	--border: #E3E8EF;
	--archive-ink: #102B52;
	--archive-blue: #234A78;
	--archive-copper: #AA5A36;
	--archive-mist: #F3F6F8;
	--archive-rule: #D9E1E8;
	--archive-serif: STSong, "Songti SC", SimSun, serif;
	--container-max: 1240px;
	--transition: 200ms ease;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	color: var(--text);
	background: var(--archive-mist);
	font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
	line-height: 1.75;
}

.skip-link {
	position: fixed;
	top: -100px;
	left: 12px;
	z-index: 1100;
	padding: 10px 16px;
	background: var(--surface);
	color: var(--brand-dark);
	box-shadow: 0 8px 24px rgba(10, 37, 72, .18);
	transition: top var(--transition);
}
.skip-link:focus { top: 12px; }

.container { max-width: var(--container-max); }

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
.nav-link:focus-visible,
.dropdown-item:focus-visible {
	outline: 2px solid var(--archive-copper);
	outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	* { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* ==========================================================================
   主导航
   ========================================================================== */
.site-header {
	position: sticky;
	top: 0;
	z-index: 1040;
}

.main-nav {
	background: #fff;
	border-bottom: 1px solid rgba(18, 58, 112, .1);
	min-height: 80px;
	padding: 10px 0;
	transition: box-shadow var(--transition), border-color var(--transition);
}

.site-header.is-scrolled .main-nav {
	border-bottom-color: transparent;
	box-shadow: 0 10px 30px rgba(10, 37, 72, .09);
}

.main-nav .navbar-brand { margin-right: 30px; padding: 0; }
.main-nav-logo {
	display: block;
	width: auto;
	height: 52px;
	max-width: 220px;
	object-fit: contain;
	object-position: left center;
}

.main-nav .nav-link {
	position: relative;
	color: #26384d;
	font-weight: 500;
	letter-spacing: .01em;
	padding: 10px 13px !important;
	min-height: 44px;
	display: flex;
	align-items: center;
}
.main-nav .nav-link { white-space: nowrap; }

.main-nav .nav-link:hover,
.main-nav .nav-link.active {
	color: var(--brand);
}

.main-nav .nav-item {
	position: relative;
}

.main-nav .nav-link::after {
	content: "";
	position: absolute;
	left: 50%;
	width: calc(100% - 26px);
	bottom: 3px;
	height: 2px;
	background: var(--brand);
	transform: translateX(-50%) scaleX(0);
	transform-origin: center;
	transition: transform 240ms ease;
}
.main-nav .nav-link:hover::after,
.main-nav .nav-link:focus-visible::after,
.main-nav .nav-link.active::after { transform: translateX(-50%) scaleX(1); }

.main-nav .dropdown-menu {
	min-width: 164px;
	padding: 8px;
	border: 1px solid var(--border);
	border-radius: 4px;
	box-shadow: 0 14px 38px rgba(10, 37, 72, .12);
}
.main-nav .dropdown-item {
	border-radius: 3px;
	padding: 9px 12px;
	font-size: .92rem;
}

@media (min-width: 992px) {
	.main-nav .has-submenu:hover > .dropdown-menu,
	.main-nav .has-submenu:focus-within > .dropdown-menu { display: block; }
}
.dropdown-item:hover,
.dropdown-item:focus {
	background: var(--bg);
	color: var(--brand);
}
.dropdown-item.active,
.dropdown-item:active {
	color: #fff;
	background: var(--brand);
}

.header-actions {
	display: flex;
	align-items: center;
	order: 3;
	margin-left: 18px;
}

.header-search-toggle {
	display: inline-grid;
	place-items: center;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 0;
	border-left: 1px solid var(--border);
	background: transparent;
	color: var(--brand-dark);
	font-size: 1.08rem;
	transition: color var(--transition), background-color var(--transition);
}
.header-search-toggle:hover { color: var(--accent); background: var(--bg); }

.main-nav .navbar-collapse { order: 2; }
.main-nav .navbar-toggler {
	order: 4;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 1px solid var(--border);
	border-radius: 3px;
	color: var(--brand-dark);
	font-size: 1.65rem;
}
.main-nav .navbar-toggler:focus { box-shadow: none; }

/* 站内搜索弹窗 */
body.search-modal-open { overflow: hidden; }
.site-search-modal[hidden] { display: none; }
.site-search-modal {
	position: fixed;
	inset: 0;
	z-index: 1090;
	display: grid;
	place-items: center;
	padding: 24px;
}
.site-search-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(5, 20, 38, .68);
	backdrop-filter: blur(4px);
}
.site-search-dialog {
	position: relative;
	z-index: 1;
	width: min(680px, 100%);
	padding: 48px;
	background: #fff;
	box-shadow: 0 30px 80px rgba(5, 20, 38, .25);
	animation: search-dialog-in 220ms ease both;
}
@keyframes search-dialog-in {
	from { opacity: 0; transform: translateY(12px); }
	to { opacity: 1; transform: translateY(0); }
}
.site-search-close {
	position: absolute;
	top: 18px;
	right: 18px;
	width: 40px;
	height: 40px;
	border: 0;
	background: transparent;
	color: var(--muted);
	font-size: 1.1rem;
}
.site-search-close:hover { color: var(--brand-dark); background: var(--bg); }
.site-search-eyebrow {
	margin: 0 0 8px;
	color: var(--accent);
	font-size: .76rem;
	font-weight: 700;
	letter-spacing: .18em;
}
.site-search-dialog h2 {
	margin: 0 0 28px;
	color: var(--brand-dark);
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 650;
}
.site-search-form { display: flex; border-bottom: 2px solid var(--brand-dark); }
.site-search-form input {
	min-width: 0;
	flex: 1;
	padding: 15px 4px;
	border: 0;
	background: transparent;
	color: var(--text);
	font-size: 1.05rem;
	outline: 0;
}
.site-search-form input::placeholder { color: #9aa5b3; }
.site-search-form button {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 0 6px 0 22px;
	border: 0;
	background: transparent;
	color: var(--brand);
	font-weight: 600;
}
.site-search-form button:hover { color: var(--accent); }

.btn-brand {
	background: var(--accent);
	border-color: var(--accent);
	color: #fff;
}
.btn-brand:hover { background: #385675; border-color: #385675; color: #fff; }

/* ==========================================================================
   内页横幅
   ========================================================================== */
.page-banner {
	position: relative;
	overflow: hidden;
	background: linear-gradient(135deg, var(--brand-dark), var(--brand));
	background-size: cover;
	background-position: center;
	padding: 56px 0;
	margin-bottom: 32px;
	color: #fff;
}
.page-banner::before {
	content: "";
	position: absolute;
	inset: -2%;
	z-index: 0;
	background-image: var(--page-banner-image);
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	transform: scale(1);
	transform-origin: center center;
	animation: page-banner-zoom 14s ease-in-out infinite alternate;
}
@keyframes page-banner-zoom {
	from { transform: scale(1); }
	to { transform: scale(1.14); }
}
.page-banner-overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(90deg, rgba(10, 37, 72, .86), rgba(10, 37, 72, .58));
}
.page-banner-content {
	position: relative;
	z-index: 2;
	text-align: center;
	animation: page-banner-content-in .8s cubic-bezier(.4, 0, .2, 1) .15s both;
}
@keyframes page-banner-content-in {
	from { opacity: 0; transform: translateY(24px); }
	to { opacity: 1; transform: translateY(0); }
}
.page-banner-title {
	margin: 0;
	font-family: inherit;
	font-size: 26px;
	font-weight: 700;
}
.page-banner-subtitle { font-size: 15px; opacity: .85; margin: 8px 0 0; }
.page-banner-breadcrumb {
	display: flex;
	justify-content: center;
	width: fit-content;
	flex-wrap: wrap;
	gap: 0 8px;
	margin: 18px auto 0;
	padding: 6px 14px;
	border: 1px solid rgba(255,255,255,.2);
	border-radius: 999px;
	background: rgba(255,255,255,.12);
	color: rgba(255,255,255,.68);
	font-size: 13px;
	line-height: 1.7;
}
.page-banner-breadcrumb a { color: rgba(255,255,255,.9); }
.page-banner-breadcrumb a:hover { color: #fff; }

/* ==========================================================================
   内页列表与详情阅读面板
   ========================================================================== */
.page-list-surface {
	padding: 32px;
	background: var(--surface);
	border: 1px solid var(--archive-rule);
	border-radius: 12px;
	box-shadow: 0 12px 30px rgba(10, 37, 72, .05);
}
.sonsort {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 10px;
	margin: 28px auto 20px !important;
}
.sonsort .sortnav-link {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	min-height: 40px;
	padding: 8px 16px;
	border: 1px solid rgba(10, 37, 72, .22);
	border-radius: 999px;
	background: var(--surface);
	color: var(--brand);
	font-size: 14px;
	font-weight: 500;
	line-height: 1;
	transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}
.sonsort .sortnav-link:hover {
	border-color: var(--brand);
	background: rgba(10, 37, 72, .06);
	color: var(--brand);
	transform: translateY(-1px);
}
.sonsort .sortnav-link-active,
.sonsort .sortnav-link-active:hover {
	border-color: var(--brand);
	background: var(--brand);
	color: #fff;
}
.article-news-list {
	margin: 0;
	padding: 0;
	list-style: none;
}
.article-news-list-item {
	position: relative;
	border-bottom: 1px dashed rgba(10, 37, 72, .2);
}
.article-news-list-link {
	display: grid;
	grid-template-columns: 20px minmax(0, 1fr) auto;
	align-items: center;
	gap: 20px;
	padding: 18px 6px;
	color: var(--ink);
	transition: color .2s ease, background .2s ease;
}
.article-news-list-link:hover { color: var(--brand); background: rgba(10, 37, 72, .025); }
.article-news-list-icon { color: var(--brand); font-size: 16px; line-height: 1; }
.article-news-list-title { display: block; min-width: 0; line-height: 1.7; }
.article-news-list-title .badge { margin-left: 7px; vertical-align: 1px; }
.article-news-list-date {
	color: var(--muted);
	font-size: 13px;
	white-space: nowrap;
}
.page-detail-surface {
	padding: 36px;
	background: var(--surface);
	border: 1px solid var(--archive-rule);
	border-radius: 12px;
	box-shadow: 0 12px 30px rgba(10, 37, 72, .05);
}
.page-detail-surface > h2 { font-family: var(--archive-serif); }
.content {
	line-height: 1.9;
	font-size: 16px;
	color: var(--text);
}
.content h1,
.content h2,
.content h3,
.content h4,
.content h5,
.content h6 {
	margin: 1.6em 0 .7em;
	color: var(--archive-ink);
	font-weight: 700;
	line-height: 1.45;
}
.content h1 { font-size: 30px; }
.content h2 { font-size: 26px; }
.content h3 { font-size: 22px; }
.content h4 { font-size: 19px; }
.content h5 { font-size: 17px; }
.content h6 { font-size: 16px; }
.content > :first-child { margin-top: 0; }
.content p { margin: 0 0 1em; }
.content a { color: var(--brand); text-decoration: underline; text-decoration-color: rgba(18, 58, 112, .35); text-underline-offset: 3px; }
.content a:hover { color: var(--accent); text-decoration-color: currentColor; }
.content ul,
.content ol { margin: 0 0 1.1em; padding-left: 2em; }
.content li { margin: .25em 0; }
.content ul ul,
.content ol ol,
.content ul ol,
.content ol ul { margin-bottom: 0; }
.content blockquote { margin: 1.4em 0; padding: 14px 18px; border-left: 4px solid var(--archive-copper); background: var(--archive-mist); color: var(--muted); }
.content hr { margin: 2em 0; border: 0; border-top: 1px solid var(--archive-rule); opacity: 1; }
.content img { max-width: 100%; height: auto; border-radius: 4px; }
.legal-framework-image-trigger { cursor: zoom-in; }
body.legal-framework-viewer-open { overflow: hidden; }
.legal-framework-viewer[hidden] { display: none; }
.legal-framework-viewer { position: fixed; inset: 0; z-index: 1100; background: rgba(3, 14, 29, .94); cursor: zoom-out; }
.legal-framework-viewer-stage { position: absolute; inset: 0; overflow: hidden; touch-action: none; cursor: grab; }
.legal-framework-viewer-stage:active { cursor: grabbing; }
.legal-framework-viewer-image { position: absolute; top: 50%; left: 50%; max-width: none; max-height: none; transform-origin: center; user-select: none; -webkit-user-drag: none; }
.legal-framework-viewer-close { position: absolute; top: 22px; right: 22px; z-index: 1; display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; background: rgba(3,14,29,.52); color: #fff; }
.legal-framework-viewer-close:hover { background: var(--brand); }
.legal-framework-viewer-hint { position: absolute; bottom: 22px; left: 50%; margin: 0; transform: translateX(-50%); color: rgba(255,255,255,.72); font-size: 13px; white-space: nowrap; pointer-events: none; }
.content figure { margin: 1.5em 0; }
.content figcaption { margin-top: .55em; color: var(--muted); font-size: 13px; text-align: center; }
.content code { padding: .15em .4em; border-radius: 4px; background: var(--archive-mist); color: var(--archive-ink); font-size: .9em; }
.content pre { overflow-x: auto; margin: 1.4em 0; padding: 16px 18px; border: 1px solid var(--archive-rule); border-radius: 8px; background: var(--archive-mist); color: var(--archive-ink); line-height: 1.65; }
.content pre code { padding: 0; background: transparent; }
.content iframe,
.content video,
.content audio { max-width: 100%; }
.content table {
	display: block;
	max-width: 100%;
	overflow-x: auto;
	margin: 1.2em auto;
	border-collapse: collapse;
	border-spacing: 0;
}
.content table td,
.content table th {
	border: 1px solid var(--archive-rule);
	padding: 10px 12px;
	vertical-align: top;
}
.content table th {
	background: var(--archive-mist);
	color: var(--archive-ink);
	font-weight: 650;
}

/* 联系我们双栏地图 */
.contact-layout { display: grid; grid-template-columns: minmax(280px, .82fr) minmax(420px, 1.18fr); gap: 42px; align-items: stretch; }
.contact-info { min-width: 0; padding: 16px 0 8px; }
.contact-section-heading { padding-bottom: 18px; border-bottom: 1px solid var(--border); }
.contact-kicker { display: block; margin-bottom: 7px; color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: .18em; }
.contact-section-heading h3 { margin: 0; color: var(--brand-dark); font-size: 25px; font-weight: 700; }
.contact-details { list-style: none; padding: 0; margin: 24px 0 26px; }
.contact-details li { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; }
.contact-detail-icon { display: inline-flex; flex: 0 0 38px; width: 38px; height: 38px; align-items: center; justify-content: center; border-radius: 50%; background: rgba(10, 37, 72, .08); color: var(--brand-dark); font-size: 17px; }
.contact-details strong, .contact-details em { display: block; }
.contact-details strong { color: var(--brand-dark); font-size: 14px; }
.contact-details em { margin-top: 4px; color: var(--muted); font-size: 14px; font-style: normal; line-height: 1.7; }
.contact-content { padding: 0; border: 0; background: transparent; line-height: 1.9; }
.contact-map-panel { min-width: 0; }
.contact-map { position: relative; width: 100%; min-height: 430px; overflow: hidden; border: 1px solid var(--border); border-radius: 12px; background: #edf2f6; box-shadow: 0 12px 30px rgba(10, 37, 72, .08); }
.contact-map-loading { display: grid; min-height: 430px; place-items: center; color: var(--muted); font-size: 14px; }

/* 首页友情链接 */
.home-friend-links { padding-top: 20px; }
.friend-links-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.friend-link-card { display: flex; min-height: 58px; align-items: center; justify-content: space-between; gap: 12px; padding: 0 18px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); color: var(--brand-dark); font-size: 14px; transition: border-color .25s ease, color .25s ease, transform .25s ease, box-shadow .25s ease; }
.friend-link-card i { color: var(--accent); font-size: 15px; transition: transform .25s ease; }
.friend-link-card:hover { border-color: rgba(18, 58, 112, .35); color: var(--brand); transform: translateY(-2px); box-shadow: 0 10px 22px rgba(10, 37, 72, .07); }
.friend-link-card:hover i { transform: translate(2px, -2px); }
.search-page-toolbar {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 28px;
	margin-bottom: 34px;
	padding-bottom: 24px;
	border-bottom: 1px solid var(--archive-rule);
}
.search-page-heading { min-width: 0; }
.search-page-eyebrow {
	margin: 0 0 7px;
	color: var(--archive-copper);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .18em;
}
.search-page-heading h2 {
	margin: 0;
	color: var(--archive-ink);
	font-size: 24px;
	font-weight: 700;
}
.search-page-heading p:last-child {
	margin: 8px 0 0;
	color: var(--muted);
	font-size: 13px;
}
.search-page-form {
	display: flex;
	flex: 0 1 420px;
	min-width: 280px;
	padding: 4px;
	border: 1px solid var(--archive-rule);
	border-radius: 12px;
	background: var(--surface);
	box-shadow: 0 8px 22px rgba(10, 37, 72, .06);
}
.search-page-form:focus-within {
	border-color: var(--brand);
	box-shadow: 0 0 0 3px rgba(18, 58, 112, .1);
}
.search-page-form input {
	min-width: 0;
	flex: 1;
	padding: 10px 12px;
	border: 0;
	outline: 0;
	background: transparent;
	color: var(--text);
	font-size: 14px;
}
.search-page-form button {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 0 16px;
	border: 0;
	border-radius: 9px;
	background: var(--brand);
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	transition: background .2s ease, transform .2s ease;
}
.search-page-form button:hover { background: var(--brand-dark); transform: translateY(-1px); }
.search-results-grid { row-gap: 20px; }
.search-result-card { height: 100%; overflow: hidden; border-color: var(--archive-rule); border-radius: 12px; }
.search-result-card .card-img-150 { overflow: hidden; background: var(--archive-mist); }
.search-result-card .card-img-top { transition: transform .35s ease; }
.search-result-card:hover .card-img-top { transform: scale(1.04); }
.search-result-card .card-body { display: flex; flex-direction: column; }
.search-result-card .card-title { margin-bottom: 9px; font-size: 16px; line-height: 1.5; }
.search-result-card .card-text { display: -webkit-box; overflow: hidden; margin-bottom: 16px; color: var(--muted); font-size: 13px; line-height: 1.75; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.search-result-more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; color: var(--brand); font-size: 12px; font-weight: 600; }
.search-result-more:hover { color: var(--accent); }
.search-result-more i { transition: transform .2s ease; }
.search-result-more:hover i { transform: translate(2px, -2px); }
.search-empty-state { display: flex; align-items: center; flex-direction: column; gap: 8px; padding: 48px 20px 56px; color: var(--muted); text-align: center; }
.search-empty-state i { color: var(--brand); font-size: 28px; }
.search-empty-state strong { color: var(--archive-ink); font-size: 16px; }
.search-empty-state span { font-size: 13px; }
.site-pagination {
	margin-top: 34px !important;
	margin-bottom: 8px !important;
}
.site-pagination .pagination {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
}
.site-pagination .page-link,
.site-pagination .page-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 13px;
	border: 1px solid var(--archive-rule);
	border-radius: 10px;
	background: var(--surface);
	color: var(--archive-blue);
	font-size: 13px;
	line-height: 1;
	text-decoration: none;
	transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}
.site-pagination .page-link:hover,
.site-pagination .page-num:hover {
	border-color: var(--brand);
	background: rgba(18, 58, 112, .06);
	color: var(--brand);
	transform: translateY(-1px);
}
.site-pagination .page-num-current {
	border-color: var(--brand);
	background: var(--brand);
	color: #fff;
	font-weight: 600;
	box-shadow: 0 6px 14px rgba(18, 58, 112, .16);
}
.site-pagination .page-num-current:hover {
	border-color: var(--brand);
	background: var(--brand);
	color: #fff;
}
.site-pagination a[href="javascript:;"] {
	opacity: .45;
	cursor: default;
	pointer-events: none;
}

/* ==========================================================================
   通用区块与卡片
   ========================================================================== */
.section { padding: 64px 0; }
.section-alt { background: var(--bg); }

.section-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	margin-bottom: 32px;
	gap: 16px;
}
.section-title {
	font-size: 24px;
	font-weight: 700;
	color: var(--brand-dark);
	margin: 0;
}
.section-more {
	font-size: 14px;
	color: var(--muted);
	white-space: nowrap;
}
.section-more:hover { color: var(--accent); }

.card {
	border: 1px solid var(--border);
	border-radius: 8px;
	transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.card:hover {
	box-shadow: 0 10px 24px rgba(10, 37, 72, .08);
	border-color: var(--brand);
}

.empty-state {
	color: var(--muted);
	text-align: center;
	padding: 48px 0;
}

.reveal {
	opacity: 0;
	transform: translateY(16px);
	transition: opacity 250ms ease, transform 250ms ease;
}
.reveal.is-visible {
	opacity: 1;
	transform: none;
}

/* ==========================================================================
   首页：A 方向公共机构门户
   ========================================================================== */
.home-hero {
	position: relative;
	overflow: hidden;
	background: linear-gradient(108deg, #eef2f5 0 62%, #dce5ec 62%);
}
.home-hero-slides { position: absolute; inset: 0; z-index: 0; }
.home-hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease; }
.home-hero-slide.is-active { opacity: 1; }
.home-hero-slide-bg { position: absolute; inset: -4%; background-position: center; background-size: cover; animation: home-hero-slide-zoom 16s ease-in-out infinite alternate; }
.home-hero-slide::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(10,37,72,.82) 0%, rgba(10,37,72,.58) 52%, rgba(10,37,72,.25) 100%); pointer-events: none; }
.home-hero-slide-copy { position: relative; z-index: 2; padding-top: clamp(9rem, 14vw, 12rem); }
.home-hero-slide.is-active .home-hero-slide-copy { animation: page-banner-content-in .8s cubic-bezier(.4, 0, .2, 1) .15s both; }
.home-hero-slide-copy h2 { max-width: 18ch; margin: .75rem 0 1rem; color: var(--brand-dark); font-family: inherit; font-size: clamp(2rem, 4vw, 3.75rem); font-weight: 700; line-height: 1.15; letter-spacing: -.025em; text-wrap: balance; }
.home-hero-slide-subtitle { max-width: 42rem; margin: 0; color: #536477; font-size: clamp(.95rem, 1.25vw, 1.08rem); line-height: 1.75; }
.home-hero-slide-copy, .home-hero-fallback-copy { transition: opacity .35s ease; }
.home-hero.has-slide-copy .home-hero-fallback-copy { visibility: hidden; opacity: 0; }
.home-hero.has-slide-copy .home-eyebrow { border-color: rgba(255,255,255,.24); background: rgba(255,255,255,.12); color: #dbe8f5; text-shadow: 0 2px 12px rgba(0,0,0,.18); }
.home-hero.has-slide-copy .home-hero-title { color: #fff; text-shadow: 0 3px 18px rgba(0,0,0,.2); }
.home-hero.has-slide-copy .home-hero-slide-subtitle { color: rgba(255,255,255,.86); text-shadow: 0 2px 12px rgba(0,0,0,.18); }
.home-hero::after {
	content: none;
	position: absolute;
	right: 8%;
	top: 50%;
	color: rgba(18, 58, 112, .08);
	font-family: "Songti SC", "STSong", serif;
	font-size: clamp(12rem, 25vw, 24rem);
	font-weight: 700;
	line-height: .8;
	transform: translateY(-50%);
	z-index: 1;
}
@keyframes home-hero-slide-zoom {
	from { transform: scale(1.08); }
	to { transform: scale(1); }
}
.home-hero-inner {
	position: relative;
	z-index: 2;
	padding-top: clamp(4rem, 8vw, 7rem);
	padding-bottom: clamp(3.5rem, 7vw, 6rem);
}
.home-eyebrow,
.section-kicker {
	margin: 0 0 .65rem;
	color: var(--accent);
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .16em;
}
.home-hero .home-eyebrow { display: inline-flex; align-items: center; padding: .38rem .78rem; border: 1px solid rgba(72,106,145,.22); border-radius: 999px; background: rgba(255,255,255,.62); }
.home-hero h1 {
	max-width: 12ch;
	margin: .75rem 0 1rem;
	color: var(--brand-dark);
	font-family: "Songti SC", "STSong", serif;
	font-size: clamp(2.5rem, 5vw, 4.75rem);
	font-weight: 700;
	line-height: 1.08;
	letter-spacing: -.04em;
	text-wrap: balance;
}
.home-hero-fallback-copy { position: relative; z-index: 2; animation: home-hero-fallback-in .9s cubic-bezier(.2,.75,.25,1) .12s both; }
@keyframes home-hero-fallback-in {
	from { opacity: 0; transform: translateY(22px); }
	to { opacity: 1; transform: translateY(0); }
}
.home-hero-copy {
	max-width: 42rem;
	margin: 0;
	color: #536477;
	font-size: clamp(1rem, 1.5vw, 1.125rem);
	line-height: 1.8;
}
.home-notice {
	max-width: 54rem;
	min-height: 52px;
	margin-top: 2rem;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto auto;
	align-items: center;
	gap: .75rem 1rem;
	padding: .65rem 1rem;
	border-left: 3px solid var(--accent);
	background: rgba(255, 255, 255, .94);
	box-shadow: 0 10px 26px rgba(10, 37, 72, .08);
	color: var(--text);
}
.home-notice:hover { color: var(--brand); }
.home-notice-label {
	color: var(--accent);
	font-size: .78rem;
	font-weight: 700;
}
.home-notice-title {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.home-notice time {
	color: var(--muted);
	font-size: .82rem;
	font-variant-numeric: tabular-nums;
}

.section-caption {
	color: var(--muted);
	font-size: .88rem;
}
.home-about .section-head { flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; }
.home-about .section-caption { display: block; margin: 8px 0 0; }
.home-news .section-head { align-items: center; justify-content: center; text-align: center; }
.home-news .section-caption, .home-resources .section-caption { display: block; margin: 8px 0 0; }
.home-resources .section-head { justify-content: center; text-align: center; }
.text-link {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	font-weight: 600;
}
.home-about-card { display: grid; grid-template-columns: minmax(300px, .86fr) minmax(0, 1.14fr); overflow: hidden; border: 1px solid var(--archive-rule); border-radius: 14px; background: var(--surface); box-shadow: 0 18px 42px rgba(10,37,72,.08); }
.home-about-profile { min-width: 0; padding: clamp(28px, 4vw, 48px); background: var(--brand-dark); color: rgba(255,255,255,.78); }
.home-about-year { display: flex; align-items: baseline; gap: 8px; color: rgba(255,255,255,.7); }
.home-about-year strong { color: #fff; font-size: clamp(54px, 6vw, 82px); font-variant-numeric: tabular-nums; line-height: .9; letter-spacing: -.06em; }
.home-about-profile h3 { margin: 12px 0 20px; color: #fff; font-size: clamp(24px, 2.5vw, 34px); line-height: 1.25; }
.home-about-facts { display: grid; gap: 9px; padding: 18px 0; margin: 0 0 22px; border-top: 1px solid rgba(255,255,255,.2); border-bottom: 1px solid rgba(255,255,255,.2); list-style: none; }
.home-about-intro { max-width: 38ch; margin: 0 0 22px; line-height: 1.9; }
.home-about-more { color: #fff; font-weight: 600; }
.home-about-directory { min-width: 0; padding: clamp(28px, 4vw, 48px); background: var(--archive-mist); }
.home-about-directory-head { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--archive-rule); }
.home-about-directory-list { display: grid; margin-top: 8px; counter-reset: home-about-directory; }
.home-about-directory-link { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 19px 0; border-bottom: 1px solid var(--archive-rule); border-left: 2px solid transparent; color: var(--brand-dark); font-size: 17px; font-weight: 600; transition: color .2s ease, background .2s ease, border-left-color .2s ease; }
.home-about-directory-link::before { flex: 0 0 2ch; counter-increment: home-about-directory; content: counter(home-about-directory, decimal-leading-zero); color: var(--muted); font-size: .78em; font-variant-numeric: tabular-nums; letter-spacing: .08em; }
.home-about-directory-link:hover { background: var(--surface); border-left-color: var(--brand-dark); color: var(--brand); }
.home-about-directory-link i { transition: transform .2s ease; }
.home-about-directory-link:hover i { transform: translateX(4px); }
.home-about-directory-link-featured { color: var(--brand); }

.law-panel {
	position: relative;
	overflow: hidden;
	padding: clamp(1.5rem, 4vw, 3rem);
	background: linear-gradient(125deg, var(--brand-dark), var(--brand));
	color: #fff;
	box-shadow: 0 18px 42px rgba(10, 37, 72, .18);
}
.law-panel::after {
	content: "";
	position: absolute;
	width: 22rem;
	height: 22rem;
	right: -10rem;
	top: -12rem;
	border: 1px solid rgba(255, 255, 255, .12);
	border-radius: 50%;
}
.law-panel-head {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 2rem;
	margin-bottom: 2rem;
}
.section-kicker-light { color: #e4b07a; }
.law-panel-head h2 {
	margin: 0 0 .75rem;
	font-family: "Songti SC", "STSong", serif;
	font-size: clamp(1.75rem, 3vw, 2.6rem);
	font-weight: 700;
}
.law-panel-head p:last-child {
	max-width: 48rem;
	margin: 0;
	color: rgba(255, 255, 255, .72);
}
.law-panel-action {
	min-height: 44px;
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	border: 1px solid rgba(255, 255, 255, .5);
	border-radius: 5px;
	color: #fff;
	white-space: nowrap;
}
.law-panel-action:hover {
	border-color: #fff;
	background: #fff;
	color: var(--brand-dark);
}
.law-directions { position: relative; z-index: 1; }
.law-directions article {
	height: 100%;
	min-height: 176px;
	padding: 1.4rem;
	border: 1px solid rgba(255, 255, 255, .14);
	background: rgba(255, 255, 255, .07);
	transition: background-color var(--transition), border-color var(--transition);
}
.law-directions article:hover {
	border-color: rgba(255, 255, 255, .35);
	background: rgba(255, 255, 255, .11);
}
.law-direction-index {
	display: block;
	margin-bottom: 1.2rem;
	color: #e4b07a;
	font-size: .72rem;
	font-variant-numeric: tabular-nums;
	letter-spacing: .12em;
}
.law-directions h3 { margin: 0 0 .65rem; font-size: 1.05rem; font-weight: 700; }
.law-directions p { margin: 0; color: rgba(255, 255, 255, .7); font-size: .9rem; }
.law-database-link {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	margin-top: 1.5rem;
	color: #fff;
	font-weight: 600;
}
.law-database-link:hover { color: #f2c99f; }

.news-feature {
	height: 100%;
	overflow: hidden;
	background: var(--bg);
}
.news-feature-media {
	display: block;
	aspect-ratio: 16 / 8;
	overflow: hidden;
}
.news-feature-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 350ms ease;
}
.news-feature-media:hover img { transform: scale(1.025); }
.news-feature-body { padding: clamp(1.25rem, 3vw, 2rem); }
.news-meta { margin: 0 0 .65rem; color: var(--accent); font-size: .8rem; font-variant-numeric: tabular-nums; }
.news-feature h3 { margin: 0 0 .75rem; font-size: clamp(1.2rem, 2vw, 1.55rem); line-height: 1.45; }
.news-feature h3 a { color: var(--brand-dark); }
.news-feature h3 a:hover { color: var(--accent); }
.news-feature-body > p:last-child { margin: 0; color: var(--muted); }
.news-list { list-style: none; margin: 0; padding: 0; }
.news-list li {
	min-height: 76px;
	display: grid;
	grid-template-columns: 64px minmax(0, 1fr);
	align-items: center;
	gap: 1.2rem;
	border-bottom: 1px solid var(--border);
}
.news-list li:first-child { border-top: 1px solid var(--border); }
.news-list time { color: var(--accent); text-align: center; font-variant-numeric: tabular-nums; }
.news-list time span { display: block; font-size: 1.05rem; font-weight: 700; line-height: 1.2; }
.news-list time small { display: block; color: var(--muted); font-size: .7rem; }
.news-list a {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	color: var(--text);
	font-weight: 500;
	line-height: 1.55;
}
.news-list a:hover { color: var(--brand); }

.resource-panel {
	height: 100%;
	padding: clamp(1.25rem, 3vw, 2rem);
	border-top: 3px solid var(--brand);
	background: var(--surface);
}
.resource-panel header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1rem;
}
.resource-panel h3 { margin: 0; color: var(--brand-dark); font-size: 1.2rem; }
.resource-panel header a { color: var(--muted); font-size: .85rem; }
.resource-list { list-style: none; margin: 0; padding: 0; }
.resource-list li {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 1rem;
	padding: .85rem 0;
	border-bottom: 1px solid var(--border);
}
.resource-list li:last-child { border-bottom: 0; }
.resource-list time { color: var(--muted); font-size: .78rem; font-variant-numeric: tabular-nums; }
.resource-list a {
	overflow: hidden;
	color: var(--text);
	font-size: .92rem;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.resource-list a:hover { color: var(--brand); }

/* ==========================================================================
   页脚
   ========================================================================== */
.site-footer {
	background: var(--brand-dark);
	color: rgba(255,255,255,.75);
	margin-top: 64px;
}
.footer-main { padding: 56px 0 32px; }
.footer-title {
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	margin-bottom: 16px;
}
.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list li { margin-bottom: 10px; display: flex; gap: 8px; align-items: flex-start; }
.footer-list a { color: rgba(255,255,255,.75); }
.footer-list a:hover { color: #fff; }
.footer-nav-group .footer-list li { margin-bottom: 8px; }
.footer-qrcode { text-align: center; }
.footer-qrcode-box {
	display: inline-flex;
	padding: 10px;
	border: 1px solid rgba(255,255,255,.18);
	border-radius: 16px;
	background: rgba(255,255,255,.1);
	box-shadow: 0 12px 26px rgba(0,0,0,.12);
	backdrop-filter: blur(4px);
}
.footer-qrcode-image {
	display: inline-block;
	width: 132px;
	height: 132px;
	padding: 7px;
	border-radius: 9px;
	background: #fff;
	object-fit: contain;
}
.footer-qrcode-note {
	max-width: 150px;
	margin: 10px auto 0;
	font-size: 12px;
	line-height: 1.6;
	color: rgba(255,255,255,.58);
}
.footer-copyright {
	border-top: 1px solid rgba(255,255,255,.12);
	padding: 16px 0;
	font-size: 13px;
	text-align: center;
	color: rgba(255,255,255,.6);
}
.footer-copyright a { color: rgba(255,255,255,.75); }

/* ==========================================================================
   返回顶部
   ========================================================================== */
.back-to-top {
	position: fixed;
	right: 24px;
	bottom: 24px;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--brand);
	color: #fff;
	border: none;
	display: none;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	box-shadow: 0 4px 12px rgba(10, 37, 72, .3);
	z-index: 1040;
	transition: background var(--transition);
}
.back-to-top:hover { background: var(--accent); }
.back-to-top.is-visible { display: flex; }
