/* ============================================================
   阳光车协官网 · 全站样式
   设计语言：暗夜炭底 / 落日金 / 社团红 / 米白翻转，杂志式排版
   ============================================================ */
:root {
  --bg: #171310;
  --bg-soft: #1F1A14;
  --bg-deep: #12100C;
  --paper: #F4EFE5;
  --cream: #F5EFE3;
  --cream-dim: #B8B0A2;
  --muted: #8A8274;
  --gold: #E5A94D;
  --red: #D8261F;
  --ink: #1B1710;
  --ink-soft: #4A443A;
  --line: #2E2820;
  --pad-x: clamp(20px, 4.5vw, 64px);
  --font: "Noto Sans SC", "Source Han Sans SC", "Source Han Sans CN",
          "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
[hidden] { display: none !important; } /* 防止显式 display 覆盖 hidden 属性（如灯箱 flex） */
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
em { font-style: normal; }

::selection { background: var(--gold); color: var(--ink); }

/* ---------- 通用 ---------- */
.kicker {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 5px;
}
.kicker--red { color: var(--red); }

.section-title {
  font-size: clamp(34px, 4.5vw, 56px);
  font-weight: 900;
  line-height: 1.2;
}

.cta {
  display: inline-block;
  padding-bottom: 8px;
  font-size: 17px;
  font-weight: 700;
  border-bottom: 2px solid currentColor;
  transition: opacity .25s, transform .25s;
}
.cta:hover { opacity: .75; transform: translateX(4px); }
.cta--gold { color: var(--gold); }
.cta--cream { color: var(--cream); font-weight: 500; border-bottom-color: #5A5348; }
.cta--ink { color: var(--ink); border-bottom-color: var(--red); }

/* 滚动浮现 */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- 导航 ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  padding: 0 var(--pad-x);
  transition: background .35s, box-shadow .35s;
}
.nav--solid,
.nav.is-scrolled {
  background: rgba(18, 16, 12, .92);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line);
}
.nav__brand { display: flex; align-items: center; gap: 13px; font-size: 16px; font-weight: 700; }
.nav__brand em { color: var(--muted); font-weight: 500; }
.nav__logo { width: 40px; height: 40px; border-radius: 50%; }
.nav__links { display: flex; gap: 42px; font-size: 15px; font-weight: 500; }
.nav__links a { color: var(--cream-dim); transition: color .25s; }
.nav__links a:hover, .nav__links a.is-active { color: var(--cream); }
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.nav__toggle span { width: 22px; height: 2px; background: var(--cream); }

/* ---------- 首屏 ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center 30%;
  transform: scale(1.04);
  animation: heroZoom 12s ease-out forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero__shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(23,19,16,.18) 0%, rgba(23,19,16,.32) 55%, rgba(23,19,16,.92) 100%);
}
.hero__content {
  position: relative;
  padding: 120px var(--pad-x) 80px;
  max-width: 1240px;
}
.hero__badge {
  display: flex; align-items: center; gap: 14px;
  color: var(--gold);
  font-size: 14px; font-weight: 600; letter-spacing: 3px;
}
.hero__badge i { width: 36px; height: 2px; background: var(--gold); }
.hero__title {
  margin: 26px 0 20px;
  font-size: clamp(52px, 9.5vw, 124px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.hero__sub {
  max-width: 640px;
  font-size: clamp(16px, 1.6vw, 21px);
  color: #CFC7B8;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 44px; margin-top: 44px; }
.hero__scroll {
  position: absolute;
  bottom: 26px; left: 50%;
  transform: translateX(-50%);
  font-size: 11px; letter-spacing: 4px;
  color: var(--cream-dim);
  animation: nudge 2.2s ease-in-out infinite;
}
@keyframes nudge { 0%,100% { transform: translate(-50%, 0); opacity: .8; } 50% { transform: translate(-50%, 6px); opacity: .4; } }

/* ---------- 远征故事 ---------- */
.story { background: var(--paper); color: var(--ink); }
.story__inner { max-width: 800px; padding: clamp(72px, 10vw, 120px) var(--pad-x); }
.story__title {
  margin: 14px 0 28px;
  font-size: clamp(40px, 5.5vw, 68px);
  font-weight: 900;
}
.story__body { margin-bottom: 18px; font-size: clamp(16px, 1.4vw, 19px); color: var(--ink-soft); }
.story__inner .cta { margin-top: 22px; }

/* ---------- 全幅影像 ---------- */
.banner {
  position: relative;
  min-height: 72svh;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
}
.banner__shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(23,19,16,.1) 0%, rgba(23,19,16,.88) 100%);
}
.banner__content { position: relative; padding: 0 var(--pad-x) 72px; }
.banner__stat { color: var(--gold); font-size: 14px; font-weight: 600; letter-spacing: 2px; }
.banner__statement {
  margin-top: 14px;
  font-size: clamp(34px, 5vw, 64px);
  font-weight: 900;
  line-height: 1.2;
}

/* ---------- 历年远征 ---------- */
.expedition { padding: clamp(72px, 10vw, 116px) var(--pad-x); }
.expedition__head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; margin-bottom: 44px; flex-wrap: wrap;
}
.expedition__head .section-title { margin-top: 12px; }

.expedition__grid,
.team-gallery__grid,
.year-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.team-card { background: var(--bg-soft); overflow: hidden; display: block; }
.team-card__img {
  aspect-ratio: 4 / 3;
  width: 100%;
  object-fit: cover;
  filter: saturate(.94);
  transition: transform .5s ease, filter .5s ease;
}
.team-card:hover .team-card__img { transform: scale(1.045); filter: saturate(1.08); }
.team-card__cap {
  display: flex; align-items: baseline; gap: 14px;
  padding: 17px 22px;
}
.team-card__year { color: var(--gold); font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }
.team-card__name { font-size: 16px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.team-card__more { margin-left: auto; color: var(--muted); font-size: 12px; letter-spacing: 1px; }

/* ---------- 加入我们 ---------- */
.join__inner { max-width: 800px; padding: clamp(80px, 12vw, 140px) var(--pad-x); }
.join__title {
  margin: 14px 0 22px;
  font-size: clamp(40px, 5.8vw, 72px);
  font-weight: 900;
}
.join__body { color: var(--cream-dim); font-size: clamp(16px, 1.4vw, 19px); margin-bottom: 34px; }

/* ---------- 远征墙（teams.html） ---------- */
.teams-head { padding: 150px var(--pad-x) 12px; }
.teams-head__title { font-size: clamp(44px, 6vw, 76px); font-weight: 900; margin: 12px 0 16px; }
.teams-head__sub { max-width: 640px; color: var(--cream-dim); }

.teams-wall { padding: 30px var(--pad-x) 90px; }
.year-block { margin-top: 64px; }
.year-block__head {
  display: flex; align-items: baseline; gap: 18px;
  padding-bottom: 14px; margin-bottom: 0;
  border-bottom: 1px solid var(--line);
}
.year-block__year {
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 900;
  color: var(--cream);
  font-variant-numeric: tabular-nums;
}
.year-block__count { color: var(--muted); font-size: 13px; letter-spacing: 2px; }
.year-cards { gap: 26px; margin-top: 26px; }
.year-cards .team-card {
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  transition: border-color .3s, transform .3s;
}
.year-cards .team-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.year-cards .team-card__name { white-space: normal; }

/* ---------- 队伍详情（team.html） ---------- */
.team-hero {
  position: relative;
  min-height: 68svh;
  display: flex; align-items: flex-end;
}
.team-hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.team-hero__shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(23,19,16,.25) 0%, rgba(23,19,16,.9) 100%);
}
.team-hero__content { position: relative; padding: 130px var(--pad-x) 64px; max-width: 1100px; }
.team-hero__back {
  display: inline-block;
  color: var(--cream-dim);
  font-size: 14px;
  margin-bottom: 28px;
  transition: color .25s;
}
.team-hero__back:hover { color: var(--gold); }
.team-hero__year { color: var(--gold); font-size: 15px; font-weight: 700; letter-spacing: 3px; }
.team-hero__title {
  margin: 12px 0 18px;
  font-size: clamp(40px, 6vw, 76px);
  font-weight: 900;
  line-height: 1.15;
}
.team-hero__story { max-width: 680px; color: #CFC7B8; font-size: 17px; white-space: pre-line; }

.team-gallery { padding: clamp(64px, 9vw, 100px) var(--pad-x) 40px; }
.team-gallery .section-title { margin: 12px 0 36px; }
.team-gallery__grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
.team-gallery__grid img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  cursor: zoom-in; border-radius: 3px;
  transition: transform .35s ease, opacity .35s;
}
.team-gallery__grid img:hover { transform: scale(1.02); opacity: .88; }

.team-pager {
  display: flex; justify-content: space-between; gap: 20px;
  padding: 30px var(--pad-x) 90px;
}
.team-pager a {
  flex: 1; max-width: 46%;
  padding: 22px 26px;
  border: 1px solid var(--line);
  border-radius: 4px;
  transition: border-color .3s;
}
.team-pager a:hover { border-color: var(--gold); }
.team-pager a:last-child { text-align: right; }
.team-pager small { display: block; color: var(--muted); font-size: 12px; letter-spacing: 2px; margin-bottom: 6px; }
.team-pager span { font-size: 17px; font-weight: 700; }

/* ---------- 灯箱 ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  background: rgba(10, 8, 6, .94);
  backdrop-filter: blur(6px);
}
.lightbox__img { max-width: 92vw; max-height: 86vh; object-fit: contain; }
.lightbox__close {
  position: absolute; top: 20px; right: 28px;
  background: none; border: 0;
  color: var(--cream); font-size: 40px; line-height: 1;
  cursor: pointer; opacity: .7;
}
.lightbox__close:hover { opacity: 1; }
.lightbox__nav {
  position: absolute; top: 50%;
  transform: translateY(-50%);
  background: none; border: 0;
  color: var(--cream); font-size: 56px;
  cursor: pointer; opacity: .55;
  padding: 24px;
}
.lightbox__nav:hover { opacity: 1; }
.lightbox__nav--prev { left: 8px; }
.lightbox__nav--next { right: 8px; }
.lightbox__count {
  position: absolute; bottom: 22px; left: 50%;
  transform: translateX(-50%);
  color: var(--muted); font-size: 13px; letter-spacing: 2px;
  font-variant-numeric: tabular-nums;
}

/* ---------- 页脚 ---------- */
.footer {
  border-top: 1px solid var(--line);
  background: var(--bg-deep);
  padding: 34px var(--pad-x);
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
.footer__brand { display: flex; align-items: center; gap: 13px; font-size: 15px; font-weight: 700; }
.footer__brand img { width: 32px; height: 32px; border-radius: 50%; }
.footer__copy { color: var(--muted); font-size: 13px; }

/* ---------- 入会指南（join.html） ---------- */
.join-page { padding: 150px var(--pad-x) 100px; max-width: 860px; }
.join-page h1 { font-size: clamp(40px, 5.5vw, 68px); font-weight: 900; margin: 12px 0 30px; }
.join-page h2 { font-size: 21px; font-weight: 700; margin: 38px 0 12px; color: var(--gold); }
.join-page p, .join-page li { color: var(--cream-dim); font-size: 16.5px; }
.join-page ul { padding-left: 22px; }
.join-page li { margin-bottom: 8px; }
.join-page .todo { color: var(--red); font-size: 13px; letter-spacing: 1px; }
.join-page .join-mail { color: var(--cream); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--gold); }
.join-page .join-mail:hover { color: var(--gold); }

/* ---------- 彩蛋（join.html 右下角隐藏入口） ---------- */
.egg-fab {
  position: fixed; right: 26px; bottom: 26px; z-index: 40;
  width: 46px; height: 46px; display: grid; place-items: center;
  border-radius: 50%; cursor: pointer;
  background: rgba(23, 19, 16, .72); border: 1px solid var(--line);
  color: var(--gold); opacity: .38; backdrop-filter: blur(6px);
  transition: opacity .3s, transform .3s, border-color .3s;
}
.egg-fab:hover { opacity: 1; transform: translateY(-3px); border-color: var(--gold); }
.egg-modal {
  position: fixed; inset: 0; z-index: 60; padding: 24px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(10, 8, 6, .72); backdrop-filter: blur(3px);
}
.egg-card {
  position: relative; width: 420px; max-width: 100%;
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 16px;
  padding: 30px 28px; box-shadow: 0 24px 60px rgba(0, 0, 0, .5);
}
.egg-card__close {
  position: absolute; top: 8px; right: 10px; padding: 4px 8px;
  background: none; border: none; cursor: pointer;
  color: var(--muted); font-size: 22px; line-height: 1;
}
.egg-card__close:hover { color: var(--cream); }
.egg-card__kicker { font-size: 11px; font-weight: 700; letter-spacing: 4px; color: var(--red); }
.egg-card h3 { font-size: 22px; font-weight: 800; margin: 10px 0 8px; color: var(--cream); }
.egg-card__hint { font-size: 14px; color: var(--cream-dim); margin-bottom: 18px; }
.egg-card__form { display: flex; gap: 10px; }
.egg-card__form input {
  flex: 1; min-width: 0; padding: 11px 14px;
  background: var(--bg-deep); border: 1px solid var(--line); border-radius: 10px;
  color: var(--cream); font-family: var(--font); font-size: 15px;
}
.egg-card__form input:focus { outline: none; border-color: var(--gold); }
.egg-card__form button {
  flex-shrink: 0; padding: 0 20px; cursor: pointer;
  background: var(--gold); color: var(--ink); border: none; border-radius: 10px;
  font-family: var(--font); font-size: 15px; font-weight: 700;
}
.egg-card__form button:disabled { opacity: .55; cursor: default; }
.egg-card__err { margin-top: 14px; font-size: 14px; color: var(--red); }
.egg-card__body img { width: 100%; border-radius: 12px; margin-bottom: 16px; }
.egg-card__body p { font-size: 15.5px; color: var(--cream-dim); white-space: pre-wrap; }
.egg-card__again {
  margin-top: 20px; padding: 9px 16px; cursor: pointer;
  background: none; border: 1px solid var(--line); border-radius: 10px;
  color: var(--cream-dim); font-family: var(--font); font-size: 14px;
}
.egg-card__again:hover { border-color: var(--gold); color: var(--gold); }
.is-shake { animation: eggShake .4s; }
@keyframes eggShake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-7px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(3px); }
}
@media (max-width: 520px) {
  .egg-fab { right: 16px; bottom: 16px; }
  .egg-card { padding: 26px 20px; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .expedition__grid, .team-gallery__grid, .year-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .nav__links {
    position: fixed;
    inset: 76px 0 auto 0;
    flex-direction: column;
    gap: 0;
    background: rgba(18,16,12,.97);
    padding: 10px 0 20px;
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 14px var(--pad-x); }
  .nav__toggle { display: flex; }
  .expedition__grid, .team-gallery__grid, .year-cards { grid-template-columns: 1fr; }
  .expedition__head { align-items: flex-start; flex-direction: column; }
  .hero__cta { gap: 28px; }
  .team-pager { flex-direction: column; }
  .team-pager a { max-width: 100%; }
}

/* ============================================================
   v2 追加：导航下拉 / 管理按钮 / 路线库 / 日常活动 / 赞助商 / 队旗故事
   ============================================================ */

/* ---------- 导航下拉与管理按钮 ---------- */
.nav__drop { position: relative; }
.nav__drop > a { color: var(--cream-dim); transition: color .25s; cursor: pointer; }
.nav__drop:hover > a, .nav__drop > a.is-active { color: var(--cream); }
.nav__menu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px);
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 10px;
  padding: 10px 0; min-width: 140px; display: flex; flex-direction: column; gap: 2px;
  opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s; z-index: 30;
}
.nav__drop:hover .nav__menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav__menu a { padding: 8px 18px; font-size: 14px; color: var(--cream-dim); white-space: nowrap; }
.nav__menu a:hover, .nav__menu a.is-active { color: var(--cream); }
.nav__admin {
  border: 1.5px solid var(--cream); border-radius: 999px; padding: 7px 20px !important;
  font-weight: 600; color: var(--cream) !important; transition: all .25s;
}
.nav__admin:hover { background: var(--cream); color: var(--ink) !important; }

/* ---------- 内页头 ---------- */
.page-head { padding: clamp(120px, 16vw, 180px) var(--pad-x) clamp(40px, 6vw, 64px); }
.page-head__title { font-size: clamp(44px, 7vw, 76px); font-weight: 900; letter-spacing: .01em; margin-top: 10px; }
.page-head__sub { color: var(--cream-dim); margin-top: 16px; max-width: 640px; font-size: clamp(15px, 1.4vw, 18px); }

/* ---------- 经典路线库 ---------- */
.routes-grid-wrap { padding: 0 var(--pad-x) clamp(80px, 10vw, 120px); }
.routes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.route-card { background: var(--bg-soft); overflow: hidden; cursor: zoom-in; }
.route-card__imgwrap { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.route-card__imgwrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.route-card:hover .route-card__imgwrap img { transform: scale(1.05); }
.route-card__days {
  position: absolute; top: 14px; left: 14px; background: rgba(23,19,16,.82); color: var(--gold);
  font-size: 12px; font-weight: 700; letter-spacing: 1px; padding: 4px 12px; border-radius: 999px;
}
.route-card__cap { padding: 20px 22px 24px; }
.route-card__cap h3 { font-size: 19px; font-weight: 700; }
.route-card__cap p { color: var(--cream-dim); font-size: 14px; margin-top: 8px; }

/* ---------- 日常活动 ---------- */
.activities-list { padding: 0 var(--pad-x) clamp(80px, 10vw, 120px); display: flex; flex-direction: column; gap: clamp(56px, 8vw, 96px); }
.act-row { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; cursor: zoom-in; }
.act-row--rev .act-row__imgwrap { order: 2; }
.act-row__imgwrap { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-soft); }
.act-row__imgwrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.act-row:hover .act-row__imgwrap img { transform: scale(1.04); }
.act-row__body h3 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 900; margin: 10px 0 14px; }
.act-row__body p { color: var(--cream-dim); font-size: clamp(15px, 1.4vw, 17px); max-width: 480px; }
.act-row__more { display: inline-block; margin-top: 18px; color: var(--gold); font-weight: 700; font-size: 15px; }
.act-row:hover .act-row__more { text-decoration: underline; }

/* ---------- 赞助商 ---------- */
.sponsors-preview .section-title { margin-top: 12px; }
.sponsor-strip { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 32px; }
.sponsor-tile {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 148px; height: 96px; background: var(--bg-soft); border: 1px solid var(--line);
  padding: 12px; gap: 6px; transition: border-color .25s, transform .25s;
}
.sponsor-tile:hover { border-color: var(--gold); transform: translateY(-3px); }
.sponsor-tile__logo { display: flex; align-items: center; justify-content: center; height: 46px; }
.sponsor-tile__logo img { max-height: 42px; max-width: 110px; object-fit: contain; }
.sponsor-tile__name { font-size: 12px; color: var(--cream-dim); max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sponsor-tag {
  position: absolute; top: -1px; right: -1px; font-size: 10px; padding: 2px 8px;
  border-radius: 0 0 0 8px; background: #2b3a55; color: #bcd0f5; letter-spacing: 1px;
}
.sponsor-tag--long { background: #4a3a10; color: var(--gold); }

/* ---------- 长期赞助商专区 ---------- */
.sponsors-long { padding: 0 var(--pad-x) clamp(50px, 7vw, 70px); }
.sponsors-long__head { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.sponsors-long__title { font-size: clamp(24px, 3vw, 32px); font-weight: 900; color: var(--gold); letter-spacing: 1px; }
.sponsors-long__sub { color: var(--muted); font-size: 12px; letter-spacing: 2px; }
.long-list { display: flex; flex-direction: column; gap: 16px; }
.long-card {
  position: relative; display: flex; align-items: center; gap: 28px;
  background: var(--bg-soft); border: 1px solid #4a3a10; padding: 22px 30px;
}
.long-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--gold); }
.long-card__logo { flex: none; width: 140px; height: 68px; display: flex; align-items: center; justify-content: center; }
.long-card__logo img { max-height: 60px; max-width: 140px; object-fit: contain; }
.long-card__info h3 { font-size: 18px; font-weight: 700; color: var(--cream); display: flex; align-items: center; gap: 10px; }
.long-card__info .sponsor-tag { position: static; border-radius: 2px; }
.long-card__info p { font-size: 14px; color: var(--cream-dim); margin-top: 5px; }

/* ---------- 年份标签页 ---------- */
.sponsor-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 30px; }
.sponsor-tab {
  background: transparent; border: 1px solid var(--line); color: var(--cream-dim);
  padding: 10px 22px; font-size: 15px; font-weight: 700; letter-spacing: 1px;
  font-variant-numeric: tabular-nums; cursor: pointer; transition: all .18s ease;
}
.sponsor-tab span { font-size: 12px; font-weight: 400; color: var(--muted); margin-left: 8px; letter-spacing: 0; }
.sponsor-tab:hover { border-color: var(--gold); color: var(--cream); }
.sponsor-tab.is-active { background: var(--gold); border-color: var(--gold); color: #171310; }
.sponsor-tab.is-active span { color: rgba(23, 19, 16, .6); }

/* ---------- 赞助商墙（年份内容区） ---------- */
.sponsors-wall { padding: 0 var(--pad-x) clamp(60px, 8vw, 90px); }
.sponsor-year__head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 24px; }
.sponsor-year__y { font-size: clamp(28px, 3.4vw, 40px); font-weight: 900; color: var(--gold); font-variant-numeric: tabular-nums; }
.sponsor-year__count { color: var(--muted); font-size: 14px; letter-spacing: 1px; }
.sponsor-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.sponsor-card {
  position: relative; background: var(--bg-soft); border: 1px solid var(--line);
  padding: 30px 22px 22px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px;
}
.sponsor-card--long { border-color: #4a3a10; }
.sponsor-card__logo { height: 62px; display: flex; align-items: center; justify-content: center; margin-bottom: 8px; }
.sponsor-card__logo img { max-height: 56px; max-width: 150px; object-fit: contain; }
.sponsor-card h3 { font-size: 17px; font-weight: 700; color: var(--cream); }
.sponsor-card p { font-size: 13px; color: var(--cream-dim); }
.sponsor-cta { padding: 0 var(--pad-x) clamp(90px, 12vw, 140px); }
.sponsor-cta .section-title { margin-top: 10px; margin-bottom: 16px; }
.sponsor-cta p { color: var(--cream-dim); }
.sponsor-cta .cta-mail { color: var(--cream); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--gold); }
.sponsor-cta .cta-mail:hover { color: var(--gold); }

/* ---------- 队伍详情：队旗 + 故事 ---------- */
.team-hero__titlerow { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.team-hero__flag {
  height: 64px; max-width: 220px; object-fit: contain;
  border: 1px solid rgba(245,239,227,.25); background: rgba(245,239,227,.06);
  padding: 6px 10px; border-radius: 6px;
}
.team-story { background: var(--paper); color: var(--ink); padding: clamp(64px, 9vw, 104px) var(--pad-x); }
.team-story .section-title { margin-top: 10px; margin-bottom: 24px; }
.team-story__body { max-width: 760px; }
.team-story__body p { font-size: clamp(16px, 1.5vw, 19px); color: var(--ink-soft); margin-bottom: 16px; line-height: 2; }
.team-story__empty { color: var(--muted); font-style: italic; }

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .routes-grid { grid-template-columns: repeat(2, 1fr); }
  .act-row { grid-template-columns: 1fr; }
  .act-row--rev .act-row__imgwrap { order: 0; }
}
@media (max-width: 640px) {
  .routes-grid { grid-template-columns: 1fr; }
  .sponsor-tile { width: calc(50% - 7px); }
  .long-card { flex-direction: column; text-align: center; gap: 14px; padding: 22px 18px; }
  .long-card__info h3 { justify-content: center; }
  .sponsor-tabs { gap: 8px; }
  .sponsor-tab { padding: 8px 16px; font-size: 14px; }
}

/* ============================================================
   v3 追加：路线 / 活动详情页（item-hero / item-intro / item-gallery）
   ============================================================ */

/* ---------- 详情头部 ---------- */
.item-hero { position: relative; min-height: 62svh; display: flex; align-items: flex-end; }
.item-hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.item-hero__shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(23,19,16,.22) 0%, rgba(23,19,16,.55) 55%, rgba(23,19,16,.93) 100%);
}
.item-hero__content { position: relative; padding: 130px var(--pad-x) 58px; max-width: 1120px; }
.item-hero__back {
  display: inline-block; color: var(--cream-dim); font-size: 14px;
  margin-bottom: 26px; transition: color .25s;
}
.item-hero__back:hover { color: var(--gold); }
.item-hero__meta {
  display: flex; align-items: center; gap: 14px;
  color: var(--gold); font-size: 14px; font-weight: 700; letter-spacing: 3px;
}
.item-hero__days {
  border: 1px solid var(--gold); border-radius: 999px;
  padding: 3px 12px; font-size: 12px; letter-spacing: 1px;
}
.item-hero__title {
  margin: 14px 0 0; max-width: 900px;
  font-size: clamp(38px, 5.6vw, 72px); font-weight: 900; line-height: 1.16;
}

/* ---------- 简介（米白翻转） ---------- */
.item-intro { background: var(--paper); color: var(--ink); padding: clamp(56px, 8vw, 96px) var(--pad-x); }
.item-intro .section-title { margin: 10px 0 22px; }
.item-intro__body { max-width: 820px; }
.item-intro__body p { font-size: clamp(16px, 1.5vw, 19px); color: var(--ink-soft); line-height: 2; margin-bottom: 14px; }
.item-intro__empty { color: var(--muted); font-style: italic; }

/* ---------- 往届影像（两栏） ---------- */
.item-gallery { padding: clamp(56px, 8vw, 96px) var(--pad-x) 0; }
.item-gallery .section-title { margin: 10px 0 32px; }
.item-gallery__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.item-gallery__grid img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  cursor: zoom-in; border-radius: 3px;
  transition: transform .35s ease, opacity .35s;
}
.item-gallery__grid img:hover { transform: scale(1.02); opacity: .88; }
/* 图片总数为奇数时首图通栏，避免末行只剩半格 */
.item-gallery__grid--lead > img:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }

/* ---------- 上一条 / 下一条 ---------- */
.item-pager { display: flex; justify-content: space-between; gap: 20px; padding: 48px var(--pad-x) 90px; }
.item-pager a {
  flex: 1; max-width: 46%; padding: 22px 26px;
  border: 1px solid var(--line); border-radius: 4px;
  transition: border-color .3s;
}
.item-pager a:hover { border-color: var(--gold); }
.item-pager a:last-child { text-align: right; }
.item-pager small { display: block; color: var(--muted); font-size: 12px; letter-spacing: 2px; margin-bottom: 6px; }
.item-pager span { font-size: 17px; font-weight: 700; }

/* ---------- 列表卡片改为可点击跳转 ---------- */
.route-card {
  display: block; cursor: pointer; border-radius: 4px;
  border: 1px solid var(--line);
  transition: border-color .3s, transform .3s;
}
.route-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.route-card__cap p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.route-card__more { display: inline-block; margin-top: 14px; color: var(--gold); font-size: 13px; font-weight: 700; letter-spacing: 1px; }
.act-row { cursor: pointer; }
.act-row__body p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

@media (max-width: 900px) {
  .item-pager { flex-direction: column; padding-bottom: 70px; }
  .item-pager a { max-width: 100%; }
  .item-pager a:last-child { text-align: left; }
}
@media (max-width: 640px) {
  .item-hero { min-height: 54svh; }
  .item-gallery__grid { grid-template-columns: 1fr; gap: 12px; }
  .item-gallery__grid--lead > img:first-child { aspect-ratio: 4 / 3; }
}
