
/* 适合人群 */
.common-section {
  padding: 20px;
  background: #fff;
}
.common-title {
  font-family: MiSans;
  font-size: 20px;
  font-weight: 900;
  line-height: normal;
  text-align: center;
  letter-spacing: 0.1em;

  font-variation-settings: "opsz" auto;
  font-feature-settings: "kern" on;
  color: #3D3D3D;
}
.common-subtitle {
  font-family: MiSans;
  font-size: 10px;
  font-weight: normal;
  line-height: normal;
  text-align: center;
  letter-spacing: 0em;

  font-variation-settings: "opsz" auto;
  font-feature-settings: "kern" on;
  color: #4F4D4D;
}

.footer-country-wrap {
  padding-bottom: 0;
}

.footer-country-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 10px;
}

.country-card {
  position: relative;
  border-radius: 8px 8px 0 0;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  height: 43px;
  cursor: pointer;
}

.country-card:hover {
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

.country-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(2px);
  transform: scale(1.1);
}

/* 红色渐变遮罩：只占约一半，270deg 从右到左，0% 透明 → 62% #ED2E41 */
.country-card-overlay {
  position: absolute;
  width: 60%;
  inset: 0;
  background: linear-gradient(270deg, rgba(255, 255, 255, 0) 0%, #ED2E41 62%);
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
}

.country-card-content {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  box-sizing: border-box;
}

/* 国家卡片内 Swiper - 左侧可滑动区域 */
.country-card-swiper {
  flex: 1;
  min-width: 0;
  width: 100%;
  overflow: hidden;
  height: 100%;
  margin-right: 8px;
}

.country-card-swiper .swiper-wrapper {
  align-items: center;
}

.country-card-swiper .swiper-slide {
  display: flex;
  align-items: center;
  height: 100%;
  box-sizing: border-box;
}

/* 国家中文名称 - 每页一所院校，上下滑动 + 自动轮播 */
.country-card-cn {
  flex-shrink: 0;
  text-align: left;
  font-family: MiSans, -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 14px;
  font-weight: bold;
  line-height: 14px;
  font-variation-settings: "opsz" auto;
  font-feature-settings: "kern" on;
  color: #FFFFFF;
}

/* 国家英文缩写 - 固定在右侧 */
.country-card-en {
  flex-shrink: 0;
  margin-left: auto;
  text-align: right;
  font-family: MiSans, -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 20px;
  font-weight: bold;
  line-height: 14px;
  font-variation-settings: "opsz" auto;
  font-feature-settings: "kern" on;
  color: #FFFFFF;
  opacity: 0.5;
}

/* 全科目覆盖 - 科目标签走马灯 */
.subject-tags-wrap {
  position: relative;
  height: 224px;
  overflow: hidden;
  margin-top: 12px;
  padding: 12px 16px;
  box-sizing: border-box;
}

.subject-tags-fade {
  position: absolute;
  left: 0;
  right: 0;
  height: 96px;
  z-index: 10;
  pointer-events: none;
}

.subject-tags-fade--top {
  top: 0;
  background: linear-gradient(to bottom, #fff 0%, rgba(255,255,255,0.8) 40%, transparent 100%);
}

.subject-tags-fade--bottom {
  bottom: 0;
  background: linear-gradient(to top, #fff 0%, rgba(255,255,255,0.8) 40%, transparent 100%);
}

.subject-tags-track {
  position: relative;
  width: 100%;
  will-change: transform;
  /* 高度由 JS 根据两页标签总高度设置 */
}

.subject-tag {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px 6px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
  font-family: MiSans, -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  max-width: 28%;
  box-sizing: border-box;
}

.subject-tag-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex-shrink: 0;
}

.subject-tag-text {
  overflow: hidden;
  text-overflow: ellipsis;
}

.subject-tag--highlighted {
  background: #ED2E41;
  color: #FFFFFF;
}

.subject-tag--highlighted .subject-tag-icon {
  filter: brightness(0) invert(1);
}

.subject-tag--normal {
  background: #f3f4f6;
  color: #374151;
}

/* 轮播过渡效果 */
.carousel-enter-active,
.carousel-leave-active {
  transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

.carousel-enter-from {
  opacity: 0;
  transform: translateX(20px);
}

.carousel-leave-to {
  opacity: 0;
  transform: translateX(-20px);
}

.carousel-enter-to,
.carousel-leave-from {
  opacity: 1;
  transform: translateX(0);
}

/* 全球化明星讲师团队 - 从右往左无限滑动 */
.teacher-carousel-wrap {
  overflow: hidden;
  margin-top: 12px;
}

.teacher-carousel-track {
  display: flex;
  gap: 16px;
  width: max-content;
  will-change: transform;
}

.teacher-card {
  position: relative;
  flex-shrink: 0;
  width: 200px;
  aspect-ratio: 3 / 4;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  background-color: #90949E;
}

.teacher-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.teacher-card-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 12px;
  background: rgba(255, 255, 255, 0.8);
  font-family: MiSans, -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}

.teacher-card-name {
  font-size: 16px;
  font-weight: bold;
  color: #ED2E41;
  text-align: center;
  margin-bottom: 6px;
}

.teacher-card-desc {
  font-size: 12px;
  color: #374151;
  line-height: 1.4;
  margin: 0 0 2px 0;
}

.teacher-card-desc:last-child {
  margin-bottom: 0;
}

/* 合规与保障 - 五张卡片 */
.guarantee-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}

.guarantee-card {
  position: relative;
  background: #fff;
  border-radius: 12px;
  padding: 12px 14px 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border: 1px solid #f3f4f6;
}

.guarantee-card--full {
  grid-column: 1 / -1;
  text-align: center;
}

.guarantee-card--full .guarantee-card-header {
  justify-content: center;
}

.guarantee-card--full .guarantee-card-line {
  left: 50%;
  transform: translateX(-50%);
}

.guarantee-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.guarantee-card-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
}

.guarantee-card-title {
  font-size: 15px;
  font-weight: bold;
  color: #1f2937;
  margin: 0;
  font-family: MiSans, -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}

.guarantee-card-desc {
  font-size: 11px;
  color: #6b7280;
  line-height: 1.5;
  margin: 0 0 10px 0;
  font-family: MiSans, -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  text-align: left;
}

.guarantee-card-line {
  position: absolute;
  bottom: 12px;
  right: 14px;
  width: 24px;
  height: 2px;
  background: #ED2E41;
  border-radius: 1px;
  opacity: 0.85;
}

/* 万能班长品牌承诺 - 红底轮播 */
.brand-promise-wrap {
  margin-top: 10px;
  background-image: url(../imgs/footer/brand-img.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  padding: 24px 20px 28px;
  border-radius: 5px;
  overflow: hidden;
}

/* .brand-promise-swiper {
  padding-bottom: 28px;
} */

.brand-promise-swiper .swiper-slide {
  padding: 0 12px 12px;
  box-sizing: border-box;
}

.brand-promise-card {
  height: 140px;
  background: #fff;
  border-radius: 12px;
  padding: 18px 20px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  margin: 0;
  box-sizing: border-box;
}

.brand-promise-title {
  font-size: 14px;
  font-weight: bold;
  color: #ED2E41;
  margin: 0 0 12px 0;
  line-height: 1.4;
  font-family: MiSans, -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}

.brand-promise-desc {
  font-size: 12px;
  color: #1f2937;
  line-height: 1.55;
  margin: 0;
  font-family: MiSans, -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}

.brand-promise-pagination {
  position: relative;
  margin-top: 4px;
}

.brand-promise-pagination .swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.6);
  opacity: 1;
}

.brand-promise-pagination .swiper-pagination-bullet-active {
  background: #fff;
  width: 20px;
  border-radius: 4px;
}

 .brand-promise-mission {
  margin-top: 10px;
} 

.brand-promise-mission-text {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.95);
  margin: 0;
  text-align: left;
  font-family: MiSans, -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}