/* qlbd-fir-indexus - 关于我们组件 */

.qlbd-fir-indexus-container {
	width: 100%;
	padding: 32px 0;
}

/*
 * 桌面端：左列浮动决定整行高度（= 图片高度），右列绝对定位铺满同高，
 * 避免正文把整行撑高导致右侧“突出来”超过图片底边。
 */
.qlbd-fir-indexus-inner {
	position: relative;
	max-width: var(--ql-container-width);
	margin: 0 auto;
	padding: 0 16px;
}

.qlbd-fir-indexus-inner::after {
	content: "";
	display: table;
	clear: both;
}

.qlbd-fir-indexus-left {
	float: left;
	width: calc(50% - 10px);
	margin-right: 20px;
	min-width: 0;
	overflow: hidden;
}

.qlbd-fir-indexus-image {
	max-width: 100%;
	width: 100%;
	height: auto;
	border-radius: 12px;
	display: block;
}

.qlbd-fir-indexus-right {
	position: absolute;
	top: 0;
	right: 16px;
	bottom: 0;
	width: calc(50% - 10px);
	display: flex;
	flex-direction: column;
	min-height: 0;
	box-sizing: border-box;
	padding-left: 20px;
}

.qlbd-fir-indexus-titles {
	flex-shrink: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-bottom: 12px;
}

.qlbd-fir-indexus-title {
	font-size: 28px;
	line-height: 1.2;
	color: var(--ql-color-text-title);
	font-weight: 800;
}

.qlbd-fir-indexus-subtitle {
	font-size: 16px;
	line-height: 1.2;
	color: var(--ql-color-text-body);
	font-weight: 600;
}

/* 中间区域滚动：占满标题与「查看更多」之间的剩余高度 */
.qlbd-fir-indexus-text-scroll {
	flex: 1 1 auto;
	min-height: 0;
	overflow-x: hidden;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	padding-right: 4px;
	margin-right: -4px;
	scrollbar-width: thin;
	scrollbar-color: color-mix(in srgb, var(--ql-color-text-body) 35%, transparent) transparent;
}

.qlbd-fir-indexus-text-scroll::-webkit-scrollbar {
	width: 5px;
}

.qlbd-fir-indexus-text-scroll::-webkit-scrollbar-track {
	background: transparent;
}

.qlbd-fir-indexus-text-scroll::-webkit-scrollbar-thumb {
	background-color: color-mix(in srgb, var(--ql-color-text-body) 30%, transparent);
	border-radius: 999px;
}

.qlbd-fir-indexus-text {
	margin: 0;
	font-size: 15px;
	line-height: 1.75;
	color: var(--ql-color-text-body);
}

.qlbd-fir-indexus-action {
	flex-shrink: 0;
	display: inline-block;
	margin-top: 14px;
	color: var(--ql-color-primary);
	font-weight: 700;
	font-size: 14px;
	transition: transform 0.2s ease;
}

.qlbd-fir-indexus-action:hover {
	transform: translateY(-2px);
}

@media (max-width: 768px) {
	.qlbd-fir-indexus-inner::after {
		display: none;
	}

	.qlbd-fir-indexus-inner {
		display: flex;
		flex-direction: column;
		gap: 18px;
	}

	.qlbd-fir-indexus-left {
		float: none;
		width: 100%;
		margin-right: 0;
	}

	.qlbd-fir-indexus-right {
		position: static;
		width: 100%;
		right: auto;
		top: auto;
		bottom: auto;
		min-height: 0;
	}

	/* 手机端：描述区限高 + 内部滚动，避免正文过长占满屏 */
	.qlbd-fir-indexus-text-scroll {
		flex: none;
		max-height: min(42vh, 280px);
		overflow-x: hidden;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		padding-right: 4px;
		margin-right: -4px;
		scrollbar-width: thin;
		scrollbar-color: color-mix(in srgb, var(--ql-color-text-body) 35%, transparent) transparent;
	}
}
