/********************* 搜索列表页 *********************/
/* 搜索工具栏整体样式 */
.search-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 24px;
	margin: 20px auto;
	background: #ffffff;
}

/* 工具栏左侧区域 */
.search-toolbar .toolbar-row {
	display: flex;
	align-items: center;
	gap: 30px;
}

/* 工具栏分组 */
.search-toolbar .toolbar-group {
	display: flex;
	align-items: center;
	gap: 10px;
}

/* 标签文字 */
.search-toolbar .toolbar-label {
	font-size: 14px;
	color: #5a6c7d;
	font-weight: 500;
}

/* 下拉菜单容器 */
.search-toolbar .dropdown-wrap {
	position: relative;
}

/* 下拉触发器 */
.search-toolbar .dropdown-wrap .dropdown-trigger {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 6px 16px;
	background: #F0F7FF;
	border: 1px solid #e2e8f0;
	cursor: pointer;
	transition: all 0.3s ease;
	min-width: 100px;
	justify-content: center;
}

.search-toolbar .dropdown-wrap .dropdown-trigger:hover {
	color: #125DB2;
	background: #E0EFFF;
	border-color: #125DB2;
	box-shadow: 0 2px 8px rgba(59, 130, 246, 0.15);
}

.search-toolbar .dropdown-wrap .dropdown-trigger:active {
	transform: scale(0.98);
}

/* 下拉文本 */
.search-toolbar .dropdown-wrap .dropdown-text {
	font-size: 14px;
	color: #334155;
	font-weight: 500;
}

/* 下拉图标 */
.search-toolbar .dropdown-wrap .iconfont {
	font-size: 8px;
	line-height: 1;
	color: #94a3b8;
	transition: transform 0.3s ease;
}

.search-toolbar .dropdown-wrap.open .iconfont {
	transform: rotate(180deg);
}

/* 下拉列表 */
.search-toolbar .dropdown-wrap .dropdown-list {
	display: none;
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	min-width: 100%;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
	padding: 6px 0;
	z-index: 1000;
	list-style: none;
	margin: 0;
	overflow: hidden;
}

.search-toolbar .dropdown-wrap.open .dropdown-list {
	display: block;
	animation: dropdownFadeIn 0.2s ease;
}

@keyframes dropdownFadeIn {
	from {
		opacity: 0;
		transform: translateY(-10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* 下拉选项 */
.search-toolbar .dropdown-wrap .dropdown-item {
	padding: 8px 20px;
	font-size: 14px;
	color: #475569;
	cursor: pointer;
	transition: all 0.2s ease;
	white-space: nowrap;
}

.search-toolbar .dropdown-wrap .dropdown-item:hover {
	background: #F0F7FF;
	color: #125DB2;
}

.search-toolbar .dropdown-wrap .dropdown-item.active, .search-toolbar .dropdown-wrap .dropdown-item.active:hover {
	background: #125DB2;
	color: #fff;
}

/* 工具栏右侧信息 */
.search-toolbar .toolbar-info {
	display: flex;
	align-items: center;
}

.search-toolbar .toolbar-info {
	font-size: 14px;
	color: #64748b;
}

.search-toolbar .toolbar-info strong {
	color: #125db2;
	font-weight: 600;
	font-size: 16px;
	margin: 0 4px;
}

/*搜索内容*/
.search-content {
	display: flex;
	gap: 20px;
	margin-bottom: 20px;
}
.search-content .article-container {
	flex: 1;
	margin: 0;
}

/* 新闻列表样式优化 */
.article-list {
	list-style: none;
	padding: 0;
	margin: 0;
}
.article-list .item {
	flex-direction: column;
	gap: 0;
    padding: 15px 0;
	border-bottom: 1px dashed #d6d6d6;
}
.article-list .item:last-child {
	border-bottom: none;
}
.article-list .item:before {
	display: none;
}
.article-list .top {
    display: flex;
    align-items: center;
    gap: 4px;
}
.article-list .title {
    color: #125db2;
}
.article-list .title:hover {
	color: #125db2;
}

.article-list .desc {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
	font-size: 14px;
	color: #333;
	line-height: 1.7;
    margin: 10px 0;
	overflow: hidden;
}

.article-list .date {
	font-size: 13px;
	color: #999;
}
.article-list .bottom {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 13px;
    color: #888;
}
.article-list .line {
	height: 1px;
	background: #eee;
	margin: 15px 0;
}
.article-list .title em, .article-list .desc em {
    color: #bd1a2d;
}

/*侧边栏*/
/* 侧边栏容器 */
.sidebar-container {
	width: 280px;
	flex-shrink: 0;
}

/* 侧边栏模块 */
.sidebar-module {
	background: #ffffff;
	padding: 20px;
	margin-bottom: 20px;
}
.sidebar-module:last-child{
	margin-bottom: 0;
}

/* 模块标题 */
.sidebar-module .module-title {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 16px;
	font-weight: 600;
	color: #333;
	margin: 0 0 16px;
	padding-bottom: 12px;
	border-bottom: 2px solid #ff6b6b;
}

.sidebar-module .icon-hot,
.sidebar-module .icon-category {
	font-size: 18px;
}

/* 热搜词列表 */
.hot-search-list {
	padding-top: 15px;
}

.hot-search-list .hot-item {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 14px 0;
	color: #333;
	border-bottom: 1px dashed #eee;
	transition: all 0.2s ease;
}

.hot-search-list .hot-item:last-child {
	border-bottom: none;
}

.hot-search-list .hot-item:hover {
	padding-left: 5px;
}

/* 排名序号 */
.hot-search-list .rank {
	font-weight: 600;
	color: #FDC724;
}

/* 前三名特殊样式 */
.hot-search-list .hot-item:nth-child(1) .rank {
	color: #FF3333;
}

.hot-search-list .hot-item:nth-child(2) .rank {
	color: #FF6600;
}

.hot-search-list .hot-item:nth-child(3) .rank {
	color: #FAA90E;
}

/* 热门图标 */
.hot-search-list .icon-hot {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	font-size: 12px;
	line-height: 20px;
	color: #fff;
	flex-shrink: 0;
	background: #FF6600;
	border-radius: 4px;
	
}

/* 热搜词链接 */
.hot-search-list .hot-item a {
	flex: 1;
	font-size: 14px;
	color: #333;
	text-decoration: none;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	transition: color 0.2s ease;
}

.hot-search-list .hot-item:hover a {
	color: #ff6b6b;
}

/* 分类列表 */
.category-list {
	padding-top: 15px;
}

.category-list .category-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 0;
	border-bottom: 1px dashed #eee;
	transition: all 0.2s ease;
}

.category-list .category-item:last-child {
	border-bottom: none;
}

.category-list .category-item:hover {
	padding-left: 5px;
}

/* 分类链接 */
.category-list .category-item a {
	color: #333;
	text-decoration: none;
	transition: color 0.2s ease;
}

.category-list .category-item:hover a {
	color: #1890ff;
}

/* 数量标签 */
.category-list .category-item .count {
	font-size: 13px;
	color: #999;
	background: #f5f5f5;
	padding: 2px 8px;
	border-radius: 10px;
}

/* 小屏幕（手机横屏/小平板） */
@media (max-width: 991px) {
    body {
        padding-top: 145px;
    }
    /********************* 头部显示搜索框 *********************/
    .header .main-container {
        display: block;
    }
    .header .icon-wrap {
        display: none;
    }
    .header .search-wrap {
        display: block;
        margin-top: 10px;
    }
    .header .search-wrap .btn-accessible {
        display: none;
    }
    .header .search-wrap .search input {
        flex: 1;
        height: 44px;
        line-height: 42px;
    }
	/********************* 搜索列表页 *********************/

	.search-toolbar {
		flex-direction: column;
		align-items: flex-start;
		gap: 15px;
		padding: 16px;
	}

    .search-toolbar .toolbar-row {
		flex-wrap: wrap;
		gap: 12px;
	}
	
	.search-toolbar .dropdown-wrap .dropdown-trigger {
		min-width: 80px;
		padding: 7px 12px;
	}
	.search-content {
		padding: 0;
	}
	.article-list .item {
		padding: 15px;
		align-items: flex-start;
	}
    .article-list .tag {
        display: none;
    }
	.article-list .title {
		font-size: 16px;
        white-space: pre-wrap;
	}
	
	.sidebar-container {
		display: none;
	}
	
	.sidebar-module {
		padding: 15px;
	}
}
