/* ==================== 特色标签页 (feature-tabs) ==================== */

.ft-wrap *,
.ft-wrap *::before,
.ft-wrap *::after {
	box-sizing: border-box;
}

/* ---- 主布局 ---- */
.ft-wrap {
	--ft-left-width: 35%;
	display: flex;
	align-items: flex-start;
	gap: 40px;
}

/* ---- 左侧 ---- */
.ft-left {
	flex: 0 0 var(--ft-left-width);
	max-width: var(--ft-left-width);
}

.ft-heading {
	margin: 0 0 16px;
	font-size: 28px;
	font-weight: 700;
	line-height: 1.3;
	color: #0a0f2e;
}

.ft-sub {
	margin: 0 0 32px;
	font-size: 15px;
	line-height: 1.65;
	color: #555;
}

/* ---- Tab 导航 ---- */
.ft-tab-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.ft-tab-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 16px;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.4;
	color: #555;
	background: transparent;
	border: 0;
	border-radius: 4px;
	cursor: pointer;
	user-select: none;
	transition: color 0.25s ease, background-color 0.25s ease;
}

.ft-tab-btn:hover {
	color: #b71a33;
}

.ft-tab-btn.is-active {
	color: #fff;
	background-color: #b71a33;
}

.ft-tab-btn:focus-visible {
	outline: 2px solid #b71a33;
	outline-offset: 2px;
}

/* ---- 右侧面板 ---- */
.ft-right {
	flex: 1;
	min-width: 0;
	position: relative;
}

.ft-panel {
	display: none;
}

.ft-panel.is-active {
	display: block;
	animation: ftFadeIn 0.35s ease;
}

@keyframes ftFadeIn {
	from { opacity: 0; transform: translateY(6px); }
	to   { opacity: 1; transform: translateY(0); }
}

.ft-panel-inner {
	display: flex;
	align-items: center;
	gap: 24px;
}

.ft-panel-img {
	flex: 0 0 50%;
	max-width: 50%;
	line-height: 0;
}

.ft-panel-img img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: cover;
	border-radius: 8px;
}

.ft-panel-text {
	flex: 1;
	min-width: 0;
}

.ft-panel-title {
	margin: 0 0 12px;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.35;
	color: #0a0f2e;
}

.ft-panel-desc {
	margin: 0;
	font-size: 15px;
	line-height: 1.65;
	color: #555;
}

/* ---- 响应式 ---- */
@media (max-width: 767px) {
	.ft-wrap {
		flex-direction: column;
		gap: 24px;
	}

	.ft-left {
		flex: none;
		max-width: 100%;
		width: 100%;
	}

	.ft-heading {
		font-size: 22px;
	}

	.ft-panel-inner {
		flex-direction: column;
	}

	.ft-panel-img {
		flex: none;
		max-width: 100%;
		width: 100%;
	}
}

/* ---- Reduced Motion ---- */
@media (prefers-reduced-motion: reduce) {
	.ft-tab-btn {
		transition: none;
	}

	.ft-panel.is-active {
		animation: none;
	}
}
