@charset "utf-8";

/* 中介机构专栏 */

body #qhee-header {
	position: relative;
	z-index: 1000;
}

.intermediary-page {
	background-color: #fff !important;
}

/* ---------- 简介横幅：对齐 listed-banner ---------- */
.intermediary-banner {
	position: relative;
	z-index: 0;
	color: #333;
	isolation: isolate;
	padding-top: 20px;
}

.intermediary-banner .intermediary-banner-inner.res-container {
	position: relative;
	max-width: 1100px;
	width: 100% !important;
	margin-left: auto !important;
	margin-right: auto !important;
	min-height: 300px;
	display: flex;
	flex-direction: row;
	justify-content: flex-start;
	align-items: center;
	padding-top: 28px;
	padding-bottom: 28px;
	padding-left: calc(10px + 128px);
	padding-right: 24px;
	box-sizing: border-box;
	background: url(../../image/chain/service/listed-banner.png) no-repeat center center;
	background-size: cover;
	border-radius: 8px;
	overflow: hidden;
}

.intermediary-banner-panel {
	box-sizing: border-box;
	width: 100%;
	max-width: 720px;
	flex-shrink: 0;
	padding: 22px 28px;
	background: rgba(255, 255, 255, 0.88);
	border-radius: 12px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.intermediary-banner-tit {
	margin: 0 0 14px;
	font-size: 28px;
	font-weight: bold;
	color: #222;
	line-height: 1.3;
}

.intermediary-banner-desc {
	margin: 0;
	font-size: 14px;
	line-height: 1.85;
	color: #444;
}

.intermediary-banner-desc p {
	margin: 0 0 10px;
}

.intermediary-conditions {
	margin: 0 0 4px 0;
	padding: 0;
	list-style: none;
}

.intermediary-conditions li {
	margin-bottom: 4px;
	padding-left: 0;
}

.intermediary-banner-cta {
	display: inline-block;
	margin-top: 18px;
	padding: 11px 28px;
	border-radius: 6px;
	background: linear-gradient(180deg, #d4a84b 0%, #9a6f2a 100%);
	color: #fff !important;
	font-size: 15px;
	text-decoration: none !important;
	cursor: pointer;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.intermediary-banner-cta:hover {
	opacity: 0.95;
}

.intermediary-page-inner {
	padding: 20px 0 60px;
	min-height: 320px;
}

.intermediary-section {
	margin-top: 20px;
	padding: 20px 24px 24px;
	margin-bottom: 24px;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
	box-sizing: border-box;
}

.intermediary-header {
	margin-bottom: 18px;
	padding-bottom: 12px;
	border-left: 4px solid #ba0001;
	padding-left: 16px;
}

.intermediary-title {
	font-size: 22px;
	font-weight: 700;
	color: #ba0001;
	margin: 0;
	line-height: 1.3;
}

@media (max-width: 767px) {
	.intermediary-banner .intermediary-banner-inner.res-container {
		min-height: 240px;
		padding-top: 16px;
		padding-bottom: 16px;
		padding-left: 2.5%;
		padding-right: 2.5%;
		border-radius: 4px;
	}
	.intermediary-banner-panel {
		max-width: none;
		padding: 18px 16px;
	}
	.intermediary-banner-tit {
		font-size: 22px;
	}
}

.intermediary-materials {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin: 0;
	align-items: stretch;
}

/* 对齐信息展示「条件」区块：底图 + 半透明深色卡片 */
.intermediary-materials-section {
	background: url(../../image/chain/service/listed-rule.jpg) no-repeat center center #e3e3e3;
	background-size: cover;
	box-shadow: none;
}

.intermediary-materials-section .intermediary-header {
	border-left-color: #ba0001;
}

.intermediary-materials-section .intermediary-title {
	color: #222;
}

.material-col {
	flex: 1 1 280px;
	min-width: 260px;
	box-sizing: border-box;
	padding: 24px 20px 28px;
	background: #949494;
	background: rgba(67, 67, 67, 0.51);
	border: none;
	border-radius: 0;
	color: #fff;
	min-height: 320px;
	display: flex;
	flex-direction: column;
}

.material-col h3 {
	margin: 0 0 18px;
	padding-bottom: 16px;
	border-bottom: 1px solid #b2b0b0;
	font-size: 16px;
	font-weight: 700;
	color: #fff;
	text-align: center;
}

.material-col h3 span {
	display: inline-block;
	padding: 0 12px;
	line-height: 36px;
	font-size: 15px;
	font-weight: bold;
	color: #fff;
	background: #ba0001;
	text-align: center;
}

.material-col-1 h3 span {
	background: #04b3ad;
}

.material-col-2 h3 span {
	background: #ba0001;
}

.material-col-3 h3 span {
	background: #cd3911;
}

.material-col ol {
	margin: 0;
	padding-left: 0;
	font-size: 13px;
	line-height: 1.8;
	color: #fff;
	list-style: none !important;
	counter-reset: material-item;
}

.material-col li {
	position: relative;
	margin-bottom: 10px;
	padding-left: 1.6em;
	list-style: none !important;
	counter-increment: material-item;
}

.material-col li::before {
	content: counter(material-item) ". ";
	position: absolute;
	left: 0;
	top: 0;
	color: #fff;
	font-weight: 600;
}

.material-download {
	margin-top: auto;
	padding-top: 14px;
	border-top: 1px solid rgba(178, 176, 176, 0.6);
	text-align: center;
}

.material-download a {
	display: inline-block;
	padding: 8px 16px;
	border-radius: 4px;
	background: rgba(255, 255, 255, 0.18);
	border: 1px solid rgba(255, 255, 255, 0.55);
	color: #fff !important;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none !important;
}

.material-download a:hover {
	background: rgba(255, 255, 255, 0.28);
}

.intermediary-filter {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 16px;
	margin-bottom: 16px;
	padding: 14px 16px;
	background: #fafafa;
	border: 1px solid #f0f0f0;
	border-radius: 8px;
	box-sizing: border-box;
}

.intermediary-filter .filter-item {
	display: flex;
	align-items: center;
	gap: 8px;
}

.intermediary-filter label {
	font-size: 14px;
	color: #666;
	white-space: nowrap;
}

.intermediary-filter .filter-input,
.intermediary-filter .filter-select {
	height: 34px;
	padding: 0 10px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 14px;
	color: #333;
	outline: none;
	background: #fff;
	box-sizing: border-box;
	min-width: 150px;
}

.intermediary-filter .filter-input:focus,
.intermediary-filter .filter-select:focus {
	border-color: #ba0001;
	box-shadow: 0 0 0 2px rgba(186, 0, 1, 0.1);
}

.intermediary-filter .filter-actions {
	display: flex;
	gap: 8px;
	margin-left: auto;
}

.intermediary-filter .filter-btn {
	height: 34px;
	padding: 0 16px;
	border: 1px solid #ddd;
	border-radius: 4px;
	background: #fff;
	color: #333;
	font-size: 14px;
	cursor: pointer;
}

.intermediary-filter .filter-btn-primary {
	background: #ba0001;
	border-color: #ba0001;
	color: #fff;
}

.intermediary-filter .filter-btn:hover {
	opacity: 0.9;
}

.intermediary-table-box {
	margin-bottom: 8px;
	border-radius: 6px;
	border: 1px solid #f0f0f0;
	overflow: hidden;
	background: #fff;
}

.intermediary-scroll-viewport.is-page-mode {
	height: auto !important;
	max-height: none;
	overflow: visible;
}

.intermediary-pager {
	text-align: center;
	padding: 14px 0 4px;
	font-size: 14px;
	color: #666;
}

.intermediary-pager .page-btn {
	display: inline-block;
	margin: 0 10px;
	color: #ba0001;
	text-decoration: none;
}

.intermediary-pager .page-btn:hover {
	text-decoration: underline;
}

.intermediary-pager .page-info {
	display: inline-block;
	margin: 0 8px;
}

/* 表头与内容共用同一套列宽，三列等分铺满 */
.intermediary-grid {
	display: grid;
	grid-template-columns: 0.6fr 1fr 1.4fr 2fr;
	width: 100%;
	box-sizing: border-box;
	align-items: center;
}

.intermediary-grid .cell {
	box-sizing: border-box;
	padding: 0 15px;
	text-align: left !important;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: 14px;
}

.intermediary-grid-head {
	height: 44px;
	background-color: #fafafa;
	border-bottom: 1px solid #eee;
}

.intermediary-grid-head .cell {
	font-weight: 600;
	color: #333;
	line-height: 44px;
}

.intermediary-grid-row {
	height: 46px;
	border-bottom: 1px solid #f5f5f5;
}

.intermediary-grid-row .cell {
	color: #444;
	line-height: 46px;
}

.intermediary-grid-row:hover {
	background: #fff8f8;
}

.intermediary-scroll-viewport {
	overflow: hidden;
	position: relative;
}

.intermediary-scroll-track {
	will-change: transform;
}

.intermediary-empty {
	text-align: center;
	color: #999;
	padding: 28px 15px;
	font-size: 14px;
}

@media (max-width: 768px) {
	.intermediary-section {
		padding: 16px;
	}
	.intermediary-title {
		font-size: 18px;
	}
	.material-col {
		flex: 1 1 100%;
	}
}
