/* GEO 全流程：横向时间轴，六步同屏均分（无横向滚动条）；内容上下交错 */

.geo-process-timeline {
  position: relative;
  /* 与 section 同宽（时间轴已移出 container），六列按视口级宽度均分 */
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  padding-left: max(0.75rem, env(safe-area-inset-left, 0px));
  padding-right: max(0.75rem, env(safe-area-inset-right, 0px));
  box-sizing: border-box;
}

.geo-process-timeline__scroll {
  overflow-x: hidden;
  overflow-y: visible;
  padding-bottom: 0.35rem;
  width: 100%;
}

.geo-process-timeline__track {
  --geo-n: 6;
  list-style: none;
  margin: 0;
  padding: 0.2rem 0 0;
  display: grid;
  grid-template-columns: repeat(var(--geo-n), minmax(0, 1fr));
  width: 100%;
  max-width: 100%;
  position: relative;
  align-items: stretch;
  gap: 0;
  column-gap: 0;
}

/* 贯穿各节点圆心的横线：首尾与第 1、第 6 列圆心对齐 */
.geo-process-timeline__track::before {
  content: "";
  position: absolute;
  left: calc(100% / (2 * var(--geo-n)));
  width: calc(100% - 100% / var(--geo-n));
  top: 50%;
  transform: translateY(-50%);
  height: 2px;
  border-radius: 9999px;
  background: linear-gradient(90deg, rgb(191 219 254), rgb(196 181 253));
  z-index: 0;
  pointer-events: none;
}

.geo-process-timeline__step {
  box-sizing: border-box;
  position: relative;
  z-index: 1;
  width: 100%;
  min-width: 0;
  padding: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto minmax(0, 1fr);
  grid-template-columns: 1fr;
  justify-items: center;
}

.geo-process-timeline__node {
  grid-row: 2;
  grid-column: 1;
  align-self: center;
  width: clamp(2.2rem, 4.2vw, 3.75rem);
  height: clamp(2.2rem, 4.2vw, 3.75rem);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: rgb(255 255 255);
  border: 2px solid rgb(239 246 255);
  box-shadow: 0 4px 12px -3px rgba(15, 23, 42, 0.08);
  font-size: clamp(0.88rem, 1.55vw, 1.125rem);
  font-weight: 700;
  color: rgb(37 99 235);
  position: relative;
  z-index: 1;
}

.geo-process-timeline__step--above .geo-process-timeline__body {
  grid-row: 1;
  grid-column: 1;
  align-self: end;
  width: 100%;
  min-width: 0;
  padding-bottom: clamp(0.2rem, 0.5vw, 0.35rem);
  text-align: center;
}

.geo-process-timeline__step--below .geo-process-timeline__body {
  grid-row: 3;
  grid-column: 1;
  align-self: start;
  width: 100%;
  min-width: 0;
  padding-top: clamp(0.2rem, 0.5vw, 0.35rem);
  text-align: center;
}

.geo-process-timeline__title {
  font-weight: 700;
  font-size: clamp(1.0625rem, 1.45vw, 1.3125rem);
  line-height: 1.45;
  color: rgb(15 23 42);
  margin: 0;
  overflow-wrap: normal;
  word-break: keep-all;
}

.geo-process-timeline__detail {
  margin: 0.35rem 0 0;
  padding: 0;
  list-style: none;
  text-align: center;
  /* 与全站说明类一致：text-sm */
  font-size: 0.875rem;
  line-height: 1.5;
  color: rgb(100 116 139);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.12rem;
  width: 100%;
}

.geo-process-timeline__detail li {
  margin: 0;
  padding: 0;
  width: 100%;
  text-align: center;
  line-height: 1.5;
  overflow-wrap: normal;
  word-break: keep-all;
}

.geo-process-timeline__detail li:last-child {
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .geo-process-timeline {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .geo-process-timeline__scroll {
    overflow-x: hidden;
    overflow-y: visible;
    padding-bottom: 0.75rem;
  }

  .geo-process-timeline__track {
    width: 100%;
    min-width: 0;
  }

  .geo-process-timeline__step {
    width: 100%;
  }

  .geo-process-timeline__body {
    max-width: 22rem;
  }

  .geo-process-timeline__node {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 0.95rem;
  }

  .geo-process-timeline__title {
    font-size: 1rem;
    line-height: 1.35;
    word-break: keep-all;
  }

  .geo-process-timeline__detail {
    font-size: 0.78rem;
    line-height: 1.45;
  }
}
