/* ── Milestone Stats Widget ─────────────────────────────────────── */

.hbc-ms-outer {
	background-color: #0d1b3e;
	padding: 60px;
	box-sizing: border-box;
}

.hbc-ms-wrap {
	display: flex;
	align-items: center;
	gap: 60px;
	max-width: 100%;
	margin-left: auto;
	margin-right: auto;
	box-sizing: border-box;
}

/* ── Left: Heading & Tagline ─────────────────────────────────── */

.hbc-ms-left {
	flex: 0 0 35%;
	max-width: 35%;
}

.hbc-ms-heading {
	display: block;
	font-size: 28px;
	font-weight: 700;
	line-height: 1.35;
	color: #ffffff;
	margin: 0 0 16px;
}

.hbc-ms-tagline {
	display: block;
	font-size: 13px;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.65);
	margin: 0;
}

/* ── Right: Stats Grid ───────────────────────────────────────── */

.hbc-ms-right {
	flex: 1;
	min-width: 0;
}

.hbc-ms-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	/* 双边框技巧：grid 自身 left+top，每个 item 有 right+bottom，
	   最终形成内外均有 1px 分隔线的网格 */
	border-left: 1px solid rgba(255, 255, 255, 0.15);
	border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hbc-ms-item {
	display: flex;
	flex-direction: column;
	padding: 20px 28px;
	border-right: 1px solid rgba(255, 255, 255, 0.15);
	border-bottom: 1px solid rgba(255, 255, 255, 0.15);
	box-sizing: border-box;
}

.hbc-ms-value {
	display: block;
	font-size: 36px;
	font-weight: 700;
	line-height: 1.2;
	color: #4a90e2;
	margin-bottom: 6px;
}

.hbc-ms-label {
	display: block;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.65);
	line-height: 1.45;
}

/* ── Responsive ─────────────────────────────────────────────── */

@media (max-width: 1024px) {
	.hbc-ms-outer {
		padding: 48px 40px;
	}
	.hbc-ms-wrap {
		gap: 40px;
	}
}

@media (max-width: 768px) {
	.hbc-ms-outer {
		padding: 36px 24px;
	}
	.hbc-ms-wrap {
		flex-direction: column;
		align-items: flex-start;
		gap: 28px;
	}

	.hbc-ms-left {
		flex: 0 0 auto;
		max-width: 100%;
		width: 100%;
	}

	.hbc-ms-right {
		width: 100%;
	}

	/* !important 用于覆盖 Elementor 排版组控件注入的桌面字号 */
	.hbc-ms-heading {
		font-size: 26px !important;
		line-height: 1.3 !important;
	}

	.hbc-ms-tagline {
		font-size: 13px !important;
		line-height: 1.55 !important;
	}

	.hbc-ms-value {
		font-size: 28px !important;
		line-height: 1.2 !important;
	}

	.hbc-ms-label {
		font-size: 10px !important;
		line-height: 1.4 !important;
	}

	.hbc-ms-item {
		padding: 18px 16px;
	}
}

@media (max-width: 480px) {
	.hbc-ms-outer {
		padding: 28px 18px;
	}
	.hbc-ms-wrap {
		gap: 24px;
	}

	.hbc-ms-heading {
		font-size: 22px !important;
	}

	.hbc-ms-value {
		font-size: 24px !important;
	}

	.hbc-ms-label {
		font-size: 9px !important;
		letter-spacing: 0.08em;
	}

	.hbc-ms-item {
		padding: 14px 12px;
	}
}
