.teacher-list-page {
	padding: 40px 20px;
	background: #f4f7fa;
	min-height: calc(100vh - 88px);
	box-sizing: border-box;
}

.teacher-list-in {
	max-width: 1280px;
	margin: 0 auto;
}

.teacher-list-title {
	font-size: 32px;
	color: #1f2937;
	text-align: center;
	margin: 0 0 32px;
	font-weight: 600;
}

.search-filter-wrap {
	margin: 0 auto 40px;
}

.teacher-search-form {
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
	align-items: center;
}

.search-input {
	flex: 1;
	min-width: 240px;
	height: 44px;
	padding: 0 16px;
	border: 1px solid #d1d5db;
	border-radius: 8px;
	font-size: 15px;
	background: #fff;
	box-sizing: border-box;
}

.search-input:focus {
	outline: none;
	border-color: #2563eb;
}

.search-btn {
	height: 44px;
	padding: 0 24px;
	background: #2563eb;
	color: #fff;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	font-size: 15px;
}

.search-btn:hover {
	background: #1d4ed8;
}

.teacher-wrap {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}

.empty-tip {
	grid-column: 1 / -1;
	text-align: center;
	padding: 60px 0;
	color: #888;
	font-size: 16px;
}

.teacher-card {
	display: block;
	background: #ffffff;
	border-radius: 16px;
	padding: 24px;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
	transition: 0.25s ease;
	text-decoration: none;
	color: inherit;
	box-sizing: border-box;
}

.teacher-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.card-top {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 18px;
}

.avatar-box {
	width: 72px;
	height: 72px;
	flex-shrink: 0;
	border-radius: 50%;
	overflow: hidden;
	background: #e5e7eb;
}

.avatar-box img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.info-right {
	flex: 1;
	min-width: 0;
}

.teacher-name {
	font-size: 18px;
	font-weight: 600;
	color: #111827;
	margin-bottom: 4px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.teacher-job {
	font-size: 13px;
	color: #4b5563;
	margin-bottom: 6px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.fans {
	display: inline-block;
	font-size: 12px;
	color: #2563eb;
	background-color: #eff6ff;
	padding: 2px 8px;
	border-radius: 20px;
}

.desc {
	font-size: 14px;
	color: #6b7280;
	line-height: 1.6;
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
	word-break: break-word;
}

.teacher-list-page .page-box {
	margin-top: 32px;
	text-align: center;
}

@media (max-width: 1200px) {
	.teacher-wrap {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 900px) {
	.teacher-wrap {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 600px) {
	.teacher-wrap {
		grid-template-columns: 1fr;
	}

	.teacher-list-title {
		font-size: 24px;
	}
}
