@charset "utf-8";
body {
  overflow-x: hidden;
}

.header {
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  position: absolute;
  z-index: 9;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  padding: 22px 25px 21px 30px;
  display: flex;
  align-items: center;
  justify-content: center !important;
  width: 100%;
  max-width: 1800px;
  gap: 60px !important;
}


.logo {
  display: block;
  height: 100%;
   transform: translateX(-200px) !important;
}
.logo img {
  max-width: 520px !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: left center !important;
}
.header_top {
  display: flex;
  justify-content: right;
  align-items: center;
  line-height: 15px;
}
.header_more {
   display: flex;
  position: static;           /* 改这里：不再绝对定位 */
  background: none;           /* 去掉背景 */
  box-shadow: none;           /* 去掉阴影 */
  border-radius: 0;
  padding: 0;
  z-index: 99;
}



.header_top_toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #000;
  border-radius: 1px;
  transition: all 0.3s ease;
}




.header::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  left: -2000px;      /* 向左延伸 */
  right: -2000px;     /* 向右延伸 */
  height: 200px; /* 覆盖导航栏高度 */
  background: linear-gradient(to bottom, rgba(0,0,0,0.70), rgba(0,0,0,0.30), transparent);
  z-index: 0;
  pointer-events: none;
}
.header_more li {
  margin-right: 33px;
}
.header_more a {
  display: block;
  font-size: 16px;
  color: #ffffff !important;                          
  position: relative;
}
.header_more a::after {
  position: absolute;
  content: "";
  height: 10px;
  width: 1px;
  right: -16px;
  top: 2.5px;
  background: rgba(255, 255, 255, 0.4) !important;    
}
.seach_menu .seach {
  width: 15px;
  height: 15px;
  background-image: url(../images/fdj.png);
  background-repeat: no-repeat;
  background-position: center;
  display: block;
  filter: brightness(0) invert(1);         
}
.seach_menu .menu {
  display: none;
}
.seach_menu .menu span {
  display: block;
  width: 24px;
  height: 2px;
  background: #ffffff;                      
  margin-bottom: 7px;
}
.seach_menu .menu span:last-child {
  margin-bottom: 0px;
}
.header_nav {
  display: flex;
  align-items: center;
  margin-top: 20px;
  line-height: 30px;
}
.header_nav>li {
  margin-right: 26px;
  position: relative;
}
.header_nav li:last-child {
  margin-right: 0;
}
.header_nav li a {
  display: block;
  width: 100%;
  height: 100%;
  color: #ffffff;                           
  font-size: 20px;
  white-space: nowrap;
}
.header_nav li:hover .menu-toggle {
  font-weight: bold;
  color: #ffda2c;                           
}



.header .sub-nav,
.header .dropdown-menu,
.header .nav ul {          /* 具体选择器以你F12看到的为准 */
  background: rgba(0, 0, 0, 0.45) !important;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.1);  /* 加个微光边框更精致 */
  border-radius: 4px;
}












/* banner */
.mybanner {
  width: 100%;
}
/* footer - 保持不变 */
.footer {
  background: #0849a3;
}
.footer_top {
  padding: 50px 0;
  display: flex;
}
.footer_top_l {
  width: 84.285%;
  border-right: 1px solid #5380bf;
}
.footer_top_l_t {
  display: flex;
  padding-right: 40px;
  align-items: center;
  justify-content: space-between;
}
.footer_top_l_t a {
  font-size: 18px;
  font-weight: bold;
  color: #222222;
  line-height: 50px;
  padding: 0 33px;
  display: block;
  background: #ffda2c;
  box-shadow: 0px 6px 20px 0px rgba(0, 0, 0, 0.5);
  border-radius: 25px;
}
.footer_top_l ol {
  display: flex;
  border-bottom: 1px solid #5380bf;
  padding: 35px 0 15px;
}
.footer_top_l ol li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  line-height: 40px;
  margin-right: 80px;
}
.footer_top_l ol li:last-child {
  margin-right: 0px;
}
.footer_top_l ol li p {
  font-size: 16px;
  font-weight: 400;
  color: #ffffff;
  margin-left: 8px;
}
.footer_top_l_b {
  padding: 20px 0;
  line-height: 31px;
  font-size: 16px;
  font-weight: 400;
  color: #ffffff;
  display: flex;
}
.footer_top_l_b a {
  display: block;
  line-height: 31px;
  font-size: 16px;
  font-weight: 400;
  color: #ffffff;
  margin-right: 16px;
}
.footer_top_r {
  width: 15.715%;
  text-align: right;
  padding-left: 50px;
}
.footer_top_r div {
  width: 100%;
  background: #fff;
}
.footer_top_r div img {
  width: 100%;
  height: 100%;
}
.footer_top_r p {
  font-size: 16px;
  font-weight: 400;
  color: #ffffff;
  line-height: 28px;
  margin-top: 10px;
  text-align: center;
}
.footer_btm {
  background: #063a82;
  padding: 14px 0;
}
.footer_btm p ,
.footer_btm p a {
  font-size: 16px;
  font-weight: 400;
  color: #ffffff;
  line-height: 32px;
  text-align: center;
}


/* 响应式 - 移动端适配 */
@media (max-width: 1850px) {
  .header {
    max-width: 94%;
  }
  .footer_top {
    width: 100%;
    padding: 50px 3%;
    align-items: center;
  }
  .footer_top_r {
    padding-left: 3%;
  }
}
@media (max-width: 1500px) {
  .footer_top_l ol {
    flex-wrap: wrap;
  }
}
@media (max-width: 1380px) {
  .header_nav {
    margin-left: 30px;
  }
  .header_nav>li {
    margin-right: 15px;
  }
  .logo {
    min-width: 250px;
  }
  .logo img {
    width: 100%;
    display: block;
    height: 100%;
  }
}
@media (max-width: 1200px) {
  .header {
    max-width: 100%;
    border-radius: 0;
    position: fixed;
    top: 0;
    z-index: 999;
    padding: 21.5px 3%;
    background: rgba(8, 73, 163, 0.9);       
  }
  .seach_menu .seach {
    width: 24px;
    height: 24px;
    background-image: url(../images/fdj_.png);
    background-size: cover;
    filter: brightness(0) invert(1);           
  }
  .red {
    display: block;
    position: absolute;
    right: -120%;
    top: 120px;
    height: calc(100vh - 120px);
    overflow: auto;
    z-index: 99;
  }
  .seach_menu {
    display: flex;
    align-items: center;
  }
  .header_more {
    display: none;
  }
  .menu span {
    transition: transform 0.3s ease;
  }
  .menu span:first-child {
    margin-top: 0;
  }
  .menu.open span:nth-child(1) {
    width: 24px;
    transform: rotate(45deg);
    margin-top: 9px;
  }
  .menu.open span:nth-child(2) {
    width: 24px;
    transform: rotate(-45deg);
    margin-top: -9px;
  }
  .menu.open span:nth-child(3) {
    opacity: 0;
  }
  .header_nav {
    display: none;
  }
  .seach_menu .menu {
    display: block;
    margin-left: 20px;
  }
  .footer_top_r div {
    padding: 5px;
  }
  .mybanner,
  .list_zst {
    margin-top: 120px;
  }
}
@media (max-width: 1024px) {
  .footer_top_l_b {
    flex-wrap: wrap;
  }
}
@media (max-width: 768px) {
  .header {
    padding: 15px 2%;
  }
  .red {
    width: 100%;
    top: 107px;
    height: calc(100vh - 107px);
  }
  .footer_top_l {
    width: 100%;
    border: navajowhite;
  }
  .footer_top_l_t {
    padding-right: 0px;
  }
  .footer_top_r {
    display: none;
  }
  .footer_top {
    padding: 30px 3% 10px;
  }
  .footer_top_l ol li {
    margin: 0px 20px;
    width: auto;
  }
  .footer_btm {
    width: 100%;
    padding: 12px 2%;
  }
  .mybanner,
  .list_zst {
    margin-top: 107px;
  }
}
@media (max-width: 567px) {
  .header {
    height: 80px;
  }
  .red {
    top: 80px;
    height: calc(100vh - 80px);
  }
  .header .logo {
    width: 60%;
    height: auto;
  }
  .header .logo img {
    width: 100%;
    height: 100%;
  }
  .footer_top_l_t img {
    width: 60%;
  }
  .footer_top_l_t a {
    font-size: 17px;
    line-height: 45px;
    padding: 0 20px;
    border-radius: 20px;
  }
  .mybanner,
  .list_zst {
    margin-top: 80px;
  }
}
@media (max-width: 480px) {
  .header {
    height: 70px;
  }
  .red {
    top: 70px;
    height: calc(100vh - 70px);
  }
  .seach_menu .menu {
    margin-left: 10px;
  }
  .footer_top_l ol li {
    margin: 0px;
    width: 100%;
  }
  .footer_top_l_b {
    justify-content: center;
  }
  .mybanner,
  .list_zst {
    margin-top: 70px;
  }
}

/* ===== Mega Menu  ===== */

/* 默认隐藏 */
.header_nav > li > ol.menu-items {
  display: none !important;
}

/* hover时显示 */
.header_nav > li:hover > ol.menu-items.mega-panel {
  display: flex !important;
  flex-direction: row !important;
}

/* 面板容器 */
ol.menu-items.mega-panel {
  min-width: 560px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  border-radius: 0 0 8px 8px !important;
  background: #f8f5f0 !important;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12) !important;
  overflow: hidden !important;
  list-style: none !important;
  position: absolute !important;
  z-index: 999 !important;
  top: 100% !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
}

/* 面板背景图层 */
.mega-panel-bg {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background-image: url('/images/233_254.jpg') !important;
  background-size: cover !important;
  background-position: center !important;
  opacity: 0.08 !important;
  z-index: 0 !important;
  pointer-events: none !important;
}

/* 左侧配图区 */
.mega-panel .mega-left {
  width: 150px !important;
  min-width: 150px !important;
  flex-shrink: 0 !important;
  position: relative !important;
  z-index: 1 !important;
  overflow: hidden !important;
  padding: 12px 0 12px 12px !important;
  align-self: center !important;
}

.mega-left-img {
  width: 100% !important;
  height: 120px !important;
  border-radius: 6px !important;
  overflow: hidden !important;
}


/* 中间校训区 */
.mega-panel .mega-mid {
  width: 60px !important;
  min-width: 60px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  padding: 12px 4px !important;
  position: relative !important;
  z-index: 1 !important;
  flex-shrink: 0 !important;
}
.mega-motto {
  color: #8B1A1A !important;
  font-size: 15px !important;
  font-weight: bold !important;
  line-height: 1.8 !important;
  letter-spacing: 3px !important;
  text-align: center !important;
  writing-mode: vertical-rl !important;
}

.mega-motto-sub {
  color: #8B1A1A !important;
  font-size: 15px !important;
  font-weight: bold !important;
  line-height: 1.8 !important;
  letter-spacing: 3px !important;
  text-align: center !important;
  writing-mode: vertical-rl !important;
  margin-top: 16px !important;
}


/* 右侧导航链接区 */
.mega-panel .mega-right {
  flex: 1 !important;
  padding: 16px 16px 16px 8px !important;
  display: flex !important;
  flex-wrap: wrap !important;
  align-content: flex-start !important;
  position: relative !important;
  z-index: 1 !important;
  background: transparent !important;
}

.mega-right li {
  list-style: none !important;
  margin: 0 !important;
  width: 33.33% !important;
  box-sizing: border-box !important;
  padding: 8px 10px !important;
}

.mega-right li a {
  display: block !important;
  color: #333 !important;
  font-size: 16px !important;
  white-space: nowrap !important;
  transition: color 0.2s ease !important;
}

.mega-right li a:hover {
  color: #8B1A1A !important;
}