/* ============================================================
   PC 端 · 2027 国考专题
   ============================================================ */

/* ---------- 基础布局 ---------- */

.wrap {
  width: min(100% - var(--gutter) * 2, var(--wrap));
  margin-inline: auto;
}

.page {
  /* 用 clip 而不是 hidden：hidden 会让 .page 变成滚动容器，里面的 sticky 顶栏就失效了 */
  overflow-x: clip;
}

@supports not (overflow: clip) {
  .page {
    overflow-x: hidden;
  }
}

.section {
  padding: 56px 0;
}

/* 锚点跳转时给吸顶顶栏让位 */
.section[id] {
  scroll-margin-top: 84px;
}

/* 首屏之后的第一屏不需要再叠满顶部间距 */
.hero + #sections > .section:first-child {
  padding-top: 36px;
}

.section + .section {
  padding-top: 0;
}

/* 最后一屏（相关专题）收窄下边距，别让页脚前面空一大块 */
.section:last-child {
  padding-bottom: 40px;
}

.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.section__title {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
}

.section__title::before {
  content: '';
  width: 5px;
  height: 26px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--brand), var(--amber));
  flex: none;
  align-self: center;
}

/* 标题后半段：一句人话描述，弱化成辅助信息，不抢关键词 */
.section__desc {
  font-size: 17px;
  font-weight: 500;
  color: var(--ink-3);
  letter-spacing: 0;
}

.section__kw {
  display: inline;
}

.section__sub {
  margin-top: 8px;
  font-size: 14px;
  color: var(--ink-3);
  padding-left: 17px;
}

.section__more {
  font-size: 14px;
  color: var(--ink-3);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.18s, gap 0.18s;
  flex: none;
}

.section__more:hover {
  color: var(--brand);
  gap: 10px;
}

/* 带徽章的「更多」：本来是个不起眼的文字链，加个胶囊底 + 角标才像个入口 */
.section__more--badge {
  padding: 8px 14px;
  border: 1px solid var(--brand-tint);
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 600;
  font-size: 13.5px;
  box-shadow: 0 6px 16px -12px var(--brand-glow);
}

.section__more--badge:hover {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.section__morebadge {
  padding: 1px 6px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.02em;
}

.section__more--badge:hover .section__morebadge {
  background: #fff;
  color: var(--brand);
}

/* ---------- 全站导航（本地宝 PC 站通用） ---------- */

/* 不吸顶：滚走之后由下面的专题锚点导航接管 */
.sitenav {
  background: #fcfdfd;
  border-bottom: 1px solid #f2f2f2;
}

.sitenav__inner {
  width: min(100% - var(--gutter) * 2, var(--wrap));
  margin-inline: auto;
  height: 76px;
  display: flex;
  align-items: center;
  gap: 34px;
}

.sitenav__logo {
  flex: none;
  width: 97px;
  height: 39px;
  display: block;
}

.sitenav__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.sitenav__list {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  min-width: 0;
  gap: 4px;
}

.sitenav__list a {
  display: block;
  padding: 6px 4px;
  font-size: 15px;
  color: #333;
  white-space: nowrap;
  transition: color 0.16s;
}

.sitenav__list a:hover {
  color: var(--brand);
  text-decoration: underline;
}

.sitenav__right {
  flex: none;
  display: flex;
  align-items: center;
  gap: 26px;
}

.sitenav__city {
  display: flex;
  align-items: stretch;
  height: 32px;
  border-radius: 10px;
  overflow: hidden;
}

.sitenav__cityname {
  width: 70px;
  display: grid;
  place-items: center;
  background: #f2f2f2;
  font-size: 14px;
  color: #333;
}

.sitenav__cityname:hover {
  color: var(--brand);
}

.sitenav__citybtn {
  width: 30px;
  display: grid;
  place-items: center;
  background: #f60;
  color: #fff;
  transition: background 0.16s;
}

.sitenav__citybtn:hover {
  background: var(--brand-600);
}

.sitenav__app {
  font-size: 15px;
  color: #f60;
  white-space: nowrap;
}

.sitenav__app:hover {
  text-decoration: underline;
}

/* ---------- 顶部导航 ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s;
}

.topbar.is-stuck {
  box-shadow: 0 6px 24px -18px rgba(43, 31, 20, 0.5);
}

.topbar__inner {
  height: 68px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.02em;
  flex: none;
}

/* 本地宝 logo：顶栏吸到屏幕顶之后就是全站导航的位置，那一屏放真 logo。
   页面顶部时全站导航已经有一个 logo，这里先藏起来，避免两个 logo 并排 */
.brand__logo {
  display: none;
  width: 87px;
  height: 35px;
  object-fit: contain;
  flex: none;
}

.topbar.is-logo .brand__logo {
  display: block;
}

/* 顶栏里 logo 与「2027 国考专题」之间一道竖线 */
.brand__divider {
  display: none;
  width: 1px;
  height: 20px;
  background: var(--line-strong);
  flex: none;
}

.topbar.is-logo .brand__divider {
  display: block;
}

.brand__name {
  white-space: nowrap;
}

.brand__year {
  color: var(--brand);
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  min-width: 0;
  /* 吸顶后左边多出一个 logo，10 个锚点放不下时在条内横向滚动，
     而不是从城市按钮底下穿过去（溢出的部分会被压住看不见） */
  overflow-x: auto;
  scrollbar-width: none;
}

.nav::-webkit-scrollbar {
  display: none;
}

.nav__link {
  flex: none;
  padding: 8px 13px;
  border-radius: var(--r-sm);
  font-size: 14.5px;
  color: var(--ink-2);
  white-space: nowrap;
  transition: background 0.16s, color 0.16s;
}

.nav__link:hover {
  background: var(--surface);
  color: var(--ink);
}

.nav__link.is-active {
  color: var(--brand);
  background: var(--brand-soft);
  font-weight: 600;
}

.topbar__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

/* 城市选择 */

.citypick {
  position: relative;
}

.citypick__btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  font-size: 14px;
  background: var(--surface);
  transition: border-color 0.16s, box-shadow 0.16s;
}

.citypick__btn:hover {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
}

/* 用 fixed + fixed 定位，避开顶栏 backdrop-filter 造成的层叠上下文 */
.citypick__panel {
  position: fixed;
  top: 76px;
  right: max(24px, calc((100vw - var(--wrap)) / 2));
  width: 420px;
  padding: 16px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: 0 24px 60px -24px rgba(43, 31, 20, 0.45), 0 0 0 1px rgba(43, 31, 20, 0.02);
  display: none;
  z-index: 100;
}

.citypick.is-open .citypick__panel {
  display: block;
  animation: pop 0.16s ease-out;
}

@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
}

.citypick__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}

.citypick__item {
  padding: 7px 8px;
  border-radius: var(--r-xs);
  font-size: 13.5px;
  color: var(--ink-2);
  text-align: center;
  transition: background 0.14s, color 0.14s;
}

.citypick__item:hover {
  background: var(--surface-2);
  color: var(--ink);
}

.citypick__item.is-current {
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 600;
}

.citypick__hint {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  font-size: 12.5px;
  color: var(--ink-3);
}

/* ---------- 首屏 ---------- */

.hero {
  position: relative;
  padding: 48px 0 40px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 420px at 82% -10%, rgba(255, 90, 31, 0.13), transparent 62%),
    radial-gradient(700px 360px at 8% 8%, rgba(242, 163, 60, 0.12), transparent 60%),
    linear-gradient(180deg, #fff8f1 0%, var(--bg) 72%);
  pointer-events: none;
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(120, 92, 66, 0.09) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent 65%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  display: flex;
  flex-direction: column;
}

/* 面包屑单独一行，通栏展示 */
.hero__crumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--ink-3);
  margin-bottom: 22px;
}

/* 正文两列：左内容 + 右倒计时卡，两列等高 */
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 48px;
  align-items: stretch;
}

.hero__main {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

/* 面包屑：本地宝 / 苏州 / 招聘 / 国考，前三级可点，末级是当前页 */
.hero__crumb .crumb__link {
  color: var(--ink-3);
}

.hero__crumb .crumb__link:hover {
  color: var(--brand);
}

.hero__crumb .crumb__sep {
  opacity: 0.5;
}

.hero__crumb .crumb__cur {
  color: var(--ink-2);
  font-weight: 600;
}

/* 首屏标题 */

.hero__title {
  font-size: clamp(34px, 3.6vw, 48px);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.035em;
}

.hero__title em {
  font-style: normal;
  color: var(--brand);
}

.hero__desc {
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink-2);
  max-width: 34em;
}

.hero__desc strong {
  color: var(--ink);
  font-weight: 600;
}

/* 通用按钮 */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 50px;
  padding: 0 26px;
  border-radius: var(--r-sm);
  font-size: 15.5px;
  font-weight: 600;
  white-space: nowrap;
  transition: transform 0.14s, box-shadow 0.18s, background 0.18s, border-color 0.18s;
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: linear-gradient(135deg, var(--brand), #ff7a3d);
  color: #fff;
  box-shadow: 0 10px 24px -12px var(--brand-glow), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn--primary:hover {
  box-shadow: 0 14px 30px -12px rgba(255, 90, 31, 0.55);
}

.btn--ghost {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line-strong);
}

.btn--ghost:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: var(--brand-soft);
}

.btn--sm {
  height: 40px;
  padding: 0 18px;
  font-size: 14px;
}

.btn__badge {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.24);
  letter-spacing: 0.02em;
}

/* 关键数据条 */

.hero__stats {
  /* 六个数据、三列两行：填满左栏，同时把「政策倾斜」这类页面别处没有的数据带出来 */
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.stat {
  display: block;
  background: var(--surface);
  padding: 16px;
  color: inherit;
  transition: background 0.18s;
}

.stat:hover {
  background: #fffdfb;
}

.stat__label {
  font-size: 12.5px;
  color: var(--ink-3);
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 6px;
}

.stat__value {
  font-size: 27px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  display: flex;
  align-items: baseline;
  gap: 3px;
}

.stat__unit {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-3);
  letter-spacing: 0;
}

.stat__delta {
  margin-top: 5px;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 1px 7px;
  border-radius: 4px;
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.stat .num {
  white-space: nowrap;
}

.stat__delta--down {
  color: var(--red);
  background: var(--red-soft);
}

.stat__delta--up {
  color: var(--green);
  background: var(--green-soft);
}

/* 中性说明（占比、结构性信息），不用红绿也不加底色 */
.stat__delta--plain {
  color: var(--ink-3);
  background: transparent;
  padding: 0;
  margin-top: 4px;
}

.stat--brand .stat__value {
  color: var(--brand);
}

/* 右侧：阶段卡 */

.phase {
  position: relative;
  /* 与左侧内容栏等高：整卡拉伸，内部改为弹性分配 */
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.phase__top {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  padding: 24px 26px 22px;
  background:
    radial-gradient(420px 200px at 100% 0%, rgba(255, 90, 31, 0.12), transparent 70%),
    linear-gradient(160deg, #fff9f4, #ffffff 60%);
  border-bottom: 1px solid var(--line);
}

.phase__status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.phase__label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand);
  padding: 5px 12px;
  background: var(--brand-soft);
  border-radius: 999px;
}

.phase__label::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
  animation: pulse 1.8s ease-in-out infinite;
}

.phase__date {
  font-size: 12.5px;
  color: var(--ink-3);
}

/* 卡片内容自上而下排：状态 → 倒计时 → 提醒 → 按钮（贴底），
   不再用 auto 外边距把倒计时顶到中间留出空档 */
.phase__hint {
  font-size: 13px;
  color: var(--ink-3);
  margin-bottom: 10px;
}

/* 倒计时 */

.cd {
  display: flex;
  align-items: flex-start;
  gap: 3px;
  font-variant-numeric: tabular-nums;
}

.cd__unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 56px;
}

.cd__num {
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--ink);
  transition: color 0.2s;
}

.cd__label {
  margin-top: 6px;
  font-size: 11.5px;
  color: var(--ink-3);
  letter-spacing: 0.04em;
}

.cd__sep {
  font-size: 26px;
  font-weight: 300;
  color: var(--line-strong);
  line-height: 1.35;
}

.cd.is-urgent .cd__num {
  color: var(--brand);
}

.cd.is-over .cd__num {
  color: var(--ink-3);
}

.phase__tip {
  margin-top: 18px;
  padding: 11px 14px;
  border-radius: var(--r-sm);
  background: var(--amber-soft);
  border: 1px solid #f7e2bd;
  font-size: 13px;
  line-height: 1.65;
  color: #7a5312;
  display: flex;
  gap: 8px;
}

.phase__tip svg {
  flex: none;
  margin-top: 2px;
}

.phase__cta {
  /* 贴底：卡片被拉高时多余的空白留在按钮上方，而不是夹在倒计时两侧 */
  margin-top: auto;
  padding-top: 16px;
  display: flex;
  gap: 10px;
}

.phase__cta .btn {
  height: 46px;
  font-size: 15px;
}

.phase__cta .btn--primary {
  flex: 1;
}

.phase__cta .btn--ghost {
  flex: none;
  padding: 0 18px;
  font-size: 14.5px;
  gap: 6px;
}

/* 阶段卡底部：次要提醒 */

.phase__secondary {
  padding: 14px 26px;
  background: var(--surface-2);
  border-top: 1px solid var(--line);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink-2);
}

/* display:flex 会盖掉 [hidden] 的默认隐藏，显式兜底，避免无内容时残留一条空条 */
.phase__secondary[hidden] {
  display: none;
}

.phase__secondary strong {
  color: var(--ink);
}

.phase__secondary .tag {
  flex: none;
  margin-top: 1px;
}

/* 紧凑时间列表 */

.phase__list {
  padding: 8px 26px 20px;
}

.phase__row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  font-size: 13.5px;
  border-bottom: 1px dashed var(--line);
}

.phase__row:last-child {
  border-bottom: 0;
}

.phase__row .state {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex: none;
  background: var(--line-strong);
}

.phase__row.is-done .state {
  background: var(--green);
}

.phase__row.is-current .state {
  background: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
}

.phase__row .t {
  color: var(--ink-2);
  flex: 1;
}

.phase__row .d {
  color: var(--ink-3);
  font-size: 12.5px;
  font-variant-numeric: tabular-nums;
}

.phase__row.is-done .t,
.phase__row.is-done .d {
  color: var(--ink-3);
  text-decoration: line-through;
  text-decoration-color: var(--line-strong);
}

/* ---------- 模块：工具 ---------- */

.tools {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.tool {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: transform 0.16s, box-shadow 0.2s, border-color 0.16s;
}

.tool:hover {
  transform: translateY(-2px);
  border-color: var(--brand-tint);
  box-shadow: var(--shadow-md);
}

.tool__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand);
  flex: none;
}

.tool--primary .tool__icon {
  background: linear-gradient(140deg, var(--brand), #ff8a4c);
  color: #fff;
}

.tool__text {
  min-width: 0;
  flex: 1;
}

.tool__title {
  font-size: 14px;
  font-weight: 650;
  display: flex;
  align-items: center;
  gap: 5px;
  line-height: 1.35;
}

.tool__title .ext {
  color: var(--ink-3);
  opacity: 0.7;
  flex: none;
}

.tool__desc {
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink-3);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tool__go {
  display: none;
}

/* ---------- 模块：时间轴 ---------- */

.timeline {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 34px 34px 10px;
  box-shadow: var(--shadow-md);
}

.tl {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0 18px;
  padding-bottom: 10px;
}

/* 横向连接线 */
.tl::before {
  content: '';
  position: absolute;
  left: 8px;
  right: 8px;
  top: 15px;
  height: 2px;
  background: var(--line);
  border-radius: 2px;
  z-index: 0;
}

.tl__progress {
  position: absolute;
  left: 8px;
  top: 15px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--green), #47b98a);
  z-index: 0;
  transition: width 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.tl__item {
  position: relative;
  padding-top: 40px;
}

.tl__dot {
  position: absolute;
  top: 8px;
  left: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--line-strong);
  z-index: 1;
  transition: border-color 0.2s, background 0.2s;
}

.tl__item.is-done .tl__dot {
  background: var(--green);
  border-color: var(--green);
}

.tl__item.is-done .tl__dot::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: #fff;
  transform: scale(0.45);
}

.tl__item.is-current .tl__dot {
  background: var(--brand);
  border-color: var(--brand);
  box-shadow: 0 0 0 5px var(--brand-soft);
}

.tl__item.is-current .tl__dot::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid var(--brand);
  opacity: 0.5;
  animation: ring 1.8s ease-out infinite;
}

@keyframes ring {
  0% { transform: scale(0.8); opacity: 0.55; }
  100% { transform: scale(1.6); opacity: 0; }
}

.tl__title {
  font-size: 15px;
  font-weight: 650;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.tl__item.is-current .tl__title {
  color: var(--brand);
}

.tl__date {
  margin-top: 4px;
  font-size: 12.5px;
  color: var(--ink-2);
  line-height: 1.6;
  font-variant-numeric: tabular-nums;
}

.tl__note {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--ink-3);
}

.tl__item.is-done .tl__title,
.tl__item.is-done .tl__date {
  color: var(--ink-3);
}

/* 时间轴下方的独立提醒行（如开考 15 分钟禁止入场） */
.tl__foot {
  margin-top: 4px;
  padding: 12px 2px 4px;
  border-top: 1px dashed var(--line);
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--ink-3);
}

/* ---------- 模块：变化 ---------- */

.changes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.change {
  position: relative;
  padding: 20px 22px 22px;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.2s, transform 0.2s;
}

.change:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.change--brand {
  background: linear-gradient(165deg, #fff7f2, #ffffff 55%);
  border-color: var(--brand-tint);
}

/* 头部：图标 + 标题（标题内联标签）同一行 */
.change__head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.change__icon {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: var(--surface-2);
  color: var(--ink-2);
  flex: none;
}

.change--brand .change__icon {
  background: var(--brand);
  color: #fff;
}

.change--amber .change__icon {
  background: var(--amber-soft);
  color: #c07a10;
}

.change__title {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.45;
  margin-top: 4px;
}

.change__tag {
  font-size: 10.5px;
  padding: 1px 6px;
}

.change__desc {
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--ink-2);
}

.tag {
  display: inline-flex;
  align-items: center;
  font-size: 11.5px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 4px;
  background: var(--surface-2);
  color: var(--ink-2);
  white-space: nowrap;
  line-height: 1.5;
}

.tag--brand {
  background: var(--brand);
  color: #fff;
}

.tag--soft {
  background: var(--brand-soft);
  color: var(--brand);
}

.tag--amber {
  background: var(--amber-soft);
  color: #a86a0a;
}

.tag--green {
  background: var(--green-soft);
  color: var(--green);
}

.tag--line {
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--ink-3);
}

/* ---------- 模块：报考条件 ---------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(0, 0.68fr);
  gap: 20px;
  align-items: stretch;
}

/* 两张卡等高：内容少的一侧在富余高度里均分，而不是底部空一块 */
.split .panel {
  display: flex;
  flex-direction: column;
}

.split .panel__body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.split .exclude {
  flex: 1;
  justify-content: space-between;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.panel__head {
  padding: 20px 26px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: linear-gradient(180deg, #fffdfb, var(--surface));
}

.panel__title {
  font-size: 17px;
  font-weight: 650;
  display: flex;
  align-items: center;
  gap: 9px;
}

.panel__title svg {
  color: var(--brand);
}

.panel__body {
  padding: 8px 26px 24px;
}

/* 条件列表 */

.cond {
  display: flex;
  flex-direction: column;
}

.cond__row {
  padding: 13px 0;
  border-bottom: 1px dashed var(--line);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.cond__row:last-child {
  border-bottom: 0;
}

.cond__k {
  flex: none;
  width: 44px;
  font-size: 12.5px;
  color: var(--brand);
  font-weight: 600;
  padding-top: 2px;
}

.cond__v {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink);
}

.cond__sub {
  display: block;
  margin-top: 4px;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--ink-3);
}

/* 排除项 */

.exclude {
  display: flex;
  flex-direction: column;
}

.exclude__item {
  display: flex;
  gap: 9px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--ink-2);
  padding: 11px 0;
  border-bottom: 1px dashed var(--line);
}

.exclude__item:last-child {
  border-bottom: 0;
}

.exclude__item svg {
  flex: none;
  margin-top: 3px;
  color: var(--red);
  opacity: 0.8;
}

/* 备注 */

.note-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.note-list li {
  position: relative;
  padding-left: 16px;
  font-size: 13px;
  line-height: 1.75;
  color: var(--ink-2);
}

.note-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--amber);
}

/* ---------- 模块：考试安排 ---------- */

.exams {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.exam {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.exam__time {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--brand);
  letter-spacing: 0.01em;
}

.exam__name {
  font-size: 17px;
  font-weight: 650;
  margin-top: 2px;
}

.exam__subject {
  font-size: 13px;
  color: var(--ink-2);
}

.exam__detail {
  font-size: 12.5px;
  color: var(--ink-3);
  padding-top: 12px;
  margin-top: 8px;
  border-top: 1px dashed var(--line);
  line-height: 1.7;
}

.exam__note {
  font-size: 12px;
  color: var(--ink-3);
  line-height: 1.65;
  margin-top: 4px;
}

/* 卡片底部的大纲 / 温馨提示入口 */
.exam__acts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 12px;
}

.exam__act {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 5px 10px;
  border-radius: 7px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 12.5px;
  font-weight: 600;
  transition: background 0.16s, color 0.16s;
}

.exam__act span {
  display: inline-flex;
}

.exam__act:hover {
  background: var(--brand);
  color: #fff;
}

/* ---------- 模块：成绩查询与面试（顺序时间卡） ---------- */

.result {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.result__card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 18px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: transform 0.16s, border-color 0.16s, box-shadow 0.2s;
}

.result__card:hover {
  transform: translateY(-2px);
  border-color: var(--brand-tint);
  box-shadow: var(--shadow-md);
}

.result__head {
  display: flex;
  align-items: center;
  gap: 9px;
}

.result__idx {
  flex: none;
  font-family: var(--font-num);
  font-size: 13px;
  font-weight: 750;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 6px;
  padding: 2px 7px;
  letter-spacing: 0.02em;
}

.result__title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
}

.result__date {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--brand);
  font-variant-numeric: tabular-nums;
}

.result__desc {
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-3);
}

.result__acts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 10px;
}

/* 卡片里的按钮比全流程小一号 */
.gact--sm {
  padding: 4px 8px;
  font-size: 12px;
}

/* ---------- 模块：最新公告 + 最新资讯 ---------- */

.notices {
  display: grid;
  gap: 26px;
  align-items: start;
}

.notices--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.notices__colhead {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.notices__coltitle {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.notices__coltitle::before {
  content: '';
  width: 4px;
  height: 15px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--brand), var(--amber));
}

.notices__count {
  font-size: 12px;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}

.notices__more {
  margin-left: auto;
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: var(--ink-3);
  transition: color 0.16s;
}

.notices__more:hover {
  color: var(--brand);
}

/* 折分公式 */

.formula {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px 30px;
}

.formula__head {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 15.5px;
  font-weight: 650;
  margin-bottom: 18px;
}

.formula__head svg {
  color: var(--brand);
}

.formula__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 34px;
}

.formula__row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 13.5px;
}

.formula__row:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.formula__k {
  flex: none;
  width: 132px;
  color: var(--ink-2);
}

.formula__v {
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}

.formula__v b {
  color: var(--brand);
  font-weight: 650;
}

/* ---------- 模块：FAQ ---------- */

.faq {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}

.qa {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color 0.18s, box-shadow 0.2s;
}

.qa:hover {
  border-color: var(--line-strong);
}

.qa.is-open {
  border-color: var(--brand-tint);
  box-shadow: var(--shadow-md);
}

.qa__q {
  width: 100%;
  text-align: left;
  padding: 17px 20px;
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.6;
  transition: color 0.16s;
}

.qa__q:hover {
  color: var(--brand);
}

.qa__q .qmark {
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
  display: grid;
  place-items: center;
  margin-top: 1px;
}

.qa.is-open .qa__q .qmark {
  background: var(--brand);
  color: #fff;
}

.qa__q .chev {
  flex: none;
  margin-left: auto;
  color: var(--ink-3);
  transition: transform 0.22s;
  margin-top: 3px;
}

.qa.is-open .qa__q .chev {
  transform: rotate(180deg);
  color: var(--brand);
}

.qa__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.28s ease;
}

.qa.is-open .qa__a {
  grid-template-rows: 1fr;
}

.qa__a > div {
  overflow: hidden;
}

.qa__a p {
  padding: 0 20px 18px 51px;
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--ink-2);
}

.qa__hot {
  margin-left: 6px;
  transform: translateY(-1px);
}

/* ---------- 模块：报考问答 + 资讯（左右两栏） ---------- */

.res__cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
}

.res__colhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.res__coltitle {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.res__coltitle::before {
  content: '';
  width: 4px;
  height: 15px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--brand), var(--amber));
}

.res__more {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: var(--ink-3);
  transition: color 0.16s;
}

.res__more:hover {
  color: var(--brand);
}

.res__bottom {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 20px;
  align-items: stretch;
}

/* 两张卡等高：咨询电话在富余高度里均分，底部不留空 */
.res__bottom .panel {
  display: flex;
  flex-direction: column;
}

.res__bottom .hotline {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* 每行等分剩余高度、内容垂直居中，三行间距一致 */
.res__bottom .hotline__row {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.news__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 17px 24px;
  border-bottom: 1px solid var(--line);
  transition: background 0.16s;
}

.news__item:last-child {
  border-bottom: 0;
}

.news__item:hover {
  background: #fffaf6;
}

.news__item:hover .news__title {
  color: var(--brand);
}

.news__title {
  font-size: 14.5px;
  line-height: 1.55;
  transition: color 0.16s;
  flex: 1;
  min-width: 0;
  /* 常见问题里的官方标题较长（技术问答一条能到 50 多字），两行截断，
     否则单行省略会把「是否正常？」这种关键后半句吃掉 */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.news__date {
  flex: none;
  padding-top: 2px;
  font-size: 12.5px;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}

/* 官方入口 */

.entry-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 20px 22px;
}

.entry {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border-radius: var(--r-sm);
  background: var(--surface-2);
  font-size: 14px;
  font-weight: 550;
  transition: background 0.16s, transform 0.16s;
}

.entry:hover {
  background: var(--brand-soft);
  transform: translateX(2px);
}

.entry__icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--surface);
  display: grid;
  place-items: center;
  color: var(--brand);
  flex: none;
}

.entry__ext {
  margin-left: auto;
  color: var(--ink-3);
  flex: none;
}

/* 咨询电话 */

.hotline {
  padding: 8px 20px 22px;
}

.hotline__row {
  padding: 13px 0;
  border-bottom: 1px dashed var(--line);
}

.hotline__row:last-child {
  border-bottom: 0;
}

.hotline__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.hotline__label {
  font-size: 12.5px;
  color: var(--ink-2);
  white-space: nowrap;
}

.hotline__phone {
  font-size: 14px;
  font-weight: 650;
  color: var(--brand);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.hotline__time {
  margin-top: 3px;
  font-size: 12px;
  color: var(--ink-3);
  line-height: 1.6;
}

/* ---------- 本地数据模块 ---------- */

/* ---------- 职位报名榜（tab + 排名表） ---------- */

.rank-panel__body {
  padding: 16px 22px 20px;
}

/* 顶部汇总表：地区 / 岗位数 / 招考数 / 报名数 / 无人报考 / 合格数 / 无人过审 / 竞争比 */
.rank-sumtable {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface-2);
  border-radius: var(--r-sm);
  overflow: hidden;
}

.rank-sumtable th {
  padding: 9px 12px;
  text-align: right;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-3);
  white-space: nowrap;
}

.rank-sumtable td {
  padding: 2px 12px 11px;
  text-align: right;
  white-space: nowrap;
}

.rank-sumtable th:first-child,
.rank-sumtable td:first-child {
  text-align: left;
}

.rank-sumtable td b {
  font-family: var(--font-num);
  font-size: 15px;
  font-weight: 750;
  color: var(--ink);
}

.rank-sumtable td:nth-child(4) b,
.rank-sumtable td:nth-child(8) b {
  color: var(--brand);
}

.rank-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.rank-tab {
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 12.5px;
  color: var(--ink-2);
  background: var(--surface-2);
  transition: background 0.16s, color 0.16s;
}

.rank-tab:hover {
  color: var(--brand);
}

.rank-tab.is-active {
  background: var(--brand);
  color: #fff;
  font-weight: 600;
}

.rank-tablewrap {
  margin-top: 8px;
}

.rank-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: 12.5px;
}

.rank-table th {
  padding: 9px 10px;
  text-align: left;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-3);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.rank-table td {
  padding: 11px 10px;
  border-bottom: 1px dashed var(--line);
  vertical-align: middle;
  line-height: 1.5;
  word-break: break-word;
}

.rank-table tbody tr:last-child td {
  border-bottom: 0;
}

.rank-table tbody tr:hover td {
  background: #fffaf6;
}

.rank-table__idx {
  width: 56px;
}

.rank-table__region {
  width: 72px;
}

.rank-table__dept {
  width: 20%;
  color: var(--ink);
}

.rank-table__org {
  width: 29%;
  color: var(--ink-2);
}

.rank-table__pos {
  width: 18%;
  color: var(--ink-2);
}

.rank-table__detail {
  width: 46px;
  text-align: center;
}

.rank-detail {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  transition: color 0.16s, transform 0.16s;
}

.rank-detail:hover {
  color: var(--brand-600);
  transform: translateX(2px);
}

.rank-city {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--ink-2);
  font-size: 11.5px;
  line-height: 1.6;
}

.rank-city.is-current {
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 650;
}

.rank-table__n {
  width: 74px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.rank-table th.rank-table__n {
  text-align: right;
}

.rank-no {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: var(--surface-2);
  color: var(--ink-3);
  font-size: 11px;
  font-weight: 650;
}

.rank-no--top {
  background: var(--brand-soft);
  color: var(--brand);
}

.rank-table__sign {
  color: var(--brand);
  font-weight: 650;
}

/* ---------- 相关专题（页脚上方的两张入口卡） ---------- */

.related {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.rcard {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: transform 0.16s, box-shadow 0.2s, border-color 0.16s;
}

.rcard:hover {
  transform: translateY(-2px);
  border-color: var(--brand-tint);
  box-shadow: var(--shadow-md);
}

.rcard__icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand);
  flex: none;
}

.rcard__text {
  flex: 1;
  min-width: 0;
}

.rcard__title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.rcard__desc {
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-3);
}

.rcard__cta {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 13px;
  font-weight: 650;
  transition: background 0.18s, color 0.18s, gap 0.18s;
}

.rcard:hover .rcard__cta {
  background: var(--brand);
  color: #fff;
  gap: 9px;
}

/* ---------- 页脚：只剩一段免责声明 ---------- */

.footer {
  margin-top: 72px;
  padding: 26px 0 32px;
  background: var(--bg-deep);
  border-top: 1px solid var(--line);
}

.footer__desc {
  font-size: 12.5px;
  line-height: 1.9;
  color: var(--ink-3);
  max-width: 860px;
}

/* ---------- 回到顶部 ---------- */

.totop {
  position: fixed;
  right: 28px;
  bottom: 28px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  color: var(--ink-2);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.22s, transform 0.22s, visibility 0.22s, color 0.16s;
  z-index: 40;
}

.totop.is-show {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.totop:hover {
  color: var(--brand);
  border-color: var(--brand);
}

/* ---------- 导粉（关注本地宝） ---------- */

.gk-daofen {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.7;
  word-break: break-word;
  padding: 4px 16px;
}

.gk-daofen img {
  max-width: 400px;
  height: auto;
  margin: 10px auto;
  display: block;
}

.gk-daofen p {
  margin: 0 0 10px;
}

.gk-daofen p:last-child {
  margin-bottom: 0;
}

.gk-daofen a {
  color: var(--brand);
}

.gk-daofen-mask {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
  box-sizing: border-box;
}

.gk-daofen-mask.is-open {
  display: flex;
}

.gk-daofen-mask__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(28, 20, 12, 0.48);
}

.gk-daofen-dialog {
  position: relative;
  width: min(480px, 100%);
  background: var(--surface);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.gk-daofen-dialog__title {
  margin: 0;
  padding: 18px 20px 0;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  text-align: center;
}

.gk-daofen-dialog__bd {
  max-height: min(72vh, 520px);
  overflow-y: auto;
  padding: 14px 20px 18px;
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.7;
  word-break: break-word;
}

.gk-daofen-dialog__bd img {
  max-width: 100%;
  height: auto;
  margin: 10px auto;
  display: block;
}

.gk-daofen-dialog__close {
  width: 100%;
  height: 48px;
  border: 0;
  border-top: 1px solid var(--line);
  background: var(--surface);
  color: var(--brand);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.gk-daofen-dialog__close:hover {
  background: var(--brand-soft);
}

.gk-follow {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 41;
  width: 52px;
  padding: 10px 8px;
  border: 0;
  border-radius: var(--r-sm);
  background: linear-gradient(135deg, var(--brand), #ff7a3d);
  box-shadow: 0 10px 24px -12px var(--brand-glow);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.25;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.22s, transform 0.22s, visibility 0.22s, bottom 0.22s;
}

.gk-follow.is-show {
  opacity: 1;
  visibility: visible;
  transform: none;
}

body.has-totop .gk-follow {
  bottom: 84px;
}

.gk-follow:hover {
  filter: brightness(1.03);
}

.gk-follow:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

/* ---------- 入场动画 ---------- */

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ---------- 响应式（PC 窄屏） ---------- */

@media (max-width: 1100px) {
  /* 10 个锚点 + 品牌 + 城市按钮在 1024 这一档刚好挤不下，收一收内边距与字号，
     而不是让它横向溢出（溢出的部分会被城市按钮压住看不见） */
  .topbar__inner {
    gap: 16px;
  }

  .nav__link {
    padding: 8px 6px;
    font-size: 13.5px;
  }

  .citypick__btn {
    padding: 8px 9px;
    font-size: 13px;
  }

  /* 全站导航挤不下 12 个栏目时，横向滚动，不换行不折字 */
  .sitenav__inner {
    gap: 22px;
  }

  .sitenav__list {
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .sitenav__list::-webkit-scrollbar {
    display: none;
  }

  .sitenav__right {
    gap: 16px;
  }

  .hero__grid {
    gap: 32px;
  }

  .cd__unit {
    min-width: 44px;
  }

  .cd__num {
    font-size: 32px;
  }

  .tools,
  .changes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .result {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tl {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px 18px;
  }

  .tl::before {
    display: none;
  }
}

/* 吸顶状态只留 logo：1100 这一档 10 个锚点 + logo + 「2027 国考专题」正好差 30px，
   把专题名让给导航（页面顶部没有 logo，标题照常显示） */
.topbar.is-logo .brand__divider,
.topbar.is-logo .brand__name {
  display: none;
}

.topbar.is-logo .brand {
  gap: 0;
}

@media (max-width: 900px) {
  .sitenav {
    display: none;
  }

  .hero__grid {
    grid-template-columns: 1fr;
  }

  .phase {
    max-width: 560px;
  }

  .split,
  .res__cols,
  .res__bottom,
  .notices--2 {
    grid-template-columns: 1fr;
  }

  .exams,
  .result {
    grid-template-columns: 1fr;
  }

  .cond,
  .formula__grid {
    grid-template-columns: 1fr;
  }

  .cond__row:last-child {
    border-bottom: 0;
  }

  .faq {
    grid-template-columns: 1fr;
  }

  /* 900 以下全站导航先消失，锚点导航不能跟着消失，否则页面没有导航了：
     改成横向滚动，品牌与城市按钮留在两侧 */
  .topbar__inner {
    gap: 16px;
  }

  .nav {
    overflow-x: auto;
    scrollbar-width: none;
    gap: 0;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }
}

@media (max-width: 640px) {
  .hero__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tools,
  .changes {
    grid-template-columns: 1fr;
  }

  /* 两张专题卡在窄屏一列排开，描述不再被挤成三行 */
  .related {
    grid-template-columns: 1fr;
  }

  .tl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section {
    padding: 52px 0;
  }
}

/* ---------- 模块：文章列表（FAQ 等） ---------- */

.articles {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.article {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--line);
  transition: background 0.16s;
}

.article:last-child {
  border-bottom: 0;
}

.article:hover {
  background: #fffaf6;
}

.article__main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.article__title {
  font-size: 14.5px;
  font-weight: 550;
  line-height: 1.5;
  transition: color 0.16s;
}

.article:hover .article__title {
  color: var(--brand);
}

.article__summary {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink-3);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.article__date {
  flex: none;
  font-size: 12.5px;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}

.article__go {
  flex: none;
  color: var(--ink-3);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.18s, transform 0.18s, color 0.18s;
}

.article:hover .article__go {
  opacity: 1;
  transform: none;
  color: var(--brand);
}

/* ---------- 模块：全流程指南 ---------- */

.guide {
  display: grid;
  grid-template-columns: 268px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.guide__steps {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.guide__step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: border-color 0.16s, box-shadow 0.18s, transform 0.16s;
}

.guide__step:hover {
  border-color: var(--brand-tint);
  box-shadow: var(--shadow-sm);
}

.guide__step.is-active {
  border-color: var(--brand);
  background: var(--brand-soft);
  box-shadow: 0 10px 26px -18px var(--brand-glow);
}

.guide__sidx {
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--surface-2);
  color: var(--ink-3);
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.guide__step.is-active .guide__sidx {
  background: var(--brand);
  color: #fff;
}

.guide__stext {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.guide__slabel {
  font-size: 14.5px;
  font-weight: 650;
  line-height: 1.4;
}

.guide__step.is-active .guide__slabel {
  color: var(--brand-700);
}

.guide__speriod {
  font-size: 12px;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}

.guide__panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 0 24px 20px;
  box-shadow: var(--shadow-sm);
}

.guide__phead {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 18px 0 14px;
  border-bottom: 1px solid var(--line);
}

.guide__ptitle {
  font-size: 16px;
  font-weight: 700;
}

.guide__pperiod {
  font-size: 13px;
  color: var(--brand);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.guide__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding-top: 16px;
  align-items: start;
}

/* 一张卡 = 一个事项：标题 / 完整时间 / 一句重点 / 快捷按钮 */
.guide__item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 15px 16px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--bg);
  transition: transform 0.16s, border-color 0.16s, box-shadow 0.2s;
}

.guide__item:hover {
  transform: translateY(-2px);
  border-color: var(--brand-tint);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.guide__ihead {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.guide__ititle {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink);
}

/* 时间写全，单独一行，橙色但不用标签底，避免卡片里色块太多 */
.guide__idate {
  flex: none;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--brand);
  font-variant-numeric: tabular-nums;
  line-height: 1.6;
}

.guide__idesc {
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-3);
}

/* 报名费用：编辑填写后才出现，跟在说明下面一行 */
.guide__fee {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: -2px;
  font-size: 12.5px;
  line-height: 1.6;
}

.guide__feek {
  flex: none;
  padding: 1px 6px;
  border-radius: 5px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 11px;
  font-weight: 600;
}

.guide__feev {
  color: var(--ink-2);
  font-weight: 600;
}

/* 快捷按钮：入口丨流程丨岗位表… 一多就换行，每个都是独立链接 */
.guide__acts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}

.gact {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 5px 9px;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  background: var(--surface);
  font-size: 12.5px;
  font-weight: 550;
  color: var(--ink-2);
  line-height: 1.4;
  transition: border-color 0.16s, color 0.16s, background 0.16s;
}

.gact span {
  color: var(--ink-3);
  transition: color 0.16s;
}

.gact:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: var(--brand-soft);
}

.gact:hover span {
  color: var(--brand);
}

/* 每张卡的第一个按钮是官方入口，给实心突出一下 */
.gact--primary {
  border-color: transparent;
  background: var(--brand);
  color: #fff;
}

.gact--primary span {
  color: rgba(255, 255, 255, 0.85);
}

.gact--primary:hover {
  background: var(--brand-600);
  border-color: transparent;
  color: #fff;
}

.gact--primary:hover span {
  color: #fff;
}

.guide__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--brand);
}

.guide__more:hover {
  gap: 10px;
}

@media (max-width: 1100px) {
  .guide {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .guide__list {
    grid-template-columns: 1fr;
  }

  .guide__step {
    padding: 11px 14px;
  }
}

@media (max-width: 900px) {
  .guide {
    grid-template-columns: 1fr;
  }

  /* 窄屏改成四等分的一行：横滑会露半张卡，看着像内容没出来 */
  .guide__steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }

  .guide__step {
    padding: 10px 12px;
    gap: 8px;
    min-width: 0;
  }

  .guide__speriod {
    display: none;
  }

  .guide__slabel {
    white-space: nowrap;
  }
}

.rank__sum {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px 12px;
  padding: 14px 16px;
  background: var(--surface-2);
  border-radius: var(--r-sm);
}

.rank__sumitem {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.rank__sumk {
  font-size: 11.5px;
  color: var(--ink-3);
}

.rank__sum b {
  font-family: var(--font-num);
  font-size: 15px;
  font-weight: 750;
  color: var(--ink);
}

.rank__sumitem.is-brand b {
  color: var(--brand);
}

.guide__panel.is-collapsed,
.rank-pane.is-collapsed {
  display: none;
}

.section__more.is-disabled,
.section__more[aria-disabled='true'] {
  color: var(--ink-3);
  pointer-events: none;
  cursor: default;
}

.gact.is-disabled,
.gact[aria-disabled='true'] {
  color: var(--ink-3);
  pointer-events: none;
  cursor: default;
  opacity: 0.72;
}

.gact--primary.is-disabled {
  background: var(--surface-2);
  border-color: var(--line);
  color: var(--ink-3);
}
