/* ============================================================
 * News banner + breadcrumb — FAQ-style fixed dimensions (PC/tablet/mobile).
 * Banner image: /wp-content/themes/blocksy-child/assets/leeline/picture/bg.jpg
 * ============================================================ */

/* ===== Desktop (default) — match FAQ hero height ===== */
.qng-fenbanner.fenbanner {
	position: relative;
	width: 100%;
	display: block;
	box-sizing: border-box;
	padding: 0;
	height: 400px;
	min-height: 400px;
	max-height: none;
	overflow: hidden;
	background: #0a2d5c;
	line-height: 0;
}

.qng-fenbanner.fenbanner > img,
.qng-fenbanner.fenbanner > .qng-fenbanner-img {
	position: absolute;
	z-index: 0;
	inset: 0;
	display: block;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	object-position: center center !important;
}

.qng-fenbanner.fenbanner::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(4, 37, 82, 0.45);
	z-index: 1;
	pointer-events: none;
}

.qng-fenbanner .banner-font,
.qng-fenbanner .qng-banner-overlay {
	position: absolute;
	inset: 0;
	z-index: 2;
}

.qng-fenbanner .banner-font {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	box-sizing: border-box;
	padding: 80px 20px 70px;
	line-height: normal;
}

.qng-fenbanner .banner-title {
	text-align: center;
	font-size: clamp(28px, 2.8vw, 42px);
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: 0;
	color: #ffffff;
	margin: 0 auto;
	max-width: 100%;
	word-wrap: break-word;
	overflow-wrap: anywhere;
}

.qng-fenbanner .mianbao {
	font-size: 16px;
	font-weight: 400;
	line-height: 1.6;
	letter-spacing: 0;
	color: #ffffff;
	padding-top: 16px;
	width: 100%;
	text-align: center;
	word-wrap: break-word;
}

.qng-fenbanner .mianbao a {
	color: #ffffff;
	text-decoration: none;
}

.qng-fenbanner .mianbao a:hover {
	color: #f4c909;
}

.qng-fenbanner .mianbao .comian {
	color: #f4c909 !important;
	cursor: default;
}

/* ===== Tablet: max-width 1024px ===== */
@media screen and (max-width: 1024px) {
	.qng-fenbanner.fenbanner {
		height: 320px;
		min-height: 320px;
	}
	.qng-fenbanner .banner-font {
		padding: 70px 18px 60px;
	}
	.qng-fenbanner .banner-title {
		font-size: clamp(24px, 3.4vw, 34px);
	}
	.qng-fenbanner .mianbao {
		font-size: 15px;
		padding-top: 14px;
	}
}

/* ===== Mobile: max-width 767px ===== */
@media screen and (max-width: 767px) {
	.qng-fenbanner.fenbanner {
		height: 260px;
		min-height: 260px;
	}
	.qng-fenbanner .banner-font {
		padding: 60px 16px 50px;
	}
	.qng-fenbanner .banner-title {
		font-size: clamp(20px, 4.6vw, 28px);
		line-height: 1.3;
	}
	.qng-fenbanner .mianbao {
		font-size: 14px;
		padding-top: 12px;
		line-height: 1.5;
	}
}

/* ===== Small mobile: max-width 480px ===== */
@media screen and (max-width: 480px) {
	.qng-fenbanner.fenbanner {
		height: 220px;
		min-height: 220px;
	}
	.qng-fenbanner .banner-font {
		padding: 50px 12px 40px;
	}
	.qng-fenbanner .banner-title {
		font-size: clamp(17px, 5.2vw, 22px);
		line-height: 1.35;
	}
	.qng-fenbanner .mianbao {
		font-size: 12px;
		padding-top: 10px;
	}
}

/* ===== Tiny mobile: max-width 360px ===== */
@media screen and (max-width: 360px) {
	.qng-fenbanner.fenbanner {
		height: 200px;
		min-height: 200px;
	}
	.qng-fenbanner .banner-font {
		padding: 44px 10px 36px;
	}
	.qng-fenbanner .banner-title {
		font-size: clamp(15px, 5.6vw, 20px);
	}
	.qng-fenbanner .mianbao {
		font-size: 11px;
	}
}
