/* ==========================================================================
   ACM GDPU · 华硕校园合伙人·广药大专属站
   设计风格：广药深蓝 + 华硕红 + 银灰药学风
   ========================================================================== */

/* ----- CSS 变量 ----- */
:root {
  /* 品牌色 */
  --gdpu-blue: #0A2A5E;        /* 广药深蓝 - 主色 */
  --gdpu-blue-light: #1E4288;  /* 广药蓝 - 浅一档 */
  --gdpu-blue-deep: #061A3D;   /* 广药深蓝 - 深一档 */
  --asus-red: #D6191F;         /* 华硕红 - 强调色 */
  --asus-red-light: #E83A40;
  --silver: #A8B2BD;           /* 银灰 - 中性辅色 */
  --silver-light: #D6DCE4;     /* 银灰 - 浅 */
  --silver-deep: #6B7785;      /* 银灰 - 深 */

  /* 中性色 */
  --ink: #0E1218;              /* 主文字 */
  --ink-2: #2A2F38;            /* 次文字 */
  --ink-3: #5A5F6A;            /* 辅助文字 */
  --ink-4: #8A8F99;            /* 浅文字 */
  --bg: #FFFFFF;               /* 主背景 */
  --bg-soft: #F4F6F8;          /* 柔和背景 */
  --bg-tint: #E8EEF5;          /* 蓝调浅底 */
  --line: #E1E5EB;             /* 描边 */
  --line-2: #EDEFF3;

  /* 装饰色块（参考站的多色拼接风） */
  --block-yellow: #F5C518;
  --block-red: #D6191F;
  --block-blue: #0A2A5E;
  --block-white: #FFFFFF;
  --block-gray: #A8B2BD;

  /* 字体 */
  --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei",
    "Segoe UI", "Helvetica Neue", "Source Han Sans CN", "Noto Sans CJK SC",
    Arial, sans-serif;
  --font-display: var(--font-sans);
  --font-mono: "SF Mono", Consolas, Monaco, "Courier New", monospace;

  /* 字号 */
  --fs-xs: 12px;
  --fs-sm: 14px;
  --fs-base: 16px;
  --fs-md: 18px;
  --fs-lg: 22px;
  --fs-xl: 28px;
  --fs-2xl: 36px;
  --fs-3xl: 48px;
  --fs-4xl: 64px;
  --fs-5xl: 88px;

  /* 间距 */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --sp-8: 64px;
  --sp-9: 96px;
  --sp-10: 128px;

  /* 圆角 */
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 32px;
  --r-pill: 999px;

  /* 阴影 */
  --shadow-sm: 0 1px 2px rgba(10, 42, 94, 0.05);
  --shadow-md: 0 6px 24px rgba(10, 42, 94, 0.08);
  --shadow-lg: 0 16px 48px rgba(10, 42, 94, 0.12);

  /* 容器 */
  --container: 1240px;
  --container-narrow: 920px;

  /* 动效 */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ----- Reset & 全局 ----- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--asus-red); }

button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

ul, ol { list-style: none; padding: 0; margin: 0; }

h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }

p { margin: 0; }

/* ----- 工具类 ----- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--sp-5); }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 var(--sp-5); }

.text-red { color: var(--asus-red); }
.text-blue { color: var(--gdpu-blue); }
.text-silver { color: var(--silver); }

.divider {
  width: 100%; height: 1px; background: var(--line);
  margin: var(--sp-7) 0;
}

/* 装饰色块 - 多色拼接 */
.deco-strip {
  display: flex; width: 100%; height: 6px;
}
.deco-strip > span { flex: 1; }
.deco-strip > span:nth-child(1) { background: var(--block-blue); }
.deco-strip > span:nth-child(2) { background: var(--block-white); }
.deco-strip > span:nth-child(3) { background: var(--block-yellow); }
.deco-strip > span:nth-child(4) { background: var(--asus-red); }
.deco-strip > span:nth-child(5) { background: var(--silver); }

/* ----- 顶部导航 ----- */
.topbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10, 26, 61, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; gap: var(--sp-5);
}

.brand {
  display: flex; align-items: center; gap: var(--sp-3);
  flex-shrink: 0;
}
.brand-asus { display: flex; flex-direction: column; line-height: 1.05; }
.brand-asus .logo {
  font-size: 22px; font-weight: 800; color: #fff;
  letter-spacing: 0.5px;
}
.brand-asus .tag {
  font-size: 9px; letter-spacing: 1.4px; color: var(--asus-red);
  font-weight: 700; text-transform: uppercase;
}
.brand-sep {
  width: 1px; height: 32px; background: rgba(255, 255, 255, 0.18);
  margin: 0 var(--sp-1);
}
.brand-school {
  display: flex; align-items: center; gap: 8px;
  color: #fff;
}
.brand-school img { width: 30px; height: 30px; object-fit: contain; }
.brand-school .name {
  font-size: 13px; line-height: 1.1;
  display: flex; flex-direction: column;
}
.brand-school .name-cn { font-weight: 600; }
.brand-school .name-en { font-size: 9px; color: rgba(255,255,255,0.6); letter-spacing: 0.5px; }

.nav { display: flex; align-items: center; gap: var(--sp-5); }
.nav a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px; font-weight: 500;
  position: relative; padding: 6px 2px;
}
.nav a:hover, .nav a.active { color: #fff; }
.nav a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--asus-red);
}

.btn-join {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--r-pill);
  color: #fff; font-size: 14px; font-weight: 500;
  transition: all 0.2s var(--ease);
}
.btn-join:hover { background: #fff; color: var(--gdpu-blue); border-color: #fff; }
.btn-join::after {
  content: "↗"; font-size: 12px;
}

.menu-toggle {
  display: none; width: 40px; height: 40px;
  border-radius: 8px; color: #fff;
  align-items: center; justify-content: center;
}
.menu-toggle span {
  display: block; width: 22px; height: 2px;
  background: #fff; position: relative;
}
.menu-toggle span::before, .menu-toggle span::after {
  content: ""; position: absolute; left: 0; right: 0; height: 2px; background: #fff;
}
.menu-toggle span::before { top: -7px; }
.menu-toggle span::after { top: 7px; }

@media (max-width: 1024px) {
  .nav { display: none; }
  .menu-toggle { display: flex; }
}

/* 移动端菜单 */
.mobile-menu {
  position: fixed; inset: 64px 0 0 0;
  background: var(--gdpu-blue-deep);
  z-index: 99;
  padding: var(--sp-6) var(--sp-5);
  transform: translateX(100%);
  transition: transform 0.3s var(--ease-out);
  display: flex; flex-direction: column; gap: var(--sp-2);
  overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a {
  display: block; padding: 14px 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px; font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.mobile-menu a:hover, .mobile-menu a.active { color: var(--asus-red-light); }
.mobile-menu .btn-join-mobile {
  margin-top: var(--sp-5); padding: 14px 20px;
  background: var(--asus-red); color: #fff; text-align: center;
  border-radius: var(--r-pill); font-weight: 600;
}

/* ----- Hero 区 ----- */
.hero {
  position: relative; min-height: calc(100vh - 64px);
  background: var(--gdpu-blue-deep);
  color: #fff;
  overflow: hidden;
  display: flex; align-items: center;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.6;
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6, 26, 61, 0.4) 0%, rgba(6, 26, 61, 0.85) 70%, var(--gdpu-blue-deep) 100%);
}
.hero-content {
  position: relative; z-index: 1;
  padding: var(--sp-9) 0 var(--sp-8);
  max-width: 720px;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; letter-spacing: 2px; font-weight: 600;
  color: var(--asus-red-light);
  margin-bottom: var(--sp-4); text-transform: uppercase;
}
.hero-eyebrow::before {
  content: ""; width: 24px; height: 1px; background: var(--asus-red-light);
}
.hero h1 {
  font-size: clamp(40px, 6vw, 88px);
  line-height: 1.05;
  margin-bottom: var(--sp-5);
  letter-spacing: -0.02em;
}
.hero h1 .accent { color: var(--asus-red-light); }
.hero p.lead {
  font-size: var(--fs-md);
  color: rgba(255, 255, 255, 0.78);
  max-width: 580px; margin-bottom: var(--sp-6);
  line-height: 1.7;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--r-pill);
  font-size: 15px; font-weight: 600;
  transition: all 0.2s var(--ease);
  border: 1px solid transparent;
}
.btn-primary { background: var(--asus-red); color: #fff; }
.btn-primary:hover { background: var(--asus-red-light); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.4); }
.btn-ghost:hover { background: rgba(255,255,255,0.1); color: #fff; border-color: #fff; }
.btn-blue { background: var(--gdpu-blue); color: #fff; }
.btn-blue:hover { background: var(--gdpu-blue-light); color: #fff; }
.btn-outline { background: transparent; color: var(--gdpu-blue); border-color: var(--gdpu-blue); }
.btn-outline:hover { background: var(--gdpu-blue); color: #fff; }
.btn svg { width: 16px; height: 16px; }

/* Hero 角落装饰 - 参考站的多色块 */
.hero-deco {
  position: absolute; z-index: 2;
  display: flex; gap: 4px;
}
.hero-deco.top { top: 80px; right: 0; }
.hero-deco.bottom { bottom: 0; left: 0; }
.hero-deco span { width: 80px; height: 6px; }

/* ----- 区块通用 ----- */
.section { padding: var(--sp-9) 0; }
.section-tight { padding: var(--sp-7) 0; }
.section-dark { background: var(--gdpu-blue-deep); color: #fff; }
.section-tint { background: var(--bg-tint); }
.section-soft { background: var(--bg-soft); }

.section-header { margin-bottom: var(--sp-7); max-width: 760px; }
.section-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; letter-spacing: 2px; font-weight: 700;
  color: var(--asus-red);
  text-transform: uppercase;
  margin-bottom: var(--sp-3);
}
.section-eyebrow::before { content: ""; width: 20px; height: 1px; background: var(--asus-red); }
.section-title {
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.1;
  margin-bottom: var(--sp-4);
}
.section-subtitle {
  font-size: var(--fs-md);
  color: var(--ink-3);
  line-height: 1.7;
}
.section-dark .section-subtitle { color: rgba(255, 255, 255, 0.75); }

/* ----- 特色卡片网格 ----- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-5);
}
@media (max-width: 900px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .feature-grid { grid-template-columns: 1fr; } }

.feature-card {
  background: #fff; border-radius: var(--r-lg);
  padding: var(--sp-6) var(--sp-5);
  border: 1px solid var(--line);
  transition: all 0.3s var(--ease);
  position: relative; overflow: hidden;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gdpu-blue); }
.feature-card .icon {
  width: 48px; height: 48px; border-radius: var(--r-md);
  background: var(--bg-tint); color: var(--gdpu-blue);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--sp-4); font-size: 24px;
}
.feature-card h3 { font-size: var(--fs-md); margin-bottom: var(--sp-2); }
.feature-card p { font-size: var(--fs-sm); color: var(--ink-3); line-height: 1.7; }
.feature-card .num {
  position: absolute; top: var(--sp-4); right: var(--sp-5);
  font-size: 48px; font-weight: 800; color: var(--bg-tint);
  font-family: var(--font-mono); line-height: 1;
}

/* ----- 文章/帖子卡片 ----- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
}
@media (max-width: 900px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .card-grid { grid-template-columns: 1fr; } }

.card {
  background: #fff; border-radius: var(--r-lg);
  overflow: hidden; border: 1px solid var(--line);
  display: flex; flex-direction: column;
  transition: all 0.3s var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card .cover {
  position: relative; aspect-ratio: 16/10; overflow: hidden;
  background: var(--bg-soft);
}
.card .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.card:hover .cover img { transform: scale(1.05); }
.card .cover .tag {
  position: absolute; top: 12px; left: 12px;
  background: rgba(255, 255, 255, 0.95); color: var(--gdpu-blue);
  padding: 4px 10px; border-radius: var(--r-pill);
  font-size: 11px; font-weight: 700; letter-spacing: 0.5px;
}
.card .body { padding: var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-3); flex: 1; }
.card h3 { font-size: var(--fs-md); line-height: 1.4; }
.card .meta {
  display: flex; align-items: center; gap: 12px;
  font-size: 12px; color: var(--ink-4);
  margin-top: auto; padding-top: var(--sp-3);
  border-top: 1px solid var(--line-2);
}
.card .meta .author { display: flex; align-items: center; gap: 6px; }
.card .meta .avatar {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--bg-tint); color: var(--gdpu-blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700;
}

/* 大卡片（首推） */
.card.featured {
  grid-column: span 3;
  display: grid; grid-template-columns: 1.4fr 1fr;
  border-radius: var(--r-xl);
}
.card.featured .cover { aspect-ratio: auto; height: 100%; min-height: 320px; }
.card.featured .body { padding: var(--sp-6); }
.card.featured h3 { font-size: var(--fs-xl); }
@media (max-width: 900px) { .card.featured { grid-column: span 2; grid-template-columns: 1fr; } }
@media (max-width: 600px) { .card.featured { grid-column: span 1; } }

/* ----- 校区卡片 ----- */
.campus-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: var(--sp-4);
}
@media (max-width: 1024px) {
  .campus-grid { grid-template-columns: repeat(2, 1fr); }
  .campus-card.main { grid-column: span 2; }
}
@media (max-width: 600px) { .campus-grid { grid-template-columns: 1fr; } .campus-card.main { grid-column: span 1; } }

.campus-card {
  position: relative; border-radius: var(--r-lg);
  overflow: hidden; min-height: 220px;
  display: flex; align-items: flex-end;
  cursor: pointer; transition: all 0.3s var(--ease);
}
.campus-card.main { min-height: 360px; }
.campus-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.campus-card img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transition: transform 0.5s var(--ease);
}
.campus-card:hover img { transform: scale(1.05); }
.campus-card::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, transparent 30%, rgba(6, 26, 61, 0.85) 100%);
}
.campus-card .info {
  position: relative; z-index: 2; color: #fff;
  padding: var(--sp-5); width: 100%;
}
.campus-card .info .label {
  font-size: 11px; letter-spacing: 2px; font-weight: 600;
  color: var(--asus-red-light); margin-bottom: 4px;
  text-transform: uppercase;
}
.campus-card .info h3 { font-size: var(--fs-md); margin-bottom: 4px; }
.campus-card.main .info h3 { font-size: var(--fs-xl); }
.campus-card .info p { font-size: 12px; opacity: 0.8; }

/* ----- 标签筛选 ----- */
.filter-bar {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: var(--sp-5);
}
.filter-chip {
  padding: 8px 16px; border-radius: var(--r-pill);
  background: var(--bg-soft); color: var(--ink-2);
  font-size: 13px; font-weight: 500;
  border: 1px solid transparent;
  transition: all 0.2s var(--ease);
}
.filter-chip:hover { background: var(--bg-tint); color: var(--gdpu-blue); }
.filter-chip.active { background: var(--gdpu-blue); color: #fff; }

/* ----- 美食 / 周边 大卡 ----- */
.poi-card-link {
  display: contents;
  color: inherit;
  text-decoration: none;
}
.poi-card-link:hover .poi-card { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.poi-card-link:hover .poi-card .cover img { transform: scale(1.05); }
.poi-card .cover-fallback {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #0A2A5E 0%, #1e6091 100%);
  color: #fff; font-size: 3rem;
}
.poi-card {
  background: #fff; border-radius: var(--r-lg);
  overflow: hidden; border: 1px solid var(--line);
  display: flex; flex-direction: column;
  transition: all 0.3s var(--ease);
}
.poi-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.poi-card .cover { aspect-ratio: 4/3; overflow: hidden; position: relative; flex-shrink: 0; }
.poi-card .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.poi-card:hover .cover img { transform: scale(1.05); }
.poi-card .cover .pin {
  position: absolute; top: 12px; left: 12px;
  background: rgba(214, 25, 31, 0.95); color: #fff;
  padding: 4px 10px; border-radius: var(--r-sm);
  font-size: 11px; font-weight: 700;
}
.poi-card .body { padding: var(--sp-5); flex: 1; display: flex; flex-direction: column; gap: var(--sp-2); }
.poi-card h3 { font-size: var(--fs-md); }
.poi-card .desc { font-size: var(--fs-sm); color: var(--ink-3); line-height: 1.7; }
.poi-card .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.poi-card .tag {
  font-size: 11px; padding: 3px 8px; border-radius: var(--r-sm);
  background: var(--bg-tint); color: var(--gdpu-blue); font-weight: 500;
}

/* ----- FAQ ----- */
.faq-list { display: flex; flex-direction: column; gap: var(--sp-3); }
.faq-item {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-md); overflow: hidden;
  transition: all 0.2s var(--ease);
}
.faq-item.open { border-color: var(--gdpu-blue); box-shadow: var(--shadow-sm); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: var(--sp-5);
  font-size: var(--fs-md); font-weight: 600; text-align: left;
  color: var(--ink);
}
.faq-q .arrow {
  width: 24px; height: 24px; flex-shrink: 0;
  border-radius: 50%; background: var(--bg-tint); color: var(--gdpu-blue);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.2s var(--ease);
  font-size: 12px;
}
.faq-item.open .faq-q .arrow { background: var(--gdpu-blue); color: #fff; transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height 0.3s var(--ease);
}
.faq-a-inner { padding: 0 var(--sp-5) var(--sp-5); color: var(--ink-2); line-height: 1.8; font-size: var(--fs-sm); }
.faq-item.open .faq-a { max-height: 600px; }

/* ----- 时间线 ----- */
.timeline { position: relative; padding-left: 32px; }
.timeline::before {
  content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px;
  width: 2px; background: var(--line);
}
.timeline-item { position: relative; padding-bottom: var(--sp-6); }
.timeline-item::before {
  content: ""; position: absolute; left: -27px; top: 6px;
  width: 14px; height: 14px; border-radius: 50%;
  background: #fff; border: 3px solid var(--gdpu-blue);
  box-shadow: 0 0 0 4px var(--bg-tint);
}
.timeline-item .time {
  font-size: 12px; font-weight: 700; color: var(--asus-red);
  letter-spacing: 1px; text-transform: uppercase;
  margin-bottom: 4px;
}
.timeline-item h4 { font-size: var(--fs-md); margin-bottom: 6px; }
.timeline-item p { font-size: var(--fs-sm); color: var(--ink-3); line-height: 1.7; }

/* ----- 表格 ----- */
.simple-table {
  width: 100%; border-collapse: collapse;
  background: #fff; border-radius: var(--r-md); overflow: hidden;
  border: 1px solid var(--line);
}
.simple-table th, .simple-table td {
  padding: 14px 18px; text-align: left;
  border-bottom: 1px solid var(--line-2);
  font-size: var(--fs-sm);
}
.simple-table th { background: var(--bg-tint); color: var(--gdpu-blue); font-weight: 600; }
.simple-table tr:last-child td { border-bottom: none; }

/* ----- 表单 ----- */
.form-card {
  background: #fff; border-radius: var(--r-xl);
  padding: var(--sp-7); box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}
.form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-4); margin-bottom: var(--sp-4); }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.form-group label .req { color: var(--asus-red); }
.form-control {
  padding: 12px 14px; border: 1px solid var(--line);
  border-radius: var(--r-sm); font: inherit; font-size: var(--fs-sm);
  background: var(--bg); color: var(--ink);
  transition: all 0.2s var(--ease);
}
.form-control:focus { outline: none; border-color: var(--gdpu-blue); box-shadow: 0 0 0 3px var(--bg-tint); }
.form-control::placeholder { color: var(--ink-4); }
textarea.form-control { min-height: 120px; resize: vertical; line-height: 1.6; }
.form-help { font-size: 12px; color: var(--ink-4); }

.checkbox-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
@media (max-width: 600px) { .checkbox-grid { grid-template-columns: repeat(2, 1fr); } }
.check-pill {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px; border: 1px solid var(--line);
  border-radius: var(--r-sm); font-size: 13px; cursor: pointer;
  transition: all 0.15s var(--ease);
}
.check-pill input { display: none; }
.check-pill:hover { border-color: var(--gdpu-blue); }
.check-pill.checked { background: var(--bg-tint); border-color: var(--gdpu-blue); color: var(--gdpu-blue); }

/* ----- 校区介绍 hero 卡片 ----- */
.campus-hero {
  position: relative; border-radius: var(--r-xl);
  overflow: hidden; min-height: 420px;
  display: flex; align-items: flex-end; color: #fff;
}
.campus-hero img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.campus-hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(6, 26, 61, 0.92) 100%);
}
.campus-hero .info {
  position: relative; padding: var(--sp-7); width: 100%;
}
.campus-hero .label {
  display: inline-block; padding: 4px 12px; border-radius: var(--r-pill);
  background: var(--asus-red); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; margin-bottom: var(--sp-3);
}
.campus-hero h2 { font-size: var(--fs-3xl); margin-bottom: var(--sp-3); }
.campus-hero p { max-width: 680px; opacity: 0.85; line-height: 1.7; }
.campus-hero .stats { display: flex; gap: var(--sp-7); margin-top: var(--sp-5); }
.campus-hero .stat .num { font-size: 32px; font-weight: 800; color: var(--asus-red-light); }
.campus-hero .stat .lbl { font-size: 12px; opacity: 0.7; letter-spacing: 1px; }

/* ----- 资讯/数据条 ----- */
.stat-bar {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-5); padding: var(--sp-6) 0;
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
}
@media (max-width: 600px) { .stat-bar { grid-template-columns: repeat(2, 1fr); } }
.stat-bar .stat .num {
  font-size: var(--fs-2xl); font-weight: 800; color: var(--gdpu-blue);
  font-family: var(--font-mono); line-height: 1;
}
.stat-bar .stat .lbl { font-size: 13px; color: var(--ink-3); margin-top: 4px; }

/* ----- 页脚 ----- */
.footer {
  background: var(--gdpu-blue-deep); color: #fff;
  padding: var(--sp-8) 0 var(--sp-5);
  position: relative;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--sp-6);
  margin-bottom: var(--sp-7);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }
.footer h4 { font-size: 14px; margin-bottom: var(--sp-4); color: rgba(255,255,255,0.95); }
.footer h4::after {
  content: ""; display: block; width: 24px; height: 2px;
  background: var(--asus-red); margin-top: 8px;
}
.footer ul li { margin-bottom: 8px; }
.footer a { color: rgba(255,255,255,0.7); font-size: 14px; }
.footer a:hover { color: #fff; }
.footer-brand { display: flex; align-items: center; gap: var(--sp-3); margin-bottom: var(--sp-4); }
.footer-brand img { width: 40px; height: 40px; }
.footer-brand .name { font-size: 14px; line-height: 1.3; }
.footer-brand .tag { font-size: 11px; color: var(--asus-red-light); letter-spacing: 1.5px; font-weight: 700; }
.footer-about { font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.7; max-width: 360px; }
.qr-block { display: flex; align-items: center; gap: var(--sp-3); }
.qr-block img { width: 80px; height: 80px; border-radius: 8px; background: #fff; padding: 4px; }
.qr-block .qr-text { font-size: 12px; color: rgba(255,255,255,0.7); line-height: 1.5; }
.qr-block .qr-text strong { color: #fff; display: block; font-size: 13px; margin-bottom: 2px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: var(--sp-5);
  display: flex; flex-wrap: wrap; gap: var(--sp-3);
  justify-content: space-between; align-items: center;
  font-size: 12px; color: rgba(255,255,255,0.5);
}

/* ----- 页面标题区（分页） ----- */
.page-hero {
  background: var(--gdpu-blue-deep); color: #fff;
  padding: var(--sp-8) 0 var(--sp-7);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; top: 0; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(214,25,31,0.12) 0%, transparent 60%);
}
.page-hero .crumb {
  font-size: 12px; color: rgba(255,255,255,0.6);
  margin-bottom: var(--sp-3); letter-spacing: 1px;
}
.page-hero .crumb a { color: rgba(255,255,255,0.6); }
.page-hero .crumb a:hover { color: #fff; }
.page-hero h1 {
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.1; margin-bottom: var(--sp-3);
}
.page-hero p { font-size: var(--fs-md); color: rgba(255,255,255,0.75); max-width: 680px; line-height: 1.7; }

/* ----- 通用内页布局 ----- */
.page-content { padding: var(--sp-7) 0 var(--sp-9); }
.page-grid-2 { display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--sp-7); }
@media (max-width: 900px) { .page-grid-2 { grid-template-columns: 1fr; } }

/* ----- 主题小标 ----- */
.subhead {
  display: flex; align-items: center; gap: 12px;
  margin: var(--sp-7) 0 var(--sp-4);
  font-size: var(--fs-lg); font-weight: 700; color: var(--gdpu-blue);
}
.subhead::before {
  content: ""; width: 4px; height: 20px; background: var(--asus-red); border-radius: 2px;
}

/* ----- 列表 ----- */
.bullet-list { display: flex; flex-direction: column; gap: var(--sp-3); }
.bullet-list li {
  position: relative; padding-left: 24px;
  color: var(--ink-2); line-height: 1.7; font-size: var(--fs-sm);
}
.bullet-list li::before {
  content: "▸"; position: absolute; left: 0; top: 0;
  color: var(--asus-red); font-weight: 700;
}

/* ----- 部门卡片 ----- */
.dept-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-4); }
@media (max-width: 900px) { .dept-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .dept-grid { grid-template-columns: 1fr; } }
.dept-card {
  padding: var(--sp-5); background: #fff;
  border: 1px solid var(--line); border-radius: var(--r-md);
  transition: all 0.2s var(--ease);
}
.dept-card:hover { border-color: var(--gdpu-blue); background: var(--bg-tint); }
.dept-card .icon {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--bg-tint); color: var(--gdpu-blue);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--sp-3); font-size: 18px;
}
.dept-card h3 { font-size: var(--fs-md); margin-bottom: 4px; }
.dept-card .need {
  font-size: 12px; color: var(--asus-red); font-weight: 600;
  margin-top: 6px; letter-spacing: 0.5px;
}

/* ----- 合伙人故事 ----- */
.story-card {
  background: #fff; border-radius: var(--r-lg);
  border: 1px solid var(--line);
  display: grid; grid-template-columns: 200px 1fr; gap: 0;
  overflow: hidden;
}
@media (max-width: 600px) { .story-card { grid-template-columns: 1fr; } }
.story-card .photo { background: var(--bg-soft); }
.story-card .photo img { width: 100%; height: 100%; object-fit: cover; min-height: 180px; }
.story-card .body { padding: var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-2); }
.story-card .meta { font-size: 12px; color: var(--ink-4); }
.story-card h3 { font-size: var(--fs-md); }
.story-card p { font-size: var(--fs-sm); color: var(--ink-3); line-height: 1.7; }
.story-card .quote {
  padding-left: 12px; border-left: 3px solid var(--asus-red);
  font-style: italic; color: var(--ink-2);
}

/* ----- 大横幅 CTA ----- */
.cta-banner {
  background: var(--gdpu-blue);
  background-image: linear-gradient(135deg, var(--gdpu-blue) 0%, var(--gdpu-blue-deep) 100%);
  color: #fff; border-radius: var(--r-xl);
  padding: var(--sp-7); position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ""; position: absolute; top: -100px; right: -100px;
  width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(214,25,31,0.25) 0%, transparent 60%);
}
.cta-banner h2 { font-size: var(--fs-2xl); margin-bottom: var(--sp-3); }
.cta-banner p { opacity: 0.85; max-width: 600px; line-height: 1.7; margin-bottom: var(--sp-5); }
.cta-banner .actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); position: relative; }

/* ----- 报名页结构 ----- */
.join-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: var(--sp-7); }
@media (max-width: 900px) { .join-grid { grid-template-columns: 1fr; } }
.join-side { display: flex; flex-direction: column; gap: var(--sp-5); }
.join-info-card {
  background: var(--bg-tint); border-radius: var(--r-md);
  padding: var(--sp-5); border: 1px solid var(--line);
}
.join-info-card h4 { font-size: var(--fs-md); margin-bottom: var(--sp-3); color: var(--gdpu-blue); }

/* ----- CMS 入口（footer 底部 © 文字，单次点击直达后台登录页） ----- */
.footer-admin-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px dashed transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
  cursor: pointer;
}
.footer-admin-link:hover,
.footer-admin-link:focus {
  color: var(--asus-red);
  border-bottom-color: var(--asus-red);
  outline: none;
}

/* ----- 移动端微调 ----- */
@media (max-width: 600px) {
  .hero-content { padding: var(--sp-7) 0 var(--sp-6); }
  .section { padding: var(--sp-7) 0; }
  .page-hero { padding: var(--sp-6) 0 var(--sp-5); }
  .form-card { padding: var(--sp-5); }
  .stat-bar { gap: var(--sp-4); }
  .stat-bar .stat .num { font-size: var(--fs-xl); }
}

/* ----- 动态校区卡片（render.js 渲染） ----- */
.campus-card-link {
  display: contents;
  color: inherit;
  text-decoration: none;
}
.campus-card {
  background: #fff;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.campus-card-link:hover .campus-card {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.campus-cover {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: linear-gradient(135deg, #0A2A5E 0%, #1e6091 100%);
  /* 图片显示在文字底部：禁止被 flex 压缩，并加一条分隔线 */
  flex-shrink: 0;
  border-top: 1px solid var(--line);
}
.campus-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.campus-cover .cover-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 3rem;
}
.campus-cover-mask {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  gap: 6px;
  z-index: 2;
}
.campus-cover-mask .tag {
  background: rgba(214, 25, 31, 0.95);
  color: #fff;
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 999px;
  font-weight: 700;
}
.campus-body {
  padding: var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  flex: 1;
}
.campus-body h3 {
  font-size: var(--fs-md);
  color: var(--gdpu-blue);
}
.campus-tagline {
  color: var(--asus-red);
  font-size: var(--fs-sm);
  font-weight: 600;
}
.campus-desc {
  color: var(--ink-3);
  font-size: var(--fs-sm);
  line-height: 1.7;
  flex: 1;
}
.campus-card .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}
.campus-card .tag {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: var(--r-sm);
  background: var(--bg-tint);
  color: var(--gdpu-blue);
  font-weight: 500;
}
.campus-card .tag.tag-acc {
  background: var(--asus-red);
  color: #fff;
}
.campus-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  font-size: 12px;
  color: var(--ink-3);
  margin-top: var(--sp-2);
  padding-top: var(--sp-2);
  border-top: 1px dashed var(--line);
}
.gdpu-campuses-rendered {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--sp-5);
}
