/* ═══════════════════════════════════════════════════════════════
   项目Tab列表 – Project Tabs Widget
   ═══════════════════════════════════════════════════════════════ */

.hbc-pt-wrap,
.hbc-pt-wrap * {
	box-sizing: border-box;
}

.hbc-pt-wrap {
	display: block;
	width: 100%;
}

/* ── 标题 ────────────────────────────────────────────────────── */

.hbc-pt-heading {
	display: block;
	text-align: center;
	font-size: 32px;
	font-weight: 700;
	color: #e53e3e;
	margin: 0 0 30px;
}

/* ── Tab 按钮 ────────────────────────────────────────────────── */

.hbc-pt-tabs {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 20px;
	margin-bottom: 36px;
}

.hbc-pt-tab {
	display: inline-block;
	padding: 12px 40px;
	border: 2px solid #dddddd;
	border-radius: 999px;
	background: #ffffff;
	color: #333333;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.25s ease;
}

.hbc-pt-tab:hover {
	border-color: #4a9ff5;
	color: #4a9ff5;
}

.hbc-pt-tab.is-active {
	background-color: #4a9ff5;
	border-color: #4a9ff5;
	color: #ffffff;
}

/* ── 表头 ────────────────────────────────────────────────────── */

.hbc-pt-header {
	display: grid;
	grid-template-columns: 50px 1fr 160px 120px;
	align-items: center;
	padding: 10px 0;
	border-bottom: 2px solid #222;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: #666;
}

/* ── 列表容器 ────────────────────────────────────────────────── */

.hbc-pt-list {
	display: block;
	width: 100%;
}

/* ── 行 ──────────────────────────────────────────────────────── */

.hbc-pt-row {
	display: grid;
	grid-template-columns: 50px 1fr 160px 120px;
	align-items: center;
	padding: 20px 0;
	border-bottom: 1px solid #eee;
	width: 100%;
}

.hbc-pt-no {
	font-size: 13px;
	font-weight: 600;
	color: #aaa;
}

.hbc-pt-details {
	display: block;
}

.hbc-pt-name {
	font-size: 18px;
	font-weight: 600;
	color: #222;
	margin-bottom: 4px;
}

.hbc-pt-location {
	font-size: 12px;
	color: #999;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.hbc-pt-sector-wrap {
	display: flex;
	align-items: center;
}

.hbc-pt-sector {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 18px;
	background: transparent;
	border: 1px solid #ddd;
	border-radius: 20px;
	font-size: 11px;
	font-weight: 600;
	color: #555;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.hbc-pt-sector-dot {
	display: inline-block;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background-color: #e53e3e;
	flex-shrink: 0;
}

.hbc-pt-action {
	text-align: right;
}

.hbc-pt-action a,
.hbc-pt-action span {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 13px;
	font-weight: 600;
	color: #333;
	text-decoration: none;
	letter-spacing: 0.5px;
	transition: color 0.2s;
}

.hbc-pt-action a:hover {
	color: #4a9ff5;
}

.hbc-pt-arrow {
	flex-shrink: 0;
	display: inline-block;
}

/* ── 响应式 ──────────────────────────────────────────────────── */

@media (max-width: 768px) {
	.hbc-pt-header {
		display: none;
	}

	.hbc-pt-row {
		grid-template-columns: 30px 1fr;
		grid-template-rows: auto auto auto;
		gap: 6px 10px;
	}

	.hbc-pt-no {
		grid-row: 1 / 4;
		align-self: center;
	}

	.hbc-pt-details {
		grid-column: 2;
	}

	.hbc-pt-sector-wrap {
		grid-column: 2;
	}

	.hbc-pt-action {
		grid-column: 2;
		text-align: left;
	}

	.hbc-pt-tabs {
		flex-wrap: wrap;
	}

	.hbc-pt-tab {
		padding: 10px 24px;
		font-size: 14px;
	}
}
