/* ── 编辑部模块（2026-11-04） ── */
.dg-team-grid {
	display: grid;
	grid-template-columns: repeat(var(--dg-cols, 4), 1fr);
	gap: 18px;
}
.dg-team-card {
	background: #fff;
	border: 1px solid #e8edf4;
	border-radius: 10px;
	overflow: hidden;
	transition: box-shadow .22s ease, transform .22s ease;
}
.dg-team-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 22px rgba(10, 36, 99, .1);
}
.dg-team-card-link {
	display: block;
	padding: 18px 16px 16px;
	text-decoration: none;
	color: inherit;
}
.dg-team-avatar {
	display: block;
	width: 76px;
	height: 76px;
	margin: 0 auto 12px;
	border-radius: 50%;
	overflow: hidden;
	background: #eef2f8;
	box-shadow: 0 3px 10px rgba(10, 36, 99, .12);
}
.dg-team-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.dg-team-avatar-gen {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 26px;
	font-weight: 700;
	color: #0A2463;
	background: linear-gradient(140deg, #eaf1fb, #dce7f7);
}
.dg-team-body { text-align: center; }
.dg-team-name {
	margin: 0 0 4px;
	font-size: 15px;
	font-weight: 700;
	color: #13233f;
}
.dg-team-role {
	display: inline-block;
	margin-left: 6px;
	padding: 1px 7px;
	border-radius: 3px;
	background: #eef4fd;
	color: #0A2463;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .2px;
	vertical-align: middle;
}
.dg-team-desc {
	margin: 0 0 8px;
	font-size: 12.5px;
	line-height: 1.6;
	color: #7b8794;
}
.dg-team-posts {
	margin: 0;
	padding: 8px 0 0;
	list-style: none;
	border-top: 1px dashed #e8edf4;
	text-align: left;
}
.dg-team-posts li {
	font-size: 12px;
	line-height: 1.55;
	margin-bottom: 4px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.dg-team-posts a { color: #5b6b84; text-decoration: none; }
.dg-team-posts a:hover { color: #2196F3; }
.dg-team-empty { color: #8b97ab; font-size: 14px; }

/* 作者徽标旁的小头像 */
.dg-author-wrap { display: inline-flex; align-items: center; gap: 5px; }
.dg-author-avatar {
	width: 20px;
	height: 20px;
	border-radius: 50%;
	object-fit: cover;
	vertical-align: middle;
	box-shadow: 0 1px 3px rgba(0,0,0,.14);
}