/* 轮播外层容器 */
.banner {
  width: calc(100% - 3.2rem);
  overflow: hidden;
  box-sizing: border-box;
  margin: 0 auto;
}

.banner-swiper {
  width: 100%;
  height: 5.3rem;
  position: relative;
}

.banner-item {
  display: flex;
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.banner-left {
  width: 8rem;
  height: 5.2rem;
  overflow: hidden;
}

.banner-left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.banner-left img:hover {
  transform: scale(1.05);
}

.banner-right {
  width: 8rem;
  height: 5.2rem;
}

.banner-right {
  margin-right: 8px;
  padding: 0rem 0.35rem;
  box-sizing: border-box;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  box-shadow: 0px 0px 12px 0px rgba(8,30,75,0.2);
}

.banner-title {
  font-size: 0.28rem;
  color: #1a1a1a;
  line-height: 1.4;
  font-weight: 400;
  margin: 0.76rem 0 0.43rem 0;
}

.banner-desc {
  font-size: 0.16rem;
  color: #787878;
  line-height: 0.3rem;
  font-weight: 400;
  margin: 0;
  height: 2.34rem;
  box-sizing: border-box;
  word-break: break-all;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 8;
  /* 这里是超出几行省略 */
  overflow: hidden;
}

.banner-date {
  display: flex;
  align-items: center;
  font-size: 0.16rem;
  font-family: Objectivity;
  font-weight: 500;
  color: #888;
  margin-top: 0.1rem;
}

.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;
}

/* Swiper 分页指示器 */
.banner .swiper-pagination {
  left: 50% !important;
  transform: translateX(-50%);
  bottom: 0.3rem !important;
  width: auto !important;
  background: rgba(8, 18, 80, 0.3);
  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 #FF7E00;
}

.news-openclass {
  padding: 0.7rem 2.6rem 0.8rem 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;
}

.openclass-container,
.news-container {
  width: calc(50% - 0.2rem);
}

.news-container {
  position: relative;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 0.16rem;
  box-sizing: border-box;
  padding-bottom: 0.36rem;
}

.section-title {
  font-size: 0.36rem;
  color: #333333;
  font-weight: 400;
  margin: 0;
}

.more-link {
  font-size: 0.16rem;
  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.75rem;
  border-bottom: 0.01rem dashed #e8e8e8;
  position: relative;
  overflow: hidden;
}

.openclass-item:last-child {
  border-bottom: none;
}

.openclass-item:hover,
.openclass-item.active {
  background-image: url(../images/kbgg_bg.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.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,
.openclass-item.active .item-title {
  color: #ffffff;
  font-weight: bold;
}

.register-btn {
  width: 1rem;
  font-size: 0.14rem;
  color: #ffffff;
  padding: 0.02rem 0.2rem;
  box-sizing: border-box;
  background: linear-gradient(90deg, #0035A1, #4A92EC);
  border-radius: 0.12rem;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.3s ease;
}

.register-btn-disabled {
  background: #D6D6D6;
  color: #ffffff;
}

.openclass-item:hover .register-btn {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.openclass-item.active .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: 4rem;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.news-img:hover {
  transform: scale(1.05);
}

.news-content {
  flex: 1;
  padding: 0.34rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: url(../images/xwggtext_bg.png);
  color: #ffffff;
}

.news-title {
  font-size: 0.24rem;
  font-weight: 400;
  margin: 0 0 0.1rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-desc {
  font-size: 0.16rem;
  line-height: 1.6;
  margin: 0 0 0.1rem;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.news-date {
  font-size: 0.16rem;
  display: flex;
  align-items: center;
}

.news-date img {
  width: 0.16rem;
  height: 0.16rem;
  margin-right: 0.09rem;
}

.news-pagination {
  position: absolute;
  z-index: 4;
  bottom: 0.15rem;
  right: 0.2rem;
  text-align: right !important;
}

.news-pagination .swiper-pagination-bullet {
  width: 0.14rem;
  height: 0.14rem;
  background: #ffffff;
  border-radius: 50%;
  opacity: 1;
  box-sizing: border-box;
}

.news-pagination .swiper-pagination-bullet-active {
  background: transparent;
  border: 0.02rem solid #FF7E00;
}

.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;
}

.wsmxzwm-content {
  color: #ffffff;
}

.wsmxzwm-title {
  font-size: 0.36rem;
  font-weight: 600;
  margin: 0 0 0.2rem;
}

.wsmxzwm-bot {
  width: 0.4rem;
  height: 0.06rem;
  background: #F4F4F4;
}

.wsmxzwm-subtitle {
  font-size: 0.28rem;
  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-size: 0.16rem;
  margin: 0 0 0.3rem;
  opacity: 0.9;
}

.wsmxzwm-btns {
  display: flex;
  gap: 0.2rem;
}

.wsmxzwm-btn {
  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: #0047AA;
  color: #fff;
}

/* 半透明大号数字背景水印 */
.water-num {
  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;
}

.advantage-item.active .item-text,
.advantage-item.selected .item-text {
  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;
  overflow: hidden;
  position: relative;
  padding-bottom: 1.36rem;
}

/* 头部标题栏 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: 1.6rem;
  font-weight: 400;
  font-size: 0.36rem;
  color: #333333;
  background: url(../images/jxdt_title_bg.png);
}

.teaching-header a {
  font-size: 0.16rem;
  color: #333;
  font-weight: 400;
  text-decoration: none;
  padding-top: 0.5rem;
}

/* Swiper容器 */
.dynamic-swiper {
  width: 100%;
}

/* 单张卡片 内部垂直flex */
.dynamic-card {
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 12px #eee;
  display: flex;
  flex-direction: column;
}

/* 卡片图片占位 */
.card-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.card-img:hover {
  transform: scale(1.05);
}

/* 卡片文字区域 */
.card-text {
  padding: 33px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.card-title {
  font-size: 0.2rem;
  color: #111;
  line-height: 1.5;
  height: 0.6rem;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  margin: 0;
}

.card-desc {
  font-size: 0.14rem;
  color: #666;
  line-height: 1.6;
  height: 0.672rem;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  margin: 0;
}

.card-date {
  margin-top: 50px;
  display: flex;
  align-items: center;
  font-family: Objectivity;
  font-weight: 500;
  font-size: 16px;
  color: #000000;
}

.card-date img {
  width: 0.16rem;
  height: 0.16rem;
  margin-right: 0.09rem;
}

/* 分页指示器 底部居中 */
.dynamic-pagination {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.11rem 0.33rem;
  display: inline-flex;
  align-items: center;
}

.dynamic-pagination .swiper-pagination-bullet {
  width: 0.16rem;
  height: 0.16rem;
  background: #D8D8D8;
  opacity: 1;
  margin: 0 0.66rem;
}

.dynamic-pagination .swiper-pagination-bullet-active {
  /* background: linear-gradient(90deg, #FF4800, #FFB03F);
  border: 0.01rem solid #FF7E00; */
  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%);
}

.campus-wrap {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding-bottom: 0.6rem;
  padding: 0.62rem 2.6rem 1.34rem 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: 400;
  margin: 0;
}

.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.39rem 2.6rem 0.4rem;
  box-sizing: border-box;
}

.program-content {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0;
}

.program-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  max-width: 1.6rem;
  height: 1.6rem;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.program-item:hover {
  transform: translateY(-0.04rem);
}

.program-item .program-item-img {
  width: 0.84rem;
  height: 0.84rem;
  margin-bottom: 0.15rem;
}

.program-item .program-item-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.program-item .program-item-title {
  font-size: 0.16rem;
  color: #333;
  text-align: center;
  line-height: 1.4;
  font-weight: 400;
}

.program-item .program-item-title:hover {
  color: #385acd;
}

.consultation-panel {
  position: fixed;
  right: 0.2rem;
  top: 50%;
  transform: translateY(-50%);
  width: 130px;
  background-color: #1A4DB5;
  box-shadow: -0.02rem 0 0.12rem rgba(0, 0, 0, 0.1);
  z-index: 9999;
  overflow: hidden;
}

.panel-header {
  background: #1A4DB5;
  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: 3px;
  font-size: 14px;
  color: #fff;
  background: #F3940C;
  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: 100%;
  height: 100px;
  margin-top: 15px;
}

.qr-code img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.back-to-top {
  width: 100%;
  height: 40px;
  font-size: 12px;
  color: #ffffff;
  background: #1A4DB5;
  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);
}