@charset "UTF-8";
/* ==========================================================================
   曼象 · 分类信息平台 · 错误提示页样式（404 / 403 / 503）
   配合 views/huawei/errors/error404.html、error.html 使用
   ========================================================================== */

/* ---------- 404 主体 ---------- */
.mx404 {
	display: flex;
	align-items: flex-start;
	gap: 20px;
	margin: 8px 0 0;
}

.mx404_main {
	flex: 1;
	min-width: 0;
	display: flex;
	align-items: flex-start;
	background: #fff;
	border: 1px solid var(--mx-border);
	border-radius: var(--mx-radius);
	box-shadow: var(--mx-shadow);
	padding: 44px 46px 42px;
}

.mx404_code {
	flex-shrink: 0;
	width: 176px;
	font-size: 76px;
	line-height: 1;
	font-weight: 800;
	letter-spacing: -2px;
	color: var(--mx-primary);
	padding-top: 2px;
}

.mx404_info { flex: 1; min-width: 0; }

.mx404_info h1 {
	font-size: 26px;
	line-height: 1.35;
	font-weight: 700;
	color: #1d2b3a;
	margin-bottom: 12px;
}

.mx404_msg {
	font-size: 15px;
	color: var(--mx-sub);
	margin-bottom: 8px;
}

.mx404_tip {
	font-size: 13px;
	color: var(--mx-muted);
	line-height: 1.8;
	margin-bottom: 20px;
}

/* 站内搜索 */
.mx404_search {
	display: flex;
	width: 100%;
	max-width: 520px;
}

.mx404_input {
	flex: 1;
	min-width: 0;
	height: 44px;
	border: 2px solid var(--mx-primary);
	border-right: 0;
	border-radius: 22px 0 0 22px;
	padding: 0 18px;
	font-size: 14px;
	color: var(--mx-text);
	background: #fff;
}

.mx404_input::placeholder { color: #a7b0bb; }

.mx404_btn {
	height: 44px;
	padding: 0 26px;
	border: 0;
	border-radius: 0 22px 22px 0;
	background: var(--mx-primary);
	color: #fff;
	font-size: 15px;
	transition: background .15s ease;
}

.mx404_btn:hover { background: var(--mx-primary-2); }

/* 快捷入口 */
.mx404_links {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 22px;
}

.mx404_links a {
	height: 36px;
	line-height: 34px;
	padding: 0 18px;
	border: 1px solid var(--mx-border);
	border-radius: 18px;
	font-size: 14px;
	color: #445;
	background: #fafbfd;
	transition: all .15s ease;
}

.mx404_links a:hover {
	border-color: var(--mx-primary);
	color: var(--mx-primary);
	background: #fff;
}

.mx404_links a.mx404_primary {
	background: var(--mx-primary);
	border-color: var(--mx-primary);
	color: #fff;
}

.mx404_links a.mx404_primary:hover {
	background: var(--mx-primary-2);
	border-color: var(--mx-primary-2);
	color: #fff;
}

/* ---------- 404 侧栏 ---------- */
.mx404_side {
	width: 300px;
	flex-shrink: 0;
	background: #fff;
	border: 1px solid var(--mx-border);
	border-radius: var(--mx-radius);
	box-shadow: var(--mx-shadow);
	padding: 20px 22px 22px;
}

.mx404_side h3 {
	font-size: 16px;
	font-weight: 600;
	line-height: 1;
	color: #1d2b3a;
	padding-left: 10px;
	border-left: 4px solid var(--mx-primary);
	margin-bottom: 16px;
}

.mx404_side ul {
	display: flex;
	flex-wrap: wrap;
	margin: 0 -6px;
}

.mx404_side li {
	width: 50%;
	padding: 0 6px;
	margin-bottom: 12px;
}

.mx404_side li a {
	display: block;
	font-size: 14px;
	color: #55606c;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.mx404_side li a:hover { color: var(--mx-primary); }

.mx404_side_tip {
	margin-top: 6px;
	border-top: 1px dashed var(--mx-border);
	padding-top: 16px;
}

.mx404_side_tip strong {
	display: block;
	font-size: 14px;
	color: #1d2b3a;
	margin-bottom: 6px;
}

.mx404_side_tip p {
	font-size: 13px;
	color: var(--mx-muted);
	line-height: 1.7;
	margin-bottom: 14px;
}

.mx404_side_tip a {
	display: inline-block;
	height: 32px;
	line-height: 32px;
	padding: 0 16px;
	border-radius: 16px;
	background: linear-gradient(90deg, #d23b3b, #e2564f);
	color: #fff;
	font-size: 13px;
}

.mx404_side_tip a:hover {
	background: linear-gradient(90deg, #b52f2f, #d23b3b);
	color: #fff;
}
