/* 顶部 */
.top-wrap .top {
  width: 100%;
  line-height: 62px;
  height: 62px;
  margin: 0 auto;
  padding: 0 40px;
  background: #000;
  display: flex;
  height: 62px;
  justify-content: space-between;
  align-items: center;
}

.top-left{
  width: 360px;
  height: 62px;
  margin-top: -5px;
  display: flex;
  align-items: center;
}

/* ==========================================================
   顶部 header 右侧 
   ========================================================== */
.top .top-right{
  display        : flex;
  align-items    : center;
  justify-content: flex-end;   /* 右对齐 */
  flex-direction : row;
  gap            : 30px;        /* 项与项之间的水平间距（按设计稿视觉） */
  height         : 100%;
  line-height    : normal;       /* 覆盖 .top 原 line-height:60px，避免文字被压成高行高 */
  padding-right    : 0;
  box-sizing     : border-box;
}
/* 覆盖 mc-a.css 的 ..top-right{display:inline;} — 让快捷链接用 inline-flex 实现 icon 与文字对齐 */
.top .tit{
  display: inline-flex;
  text-align: center;
}


/* 快捷入口链接：icon 在上、文字 在下的上下结构（活动中心 / 实体卡 / 学生福利 / 手机版） */
.top .lr__link{
  display        : inline-flex !important;
  flex-direction : column;          /* 上下结构：icon 在上，文字在下 */
  align-items    : center;          /* 水平居中对齐 */
  justify-content: center;          /* 垂直居中 */
  gap            : 4px;             /* icon 与文字的垂直间距 */
  height         : 60px;            /* 高度需容纳 icon+文字+gap，约 icon18 + gap4 + 文字12~14 + 上下留白 */
  padding        : 0 8px;           /* 左右留一点 padding，增加点击热区 */
  color          : #c9c9c9;
  font-size      : 14px;            /* 文字稍小，匹配上下结构视觉 */
  line-height    : 1;
  text-decoration: none;
  flex-shrink    : 0;
  position       : relative;        /* 为手机版二维码 dropdown 做 absolute 定位 */
  transition     : color .2s ease;
}
.top .lr__link:hover, .top .lr__link:hover .tit{
  color: #fff;
}
.top .lr__link-icon{
  width      : 20px;
  height     : 20px;
  object-fit : contain;
  flex-shrink: 0;
  display    : block;
}
/* 手机版：覆盖 mc-a.less 原 .mobile 的背景图、左右 padding，
   二维码 dropdown 保留原样式（mc-a.css 里的 .download-app-ewm2），
   只修父容器为 inline-flex + 绝对定位二维码 */
.top .top-right .lr__link--mobile.mobile{
  background     : none !important;   /* 移除 mc-a 的 mc-2.jpg 背景图 */
  padding-left : 0 !important;
  padding-right: 0 !important;
}
.top .lr__link--mobile .download-app-ewm2{
  /* 覆盖 mc-a.css L48-50 的老居中方式（top:68% + margin-left:-100px），
     避免与新的 left:50% + translateX(-50%) 叠加后二维码左偏 200px */
  left : 50% !important;
  transform: translateX(-50%) !important;
  top  : calc(100% + 4px) !important;
  margin-left: 0 !important;       /* 必须清掉 mc-a.css 的 margin-left:-100px */
  width: auto !important;
}
/* ==========================================================
   实体卡（index.html L46-58 .lr__link--card）下拉菜单样式
   由于实体卡改为 div 容器（避免 a 嵌套 a），内部结构：
     div.lr__link--card（继承公共 .lr__link 的 inline-flex column 52px 居中布局）
       a.lr__link-main（填满外层 52px，内部也是 column 一层 flex 居中）
         img.icon  第一行
         span      第二行（文字 + ∨ 箭头同行，字符箭头避免 border 扰乱行高）
       div.lr__card-menu（absolute 悬浮下拉框）
   关键：只保留一层 column flex 居中，避免双层 flex 导致垂直错位
   ========================================================== */
/* 1) 外层 div 容器：直接用公共 .lr__link 的 inline-flex column/height:52px/center 即可，
      这里仅补 div 的默认属性，不改变布局 */
.top .lr__link--card.lr__link{
  padding : 0 8px;
  overflow: visible;   /* 允许弹出的 dropdown 超出 52px 高度显示 */
}
/* 2) 内部主链接：撑满外层 52px，再做一层 column flex 居中（因为 a 是唯一 flex 子项） */
.top .lr__link--card .lr__link-main{
  display         : flex;               /* 用 flex（非 inline-flex）使其占满外层宽度 */
  flex            : 1 1 auto;          /* 占满外层 div 的高度与宽度（唯一流内子项） */
  flex-direction  : column;
  align-items     : center;
  justify-content : center;
  gap             : 4px;                /* icon 与文字行的间距，和其他快捷入口一致 */
  width           : 100%;
  height          : 100%;
  color           : inherit;
  text-decoration : none;
  cursor          : pointer;
}

/* 3) icon：和其他快捷入口尺寸完全一致（公共 .lr__link-icon 已设 20×20，这里仅兜底） */
.top .lr__link--card .lr__link-icon{
  width      : 20px;
  height     : 20px;
  object-fit : contain;
  display    : block;
  flex       : 0 0 auto;
}
/* 4) 文字行：文字 + ∨ 箭头同行。箭头用 absolute + top:50%+translateY(-50%) 垂直居中，
      因此 span 必须设 position:relative 作为定位参照，并在右侧为箭头预留 padding，
      确保「实体卡」三个字不与箭头重叠 */
.top .lr__link--card .lr__link-main .tit{
  position      : relative;     /* 关键：作为内部 .lr__link-caret（absolute）的定位参照 */
  display       : inline-flex;
  align-items   : center;
  padding-right : 0;         
  font-size     : 14px;
  line-height   : 1;
  color         : inherit;
  flex          : 0 0 auto;
}
/* 5) ∨ 箭头：绝对定位 + 50% 垂直居中（参考 Experience 481946）
      注意：translateY(-50%) 和 rotate(0deg) 必须合并成同一个 transform 声明，
      否则后者会覆盖前者，导致 top:50% 的居中失效 */
.top .lr__link--card .lr__link-caret{
  position       : absolute;
  top            : 50%;
  right          : -5px;            /* 贴 span 的右内边（padding-right:14px 左侧为文字） */
  /* 合并：垂直居中位移 + 默认 0° 旋转，缺一不可 */
  transform       : translateY(-50%) rotate(0deg);
  transform-origin: center center;
  transition      : transform .2s ease, color .2s ease;
  width: 16px;height: 16px;

}
/* 6) hover 容器时：箭头翻转 180°；同样必须保留 translateY(-50%)，
      否则 hover 后 transform 只剩 rotate，垂直居中再次丢失 */
.top .lr__link--card:hover .lr__link-caret{
  transform : translateY(-50%) rotate(180deg);
}
/* 7) 下拉菜单容器：min-width 扩到 180px 避免菜单项折行；white-space 强制不换行 */
.top .lr__link--card .lr__card-menu{
  position      : absolute;
  left          : 50%;
  top           : calc(100% - 6px);    /* 比二维码多 2px 视觉，避免贴边 */
  transform     : translateX(-50%);
  width: 180px;   
  height: 140px;    
  padding: 20px 0;
  z-index       : 100000;
  display: none;
}
.top .lr__link--card:hover .lr__card-menu{
  display : block;
}
.top .lr__link--card:hover .lr__card-menu .lr__card-menu-items{
   display : block;
  width     : 180px;
  padding       : 8px 0;
  background    : #fff;
  border-radius : 8px;                  /* 设计图圆角稍大 */
  box-shadow    : 0 4px 20px rgba(0,0,0,0.15);
  z-index       : 100000;
  overflow      : visible;              /* 不裁圆角内部 hover 背景 */
  white-space   : nowrap;       
  width:100%;   
  height: 100px;     /* 强制内部菜单项不折行 */
}
/* 8) 下拉菜单项：左文字 + 右 > 箭头，white-space nowrap 保证不换行 */
.top .lr__link--card .lr__card-item{
  width: 100%;
  display         : block !important;
  text-align      : left;
  padding         : 0 16px;
  white-space     : nowrap;
  transition      : background .15s ease, color .15s ease;
  font-weight: 400;
  font-size: 16px;
  color: #222222;
  line-height: 40px;
  text-align: center;
  font-style: normal;
  text-transform: none;
}
.top .lr__link--card .lr__card-item:hover{
  background : #f0f2f5;
  color      : #1890ff;
}
/* 9) 菜单项右侧 > 箭头：默认浅灰，hover 跟文字变蓝并右移 */
.top .lr__link--card .lr__card-arrow{
  font-style  : normal;
  margin-left : 12px;     /* 与文字拉开距离，贴右侧 */
  flex        : 0 0 auto;
  transition  : color .15s ease, transform .15s ease;
}
.top .lr__link--card .lr__card-item:hover .lr__card-arrow{
  color     : #1890ff;
  transform : translateX(3px);
}


.top-wrap {
  background-color: #000;
  min-width: 1200px;
  position: relative;
  z-index: 9999;
}
.top-wrap.is-sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
}
.top-wrap.is-sticky + * {
  padding-top: 62px;
}

.top-wrap .top .top_new {
  display: block;
  font-size: 14px;
  width: 100px;height: 44px;
  margin-top: -5px;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}
#newMember{
  background-image: url("../images/newIndex/i_new.png");
}
#newMember:hover{
  background-image: url("../images/newIndex/i_new_1.png");
}
#renewMember{
  background-image: url("../images/newIndex/i_renew.png");
}
#renewMember:hover{
  background-image: url("../images/newIndex/i_renew_1.png");
}
.top-wrap .top .logo1,
.top-wrap .top .logo2 ,.top-wrap .top .logo-line{
  height: 100%;
  display: flex;
  align-items: center;
}
.top-wrap .top .logo1 img,
.top-wrap .top .logo2 img{
  height: 42px;
}

.top-wrap .top .logo-line {
  width: 1px;
  height: 30px;
  background: #CCCCCC;
  border-radius: 0;
  margin-left: 10px;
  margin-right: 10px;
}
.top-wrap .top .top-right {
  height: 100%;
}
.top-wrap .top .top-right.mobile {
  background: url("../images/a/mc-2.jpg") no-repeat left center;
  padding-left: 20px;
  padding-right: 45px;
  position: relative;
}
.top-wrap .top .top-right.mobile-left {
  float: right;
  position: relative;
  color: #c9c9c9;
}
.download-app-ewm2 {
  position: absolute;
  top: 68%;
    left: 50%;
  margin-left: -100px;
  z-index: 100000;
  display: none;
}

.top-wrap .top .top-right .mobile:hover .download-app-ewm2{
  display: block;
}

/* 顶部结束 */


/*统一登录覆盖 */
#memberUser .ecp_header_container{
  background: transparent;
  background-color: transparent;
}
#memberUser .ecp_header_login_area{
  margin: 0;
}
#memberUser .ecp_header_personal_loginbg, #memberUser .ecp_header_unit_loginbg{
  width: 70px;
  overflow: hidden;
  height: 36px;
  background: transparent;
  border-radius: 40px ;
  font-family: Microsoft YaHei, Microsoft YaHei;
  font-weight: 400;
  font-size: 14px;
  color: #fff;
  line-height: 34px;
  letter-spacing: 6px;
  text-align: center;
  font-style: normal;
  text-transform: none;
  border: 1px solid #fff;
  position: relative;
}
#memberUser .ecp_header_personal_loginbg::before{
  /* display: none; */
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  content: "登录";
  background: #000;
  background-color: #000;
  width: 100%;
  height: 100%;
  border-radius: 40px ;
   font-weight: 400;
  font-size: 14px;
  color: #fff;
  line-height: 34px;
}

#memberUser .ecp_personal_mouseover {
  background-image: unset !important;
  background-color: #000!important;
  color: #fff!important;
  border-radius: 40px;
}
/* 隐藏机构登录按钮 */
#memberUser .ecp_header_unit_loginbg{
  display: none !important;
}
#memberUser .ecp_header_personalName, #memberUser .ecp_header_unitName{
  color: #fff;
}