@charset "utf-8";

.news-list {
	display: flex;
	flex-direction: column;
}

.news-item {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 24px;
	margin: 0;
	padding: 12px 0;
	background: none;
	border: 0;
	border-bottom: 1px solid #eee;
	color: #222;
	font: 15px/1.85 "Microsoft YaHei", "微软雅黑";
	text-decoration: none;
}

.news-title {
	display: block;
	min-width: 0;
	transition: transform 0.2s ease;
}

.news-item:hover .news-title { transform: translateX(3px); }

.news-item .cat {
	color: var(--red);
	font-weight: 700;
}

.news-item h2 {
	display: inline;
	margin: 0;
	color: var(--gray-strong);
	font: 600 15px/1.85 "Microsoft YaHei", "微软雅黑";
}

.news-item:hover h2 { color: var(--red); }

.news-item h2 .news-hot {
	display: inline-block;
	width: auto;
	height: 1em;
	margin-left: 0.35em;
	vertical-align: -0.12em;
}

.news-item time {
	flex: 0 0 auto;
	margin-left: 0;
	color: #9a9a9a;
	font: 12px/1.85 "Microsoft YaHei", "微软雅黑";
	white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
	.news-title { transition: none; }
	.news-item:hover .news-title { transform: none; }
}
