@charset "utf-8";
/**
 * 文章详情页样式（与列表页视觉统一）
 * news.html / about.html 引用
 */

body {
	background-color: #fff;
	background-image: url(../images/banner-2.jpg) !important;
	background-repeat: no-repeat !important;
	background-position: center top !important;
}

.detail-page {
	margin: 24px auto 48px;
	padding: 0;
	clear: both;
	box-sizing: border-box;
	min-height: 1000px;
}

/* 返回顶部（右下角固定） */
.detail-back-top {
	position: fixed;
	right: 28px;
	bottom: 48px;
	z-index: 1200;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
	width: 52px;
	height: 52px;
	border-radius: 14px;
	background: linear-gradient(145deg, #1a7ec4, #0b5a9c);
	color: #fff;
	text-decoration: none;
	box-shadow: 0 8px 20px rgba(11, 90, 156, 0.28);
	opacity: 0;
	visibility: hidden;
	transform: translateY(12px);
	pointer-events: none;
	transition: opacity .2s ease, transform .2s ease, visibility .2s ease, box-shadow .2s ease, filter .2s ease;
}

.detail-back-top.is-show {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	pointer-events: auto;
}

.detail-back-top:hover {
	color: #fff;
	text-decoration: none;
	filter: brightness(1.06);
	box-shadow: 0 12px 24px rgba(11, 90, 156, 0.36);
}

.detail-back-top__ico {
	font-size: 18px;
	line-height: 1;
	font-weight: 700;
}

.detail-back-top__txt {
	font-size: 11px;
	line-height: 1;
	letter-spacing: 0.04em;
}

@media (max-width: 720px) {
	.detail-back-top {
		right: 14px;
		bottom: 28px;
		width: 46px;
		height: 46px;
		border-radius: 12px;
	}
}

/* 面包屑（覆盖 main.css .current 蓝底） */
.list-crumb {
	margin: 0 0 16px;
	padding: 0 4px;
	font-size: 13px;
	color: #94a3b8;
	line-height: 1.6;
}

.list-crumb a {
	color: #64748b;
	text-decoration: none;
}

.list-crumb a:hover {
	color: #0b5a9c;
}

.list-crumb .sep {
	margin: 0 8px;
	color: #cbd5e1;
}

.list-crumb .current,
.detail-page .list-crumb .current,
.detail-page span.current {
	display: inline !important;
	min-width: 0 !important;
	height: auto !important;
	line-height: inherit !important;
	padding: 0 !important;
	margin: 0 !important;
	text-align: left !important;
	background: none !important;
	background-color: transparent !important;
	border: 0 !important;
	color: #334155 !important;
	font-weight: 600 !important;
	box-sizing: content-box !important;
}

/* 文章卡片 */
.detail-panel {
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 8px 28px rgba(15, 40, 80, 0.08);
	border: 1px solid #eef1f5;
	padding: 36px 48px 40px;
	box-sizing: border-box;
	overflow: hidden;
}

.detail-panel__title {
	display: block;
	margin: 0;
	padding: 0 0 18px;
	font-size: 28px;
	font-weight: 700;
	line-height: 1.45;
	color: #0f172a;
	text-align: center;
	letter-spacing: 0.02em;
}

.detail-panel__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px 28px;
	padding: 0 0 14px;
	font-size: 13px;
	color: #64748b;
	border-bottom: 1px solid #eef1f5;
}

.detail-panel__meta-item {
	display: inline-flex;
	align-items: center;
	line-height: 1.4;
}

.detail-panel__tools {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 24px;
	padding: 14px 0 8px;
	font-size: 13px;
	color: #64748b;
}

.detail-panel__tools .index_switchsize span {
	display: inline-block;
	margin: 0 2px;
	padding: 2px 8px;
	border-radius: 6px;
	cursor: pointer;
	color: #0b5a9c;
	transition: background .15s ease, color .15s ease;
}

.detail-panel__tools .index_switchsize span:hover {
	background: #e8f2fc;
	color: #08457a;
}

.detail-panel__print {
	color: #0b5a9c;
	text-decoration: none;
	padding: 2px 8px;
	border-radius: 6px;
}

.detail-panel__print:hover {
	background: #e8f2fc;
	text-decoration: none;
}

.detail-panel__content {
	width: auto !important;
	max-width: 100%;
	margin: 20px 0 0 !important;
	padding: 8px 0 0;
	font-size: 16px;
	line-height: 1.9;
	color: #1e293b !important;
	text-align: left;
	word-wrap: break-word;
	overflow-wrap: break-word;
}

.detail-panel__content p {
	margin: 0 0 1em;
	line-height: 1.9;
}

.detail-panel__content img {
	max-width: 100% !important;
	height: auto !important;
	display: block;
	margin: 16px auto;
	border-radius: 8px;
}

.detail-panel__content table {
	max-width: 100%;
	border-collapse: collapse;
	margin: 16px 0;
}

.detail-panel__content a {
	color: #0b5a9c;
	text-decoration: underline;
}

.detail-panel__content a:hover {
	color: #ff6b01;
}

.detail-panel__enclosure {
	margin-top: 24px;
	padding: 14px 16px;
	background: #f0f7fc;
	border: 1px solid #c5ddf0;
	border-left: 4px solid #0b5a9c;
	border-radius: 6px;
	font-size: 14px;
	line-height: 1.9;
	color: #334155;
}

.detail-panel__enclosure-label {
	font-weight: 600;
	margin-right: 6px;
}

.detail-panel__enclosure-list {
	display: inline;
}

.detail-panel__file-link {
	color: #0b5a9c;
	text-decoration: underline;
}

.detail-panel__file-link:hover {
	color: #ff6b01;
}

.detail-panel__pager {
	margin-top: 32px;
	padding-top: 20px;
	border-top: 1px solid #eef1f5;
}

.detail-panel__adjacent {
	margin: 0 0 10px;
	font-size: 14px;
	color: #64748b;
	line-height: 1.6;
}

.detail-panel__adjacent a {
	color: #0b5a9c;
	text-decoration: none;
}

.detail-panel__adjacent a:hover {
	color: #ff6b01;
	text-decoration: underline;
}

.detail-page .videoBox {
	margin: 12px auto 0;
}

@media (max-width: 1100px) {
	.detail-panel {
		padding: 28px 22px 32px;
	}

	.detail-panel__title {
		font-size: 22px;
	}
}

@media print {
	.gzq-top-wrap,
	.gzq-banner,
	.nav-bg,
	.detail-panel__tools,
	.detail-panel__pager,
	.list-crumb {
		display: none !important;
	}

	.detail-panel {
		box-shadow: none;
		border: 0;
		padding: 0;
	}
}

/* ========== 办事大厅页 ========== */
.hall-page {
	margin-bottom: 48px;
}

.hall-panel {
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 8px 28px rgba(15, 40, 80, 0.08);
	border: 1px solid #eef1f5;
	padding: 28px 32px 36px;
	box-sizing: border-box;
}

.hall-panel__hd {
	margin: 0 0 24px;
	padding: 0 0 18px;
	border-bottom: 1px solid #eef1f5;
}

.hall-panel__title {
	display: block;
	margin: 0 0 8px;
	padding: 0 0 0 14px;
	font-size: 24px;
	font-weight: 700;
	color: #0f172a;
	line-height: 1.3;
	position: relative;
}

.hall-panel__title::before {
	content: "";
	position: absolute;
	left: 0;
	top: 6px;
	width: 4px;
	height: 20px;
	border-radius: 4px;
	background: linear-gradient(180deg, #1a7ec4, #0b5a9c);
}

.hall-panel__desc {
	margin: 0;
	padding-left: 14px;
	font-size: 14px;
	color: #64748b;
	line-height: 1.5;
}

.hall-grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 18px;
}

.hall-grid__item {
	margin: 0;
	padding: 0;
	list-style: none;
}

.hall-grid__item a {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 16px;
	aspect-ratio: 1 / 1;
	width: 100%;
	min-height: 0;
	padding: 22px 14px;
	border-radius: 16px;
	text-decoration: none;
	color: #fff;
	box-sizing: border-box;
	transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
	box-shadow: 0 6px 16px rgba(15, 40, 80, 0.12);
}

.hall-grid__item a:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 24px rgba(15, 40, 80, 0.18);
	filter: brightness(1.04);
	color: #fff;
	text-decoration: none;
}

.hall-grid__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 58px;
	height: 58px;
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.2);
}

.hall-grid__icon .iconfont {
	font-size: 30px;
	line-height: 1;
	color: #fff;
}

.hall-grid__txt {
	display: block;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.35;
	text-align: center;
	letter-spacing: 0.02em;
	max-width: 90%;
}

.hall-grid__item--join a { background: linear-gradient(145deg, #1a7ec4, #0b5a9c); }
.hall-grid__item--form a { background: linear-gradient(145deg, #5a9ef0, #3b7dd8); }
.hall-grid__item--event a { background: linear-gradient(145deg, #5eb6e8, #3a93c9); }
.hall-grid__item--owner a { background: linear-gradient(145deg, #6bb8f0, #4a8fd0); }
.hall-grid__item--reg a { background: linear-gradient(145deg, #1cb5a5, #0f9b8e); }
.hall-grid__item--query a { background: linear-gradient(145deg, #6bc4ef, #4db6e8); }
.hall-grid__item--blood a { background: linear-gradient(145deg, #6fd0c2, #5fc4b5); }
.hall-grid__item--bloodq a { background: linear-gradient(145deg, #a899e0, #9585d4); }
.hall-grid__item--year a { background: linear-gradient(145deg, #7aa8e8, #5b8ad4); }
.hall-grid__item--chip a { background: linear-gradient(145deg, #ff8a4a, #ff6b01); }

@media (max-width: 1100px) {
	.hall-grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.hall-panel {
		padding: 22px 18px 28px;
	}
}

@media (max-width: 720px) {
	.hall-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 12px;
	}

	.hall-grid__item a {
		aspect-ratio: 1 / 1;
		padding: 16px 10px;
		gap: 12px;
	}

	.hall-grid__icon {
		width: 48px;
		height: 48px;
	}

	.hall-grid__icon .iconfont {
		font-size: 24px;
	}

	.hall-grid__txt {
		font-size: 13px;
	}
}
