/* 首页优化：首屏学位入口 + 中国高校体系 + 热门留学城市（品牌色 #e84c55 / #0a3d62） */

/* ---------- 首屏：学位入口 ---------- */
.hero-programs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 22px auto 0;
  max-width: 720px;
}

.hp-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.2px;
  text-decoration: none;
  backdrop-filter: blur(6px);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.hp-chip:hover {
  background: #fff;
  color: #0a3d62;
  border-color: #fff;
  transform: translateY(-2px);
}

.hp-chip i {
  font-style: normal;
  opacity: 0.75;
  font-weight: 500;
  font-size: 13px;
}

.hero-note {
  margin: 16px auto 36px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  line-height: 1.6;
  max-width: 620px;
}

.hero-note b {
  color: #fff;
  font-weight: 700;
}

/* ---------- 中国高校体系 ---------- */
.home-system {
  background: #fff;
  padding: 80px 0;
}

.home-system .section_tittle {
  text-align: center;
  margin-bottom: 42px;
}

.home-system .section_tittle h2 {
  font-size: 32px;
  font-weight: 700;
  color: #0a2540;
  margin-bottom: 10px;
}

.home-system .section_tittle p {
  color: #5a6a7e;
  font-size: 16px;
}

.cs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.cs-card {
  position: relative;
  background: #f8fafc;
  border: 1px solid #e4e9f0;
  border-radius: 16px;
  padding: 28px 26px 26px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.cs-card:hover {
  transform: translateY(-4px);
  border-color: #f3c2c6;
  box-shadow: 0 12px 32px rgba(232, 76, 85, 0.12);
}

.cs-level {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 6px;
  background: #e84c55;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.6px;
  margin-bottom: 14px;
}

.cs-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #0a2540;
  margin-bottom: 10px;
  line-height: 1.35;
}

.cs-card p {
  color: #52637a;
  font-size: 14px;
  line-height: 1.75;
  margin-bottom: 0;
  flex: 1 1 auto;
}

.cs-card .cs-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #c73b45;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  margin-top: auto;
  padding-top: 16px;
}

.cs-card .cs-link:hover {
  color: #e84c55;
}

.cs-card .cs-link i {
  font-size: 12px;
}

.cs-note {
  margin-top: 22px;
  text-align: center;
  color: #5a6a7e;
  font-size: 13px;
  line-height: 1.7;
}

/* ---------- 热门留学城市 ---------- */
.cs-cities {
  margin-top: 46px;
  padding-top: 40px;
  border-top: 1px dashed #e4e9f0;
}

.cs-cities h3 {
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  color: #0a2540;
  margin-bottom: 8px;
}

.cs-cities .cs-cities-sub {
  text-align: center;
  color: #5a6a7e;
  font-size: 14px;
  margin-bottom: 24px;
}

.cs-city-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.cs-city {
  display: block;
  padding: 16px 18px;
  border-radius: 12px;
  background: #f6f8fb;
  border: 1px solid #eef2f7;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.cs-city:hover {
  transform: translateY(-3px);
  background: #fff;
  border-color: #e84c55;
}

.cs-city b {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: #0a3d62;
  margin-bottom: 4px;
}

.cs-city span {
  display: block;
  font-size: 12px;
  color: #5a6a7e;
  line-height: 1.5;
}

@media (max-width: 991px) {
  .cs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cs-city-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) {
  .home-system {
    padding: 60px 0;
  }
  .home-system .section_tittle h2 {
    font-size: 26px;
  }
  .cs-grid {
    grid-template-columns: 1fr;
  }
  .cs-city-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 400px) {
  .cs-city-row {
    grid-template-columns: 1fr;
  }
}
