/* City subforum navigation */
.qfg-subforum {
	margin: 10px 0 14px;
	border: 1px solid #dfe7ef;
	border-radius: 6px;
	background: #fff;
	box-shadow: 0 2px 10px rgba(29, 65, 96, .06);
	font-family: "Microsoft YaHei", "\5FAE\8F6F\96C5\9ED1", Arial, sans-serif;
	overflow: hidden;
}

.qfg-subforum__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 48px;
	padding: 0 16px;
	border-bottom: 1px solid #e8eef4;
	background: #fff;
	box-sizing: border-box;
}

.qfg-subforum__title,
.qfg-subforum__meta {
	display: flex;
	align-items: center;
}

.qfg-subforum__title strong {
	color: #253648;
	font-size: 16px;
	font-weight: 700;
}

.qfg-subforum__mark {
	width: 4px;
	height: 18px;
	margin-right: 9px;
	border-radius: 2px;
	background: #287cc1;
}

.qfg-subforum__subtitle {
	margin-left: 10px;
	color: #8b99a7;
	font-size: 12px;
	font-weight: 400;
}

.qfg-subforum__meta {
	color: #8b99a7;
	font-size: 12px;
}

.qfg-subforum__collapse {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	margin-left: 8px;
}

.qfg-subforum__collapse img {
	display: block;
	width: 13px;
	height: 13px;
	opacity: .65;
}

.qfg-subforum__body {
	padding: 14px 16px 16px;
}

.qfg-subforum__grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 10px;
}

.qfg-city {
	position: relative;
	display: flex;
	align-items: center;
	height: 40px;
	padding: 0 32px 0 32px;
	border: 1px solid #e1e8ef;
	border-radius: 5px;
	background: #f8fafc;
	color: #34495e;
	box-sizing: border-box;
	text-decoration: none;
	transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.qfg-city:hover {
	border-color: #66a9dc;
	background: #edf7ff;
	box-shadow: 0 3px 8px rgba(40, 124, 193, .12);
	color: #176cae;
	text-decoration: none;
	transform: translateY(-1px);
}

.qfg-city__pin {
	position: absolute;
	left: 13px;
	top: 12px;
	width: 10px;
	height: 10px;
	border: 2px solid #58a0d5;
	border-radius: 50% 50% 50% 0;
	box-sizing: border-box;
	transform: rotate(-45deg);
}

.qfg-city__pin:after {
	position: absolute;
	top: 2px;
	left: 2px;
	width: 2px;
	height: 2px;
	border-radius: 50%;
	background: #58a0d5;
	content: "";
}

.qfg-city__name {
	min-width: 0;
	overflow: hidden;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.qfg-city__count {
	position: absolute;
	right: 10px;
	color: #9aa7b3;
	font-size: 11px;
	font-weight: 400;
}

.qfg-city__badge {
	position: absolute;
	top: -7px;
	right: 7px;
	height: 16px;
	padding: 0 4px;
	border: 2px solid #fff;
	border-radius: 4px;
	background: #f26b61;
	color: #fff;
	font-size: 10px;
	font-weight: 400;
	line-height: 16px;
}

.qfg-city--hot {
	border-color: #cfe4f5;
	background: #f3f9fe;
}

@media screen and (max-width: 900px) {
	.qfg-subforum__grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media screen and (max-width: 640px) {
	.qfg-subforum__header {
		padding: 0 12px;
	}

	.qfg-subforum__subtitle {
		display: none;
	}

	.qfg-subforum__body {
		padding: 12px;
	}

	.qfg-subforum__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
	}
}
