/*
 * 继续教育学院顶栏 / 页脚 / 内页色板
 * 作用域：body.jxjy-site
 */
body.jxjy-site{
  --red:#2b7de9;
  --red-dark:#1a5fc4;
  --jxjy-primary:#2b7de9;
  --jxjy-primary-rgb:43,125,233;
  --jxjy-text:#1f1f1f;
  --jxjy-muted:#777;
  --jxjy-wrap:1208px;
}

body.jxjy-site .site-header,
body.jxjy-site .site-header .header-inner,
body.jxjy-site .site-header .header-right,
body.jxjy-site .site-header .header-nav-row{
  overflow:visible;
}

body.jxjy-site .site-header .header-inner{
  width:min(1208px,92vw);
  max-width:1208px;
  height:auto;
  min-height:96px;
  padding:14px 0 12px;
  align-items:end;
  gap:24px;
}

body.jxjy-site .site-header .brand{
  display:flex;
  align-items:center;
  gap:14px;
  min-width:0;
  flex:0 0 auto;
}

body.jxjy-site .site-header .brand img{
  height:41px !important;
  width:auto !important;
  max-height:41px !important;
}

body.jxjy-site .site-header .brand-name{
  color:#fff;
  font-family:"Microsoft YaHei","PingFang SC",sans-serif;
  font-size:22px;
  font-weight:700;
  letter-spacing:.12em;
  line-height:1.2;
  white-space:nowrap;
  text-shadow:0 1px 8px rgba(0,0,0,.25);
}

body.jxjy-site .site-header .header-right{
  flex:1 1 auto;
  min-width:0;
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:10px;
}

body.jxjy-site .site-header .header-util{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:18px;
  color:#fff;
  font-size:13px;
  line-height:1;
  white-space:nowrap;
  overflow:visible;
  position:relative;
  z-index:20;
}

body.jxjy-site .site-header .header-phones{
  display:flex;
  align-items:center;
  gap:22px;
  opacity:.96;
}

body.jxjy-site .site-header .header-socials{
  display:flex;
  align-items:center;
  gap:10px;
  overflow:visible;
  position:relative;
  z-index:20;
}

body.jxjy-site .site-header .header-social{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  width:28px;
  height:28px;
  flex:0 0 28px;
  background:transparent;
  border:0;
  overflow:visible;
  cursor:default;
}

body.jxjy-site .site-header .header-social > img{
  display:block;
  width:22px;
  height:22px;
  object-fit:contain;
}

body.jxjy-site .site-header .header-social:after{
  content:"";
  position:absolute;
  left:-10px;
  right:-10px;
  top:100%;
  height:16px;
}

body.jxjy-site .site-header .header-social .qr-popover{
  top:calc(100% + 12px);
  bottom:auto;
  z-index:40;
  pointer-events:auto;
}

body.jxjy-site .site-header .header-social .qr-popover:after{
  top:-8px;
  bottom:auto;
  border-right:0;
  border-bottom:0;
  border-left:1px solid rgba(232,53,34,.12);
  border-top:1px solid rgba(232,53,34,.12);
}

body.jxjy-site .site-header .header-social:hover .qr-popover,
body.jxjy-site .site-header .header-social:focus-within .qr-popover{
  opacity:1;
  visibility:visible;
  transform:translate(-50%,0) scale(1);
}

body.jxjy-site .site-header .header-nav-row{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:18px;
  width:100%;
}

body.jxjy-site .site-header .main-nav{
  flex:0 1 auto;
  justify-content:flex-end;
}

body.jxjy-site .site-header .nav-item>a{
  font-weight:400 !important;
  padding:10px 0 8px !important;
}

body.jxjy-site .site-header .nav-item>a:after{
  background:var(--jxjy-primary) !important;
  bottom:2px !important;
}

body.jxjy-site .site-header .mega-menu{
  top:calc(100% + 8px);
}

body.jxjy-site .site-header .mega-menu a:hover{
  background:rgba(43,125,233,.08);
  color:var(--jxjy-primary);
}

body.jxjy-site .site-header .header-actions{
  display:flex;
  align-items:center;
  gap:10px;
  flex:0 0 auto;
}

body.jxjy-site .site-header .register-btn{
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  gap:8px;
  height:40px;
  padding:0 18px 0 14px;
  background:transparent !important;
  color:#fff !important;
  border:1px solid rgba(255,255,255,.85) !important;
  border-radius:10px;
  font-size:15px;
  font-weight:700;
  letter-spacing:.04em;
  text-decoration:none !important;
  white-space:nowrap;
  box-shadow:none;
  box-sizing:border-box;
}

body.jxjy-site .site-header .register-btn-icon{
  width:18px;
  height:18px;
  flex:0 0 18px;
  background:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='8' r='3.2' fill='%23000'/%3E%3Cpath d='M5.5 18.5c.8-3.4 3.4-5 6.5-5s5.7 1.6 6.5 5' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='8' r='3.2' fill='%23000'/%3E%3Cpath d='M5.5 18.5c.8-3.4 3.4-5 6.5-5s5.7 1.6 6.5 5' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat;
}

body.jxjy-site .site-header .lang-btn,
body.jxjy-site .site-header .search-btn{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:40px !important;
  height:40px !important;
  min-width:40px !important;
  max-width:40px !important;
  min-height:40px !important;
  max-height:40px !important;
  padding:0 !important;
  margin:0 !important;
  box-sizing:border-box !important;
  flex:0 0 40px !important;
  background:transparent !important;
  color:#fff !important;
  border:1px solid rgba(255,255,255,.85) !important;
  border-radius:50% !important;
  transform:none !important;
  box-shadow:none !important;
  text-decoration:none !important;
  overflow:hidden !important;
}

body.jxjy-site .site-header .lang-btn{
  font-size:10px !important;
  font-weight:600 !important;
  letter-spacing:0 !important;
  line-height:0 !important;
  text-align:center;
}

body.jxjy-site .site-header .lang-btn-grid{
  display:grid;
  grid-template-columns:max-content max-content;
  grid-template-rows:max-content max-content;
  gap:0;
  place-items:center;
  line-height:1;
  flex:0 0 auto;
  pointer-events:none;
}

body.jxjy-site .site-header .lang-btn-grid span{
  display:block;
  width:1em;
  height:1em;
  line-height:1em;
  text-align:center;
}

body.jxjy-site .site-header .search-btn svg{
  display:block;
  flex:0 0 auto;
  width:18px;
  height:18px;
}

body.jxjy-site .site-header .search-btn:hover,
body.jxjy-site .site-header .search-btn:focus,
body.jxjy-site .site-header .search-btn:focus-visible,
body.jxjy-site .site-header .lang-btn:hover,
body.jxjy-site .site-header .lang-btn:focus,
body.jxjy-site .site-header .lang-btn:focus-visible,
body.jxjy-site .site-header .register-btn:hover,
body.jxjy-site .site-header .register-btn:focus{
  transform:none !important;
  background:#fff !important;
  color:var(--jxjy-primary,#2b7de9) !important;
  border-color:#fff !important;
}

body.jxjy-site .site-header.scrolled{
  background:rgba(43,125,233,.82) !important;
  border-bottom:1px solid rgba(255,255,255,.18) !important;
}

body.jxjy-site .footer-main{
  width:min(1208px,92vw) !important;
  max-width:1208px;
}

body.jxjy-site.jxjy-list-page .list-hero > div > p,
body.jxjy-site.jxjy-list-page .list-hero > div > strong,
body.jxjy-site .list-tabs{
  display:none !important;
}

body.jxjy-site.jxjy-detail-page .article-kicker{
  display:none !important;
}

@media (max-width: 1080px){
  body.jxjy-site .site-header{
    position:sticky !important;
    top:0 !important;
    left:auto !important;
    right:auto !important;
    background:rgba(43,125,233,.94) !important;
    backdrop-filter:blur(16px) !important;
    -webkit-backdrop-filter:blur(16px) !important;
    border-bottom:1px solid rgba(255,255,255,.14) !important;
    box-shadow:0 6px 20px rgba(0,0,0,.12) !important;
  }

  body.jxjy-site .site-header .header-inner{
    width:min(1180px,92vw);
    min-height:70px;
    padding:8px 0;
    gap:12px;
  }

  body.jxjy-site .site-header .header-util{
    display:none;
  }

  body.jxjy-site .site-header .header-right{
    flex:0 0 auto;
    width:auto;
  }

  body.jxjy-site .site-header .header-nav-row{
    width:auto;
  }

  body.jxjy-site .site-header .brand{
    flex:1 1 auto;
    max-width:calc(100% - 160px);
  }

  body.jxjy-site .site-header .brand img{
    height:28px !important;
    max-height:28px !important;
  }

  body.jxjy-site .site-header .brand-name{
    font-size:14px;
    letter-spacing:.08em;
  }

  body.jxjy-site .site-header .register-btn{
    display:none !important;
  }

  body.jxjy-site .site-header .menu-btn{
    display:flex !important;
    flex:0 0 auto !important;
    width:36px !important;
    height:36px !important;
    visibility:visible !important;
    opacity:1 !important;
    position:relative !important;
    gap:0 !important;
  }

  body.jxjy-site .site-header .menu-btn span{
    position:absolute !important;
    left:50% !important;
    top:50% !important;
    width:22px !important;
    height:2px !important;
    margin:0 !important;
    background:#fff !important;
    border-radius:2px !important;
    transform:translate(-50%,-50%);
    transition:transform .28s ease,opacity .2s ease !important;
  }
  body.jxjy-site .site-header .menu-btn span:nth-child(1){
    transform:translate(-50%,calc(-50% - 7px));
  }
  body.jxjy-site .site-header .menu-btn span:nth-child(3){
    transform:translate(-50%,calc(-50% + 7px));
  }
  body.jxjy-site .site-header .menu-btn.active span:nth-child(1){
    transform:translate(-50%,-50%) rotate(45deg) !important;
  }
  body.jxjy-site .site-header .menu-btn.active span:nth-child(2){
    opacity:0 !important;
  }
  body.jxjy-site .site-header .menu-btn.active span:nth-child(3){
    transform:translate(-50%,-50%) rotate(-45deg) !important;
  }

  body.jxjy-site .site-header .search-btn,
  body.jxjy-site .site-header .lang-btn{
    width:36px !important;
    height:36px !important;
    min-width:36px !important;
    max-width:36px !important;
  }

  body.jxjy-site .site-header .main-nav{
    position:fixed;
    top:var(--jxjy-header-h,70px) !important;
    left:-100%;
    width:min(78vw,340px);
    height:calc(100dvh - var(--jxjy-header-h,70px)) !important;
    display:block;
    background:rgba(43,125,233,.96) !important;
    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);
    box-shadow:12px 0 36px rgba(0,0,0,.22);
    overflow-y:auto;
    margin:0 !important;
  }

  body.jxjy-site .site-header .main-nav.open{
    left:0;
  }

  body.jxjy-site .site-header .main-nav ul{
    display:block;
    padding:24px 20px;
  }

  body.jxjy-site .site-header .nav-item>a{
    padding:14px 6px !important;
    border-bottom:1px solid rgba(255,255,255,.16);
  }
  body.jxjy-site .site-header .nav-item>a:after{
    display:none !important;
  }
}

@media (max-width: 640px){
  body.jxjy-site .site-header .brand-name{
    font-size:13px;
    letter-spacing:.04em;
  }
}
