/* 数据库介绍页样式（简化版） */

/* 旧版滚动动画选择器（.content-section）已不再使用，保留 .reveal-ready 兜底以防其它脚本引用 */
.introduction .reveal-ready { opacity: 1; }

/* 标题：「数据库介绍：xxx数据库」 */
.introduction .db-intro-title {
	text-align: center;
	font-size: 1.5rem;
	font-weight: 700;
	color: #1a1a1a;
	margin: 1.5rem 0 1.25rem;
}

.introduction .db-intro-title .db-intro-name {
	color: #1d4ed8;
}

/* 介绍编号列表 */
.introduction .db-intro-section {
	background: #fff;
	border-radius: 0.75rem;
	padding: 1.25rem 1.5rem;
	box-shadow: 0 0.125rem 0.5rem rgba(15, 23, 42, 0.04);
	border: 1px solid #eef2f7;
	margin-bottom: 1.5rem;
}

.introduction .db-info-list {
	list-style: decimal inside;
	margin: 0;
	padding: 0;
	color: #1f2937;
	font-size: 0.9375rem;
	line-height: 1.9;
}

.introduction .db-info-list .db-info-item {
	display: list-item;
	padding: 0.25rem 0;
	border-bottom: 1px dashed #f1f5f9;
}

.introduction .db-info-list .db-info-item:last-child {
	border-bottom: none;
}

.introduction .db-info-list .db-info-label {
	display: inline-block;
	min-width: 6.5rem;
	color: #475569;
	font-weight: 600;
	margin-right: 0.5rem;
}

.introduction .db-info-list .db-info-value {
	color: #1f2937;
}

.introduction .db-info-list .db-info-link {
	color: #2563eb;
	text-decoration: underline;
}

.introduction .db-info-list .db-info-link:hover {
	color: #1d4ed8;
}

/* 样本文献（保留当前设计语言：白底圆角 + 阴影，字段用【】标记） */
.introduction .db-sample-section {
	background: #fff;
	border-radius: 0.75rem;
	overflow: hidden;
	box-shadow: 0 0.125rem 0.5rem rgba(15, 23, 42, 0.04);
	border: 1px solid #eef2f7;
	margin-bottom: 2rem;
}

.introduction .db-sample-header {
	background: linear-gradient(135deg, #2563eb, #1e40af);
	color: #fff;
	display: grid;
	grid-template-columns: 1fr 1.4fr 1fr;
	gap: 0;
}

.introduction .db-sample-header .db-sample-col {
	padding: 0.875rem 1.25rem;
	font-size: 0.9375rem;
	font-weight: 600;
	text-align: center;
}

.introduction .db-sample-header .db-sample-col + .db-sample-col {
	border-left: 1px solid rgba(255, 255, 255, 0.25);
}

.introduction .db-sample-body {
	padding: 1.25rem 1.5rem 1.5rem;
	color: #1f2937;
	line-height: 1.9;
	font-size: 0.9375rem;
}

.introduction .db-sample-body .db-sample-row {
	display: flex;
	align-items: baseline;
	margin: 0.125rem 0;
}

.introduction .db-sample-body .db-sample-key {
	flex-shrink: 0;
	color: #2563eb;
	font-weight: 600;
	margin-right: 0.5rem;
	white-space: nowrap;
}

.introduction .db-sample-body .db-sample-val {
	color: #1f2937;
}

.introduction .db-sample-body .db-sample-title-row .db-sample-val {
	font-weight: 700;
	font-size: 1rem;
}

.introduction .db-sample-body .db-sample-subtitle-row .db-sample-val {
	color: #475569;
}

.introduction .db-sample-body .db-sample-text {
	margin-top: 0.5rem;
	color: #374151;
}

.introduction .db-sample-body .db-sample-text p {
	text-indent: 2em;
	margin: 0.5rem 0;
}

/* 待补充占位（保持旧版样式） */
.todo-note {
	display: block;
	padding: 1rem 1.25rem;
	margin: 0.75rem 0;
	background: #fff7ed;
	border: 1px dashed #f97316;
	border-radius: 0.5rem;
	color: #c2410c;
	font-size: 0.9rem;
	line-height: 1.6;
}

/* list-item 形态的占位（在 <ol> 里时使用） */
.introduction .db-info-list .todo-note {
	display: list-item;
}

@media (max-width: 48rem) {
	.introduction .db-sample-header {
		grid-template-columns: 1fr;
	}
	.introduction .db-sample-header .db-sample-col + .db-sample-col {
		border-left: none;
		border-top: 1px solid rgba(255, 255, 255, 0.25);
	}
	.introduction .db-info-list .db-info-label {
		min-width: auto;
		display: block;
		margin-right: 0;
	}
}
