/* ============================================================
   常熟市高技能人才协会 · 前台样式 v5
   结构：顶部（工具条/页头/首屏/栏目页头）深色 · 正文纯净白底
   色彩原则：只用纯色块，不用多层渐变与光晕，避免"颜色发浑"
   ============================================================ */

:root {
  /* ---- 深色（只用于页脚与"竞赛样题"一条带）---- */
  --navy-900: #003553;
  --navy-800: #004E7B;
  --navy-700: #005C8F;
  --navy-line: rgba(255, 255, 255, .10);

  /* ---- 品牌蓝：提饱和，全站唯一强调色 ---- */
  --brand-900: #06466A;
  --brand-800: #085D88;
  --brand-700: #04689F;
  --brand-600: #0580CC;
  --brand-500: #0392E3;
  --brand-400: #12B0EE;
  --brand-300: #1FB9EF;
  --brand-200: #9BE2FB;
  --brand-100: #D2F0FD;
  --brand-50:  #EAF8FE;

  /* ---- 正文：深冷墨，比灰更沉 ---- */
  --ink-950: #05161F;
  --ink-900: #081F2B;
  --ink-800: #0C2C3C;
  --ink-700: #123F55;

  --text:   #0D2733;
  --text-2: #2E4C5C;
  --text-3: #3D5F70;

  /* ---- 底色：干净的冷蓝白，不用灰 ---- */
  --paper:   #DCEEFB;
  --paper-2: #CEE6F8;
  --surface: #F8FCFE;
  --line:    #C2DCF0;
  --line-2:  #D9ECF8;

  /* ---- 深色区文字 ---- */
  --on-dark:   #F5FBFE;
  --on-dark-2: #E2F0F9;
  --on-dark-3: #B9D4E5;

  --red:     #D33F35;
  --red-50:  #FDEFEE;
  --green:   #3E8C12;
  --green-50:#F0F8E6;
}


*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: #E8F5FD;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.75;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, p, figure, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; border: 0; background: none; cursor: pointer; color: inherit; }

::selection { background: var(--brand-200); color: var(--ink-950); }

:focus-visible { outline: 2px solid var(--brand-500); outline-offset: 3px; border-radius: 4px; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--brand-600); color: #fff; padding: 12px 20px; z-index: 999; }
.skip-link:focus { left: 16px; top: 16px; }

/* ---- 图标 ---- */
.ic { display: inline-block; width: 18px; height: 18px; flex-shrink: 0; vertical-align: -3px; }
.ic--sm { width: 14px; height: 14px; vertical-align: -2px; }
.ic--lg { width: 22px; height: 22px; }
.ic--xl { width: 26px; height: 26px; vertical-align: -6px; }

/* ============ 顶部工具条（深色） ============ */
.topbar {
  background: var(--navy-900);
  color: var(--on-dark-3);
  font-size: 12px;
  letter-spacing: .02em;
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; height: 36px; gap: var(--sp-6); }
.topbar__left { display: flex; align-items: center; gap: 9px; }
.topbar__dot { width: 5px; height: 5px; border-radius: 50%; background: var(--brand-300); }
.topbar__links { display: flex; align-items: center; gap: 18px; }
.topbar__links a { display: inline-flex; align-items: center; gap: 5px; transition: color var(--dur-fast) var(--ease-standard); }
.topbar__links a:hover { color: #fff; }
.topbar__links .ic { opacity: .7; }
.topbar__tel { color: var(--on-dark-2); font-family: var(--font-num); letter-spacing: .03em; display: inline-flex; align-items: center; gap: 6px; }

@media (max-width: 900px) {
  .topbar__left span:last-child { display: none; }
  .topbar__links { gap: 14px; }
  .topbar__links a:nth-child(2) { display: none; }
}

/* ============ 页头（浅色，与正文同色系） ============ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(249, 252, 254, .93);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--dur-mid) var(--ease-standard);
}
.site-header.is-scrolled { box-shadow: 0 8px 26px -22px rgba(11, 30, 44, .55); }

.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand img { height: 38px; width: auto; }
.brand__divider { width: 1px; height: 22px; background: var(--line); }
.brand__tag { font-size: 9.5px; color: var(--text-3); letter-spacing: .16em; line-height: 1.5; }

.nav { display: flex; align-items: center; gap: 0; margin-left: auto; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px; height: 70px; padding: 0 13px;
  font-size: 14.5px; color: var(--text-2); font-weight: 500; white-space: nowrap;
  transition: color var(--dur-fast) var(--ease-standard);
}
.nav__link > .ic { width: 15px; height: 15px; opacity: .5; transition: opacity var(--dur-fast); }
.nav__link:hover > .ic { opacity: 1; }
.nav__link::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 0;
  height: 2px; background: var(--brand-500);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur-mid) var(--ease-standard);
}
.nav__link:hover { color: var(--ink-950); }
.nav__link:hover::after { transform: scaleX(1); }
.nav__item.is-active .nav__link { color: var(--brand-700); font-weight: 600; }
.nav__item.is-active .nav__link > .ic { opacity: 1; color: var(--brand-500); }
.nav__item.is-active .nav__link::after { transform: scaleX(1); }

.nav__drop {
  position: absolute; top: 58px; left: 6px; min-width: 160px; padding: 7px;
  background: #FBFDFF; border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: 0 24px 48px -22px rgba(7, 26, 39, .28);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: all var(--dur-mid) var(--ease-standard);
}
.nav__item:hover .nav__drop { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__drop a { display: flex; align-items: center; gap: 8px; padding: 9px 11px; border-radius: 6px; font-size: 13.5px; color: var(--text-2); }
.nav__drop a .ic { width: 15px; height: 15px; color: var(--brand-500); }
.nav__drop a:hover { background: var(--brand-50); color: var(--brand-700); }

.header-cta { display: flex; align-items: center; gap: 8px; }

.nav-toggle { display: none; width: 38px; height: 38px; border-radius: 8px; align-items: center; justify-content: center; border: 1px solid var(--line); }
.nav-toggle span { display: block; width: 17px; height: 1.5px; background: var(--ink-900); position: relative; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 17px; height: 1.5px; background: var(--ink-900); }
.nav-toggle span::before { top: -5.5px; }
.nav-toggle span::after { top: 5.5px; }

@media (max-width: 1120px) {
  .nav { display: none; }
  .nav-toggle { display: flex; }
  .brand__tag, .brand__divider { display: none; }
  .header-cta .btn--primary { display: none; }
  .site-header__inner { position: relative; }
  .nav.is-open {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; left: calc(-1 * var(--gutter)); right: calc(-1 * var(--gutter)); top: 70px;
    background: #FBFDFF; border-top: 1px solid var(--line);
    padding: 6px var(--gutter) 16px; box-shadow: 0 24px 40px -26px rgba(7, 26, 39, .3);
  }
  .nav.is-open .nav__link { height: 50px; padding: 0; width: 100%; border-bottom: 1px solid var(--line-2); }
  .nav.is-open .nav__link::after { display: none; }
  .nav.is-open .nav__drop { display: none; }
}

/* ============ 按钮（浅色基准） ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 22px; border-radius: var(--r-pill);
  font-size: 14px; font-weight: 500; letter-spacing: .02em; white-space: nowrap;
  transition: all var(--dur-fast) var(--ease-standard);
}
.btn .ic { width: 16px; height: 16px; transition: transform var(--dur-fast) var(--ease-standard); }
.btn:hover .ic--arrow { transform: translateX(3px); }
.btn:active { transform: scale(.98); }

.btn--primary { background: var(--brand-600); color: #FFFFFF; font-weight: 600; }
.btn--primary:hover { background: var(--brand-700); transform: translateY(-1px); }

.btn--dark { background: var(--ink-950); color: #FFFFFF; font-weight: 600; }
.btn--dark:hover { background: var(--ink-800); transform: translateY(-1px); }

.btn--ghost { border: 1px solid var(--line); color: var(--text-2); background: transparent; }
.btn--ghost:hover { border-color: var(--brand-300); color: var(--brand-700); background: var(--brand-50); }

.btn--outline { border: 1px solid var(--line); color: var(--text); background: var(--surface); }
.btn--outline:hover { border-color: var(--brand-300); color: var(--brand-700); background: var(--brand-50); }

.btn--sm { height: 36px; padding: 0 16px; font-size: 13px; }

/* 深色块上的高亮按钮 */
.btn--light { background: #FFFFFF; color: var(--brand-800); font-weight: 600; }
.btn--light:hover { background: var(--brand-100); color: var(--brand-900); transform: translateY(-1px); }


/* ============ 首屏（同色系浅底） ============ */
.hero {
  position: relative;
  background: #CFE9FA;
  border-bottom: 1px solid var(--line);
  padding: 40px 0 58px;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(11, 132, 196, .09) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(11, 132, 196, .09) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(to right, transparent, #000 35%, #000 100%);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 35%, #000 100%);
}
.hero__rings { position: absolute; right: -150px; top: -170px; width: 680px; height: 680px; }
.hero__rings circle { fill: none; stroke: rgba(11, 111, 168, .12); stroke-width: 1; }
.hero__rings circle:first-child { stroke: rgba(11, 111, 168, .2); }
.hero__rings .spin { transform-origin: 340px 340px; animation: spin 90s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.hero__inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(320px, .94fr);
  gap: clamp(32px, 4.5vw, 64px); align-items: center;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--brand-600); font-weight: 700;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; }

.hero h1 {
  font-family: var(--font-serif); font-weight: 600;
  font-size: clamp(36px, 4.5vw, 62px); line-height: 1.12; letter-spacing: -.01em;
  margin: 18px 0 0; color: var(--ink-950);
}
.hero h1 em { font-style: normal; color: var(--brand-600); white-space: nowrap; }
.hero__lead { margin-top: 18px; max-width: 500px; font-size: 15px; line-height: 1.9; color: var(--ink-800); border-left: 2px solid var(--brand-300); padding-left: 15px; }
.hero__actions { display: flex; align-items: center; gap: 10px; margin-top: 24px; flex-wrap: wrap; }
.hero__meta { display: flex; align-items: center; gap: 18px; margin-top: 24px; font-size: 12.5px; color: var(--text-3); flex-wrap: wrap; }
.hero__meta span { display: inline-flex; align-items: center; gap: 6px; }
.hero__meta .ic { width: 14px; height: 14px; color: var(--brand-500); }

.hero__media { position: relative; }
.hero__media::before {
  content: ""; position: absolute; left: -16px; top: -16px; width: 68px; height: 68px;
  border-left: 2px solid var(--brand-400); border-top: 2px solid var(--brand-400);
  border-radius: 6px 0 0 0; pointer-events: none;
}
.hero__frame {
  position: relative; overflow: hidden; border-radius: 14px;
  aspect-ratio: 5 / 4; background: #FFFFFF;
  box-shadow: 0 26px 50px -34px rgba(11, 30, 44, .45);
}
.hero__frame img { width: 100%; height: 100%; object-fit: cover; }
.hero__frame::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(11, 30, 44, .06); border-radius: inherit; }
.hero__caption {
  position: absolute; left: 16px; bottom: 16px; z-index: 3;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 13px; border-radius: var(--r-pill);
  background: var(--navy-800); font-size: 11.5px; color: #FFFFFF; font-weight: 500;
}
.hero__caption .ic { width: 13px; height: 13px; color: var(--brand-300); }
.hero__badge {
  position: absolute; right: -12px; top: -18px; z-index: 3;
  background: var(--brand-600); border-radius: var(--r-md);
  padding: 10px 15px; text-align: center; color: #FFFFFF;
}
.hero__badge b { display: block; font-family: var(--font-num); font-size: 17px; font-weight: 700; line-height: 1.1; }
.hero__badge span { display: block; margin-top: 2px; font-size: 10px; letter-spacing: .1em; opacity: .8; }

.hero__side {
  position: absolute; left: -46px; top: 50%; transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl; font-size: 10px; letter-spacing: .32em;
  color: rgba(11, 111, 168, .5); text-transform: uppercase; z-index: 2;
}

@media (max-width: 900px) {
  .hero { padding: 34px 0 60px; }
  .hero__inner { grid-template-columns: 1fr; gap: 26px; }
  .hero__media { order: -1; max-width: 560px; }
  .hero__badge, .hero__side { display: none; }
}
/* 通知条：深色首屏下压出的一张白纸 */
.ticker {
  position: relative; z-index: 5;
  width: min(var(--wrap), calc(100% - 2 * var(--gutter)));
  margin: -36px auto 0;
  display: flex; align-items: center; gap: 15px;
  height: 60px; padding: 0 22px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: 0 20px 44px -28px rgba(7, 26, 39, .45);
}
.ticker__label { display: inline-flex; align-items: center; gap: 7px; flex-shrink: 0; font-size: 12px; font-weight: 600; color: var(--brand-700); letter-spacing: .06em; }
.ticker__label .ic { width: 15px; height: 15px; color: var(--brand-500); }
.ticker__divider { width: 1px; height: 16px; background: var(--line); flex-shrink: 0; }
.ticker__text { flex: 1; min-width: 0; font-size: 13.5px; color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ticker__text:hover { color: var(--brand-700); }
.ticker__date { font-family: var(--font-num); font-size: 12px; color: var(--text-3); flex-shrink: 0; }
.ticker__more { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; color: var(--text-3); flex-shrink: 0; }
.ticker__more:hover { color: var(--brand-700); }

@media (max-width: 720px) {
  .ticker { height: 56px; padding: 0 14px; gap: 10px; margin-top: -30px; }
  .ticker__date, .ticker__more { display: none; }
}

/* ============ 区块（白底） ============ */
.section { padding: 52px 0; background: transparent; }
.section--tight { padding: 36px 0; }
.section--paper { background: #F3FAFF; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--tint { background: var(--paper); }

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--sp-8); margin-bottom: 24px; }
.section-head__main { max-width: 620px; }
.section-head h2 { font-family: var(--font-serif); font-weight: 600; font-size: clamp(22px, 2.3vw, 30px); line-height: 1.32; margin-top: 8px; color: var(--ink-950); letter-spacing: -.01em; }
.section-head p { margin-top: 8px; font-size: 13.5px; color: var(--text-2); line-height: 1.8; }
.section-head__link {
  display: inline-flex; align-items: center; gap: 7px; flex-shrink: 0;
  font-size: 13px; color: var(--text-2); padding-bottom: 3px; border-bottom: 1px solid var(--line);
  transition: all var(--dur-fast) var(--ease-standard);
}
.section-head__link:hover { color: var(--brand-700); border-color: var(--brand-300); gap: 11px; }

/* 结构编号：大号空心数字，作为版面记号 */
.section-head__title { display: flex; align-items: center; gap: 14px; margin-top: 4px; }
.section-num {
  font-family: var(--font-num); font-size: 44px; font-weight: 700; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.4px var(--brand-400);
  letter-spacing: -.04em; flex-shrink: 0;
}
.section-head h2 { margin-top: 0; }

@media (max-width: 720px) {
  .section { padding: 44px 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 24px; }
  .section-num { font-size: 32px; }
}

/* ============ 要闻 ============ */
.news-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(290px, 1fr); gap: clamp(24px, 3.5vw, 52px); }

.feature { display: grid; grid-template-columns: 208px minmax(0, 1fr); gap: 20px; align-items: start; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.feature__thumb { position: relative; overflow: hidden; border-radius: 10px; aspect-ratio: 4 / 3; background: var(--paper-2); }
.feature__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-standard); }
.feature:hover .feature__thumb img { transform: scale(1.04); }
.feature__cat { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--brand-600); letter-spacing: .06em; }
.feature__cat .ic { width: 13px; height: 13px; }
.feature h3 { font-family: var(--font-serif); font-size: clamp(18px, 1.7vw, 22px); font-weight: 600; line-height: 1.5; color: var(--ink-950); margin-top: 8px; transition: color var(--dur-fast); }
.feature:hover h3 { color: var(--brand-700); }
.feature p { margin-top: 8px; font-size: 13px; color: var(--text-2); line-height: 1.8; -webkit-line-clamp: 2; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
.feature__meta { display: flex; gap: 14px; margin-top: 10px; font-size: 12px; color: var(--text-3); }
.feature__meta span { display: inline-flex; align-items: center; gap: 4px; }
.feature__meta .ic { width: 13px; height: 13px; }

.post-list { margin-top: 2px; }
.post {
  display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; align-items: center; gap: 18px;
  padding: 12px 0; border-bottom: 1px solid var(--line-2);
  transition: padding var(--dur-mid) var(--ease-standard);
}
.post:hover { padding-left: 6px; }
.post__date { text-align: center; font-family: var(--font-num); border-right: 1px solid var(--line-2); padding-right: 16px; }
.post__date b { display: block; font-size: 22px; font-weight: 600; color: var(--ink-900); line-height: 1.1; letter-spacing: -.02em; }
.post__date span { font-size: 10.5px; color: var(--text-3); letter-spacing: .06em; }
.post h4 { font-size: 14.5px; font-weight: 500; color: var(--text); line-height: 1.6; transition: color var(--dur-fast);
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.post:hover h4 { color: var(--brand-700); }
.post__meta { margin-top: 4px; font-size: 11.5px; color: var(--text-2); display: flex; gap: 12px; }
.post__meta span { display: inline-flex; align-items: center; gap: 4px; }
.post__meta .ic { width: 12px; height: 12px; }
.post__arrow { color: var(--text-3); opacity: 0; transform: translateX(-6px); transition: all var(--dur-mid) var(--ease-standard); }
.post:hover .post__arrow { opacity: 1; transform: translateX(0); color: var(--brand-500); }

.aside-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px 20px 12px; box-shadow: 0 14px 34px -28px rgba(11, 30, 44, .35); }
.aside-card__head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.aside-card__head h3 { display: flex; align-items: center; gap: 8px; font-family: var(--font-serif); font-size: 17px; font-weight: 600; color: var(--ink-950); }
.aside-card__head h3 .ic { color: var(--brand-500); width: 17px; height: 17px; }
.aside-card__head a { font-size: 12px; color: var(--text-3); display: inline-flex; align-items: center; gap: 3px; }
.aside-card__head a:hover { color: var(--brand-700); }
.policy-item { display: block; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.policy-item:last-child { border-bottom: 0; }
.policy-item h4 { font-size: 13.5px; font-weight: 500; line-height: 1.65; color: var(--text);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color var(--dur-fast); }
.policy-item:hover h4 { color: var(--brand-700); }
.policy-item span { display: flex; align-items: center; gap: 5px; margin-top: 4px; font-family: var(--font-num); font-size: 11.5px; color: var(--text-3); }
.policy-item span .ic { width: 12px; height: 12px; }

.qr-card { margin-top: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px 20px; display: flex; align-items: center; gap: 14px; }
.qr-card__img { width: 56px; height: 56px; flex-shrink: 0; border-radius: 8px; background: var(--paper-2); display: grid; place-items: center; padding: 4px; }
.qr-card h4 { font-size: 13.5px; font-weight: 500; color: var(--ink-900); }
.qr-card p { margin-top: 3px; font-size: 11.5px; color: var(--text-2); line-height: 1.6; }

@media (max-width: 960px) {
  .news-grid { grid-template-columns: 1fr; }
  .post { grid-template-columns: 52px minmax(0, 1fr); gap: 14px; }
  .post__arrow { display: none; }
}

/* ============ 服务卡 ============ */
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.service {
  position: relative; display: block; padding: 20px 18px 15px; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  transition: all var(--dur-mid) var(--ease-standard);
}
.service::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: var(--brand-300); transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur-mid) var(--ease-standard);
}
.service:hover::before { transform: scaleX(1); }
.service__idx {
  position: absolute; right: 18px; top: 18px;
  font-family: var(--font-num); font-size: 26px; font-weight: 700; line-height: 1;
  color: var(--brand-100); letter-spacing: -.04em;
}
.service:hover { transform: translateY(-3px); border-color: var(--brand-200); box-shadow: 0 20px 36px -26px rgba(11, 30, 44, .4); }
.service__icon {
  width: 46px; height: 46px; border-radius: 12px; background: var(--brand-50); color: var(--brand-600);
  display: grid; place-items: center; transition: all var(--dur-mid) var(--ease-standard);
  border: 1px solid var(--brand-100);
}
.service__icon .ic { width: 22px; height: 22px; }
.service:hover .service__icon { background: var(--brand-600); color: #fff; border-color: var(--brand-600); }
.service h3 { margin-top: 13px; font-size: 16px; font-weight: 600; color: var(--ink-950); font-family: var(--font-serif); }
.service p { margin-top: 6px; font-size: 12.5px; color: var(--text-2); line-height: 1.7; }
.service__link { display: inline-flex; align-items: center; gap: 5px; margin-top: 11px; font-size: 12px; color: var(--brand-600); }
.service:hover .service__link .ic { transform: translateX(3px); }
.service__link .ic { transition: transform var(--dur-fast); }

@media (max-width: 960px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .service-grid { grid-template-columns: 1fr; } }

/* ============ 竞赛样题带（中段唯一的深色块） ============ */
.section--samples { background: var(--navy-800); border: 0; position: relative; overflow: hidden; }
.section--samples::before {
  content: ""; position: absolute; right: -140px; top: -170px; width: 460px; height: 460px;
  border-radius: 50%; border: 1px solid rgba(255, 255, 255, .16);
}
.section--samples::after {
  content: ""; position: absolute; right: -30px; top: -60px; width: 280px; height: 280px;
  border-radius: 50%; border: 1px dashed rgba(255, 255, 255, .16);
}
.section--samples .wrap { position: relative; z-index: 2; }
.section--samples .eyebrow { color: rgba(255, 255, 255, .7); }
.section--samples h2 { color: #fff; }
.section--samples p { color: #DCEFFA; }
.section--samples .section-num { color: transparent; -webkit-text-stroke: 1.2px rgba(255, 255, 255, .45); }
.section--samples .section-head__link { color: #fff; border-color: rgba(255, 255, 255, .4); }

.samples-band { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(22px, 3.4vw, 48px); align-items: center; }
.samples-band__copy h2 { font-family: var(--font-serif); font-size: clamp(22px, 2.3vw, 30px); font-weight: 600; color: #fff; margin-top: 8px; line-height: 1.35; }
.samples-band__copy p { margin-top: 10px; font-size: 13.5px; color: rgba(255, 255, 255, .8); line-height: 1.85; max-width: 380px; }
.samples-band__copy .btn { margin-top: 18px; }

.sample-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.sample-tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px; border-radius: var(--r-pill);
  background: var(--surface); font-size: 13px; color: var(--ink-900); font-weight: 500;
  transition: all var(--dur-fast) var(--ease-standard);
}
.sample-tag .ic { width: 14px; height: 14px; color: var(--brand-500); }
.sample-tag b { font-family: var(--font-num); font-size: 11.5px; color: var(--brand-600); font-weight: 600; }
.sample-tag:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -14px rgba(0, 0, 0, .5); }

@media (max-width: 860px) { .samples-band { grid-template-columns: 1fr; } }

/* ============ 关于协会 ============ */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(26px, 3.6vw, 56px); align-items: center; }
.about__text h2 { font-family: var(--font-serif); font-weight: 600; font-size: clamp(22px, 2.3vw, 30px); line-height: 1.35; color: var(--ink-950); margin-top: 8px; letter-spacing: -.01em; }
.about__text p { margin-top: 12px; font-size: 14.5px; line-height: 1.9; color: var(--text); }
.about__points { display: grid; gap: 10px; margin-top: 20px; }
.about__points li { display: flex; gap: 9px; font-size: 13.5px; color: var(--text); }
.about__points .ic { flex-shrink: 0; margin-top: 3px; color: var(--brand-500); width: 15px; height: 15px; }
.about__actions { display: flex; gap: 9px; margin-top: 20px; flex-wrap: wrap; }

.about__media { position: relative; }
.about__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); }
.about__media::before {
  content: ""; position: absolute; left: -14px; top: -14px; width: 104px; height: 104px;
  border-left: 2px solid var(--brand-300); border-top: 2px solid var(--brand-300); border-radius: 12px 0 0 0;
}
.about__year {
  position: absolute; right: 18px; bottom: -16px;
  background: var(--navy-800); border-radius: var(--r-md);
  padding: 12px 18px; text-align: center; color: #fff;
}
.about__year b { display: block; font-family: var(--font-num); font-size: 20px; font-weight: 700; color: var(--brand-300); line-height: 1.1; }
.about__year span { display: block; margin-top: 2px; font-size: 10px; color: var(--on-dark-3); letter-spacing: .12em; }

@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } .about__media { max-width: 520px; } }

/* ============ 品牌活动 ============ */
.event-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.event { display: block; }
.event__media {
  position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-md); overflow: hidden;
  background: var(--navy-700); display: flex; align-items: flex-end; padding: 18px;
}
.event__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-standard); }
.event:hover .event__media img { transform: scale(1.04); }
.event__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 26, 39, 0) 38%, rgba(7, 26, 39, .82) 100%); }
.event__badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  padding: 4px 10px; border-radius: var(--r-pill);
  background: var(--surface); color: var(--ink-900); font-size: 11px; font-weight: 500;
}
.event__media h3 { position: relative; z-index: 2; color: #fff; font-family: var(--font-serif); font-size: 17px; font-weight: 600; line-height: 1.5; }
.event__body { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 12px 2px 0; }
.event__body p { font-size: 12.5px; color: var(--text-2); line-height: 1.65; }
.event__body .ic { flex-shrink: 0; color: var(--brand-500); margin-top: 3px; transition: all var(--dur-fast); }
.event:hover .event__body .ic { color: var(--brand-600); transform: translate(2px, -2px); }

@media (max-width: 860px) { .event-grid { grid-template-columns: 1fr; gap: 22px; } }

/* ============ 页脚（深色） ============ */
.footer { background: var(--navy-900); color: #CBE1EF; padding: 40px 0 0; }
.footer__grid { display: grid; grid-template-columns: 1.5fr .7fr .7fr 1.1fr; gap: 32px; padding-bottom: 30px; }
.footer__lockup { display: flex; align-items: center; gap: 12px; }
.footer__lockup img { height: 46px; width: 46px; flex-shrink: 0; }
.footer__lockup b { display: block; font-family: var(--font-serif); font-size: 15px; font-weight: 600; color: #fff; letter-spacing: .03em; }
.footer__lockup small { display: block; margin-top: 3px; font-size: 8.5px; letter-spacing: .12em; line-height: 1.5; color: #AECBDE; }
.footer__brand p { margin-top: 14px; font-size: 12.5px; line-height: 1.85; max-width: 300px; color: #D3E7F3; }
.footer h4 { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: #fff; letter-spacing: .06em; margin-bottom: 14px; font-weight: 600; }
.footer h4 .ic { width: 14px; height: 14px; color: var(--brand-300); }
.footer__links li { margin-bottom: 9px; }
.footer__links a { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: #E6F3FB; transition: color var(--dur-fast); }
.footer__links a .ic { width: 12px; height: 12px; opacity: .75; }
.footer__links a:hover { color: var(--brand-300); }
.footer__contact li { font-size: 12.5px; line-height: 1.75; margin-bottom: 10px; display: flex; gap: 9px; color: #E6F3FB; }
.footer__contact .ic { flex-shrink: 0; margin-top: 4px; color: #6FD3F8; width: 14px; height: 14px; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .14); padding: 16px 0; display: flex; justify-content: space-between; gap: 14px; font-size: 11.5px; color: #B9D4E5; flex-wrap: wrap; }
.footer__bottom a:hover { color: var(--brand-300); }

@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; gap: 26px; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }

/* ============ 内页页头（同色系浅底） ============ */
.page-head { position: relative; background: #CFE9FA; border-bottom: 1px solid var(--line); padding: 26px 0 30px; overflow: hidden; }
.page-head::before {
  content: ""; position: absolute; right: -90px; top: -190px; width: 540px; height: 540px; border-radius: 50%;
  border: 1px solid rgba(12, 155, 224, .22); pointer-events: none;
}
.page-head::after {
  content: ""; position: absolute; right: 26px; top: -120px; width: 320px; height: 320px; border-radius: 50%;
  border: 1px dashed rgba(12, 155, 224, .18); pointer-events: none;
}
.page-head__inner { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 420px); gap: clamp(24px, 4vw, 56px); align-items: center; }
.crumb { display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--text-3); }
.crumb a:hover { color: var(--brand-700); }
.crumb .ic { width: 11px; height: 11px; opacity: .6; }
.page-head h1 { display: flex; align-items: center; gap: 14px; font-family: var(--font-serif); font-weight: 600; font-size: clamp(28px, 3vw, 40px); line-height: 1.24; margin-top: 12px; letter-spacing: .01em; color: var(--ink-950); }
.page-head h1 .ic { width: 30px; height: 30px; color: var(--brand-500); }
.page-head p { margin-top: 10px; font-size: 13.5px; color: var(--text-2); max-width: 520px; line-height: 1.8; }
.page-head__media { position: relative; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 16 / 9; }
.page-head__media img { width: 100%; height: 100%; object-fit: cover; }
.page-head__media::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(11, 30, 44, .08); border-radius: inherit; }

@media (max-width: 860px) {
  .page-head__inner { grid-template-columns: 1fr; }
  .page-head__media { display: none; }
}

/* ============ 列表页 ============ */
.list-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(24px, 3.5vw, 48px); align-items: start; }

.filters { display: flex; gap: 7px; flex-wrap: wrap; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 15px; border-radius: var(--r-pill); font-size: 12.5px;
  color: var(--text-2); border: 1px solid var(--line); background: var(--surface);
  transition: all var(--dur-fast) var(--ease-standard);
}
.chip .ic { width: 13px; height: 13px; opacity: .6; }
.chip:hover { border-color: var(--brand-200); color: var(--brand-600); }
.chip:hover .ic { opacity: 1; }
.chip.is-active { background: var(--brand-600); border-color: var(--brand-600); color: #fff; }
.chip.is-active .ic { opacity: 1; }

.list-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-bottom: 14px; border-bottom: 2px solid var(--ink-950); flex-wrap: wrap; }
.list-count { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--text-3); font-family: var(--font-num); }
.side-count { float: right; font-family: var(--font-num); font-size: 11.5px; color: var(--text-2); background: var(--paper-2); border-radius: var(--r-pill); padding: 0 7px; }

.article-row { display: grid; grid-template-columns: 66px minmax(0, 1fr); gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line-2); transition: all var(--dur-mid) var(--ease-standard); }
.article-row:hover { padding-left: 6px; }
.article-row__date { text-align: center; font-family: var(--font-num); border-right: 1px solid var(--line-2); padding-right: 16px; }
.article-row__date b { display: block; font-size: 24px; font-weight: 600; color: var(--ink-900); line-height: 1.1; }
.article-row__date span { font-size: 10.5px; color: var(--text-3); }
.article-row h3 { font-family: var(--font-serif); font-size: 17px; font-weight: 600; line-height: 1.55; color: var(--ink-950); transition: color var(--dur-fast); }
.article-row:hover h3 { color: var(--brand-700); }
.article-row__excerpt { margin-top: 5px; font-size: 13px; color: var(--text-2); line-height: 1.7;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.article-row__tags { display: flex; gap: 10px; margin-top: 8px; font-size: 11.5px; color: var(--text-3); align-items: center; flex-wrap: wrap; }
.article-row__tags span { display: inline-flex; align-items: center; gap: 4px; }
.article-row__tags .ic { width: 12px; height: 12px; }
.tag { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 4px; font-size: 11px; background: var(--brand-100); color: var(--brand-700); }

.pager { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 32px; }
.pager a, .pager span {
  min-width: 36px; height: 36px; padding: 0 10px; border-radius: 7px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12.5px; font-family: var(--font-num); color: var(--text-2);
  border: 1px solid var(--line); background: var(--surface); transition: all var(--dur-fast);
}
.pager a:hover { border-color: var(--brand-300); color: var(--brand-700); }
.pager .is-current { background: var(--ink-950); border-color: var(--ink-950); color: #fff; }

.side-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px; margin-bottom: 14px; }
.side-box h3 { display: flex; align-items: center; gap: 8px; font-family: var(--font-serif); font-size: 15.5px; font-weight: 600; color: var(--ink-950); padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.side-box h3 .ic { width: 16px; height: 16px; color: var(--brand-500); }
.side-list li { padding: 10px 0; border-bottom: 1px dashed var(--line); }
.side-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.side-list a { font-size: 13px; line-height: 1.6; color: var(--text-2); display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.side-list a:hover { color: var(--brand-700); }
.side-list time { display: block; margin-top: 3px; font-size: 11.5px; color: var(--text-3); font-family: var(--font-num); }

@media (max-width: 960px) {
  .list-layout { grid-template-columns: 1fr; }
  .article-row { grid-template-columns: 56px minmax(0, 1fr); gap: 14px; }
  .article-row__date b { font-size: 20px; }
}

/* ============ 样题分组 ============ */
.group { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); margin-bottom: 11px; overflow: hidden; }
.group__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 18px; background: var(--paper); border-bottom: 1px solid var(--line); }
.group__head h3 { font-family: var(--font-serif); font-size: 16px; font-weight: 600; color: var(--ink-950); display: flex; align-items: center; gap: 9px; }
.group__head h3 .ic { width: 16px; height: 16px; color: var(--brand-600); }
.group__count { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; color: var(--text-3); font-family: var(--font-num); }
.doc-row { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto auto 28px; align-items: center; gap: 12px; padding: 10px 18px; border-bottom: 1px solid var(--line-2); transition: background var(--dur-fast); }
.doc-row:last-child { border-bottom: 0; }
.doc-row:hover { background: var(--brand-50); }
.doc-row > .ic { color: var(--brand-400); width: 15px; height: 15px; }
.doc-row__title { font-size: 13.5px; color: var(--text); line-height: 1.6; }
.doc-row:hover .doc-row__title { color: var(--brand-700); }
.doc-row__type { font-size: 11px; padding: 2px 8px; border-radius: 4px; background: var(--paper-2); color: var(--text-3); white-space: nowrap; }
.doc-row__type--file { background: var(--brand-50); color: var(--brand-700); }
.doc-row__date { font-family: var(--font-num); font-size: 11.5px; color: var(--text-3); white-space: nowrap; }
.doc-row__dl { color: var(--text-3); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 6px; border: 1px solid var(--line); }
.doc-row:hover .doc-row__dl { color: var(--brand-700); border-color: var(--brand-200); background: var(--surface); }

@media (max-width: 620px) {
  .doc-row { grid-template-columns: 16px minmax(0, 1fr) auto 28px; gap: 10px; padding: 12px 16px; }
  .doc-row__type { display: none; }
}

/* ============ 文章详情 ============ */
.article-hero { position: relative; background: #CFE9FA; border-bottom: 1px solid var(--line); padding: 32px 0 38px; overflow: hidden; }
.article-hero::before { content: ""; position: absolute; right: -100px; top: -180px; width: 480px; height: 480px; border-radius: 50%; border: 1px solid rgba(12, 155, 224, .2); }
.article-hero .wrap { position: relative; z-index: 2; max-width: 880px; }
.article-hero h1 { font-family: var(--font-serif); font-size: clamp(22px, 2.6vw, 34px); font-weight: 600; line-height: 1.5; margin-top: 14px; color: var(--ink-950); letter-spacing: .01em; }
.article-hero__meta { display: flex; gap: 18px; margin-top: 16px; font-size: 12px; color: var(--text-3); flex-wrap: wrap; }
.article-hero__meta span { display: inline-flex; align-items: center; gap: 5px; }
.article-hero__meta .ic { width: 13px; height: 13px; }

.article-body { max-width: 880px; margin: 0 auto; padding: 36px var(--gutter) 0; }
.prose { font-size: 16px; line-height: 2; color: var(--text); }
.prose > * + * { margin-top: 1.1em; }
.prose p { margin: 0; }
.prose h1, .prose h2, .prose h3 { font-family: var(--font-serif); color: var(--ink-950); font-weight: 600; line-height: 1.5; margin-top: 1.8em; }
.prose h2 { font-size: 20px; padding-left: 12px; border-left: 3px solid var(--brand-300); }
.prose h3 { font-size: 17px; }
.prose img { border-radius: var(--r-md); margin: 1.4em auto; }
.prose a { color: var(--brand-600); border-bottom: 1px solid var(--brand-200); }
.prose strong { color: var(--ink-950); }
.prose blockquote { margin: 1.4em 0; padding: 14px 20px; background: var(--brand-50); border-left: 3px solid var(--brand-300); border-radius: 0 6px 6px 0; color: var(--text-2); font-size: 14.5px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul li { list-style: disc; margin: .35em 0; }
.prose ol li { list-style: decimal; margin: .35em 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 1.4em 0; }
.prose th, .prose td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; }
.prose th { background: var(--paper); font-weight: 500; }

.article-foot { max-width: 880px; margin: 0 auto; padding: 32px var(--gutter) 0; }
.article-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; border-top: 1px solid var(--line); padding-top: 22px; }
.article-nav a { padding: 15px 17px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); transition: all var(--dur-fast); }
.article-nav a:hover { border-color: var(--brand-200); background: var(--brand-50); }
.article-nav small { display: flex; align-items: center; gap: 4px; font-size: 11px; color: var(--text-3); letter-spacing: .06em; }
.article-nav b { display: block; margin-top: 4px; font-size: 13.5px; font-weight: 500; color: var(--text); line-height: 1.55; }
.article-nav a:last-child { text-align: right; }
.article-nav a:last-child small { justify-content: flex-end; }

.attachment { display: flex; align-items: center; gap: 14px; margin-top: 34px; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); }
.attachment__icon { width: 42px; height: 42px; border-radius: 8px; flex-shrink: 0; background: var(--red-50); color: var(--red); display: grid; place-items: center; }
.attachment__meta { flex: 1; min-width: 0; }
.attachment__meta b { display: block; font-size: 13.5px; font-weight: 500; color: var(--ink-900); }
.attachment__meta span { display: block; margin-top: 2px; font-size: 11.5px; color: var(--text-3); }

@media (max-width: 640px) {
  .article-nav { grid-template-columns: 1fr; }
  .article-nav a:last-child { text-align: left; }
  .article-nav a:last-child small { justify-content: flex-start; }
}

/* ============ 入会申请 ============ */
.join-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.join-intro h2 { font-family: var(--font-serif); font-size: clamp(24px, 2.5vw, 32px); font-weight: 600; line-height: 1.32; color: var(--ink-950); letter-spacing: -.01em; }
.join-intro > p { margin-top: 12px; font-size: 13.5px; line-height: 1.95; color: var(--text-2); }
.join-steps { margin-top: 20px; }
.join-step { display: flex; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); }
.join-step__num { flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--brand-200); color: var(--brand-600); display: grid; place-items: center; font-family: var(--font-num); font-size: 12px; font-weight: 600; background: var(--brand-50); }
.join-step h4 { display: flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; color: var(--ink-900); }
.join-step h4 .ic { width: 14px; height: 14px; color: var(--brand-500); }
.join-step p { margin-top: 4px; font-size: 12.5px; color: var(--text-2); line-height: 1.7; }

.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(20px, 2.6vw, 32px); box-shadow: 0 20px 46px -38px rgba(11, 30, 44, .45); }
.form-card__head { padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.form-card__head h3 { display: flex; align-items: center; gap: 9px; font-family: var(--font-serif); font-size: 19px; font-weight: 600; color: var(--ink-950); }
.form-card__head h3 .ic { color: var(--brand-500); width: 19px; height: 19px; }
.form-card__head p { margin-top: 5px; font-size: 12.5px; color: var(--text-3); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 12.5px; color: var(--text-2); font-weight: 500; }
.field label i { color: var(--red); font-style: normal; margin-left: 2px; }
.field input:not([type="checkbox"]):not([type="radio"]):not([type="file"]), .field textarea, .field select {
  width: 100%; height: 44px; padding: 0 13px;
  border: 1px solid var(--line); border-radius: 8px;
  background: var(--surface); color: var(--text); font: inherit; font-size: 13.5px;
  transition: all var(--dur-fast) var(--ease-standard);
}
.field textarea { height: auto; min-height: 84px; padding: 11px 13px; resize: vertical; line-height: 1.7; }
.field input::placeholder, .field textarea::placeholder { color: #A7B7C4; }
.field input:hover, .field textarea:hover, .field select:hover { border-color: #C9D7E2; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--brand-400); box-shadow: 0 0 0 4px rgba(31, 185, 239, .16); }
.field select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237B91A3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; padding-right: 32px; cursor: pointer;
}

.radio-group { display: flex; flex-wrap: wrap; gap: 7px; }
.radio-pill { position: relative; }
.radio-pill input { position: absolute; opacity: 0; width: 0; height: 0; }
.radio-pill span {
  display: inline-flex; align-items: center; height: 34px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: var(--r-pill);
  font-size: 12.5px; color: var(--text-2); cursor: pointer; transition: all var(--dur-fast) var(--ease-standard);
  background: var(--surface);
}
.radio-pill span:hover { border-color: var(--brand-200); color: var(--brand-600); }
.radio-pill input:checked + span { background: var(--ink-950); border-color: var(--ink-950); color: #fff; }
.radio-pill input:focus-visible + span { box-shadow: 0 0 0 4px rgba(31, 185, 239, .2); }

.check { display: flex; align-items: flex-start; gap: 9px; font-size: 12px; color: var(--text-3); line-height: 1.65; }
.check input { width: 15px; height: 15px; margin-top: 3px; accent-color: var(--brand-600); flex-shrink: 0; }
.check a { color: var(--brand-600); border-bottom: 1px solid var(--brand-200); }

.form-foot { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.form-foot p { display: flex; align-items: flex-start; gap: 6px; font-size: 11.5px; color: var(--text-3); max-width: 330px; line-height: 1.65; }
.form-foot p .ic { margin-top: 2px; color: var(--brand-500); }

.form-aside { margin-top: 22px; padding: 18px 20px; border-radius: var(--r-md); background: var(--brand-50); border: 1px solid var(--brand-100); }
.form-aside h4 { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--brand-700); font-weight: 600; }
.form-aside p { margin-top: 6px; font-size: 12px; color: var(--text-2); line-height: 1.75; }
.form-aside b { font-family: var(--font-num); font-size: 14.5px; color: var(--brand-700); }

@media (max-width: 900px) { .join-layout { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

/* ============ 联系我们 ============ */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px; transition: all var(--dur-mid); }
.contact-card:hover { border-color: var(--brand-200); box-shadow: 0 16px 32px -28px rgba(11, 30, 44, .4); }
.contact-card__icon { width: 40px; height: 40px; border-radius: 10px; background: var(--brand-50); color: var(--brand-600); display: grid; place-items: center; margin-bottom: 14px; border: 1px solid var(--brand-100); }
.contact-card__icon .ic { width: 19px; height: 19px; }
.contact-card h3 { font-size: 12.5px; color: var(--text-3); font-weight: 400; letter-spacing: .04em; }
.contact-card b { display: block; margin-top: 6px; font-size: 16px; font-weight: 600; color: var(--ink-950); line-height: 1.55; }
.contact-card p { margin-top: 6px; font-size: 12.5px; color: var(--text-2); line-height: 1.7; }

.map-box {
  position: relative; margin-top: 14px; height: 300px; border-radius: var(--r-md); overflow: hidden;
  background:
    repeating-linear-gradient(0deg, transparent 0 39px, rgba(16, 41, 58, .05) 39px 40px),
    repeating-linear-gradient(90deg, transparent 0 39px, rgba(16, 41, 58, .05) 39px 40px),
    var(--paper);
  border: 1px solid var(--line); display: grid; place-items: center;
}
.map-box__pin { text-align: center; }
.map-box__pin .dot { width: 14px; height: 14px; border-radius: 50%; background: var(--brand-500); margin: 0 auto 14px; box-shadow: 0 0 0 8px rgba(31, 185, 239, .18), 0 0 0 18px rgba(31, 185, 239, .07); }
.map-box__pin b { display: block; font-size: 14px; color: var(--ink-950); }
.map-box__pin span { display: block; margin-top: 4px; font-size: 12px; color: var(--text-3); }
.map-box__note { position: absolute; left: 16px; bottom: 14px; font-size: 11px; color: var(--text-3); }

.visit-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 14px; margin-top: 16px; }
.visit-block { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px; }
.visit-block h3 { display: flex; align-items: center; gap: 8px; font-family: var(--font-serif); font-size: 16px; font-weight: 600; color: var(--ink-950); margin-bottom: 14px; }
.visit-block h3 .ic { width: 17px; height: 17px; color: var(--brand-500); }
.visit-block ul li { display: flex; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--line-2); font-size: 12.5px; color: var(--text-2); line-height: 1.7; }
.visit-block ul li:last-child { border-bottom: 0; }
.visit-block ul li span { flex-shrink: 0; width: 34px; font-size: 11.5px; color: var(--brand-600); font-family: var(--font-num); font-weight: 600; }
.qr-row { display: flex; align-items: center; gap: 16px; }
.qr-large { width: 104px; height: 104px; padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; flex-shrink: 0; }
.qr-row p { font-size: 12.5px; color: var(--text-3); line-height: 1.8; }

@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } .visit-grid { grid-template-columns: 1fr; } }

/* ============ 动画 ============ */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 600ms var(--ease-standard), transform 600ms var(--ease-standard); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 70ms; }
.reveal[data-delay="2"] { transition-delay: 140ms; }
.reveal[data-delay="3"] { transition-delay: 210ms; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__rings .spin { animation: none; }
  * { animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* ============ 概况页 ============ */
.intro-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(270px, .7fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.intro-text p { font-size: 14.5px; line-height: 1.9; color: var(--text); }
.intro-text p + p { margin-top: 12px; }
.intro-text h2 { font-family: var(--font-serif); font-size: clamp(22px, 2.3vw, 30px); font-weight: 600; line-height: 1.4; color: var(--ink-950); margin: 8px 0 16px; }

.facts { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 4px 20px; box-shadow: 0 14px 34px -30px rgba(11, 30, 44, .4); }
.facts__row { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line-2); }
.facts__row:last-child { border-bottom: 0; }
.facts__row dt { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--text-2); flex-shrink: 0; }
.facts__row dt .ic { width: 13px; height: 13px; color: var(--brand-500); }
.facts__row dd { margin: 0; font-size: 13px; color: var(--ink-900); text-align: right; line-height: 1.55; font-weight: 500; }

.biz-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.biz { background: var(--surface); padding: 24px 20px; transition: background var(--dur-mid) var(--ease-standard); }
.biz { border-left: 3px solid transparent; }
.biz:hover { background: var(--brand-50); border-left-color: var(--brand-500); }
.biz__num { display: flex; align-items: center; gap: 8px; font-family: var(--font-num); font-size: 11px; font-weight: 600; letter-spacing: .18em; color: var(--brand-600); }
.biz h3 { margin-top: 10px; font-family: var(--font-serif); font-size: 16px; font-weight: 600; color: var(--ink-950); }
.biz p { margin-top: 6px; font-size: 12.5px; line-height: 1.8; color: var(--text-2); }

.timeline { position: relative; padding-left: 112px; }
.timeline::before { content: ""; position: absolute; left: 87px; top: 6px; bottom: 6px; width: 1px; background: var(--line); }
.tl-item { position: relative; padding-bottom: 26px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item__year { position: absolute; left: -112px; top: -2px; width: 72px; text-align: right; font-family: var(--font-num); font-size: 18px; font-weight: 600; color: var(--ink-900); letter-spacing: -.02em; }
.tl-item::before { content: ""; position: absolute; left: -29px; top: 6px; width: 9px; height: 9px; border-radius: 50%; background: var(--surface); border: 2px solid var(--brand-300); box-shadow: 0 0 0 4px var(--surface); }
.tl-item h3 { font-size: 15px; font-weight: 600; color: var(--ink-950); font-family: var(--font-serif); }
.tl-item p { margin-top: 5px; font-size: 13px; line-height: 1.8; color: var(--text-2); max-width: 620px; }

.org { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.org__level { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; width: 100%; }
.org__node { min-width: 132px; padding: 12px 20px; text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; font-size: 13.5px; color: var(--ink-900); font-weight: 500; }
.org__node--primary { background: var(--navy-800); color: #fff; border-color: var(--navy-800); min-width: 190px; padding: 15px 24px; font-family: var(--font-serif); font-size: 16px; font-weight: 600; }
.org__node small { display: block; margin-top: 2px; font-size: 11px; font-weight: 400; color: var(--text-3); letter-spacing: .04em; }
.org__node--primary small { color: rgba(255, 255, 255, .65); }
.org__link { width: 1px; height: 18px; background: var(--line); }
.org__group { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.org__group .org__node { min-width: 108px; padding: 10px 14px; font-size: 12.5px; background: var(--brand-50); border-color: var(--brand-100); color: var(--brand-700); }

.invite {
  position: relative; overflow: hidden; border-radius: var(--r-lg); padding: clamp(24px, 3.5vw, 42px);
  background: var(--navy-800);
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.invite::before { content: ""; position: absolute; right: -60px; top: -90px; width: 280px; height: 280px; border-radius: 50%; border: 1px solid rgba(31, 185, 239, .22); }
.invite h2 { position: relative; font-family: var(--font-serif); font-size: clamp(20px, 2.2vw, 26px); font-weight: 600; line-height: 1.45; color: #fff; }
.invite p { position: relative; margin-top: 7px; font-size: 13px; color: var(--on-dark-2); }
.invite .btn { position: relative; z-index: 2; }

@media (max-width: 960px) { .intro-grid { grid-template-columns: 1fr; } .biz-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) {
  .biz-grid { grid-template-columns: 1fr; }
  .timeline { padding-left: 84px; }
  .timeline::before { left: 63px; }
  .tl-item__year { left: -84px; width: 50px; font-size: 15px; }
  .tl-item::before { left: -25px; }
}

/* ============ 样题库提示条 ============ */
.notice {
  display: flex; align-items: flex-start; gap: 10px;
  margin: 14px 0 18px; padding: 13px 16px;
  background: var(--brand-50); border: 1px solid var(--brand-100); border-radius: 8px;
  font-size: 12.5px; color: var(--brand-700); line-height: 1.7;
}
.notice .ic { flex-shrink: 0; margin-top: 2px; width: 15px; height: 15px; }

/* ============ 样题库：赛项宫格 ============ */
.cat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.cat-card {
  position: relative; display: flex; flex-direction: column; gap: 12px;
  padding: 16px 16px 14px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md); transition: all var(--dur-mid) var(--ease-standard);
}
.cat-card::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: var(--brand-500); border-radius: var(--r-md) var(--r-md) 0 0;
  transform: scaleX(0); transform-origin: left; transition: transform var(--dur-mid) var(--ease-standard);
}
.cat-card:hover::before { transform: scaleX(1); }
.cat-card:hover { border-color: var(--brand-200); background: var(--brand-50); transform: translateY(-2px); box-shadow: 0 16px 30px -26px rgba(11, 30, 44, .45); }
.cat-card__icon {
  width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  background: var(--brand-50); color: var(--brand-600); border: 1px solid var(--brand-100);
  transition: all var(--dur-mid) var(--ease-standard);
}
.cat-card__icon .ic { width: 19px; height: 19px; }
.cat-card:hover .cat-card__icon { background: var(--brand-600); color: #fff; border-color: var(--brand-600); }
.cat-card b { display: block; font-size: 14px; font-weight: 600; color: var(--ink-950); line-height: 1.4; }
.cat-card__meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; }
.cat-card__meta span { font-family: var(--font-num); font-size: 11.5px; color: var(--text-3); }
.cat-card__arrow { color: var(--brand-600); opacity: 0; transform: translateX(-5px); transition: all var(--dur-fast) var(--ease-standard); }
.cat-card__arrow .ic { width: 14px; height: 14px; }
.cat-card:hover .cat-card__arrow { opacity: 1; transform: none; }

@media (max-width: 1100px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px) { .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } }

/* ============ 样题库：筛选工具条 ============ */
.filterbar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  padding: 12px 14px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md); margin-bottom: 12px;
}
.search-field { position: relative; flex: 1 1 220px; min-width: 180px; }
.search-field input {
  width: 100%; height: 38px; padding: 0 14px 0 38px;
  border: 1px solid var(--line); border-radius: var(--r-pill);
  background: var(--paper); color: var(--text); font: inherit; font-size: 13px;
  transition: all var(--dur-fast) var(--ease-standard);
}
.search-field input::placeholder { color: var(--text-3); }
.search-field input:focus { outline: none; border-color: var(--brand-400); background: #fff; box-shadow: 0 0 0 4px rgba(31, 185, 239, .14); }
.search-field .ic { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 15px; height: 15px; color: var(--text-3); }
.filterbar__label { font-size: 11.5px; color: var(--text-3); letter-spacing: .08em; padding-right: 2px; }

/* 年度条 */
.year-strip { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.year-strip a {
  flex: 1 1 0; min-width: 96px; padding: 10px 12px; text-align: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  font-family: var(--font-num); font-size: 13px; color: var(--text-2); font-weight: 500;
  transition: all var(--dur-fast) var(--ease-standard);
}
.year-strip a b { display: block; font-size: 19px; color: var(--ink-950); font-weight: 700; line-height: 1.2; }
.year-strip a span { display: block; font-size: 11px; color: var(--text-3); font-family: var(--font-sans); letter-spacing: .06em; }
.year-strip a:hover { border-color: var(--brand-300); background: var(--brand-50); }
.year-strip a.is-active { background: var(--ink-950); border-color: var(--ink-950); }
.year-strip a.is-active b, .year-strip a.is-active span { color: #fff; }

/* 文档行图标列 */
.doc-row > .ic { color: var(--brand-500); }

/* 侧栏下载排行 */
.rank-list li { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.rank-list li:last-child { border-bottom: 0; }
.rank-list i {
  flex-shrink: 0; width: 18px; height: 18px; border-radius: 4px; display: grid; place-items: center;
  font-family: var(--font-num); font-size: 10.5px; font-style: normal; font-weight: 700;
  background: var(--paper-2); color: var(--text-3); margin-top: 2px;
}
.rank-list li:nth-child(1) i { background: var(--brand-600); color: #fff; }
.rank-list li:nth-child(2) i { background: var(--brand-500); color: #fff; }
.rank-list li:nth-child(3) i { background: var(--brand-300); color: #04222E; }
.rank-list a { font-size: 12.5px; line-height: 1.6; color: var(--text); display: block; }
.rank-list a:hover { color: var(--brand-700); }
.rank-list span { display: block; font-family: var(--font-num); font-size: 11px; color: var(--text-3); margin-top: 2px; }

/* =============================================================
   赛项宫格：默认只显示一行，点击展开
   （数量较多时避免首屏被赛项占满；判定行数由 site.js 实测）
   ============================================================= */
.cat-grid { overflow: hidden; transition: max-height .42s cubic-bezier(.22,.61,.36,1); }

.cat-more {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin: 18px auto 0; padding: 9px 20px;
  font-family: inherit; font-size: 13px; font-weight: 600; color: var(--brand-700);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-pill);
  cursor: pointer; transition: all var(--dur-mid) var(--ease-standard);
}
.cat-more:hover { color: var(--brand-700); border-color: var(--brand-300); background: var(--brand-50); box-shadow: 0 12px 24px -20px rgba(11, 30, 44, .5); }
.cat-more:focus-visible { outline: 2px solid var(--brand-400); outline-offset: 3px; }
.cat-more__arrow { width: 14px; height: 14px; transition: transform var(--dur-mid) var(--ease-standard); }
.cat-more.is-open .cat-more__arrow { transform: rotate(180deg); }
.cat-more[hidden] { display: none; }

@media (max-width: 720px) {
  .cat-grid { transition: max-height .34s ease; }
}

/* =============================================================
   按钮出现在正文（.prose）内时，正文链接样式不得覆盖按钮配色
   （.prose a 的特异性高于 .btn--primary，会导致蓝底蓝字）
   ============================================================= */
.prose a.btn { border-bottom: 0; text-decoration: none; }
.prose a.btn--primary,
.prose a.btn--dark { color: #FFFFFF; }
.prose a.btn--light { color: var(--brand-800); }
.prose a.btn--outline,
.prose a.btn--ghost { color: var(--text); }
.prose a.btn--primary:hover,
.prose a.btn--dark:hover { color: #FFFFFF; }

/* =============================================================
   样题正文：题目列表排版（.prose--doc）
   原站数据是一行一个 <p>，用默认 prose 行距会拉得极长，
   此处按"试卷"密度压缩，保持题目成组、选项紧邻。
   ============================================================= */
.prose--doc { font-size: 15.5px; line-height: 1.78; color: var(--ink-900); }
.prose--doc > * + * { margin-top: .52em; }
.prose--doc p { margin: 0; }
.prose--doc p + p { margin-top: .3em; }
.prose--doc p:empty,
.prose--doc p > br:only-child { display: none; }
.prose--doc h1, .prose--doc h2, .prose--doc h3 { margin-top: 1.7em; font-size: 17px; }
.prose--doc h1 { font-size: 20px; }
.prose--doc table { font-size: 13.5px; }
.prose--doc table + * { margin-top: .9em; }
.prose--doc img { max-width: 100%; height: auto; }
.prose--doc [style*="text-align:center"], .prose--doc [align="center"] { text-align: center; }

/* 赛项宫格：当前选中项 */
.cat-card.is-active { border-color: var(--brand-300); background: var(--brand-50); }
.cat-card.is-active::before { transform: scaleX(1); }
.cat-card.is-active .cat-card__icon { background: var(--brand-600); color: #FFFFFF; border-color: var(--brand-600); }
.cat-card.is-active b { color: var(--brand-800); }
