/*
Theme Name: TCC日本語学校
Description: TCC日本語学校官方WordPress主题，1:1还原原始HTML设计
Version: 1.0.0
Author: TCC
Author URI: http://tcc-ji.com.cn
Text Domain: tcc-theme
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
  --brand: #4F8FEF;
  --brand-dark: #2F6FE0;
  --text: #1F2A37;
  --muted: #5B6B84;
  --bg: #F6F8FC;
  --line: #E6EAF2;
  --accent: #F4C542;
  --shadow: 0 10px 25px rgba(20, 40, 80, .08);
  --shadow2: 0 6px 18px rgba(20, 40, 80, .10);
  --radius: 16px;
  --radius-lg: 22px;
  --radiusLg: 24px;

  --container: 1180px;
  /* 保留旧的 --wrap 变量用于其他 sections */
  --wrap: 1120px;

  /* Process page variables */
  --muted2: #99a1af;
  --line-strong: #e7e7e7;
  --blue: #70acff;
  --blue-strong: #155dfc;
  --yellow: #ffdb6f;
  --soft-blue: #eff6ff;
  --soft-grad: linear-gradient(135deg, #eff6ff 0%, #ecfeff 100%);
  --shadow-sm: 0px 4px 6px -4px rgba(0, 0, 0, 0.1);

  /* Album page variables */
  --deep: #1C3F70;
  --cardShadow: 0 1px 2px -1px rgba(0, 0, 0, .10);

  /* Guide page variables */
  --shadowSm: 0 1px 2px -1px rgba(0, 0, 0, 0.1);
  --shadowGuide: 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --radiusGuide: 16px;
  --softLine: #f3f4f6;
}

* {
  box-sizing: border-box;
}

html {
  margin: 0 !important;
  padding: 0 !important;
  width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0 !important;
  padding: 0 !important;
  width: 100%;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI",
    "PingFang SC", "Hiragino Sans", "Noto Sans CJK SC", "Microsoft YaHei", Arial, sans-serif;
  color: var(--text);
  background: #fff;
  overflow-x: hidden;
}

/* 全局主内容区域 - 补偿固定导航栏高度 */
main {
  padding-top: 88px;
  /* 导航栏高度 */
}

/* 首页hero有自己的padding-top，避免重复 */
main:has(.hero) {
  padding-top: 0;
}


/* 新容器 */
.container {
  width: min(100% - 56px, var(--container));
  margin: 0 auto;
}

/* 统一内容容器（保留用于其他sections） */
.wrap {
  width: min(100% - 28px, var(--wrap));
  margin: 0 auto;
}

/* 占位文字 */
.ph-text {
  font-size: 12px;
  font-weight: 800;
  color: #94A3B8;
}

/* =========================
   TOPBAR (Updated per user request)
========================= */
.topbar {
  position: fixed;
  /* Changed from sticky to fixed to guarantee full width at top */
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 10000;
  /* 高于 overlay (9999)，让按钮在展开时可见 */
  background: #5293ED;
  /* 用户指定颜色 */
  height: 88px;
  /* 用户指定高度 */
  display: flex;
  align-items: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .08);
}

.topbar__inner {
  width: calc(100% - 60px);
  /* 移除1440限制，两端对齐，保留两侧间距 */
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Topbar left container */
.topbar__left {
  display: flex;
  align-items: center;
  height: 100%;
  flex-shrink: 0;
  /* 防止被压缩 */
}

/* Topbar 中的编辑包裹器 */
.topbar__left .customize-edit-wrapper {
  display: inline-flex;
  /* flex 容器内使用 inline-flex */
  align-items: center;
  /* 垂直居中 */
}

/* LOGO */
.logo {
  display: inline-flex;
  /* inline-flex：让容器紧贴内容 */
  align-items: center;
  /* 垂直居中 */
  justify-content: center;
  /* 水平居中 */
  text-decoration: none;
  position: relative;
  line-height: 0;
  /* 移除文本行高影响 */
}

.logo img {
  display: block;
  max-height: 53px;
  /* 严格限制：不超过 53px */
  height: auto;
  /* 保持宽高比 */
  width: auto;
  /* 保持宽高比 */
  max-width: 231px;
  /* 严格限制：不超过 231px */
  object-fit: contain;
  /* 保持图片完整性 */
}

.logo__mark,
.logo__text {
  display: none;
}

/* 确保旧结构不干扰，如果用户没删干净 */

.topbar__nav {
  display: flex;
  align-items: center;
  gap: 7px;
  /* 用户代码中的 gap */
}

.topbar__nav a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 114px;
  padding: 10px;
  color: white;
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 22px;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.topbar__nav a:hover {
  opacity: 0.9;
}

/* menu 胶囊按钮 */
.menu-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 134px;
  height: 48px;
  padding: 0 31px;
  border-radius: 52px;
  border: none;
  background: white;
  color: #1C3F70;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  margin-left: 10px;
  position: relative;
  z-index: 10001;
  /* 高于 overlay */
  transition: background 0.3s ease;
}

.menu-pill__text {
  font-size: 20px;
  font-weight: 700;
  line-height: 22px;
  letter-spacing: 0.20px;
  transition: opacity 0.3s ease;
}

/* 自定义 Icon 绘制: 34x16 box */
.menu-pill__icon {
  width: 34px;
  height: 16px;
  position: relative;
  flex: 0 0 auto;
}

.menu-pill__icon span {
  position: absolute;
  height: 3px;
  background: #1C3F70;
  border-radius: 2px;
  transition: all 0.35s cubic-bezier(0.77, 0, 0.175, 1);
  transform-origin: center;
}

/* Line 1: 34px width, top 0 */
.menu-pill__icon span:nth-child(1) {
  width: 34px;
  left: 0;
  top: 0;
}

/* Line 2: 23px width, left 11, top 7 */
.menu-pill__icon span:nth-child(2) {
  width: 23px;
  left: 11px;
  top: 7px;
}

/* Line 3: 23px width, left 11, top 14 */
.menu-pill__icon span:nth-child(3) {
  width: 23px;
  left: 11px;
  top: 14px;
}

/* ========== Menu Active State - 变成叉叉 ========== */
.menu-pill.is-active .menu-pill__icon span:nth-child(1) {
  width: 24px;
  left: 5px;
  top: 7px;
  transform: rotate(45deg);
}

.menu-pill.is-active .menu-pill__icon span:nth-child(2) {
  opacity: 0;
  width: 0;
}

.menu-pill.is-active .menu-pill__icon span:nth-child(3) {
  width: 24px;
  left: 5px;
  top: 7px;
  transform: rotate(-45deg);
}

/* 对 icon 伪元素清理旧样式 */
.menu-pill__icon::before,
.menu-pill__icon::after {
  display: none;
}

/* ========== TOPBAR 响应式 ========== */
@media (max-width: 1100px) {
  .topbar__nav a {
    width: auto;
    padding: 8px 12px;
    font-size: 16px;
  }

  .menu-pill {
    width: auto;
    padding: 0 20px;
  }

  .menu-pill__text {
    font-size: 16px;
  }
}

@media (max-width: 900px) {
  .topbar {
    height: 70px;
  }

  .topbar__inner {
    width: calc(100% - 32px);
  }

  .logo {
    width: 180px;
    height: auto;
  }

  /* 隐藏导航链接，只保留menu按钮 */
  .topbar__nav a:not(.menu-pill) {
    display: none;
  }

  .topbar__nav {
    gap: 0;
  }

  /* 确保菜单按钮显示 */
  .menu-pill {
    display: inline-flex;
    margin-left: 0;
  }

  /* 补偿导航栏高度 */
  main {
    padding-top: 70px;
  }

  main:has(.hero) {
    padding-top: 0;
  }
}

@media (max-width: 520px) {
  .topbar {
    height: 60px;
  }

  .topbar__inner {
    width: calc(100% - 24px);
  }

  .logo {
    width: 150px;
  }

  /* 菜单按钮：只显示图标，变成圆形 */
  .menu-pill {
    display: inline-flex;
    width: 44px;
    height: 44px;
    padding: 0;
    gap: 0;
    border-radius: 50%;
    justify-content: center;
    align-items: center;
  }

  /* 隐藏 "menu" 文字 */
  .menu-pill__text {
    display: none;
  }

  .menu-pill__icon {
    width: 24px;
    height: 14px;
  }

  .menu-pill__icon span:nth-child(1) {
    width: 24px;
  }

  .menu-pill__icon span:nth-child(2),
  .menu-pill__icon span:nth-child(3) {
    width: 16px;
    left: 8px;
  }

  .menu-pill__icon span:nth-child(2) {
    top: 6px;
  }

  .menu-pill__icon span:nth-child(3) {
    top: 12px;
  }

  /* is-active 状态调整 */
  .menu-pill.is-active .menu-pill__icon span:nth-child(1) {
    width: 20px;
    left: 2px;
    top: 6px;
  }

  .menu-pill.is-active .menu-pill__icon span:nth-child(3) {
    width: 20px;
    left: 2px;
    top: 6px;
  }

  /* 补偿导航栏高度 */
  main {
    padding-top: 60px;
  }

  main:has(.hero) {
    padding-top: 0;
  }
}

/* =========================
   HERO (全屏关键)
========================= */
.hero {
  position: relative;
  width: 100%;
  margin: 0;
  padding-top: 88px;
  /* 补偿固定导航栏的高度 */
  height: 100vh;
  min-height: 640px;
  background: #fff;
  overflow: hidden;
  box-sizing: border-box;
  /* 确保 padding 不增加总高度 */
}

/* 半圆形轮播图容器 - 图片在半圆内部 */
.hero__circleWrap {
  position: absolute;
  right: -200px;
  top: 50%;
  transform: translateY(-50%);
  width: 900px;
  height: 900px;
  border-radius: 50%;
  z-index: 2;
  overflow: hidden;
  /* 图片容器，不是遮罩 */
  background: linear-gradient(180deg, #F1F4FA, #E7ECF5);
  box-shadow: -20px 0 60px rgba(0, 0, 0, .15);
}

/* 半圆内的占位符 */
.hero__circlePlaceholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94A3B8;
  font-weight: 900;
  font-size: 16px;
}

/* Hero 轮播图样式 */
.hero__slider {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  pointer-events: none;
}

.hero__slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* 轮播指示器 */
.hero__slider-dots {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.hero__slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.hero__slider-dot:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.1);
}

.hero__slider-dot.is-active {
  background: #fff;
  border-color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* 左侧文案层 */
.hero__content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  align-items: center;
  /* 移除container限制，使用自定义间距 */
  padding-left: max(30px, calc((100vw - 1440px) / 2 + 30px));
  padding-right: 0;
}

.hero__contentInner {
  width: 50%;
  max-width: 600px;
}

/* Hero区域的container不限制宽度 */
.hero .container {
  width: 100%;
  max-width: none;
  margin: 0;
}

.hero__title {
  margin: 0;
  font-size: 64px;
  letter-spacing: 1px;
  color: var(--brand-dark);
}

.hero__lead {
  margin: 22px 0 28px;
  font-size: 26px;
  line-height: 1.75;
  color: var(--brand-dark);
  opacity: .9;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 240px;
  height: 64px;
  border-radius: 10px;
  background: var(--brand);
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  font-weight: 900;
  box-shadow: 0 16px 30px rgba(79, 143, 239, .25);
}

/* 左下通知块 */
.heroNotice {
  margin-top: 50px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.heroNotice__label {
  width: 44px;
  height: 66px;
  border-left: 4px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5A6B86;
  font-weight: 900;
  background: #F3F6FB;
  line-height: 1.1;
}

.heroNotice__body {
  padding-top: 4px;
  max-width: 520px;
}

.heroNotice__date {
  font-weight: 900;
  color: #4F8FEF;
  margin-bottom: 6px;
}

.heroNotice__text {
  color: #4F8FEF;
  font-weight: 800;
  line-height: 1.55;
}

/* 大水印 TCC（你图里很淡很大） */
.hero__watermark {
  position: absolute;
  left: 0;
  bottom: -120px;
  font-size: 440px;
  font-weight: 900;
  color: #EFF5FF;
  z-index: 2;
  letter-spacing: 12px;
  pointer-events: none;
  user-select: none;
}

/* 白色大圆弧遮罩（核心：模拟那条曲线） */
.hero__curve {
  position: absolute;
  z-index: 2;
  width: 980px;
  height: 980px;
  border-radius: 50%;
  background: #fff;
  left: 40%;
  top: -120px;
  /* 给一点阴影更像贴图分界 */
  box-shadow: 0 20px 40px rgba(0, 0, 0, .06);
}

/* ========== HERO 响应式 ========== */
@media (max-width: 1100px) {

  /* 平板和手机：菜单按钮圆形化 */
  .menu-pill {
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: 50%;
    gap: 0;
  }

  .menu-pill__text {
    display: none;
  }

  .menu-pill__icon {
    transform: scale(0.8);
    left: 1px;
  }

  .hero__contentInner {
    width: 55%;
  }

  .hero__title {
    font-size: 48px;
  }

  .hero__lead {
    font-size: 18px;
  }

  .hero__watermark {
    font-size: 320px;
  }

  .hero__circleWrap {
    width: 700px;
    height: 700px;
    right: -250px;
  }
}

@media (max-width: 900px) {
  .hero {
    height: auto;
    min-height: 600px;
  }

  .hero__content {
    padding-left: 24px;
    padding-top: 60px;
    /* 增加顶部间距防止和导航重叠 */
  }

  .hero__contentInner {
    width: 65%;
    max-width: none;
    z-index: 5;
    /* 确保文字在圆上面 */
  }

  .hero__title {
    font-size: 40px;
  }

  .hero__lead {
    font-size: 16px;
  }

  .hero__watermark {
    font-size: 240px;
    bottom: -60px;
  }

  .hero__circleWrap {
    width: 600px;
    height: 600px;
    right: -280px;
    top: 40%;
  }

  .heroNotice {
    max-width: 100%;
  }
}

@media (max-width: 520px) {

  /* Hero 样式继续... */
  .hero {
    min-height: auto;
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
  }

  /* 手机端：图片在顶部，半圆向下凸出 */
  .hero__circleWrap {
    position: relative;
    top: auto;
    right: auto;
    transform: none;
    width: 140%;
    left: -20%;
    /* 居中 */
    height: 280px;
    border-radius: 0 0 50% 50%;
    /* 底部圆弧 */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
    margin-bottom: -40px;
    /* 让内容稍微上移 */
  }

  /* 指示器位置调整 */
  .hero__slider-dots {
    bottom: 30px;
  }

  /* 内容区域 */
  .hero__content {
    position: relative;
    width: 100%;
    padding: 20px 24px 60px;
    background: transparent;
  }

  .hero__contentInner {
    width: 100%;
  }

  .hero__title {
    font-size: 32px;
    color: var(--brand-dark);
    /* 确保深色 */
  }

  .hero__lead {
    font-size: 15px;
    margin-top: 12px;
    color: #5A6B86;
  }

  .hero__cta {
    margin-top: 20px;

    .heroNotice__date {
      font-size: 12px;
    }

    .heroNotice__text {
      font-size: 13px;
    }
  }
}

/* 通用 section */
.section {
  padding: 22px 0;
  background: #fff;
}

.section--alt {
  background: var(--bg);
}

.section--course {
  padding: 80px 0;
  background: var(--bg);
}

.section__title {
  margin: 0 0 10px;
  font-size: 28px;
  font-weight: 900;
  color: #1F2A37;
}

.section__desc {
  margin: 0;
  color: #6B7280;
}

/* Section Head (School page) */
.sectionHead {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sectionHead__zh {
  font-size: 32px;
  font-weight: 700;
  line-height: 44px;
  color: var(--text);
  margin: 0;
}

.sectionHead__en {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
}

.sectionHead__bar {
  display: inline-block;
  width: 40px;
  height: 3px;
  background: var(--tag);
  border-radius: 2px;
}

.sectionLead {
  margin: 28px 0 0;
  font-size: 16px;
  line-height: 28px;
  color: var(--muted);
}

.title {
  text-align: center;
  margin-bottom: 12px;
}

.title h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: .2px;
}

.title__sub {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 6px;
  font-size: 12px;
  color: #5670A0;
  font-weight: 900;
}

.title__line {
  width: 22px;
  height: 4px;
  border-radius: 999px;
  background: var(--accent);
}

.title--spaced {
  margin-top: 18px;
}

.center-text {
  margin: 0 auto;
  max-width: 720px;
  font-size: 12px;
  color: #5E6A7C;
  line-height: 1.8;
  text-align: center;
}

/* Features 大块 */
.feature-block {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 14px;
  align-items: stretch;
}

.img-placeholder {
  position: relative;
  border-radius: 18px;
  background: linear-gradient(180deg, #F1F4FA, #E7ECF5);
  border: 1px solid #E9EEF7;
  height: 210px;
  /* 🔥 从 min-height 改为 height */
  overflow: hidden;
  /* 🔥 关键：防止图片撑爆 */
  box-shadow: var(--shadow2);
}

.img-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* 填满但不变形 */
  display: block;
}

.feature-text {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 12px 20px rgba(20, 40, 80, .06);
}

.feature-text__kicker {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 900;
}

.feature-text__desc {
  margin: 0 0 10px;
  font-size: 12px;
  line-height: 1.7;
  color: #5A6678;
}

.qa {
  border: 1px solid #E9EEF7;
  border-radius: 14px;
  padding: 10px;
  background: #FBFCFF;
}

.qa__q {
  margin: 0 0 6px;
  font-weight: 900;
  font-size: 12px;
}

.qa__a {
  margin: 0;
  font-size: 11.5px;
  color: #5B6B84;
  line-height: 1.6;
}

/* 6个小卡 */
.mini-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.mini {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px;
  box-shadow: 0 10px 16px rgba(20, 40, 80, .05);
  min-height: 130px;
}

.mini__icon {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background: #EAF2FF;
  border: 1px solid #DCE8FF;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-dark);
  font-weight: 900;
  font-size: 12px;
  margin-bottom: 8px;
}

.mini__title {
  margin: 0 0 6px;
  font-size: 12.5px;
  font-weight: 900;
  line-height: 1.3;
}

.mini__desc {
  margin: 0;
  font-size: 11.5px;
  color: #5E6A7C;
  line-height: 1.6;
}

/* 入学4卡 */
.intake-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.intake {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 18px rgba(20, 40, 80, .06);
}

.intake__thumb {
  height: 120px;
  background: linear-gradient(180deg, #F1F4FA, #E7ECF5);
  border-bottom: 1px solid #E9EEF7;
  display: flex;
  align-items: center;
  justify-content: center;
}

.intake__body {
  padding: 12px;
}

.intake__tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: #EFF6FF;
  color: #2F6FE0;
  font-size: 10.5px;
  font-weight: 900;
  border: 1px solid #DCE8FF;
  margin-bottom: 8px;
}

.intake__h {
  margin: 0 0 6px;
  font-weight: 900;
  font-size: 13px;
}

.intake__meta {
  margin: 0;
  font-size: 11.5px;
  color: #5B6B84;
  line-height: 1.6;
}

/* 重要提示 */
.important {
  margin-top: 14px;
  background: #FFF7E6;
  border: 1px solid #FFE0A6;
  border-radius: 16px;
  padding: 12px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.important__warn {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background: #FFE8B8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: #9A6B00;
  flex: 0 0 auto;
}

.important__title {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 900;
  color: #7A5200;
}

.important__text {
  margin: 0;
  font-size: 11.5px;
  color: #7A5B1A;
  line-height: 1.6;
}

/* 致辞 */
.message {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  display: grid;
  grid-template-columns: 1fr 180px;
  gap: 32px;
  align-items: flex-start;
}

.message--v2 {
  grid-template-columns: 1fr 180px;
}

.message__content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.message__lang-toggle {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.lang-btn {
  padding: 6px 16px;
  border-radius: 99px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #64748b;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.lang-btn:hover {
  background: #f1f5f9;
}

.lang-btn.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.message__h {
  font-size: 1.25rem;
  color: #2c4c86;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.4;
  border-left: 4px solid #f1f4fa;
  padding-left: 15px;
}

.message__body {
  display: none;
  animation: fadeIn 0.4s ease forwards;
}

.message__body.is-active {
  display: block;
}

.message__body p {
  margin: 0 0 16px;
  font-size: 15px;
  color: #475569;
  line-height: 1.8;
}

.message__author {
  margin-top: 24px;
  border-left: 3px solid var(--brand);
  padding-left: 16px;
}

.message__title {
  margin: 0 !important;
  font-size: 13px !important;
  color: #64748b !important;
  font-weight: 500 !important;
}

.message__name {
  margin: 4px 0 0 !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #1e293b !important;
}

.portrait--large {
  width: 100%;
  aspect-ratio: 1 / 1.2;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .message {
    grid-template-columns: 1fr;
    padding: 24px;
    gap: 24px;
  }

  .portrait--large {
    max-width: 150px;
    margin: 0 auto;
  }
}

/* 寻找学生 */
.pill-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 1024px) {
  .pill-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 600px) {
  .pill-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.pill {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 10px 18px rgba(20, 40, 80, .05);
  display: flex;
  gap: 16px;
  align-items: center;
}

@media (max-width: 768px) {
  .pill {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

.pill h4 {
  margin: 0;
  font-size: 14px;
  font-weight: 900;
  color: var(--brand);
  flex-shrink: 0;
  line-height: 1.2;
}

@media (max-width: 768px) {
  .pill h4 {
    font-size: 16px;
  }
}

.pill p {
  margin: 0;
  font-size: 11.5px;
  color: #5E6A7C;
  line-height: 1.6;
}

.spacer {
  height: 14px;
}

/* 学生故事 */
.story {
  margin-top: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 14px;
  align-items: start;
}

.avatar {
  border-radius: 14px;
  background: linear-gradient(180deg, #F1F4FA, #E7ECF5);
  border: 1px solid #E9EEF7;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.avatar__pic {
  width: 70px;
  height: 70px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .45);
  border: 1px solid rgba(148, 163, 184, .55);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.avatar__pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 999px;
}

.avatar__who {
  text-align: center;
  font-weight: 900;
  font-size: 12px;
  color: #2C4C86;
  line-height: 1.2;
}

.avatar__year {
  font-size: 11px;
  color: #64748B;
  font-weight: 800;
}

.avatar__badge {
  font-size: 11px;
  font-weight: 900;
  padding: 7px 10px;
  border-radius: 999px;
  background: #FFEAAE;
  color: #6A4A00;
  border: 1px solid #FFD874;
  width: 100%;
  text-align: center;
}

.story__quote {
  margin: 0 0 10px;
  font-size: 11.5px;
  color: #586579;
  line-height: 1.7;
  background: #FBFCFF;
  border: 1px solid #E9EEF7;
  border-radius: 14px;
  padding: 12px;
}

.story__detail {
  margin: 0;
  font-size: 11.5px;
  color: #5E6A7C;
  line-height: 1.7;
}

/* 统计 */
.stats {
  margin-top: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  text-align: center;
}



.stat__num {
  font-weight: 900;
  color: var(--brand-dark);
  font-size: 20px;
}

.stat__lab {
  margin-top: 4px;
  font-size: 11px;
  color: #64748B;
  font-weight: 900;
}

/* 课程 */
.course-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.course {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  box-shadow: var(--shadow2);
  min-height: 110px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(20, 40, 80, .12);
  border-color: var(--brand);
}

.course h4 {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 900;
}

.course p {
  margin: 0;
  font-size: 11.5px;
  color: #5E6A7C;
  line-height: 1.6;
}

/* Footer */
.footer {
  background: linear-gradient(135deg, #101828 0%, #1E2939 100%);
  color: #D1D5DC;
}

.footer__top {
  padding: 64px 0 48px;
  display: grid;
  grid-template-columns: 1.6fr 0.7fr 0.9fr;
  gap: 48px;
}

.footer__h {
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 16px;
}

.footer__desc {
  margin: 18px 0 0;
  font-size: 16px;
  line-height: 26px;
  color: #D1D5DC;
  max-width: 480px;
}

.footer__slogan {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 14px;
}

.sloganDot {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: var(--accent);
  display: inline-block;
}

.footer__links a {
  display: block;
  text-decoration: none;
  color: #D1D5DC;
  font-size: 14px;
  line-height: 20px;
  margin: 12px 0;
}

.footer__contact .contactRow {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 18px 0;
  font-size: 14px;
  line-height: 20px;
}

.ico2 {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 1.67px solid #70ACFF;
  flex: 0 0 auto;
}

/* mid */
.footer__mid {
  border-top: 1px solid #364153;
  padding: 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.follow__t {
  font-size: 16px;
  font-weight: 500;
  color: #fff;
}

.follow__d {
  font-size: 14px;
  color: #99A1AF;
  margin-top: 8px;
}

.social {
  display: flex;
  gap: 16px;
}

.social__btn {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .10);
  display: inline-block;
}

.ph {
  color: #94A3B8;
  font-weight: 800;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.ph--footerLogo {
  width: 120px;
  height: 80px;
  background: linear-gradient(180deg, #F1F4FA, #E7ECF5);
  border: 1px solid #E9EEF7;
  border-radius: 12px;
  margin-bottom: 18px;
}

.ph--qr {
  width: 120px;
  height: 120px;
  background: linear-gradient(180deg, #F1F4FA, #E7ECF5);
  border: 1px solid #E9EEF7;
  border-radius: 12px;
}

/* bottom */
.footer__bottom {
  border-top: 1px solid #364153;
  padding: 28px 0 36px;
  text-align: center;
}

.footer__copy {
  font-size: 14px;
  color: #99A1AF;
  line-height: 20px;
}

.footer__copy a {
  color: #99A1AF;
  text-decoration: underline;
}

/* ========== FOOTER 响应式 ========== */
@media (max-width: 900px) {
  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  /* 第一列（logo和描述）单独占一整行 */
  .footer__top>div:first-child {
    grid-column: 1 / -1;
  }

  .footer__desc {
    max-width: none;
  }

  .footer__mid {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
}

@media (max-width: 520px) {
  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding: 40px 0 32px;
  }

  .footer__h {
    font-size: 14px;
    margin-bottom: 12px;
  }

  .footer__desc {
    font-size: 14px;
    line-height: 22px;
  }

  .footer__slogan {
    font-size: 13px;
  }

  .footer__links a {
    font-size: 13px;
    margin: 10px 0;
  }

  .footer__contact .contactRow {
    font-size: 13px;
    margin: 14px 0;
  }

  .ph--footerLogo {
    width: 100px;
    height: 66px;
  }

  .footer__mid {
    padding: 20px 0;
  }

  .follow__t {
    font-size: 14px;
  }

  .follow__d {
    font-size: 13px;
  }

  .social__btn {
    width: 38px;
    height: 38px;
  }

  .footer__bottom {
    padding: 20px 0 28px;
  }

  .footer__copy {
    font-size: 12px;
  }
}

/* Story content grid fix - no additional styles needed */

/* ========== SCHOOL PAGE SPECIFIC STYLES ========== */

/* 为school页面添加额外的CSS变量 */
:root {
  --blue: #5293ED;
  --deep: #1C3F70;
  --tag: #70ACFF;
  --yellow: #FFDB6F;
}

/* ========== SCHOOL HERO STYLES ========== */
/* 与首页 hero 风格一致的样式 */
.school-hero {
  position: relative;
  height: calc(100vh - 86px);
  min-height: 640px;
  max-height: 805px;
  background: var(--brand);
  overflow: hidden;
  /* 确保在任何屏幕宽度下都全宽显示，无白边 */
  width: 100vw;
  max-width: none;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.school-hero__bg {
  position: absolute;
  inset: 0;
  background: var(--brand);
  z-index: 0;
}

/* 半圆形图片容器 - 图片在半圆内部 */
.school-hero__circleWrap {
  position: absolute;
  right: -200px;
  top: 50%;
  transform: translateY(-50%);
  width: 900px;
  height: 900px;
  border-radius: 50%;
  z-index: 2;
  overflow: hidden;
  /* 图片容器，不是遮罩 */
  background: linear-gradient(180deg, #F1F4FA, #E7ECF5);
  box-shadow: -20px 0 60px rgba(0, 0, 0, .15);
}

/* 图片放在半圆容器内部 */
.school-hero__photo {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.school-hero__photoPlaceholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #F1F4FA, #E7ECF5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94A3B8;
  font-weight: 900;
}

/* 图片铺满半圆容器 */
.school-hero__photo .customize-edit-wrapper,
.school-hero__img {
  display: block;
  width: 100%;
  height: 100%;
}

.school-hero__img {
  object-fit: cover;
  object-position: center;
}

/* 左侧内容区域 */
.school-hero__content {
  width: 50%;
  max-width: 600px;
  padding-left: max(30px, calc((100vw - 1180px) / 2));
}

.school-hero__circle {
  display: none;
}

/* 水印 - 与首页一致的浅色水印 */
.school-hero__watermark {
  position: absolute;
  left: 0;
  bottom: -120px;
  font-size: 440px;
  font-weight: 900;
  font-family: Montserrat, Inter, system-ui, sans-serif;
  color: rgba(255, 255, 255, 0.08);
  z-index: 1;
  letter-spacing: 12px;
  pointer-events: none;
  user-select: none;
}

/* School hero inner - 确保在最上层，标题偏上 */
.school-hero__inner {
  position: relative;
  z-index: 5;
  height: 100%;
  display: flex;
  align-items: flex-start;
  padding-top: 120px;
}

/* 文字样式 - 白色文字在蓝色背景上 */
.school-hero__title {
  margin: 0;
  font-size: 64px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #fff;
}

.school-hero__sub {
  margin: 22px 0 28px;
  font-size: 26px;
  font-weight: 500;
  line-height: 1.75;
  color: #fff;
  opacity: 0.9;
  max-width: 500px;
}

/* ========== COURSE GRID ========== */
.courseGrid {
  display: grid;
  grid-template-columns: 1fr 314px;
  gap: 37px;
  align-items: start;
  margin-top: 50px;
}

.courseList {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.courseRow {
  background: #fff;
  border-radius: 15px;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  min-height: 120px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.courseRow:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, .1);
}

.courseRow__tag {
  width: 155px;
  background: var(--tag);
  padding: 20px 16px;
  color: #fff;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  text-align: center;
}

.courseRow__tag--round {
  border-radius: 0 0 0 15px;
}

.courseRow__name {
  font-size: 18px;
  font-weight: 600;
  line-height: 28px;
}

.courseRow__time {
  font-size: 14px;
  line-height: 20px;
  opacity: 0.9;
  margin-top: 2px;
}

.courseRow__text {
  margin: 0;
  padding: 20px 24px;
  font-size: 14px;
  line-height: 24px;
  color: var(--muted);
  display: flex;
  align-items: center;
}

.courseRow__title {
  margin: 0 0 8px 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
}

.courseRow__desc {
  margin: 0;
  padding: 20px 18px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* 右侧升学卡 */
.courseSide {
  position: sticky;
  top: 100px;
}

.courseSide__top {
  background: var(--tag);
  border-radius: 24px 24px 0 0;
  padding: 28px 24px;
  color: #fff;
}

.courseSide__topInner {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.courseSide__icon {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .20);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.courseSide__icon::before {
  content: "🎓";
  font-size: 28px;
}

.courseSide__meta {
  font-size: 14px;
  line-height: 20px;
  opacity: 0.9;
}

.courseSide__title {
  font-size: 24px;
  font-weight: 600;
  line-height: 32px;
  margin: 0;
}

.courseSide__desc {
  font-size: 14px;
  line-height: 20px;
  opacity: 0.85;
  margin-top: 6px;
}

.courseSide__body {
  background: #fff;
  border-radius: 0 0 24px 24px;
  padding: 24px;
  border: 1px solid var(--line);
  border-top: none;
}

.tickList {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tickList li {
  position: relative;
  padding-left: 28px;
  font-size: 14px;
  line-height: 22px;
  color: var(--text);
}

.tickList li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--tag);
  font-weight: 600;
}

.courseSideCard {
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
  border: 1px solid var(--line);
}

.courseSideCard__title {
  background: var(--tag);
  padding: 24px;
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  margin: 0;
}

.courseSideCard__list {
  padding: 24px;
  margin: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.courseSideCard__list li {
  position: relative;
  padding-left: 28px;
  color: var(--text);
  font-size: 14px;
  line-height: 20px;
}

.courseSideCard__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 18px;
  height: 18px;
  color: var(--tag);
  font-weight: 600;
}

.courseSideCard__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 24px 24px 24px;
  padding: 12px 24px;
  background: var(--brand);
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  transition: background-color 0.2s ease;
}

.courseSideCard__btn:hover {
  background: var(--brand-dark);
}

.courseSideCard__btnIcon {
  font-size: 16px;
}

/* ========== INFO CARDS ========== */
.infoCard {
  margin-top: 60px;
  background: #fff;
  border-radius: 24px;
  outline: 2px solid var(--line);
  outline-offset: -2px;
  padding: 50px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
}

.infoBlock {
  display: flex;
  flex-direction: column;
}

.infoTitle {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
  line-height: 32px;
}

.infoTitle__icon {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: var(--tag);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}

.infoTitle__icon::before {
  content: "📅";
  font-size: 24px;
}

/* 第二个 infoBlock 的图标 */
.infoBlock:nth-child(2) .infoTitle__icon::before {
  content: "📆";
}

.muted18 {
  margin: 14px 0 10px;
  color: #364153;
  font-size: 18px;
  line-height: 28px;
}

.timePills {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

.timePill {
  padding: 17px;
  border-radius: 10px;
  font-size: 16px;
  line-height: 24px;
  outline: 1px solid transparent;
}

.timePill--blue {
  background: var(--brand);
  color: #fff;
}

.timePill--yellow {
  background: #FFB142;
  /* 温暖的橙黄色，与蓝色形成对比且文字清晰 */
  color: #fff;
}

.note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 20px;
  font-style: italic;
}

/* 学期列表 */
.termList {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.termRow {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 10px 26px;
  border-radius: 16px;
  outline: 2px solid #E7E7E7;
  outline-offset: -2px;
}

.termRow__left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 0 0 240px;
}

.termRow__img {
  width: 60px;
  height: 60px;
  flex: 0 0 60px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.termRow__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.termRow__content {
  flex: 1;
}

.termRow__name {
  color: var(--tag);
  font-size: 18px;
  line-height: 28px;
}

.termRow__time {
  color: #101828;
  font-size: 16px;
  line-height: 24px;
  margin-top: 2px;
}

.termRow__right {
  color: #101828;
  font-size: 14px;
  line-height: 24px;
}

.hintBar {
  margin-top: 18px;
  padding: 16px;
  border-radius: 10px;
  background: rgba(255, 219, 111, .20);
  outline: 1px solid rgba(255, 219, 111, .40);
  color: #364153;
  font-size: 14px;
}

/* ========== 快捷卡 ========== */
.infoCard {
  margin-top: 60px;
  background: #fff;
  border-radius: 24px;
  border: 2px solid var(--line);
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .05);
}

.infoCard__item h3 {
  margin: 0 0 16px 0;
  font-size: 24px;
  color: var(--text);
}

.infoCard__title {
  font-size: 24px;
  line-height: 32px;
  margin: 0 0 8px 0;
  color: var(--text);
}

.infoCard__desc {
  margin: 0 0 24px 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 24px;
}

/* 课程时间表样式 */
.scheduleList {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.scheduleRow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: var(--bg);
  border-radius: 8px;
  border: 1px solid var(--line);
}

.scheduleLabel {
  font-weight: 500;
  color: var(--text);
}

.scheduleTime {
  color: var(--muted);
  font-size: 14px;
}

/* 学期列表 */
.termList {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.termItem {
  padding: 16px;
  background: var(--bg);
  border-radius: 12px;
  border: 1px solid var(--line);
}

.termHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.termMonth {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
}

.termDate {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.timePill {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  color: #fff;
}

.timePill--green {
  background: #10B981;
}

.timePill--blue {
  background: var(--brand);
}

.timePill--orange {
  background: #F59E0B;
}

.timePill--red {
  background: #EF4444;
}

/* ========== QUICK ACCESS GRID (SCHOOL) ========== */
.quickGrid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 57px;
}

.quickCard {
  text-decoration: none;
  background: #fff;
  border-radius: 24px;
  outline: 2px solid var(--line);
  outline-offset: -2px;
  padding: 50px;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.quickCard:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, .1);
  border-color: var(--brand);
}

.quickCard__head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.quickCard__icon {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: var(--tag);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}

.quickCard__icon::before {
  content: "📋";
  font-size: 22px;
}

/* 不同 quickCard 的不同图标 */
.quickCard:nth-child(1) .quickCard__icon::before {
  content: "📅";
}

.quickCard:nth-child(2) .quickCard__icon::before {
  content: "📖";
}

.quickCard:nth-child(3) .quickCard__icon::before {
  content: "✈️";
}

.quickCard__title {
  font-size: 24px;
  line-height: 32px;
  color: #101828;
  margin: 0;
}

.quickCard__desc {
  margin: 0 0 8px 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 20px;
}

.quickCard__sub {
  font-size: 14px;
  color: var(--muted);
  font-style: italic;
}

/* ========== 奖学金条 (SCHOOL) ========== */
.scholarBar {
  margin-top: 44px;
  padding: 20px 50px;
  border-radius: 24px;
  outline: 2px solid var(--line);
  outline-offset: -2px;
  background: #fff;
  display: flex;
  align-items: center;
  gap: 18px;
}

.scholarBar__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--yellow);
  flex-shrink: 0;
  position: relative;
}

.scholarBar__icon::before {
  content: "🎓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 24px;
}

.scholarBar__title {
  font-size: 24px;
  font-weight: 600;
  line-height: 32px;
  color: var(--text);
  min-width: 120px;
  margin: 0;
}

.scholarBar__desc {
  font-size: 16px;
  line-height: 26px;
  color: #101828;
  margin: 0;
}

/* ========== RESPONSIVE FOR SCHOOL PAGE ========== */
@media (max-width: 1100px) {
  .courseGrid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .courseSide {
    position: static;
    max-width: 400px;
    margin: 0 auto;
  }

  .infoCard {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .quickGrid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .school-hero__watermark {
    font-size: 300px;
  }
}

@media (max-width: 900px) {
  .school-hero {
    height: 640px;
  }

  .school-hero__circleWrap {
    width: 640px;
    height: 640px;
    right: -220px;
    top: -60px;
  }

  .school-hero__watermark {
    font-size: 220px;
    bottom: -20px;
  }

  .infoCard {
    padding: 24px;
  }

  .quickGrid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .quickCard {
    padding: 20px;
  }

  .scholarBar {
    flex-direction: column;
    padding: 20px;
    text-align: center;
  }

  .scholarBar__icon {
    margin: 0 auto;
  }
}

@media (max-width: 520px) {
  .school-hero__title {
    font-size: 28px;
  }

  .school-hero__sub {
    font-size: 16px;
    line-height: 24px;
  }

  .courseRow {
    flex-direction: column;
    min-height: auto;
  }

  .courseRow__tag {
    width: 100%;
    padding: 12px 16px;
    text-align: center;
    flex-direction: row;
    gap: 12px;
  }

  .courseRow__text {
    padding: 16px;
  }

  .courseRow__desc {
    padding: 16px;
  }

  .termRow {
    flex-direction: column;
    gap: 10px;
    padding: 16px;
  }

  .termRow__left {
    width: 100%;
    display: flex;
    gap: 12px;
    align-items: center;
  }

  .termRow__right {
    font-size: 13px;
  }

  .sectionHead__zh {
    font-size: 26px;
    line-height: 36px;
  }

  .sectionLead {
    font-size: 14px;
    line-height: 24px;
  }
}

/* ========== GUIDE PAGE SPECIFIC STYLES ========== */

/* Guide页面特定变量 */
/* ========== GUIDE PAGE STYLES ========== */

/* Guide Page */
.guide-page {
  padding-bottom: 48px;
  background: #fff;
}

/* Guide Hero */
.guide-hero {
  padding: 48px 0 16px;
  text-align: center;
}

.guide-hero__title {
  margin: 0;
  font-size: 40px;
  line-height: 43px;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: var(--deep);
}

.guide-hero__subWrap {
  position: relative;
  display: inline-block;
  margin-top: 10px;
  padding: 12px 0;
}

.guide-hero__highlight {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 20px;
  width: 238px;
  height: 26px;
  background: var(--yellow);
  z-index: 0;
}

.guide-hero__subtitle {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 24px;
  line-height: 40px;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: #000;
}

.guide-hero__desc {
  margin: 16px auto 0;
  max-width: 900px;
  font-size: 18px;
  line-height: 34px;
  color: #000;
  letter-spacing: 0.2px;
}

/* Requirements */
.req {
  max-width: 800px;
  margin: 24px auto 0;
  border-radius: 14px;
  padding: 16px;
  background: #fff;
  text-align: left;
}

.req__list {
  margin: 0;
  padding-left: 18px;
  color: #364153;
  font-size: 16px;
  line-height: 24px;
}

.req__list li+li {
  margin-top: 10px;
}

/* ========== SECTION TITLE ========== */
.sectionTitle {
  margin: 0 0 16px;
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: #000;
}

/* ========== SEASON CARDS ========== */
.seasonGrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 14px;
}

.seasonCard {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadowSm);
  border: 2px solid #f3f4f6;
}

.seasonCard__media {
  position: relative;
  height: 160px;
}

.seasonCard__img {
  width: 100%;
  height: 100%;
  border-radius: 0;
  background: #e5e7eb;
}

.seasonBadge {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 77px;
  height: 77px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  font-size: 24px;
}

.seasonBadge--spring {
  background: #F29E9E;
}

.seasonBadge--summer {
  background: #8FB884;
}

.seasonBadge--autumn {
  background: #DCC782;
}

.seasonBadge--winter {
  background: #9AAEC9;
}

.seasonCard__body {
  padding: 14px 16px 16px;
  color: #fff;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(1px);
}

.seasonCard__term {
  font-size: 16px;
  line-height: 24px;
  text-align: center;
  margin-bottom: 10px;
}

.seasonCard__meta {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
  font-size: 14px;
  opacity: 0.98;
}

.seasonCard__meta li::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #fff;
  margin-right: 8px;
  transform: translateY(-1px);
}

.seasonCard__divider {
  height: 1px;
  background: rgba(243, 244, 246, 0.85);
  margin: 12px 0 10px;
}

.seasonCard__label {
  font-size: 12px;
  opacity: 0.95;
  text-align: center;
}

.seasonCard__date {
  font-size: 14px;
  text-align: center;
  margin-top: 6px;
}

/* ========== NOTICE ========== */
.notice {
  margin-top: 18px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: 14px;
  background: linear-gradient(90deg, #fffbeb 0%, #fff7ed 100%);
  outline: 1px solid #fee685;
}

.notice__icon {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 2px solid #e17100;
  color: #e17100;
  border-radius: 8px;
  font-weight: 700;
}

.notice__title {
  font-size: 16px;
  color: #7b3306;
}

.notice__desc {
  margin-top: 4px;
  font-size: 14px;
  color: #973c00;
  line-height: 20px;
}

/* ========== CARDS / FEE LAYOUT ========== */
.card {
  background: #fff;
  border-radius: var(--radiusLg);
  border: 2px solid var(--line);
  padding: 26px;
}

.card__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.iconCircle {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: #70acff;
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
}

.card__title {
  margin: 0;
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0.07px;
}

.card__titleSm {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 400;
}

.feeLayout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  align-items: start;
}

.feeCard {
  box-shadow: var(--shadowGuide);
}

.feeTable {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.feeRow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px solid #e5e7eb;
  gap: 12px;
}

.feeRow__k {
  color: #364153;
  font-size: 16px;
}

.feeRow__k em {
  font-style: normal;
  color: #6a7282;
  font-size: 14px;
}

.feeRow__v {
  color: #101828;
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
}

.feeTotal {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 10px;
  background: linear-gradient(90deg, rgba(112, 172, 255, 0.1) 0%, rgba(255, 219, 111, 0.1) 100%);
  font-size: 18px;
}

.feeNotes {
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 12px;
  line-height: 16px;
  display: grid;
  gap: 6px;
}

.sideStack {
  display: grid;
  gap: 14px;
}

.softBlue {
  background: rgba(112, 172, 255, 0.1);
  border-color: var(--line);
  border-radius: var(--radiusGuide);
}

.softYellow {
  background: rgba(255, 219, 111, 0.1);
  border-color: var(--line);
  border-radius: var(--radiusGuide);
}

.dotList {
  margin: 0;
  padding-left: 18px;
  color: #364153;
  font-size: 14px;
  line-height: 20px;
  display: grid;
  gap: 8px;
}

.muted {
  margin: 0 0 12px;
  color: #364153;
  font-size: 14px;
  line-height: 20px;
}

.miniTable {
  display: grid;
  gap: 10px;
  margin-top: 6px;
}

.miniRow {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #364153;
  font-size: 14px;
}

.miniTotal {
  margin-top: 12px;
  background: #fff;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  padding: 12px 13px;
  font-size: 14px;
}

/* ========== BANK CARD ========== */
.bankCard {
  border: 1px solid var(--softLine);
  padding: 22px;
}

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

.bankLabel {
  color: #6a7282;
  font-size: 12px;
  line-height: 16px;
  margin-bottom: 6px;
}

.bankValue {
  color: #101828;
  font-size: 16px;
  line-height: 24px;
  margin-bottom: 2px;
}

.bankSub {
  color: #4a5565;
  font-size: 12px;
  line-height: 16px;
}

.bankSubStrong {
  color: #4a5565;
  font-size: 14px;
  line-height: 16px;
}

.mt {
  margin-top: 10px;
}

/* ========== CONTACT CARD ========== */
.contactCard {
  border: 1px solid var(--softLine);
}

.contactTop {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #eff6ff;
  border-radius: 14px;
  padding: 18px;
}

.contactIcon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #2b7fff 0%, #155dfc 100%);
  color: #fff;
  font-weight: 700;
}

.contactTitle {
  font-size: 16px;
  line-height: 24px;
  margin-bottom: 10px;
}

.contactLines {
  display: grid;
  gap: 10px;
}

.contactLine {
  display: flex;
  gap: 10px;
  align-items: center;
  color: #364153;
}

.tag {
  font-size: 12px;
  color: #155dfc;
  border: 1px solid rgba(21, 93, 252, 0.25);
  background: rgba(21, 93, 252, 0.06);
  padding: 2px 8px;
  border-radius: 999px;
}

.contactNote {
  margin-top: 14px;
  padding: 18px;
  background: #f9fafb;
  border-radius: 14px;
  color: #364153;
  font-size: 16px;
  line-height: 24px;
}

/* ========== FLOW CARD ========== */
.flowCard {
  width: min(380px, 100%);
  margin: 20px auto 0;
  padding: 22px;
  border-radius: 24px;
  border: 2px solid var(--line);
  box-shadow: var(--shadowGuide);
  background: #fff;
  text-align: center;
  display: grid;
  gap: 8px;
}

.flowCard__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto;
  border-radius: 999px;
  background: rgba(112, 172, 255, 0.18);
  display: grid;
  place-items: center;
  font-size: 22px;
}

.flowCard__title {
  font-size: 24px;
  font-weight: 400;
}

.flowCard__desc {
  font-size: 14px;
  color: var(--muted);
}

/* ========== GUIDE RESPONSIVE ========== */
@media (max-width: 1024px) {
  .seasonGrid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feeLayout {
    grid-template-columns: 1fr;
  }

  .bankGrid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .guide-hero__title {
    font-size: 30px;
    line-height: 36px;
  }

  .guide-hero__desc {
    font-size: 16px;
    line-height: 28px;
  }

  .guide-hero__highlight {
    width: 200px;
  }

  .seasonGrid {
    grid-template-columns: 1fr;
  }
}

/* ============ Process Page Styles ============ */

/* ============ Page hero title ============ */
.page-hero {
  padding: 52px 0 18px;
  /* 88px导航栏高度 + 52px原有间距 */
}

.hero-title {
  display: grid;
  justify-items: center;
  gap: 10px;
}

.hero-h1 {
  margin: 0;
  font-size: 40px;
  line-height: 43px;
  font-weight: 700;
  color: #1c3f70;
  text-align: center;
}

.hero-sub {
  position: relative;
  width: 323px;
  height: 42px;
  display: grid;
  place-items: center;
}

.highlight-bg {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 279px;
  height: 26px;
  background: var(--yellow);
  top: 8px;
}

.hero-subtext {
  position: relative;
  font-size: 24px;
  font-weight: 700;
  line-height: 40px;
}

/* ============ Sections ============ */
.section {
  padding: 64px 0;
}

.section-head.center {
  text-align: center;
}

.section-title {
  margin: 0;
  font-size: 24px;
  line-height: 27px;
  font-weight: 500;
}

.section-desc {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 24px;
}

.section-desc.strong {
  font-size: 16px;
  color: var(--text);
}

/* ============ Steps ============ */
.steps-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 25px;
  position: relative;
  min-height: 147px;
}

.step-meta {
  font-size: 12px;
  color: var(--muted2);
  margin-bottom: 6px;
}

.step-title {
  margin: 0;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
}

.step-desc {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 22.75px;
  max-width: 240px;
}

.step-arrow {
  position: absolute;
  right: 12px;
  top: 50px;
  width: 24px;
  height: 2px;
  background: linear-gradient(90deg, #d1d5dc 0%, rgba(0, 0, 0, 0) 100%);
}

/* ============ Cards stack ============ */
.cards-stack {
  margin-top: 32px;
  display: grid;
  gap: 32px;
}

.info-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 33px;
  max-width: 100%;
  box-sizing: border-box;
}

.card-titlebar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.bar {
  width: 8px;
  height: 32px;
  border-radius: 999px;
}

.bar.blue {
  background: var(--blue);
}

.bar.yellow {
  background: var(--yellow);
}

.card-title {
  margin: 0;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
}

/* checklist */
.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
}

.checkitem {
  background: var(--soft-blue);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  gap: 12px;
  align-items: center;
  color: #364153;
}



/* ============ Table ============ */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 -16px;
  padding: 0 16px;
  /* 滚动指示器效果 */
  background:
    linear-gradient(to right, white 30%, rgba(255, 255, 255, 0)),
    linear-gradient(to left, white 30%, rgba(255, 255, 255, 0)),
    linear-gradient(to right, rgba(0, 0, 0, .08), rgba(255, 255, 255, 0)),
    linear-gradient(to left, rgba(0, 0, 0, .08), rgba(255, 255, 255, 0));
  background-position: left center, right center, left center, right center;
  background-repeat: no-repeat;
  background-size: 40px 100%, 40px 100%, 14px 100%, 14px 100%;
  background-attachment: local, local, scroll, scroll;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
  /* 减小最小宽度，提高移动端可用性 */
}

.data-table thead th {
  text-align: left;
  padding: 14px 16px;
  font-size: 16px;
  font-weight: 700;
  border-bottom: 2px solid #e5e7eb;
  background: var(--soft-grad);
}

.data-table tbody td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  color: #364153;
}

.tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 10px;
  font-size: 16px;
  line-height: 24px;
}

.tag-blue {
  background: #dbeafe;
  color: #1447e6;
}

/* ============ Apply box ============ */
.apply-box {
  margin-top: 32px;
  background: var(--soft-grad);
  border: 1px solid #dbeafe;
  border-radius: var(--radius);
  padding: 33px;
  display: grid;
  gap: 24px;
}

.apply-text {
  margin: 0;
  color: #364153;
  font-size: 16px;
  line-height: 26px;
}

.notice {
  background: #fff;
  border: 1px solid #bedbff;
  border-radius: 14px;
  padding: 16px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.notice-icon {
  width: 20px;
  height: 20px;
  border: 2px solid #fe9a00;
  border-radius: 6px;
  flex: 0 0 auto;
}

.notice-text {
  margin: 0;
  font-size: 14px;
  color: #364153;
  line-height: 20px;
}

/* ============ Materials List ============ */
.materials-list {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.material-item {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 24px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.material-item:hover {
  border-color: #bedbff;
  box-shadow: 0 2px 8px rgba(20, 71, 230, 0.08);
}

.material-main {
  flex: 1;
  min-width: 0;
}

.material-title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 600;
  color: #1a1d29;
  line-height: 1.4;
}

.material-desc {
  margin: 0;
  font-size: 14px;
  color: #6b7280;
  line-height: 1.6;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
}

.badge-warn {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
}

.badge-info {
  background: #dbeafe;
  color: #1e40af;
  border: 1px solid #bfdbfe;
}

/* buttons */
.primary-btn {
  height: 56px;
  padding: 0 24px;
  border-radius: 14px;
  background: var(--blue);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  cursor: pointer;
  font-size: 16px;
}

.primary-btn:hover {
  filter: brightness(0.98);
}

.primary-btn.wide {
  width: 188px;
  margin: 32px auto 0;
  display: flex;
}

.primary-btn.is-full {
  width: 100%;
  margin-top: 24px;
}

.btn-icon {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 6px;
}

.btn-icon.doc {
  border-radius: 4px;
}

/* ============ Materials ============ */
.materials-list {
  margin-top: 32px;
  display: grid;
  gap: 16px;
}

.material-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 25px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.material-title {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
}

.material-desc {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 20px;
  max-width: 520px;
}

.badge {
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  line-height: 16px;
  white-space: nowrap;
}

.badge-warn {
  background: #fefce8;
  color: #a65f00;
}

/* tip card */
.tip-card {
  margin-top: 32px;
  background: linear-gradient(135deg, #fffbeb 0%, #fefce8 100%);
  border: 1px solid #fee685;
  border-radius: var(--radius);
  padding: 28px 33px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.tip-icon {
  width: 24px;
  height: 24px;
  border: 2px solid #e17100;
  border-radius: 6px;
  flex: 0 0 auto;
  margin-top: 2px;
}

.tip-title {
  margin: 0;
  color: #7b3306;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
}

.tip-text {
  margin: 8px 0 0;
  color: #973c00;
  font-size: 14px;
  line-height: 22.75px;
}

/* note strip */
.note-strip {
  margin-top: 16px;
  background: var(--soft-blue);
  border: 1px solid #dbeafe;
  border-radius: var(--radius);
  padding: 22px 25px;
  color: #364153;
  line-height: 26px;
}

/* ============ Visa box ============ */
.visa-box {
  margin-top: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
}

.pill-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.pill {
  background: var(--soft-grad);
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  gap: 12px;
  align-items: center;
  color: #364153;
}



/* ============ Consulate cards ============ */
.consulate-list {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.consulate-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 24px 25px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  text-decoration: none !important;
  transition: transform 0.2s, box-shadow 0.2s;
}

.consulate-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.consulate-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.bg-blue {
  background: linear-gradient(135deg, #2b7fff 0%, #00b8db 100%);
}

.bg-cyan {
  background: linear-gradient(135deg, #00d3f2 0%, #2b7fff 100%);
}

.bg-indigo {
  background: linear-gradient(135deg, #155dfc 0%, #4f39f6 100%);
}

.bg-gold {
  background: linear-gradient(135deg, #fdc700 0%, #fe9a00 100%);
}

.bg-amber {
  background: linear-gradient(135deg, #ffb900 0%, #f0b100 100%);
}

.bg-teal {
  background: linear-gradient(135deg, #00b8db 0%, #155dfc 100%);
}

.bg-sky {
  background: linear-gradient(135deg, #51a2ff 0%, #00d3f2 100%);
}

.bg-purple {
  background: linear-gradient(135deg, #615fff 0%, #155dfc 100%);
}

.consulate-title {
  margin: 0;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
}

.consulate-desc {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 22.75px;
}

/* ============ Contact section ============ */
.big-title {
  margin: 0;
  font-size: 48px;
  line-height: 48px;
  font-weight: 400;
  letter-spacing: 0.35px;
  text-align: center;
  color: #101828;
}

.big-desc {
  margin: 16px 0 0;
  text-align: center;
  font-size: 20px;
  line-height: 28px;
  color: #364153;
}

.contact-grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.contact-card {
  background: #fff;
  border: 2px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow);
}

.contact-card.soft {
  background: linear-gradient(135deg, rgba(112, 172, 255, 0.10) 0%, rgba(255, 219, 111, 0.10) 100%);
}

.contact-card-title {
  margin: 0 0 24px;
  font-size: 24px;
  line-height: 32px;
  font-weight: 400;
  color: #101828;
}

.contact-items {
  display: grid;
  gap: 24px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-ico {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #fff;
  border: 2px solid rgba(112, 172, 255, 0.25);
}

.contact-ico.mail {
  border-color: rgba(112, 172, 255, 0.25);
}

.contact-ico.map {
  border-color: rgba(112, 172, 255, 0.25);
}

.contact-label {
  font-size: 14px;
  line-height: 20px;
  color: var(--muted);
}

.contact-value {
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  color: #101828;
  margin-top: 4px;
}

.contact-note {
  font-size: 14px;
  line-height: 20px;
  color: var(--muted);
  margin-top: 4px;
}

/* wechat card */
.wechat-card {
  background: var(--blue);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
}

.wechat-title {
  margin: 0;
  font-size: 24px;
  line-height: 32px;
  font-weight: 400;
}

.wechat-desc {
  margin: 16px 0 0;
  font-size: 16px;
  line-height: 24px;
  opacity: 0.9;
}

.wechat-row {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: space-between;
}

.wechat-id {
  background: #fff;
  color: #101828;
  border-radius: 10px;
  padding: 8px 12px;
  font-weight: 500;
}

.wechat-qr {
  width: 123px;
  height: 124px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.25);
}

/* form */
.form {
  display: grid;
  gap: 18px;
}

.field {
  display: grid;
  gap: 8px;
}

.field-label {
  color: #364153;
  font-size: 14px;
}

.input,
.textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  padding: 14px 16px;
  outline: none;
}

.input:focus,
.textarea:focus {
  border-color: rgba(112, 172, 255, 0.8);
  box-shadow: 0 0 0 4px rgba(112, 172, 255, 0.15);
}

/* ============ Process Page Responsive ============ */
@media (max-width: 980px) {
  .steps-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* ============ Album Page Styles ============ */

/* Album hero - 与首页 hero 风格一致 */
.album-hero {
  position: relative;
  height: calc(100vh - 86px);
  min-height: 640px;
  max-height: 700px;
  background: var(--brand);
  overflow: hidden;
}

/* 半圆形图片容器 - 图片在半圆内部 */
.album-hero__circleWrap {
  position: absolute;
  right: -200px;
  top: 50%;
  transform: translateY(-50%);
  width: 900px;
  height: 900px;
  border-radius: 50%;
  z-index: 2;
  overflow: hidden;
  background: linear-gradient(180deg, #F1F4FA, #E7ECF5);
  box-shadow: -20px 0 60px rgba(0, 0, 0, .15);
}

/* 图片放在半圆容器内部 */
.album-hero__photo {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.album-hero__photoPlaceholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #F1F4FA, #E7ECF5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94A3B8;
  font-weight: 900;
}

/* 图片铺满半圆容器 */
.album-hero__photo .customize-edit-wrapper,
.album-hero__img {
  display: block;
  width: 100%;
  height: 100%;
}

.album-hero__img {
  object-fit: cover;
  object-position: center;
}

.album-hero__circleImg {
  display: none;
}

.album-hero__circleOverlay {
  display: none;
}

/* 水印 - 与首页一致的浅色水印 */
.album-hero__wmBig {
  position: absolute;
  left: 0;
  bottom: -120px;
  font-family: Montserrat, Inter, system-ui, sans-serif;
  font-size: 440px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.08);
  line-height: 1;
  letter-spacing: 12px;
  pointer-events: none;
  user-select: none;
  z-index: 1;
}

.album-hero__wmSmall {
  display: none;
}

/* Album hero inner - 标题偏上与首页一致 */
.album-hero__inner {
  position: relative;
  z-index: 5;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 120px;
  padding-left: max(30px, calc((100vw - 1180px) / 2));
}

/* 文字样式 - 白色文字在蓝色背景上 */
.album-hero__title {
  margin: 0;
  font-family: Montserrat, Inter, system-ui, sans-serif;
  font-size: 64px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #fff;
}

.album-hero__sub {
  margin: 22px 0 28px;
  width: min(500px, 100%);
  color: #fff;
  font-size: 26px;
  font-weight: 500;
  line-height: 1.75;
  opacity: 0.9;
}

/* intro */
.intro {
  padding: 70px 0 32px;
  background: #fff;
}

.intro__titleWrap {
  position: relative;
  width: fit-content;
}

.intro__title {
  margin: 0;
  font-family: Montserrat, Inter, system-ui, sans-serif;
  font-size: 40px;
  font-weight: 700;
  color: var(--deep);
  line-height: 43px;
}

.intro__underline {
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 244px;
  height: 20px;
  background: var(--yellow);
  z-index: -1;
}

.intro__desc {
  margin: 36px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 35px;
  max-width: 980px;
}

/* album section */
.album {
  padding: 40px 0 90px;
  background: #fff;
}

.filterCard {
  background: #fff;
  border-radius: 10px;
  box-shadow: var(--cardShadow);
  padding: 16px;
}

.filterCard__title {
  font-family: Montserrat, Inter, system-ui, sans-serif;
  font-size: 20px;
  font-weight: 500;
  color: var(--deep);
  margin-bottom: 14px;
}

.filterPills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.pill {
  height: 40px;
  padding: 0 18px;
  border-radius: 10px;
  border: none;
  background: #F3F4F6;
  color: #364153;
  font-size: 16px;
  cursor: pointer;
}

.pill.is-active {
  background: var(--blue);
  color: #fff;
}

.album__meta {
  margin: 18px 0 16px;
  color: var(--muted);
  font-size: 16px;
}

/* grid */
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px 44px;
}

.card {
  background: #fff;
  border-radius: 10px;
  box-shadow: var(--cardShadow);
  overflow: hidden;
}

.card__thumb {
  height: 180px;
  border-radius: 0;
  border: none;
  overflow: hidden;
}

.card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


.card__body {
  padding: 20px;
}

.card__title {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  color: var(--text);
  line-height: 24px;
}

.card__desc {
  margin: 8px 0 0;
  font-size: 16px;
  color: var(--muted);
  line-height: 24px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card__meta {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--muted2);
  font-size: 16px;
}

.metaRow {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ico {
  display: inline-block;
  width: 16px;
  height: 16px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  vertical-align: middle;
  margin-right: 4px;
  opacity: .7;
}

.ico--cal {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236A7282' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E");
}

.ico--tag {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236A7282' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'%3E%3C/path%3E%3Ccircle cx='12' cy='10' r='3'%3E%3C/circle%3E%3C/svg%3E");
}

.ico--user {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236A7282' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'%3E%3C/path%3E%3Ccircle cx='12' cy='7' r='4'%3E%3C/circle%3E%3C/svg%3E");
}

.card__footer {
  margin-top: 16px;
  padding-top: 17px;
  border-top: 1px solid #F3F4F6;
  color: #99A1AF;
  font-size: 16px;
  line-height: 24px;
  display: flex;
  align-items: center;
}

/* Album Page Responsive */
@media (max-width: 1100px) {
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .album-hero {
    height: 620px;
  }

  .album-hero__circleWrap {
    width: 640px;
    height: 640px;
    right: -260px;
    top: -60px;
  }

  .album-hero__wmBig {
    font-size: 220px;
    top: 330px;
  }

  .album-hero__wmSmall {
    display: none;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .intro__desc {
    line-height: 30px;
  }
}

@media (max-width: 520px) {
  .album-hero__title {
    font-size: 40px;
  }

  .album-hero__sub {
    font-size: 18px;
    line-height: 30px;
  }
}

/* ========================================
   RESPONSIVE STYLES - HEADER & LOGO
========================================= */

/* 平板和小屏幕 */
@media (max-width: 1024px) {
  .topbar {
    height: 70px;
    /* 降低高度 */
  }

  .topbar__inner {
    width: calc(100% - 40px);
    /* 减少边距 */
  }

  .logo img {
    max-height: 42px;
    /* 适应 70px header - 留出空间 */
    max-width: 180px;
    /* 可选：限制最大宽度 */
  }

  .topbar__nav {
    gap: 5px;
    /* 减小间距 */
  }

  .topbar__nav a {
    width: 90px;
    /* 缩小导航链接 */
    font-size: 16px;
    padding: 8px;
  }

  .menu-pill {
    width: 90px;
  }
}

/* 手机横屏 */
@media (max-width: 768px) {
  .topbar {
    height: 60px;
    /* 进一步降低 */
  }

  .topbar__inner {
    width: calc(100% - 24px);
  }

  .logo img {
    max-height: 35px;
    /* 适应 60px header - 留出空间 */
    max-width: 150px;
    /* 可选：限制最大宽度 */
  }

  /* 只隐藏导航链接，保留 menu 按钮 */
  .topbar__nav a:not(.menu-pill) {
    display: none !important;
  }

  .topbar__nav {
    display: flex;
    /* 保持容器可见 */
    gap: 0;
  }

  .menu-pill {
    display: flex !important;
    /* 确保显示 */
    width: 80px;
    font-size: 16px;
  }
}

/* 手机竖屏 */
@media (max-width: 480px) {
  .topbar {
    height: 56px;
    /* 移动端标准高度 */
  }

  .topbar__inner {
    width: calc(100% - 20px);
    padding: 0 10px;
  }

  .logo img {
    max-height: 28px;
    /* 适应 56px header - 留出空间 */
    max-width: 120px;
    /* 可选：限制最大宽度 */
  }

  /* 只隐藏导航链接，保留 menu 按钮 */
  .topbar__nav a:not(.menu-pill) {
    display: none !important;
  }

  .topbar__nav {
    display: flex !important;
  }

  .menu-pill {
    display: flex !important;
    width: 70px;
    font-size: 14px;
    padding: 8px 12px;
  }

  .menu-pill span:first-child {
    font-size: 14px;
  }
}

/* 超小屏幕 */
@media (max-width: 375px) {
  .topbar {
    height: 52px;
  }

  .logo img {
    max-height: 23px;
    /* 适应 52px header - 留出空间 */
    max-width: 100px;
    /* 可选：限制最大宽度 */
  }

  /* 确保导航容器和菜单按钮显示 */
  .topbar__nav a:not(.menu-pill) {
    display: none !important;
  }

  .topbar__nav {
    display: flex !important;
  }

  .menu-pill {
    display: flex !important;
    width: 60px;
    font-size: 13px;
    padding: 6px 10px;
  }
}

/* ============================================
   School & Process Pages - Responsive Styles
   ============================================ */

/* Tablet & Below (≤900px) */
@media (max-width: 900px) {

  /* School Page Hero */
  .school-hero__inner {
    padding: 40px 20px;
  }

  .school-hero__title {
    font-size: 32px;
  }

  .school-hero__sub {
    font-size: 16px;
  }

  /* School Course Grid */
  .courseGrid {
    flex-direction: column;
    gap: 30px;
  }

  .courseList,
  .courseSide {
    width: 100%;
  }

  /* Process Page Steps Grid */
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .step-card {
    max-width: 100%;
  }

  .step-arrow {
    display: none !important;
  }

  /* Process Page Tables */
  .data-table {
    font-size: 14px;
  }

  .data-table th,
  .data-table td {
    padding: 10px 8px;
  }

  /* Consulate Cards */
  .consulate-list {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* Mobile (≤640px) */
@media (max-width: 640px) {

  /* Hero Sections */
  .page-hero {
    padding: 40px 0;
  }

  .hero-h1 {
    font-size: 28px;
  }

  .hero-subtext {
    font-size: 14px;
  }

  /* School Hero */
  .school-hero {
    min-height: 400px;
    padding: 60px 0 40px;
  }

  .school-hero__title {
    font-size: 28px;
    margin-bottom: 16px;
  }

  .school-hero__sub {
    font-size: 14px;
    line-height: 1.6;
  }

  .school-hero__circleWrap {
    width: 200px;
    height: 200px;
    right: -100px;
    top: 50%;
  }

  .school-hero__watermark {
    font-size: 80px;
    opacity: 0.03;
  }

  /* Apply Box */
  .apply-box {
    padding: 24px 20px;
    gap: 20px;
  }

  .apply-text {
    font-size: 15px;
    line-height: 1.7;
  }

  .notice {
    padding: 14px;
    gap: 10px;
  }

  .notice-text {
    font-size: 13px;
    line-height: 1.7;
  }

  /* Materials */
  .material-item {
    flex-direction: column;
    padding: 20px;
  }

  .material-title {
    font-size: 17px;
  }

  .material-desc {
    font-size: 14px;
  }

  .badge {
    font-size: 12px;
    padding: 5px 10px;
  }

  /* Section Headings */
  .sectionHead__zh,
  .section-title {
    font-size: 24px;
  }

  .sectionLead,
  .section-desc {
    font-size: 14px;
    line-height: 1.8;
  }

  /* School Course Rows */
  .courseRow {
    padding: 20px;
  }

  .courseRow__tag {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 12px;
  }

  .courseRow__name {
    font-size: 16px;
  }

  .courseRow__time {
    font-size: 13px;
  }

  .courseRow__text {
    font-size: 14px;
  }

  /* Course Side Card */
  .courseSide__topInner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .courseSide__title {
    font-size: 20px;
  }

  /* Process Steps */
  .step-card {
    padding: 24px 20px;
  }

  .step-meta {
    font-size: 11px;
    margin-bottom: 12px;
  }

  .step-title {
    font-size: 18px;
    margin-bottom: 8px;
  }

  .step-desc {
    font-size: 14px;
    line-height: 1.6;
  }

  /* Info Cards */
  .info-card {
    padding: 24px 20px;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: auto;
  }

  .card-title {
    font-size: 18px;
  }

  .checkitem {
    font-size: 14px;
    padding-left: 16px;
  }



  /* Cards Stack */
  .cards-stack {
    gap: 20px;
  }

  .card-titlebar {
    margin-bottom: 16px;
  }

  .bar {
    width: 3px;
    height: 20px;
  }

  /* Apply Box */
  .apply-box {
    padding: 24px 20px;
    gap: 20px;
  }

  .apply-text {
    font-size: 15px;
    line-height: 1.6;
  }

  .notice {
    padding: 14px;
    gap: 10px;
  }

  .notice-text {
    font-size: 14px;
    line-height: 1.6;
  }

  .notice-icon {
    flex-shrink: 0;
  }

  /* Materials List */
  .materials-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .material-item {
    padding: 20px;
    flex-direction: column;
    align-items: flex-start;
  }

  .material-title {
    font-size: 16px;
  }

  .material-desc {
    font-size: 13px;
  }

  .badge {
    font-size: 12px;
    padding: 5px 10px;
  }

  /* Note Strip */
  .note-strip {
    padding: 18px 20px;
    font-size: 15px;
    line-height: 1.6;
  }

  /* Visa Box & Pills */
  .visa-box {
    padding: 20px;
  }

  .pill-list {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .pill {
    padding: 12px 14px;
    font-size: 14px;
  }



  /* Consulate Cards */
  .consulate-card {
    padding: 20px;
    gap: 12px;
  }

  .consulate-icon {
    width: 40px;
    height: 40px;
  }

  .consulate-title {
    font-size: 15px;
  }

  .consulate-desc {
    font-size: 13px;
  }



  /* Time Pills */
  .timePills {
    flex-direction: column;
    gap: 12px;
  }

  .timePill {
    font-size: 14px;
    padding: 12px 16px;
  }

  /* Term List */
  .termRow {
    flex-direction: column;
    gap: 12px;
    padding: 16px;
  }

  .termRow__left {
    width: 100%;
  }

  .termRow__name {
    font-size: 16px;
  }

  .termRow__time {
    font-size: 13px;
  }

  .termRow__right {
    font-size: 13px;
    line-height: 1.8;
  }

  /* Quick Cards */
  .quickGrid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Materials List */
  .material-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
  }

  .material-title {
    font-size: 16px;
  }

  .material-desc {
    font-size: 13px;
  }

  /* Visa Pills */
  .pill-list {
    gap: 10px;
  }

  .pill {
    font-size: 13px;
    padding: 8px 12px;
  }

  /* Contact Grid */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .contact-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .contact-ico {
    margin-bottom: 8px;
  }
}

/* Small Mobile (≤480px) */
@media (max-width: 480px) {

  /* Hero */
  .hero-h1 {
    font-size: 24px;
  }

  .school-hero__title {
    font-size: 24px;
  }

  .school-hero__circleWrap {
    width: 150px;
    height: 150px;
    right: -75px;
  }

  /* Section Titles */
  .sectionHead__zh,
  .section-title {
    font-size: 22px;
  }

  /* Process Steps - More Compact */
  .step-card {
    padding: 20px 16px;
  }

  .step-title {
    font-size: 16px;
  }

  .step-desc {
    font-size: 13px;
  }

  /* Tables - Stack on very small screens */
  .table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .data-table {
    min-width: 500px;
    font-size: 12px;
  }

  .data-table th,
  .data-table td {
    padding: 8px 6px;
  }

  /* Buttons */
  .primary-btn {
    width: 100%;
    justify-content: center;
  }

  /* Apply Box */
  .apply-text {
    font-size: 14px;
  }

  /* Notice */
  .notice-text {
    font-size: 13px;
  }

  /* Tip Card */
  .tip-text {
    font-size: 13px;
  }

  /* Scholar Bar */
  .scholarBar {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .scholarBar__title {
    font-size: 18px;
  }

  .scholarBar__desc {
    font-size: 13px;
  }
}

/* Extra Small (≤375px) */
@media (max-width: 375px) {

  /* Container Padding */
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  /* Hero */
  .page-hero {
    padding: 30px 0;
  }

  .hero-h1 {
    font-size: 22px;
  }

  .school-hero {
    padding: 50px 0 30px;
  }

  .school-hero__title {
    font-size: 22px;
  }

  .school-hero__sub {
    font-size: 13px;
  }

  /* Sections */
  .section {
    padding: 40px 0;
  }

  .sectionHead__zh,
  .section-title {
    font-size: 20px;
  }

  /* Cards - 确保在移动端不会溢出 */
  .step-card,
  .info-card,
  .material-item {
    padding: 16px 12px;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
  }

  .info-card {
    overflow-x: auto;
    /* 允许info-card内部滚动 */
  }

  /* Info Cards - Extra Small */
  .card-title {
    font-size: 16px;
  }

  .checkitem {
    font-size: 13px;
    padding-left: 24px;
    line-height: 1.6;
  }



  /* Table Responsiveness */
  .table-wrap {
    margin: 0 -12px;
  }

  .data-table {
    font-size: 12px;
  }

  .data-table th,
  .data-table td {
    padding: 8px 6px;
  }

  /* Ensure table stays within card */
  .info-card .table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .data-table {
    min-width: 500px;
    /* Prevent table from being too narrow */
  }

  /* Apply Box - Small Mobile */
  .apply-box {
    padding: 20px 16px;
    gap: 16px;
  }

  .apply-text {
    font-size: 14px;
  }

  .notice {
    padding: 12px;
    gap: 8px;
    flex-direction: column;
  }

  .notice-icon {
    width: 20px;
    height: 20px;
  }

  .notice-text {
    font-size: 13px;
  }

  .primary-btn {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    font-size: 15px;
  }

  /* Materials List - Small Mobile */
  .material-item {
    padding: 16px;
    gap: 12px;
  }

  .material-title {
    font-size: 15px;
    margin-bottom: 6px;
  }

  .material-desc {
    font-size: 12px;
  }

  /* Course Rows */
  .courseRow {
    padding: 16px;
  }

  .courseRow__name {
    font-size: 15px;
  }

  .courseRow__text {
    font-size: 13px;
  }

  /* Forms */
  .field-label {
    font-size: 13px;
  }

  .input,
  .textarea {
    font-size: 14px;
    padding: 10px 12px;
  }
}

/* 
   ==========================================================================
   FINAL MOBILE FIXES (FORCE OVERRIDE)
   ========================================================================== 
*/
@media (max-width: 520px) {

  /* 解决学校和相册首页的圆环溢出问题 */
  .school-hero,
  .album-hero {
    min-height: auto !important;
    padding-top: 60px !important;
    padding-bottom: 40px !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    height: auto !important;
  }

  .school-hero__circleWrap,
  .album-hero__circleWrap {
    position: relative !important;
    top: -30px !important;
    right: auto !important;
    width: 140% !important;
    height: 280px !important;
    margin-left: -20% !important;
    margin-bottom: 20px !important;
    transform: none !important;
    border-radius: 0 0 50% 50% !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
    flex-shrink: 0 !important;
  }

  .school-hero__inner {
    position: relative !important;
    width: 100% !important;
    padding: 0 24px !important;
    text-align: center !important;
  }

  .school-hero__title {
    font-size: 32px !important;
    margin-bottom: 10px !important;
  }

  .school-hero__sub {
    font-size: 15px !important;
    line-height: 1.6 !important;
  }

  /* 缩放巨大的水印 */
  .school-hero__watermark,
  .album-hero__watermark {
    font-size: 100px !important;
    top: 60px !important;
    left: 20px !important;
    opacity: 0.05 !important;
    pointer-events: none !important;
  }

  /* 课程列表适配 */
  .courseGrid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    display: flex !important;
    flex-direction: column !important;
  }

  .courseList {
    width: 100% !important;
  }

  .courseRow {
    flex-direction: column !important;
    gap: 12px !important;
  }

  /* 学期列表 */
  .termRow {
    flex-direction: column !important;
    gap: 8px !important;
    padding: 15px !important;
  }

  /* 解决水平滚动问题 */
  body,
  html {
    overflow-x: hidden !important;
    width: 100% !important;
    position: relative !important;
  }
}

.card-stack-link {
  text-decoration: none !important;
  color: inherit !important;
  display: block;
}

/* ============ 宿舍介绍 & 位置交通 (Figma Design) ============ */

/* 宿舍介绍主容器 */
.feature-block {
  padding: 80px 0 60px;
  background: #fff;
}

/* 居中文本容器 */
.center-text {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 0;
  gap: 15px;
}

/* 装饰标题 - 设计稿风格（橙色渐变） */
.decorate-title {
  position: relative;
  display: inline-block;
  margin-bottom: 0;
}

.decorate-title h2 {
  position: relative;
  z-index: 2;
  font-size: 36px;
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.05em;
}

.decorate-title__bar {
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  height: 8px;
  background: linear-gradient(90deg, rgba(253, 199, 0, 0.3) 0%, rgba(253, 199, 0, 0.6) 50%, rgba(253, 199, 0, 0.3) 100%);
  z-index: 1;
  border-radius: 4px;
}

/* 宿舍介绍文字 */
.dorm-intro-text {
  max-width: 768px;
  margin: 0 auto;
  color: #4A5565;
  font-size: 16px;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  line-height: 1.8;
  text-align: center;
}

/* 小节标题 */
.sub-section-title {
  font-size: 22px;
  color: #1C3F70;
  text-align: center;
  margin: 50px 0 30px;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  position: relative;
  display: inline-block;
  width: 100%;
}

.sub-section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #FDC700 0%, #FFB900 100%);
  margin: 12px auto 0;
  border-radius: 2px;
}

/* ===== 宿舍图片区域 - 设计稿风格 ===== */
.dorm-visuals {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 30px auto 50px;
  padding: 0 20px;
  max-width: 1000px;
}

.dorm-visuals .ph-box {
  position: relative;
  flex: 1;
  max-width: 480px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* 移除渐变模糊背景，使用简洁阴影 */
.dorm-visuals .ph-box::before {
  display: none;
}

/* 图片容器内层 */
.dorm-visuals .ph-box img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  border-radius: 20px;
  transition: transform 0.3s ease;
}

.dorm-visuals .ph-box:hover img {
  transform: scale(1.02);
}

/* ===== 宿舍基本信息区域 - 设计稿4列+右侧图片 ===== */
.dorm-info-section {
  display: flex;
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto 40px;
  padding: 0 20px;
  align-items: stretch;
}

.dorm-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  flex: 1;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.dorm-info-card {
  background: #fff;
  padding: 24px 20px;
  border-right: 1px solid #E5E7EB;
  transition: background 0.2s ease;
}

.dorm-info-card:last-child {
  border-right: none;
}

.dorm-info-card:hover {
  background: #FAFBFC;
}

.dorm-info-card__label {
  font-size: 13px;
  color: #6B7280;
  margin-bottom: 8px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}

.dorm-info-card__label::before {
  content: '●';
  font-size: 8px;
  color: #F59E0B;
}

.dorm-info-card__value {
  font-size: 16px;
  color: #70ACFF;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.4;
}

.dorm-info-card__desc {
  font-size: 12px;
  color: #9CA3AF;
  line-height: 1.5;
}

/* 右侧宿舍外观图 */
.dorm-info-image {
  width: 260px;
  flex-shrink: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.dorm-info-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== 设备列表 - 设计稿风格（黄色边框提示卡） ===== */
.equipment-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.equipment-item {
  padding: 16px 24px;
  border-radius: 12px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 14px;
  border: 2px solid #FDE68A;
  background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%);
  color: #78350F;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.equipment-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(253, 199, 0, 0.2);
}

.equipment-item p {
  margin: 0;
  line-height: 1.6;
  flex: 1;
}

.equipment-item .equip-icon {
  width: 28px;
  height: 28px;
  background: #FCD34D;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 14px;
}

/* 蓝色设备项 */
.equipment-item--blue {
  background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
  border-color: #93C5FD;
  color: #1E40AF;
}

.equipment-item--blue .equip-icon {
  background: #60A5FA;
  color: #fff;
}

/* 黄色设备项（警告类型） */
.equipment-item--yellow {
  background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%);
  border-color: #FDE68A;
  color: #92400E;
}

.equipment-item--yellow .equip-icon {
  background: #FCD34D;
  color: #78350F;
}

/* ===== 费用卡片 - 设计稿风格 ===== */
.fee-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.fee-card {
  background: #fff;
  border-radius: 20px;
  padding: 28px;
  border: 2px solid #E0E7FF;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fee-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(112, 172, 255, 0.12);
}

.fee-card--orange {
  border-color: #FED7AA;
}

.fee-card--orange:hover {
  box-shadow: 0 12px 35px rgba(253, 199, 0, 0.12);
}

.fee-card__title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #1E293B;
  padding-bottom: 12px;
  border-bottom: 1px solid #F1F5F9;
}

.fee-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: #F8FAFC;
  border-radius: 10px;
  margin-bottom: 8px;
  font-size: 14px;
}

.fee-card--orange .fee-row {
  background: #FFF7ED;
}

.fee-total {
  margin-top: auto;
  padding: 20px;
  background: linear-gradient(135deg, #70ACFF 0%, #3B82F6 100%);
  color: #fff;
  border-radius: 16px;
}

.fee-card--orange .fee-total {
  background: linear-gradient(135deg, #FCD34D 0%, #F59E0B 100%);
  color: #78350F;
}

/* ===== 宿舍备注 - 设计稿风格（黄色背景提示框） ===== */
.dorm-notes {
  background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%);
  border-radius: 16px;
  padding: 30px 40px;
  margin-top: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  border: 2px solid #FDE68A;
}

.dorm-notes ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.dorm-notes li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  color: #78350F;
  line-height: 1.7;
  font-size: 14px;
}

.dorm-notes li:last-child {
  margin-bottom: 0;
}

.dorm-notes li::before {
  content: '●';
  position: absolute;
  left: 0;
  color: #F59E0B;
  font-size: 10px;
  top: 5px;
}

/* ===== 位置交通 (Section) ===== */
.location-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  margin-top: 40px;
}

.location-maps .ph-box {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.transport-card {
  background: #fff;
  border-radius: 24px;
  padding: 35px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
  border: 1px solid #F1F5F9;
}

.inner-label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #3B82F6;
  font-weight: 700;
  margin-bottom: 20px;
  font-size: 16px;
}

.transport-method {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  background: #FFFBEB;
  padding: 20px;
  border-radius: 16px;
  margin-bottom: 25px;
}

.time-to-school {
  background: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 100%);
  padding: 30px;
  border-radius: 20px;
  text-align: center;
  margin-top: 30px;
  border: 1px solid #BAE6FD;
}

/* ===== 响应式适配 ===== */

/* 大平板 */
@media (max-width: 1100px) {
  .dorm-visuals {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .dorm-visuals .ph-box {
    max-width: 600px;
    width: 100%;
  }

  .dorm-visuals .ph-box img {
    height: 300px;
  }

  .dorm-info-section {
    flex-direction: column;
  }

  .dorm-info-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .dorm-info-card {
    border-right: none;
    border-bottom: 1px solid #E5E7EB;
  }

  .dorm-info-card:nth-child(2n) {
    border-right: none;
  }

  .dorm-info-card:nth-last-child(-n+2) {
    border-bottom: none;
  }

  .dorm-info-image {
    width: 100%;
    max-width: 500px;
    height: 200px;
    margin: 0 auto;
  }
}

/* 平板 */
@media (max-width: 768px) {
  .feature-block {
    padding: 60px 0 40px;
  }

  .decorate-title h2 {
    font-size: 28px;
    line-height: 1.3;
  }

  .decorate-title__bar {
    width: 100%;
    height: 6px;
  }

  .dorm-intro-text {
    font-size: 15px;
    line-height: 1.7;
    padding: 0 16px;
  }

  .sub-section-title {
    font-size: 20px;
    margin: 40px 0 24px;
  }

  .dorm-visuals {
    padding: 0 16px;
    gap: 24px;
  }

  .dorm-visuals .ph-box {
    max-width: 100%;
  }

  .dorm-visuals .ph-box img {
    height: 240px;
    border-radius: 16px;
  }

  .dorm-info-section {
    padding: 0 16px;
  }

  .dorm-info-grid {
    grid-template-columns: 1fr 1fr;
    border-radius: 12px;
  }

  .dorm-info-card {
    padding: 16px;
    border-bottom: 1px solid #E5E7EB;
  }

  .dorm-info-card:nth-child(odd) {
    border-right: 1px solid #E5E7EB;
  }

  .dorm-info-card:nth-child(even) {
    border-right: none;
  }

  .dorm-info-card:nth-last-child(-n+2) {
    border-bottom: none;
  }

  .dorm-info-image {
    display: none;
  }

  .equipment-list {
    padding: 0 16px;
  }

  .equipment-item {
    padding: 14px 18px;
    font-size: 13px;
    gap: 10px;
    border-radius: 10px;
  }

  .fee-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 0 16px;
  }

  .fee-card {
    padding: 24px;
    border-radius: 16px;
  }

  .dorm-notes {
    padding: 24px;
    margin: 40px 16px 0;
    border-radius: 12px;
  }

  .location-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* 手机 */
@media (max-width: 480px) {
  .feature-block {
    padding: 40px 0 30px;
  }

  .center-text {
    padding: 16px 0;
  }

  .decorate-title h2 {
    font-size: 24px;
    line-height: 1.3;
  }

  .decorate-title__bar {
    width: 100%;
    height: 5px;
  }

  .dorm-intro-text {
    font-size: 14px;
    line-height: 1.7;
    padding: 0 12px;
  }

  .sub-section-title {
    font-size: 18px;
    margin: 32px 0 20px;
  }

  .sub-section-title::after {
    width: 40px;
    height: 2px;
    margin-top: 8px;
  }

  .dorm-visuals {
    padding: 0 12px;
    gap: 16px;
  }

  .dorm-visuals .ph-box img {
    height: 180px;
    border-radius: 12px;
  }

  .dorm-info-section {
    padding: 0 12px;
  }

  .dorm-info-grid {
    grid-template-columns: 1fr;
    border-radius: 10px;
  }

  .dorm-info-card {
    padding: 14px 16px;
    border-right: none !important;
    border-bottom: 1px solid #E5E7EB;
  }

  .dorm-info-card:last-child {
    border-bottom: none;
  }

  .dorm-info-card__label {
    font-size: 12px;
    margin-bottom: 6px;
  }

  .dorm-info-card__value {
    font-size: 15px;
    margin-bottom: 4px;
  }

  .dorm-info-card__desc {
    font-size: 11px;
  }

  .equipment-list {
    padding: 0 12px;
    gap: 10px;
  }

  .equipment-item {
    flex-direction: row;
    align-items: center;
    padding: 12px 14px;
    font-size: 12px;
    gap: 10px;
    border-radius: 8px;
  }

  .equipment-item .equip-icon {
    width: 24px;
    height: 24px;
    font-size: 12px;
    border-radius: 6px;
  }

  .fee-grid {
    gap: 14px;
    padding: 0 12px;
  }

  .fee-card {
    padding: 20px 16px;
    border-radius: 14px;
  }

  .fee-card__title {
    font-size: 15px;
    margin-bottom: 16px;
    padding-bottom: 10px;
  }

  .fee-row {
    padding: 10px 12px;
    font-size: 13px;
    margin-bottom: 6px;
    border-radius: 8px;
  }

  .fee-total {
    padding: 16px;
    border-radius: 12px;
  }

  .dorm-notes {
    padding: 20px 16px;
    margin: 30px 12px 0;
    border-radius: 10px;
  }

  .dorm-notes li {
    font-size: 13px;
    padding-left: 24px;
    margin-bottom: 10px;
    line-height: 1.6;
  }

  .dorm-notes li::before {
    font-size: 8px;
    top: 4px;
  }

  .transport-card {
    padding: 20px 16px;
    border-radius: 16px;
  }

  .time-to-school {
    padding: 20px;
    border-radius: 14px;
  }
}

/* ===============================================
   New Dormitory & Location Styles 
   (from dormitoryandlocation design)
   =============================================== */

/* ===== 宿舍介绍主区域 ===== */
.dorm-section {
  max-width: 1051px;
  margin: 47px auto 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 0 20px;
}

.dorm-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  padding: 28px 0;
  text-align: center;
}

.dorm-title-wrap {
  position: relative;
}

.dorm-main-title {
  font-size: 32px;
  font-weight: 700;
  color: #1b3f6f;
  text-align: center;
  line-height: 1.4;
  margin: 0;
}

.dorm-title-bar {
  width: 40px;
  height: 4px;
  background: #ffdb6f;
  border-radius: 2px;
  margin: 8px auto 0;
}

.dorm-subtitle {
  max-width: 768px;
  font-size: 18px;
  color: #495565;
  line-height: 28px;
  margin: 0;
}

/* ===== 宿舍图片组 ===== */
.dorm-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin: 0;
  padding: 0;
}

.dorm-img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* ===== 宿舍小节标题 ===== */
.dorm-section-title {
  font-size: 24px;
  font-weight: 400;
  text-align: center;
  color: #0a0a0a;
  margin: 0 0 24px;
}

/* ===== 宿舍基本信息卡片 ===== */
.dorm-info-section {
  margin-top: 72px;
}

.dorm-info-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  /* 保持适中的间隔 */
  width: 100%;
  margin: 0 auto;
}

.dorm-card {
  background: #ffffff;
  border-radius: 20px;
  /* 圆角略微调圆 */
  border: 1px solid #e2e8f0;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
  /* 添加微弱阴影增强卡片感 */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dorm-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
}

.dorm-card__label {
  font-size: 16px;
  color: #0a0a0a;
  margin: 0;
  font-weight: 600;
}

.dorm-card__value {
  font-size: 16px;
  color: #70acff;
  margin: 0;
  font-weight: 700;
}

.dorm-card__desc {
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
  margin: 10px 0 0;
  /* 描述文字与上方增加一点间距 */
}

/* ===== 宿舍设备列表 ===== */
.dorm-equipment-section {
  margin-top: 100px;
  /* 增加板块之间的距离 */
}

.dorm-section-title {
  margin-bottom: 64px;
  /* 进一步拉开标题与内容的距离，使布局更协调 */
  font-size: 24px;
  color: #1e293b;
  font-weight: 700;
  text-align: center;
  /* 确保标题居中对齐 */
}

.dorm-equipment-list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dorm-equip-item {
  border-radius: 14px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  font-size: 15px;
}

.dorm-equip-item--warning {
  background: linear-gradient(90deg, #fffbeb, #fefce8);
  border: 1px solid #fde585;
  color: #963b00;
}

.dorm-equip-item--info {
  background: linear-gradient(90deg, #eff6ff, #ecfeff);
  border: 1px solid #bddaff;
  color: #193bb8;
}

/* ===== 入住费用区域 ===== */
.dorm-fee-section {
  margin-top: 100px;
}

.dorm-fee-section .dorm-section-title {
  margin-bottom: 40px;
}

.dorm-fee-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.dorm-fee-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.dorm-fee-card--blue {
  border: 2px solid #bddaff;
}

.dorm-fee-card--orange {
  border: 2px solid #f6aa64;
}

.dorm-fee-card__title {
  font-size: 16px;
  font-weight: 700;
  margin: 0;
  color: #1e293b;
}

.dorm-fee-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
}

.dorm-fee-row {
  background: #eff6ff;
  border-radius: 14px;
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
}

.dorm-fee-card--orange .dorm-fee-row {
  background: #fff7ed;
}

.dorm-fee-row dt {
  font-weight: 500;
  color: #475569;
}

.dorm-fee-row dd {
  font-weight: 700;
  color: #70acff;
  margin: 0;
}

.dorm-fee-card--orange .dorm-fee-row dd {
  color: #ea580c;
}

.dorm-fee-total {
  border-top: 2px solid #e5e7eb;
  padding-top: 24px;
  text-align: center;
}

.dorm-fee-example {
  font-size: 14px;
  color: #64748b;
  margin: 0 0 8px;
}

.dorm-fee-price {
  font-size: 32px;
  font-weight: 800;
  color: #70acff;
  margin: 0 0 8px;
}

.dorm-fee-card--orange .dorm-fee-price {
  color: #ea580c;
}

.dorm-fee-price span {
  font-size: 16px;
  font-weight: 500;
}

.dorm-fee-note {
  font-size: 13px;
  color: #64748b;
  margin: 0;
}

/* ===== 注意事项 ===== */
.dorm-notice {
  width: 100%;
  margin: 60px 0 0;
  background: #fefce8;
  border-radius: 14px;
  padding: 24px 32px;
}

.dorm-notice-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dorm-notice-list li {
  font-size: 16px;
  color: #354152;
  padding-left: 20px;
  position: relative;
}

.dorm-notice-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #d97706;
  font-weight: bold;
}

/* ===== 位置与交通主区域 ===== */
.location-section {
  max-width: 1263px;
  margin: 120px auto 160px;
  padding: 0 20px;
}

.location-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 48px;
}

.location-main-title {
  font-size: 32px;
  font-weight: 700;
  color: #1b3f6f;
  text-align: center;
  margin: 0;
}

.location-title-bar {
  width: 40px;
  height: 4px;
  background: #ffdb6f;
  border-radius: 2px;
}

/* ===== 位置内容布局 ===== */
.location-content {
  display: grid;
  grid-template-columns: 710px 528px;
  gap: 25px;
  align-items: start;
}

.location-maps-area {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.location-map-box {
  margin: 0;
  padding: 10px;
  border-radius: 16px;
}

.location-map-box img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}

/* ===== 位置信息卡片 ===== */
.location-info-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 35px;
  border: 1px solid #f1f5f9;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.location-label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #3b82f6;
  font-weight: 700;
  font-size: 16px;
}

.location-label__icon {
  background: #3b82f6;
  color: #ffffff;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  font-size: 14px;
}

/* ===== 交通方式 ===== */
.location-transport {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  background: #fffbeb;
  padding: 20px;
  border-radius: 16px;
}

.location-transport__icon {
  font-size: 24px;
}

.location-transport__content {
  flex: 1;
}

.location-transport__line {
  color: #92400e;
  font-weight: 700;
  margin: 0 0 5px;
}

.location-transport__station {
  color: #475569;
  font-size: 15px;
  margin: 0;
}

.location-transport__note {
  margin: 12px 0 0;
  font-size: 13px;
  color: #1e40af;
  background: #ffffff;
  padding: 6px 15px;
  border-radius: 6px;
  display: inline-block;
  border: 1px solid #dbeafe;
}

/* ===== 地址信息 ===== */
.location-address {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 10px 0 20px;
}

.location-address__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.location-address__label {
  color: #64748b;
  font-size: 14px;
}

.location-address__value {
  font-size: 18px;
  font-weight: 700;
  color: #1e293b;
}

.location-address__sub {
  font-size: 14px;
  color: #64748b;
}

/* ===== Google Map 链接 ===== */
.location-map-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
  padding: 18px;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 700;
  transition: background 0.2s ease;
}

.location-map-link:hover {
  background: #fef3c7;
}

/* ===== 步行时间 ===== */
.location-walk-time {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  padding: 30px;
  border-radius: 20px;
  text-align: center;
  border: 1px solid #bae6fd;
}

.location-walk-time__star {
  background: #3b82f6;
  color: #ffffff;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 20px;
}

.location-walk-time__label {
  margin: 15px 0 0;
  color: #1e3a8a;
  font-size: 16px;
}

.location-walk-time__value {
  font-size: 44px;
  color: #3b82f6;
  font-weight: 800;
  margin: 5px 0;
}

.location-walk-time__note {
  font-size: 14px;
  color: #64748b;
  margin: 0;
}

/* ===== 响应式：宿舍和位置新样式 ===== */
@media (max-width: 1100px) {
  .dorm-info-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .location-content {
    grid-template-columns: 1fr;
  }

  .location-maps-area {
    order: 2;
  }

  .location-info-card {
    order: 1;
  }
}

@media (max-width: 768px) {
  .dorm-section {
    gap: 24px;
  }

  .dorm-main-title {
    font-size: 32px;
  }

  .dorm-title-bar {
    width: 180px;
    height: 20px;
  }

  .dorm-subtitle {
    font-size: 16px;
    line-height: 26px;
  }

  .dorm-images {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .dorm-info-section,
  .dorm-equipment-section,
  .dorm-fee-section {
    margin-top: 50px;
  }

  .dorm-fee-grid {
    grid-template-columns: 1fr;
  }

  .dorm-notice {
    margin-top: 50px;
    padding: 20px 24px;
  }

  .location-section {
    margin: 80px auto 100px;
  }

  .location-main-title {
    font-size: 28px;
  }

  .location-title-bar {
    width: 120px;
    height: 12px;
  }
}

@media (max-width: 480px) {
  .dorm-main-title {
    font-size: 28px;
  }

  .dorm-title-bar {
    width: 140px;
    height: 16px;
  }

  .dorm-info-cards {
    grid-template-columns: 1fr;
  }

  .dorm-card {
    padding: 18px;
  }

  .dorm-fee-card {
    padding: 24px;
  }

  .location-info-card {
    padding: 24px;
  }

  .location-walk-time__value {
    font-size: 36px;
  }
}

/* ===============================================
   修复样式 - 2026.01.29
   1. 大屏幕响应式问题
   2. 宿舍基本信息标题居中
   3. 文字大小统一
   =============================================== */

/* ===== 1. 大屏幕响应式修复 ===== */
/* 超大屏幕 (>1600px) - 确保hero区域正确显示 */
@media (min-width: 1600px) {
  .hero {
    width: 100%;
  }

  .hero__content {
    max-width: 650px;
    padding-left: 60px;
  }

  .hero__title {
    font-size: 72px;
  }

  .hero__lead {
    font-size: 28px;
  }

  /* school页面的hero修复 */
  .school-hero {
    width: 100%;
  }

  .school-hero__content {
    padding-left: 60px;
    max-width: 600px;
  }

  .school-hero__title {
    font-size: 72px;
  }

  .school-hero__sub {
    font-size: 28px;
  }
}

/* 大屏幕 (>1440px) 修复 */
@media (min-width: 1440px) {

  .hero .container,
  .school-hero .container {
    width: 100%;
    max-width: 1440px;
  }
}

/* ===== 2. 宿舍基本信息 - 标题居中在卡片上方 ===== */
/* 覆盖原有的flex布局，改为垂直居中布局 */
.dorm-info-section {
  display: flex;
  flex-direction: column !important;
  align-items: center;
  gap: 24px;
  max-width: 1100px;
  margin: 72px auto 0;
  padding: 0 20px;
}

/* 标题居中样式 */
.dorm-section-title {
  font-size: 24px;
  font-weight: 600;
  color: #1b3f6f;
  text-align: center;
  margin: 0;
}

/* 四张卡片网格布局 */
.dorm-info-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  width: 100%;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.dorm-card {
  background: #fff;
  padding: 28px 24px;
  border-right: 1px solid #E5E7EB;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dorm-card:last-child {
  border-right: none;
}

/* 宿舍设备和入住费用的标题也居中 */
.dorm-equipment-section,
.dorm-fee-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

/* ===== 3. 文字大小统一 - page-school与index.php保持一致 ===== */
/* 统一基础字体大小 */
.school-content {
  font-size: 16px;
  line-height: 1.75;
  color: #333;
}

/* 统一大标题 (section titles) */
.section-title,
.decorate-title h2,
.dorm-main-title,
.location-main-title {
  font-size: 40px;
  font-weight: 700;
  color: #1b3f6f;
  line-height: 1.3;
}

/* 统一小标题 (subsection titles) */
.sub-section-title,
.dorm-section-title,
.courseRow__label {
  font-size: 20px;
  font-weight: 600;
  color: #1b3f6f;
}

/* 统一正文文字 */
.intro-text,
.dorm-subtitle,
.courseRow__desc,
.scholarBar__desc {
  font-size: 16px;
  line-height: 1.75;
  color: #495565;
}

/* 统一卡片标题 */
.dorm-card__label,
.quickCard__title,
.columnCard__title {
  font-size: 16px;
  font-weight: 600;
  color: #1e293b;
}

/* 统一卡片值/数据 */
.dorm-card__value {
  font-size: 16px;
  font-weight: 700;
  color: #70acff;
}

/* 统一卡片描述 */
.dorm-card__desc,
.quickCard__sub,
.columnCard__desc {
  font-size: 14px;
  line-height: 1.6;
  color: #64748b;
}

/* 统一设备列表文字 */
.dorm-equip-item {
  font-size: 15px;
  line-height: 1.6;
}

/* 统一费用卡片文字 */
.dorm-fee-card__title {
  font-size: 18px;
  font-weight: 700;
}

.dorm-fee-row dt,
.dorm-fee-row dd {
  font-size: 15px;
}

.dorm-fee-price {
  font-size: 36px;
  font-weight: 800;
}

/* 统一注意事项文字 */
.dorm-notice-list li {
  font-size: 15px;
  line-height: 1.7;
}

/* ===== 响应式修复 - 中等屏幕 ===== */
@media (max-width: 1100px) {
  .dorm-info-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .dorm-card:nth-child(2) {
    border-right: none;
  }

  .dorm-card:nth-child(1),
  .dorm-card:nth-child(2) {
    border-bottom: 1px solid #E5E7EB;
  }

  .dorm-card:nth-child(3) {
    border-right: 1px solid #E5E7EB;
  }

  .section-title,
  .decorate-title h2,
  .dorm-main-title,
  .location-main-title {
    font-size: 32px;
  }
}

/* ===== 响应式修复 - 小屏幕 ===== */
@media (max-width: 768px) {
  .hero__title {
    font-size: 42px;
  }

  .hero__lead {
    font-size: 20px;
  }

  .school-hero__title {
    font-size: 42px;
  }

  .school-hero__sub {
    font-size: 20px;
  }

  .section-title,
  .decorate-title h2,
  .dorm-main-title,
  .location-main-title {
    font-size: 28px;
  }

  .sub-section-title,
  .dorm-section-title {
    font-size: 18px;
  }
}

/* ===== 响应式修复 - 手机屏幕 ===== */
@media (max-width: 480px) {
  .dorm-info-cards {
    grid-template-columns: 1fr;
  }

  .dorm-card {
    border-right: none;
    border-bottom: 1px solid #E5E7EB;
  }

  .dorm-card:last-child {
    border-bottom: none;
  }

  .hero__title {
    font-size: 32px;
  }

  .school-hero__title {
    font-size: 32px;
  }

  .section-title,
  .decorate-title h2,
  .dorm-main-title,
  .location-main-title {
    font-size: 24px;
  }

  .dorm-fee-price {
    font-size: 28px;
  }
}

/* ========== 超大屏幕支持 (2400px+) ========== */
/* 确保html和body不会限制内容宽度 */
html {
  width: 100%;
  max-width: none;
  overflow-x: hidden;
}

body {
  width: 100%;
  max-width: none;
  overflow-x: hidden;
}

/* 响应式调整 - 四季入学卡片 */
@media (max-width: 900px) {
  .intake-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 580px) {
  .intake-grid {
    grid-template-columns: 1fr;
    /* 手机端单列显示 */
    gap: 20px;
  }

  .intake {
    display: flex;
    /* 改为横向 Flex 布局 */
    flex-direction: row;
    height: auto;
    align-items: stretch;
  }

  .intake__thumb {
    width: 35%;
    /* 左侧图片占 35% */
    height: auto;
    /* 高度自适应 */
    min-height: 140px;
    border-bottom: none;
    border-right: 1px solid #E9EEF7;
  }

  .intake__thumb img {
    height: 100% !important;
    object-fit: cover;
  }

  .intake__body {
    width: 65%;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  /* 调整手机端文字大小 */
  .intake__h {
    font-size: 16px;
    margin-bottom: 8px;
  }

  .intake__meta {
    font-size: 13px;
    margin-bottom: 4px;
    /* 增加行间距 */
  }

  /* 标签稍微靠左上，或者直接放在标题上方 */
  .intake__tag {
    align-self: flex-start;
    margin-bottom: 8px;
  }

}

/* Footer 修正：确保资料公开和其他链接居中且为白色（如果需要覆盖默认样式） */
.footer a,
.nav-overlay__nav-link,
.overlay-link {
  color: #fff !important;
  /* 强制白色 */
}

.footer__links,
.nov-col-2 {
  text-align: center;
  /* 确保链接容器居中 */
  align-items: center;
  display: flex;
  flex-direction: column;
}

.social__btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  /* 图标白色 */
}

.social__btn svg {
  stroke: currentColor;
  fill: none;
  /* 确保没有填充色干扰 */
}

/* 针对 Instagram 图标的特定调整，确保居中 */
.social {
  display: flex;
  justify-content: center;
  gap: 16px;
  /* 如果有多个图标 */
}

/* 新增：Footer 二维码和社交图标的包裹容器 */
.footer__qr-social-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}