.page-campuses .campus-section { padding-top: 86px; }
.page-campuses .page-intro { background: url("../../assets/images/campuses-banner-bg.png") center/cover no-repeat; min-height: 460px; display: flex; align-items: flex-start; padding-top: 60px; color: #1a1a1a; }
.page-campuses .page-intro h1 { color: #1a1a1a; font-family: "AlimamaShuHeiTi", sans-serif; font-size: 36px; font-weight: 700; font-style: normal; margin-bottom: 16px; }
.page-campuses .page-intro p { color: #666; font-size: 16px; line-height: 1.8; max-width: 520px; margin-bottom: 28px; }
.page-campuses .page-intro .section-kicker { color: #2643CE; }
.page-campuses .banner-actions { margin-top: 8px; }
.page-campuses .banner-actions .button-primary { min-width: 156px; min-height: 46px; padding: 0 28px; font-size: 14px; font-weight: 700; border-radius: 8px; }

/* 隐藏底部 CTA 横幅，需要恢复时删除此行 */
body[data-page="campuses"] .cta-section { display: none; }



/* ===== 校区坐标标题 - 居中带装饰线条 ===== */
.page-campuses .campus-location-heading {
  text-align: center;
  margin: 60px 0 36px;
}
.page-campuses .section-heading-v3 h2 {
  font-family: AlimamaShuHeiTi, AlimamaShuHeiTi !important;
  font-weight: bold !important;
  font-size: 32px !important;
  color: #333333 !important;
}
.page-campuses .campus-location-heading h3 {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 10px;
  font-family: AlimamaShuHeiTi, AlimamaShuHeiTi;
  font-weight: bold;
  font-size: 32px;
  color: #333333;
}
.page-campuses .campus-location-heading h3::before,
.page-campuses .campus-location-heading h3::after {
  content: "";
  width: 144px;
  height: 26px;
  border-radius: 100px 0 0 100px;
  background:
    linear-gradient(180deg, #fff 0%, #fff 53.8%, transparent 53.8%),
    linear-gradient(90deg, transparent, #B9D3FF);
  background-blend-mode: multiply;
  box-shadow: 0 12px 0 0 rgba(185,211,255,0.55);
}
.page-campuses .campus-location-heading h3::after {
  background: linear-gradient(90deg, rgba(38,67,206,0.4), rgba(38,67,206,0.15));
}
.page-campuses .campus-location-heading p {
  margin: 0;
  color: #888;
  font-size: 14px;
}

/* ===== 校区坐标模块 - 左信息卡片 右地图 ===== */
.page-campuses .campus-map-shell {
  position: relative;
  display: flex;
  min-height: 420px;
  overflow: visible;
  border: none;
  border-radius: 20px;
  background: #f5f9ff;
  box-shadow: 0 4px 24px rgba(38,67,206,0.08);
  margin-bottom: -30px;
}
.page-campuses .campus-map-shell::after {
  content: "";
  position: absolute;
  bottom: -80px;
  left: 50%;
  width: 100vw;
  height: 400px;
  background: #306EE4;
  transform: translateX(-50%);
  z-index: -1;
}
.page-campuses .campus-map-shell > img {
  position: relative !important;
  flex: 1 1 0 !important;
  width: auto;
  min-width: 0;
  height: 420px;
  object-fit: cover;
  inset: auto !important;
  top: auto !important;
  border-radius: 0 20px 20px 0;
  overflow: hidden;
}
.page-campuses .campus-map-card {
  position: relative;
  z-index: 2;
  top: auto;
  right: auto;
  bottom: auto;
  left: auto;
  width: 500px;
  flex-shrink: 0;
  padding: 32px 32px;
  border: none;
  border-radius: 20px 0 0 20px;
  background: #f5f9ff;
  box-shadow: none;
  backdrop-filter: none;
  transform: none;
  overflow: hidden;
  box-sizing: border-box;
}
.page-campuses .campus-map-card .campus-city {
  display: none;
}
.page-campuses .campus-map-card h3 {
  margin: 0 0 20px;
  font-size: 26px;
  font-weight: 700;
  color: #1a1a1a;
}
.page-campuses .campus-map-card p {
  display: block;
  grid-template-columns: none;
  gap: 0;
  margin: 8px 0;
  color: #333;
  font-size: 14px;
  line-height: 1.6;
}
.page-campuses .campus-map-card p b {
  display: inline;
  color: #1a1a1a;
  font-weight: 600;
  margin-right: 4px;
}
.page-campuses .campus-map-card .campus-transit-list {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}
.page-campuses .campus-map-card .campus-transit-list li {
  padding: 3px 0;
  color: #333;
  font-size: 14px;
  line-height: 1.6;
}
.page-campuses .campus-map-card .campus-features {
  display: none;
}
.page-campuses .campus-map-card .button {
  display: none;
}

/* 响应式 */
@media (max-width: 900px) {
  .page-campuses .campus-map-shell {
    flex-direction: column;
    min-height: 0;
  }
  /* 纵向 flex 下基础规则的 flex-basis:0 会把地图高度压成 0，必须重置 */
  .page-campuses .campus-map-shell > img {
    flex: none !important;
    width: 100%;
    height: 240px;
    border-radius: 0 0 20px 20px;
    border-top: 1px solid #e3ecf9;
  }
  .page-campuses .campus-map-card {
    width: 100%;
    padding: 26px 20px 24px;
    border-radius: 20px 20px 0 0;
  }
  .page-campuses .campus-map-card h3 {
    margin: 0 0 14px;
    font-size: 22px;
  }
  .page-campuses .campus-map-card p {
    margin: 6px 0;
    font-size: 13px;
  }
  .page-campuses .campus-map-card .campus-transit-list li {
    font-size: 13px;
  }
  .page-campuses .campus-location-heading h3 { font-size: 24px; }
  .page-campuses .campus-location-heading h3::before,
  .page-campuses .campus-location-heading h3::after { width: 50px; }
}

/* 隐藏三地实训基地标题模块 */
.page-campuses .section-hero-heading { display: none; }

/* 隐藏校区详情卡片 */
.page-campuses .campus-intro-card { display: none; }

/* 隐藏校区选择卡片 */
.page-campuses .campus-detail-tabs { display: none; }


/* ===== 开班计划模块新样式 ===== */
.plan-section {
  padding: 0 0 60px;
}
.plan-section .section-heading-v3 {
  margin-bottom: 40px;
}
.plan-layout {
  display: flex;
  gap: 24px;
  align-items: stretch;
}
/* 左侧课程标签栏 */
.plan-course-sidebar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 226px;
  flex-shrink: 0;
}
.plan-course-sidebar button {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 226px;
  height: 98px;
  padding: 0 20px 0 32px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(0deg, #EAF3FF 0%, #D1E3FE 100%);
  color: #1868E2;
  font-family: PingFangSC, "PingFang SC", sans-serif;
  font-size: 22px;
  font-weight: 600;
  line-height: 30px;
  text-align: left;
  font-style: normal;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}
.plan-course-sidebar button::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: #1868E2;
  border-radius: 0 4px 4px 0;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.plan-course-sidebar button[aria-selected="true"] {
  background: linear-gradient(135deg, #d0e0ff 0%, #b8d0ff 100%);
  color: #1a36b8;
  font-weight: 700;
}
.plan-course-sidebar button[aria-selected="true"]::before {
  opacity: 1;
}
.plan-course-sidebar button:hover {
  background: linear-gradient(135deg, #dce8ff 0%, #c4d8ff 100%);
}
/* 右侧内容区 */
.plan-content {
  flex: 1;
  background: url("../../assets/images/campus-plan-bg.png") top right / 60% auto no-repeat, #F9FAFF;
  border-radius: 20px;
  padding: 32px 36px;
  min-height: 320px;
  overflow: hidden;
}
.plan-content-title {
  margin: 0 0 24px;
  font-size: 20px;
  font-weight: 700;
  color: #1a2a4a;
}
/* 开班列表 - 两列 */
.plan-list {
  display: flex;
  gap: 40px;
}
.plan-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.plan-column:first-child {
  border-right: 1px solid rgba(38, 67, 206, 0.15);
  padding-right: 40px;
}
.plan-item {
  display: grid;
  grid-template-columns: auto auto auto;
  gap: 24px;
  align-items: center;
  padding: 12px 0;
}
.plan-class {
  font-size: 14px;
  font-weight: 400;
  color: #2f3848;
  min-width: 100px;
}
.plan-date {
  font-size: 14px;
  color: #1a1a1a;
  font-weight: 500;
  white-space: nowrap;
}
.plan-status {
  font-family: PingFangSC, "PingFang SC", sans-serif;
  font-size: 14px;
  font-weight: 400;
  margin-left: auto;
  padding: 0;
  font-style: normal;
  color: #2f3848;
  background: none;
  border-radius: 0;
}
.plan-status-hot {
  color: #e53935;
}
.plan-status-normal {
  color: #8a9ab5;
}
.plan-status-blue {
  color: #2f3848;
}
/* 空状态 */
.plan-list .empty-state {
  padding: 40px;
  text-align: center;
  color: #8a9ab5;
  font-size: 15px;
}

/* 响应式 */
@media (max-width: 900px) {
  .plan-layout {
    flex-direction: column;
  }
  .plan-course-sidebar {
    width: 100%;
    flex-direction: row;
    overflow-x: auto;
  }
  .plan-course-sidebar button {
    flex: 0 0 auto;
    min-height: 48px;
    font-size: 15px;
  }
  .plan-list {
    flex-direction: column;
    gap: 0;
  }
  .plan-column:first-child {
    border-right: none;
    padding-right: 0;
    border-bottom: 1px solid rgba(38, 67, 206, 0.15);
    padding-bottom: 20px;
    margin-bottom: 20px;
  }
}

/* 实训基地页面背景色改为白色 */
.page-campuses .campus-section { background: #fff; }


/* 筹备中样式 */
.plan-coming-soon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  font-size: 24px;
  font-weight: 700;
  color: #8a9ab5;
  letter-spacing: 4px;
}


/* ===== 松山湖校区实景 - 上下布局 ===== */
.page-campuses .campus-gallery-shell {
  margin-top: 20px;
}
.page-campuses .campus-gallery-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 24px;
  border-bottom: 1px solid #e0e6f0;
}
.page-campuses .campus-gallery-tab {
  position: relative;
  padding: 16px 0;
  font-size: 20px;
  font-weight: 600;
  color: #666;
  text-align: center;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color 0.2s ease;
}
.page-campuses .campus-gallery-tab::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 3px;
  background: transparent;
  transition: background 0.2s ease;
}
.page-campuses .campus-gallery-tab.is-active {
  color: #2643CE;
}
.page-campuses .campus-gallery-tab.is-active::after {
  background: #2643CE;
}
.page-campuses .campus-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.page-campuses .campus-gallery-item {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  width: 290px;
  height: 190px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.page-campuses .campus-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.page-campuses .campus-gallery-item:hover img {
  transform: scale(1.05);
}

/* 响应式 */
@media (max-width: 900px) {
  .page-campuses .campus-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .page-campuses .campus-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .page-campuses .campus-gallery-item {
    width: 100%;
    height: auto;
    aspect-ratio: 290 / 190;
  }
}


/* ===== 松山湖校区实景副标题 - 和校区坐标副标题保持一致 ===== */
.page-campuses .section-heading-v3 p {
  color: #888;
  font-size: 14px;
}


/* ===== 实景图片预览弹层 ===== */
.campus-gallery-item {
  cursor: pointer;
}
.image-preview-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.85);
  padding: 40px;
}
.image-preview-modal.show {
  display: flex;
}
.image-preview-body {
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.image-preview-body img {
  max-width: 100%;
  max-height: 85vh;
  box-shadow: 0 10px 60px rgba(0, 0, 0, 0.5);
}
.image-preview-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.image-preview-close:hover {
  background: rgba(255, 255, 255, 0.3);
}


/* 移动端实训基地banner */
@media (max-width: 600px) {
  .page-campuses .page-intro {
    background: url("../../assets/images/campuses-banner-mobile.png") center / cover no-repeat;
    min-height: 530px;
    padding-top: 40px;
  }
  .page-campuses .page-intro h1 {
    margin-bottom: 12px;
  }
  .page-campuses .page-intro p {
    margin-bottom: 20px;
  }
}


/* Banner标题两行样式 */
.page-campuses .page-intro h1 {
  line-height: 1.3;
}
.page-campuses .page-intro h1 .intro-line1 {
  display: block;
  color: #1a1a1a;
}
.page-campuses .page-intro h1 .intro-line2 {
  display: block;
  color: #2643CE;
}

/* 移动端banner标题 */
@media (max-width: 600px) {
  .page-campuses .page-intro h1 {
    font-size: 40px;
  }
}
