#c-placeholder {}
/* ===== 公共 Header 导航栏（所有页面通用） ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 200;
}
.headBox {
  position: relative;
  z-index: 60;
  width: 100%;
  background: #FFFFFF;
  box-shadow: 0 .02rem .1rem rgba(0, 0, 0, 0.06);
}
.headBox .inner {
  height: 1.1rem;
  min-height: .8rem;
}

.head-logo {
  height: 100%;
  flex-shrink: 0;
  align-items: center;
}
/* a.head-logo：点击 logo 跳首页（去掉 a 默认下划线/颜色继承，与 div 原样式一致） */
a.head-logo {
  text-decoration: none;
  color: inherit;
  background-color: transparent;
  -webkit-tap-highlight-color: transparent;
}
.head-logo img {
  width: 2.7rem;
  height: 0.72rem;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.head-nav {
  height: 100%;
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 .8rem;
}
.head-nav > ul {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.head-nav > ul > li {
  height: 100%;
  display: flex;
  align-items: center;
  position: relative;
}
.head-nav > ul > li > a {
  font-family: var(--font-family-medium);
  height: 100%;
  display: flex;
  align-items: center;
  color: #333333;
  transition: all 0.3s;
  position: relative;
  white-space: nowrap;
  padding: 0 .1rem;
}
.head-nav > ul > li.on > a,
.head-nav > ul > li > a:hover {
  color: #00549D;
  font-weight: bold;
}
.head-nav > ul > li > a::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: .3rem;
  width: 0;
  height: .03rem;
  background: #00549D;
  transform: translateX(-50%);
  transition: width 0.3s;
}
.head-nav > ul > li.on > a::after,
.head-nav > ul > li > a:hover::after {
  width: 60%;
}

.head-action {
  flex-shrink: 0;
}
.consult-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .08rem;
  padding: .11rem .3rem;
  background: #333333;
  color: #FFFFFF;
  border-radius: 1rem;
  white-space: nowrap;
  transition: all 0.3s;
  font-family: var(--font-family-medium);
}
@media (any-hover: hover) {
  .consult-btn:hover {
    background: #00549D;
  }
}


/* ===== 公共 Footer 页脚（所有页面通用：1920 宽 × 359 高，背景 #00549D，左右各 200 边距 → 内容 1520；footer-main / footer-bottom 固定宽度居中，padding 直接加在 footer 上） ===== */
.footer {
  position: relative;
  background: #00549D;
  color: #FFFFFF;
  overflow: hidden;
  min-height: 3.59rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* === 主体三列（用 margin 代替 gap，禁用 gap） === */
.footer-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 15.2rem;
  flex: 1;
}
.footer-col {
  flex-shrink: 0;
}
.footer-about {
  width: 3.5rem;
  margin: .34rem .8rem 0 0;
}
.footer-links {
  width: 3.9rem;
  margin: .7rem 0 0;
  display: flex;
  justify-content: space-between;
}
.footer-contact {
  width: 3.6rem;
  flex-shrink: 1;
  margin: .7rem 0 0;
}
.footer-col-title {
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: .08rem;
  color: #FFFFFF;
}

/* === 第一列：学校介绍 === */
.footer-brand {
  display: block;
  margin-bottom: .24rem;
}
/* 整图 Logo 占位：350×92 → 3.5rem × 0.92rem（渐变合成 Logo 轮廓占位） */
.footer-logo-img {
  width: 3.5rem;
  height: .92rem;
  max-width: 100%;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.7) 50%, rgba(245,166,35,0.2) 100%),
    linear-gradient(135deg, #F5A623 0%, #00549D 100%);
  background-blend-mode: overlay, normal;
  border-radius: .04rem;
  position: relative;
}
.footer-logo-img::before {
  content: '';
  position: absolute;
  left: .22rem;
  top: 50%;
  transform: translateY(-50%);
  width: .6rem;
  height: .6rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, #FFFFFF 0%, #FFFFFF 15%, transparent 15.5%),
    linear-gradient(135deg, #F5A623 0%, #00549D 100%);
}
.footer-col .footer-desc {
  line-height: 1.85;
  color: rgba(255,255,255,0.82);
}

/* === 第二列：专业课程 + 网站导航（margin 代替 gap） === */
.footer-links-item {
  flex-shrink: 0;
}
.item-course {
  width: 1.6rem;
  margin-right: .7rem;
}
.item-nav {
  width: 1.6rem;
}
.footer-links-item ul {
  display: block;
}
.footer-links-item ul li {
  display: block;
}
.footer-links-item ul li:last-child {
  margin-bottom: 0;
}
.footer-links-item ul li a {
  line-height: 1.4;
  color: rgba(255,255,255,0.6);
  transition: color .25s;
  display: inline-block;
}
@media (any-hover: hover) {
  .footer-links-item ul li a:hover {
    color: #FFFFFF;
    padding-left: .06rem;
  }
}

/* === Footer 手风琴折叠：仅手机端（≤767px）生效，桌面端保持原样展开 === */
/* 桌面端：隐藏箭头，保持 ul 展开（保持原设计） */
.footer-acc .acc-arrow {display: none;}

/* === 第三列：网站咨询（margin 代替 gap） === */
.footer-contact .contact-lists {
  display: block;
}
.contact-item {
  display: flex;
  align-items: baseline;
}
.contact-item:last-child {
  margin-bottom: 0;
}
.contact-icon_footer {
  width: .2rem;
  height: .2rem;
  flex-shrink: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: .04rem;
  margin-right: .14rem;
}
.contact-icon_footer i {
  color: #FFFFFF;
  line-height: 1;
}
.contact-text_footer {
  flex: 1;
}
.contact-text_footer h5 {
  line-height: 1.4;
  font-weight: 500;
  display: inline;
  color: #FFFFFF;
}
.contact-text_footer p {
  display: inline;
  line-height: 1.7;
  color: rgba(255,255,255,0.82);
}
.contact-text_footer p::after {
  content: '';
  display: block;
}

/* === 分隔线 + 底部版权栏（margin 代替 gap） === */
.footer-line {
  height: 1px;
  width: 100%;
  background: rgba(255,255,255,0.18);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  width: 15.2rem;
  min-height: .6rem;
}
.footer-bottom .copyright {
  line-height: 1.4;
  color: rgba(255,255,255,0.75);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.footer-bottom .sitemap {
  line-height: 1.4;
  color: rgba(255,255,255,0.75);
  transition: color .25s;
}
.footer-bottom .tech-support {
  line-height: 1.4;
  color: rgba(255,255,255,0.75);
  margin-left: .2rem;
}
.footer-bottom .tech-support span {
  color: rgba(255,255,255,0.95);
}
@media (any-hover: hover) {
  .footer-bottom .sitemap:hover {
    color: #F5A623;
  }
}


/* ============= 公共 Header/Footer 响应式 ============= */
/* ======================================================1280px========================================================= */
@media (max-width: 1280px) {
  /* 头部（1280px） */
  .head-logo .logo-title {}
  .head-logo .logo-subtitle {}
  .head-nav {
    margin: 0 .4rem;
  }
  .head-nav > ul {
    gap: .5rem;
  }

  /* footer（1280px） */
  .footer {
    min-height: 3.3rem;
    padding: .55rem 0 .25rem;
  }
  .footer-main,
  .footer-bottom {
    width: 13.8rem;
  }
  .footer-about {
    width: 4.8rem;
    margin-right: .5rem;
  }
  .footer-links {
    width: 3.5rem;
    margin-right: .4rem;
  }
  .item-course {
    margin-right: .5rem;
  }
  .footer-contact {
    width: 4.2rem;
  }
  .footer-logo-img {
    width: 3.15rem;
    height: .82rem;
  }
  .footer-col-title {
    margin-bottom: .24rem;
  }
  .footer-links-item ul li {
    margin-bottom: .12rem;
  }
  .contact-item {
    margin-bottom: .18rem;
  }
  .footer-line {
    margin: .42rem 0 .2rem;
  }
}

@media (max-width: 1200px) {
  /* footer（1200px） */
  .footer {
    padding: .5rem 0 .22rem;
  }
  .footer-main,
  .footer-bottom {
    width: 12.8rem;
  }
  .footer-about {
    width: 4.3rem;
    margin-right: .4rem;
  }
  .footer-links {
    width: 3.2rem;
    margin-right: .35rem;
  }
  .item-course {
    width: 1.45rem;
    margin-right: .3rem;
  }
  .item-nav {
    width: 1.45rem;
  }
  .footer-contact {
    width: 3.9rem;
  }
  .footer-logo-img {
    width: 2.95rem;
    height: .76rem;
  }
}


/* ======================================================991px========================================================= */
@media (max-width: 991px) {
  /* 头部（991px） */
  .head-nav {
    display: none;
  }
  .head-action {
    display: none;
  }
  .mobmenu {
    display: inline-flex;
  }
  .headBox .inner {
    justify-content: space-between;
  }

  /* footer（991px平板）：介绍整行 + 下方2列（导航 / 咨询），全部 margin 代替 gap */
  .footer {
    min-height: auto;
    padding: .5rem .5rem .25rem;
  }
  .footer-main,
  .footer-bottom {
    width: 100%;
  }
  .footer-main {
    flex-wrap: wrap;
  }
  .footer-about {
    width: 100%;
    margin: 0 0 .4rem;
  }
  .footer-desc {
    max-width: 100%;
  }
  .footer-logo-img {
    width: 3rem;
    height: .78rem;
  }
  .footer-links {
    width: calc(50% - .2rem);
    margin: 0 .4rem 0 0;
  }
  .item-course {
    width: 1.55rem;
    margin-right: .4rem;
  }
  .item-nav {
    width: 1.55rem;
  }
  .footer-contact {
    width: calc(50% - .2rem);
    flex-shrink: 0;
  }
  .footer-line {
    margin: .4rem 0 .2rem;
  }
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    margin: 0;
  }
  .footer-bottom .tech-support {
    margin: .1rem 0 0;
  }
}


/* 平板竖屏及以上（≥768px）用平板/桌面布局 */
/* 仅手机端生效（≤767px） */
@media (max-width: 767px) {
  /* 头部（767px手机端） */
  .mobnavBox {
    width: 100%;
  }
  .headBox .inner {
    height: .85rem;
    min-height: .6rem;
  }
  .head-logo img {
    width: 2rem;
    height: .55rem;
  }

  /* footer（767px手机端）：全部单列堆叠，margin 代替 gap */
  .footer {
    padding: .4rem .3rem .3rem;
    min-height: auto;
  }
  .footer-main,
  .footer-bottom {
    width: 100%;
  }
  .footer-main {
    flex-direction: column;
    flex-wrap: nowrap;
  }
  .footer-about {
    width: 100%;
    margin: 0 0 .35rem;
  }
  .footer-brand {
    margin-bottom: .18rem;
  }
  .footer-brand img{
    width: 74%;
  }
  .footer-logo-img {
    width: 2.8rem;
    height: .72rem;
  }
  .footer-desc {
    font-size: 14px;
  }
  /* 第二列：手机端纵向堆叠，两个折叠项（专业课程 / 网站导航）全宽单列手风琴 */
  .footer-links {
    width: 100%;
    flex-direction: column;
    justify-content: flex-start;
  }
  .footer-links-item.footer-acc {
    width: 100%;
    max-width: 100%;
    margin: 0;
  }
  /* 折叠标题：左右两端对齐（文字左，箭头右），下方加分隔横线 */
  .footer-acc .footer-col-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .22rem 0;
    margin-bottom: 0;
    border-bottom: 1px solid rgba(255,255,255,.12);
    cursor: pointer;
    user-select: none;
  }
  /* 右侧箭头：纯 CSS 画 >（两条带 45° 角的线），展开态 rotate(90°) → 变 ↓ */
  .footer-acc .acc-arrow {
    display: inline-block;
    width: .22rem;
    height: .22rem;
    position: relative;
    flex-shrink: 0;
    transition: transform .28s ease;
  }
  .footer-acc .acc-arrow::before,
  .footer-acc .acc-arrow::after {
    content: '';
    position: absolute;
    background: rgba(255,255,255,.75);
    right: 0;
  }
  .footer-acc .acc-arrow::before {
    width: .16rem;
    height: .02rem;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    transform-origin: right center;
  }
  .footer-acc .acc-arrow::after {
    width: .16rem;
    height: .02rem;
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
    transform-origin: right center;
  }
  /* 展开态 .on：箭头旋转 90°（> → ↓） */
  .footer-acc.on .acc-arrow {
    transform: rotate(90deg);
  }
  /* 折叠内容 ul：默认 max-height:0 隐藏（0 高度 + 0 padding），展开态加 .on 后过渡展开 */
  .footer-acc ul {
    max-height: 0;
    overflow: hidden;
    padding: 0;
    margin: 0;
    transition: max-height .32s ease, padding .28s ease;
  }
  .footer-acc.on ul {
    max-height: 3rem;   /* 5 条链接足够高的占位 */
    padding: .1rem 0 .22rem;
  }
  .footer-acc ul li {
    margin-bottom: .1rem;
  }
  .footer-acc ul li:last-child {
    margin-bottom: 0;
  }
  .footer-contact {
    width: 100%;
    flex-shrink: 1;
  }
  .contact-item {
    margin-bottom: .16rem;
    align-items: baseline;
  }
  .contact-icon_footer {
    width: .24rem;
    height: .24rem;
    margin-top: .03rem;
    margin-right: .1rem;
  }
  .contact-icon_footer i {}
  .contact-text_footer h5,
  .contact-text_footer p {}
  .footer-line {
    margin: .35rem 0 .18rem;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-bottom .copyright {
    flex-wrap: wrap;
    align-items: center;
  }
  .footer-bottom .sitemap {}
  .footer-bottom .tech-support {
    margin: .1rem 0 0;
  }
}
