@charset "utf-8";

/* 频道页通用：Banner + 面包屑 + 侧栏 + 列表 + 分页 */
.finance-channel-banner {
	position: relative;
	height: 220px;
	overflow: hidden;
	font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", sans-serif;
}

.finance-channel-banner__bg {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.55) 42%, rgba(255, 255, 255, 0.15) 100%),
		url("../images/anner.jpg") center / cover no-repeat;
	background-color: #dce8f5;
}

.finance-channel-banner__inner {
	position: relative;
	z-index: 1;
	max-width: 1200px;
	height: 100%;
	margin: 0 auto;
	padding: 0 70px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.finance-channel-banner__title {
	margin: 0 0 12px;
	font-size: 36px;
	font-weight: 700;
	line-height: 1.2;
	color: #1a4ba1;
	letter-spacing: 0.1em;
}

.finance-channel-banner__desc {
	margin: 0;
	font-size: 15px;
	color: #666;
	letter-spacing: 0.04em;
}

.finance-breadcrumb {
	background: #f3f5f8;
	font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", sans-serif;
}

.finance-breadcrumb__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 14px 70px;
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	color: #888;
}

.finance-breadcrumb__icon {
	flex-shrink: 0;
	color: #1a6fc4;
}

.finance-breadcrumb a {
	color: #666;
	text-decoration: none;
	transition: color 0.2s ease;
}

.finance-breadcrumb a:hover {
	color: #1a6fc4;
}

.finance-breadcrumb__sep {
	color: #ccc;
}

.finance-breadcrumb__current {
	color: #333;
}

.finance-channel {
	background: #f3f5f8;
	padding: 28px 0 64px;
	font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", sans-serif;
}

.finance-channel__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 70px;
	display: grid;
	grid-template-columns: 220px 1fr;
	gap: 24px;
	align-items: start;
}

.finance-channel__sidebar {
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 4px 20px rgba(0, 43, 94, 0.06);
	overflow: hidden;
}

.channel-side-nav {
	margin: 0;
	padding: 8px 0;
	list-style: none;
}

.channel-side-nav__item a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 16px 22px;
	font-size: 15px;
	color: #444;
	text-decoration: none;
	border-left: 3px solid transparent;
	transition: color 0.2s ease, background 0.2s ease;
}

.channel-side-nav__item a svg {
	flex-shrink: 0;
	color: #1a6fc4;
	opacity: 0.75;
}

.channel-side-nav__item a:hover {
	color: #1a6fc4;
	background: #f7f9fc;
}

.channel-side-nav__item.is-active a {
	color: #fff;
	background: #1a6fc4;
	border-left-color: #145a9e;
}

.channel-side-nav__item.is-active a svg {
	color: #fff;
	opacity: 1;
}

.finance-channel__main {
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 4px 20px rgba(0, 43, 94, 0.06);
	padding: 28px 32px 32px;
	min-height: 520px;
}

.channel-search {
	display: flex;
	align-items: center;
	gap: 0;
	margin-bottom: 8px;
	border: 1px solid #e4e8ee;
	border-radius: 8px;
	overflow: hidden;
	background: #fafbfc;
}

.channel-search__input {
	flex: 1 1 auto;
	min-width: 0;
	height: 44px;
	padding: 0 16px;
	border: 0;
	background: transparent;
	font-size: 14px;
	color: #333;
	outline: none;
}

.channel-search__input::placeholder {
	color: #bbb;
}

.channel-search__btn {
	flex: 0 0 auto;
	height: 44px;
	padding: 0 28px;
	border: 0;
	background: #1a6fc4;
	font-size: 14px;
	color: #fff;
	cursor: pointer;
	transition: background 0.2s ease;
}

.channel-search__btn:hover {
	background: #155fa8;
}

.channel-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.channel-list li {
	border-bottom: 1px dashed #e8ebf0;
}

.channel-list li:last-child {
	border-bottom: 0;
}

.channel-list a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 16px 0;
	color: inherit;
	text-decoration: none;
	transition: color 0.2s ease;
}

.channel-list a:hover .channel-list__text {
	color: #1a6fc4;
}

.channel-list__dot {
	flex: 0 0 0;
	width: 0;
	height: 0;
	border-top: 5px solid transparent;
	border-bottom: 5px solid transparent;
	border-left: 7px solid #1a6fc4;
}

.channel-list__text {
	flex: 1 1 auto;
	min-width: 0;
	font-size: 14px;
	line-height: 1.5;
	color: #333;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.channel-list__date {
	flex: 0 0 auto;
	font-size: 13px;
	color: #999;
	white-space: nowrap;
}

.channel-pagination {
	margin-top: 28px;
	padding-top: 20px;
	border-top: 1px solid #eef1f5;
	font-size: 13px;
	color: #666;
	text-align: right;
}

/* CMS 标签模板内 ${page.html} 外包 .channel-pagination 即可套用以下样式 */
.channel-pagination table {
	width: 100%;
	border: 0;
	border-collapse: collapse;
}

.channel-pagination tr,
.channel-pagination td,
.channel-pagination th {
	border: 0;
	padding: 4px 6px;
	vertical-align: middle;
	text-align: right;
	background: transparent;
}

.channel-pagination > div,
.channel-pagination .page,
.channel-pagination .pages,
.channel-pagination .pagelist,
.channel-pagination .pagebox {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex-wrap: wrap;
	gap: 8px 10px;
}

.channel-pagination span,
.channel-pagination font,
.channel-pagination em,
.channel-pagination i,
.channel-pagination label {
	font-style: normal;
	font-size: 13px;
	color: #888;
}

.channel-pagination a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 32px;
	height: 32px;
	padding: 0 10px;
	border: 1px solid #e4e8ee;
	border-radius: 4px;
	background: #fff;
	color: #666;
	text-decoration: none;
	transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.channel-pagination a:hover {
	border-color: #1a6fc4;
	color: #1a6fc4;
}

.channel-pagination .current,
.channel-pagination .active,
.channel-pagination .on,
.channel-pagination .selected,
.channel-pagination a.current,
.channel-pagination a.active,
.channel-pagination a.on,
.channel-pagination span.current,
.channel-pagination span.active,
.channel-pagination font.current,
.channel-pagination strong.current {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 32px;
	height: 32px;
	padding: 0 10px;
	border: 1px solid #1a6fc4;
	border-radius: 4px;
	background: #1a6fc4;
	color: #fff !important;
	font-weight: 400;
}

.channel-pagination select,
.channel-pagination input[type="text"],
.channel-pagination input[type="number"] {
	height: 32px;
	padding: 0 8px;
	border: 1px solid #e4e8ee;
	border-radius: 4px;
	background: #fff;
	font-size: 13px;
	color: #666;
	outline: none;
	vertical-align: middle;
}

.channel-pagination select:focus,
.channel-pagination input:focus {
	border-color: #1a6fc4;
}

.channel-pagination button,
.channel-pagination input[type="submit"],
.channel-pagination input[type="button"] {
	height: 32px;
	padding: 0 12px;
	border: 1px solid #1a6fc4;
	border-radius: 4px;
	background: #1a6fc4;
	font-size: 13px;
	color: #fff;
	cursor: pointer;
}

.channel-pagination__total {
	margin-right: auto;
	color: #888;
}

.channel-pagination__pages {
	display: flex;
	align-items: center;
	gap: 6px;
}

.channel-pagination__prev,
.channel-pagination__next,
.channel-pagination__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 32px;
	height: 32px;
	padding: 0 8px;
	border: 1px solid #e4e8ee;
	border-radius: 4px;
	background: #fff;
	color: #666;
	text-decoration: none;
	transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.channel-pagination__num.is-active {
	background: #1a6fc4;
	border-color: #1a6fc4;
	color: #fff;
}

.channel-pagination__prev:hover,
.channel-pagination__next:hover,
.channel-pagination__num:hover:not(.is-active) {
	border-color: #1a6fc4;
	color: #1a6fc4;
}

.channel-pagination__prev.is-disabled {
	color: #ccc;
	border-color: #eee;
	pointer-events: none;
}

.channel-pagination__size select {
	height: 32px;
	padding: 0 8px;
	border: 1px solid #e4e8ee;
	border-radius: 4px;
	background: #fff;
	font-size: 13px;
	color: #666;
	outline: none;
	cursor: pointer;
}

.channel-pagination__jump {
	display: flex;
	align-items: center;
	gap: 6px;
}

.channel-pagination__jump input {
	width: 44px;
	height: 32px;
	padding: 0 6px;
	border: 1px solid #e4e8ee;
	border-radius: 4px;
	font-size: 13px;
	text-align: center;
	outline: none;
}

.channel-pagination__jump input:focus {
	border-color: #1a6fc4;
}

@media (max-width: 1100px) {
	.finance-channel-banner__inner,
	.finance-breadcrumb__inner,
	.finance-channel__inner {
		padding-left: 20px;
		padding-right: 20px;
	}

	.finance-channel__inner {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 768px) {
	.finance-channel-banner {
		height: 180px;
	}

	.finance-channel-banner__title {
		font-size: 28px;
	}

	.finance-channel-banner__desc {
		font-size: 13px;
	}

	.finance-channel__main {
		padding: 20px 18px 24px;
	}

	.channel-list__text {
		white-space: normal;
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
	}

	.channel-pagination {
		justify-content: center;
	}

	.channel-pagination__total {
		flex: 1 1 100%;
		text-align: center;
		margin-right: 0;
	}
}
