@charset "UTF-8";

/*--头部--*/
.head {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 99;
	background: transparent;
	transition: background-color 0.3s ease, box-shadow 0.3s ease;
	/* background: var(--color-tma) !important;
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px); */
}

.head.scrolled {
	background: var(--color-tma) !important;
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
	transition: background 0.3s ease;
}

.head_content {
	width: 90%;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 55px;
}

.head_left img{
	height: 30px;
}

.head_right_menu{
	display: none;
}

/*--汉堡按钮 --*/
.hamburger {
	display: flex;
	flex-direction: column;
	gap: 4px;
	cursor: pointer;
	align-items: flex-end;
}

.hamburger span {
	width: 20px;
	height: 2px;
	background: var(--color-black);
	border-radius: 999px;
}

.hamburger span:nth-child(2) {
	width: 18px;
}

.hamburger span:nth-child(3) {
	width: 16px;
}

/* --- 侧滑菜单 --- */
.side-menu {
	position: fixed;
	top: 0;
	height: 100%;
	background: var(--color-white);
	box-sizing: border-box;
	z-index: 100;
	transition: transform .28s ease;
	line-height: 1;

	display: flex;
	flex-direction: column;
}

.side-menu.from-left {
	width: 85%;
	inset: 0 auto 0 0;
	left: 0;
	transform: translateX(-100%);
}

.side-menu.active {
	transform: translateX(0);
}

.overlay.active {
	display: block;
}

.menu_top {
	flex: 0 0 auto;
	font-size: var(--font-18size);
	color: var(--color-black);
	font-family: 'ntb';
}

.menu_top_left{
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	padding: 40px 5%;
	box-sizing: border-box;
}

.menu_top_right{
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	padding: 40px 20px 20px 20px;
	box-sizing: border-box;
}

.menu_middle {
	width: 100%;
	height: 100%;
	padding: 0 5%;
	box-sizing: border-box;
	overflow-y: auto; /* 允许竖向滚动 */
	overflow-x: hidden; /* 禁止横向滚动 */
	-webkit-overflow-scrolling: touch; /* iOS 惯性滚动 */
	flex: 1 1 auto;
}

.menu_ietm {
	display: block;
	border-bottom: 1px solid var(--color-eee);
	padding: 20px 0;
	color: var(--color-black);
}

.menu_ietm:last-child {
	border-bottom: none;
}

.menu_ietm span {
	margin-right: 10px;
	color: var(--color-blue);
}

.menu_bottom {
	width: 100%;
	padding: 0 5% 20px 5%;
	box-sizing: border-box;
	background: var(--color-white);
	flex: 0 0 auto;
	line-height: 1.8;
}

.menu_bottom p{
	margin-bottom: 10px;
}

.menu_bottom p span{
	display: block;
	color: var(--color-black);
	font-weight: bold;
}


.menu_bottom a{
	background: var(--color-blue);
	color: var(--color-white);
	display: inline-block;
	width: 100%;
	border-radius: 10px;
	align-items: center;
	height: 40px;
	line-height: 40px;
	text-align: center;
}

.menu_bottom a span{
	margin-right: 6px;
}

body.no-scroll {
	overflow: hidden;
	touch-action: none;
}

.overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: var(--color-htm);
	transition: background 0.3s ease;
	display: none;
	z-index: 99;
}

.overlay.active {
	display: block;
}

/*--- 视差样式 ---*/
.parallax-hero {
	position: relative;
	height: auto;
	overflow: clip;
	isolation: isolate;
}

.parallax-hero .parallax-layer {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: 80% center;
	background-repeat: no-repeat;
	will-change: transform;
	pointer-events: none;
	transform: translate3d(0, 0, 0)
}

/*--- 动效可访问性：用户偏好减少动态时降级 ---*/
@media (prefers-reduced-motion: reduce) {
	.parallax-layer {
		transform: none !important;
	}
}

/*banner*/
.banner{
	width: 100%;
	height: 55%;
	position: relative;
}

.banner_content{
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -30%); /* 水平 + 垂直偏移 */
	-webkit-transform: translate(-50%, -30%);
	z-index: 100;
	width: 90%;
	text-align: center;
	color: var(--color-black);
}

.banner_content p:nth-child(1){
	font-size: var(--font-20size);
	font-weight: bold;
	line-height: 2;
}

.banner_content a{
	margin-top: 20px;
	background: var(--color-blue);
	color: var(--color-white);
	display: inline-block;
	padding: 0 15px;
	border-radius: 10px;
	align-items: center;
	height: 40px;
	line-height: 40px;
}

.banner_content a span{
	margin-right: 6px;
}

/*---首页社区---*/
.index_item {
	width: 100%;
	padding: 40px 0 0 0;
}

.index_item_title {
	width: 90%;
	margin: 0 auto;
	line-height: 1;
	padding-bottom: 20px;
	font-size: var(--font-18size);
	color: var(--color-black);
	font-weight: bold;
}

.index_item_content {
	overflow-x: auto;
	overflow-y: visible;
	-webkit-overflow-scrolling: touch;
	scroll-snap-type: x mandatory;
	scrollbar-width: none; /* Firefox 隐藏滚动条 */
	padding-left: 5vw; /* 视觉留白 */
	scroll-padding-left: 5vw; /* 吸附基准同步偏移，首卡对齐到留白内边缘 */
}

.index_item_content::-webkit-scrollbar {
	display: none; /* WebKit 隐藏滚动条 */
}

.index_item_content_guidao {
	display: flex;
	gap: 0;
}

.index_item_content_guidao::after {
	content: "";
	flex: 0 0 5vw; /* 尾部固定 5% 留白 */
}

.index_item_content_ietm {
	flex: 0 0 calc(100% - 100px);            /* 每张卡 = 75% 屏幕宽 */
	max-width: calc(100% - 100px);
	scroll-snap-align: start;  /* 吸附到卡片起点 */
	scroll-snap-stop: always;  /* 一次滑动只停一个（现代浏览器支持）*/
	border: 1px solid var(--color-eee);
	/* background: var(--color-f5f5f5); */
	padding: 20px;
	box-sizing: border-box;
	border-radius: 10px;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
}
	
.index_item_content_ietm + .index_item_content_ietm{ margin-left: 5vw; } /* 仅相邻卡片之间有间距 */

.item_icon{
	font-size: var(--font-20size);
	display: inline-block;
	width: 45px;
	height: 45px;
	line-height: 45px;
	text-align: center;
	border-radius: 50%;
	color: var(--color-white);
}

.item_content{
	width: calc(100% - 65px);
}

.item_content_p1{
	font-weight: bold;
	margin-bottom: 5px;
}

.item_content_p2{
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	margin-bottom: 5px;
}

/*---底部---*/
.index_contact {
	width: 100%;
	padding: 40px 0;
	background: var(--color-f5f5f5);
	margin-top: 40px;
}

.index_contact_content {
	width: 90%;
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(2, 1fr); /* 每行两个 */
	gap: 20px; /* 行距 & 列距 */
	box-sizing: border-box;
}

.index_contact_content_item {
	display: flex;
	justify-content: flex-start;
	align-items: center;
}

.index_contact_content_item img{
	display: block;
	width: 30px;
	margin-right: 5px;
}


.index_contact_content_a {
	width: 90%;
	margin: 0 auto;
	border-top: 1px solid var(--color-e5e5e5);
	margin-top: 30px;
	padding-top: 30px;
}

.index_contact_content_a_left{
	display: flex;
	justify-content: flex-start;
	align-items: center;
	box-sizing: border-box;
}

.index_contact_content_item_a {
	width: 100px;
	margin-right: 30px;
	text-align: center;
}

.index_contact_content_item_a img{
	display: block;
	width: 100%;
	margin-bottom: 5px;
}


.index_contact_content_a_right{
	border-top: 1px solid var(--color-e5e5e5);
	margin: 20px 0 0 0;
	padding: 20px 0 0 0;
}

.index_contact_content_a_right p:nth-child(2){
	color: var(--color-black);
	font-weight: bold;
}

.index_contact_other {
	width: 90%;
	margin: 20px auto 0 auto;
	padding: 20px 0 0 0;
	border-top: 1px solid var(--color-e5e5e5);
	color: var(--color-aaa);
}


/*面包屑菜单*/
.mbx {
  position: fixed;
  top: 55px;      /* 固定距离顶部 55px */
  left: 0;
  width: 100%;
  padding: 0 5%;
  box-sizing: border-box;
  background: var(--color-hutm);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 9;
  
  height: 40px;
  line-height: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}


/*---列表页---*/
.list_item {
	width: 100%;
	padding: 135px 0 0 0;
}

.list_item_content {
	display: grid;
	grid-template-columns: repeat(1, 1fr);
	gap: 20px;                /* 行距和列距 */
	
	justify-items: center;
	width: 90%;
	margin: 0 auto;
}

.list_item_content_ietm {
	width: 100%;
	border: 1px solid var(--color-eee);
	padding: 20px;
	box-sizing: border-box;
	border-radius: 10px;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
}


/*---内容板块---*/
.content_div {
	width: 90%;
	margin: 0 auto;
	padding: 135px 0 0 0;
}

.content_pic{
	width: 100%;
	aspect-ratio: 2 / 1;
	margin-bottom: 20px;
}

.content_pic img{
	width: 100%;
	height: 100%;
	object-fit: cover;   /* 填充容器但不变形，会裁剪 */
	object-position: center;  /* 图片内容居中显示 */
	display: block;
	border-radius: 10px;
}

.content_div_left span{
	background: var(--color-f5f5f5);
	padding: 0 10px;
	border-radius: 5px;
}

.content_div_left a{
	background: var(--color-blue);
	color: var(--color-white);
	width: 100%;
	border-radius: 10px;
	margin-top: 20px;
	height: 40px;
	line-height: 40px;
	display: inline-block;
	text-align: center;
}

.content_div_right{
	
}

.content_div_right h3 {
  margin-bottom: 5px;
}

.content_div_right b {
  color: var(--color-777);
}

.content_div_right_nr{
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid var(--color-e5e5e5);
}

.content_div_right_nr p {
  position: relative;
  padding-left: 1em;       /* 留出圆点位置 */
  text-indent: 0;          /* 防止缩进 */
}

.content_div_right_nr p::before{
	content: "•";
	position: absolute;
	left: 0;
	top: 0;
	color: var(--color-blue);  /* 圆点颜色，可改为主题色 */
	font-weight: bold;
}

h3{
	color: var(--color-black);
	font-size: var(--font-18size);
}