/* 轮播外层容器 */
.banner {
  width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  margin: 0 auto;
  position: relative;
}

.banner-swiper {
  width: 100%;
  height: 5.2rem;
  position: relative;
  margin: 0 auto;
}

.banner-item {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.banner-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.banner-item.swiper-slide-active img {
  transform: scale(1);
}

.banner-item:not(.swiper-slide-active) img {
  transform: scale(1);
}

.banner-mask {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  transition: background 0.3s ease;
  pointer-events: none;
}

.banner-item:not(.swiper-slide-active) .banner-mask {
  background: rgba(0, 0, 0, 0.5);
}

.banner-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.4rem 0.5rem;
  box-sizing: border-box;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  color: #fff;
  transition: opacity 0.3s ease;
}

.banner-item:not(.swiper-slide-active) .banner-content {
  opacity: 0.6;
}

.banner-title {
  font-size: 0.28rem;
  color: #ffffff;
  line-height: 1.4;
  font-weight: 600;
  margin: 0 0 0.15rem;
  font-family: Microsoft YaHei;
}

.banner-desc {
  font-size: 0.16rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.banner-date {
  display: flex;
  align-items: center;
  gap: 0.08rem;
  font-size: 0.14rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0.15rem;
}

.banner-date img {
  width: 0.16rem;
  height: 0.16rem;
  margin-right: 0.09rem;
}

.watermark {
  position: absolute;
  right: 0.4rem;
  bottom: 0.4rem;
  width: 1.4rem;
  height: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.4;
  pointer-events: none;
}

/* 轮播导航按钮 */
.banner-prev,
.banner-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 60px;
  cursor: pointer;
  z-index: 10;
  background: rgba(0, 0, 0, 0.2);
  transition: background 0.3s ease;
}

.banner-prev {
  left: 2.6rem;
}

.banner-next {
  right: 2.6rem;
}

.banner-prev::after,
.banner-next::after {
  content: '';
  display: block;
  width: 10px;
  height: 10px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  position: absolute;
  top: 50%;
  left: 50%;
}

.banner-prev::after {
  transform: translate(-30%, -50%) rotate(-135deg);
}

.banner-next::after {
  transform: translate(-70%, -50%) rotate(45deg);
}

.banner-prev:hover,
.banner-next:hover {
  background: #9B0000;
}

/* Swiper 分页指示器 */
.banner .swiper-pagination {
  left: auto !important;
  right: 0.3rem !important;
  bottom: 0.3rem !important;
  width: auto !important;
  border-radius: 0.28rem;
  padding: 0.11rem 0.33rem;
  display: flex;
  align-items: center;
}

.banner .swiper-pagination-bullet {
  width: 0.12rem;
  height: 0.12rem;
  background: #fff;
  opacity: 1;
}

.banner .swiper-pagination-bullet-active {
  background: transparent;
  width: 0.1rem;
  height: 0.1rem;
  border: 0.02rem solid #fff;
}

.news-openclass {
  padding: 0.58rem 2.6rem 0rem 2.3rem;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  gap: 0.4rem;
  /* background-image: url(../images/news-openclass-bg.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center; */
}

.two-div {
  background-image: url(../images/news-openclass-bg.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: bottom;
}

.openclass-container,
.news-container {
  width: calc(50% - 0.2rem);
}

.news-container {
  position: relative;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.25rem;
  padding: 0 0.16rem;
  box-sizing: border-box;
  padding-bottom: 0.1rem;
}

.section-title {
  font-size: 0.36rem;
  color: #333333;
  font-weight: bold;
  margin: 0;
  font-family: "Noto Serif SC", "思源宋体", "Source Han Serif SC", serif;
}

.more-link {
  font-size: 0.14rem;
  color: #333;
  text-decoration: none;
}

.more-link:hover {
  color: #385acd;
}

.openclass-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.openclass-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 0.16rem;
  box-sizing: border-box;
  height: 0.76rem;
  border-bottom: 0.01rem dashed #e8e8e8;
  position: relative;
  overflow: hidden;
}

.openclass-item:hover {
  background: #AA0000;
}

.openclass-item.active {
  background: #AA0000;
}

.item-title {
  font-size: 0.18rem;
  color: #333333;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding-right: 0.2rem;
}

.openclass-item:hover .item-title {
  color: #ffffff;
}

.openclass-item.active .item-title {
  color: #ffffff;
}

.register-btn {
  font-size: 0.14rem;
  color: #9B0000;
  width: 0.9rem;
  height: 0.24rem;
  line-height: 0.24rem;
  text-align: center;
  background: #E6D7C5;
  border-radius: 0.12rem;
  text-decoration: none;
  white-space: nowrap;
}

.register-btn-disabled {
  background-color: #D6D6D6;
  color: #ffffff;
}

.openclass-item:hover .register-btn {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.register-btn:hover {
  background: #003d99;
}

.news-swiper {
  width: 100%;
  height: 6.1rem;
  overflow: hidden;
}

.news-card {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.news-img {
  width: 100%;
  height: 4.4rem;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.news-img:hover {
  transform: scale(1.05);
}

.news-content {
  z-index: 2;
  width: 6.2rem;
  height: 0.8rem;
  border-radius: 0px 0.4rem 0px 0px;
  margin-top: -40px;
  padding: 0;
  display: flex;
  align-items: center;
  color: #ffffff;
  background: #AA0000;
  font-family: Objectivity;
}

.news-title {
  color: #ffffff;
  font-size: 0.2rem;
  font-weight: 600;
  margin: 0 0 0.1rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}


.news-date {
  font-size: 0.13rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-left: 0.19rem;
  margin-right: 0.26rem;
  margin-top: 0.04rem;
}

.news-date .date {
  font-size: 0.28rem;
  color: #ffffff;
}

.news-date .year {
  font-size: 0.12rem;
  color: #ffffff;
}




.news-date img {
  width: 0.16rem;
  height: 0.16rem;
  margin-right: 0.09rem;
}

.news-pagination {
  position: absolute;
  z-index: 4;
  bottom: 0.7rem !important;
  right: 0.2rem;
  text-align: center !important;
}

.news-pagination .swiper-pagination-bullet {
  width: 0.14rem;
  height: 0.14rem;
  background: #D6D6D6;
  border-radius: 50%;
  opacity: 1;
  box-sizing: border-box;
}

.news-pagination .swiper-pagination-bullet-active {
  background: #AA0000;
}

.wsmxzwm {
  width: 100%;
  height: 6.6rem;
  position: relative;
  background: url(../images/wsmxzwm_bg.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  display: flex;
  align-items: center;
  padding-left: 2.6rem;
  box-sizing: border-box;
  margin-bottom: 0.72rem;
}

.wsmxzwm-content {
  color: #ffffff;
}

.wsmxzwm-title {
  font-size: 0.36rem;
  font-weight: 600;
  margin: 0 0 0.2rem;
  font-family: "Noto Serif SC", "思源宋体", "Source Han Serif SC", serif;
}

.wsmxzwm-bot {
  width: 0.4rem;
  height: 0.06rem;
  background: #F4F4F4;
}

.wsmxzwm-subtitle {
  font-size: 0.28rem;
  font-family: Microsoft YaHei;
  font-weight: bold;
  margin: 0 0 0.15rem;
  position: relative;
  height: 1.4rem;
}

.wsmxzwm-subtitle .one {
  position: absolute;
  top: 0.68rem;
  left: 0;
  z-index: 2;
}

.wsmxzwm-subtitle .two {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  font-family: DIN;
  font-weight: bold;
  font-size: 100px;
  color: #FFFFFF;
  font-style: italic;
  opacity: 0.1;
}

.wsmxzwm-desc {
  font-family: Microsoft YaHei;
  font-size: 0.16rem;
  margin: 0 0 0.3rem;
  opacity: 0.9;
}

.wsmxzwm-btns {
  display: flex;
  gap: 0.2rem;
}

.wsmxzwm-btn {
  font-family: Microsoft YaHei;
  font-size: 0.16rem;
  color: #ffffff;
  width: 1.3rem;
  height: 0.36rem;
  border-radius: 0.18rem;
  border: 1px solid #FFFFFF;
  display: flex;
  justify-content: center;
  align-items: center;
}

.wsmxzwm-btn:hover {
  background: #ffffff;
  color: #0055cc;
}

.advantage-wrap {
  background-color: #F4F4F4;
  position: absolute;
  right: 0;
  bottom: -0.72rem;
  width: 11.76rem;
  height: 1.8rem;
  overflow: hidden;
  z-index: 3;
}

.advantage-inner {
  display: flex;

}

/* 单个优势卡片 均分宽度 */
.advantage-item {
  width: 2.3rem;
  height: 1.8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.24rem;
  position: relative;
  background-color: #F4F4F4;
  cursor: pointer;
}

/* 第二个卡片高亮蓝色背景 */
.advantage-item.active,
.advantage-item.selected {
  background-color: #E6D7C5;
  color: #fff;
}

/* 半透明大号数字背景水印 */
.water-num {
  font-family: HelveticaNeue;
  position: absolute;
  font-size: 1.22rem;
  font-weight: 400;
  color: #FFFFFF;
  font-style: italic;
  z-index: 1;
}

.advantage-item.active .water-num,
.advantage-item.selected .water-num {
  opacity: 0.12;
  color: #fff;
}

/* 图标容器 */
.icon-box {
  width: 0.6rem;
  height: 0.6rem;
  position: relative;
  z-index: 2;
}

.icon-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* 文字标题 */
.item-text {
  font-weight: 400;
  font-size: 0.18rem;
  color: #333333;
  position: relative;
  z-index: 2;
}

/* 模块外层容器 */
.teaching-wrap {
  /* width: calc(100% - 5.2rem); */
  /* margin: 0.5rem auto; */
  padding: 0rem 2.6rem;
  box-sizing: border-box;
  overflow: visible;
  position: relative;
  padding-bottom: 1.1rem;
  background: url(../images/teaching_bg.png) no-repeat;
  background-size: cover;
  background-position: center;
}

/* 头部标题栏 flex左右分布 */
.teaching-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.teaching-header h2 {
  margin: 0;
  width: 2.44rem;
  height: 1.6rem;
  line-height: 2.3rem;
  font-weight: bold;
  font-size: 0.36rem;
  color: #333333;
  background: url(../images/jxdt_title_bg.png);
  background-position: 0 -0.2rem;
  font-family: "Noto Serif SC", "思源宋体", "Source Han Serif SC", serif;
}

.teaching-header a {
  font-size: 0.16rem;
  color: #333;
  font-weight: 400;
  text-decoration: none;
  padding-top: 0.5rem;
}

/* 轮播导航按钮 */
.teaching-prev,
.teaching-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  background: rgba(0, 0, 0, 0.2);
  transition: background 0.3s ease;
}

.teaching-prev {
  left: 6.4rem;
}

.teaching-next {
  right: 6rem;
}

.teaching-prev::after,
.teaching-next::after {
  content: '';
  display: block;
  width: 10px;
  height: 10px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  position: absolute;
  top: 50%;
  left: 50%;
}

.teaching-prev::after {
  transform: translate(-30%, -50%) rotate(-135deg);
}

.teaching-next::after {
  transform: translate(-70%, -50%) rotate(45deg);
}

.teaching-prev:hover,
.teaching-next:hover {
  background: #9B0000;
}

/* 教学动态轮播 */
.teaching-swiper {
  width: 100%;
  height: 4.42rem;
  overflow: hidden;
  padding-bottom: 0.3rem;
  padding-top: 0.2rem;
  padding-left: 0.2rem;
}

.teaching-swiper .swiper-wrapper {
  display: flex;
  align-items: center;
}

.teaching-swiper .swiper-slide-active {
  height: 4.42rem !important;
  width: 5.7rem !important;
}

.teaching-swiper .swiper-slide-prev {
  width: 3.4rem !important;
  height: 3.04rem !important;
}

.teaching-swiper .swiper-slide-next {
  width: 3.4rem !important;
  height: 3.04rem !important;
}

.teach-card {
  width: 100%;
  height: 100%;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}

.teach-corner {
  position: absolute;
  top: -10px;
  left: -10px;
  width: 1.2rem;
  height: 1rem;
  background: #AA0000;
  z-index: -1;
}

.teach-img {
  width: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.teaching-swiper .swiper-slide-active .teach-img {
  height: 3.44rem;
}

.teaching-swiper .swiper-slide:not(.swiper-slide-active) .teach-img {
  height: 2.04rem;
}

.teach-text {
  padding: 0 0.3rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.teaching-swiper .teach-text {
  padding: 0.2rem 0.3rem;
}

.teach-title {
  font-size: 0.18rem;
  color: #333;
  line-height: 1.5;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-family: Microsoft YaHei;
  font-weight: 400;
}

/* .teaching-swiper .swiper-slide-active .teach-title {
  font-size: 0.18rem;
  font-weight: 400;
  color: #333333;
} */

.campus-wrap {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding-bottom: 0.6rem;
  padding: 0.62rem 2.6rem 0.72rem 2.6rem;
  box-sizing: border-box;
  background: url(../images/campus_bg.png);
}

.campus-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.3rem;
}

.campus-header h2 {
  font-size: 0.36rem;
  color: #333;
  font-weight: bold;
  margin: 0;
  font-family: "Noto Serif SC", "思源宋体", "Source Han Serif SC", serif;
}

.campus-header a {
  text-decoration: none;
  font-weight: 400;
  font-size: 0.16rem;
  color: #333333;
}

.campus-swiper {
  width: 100%;
  overflow: hidden;
}

.campus-card {
  overflow: hidden;
}

.campus-card img {
  width: 100%;
  height: 2.36rem;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.campus-card img:hover {
  transform: scale(1.05);
}

.campus-label {
  padding: 0.15rem;
  color: #fff;
  text-align: center;
  font-weight: 400;
  font-size: 0.18rem;
  color: #333333;
}

.campus-pagination {
  position: absolute;
  bottom: 0.68rem;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
}

.campus-pagination .swiper-pagination-bullet {
  width: 0.12rem;
  height: 0.12rem;
  background: #D8D8D8;
  opacity: 1;
  margin: 0 0.1rem;
}

.campus-pagination .swiper-pagination-bullet-active {
  width: 0.28rem;
  height: 0.28rem;
  background: radial-gradient(circle,
      #ff7800 40%,
      transparent 40%,
      transparent 60%,
      rgba(255, 120, 0, 0.35) 60%,
      rgba(255, 120, 0, 0.35) 100%);
}

/* ========== 培训项目（首页） ========== */
.training-program-index {
  width: 100%;
  padding: 0.33rem 2.6rem 0rem;
  box-sizing: border-box;
  text-align: center;
}

.program-content {
  width: 100%;
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.21rem;
}

.program-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* justify-content: center; */
  padding-top: 0.25rem;
  flex: 1;
  max-width: 2.4rem;
  height: 1.7rem;
  cursor: pointer;
  transition: transform 0.3s ease;
  width: 2.16rem;
  height: 1.5rem;
  background: #fff;
  box-shadow: 0px 0px 12px 0px rgba(155, 0, 0, 0.03);
  border-radius: 16px;
}

.program-item:hover {
  background: url(../images/program-item-bg.png) no-repeat center center;
  background-size: 130% 130%;
}

.program-item:hover .program-item-title {
  color: #fff;
}

.program-item .program-item-img {
  width: 0.56rem;
  height: 0.56rem;
  margin-bottom: 0.18rem;
  position: relative;
}

.program-item .program-item-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.program-item .program-item-img img:nth-child(2) {
  display: none;
}

.program-item:hover .program-item-img img:nth-child(1) {
  display: none;
}

.program-item:hover .program-item-img img:nth-child(2) {
  display: block;
}

.program-item .program-item-title {
  height: 0.4rem;
  font-size: 0.16rem;
  color: #333;
  text-align: center;
  line-height: 1.4;
  font-weight: 500;
  font-family: Microsoft YaHei;
}



@keyframes floatPanel {
  0% {
    right: 0px;
    top: 0%;
    transform: none;
  }

  100% {
    right: calc(100vw - 130px);
    top: calc(100vh - 370px);
    transform: none;
  }
}

.consultation-panel {
  position: fixed;
  right: 0.2rem;
  top: 50%;
  transform: translateY(-50%);
  width: 130px;
  background-color: #AA0000;
  box-shadow: -0.02rem 0 0.12rem rgba(0, 0, 0, 0.1);
  z-index: 9999;
  overflow: hidden;
}

.panel-header {
  background: #AA0000;
  color: #ffffff;
  padding: 0 15px;
  box-sizing: border-box;
  height: 44px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.panel-title {
  font-size: 16px;
  font-weight: 600;
}

.close-btn {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 24px;
  cursor: pointer;
  padding: 0;
  width: 24px;
  height: 24px;
  line-height: 24px;
  text-align: center;
}

.close-btn:hover {
  opacity: 0.8;
}

.panel-content {
  /* text-align: center; */
  margin: 0 1px 0 4px;
  box-sizing: border-box;
  background-color: white;
  padding: 21px 12px 14px 12px;
  box-sizing: border-box;
  font-weight: 400;
  font-size: 14px;
  color: #333333;
}

.panel-text {
  margin: 0;
  margin-bottom: 8px;
}

.panel-phone {
  margin: 8px 0;
}

.panel-teacher {
  margin: 5px 0;
}

.contact-btn {
  width: 100px;
  height: 30px;
  line-height: 30px;
  font-size: 14px;
  color: #AA0000;
  background: #F2E4D3;
  border: none;
  border-radius: 18px;
  cursor: pointer;
  margin-top: 10px;
  transition: background 0.3s ease;
}

.contact-btn:hover {
  background: linear-gradient(90deg, #FF6600, #FF8C00);
}

.qr-code {
  width: 100px;
  height: 100px;
  margin-top: 15px;
}

.qr-code img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.back-to-top {
  width: 100%;
  height: 42px;
  font-size: 12px;
  color: #ffffff;
  background: #AA0000;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: background 0.3s ease;
}

.back-to-top img {
  width: 14px;
  height: 14px;
  object-fit: contain;
}

.back-to-top:hover {
  background: linear-gradient(90deg, #df0404, #AA0000);
}