.hot-tools {
	background: #ffffff;
	border-radius: 8px;
	padding: 28px 30px 20px;
	margin: 20px 0 24px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}
.hot-tools .section-title {
	font-size: 20px;
	font-weight: 700;
	color: #1e1e2a;
	margin-bottom: 16px;
	display: flex;
	align-items: center;
	gap: 10px;
}
.hot-tools .section-title .badge {
	font-size: 12px;
	background: #0066ff;
	color: #fff;
	padding: 0 10px;
	border-radius: 12px;
	line-height: 22px;
	font-weight: 500;
}
.hot-tools-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 12px;
}
.hot-tool-item {
	display: flex;
	align-items: center;
	gap: 14px;
	background: #f7f9fa;
	border-radius: 8px;
	padding: 12px 18px;
	border: 1px solid transparent;
	transition: background 0.2s, border-color 0.2s, transform 0.1s;
	cursor: pointer;
}
.hot-tool-item:hover {
	background: #eef3ff;
	border-color: #d6e4ff;
	transform: translateY(-2px);
}
.hot-tool-item .icon {
	font-size: 28px;
	line-height: 1;
	flex-shrink: 0;
	width: 40px;
	text-align: center;
}
.hot-tool-item .tool-info {
	flex: 1;
	min-width: 0;
}
.hot-tool-item .tool-name {
	font-size: 15px;
	font-weight: 600;
	color: #1e1e2a;
}
.hot-tool-item .tool-name a {
	color: #1e1e2a;
}
.hot-tool-item .tool-name a:hover {
	color: #0066ff;
}
.hot-tool-item .tool-desc {
	font-size: 13px;
	color: #8c8fa3;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	margin-top: 1px;
}

/* ===== 两栏布局（文章列表 + 侧边推荐） ===== */
.content-wrap {
	display: flex;
	gap: 28px;
	margin-bottom: 40px;
	align-items: flex-start;
}

/* 左栏：文章列表 */
.main-list {
	flex: 2;
	min-width: 0;
}
.main-list .section-header {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	margin-bottom: 16px;
	padding-bottom: 8px;
	border-bottom: 2px solid #e8ecf0;
}
.main-list .section-title {
	font-size: 20px;
	font-weight: 700;
	color: #1e1e2a;
}
.main-list .section-title .badge {
	font-size: 13px;
	font-weight: 400;
	color: #8c8fa3;
	margin-left: 8px;
}
.main-list .more-link {
	font-size: 14px;
	color: #8c8fa3;
}
.main-list .more-link:hover {
	color: #0066ff;
}

/* 文章卡片 - 左图右文 */
.post-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.post-item {
	background: #ffffff;
	border-radius: 6px;
	padding: 14px 18px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
	border-bottom: 1px solid #f0f2f5;
	transition: background 0.15s;
	display: flex;
	gap: 16px;
	align-items: flex-start;
}
.post-item:hover {
	background: #fafcff;
}
.post-item .post-image {
	flex-shrink: 0;
	width: 120px;
	height: 80px;
	border-radius: 4px;
	overflow: hidden;
	background: #e8ecf0;
}
.post-item .post-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.post-item .post-content {
	flex: 1;
	min-width: 0;
}
.post-item .post-title {
	font-size: 16px;
	font-weight: 600;
	line-height: 1.5;
	margin-bottom: 2px;
}
.post-item .post-title a {
	color: #1e1e2a;
}
.post-item .post-title a:hover {
	color: #0066ff;
}
.post-item .post-meta {
	font-size: 13px;
	color: #8c8fa3;
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	margin-top: 4px;
}
.post-item .post-meta .tag {
	background: #eef3ff;
	color: #0066ff;
	padding: 0 10px;
	border-radius: 12px;
	font-size: 12px;
	line-height: 20px;
}
.post-item .post-excerpt {
	font-size: 14px;
	color: #5a5e72;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	line-height: 1.5;
}

/* 右栏：推荐 */
.sidebar {
	flex: 1;
	min-width: 240px;
	max-width: 340px;
}
.sidebar .side-block {
	background: #ffffff;
	border-radius: 8px;
	padding: 20px 22px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
	margin-bottom: 20px;
}
.sidebar .side-block .block-title {
	font-size: 16px;
	font-weight: 700;
	color: #1e1e2a;
	padding-bottom: 10px;
	border-bottom: 2px solid #e8ecf0;
	margin-bottom: 14px;
}
.sidebar .side-block .block-title .badge {
	font-size: 12px;
	background: #ff6b4a;
	color: #fff;
	padding: 0 10px;
	border-radius: 12px;
	line-height: 20px;
	font-weight: 500;
	margin-left: 8px;
}
.sidebar .side-block .side-ai{
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}
.sidebar .side-block .side-ai a{
    background:#eef3ff;
    padding:4px 14px;
    border-radius:16px;
    font-size:13px;
    color:#0066ff;
}
.sidebar .side-block .side-ai a:hover{
    background:#0066ff;
    color:#fff;
}

.side-recommend-item {
	padding: 10px 0;
	border-bottom: 1px solid #f0f2f5;
}
.side-recommend-item:last-child {
	border-bottom: none;
}
.side-recommend-item .item-title {
	font-size: 14px;
	font-weight: 500;
	line-height: 1.4;
}
.side-recommend-item .item-title a {
	color: #1e1e2a;
}
.side-recommend-item .item-title a:hover {
	color: #0066ff;
}
.side-recommend-item .item-meta {
	font-size: 12px;
	color: #8c8fa3;
	margin-top: 2px;
}
.side-recommend-item .item-rank {
	display: inline-block;
	background: #0066ff;
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	width: 20px;
	height: 20px;
	line-height: 20px;
	text-align: center;
	border-radius: 4px;
	margin-right: 8px;
}
.side-recommend-item .item-rank.rank-2 {
	background: #ff8c42;
}
.side-recommend-item .item-rank.rank-3 {
	background: #ffb347;
}

/* ===== 响应式 ===== */
@media (max-width: 820px) {
	.content-wrap {
		flex-direction: column;
	}
	.sidebar {
		max-width: 100%;
		width: 100%;
	}
	.hot-tools-grid {
		grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	}
}
@media (max-width: 600px) {
	.post-item {
		flex-direction: column;
		align-items: stretch;
	}
	.post-item .post-image {
		width: 100%;
		height: 140px;
	}
	.hot-tools-grid {
		grid-template-columns: 1fr;
	}
}
@media (max-width: 480px) {
	.hot-tools {
		padding: 18px 16px;
	}
	.post-item {
		padding: 14px 16px;
	}
	.sidebar .side-block {
		padding: 16px;
	}
}