:root {
	/* 基础字体大小 - 移动端常用16px */
	font-size: 16px;
}

* {
	padding: 0;
	margin: 0;
	box-sizing: border-box;
}

body {
	background-color: #fff;
	padding-top: 2.75rem; /* 44px */
	font-size: 1rem; /* 16px */
	line-height: 1.5;
}

/* 顶部固定导航栏 */
.mui-bar-nav1 {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 2.75rem; /* 44px */
	background-color: #fff;
	border-bottom: 1px solid #eee;
	z-index: 1000;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0 1rem; /* 16px */
}

/* LOGO样式 */
.logo-container {
	display: flex;
	align-items: center;
	height: 100%;
}
/* 页面内容区域 */
.content {
	padding: 1rem;
	min-height: calc(100vh - 2.75rem);
}

.content-section {
	background-color: white;
}

.content-section h1 {
	color: #222;
	font-size: 1.7rem;
	line-height: 2.5rem;
	text-align: center;
}

.content-section h2 {
	color: #222;
	font-size: 1.3rem;
	line-height: 2rem;
	text-align: center;
}

.content-section p {
	font-size: 0.9rem;
	line-height: 1.7;
	color: #222;
}





.logo {
	color: white;
	font-si/* 页面内容区域 */
.content {
	padding: 1rem;
	min-height: calc(100vh - 2.75rem);
}

.content-section {
	background-color: white;
}

.content-section h1 {
	color: #222;
	font-size: 1.7rem;
	line-height: 2.5rem;
	text-align: center;
}

.content-section h2 {
	color: #222;
	font-size: 1.3rem;
	line-height: 2rem;
	text-align: center;
}

.content-section p {
	font-size: 0.9rem;
	line-height: 1.7;
	color: #222;
}ze: 1.25rem; /* 20px */
	font-weight: bold;
	text-decoration: none;
	height: 2.75rem;
	line-height: 2.75rem;
	display: flex;
	align-items: center;
}

.logoimg {
	width: 9.60rem;
	height: 2.75rem;
}

.logo-icon {
	font-size: 1.5rem; /* 24px */
	margin-right: 0.5rem; /* 8px */
}

.logo-text {
	font-size: 1.25rem;
}

/* 菜单按钮样式*/
.menu-btn-right {
	color: #222;
	font-size: 1.5rem;
	line-height: 2.75rem;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
}

.menu-btn-right:active {
	background-color: rgba(255,255,255,0.1);
	border-radius: 50%;
}

/* 侧边菜单栏 */
.side-menu {
	position: fixed;
	top: 0;
	right: -12rem; /* -250px */
	width: 12rem; /* 250px */
	height: 100%;
	background-color: white;
	z-index: 1001;
	transition: right 0.3s ease;
	overflow-y: auto;
}

.side-menu.active {
	right: 0;
}

/* 菜单遮罩层 */
.menu-mask {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0.5);
	z-index: 1000;
	display: none;
}

.menu-mask.active {
	display: block;
}

/* 菜单头部 */
.menu-header {
	background-color: #ce0000;
	color: white;
	padding: 0.5rem 0.5rem;
	font-size: 1rem;
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
}

.menu-header-icon {
	font-size: 1.5rem;
	margin-right: 0.75rem; /* 12px */
}

/* 主菜单项 */
.menu-item {
	border-bottom: 2px solid #eee; /* 4px */
}

.menu-item > a {
	display: block;
	padding: 1rem;
	color: #333;
	text-decoration: none;
	font-size: 1rem;
	position: relative;
}

.menu-item > a:active {
	background-color: #f5f5f5;
}

/* CSS三角形展开按钮 */
.submenu-toggle {
	display: inline-block;
	width: 0;
	height: 0;
	border-left: 0.3rem solid transparent; /* 8px */
	border-right: 0.3rem solid transparent;
	border-top: 0.3rem solid #666;
	margin-left: auto;
	transition: transform 0.3s ease;
	position: absolute;
	right: 1rem;
	top: 50%;
	transform: translateY(-50%);
}

/* 二级菜单展开时三角形旋转 */
.menu-item.has-submenu.open .submenu-toggle {
	transform: translateY(-50%) rotate(180deg);
}

/* 二级菜单 */
.submenu {
	display: none;
	background-color: #f9f9f9;
}

.submenu.active {
	display: block;
}

.submenu-item {
	border-top: 1px solid #eee;
}

.submenu-item a {
	display: block;
	padding: 0.75rem 1rem 0.75rem 2rem;
	color: #666;
	text-decoration: none;
	font-size: 0.95rem; /* 12px */
}

.submenu-item a:active {
	background-color: #f0f0f0;
}

/* 二级菜单项前的图标 */
/* .submenu-item a:before {
	content: "›";
	position: absolute;
	left: 0.75rem;
	color: #ce0000;
} */

/* 页面内容区域 */
.content {
	padding: 1rem;
	min-height: calc(100vh - 2.75rem);
}

.content-section {
	background-color: white;
}

.content-section h1 {
	color: #222;
	font-size: 1.7rem;
	line-height: 2.5rem;
	text-align: center;
}

.content-section h2 {
	color: #222;
	font-size: 1.3rem;
	line-height: 2rem;
	text-align: center;
}

.content-section p {
	font-size: 1rem;
	line-height: 1.7;
	color: #222;
	text-align: center;
}


/* 页面内容区域 */
.content2 {
	padding: 1.5rem;
	min-height: calc(100vh - 2.75rem);
}

.content-section2 {
	background-color: white;
}

.content-section2 h1 {
	color: #222;
	font-size: 1.7rem;
	line-height: 2.5rem;
	text-align: left;
}

.content-section2 h2 {
	color: #222;
	font-size: 1.3rem;
	line-height: 2rem;
	text-align: left;
}

.content-section2 p {
	font-size: 1rem;
	line-height: 1.7;
	color: #222;
}


.jianju10 {
	width: 100%;
	height: 0.5rem;
}

.jianju30 {
	width: 100%;
	height: 1.5rem;
}

.jianju60 {
	width: 100%;
	height: 3rem;
}

.jianju100 {
	width: 100%;
	height: 5rem;
}

.xian {
	width: 100%;
	height: 1rem;
	border-bottom: 1px solid #eee;
}

.xian2 {
	width: 3rem;
	height: 0.25rem;
	background-color: #ce0000;
	border-radius: 10rem;
}	
	

/* 菜单项图标 */
.menu-icon {
	margin-right: 0.75rem;
	font-size: 1.25rem;
	width: 1.5rem;
	text-align: center;
}

/* 响应式调整 - 根据屏幕大小调整根字体大小 */
@media (max-width: 360px) {
	:root {
		font-size: 15px;
	}
}

@media (max-width: 320px) {
	:root {
		font-size: 14px;
	}
	
	.side-menu {
		width: 6.25rem; /* 100px */
		right: -6.25rem;
	}
	
	.side-menu.active {
		right: 0;
	}
	
	/* 小屏幕下三角形缩小 */
	.submenu-toggle {
		border-left-width: 0.25rem;
		border-right-width: 0.25rem;
		border-top-width: 0.25rem;
	}
}

@media (min-width: 768px) {
	:root {
		font-size: 18px;
	}
}

/* 菜单项悬停效果（用于非触摸设备） */
@media (hover: hover) and (pointer: fine) {
	.menu-item > a:hover {
		background-color: #f5f5f5;
	}
	
	.menu-item > a:hover .submenu-toggle {
		border-top-color: #ce0000;
	}
	
	.submenu-item a:hover {
		background-color: #f0f0f0;
		color: #ce0000;
	}
	
	.menu-btn-right:hover {
		background-color: rgba(255,255,255,0.1);
		border-radius: 50%;
	}
}

/* 列表样式 */
ul, ol {
	padding-left: 2rem;
	margin-bottom: 0.75rem;
}

li {
	margin-bottom: 0.25rem;
	font-size: 0.75rem;
}

li:before {
	content: "▸";
	color: #ce0000;
	position: absolute;
	left: -1.25rem;
}

/* 示例布局展示 */
.layout-demo {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0.75rem;
	background: #f0f8ff;
	border-radius: 0.5rem;
	margin: 0.75rem 0;
	font-size: 0.75rem;
}

.layout-demo-left {
	display: flex;
	align-items: center;
}

.layout-demo-icon {
	font-size: 1.25rem;
	margin-right: 0.5rem;
}

.layout-demo-btn {
	font-size: 1.25rem;
}

/* 辅助类 */
.mb-05 {
	margin-bottom: 0.5rem;
}

.mb-1 {
	margin-bottom: 1rem;
}

.mt-1 {
	margin-top: 1rem;
}

.text-center {
	text-align: center;
}

.text-muted {
	color: #666;
}

.badge {
	display: inline-block;
	padding: 0.25rem 0.5rem;
	background-color: #ce0000;
	color: white;
	border-radius: 0.5rem;
	font-size: 0.5rem;
	margin-left: 0.5rem;
}

/* 三角形示例展示 */
.triangle-demo {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin: 1rem 0;
	padding: 1rem;
	background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
	border-radius: 0.5rem;
}

.triangle-container {
	display: flex;
	justify-content: space-around;
	width: 100%;
	margin: 1rem 0;
}

.triangle-example {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.triangle {
	display: inline-block;
	width: 0;
	height: 0;
	margin-bottom: 0.5rem;
}

.triangle-down {
	border-left: 0.75rem solid transparent;
	border-right: 0.75rem solid transparent;
	border-top: 0.75rem solid #ce0000;
}

.triangle-up {
	border-left: 0.75rem solid transparent;
	border-right: 0.75rem solid transparent;
	border-bottom: 0.75rem solid #ce0000;
}

.triangle-left {
	border-top: 0.75rem solid transparent;
	border-bottom: 0.75rem solid transparent;
	border-right: 0.75rem solid #ce0000;
}

.triangle-right {
	border-top: 0.75rem solid transparent;
	border-bottom: 0.75rem solid transparent;
	border-left: 0.75rem solid #ce0000;
}

.triangle-label {
	font-size: 0.5rem;
	color: #666;
	text-align: center;
}





/* 页脚样式 */
.footer {
	background-color: #222;
	color: white;
	padding: 60px 0 30px;
	margin-top: 60px;
}

.footer-content {
	max-width: 1250px;
	margin: 0 auto;
	padding: 0 20px;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 40px;
}

.footer-section {
	flex: 1;
	min-width: 250px;
}

.footer-title {
	font-size: 20px;
	margin-bottom: 20px;
	color: #ce0000;
}

.footer-links {
	list-style: none;
}

.footer-links li {
	margin-bottom: 10px;
}


.footer-links a {
	color: #bbb;
	text-decoration: none;
	transition: color 0.3s;
}

.footer-links a:hover {
	color: #ce0000;
}

.footer-bottom {
	text-align: center;
	padding-top: 30px;
	margin-top: 40px;
	border-top: 1px solid #444;
	color: #888;
	font-size: 14px;
}
