/* Hero Banner */
.zs-hero-history {
  position: relative;
  width: 100%;
  height: 31.25rem; /* 500px */
  display: flex;
  align-items: center;
}

.zs-hero-history-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.zs-hero-history-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.zs-hero-history-content {
  position: relative;
  padding-left: 8%;
  color: #fff;
  max-width: 50%;
}

.zs-hero-history-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.zs-hero-history-content p {
  font-size: 1.5rem;
  margin-bottom: 2.5rem;
  line-height: 1.4;
}

/* Navigation */
.zs-history-nav {
  background-color: #fff;
  padding: 1.5rem 0;
  /* position: sticky; 
  top: 0; */
  z-index: 999;
  border-bottom: 1px solid var(--color-border);
}

.zs-history-nav ul {
  display: flex;
  justify-content: center;
  gap: 3rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.zs-history-nav a {
  color: var(--color-text-strong); /* 默认黑色 */
  font-weight: 400; /* 不加�?*/
  text-decoration: none;
  font-size: 0.9375rem; /* 字号改小 (15px) */
  transition: color 0.3s;
}

.zs-history-nav a:hover,
.zs-history-nav a.is-active {
  color: var(--color-primary); /* 鼠标经过或激活时显示红色 */
}

/* Timeline */
.zs-history-timeline {
  display: flex;
  flex-direction: column;
}

.zs-history-block {
  display: flex;
  align-items: stretch;
}

.zs-history-text {
  flex: 1;
  padding: 6rem 8%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.zs-history-image {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.zs-history-image--yearpanel {
  min-height: 26rem;
  background:
    radial-gradient(circle at center, rgba(58, 166, 216, 0.06) 0%, rgba(58, 166, 216, 0) 58%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(244, 248, 253, 0.96) 100%);
  isolation: isolate;
}

.zs-history-block--white .zs-history-image--yearpanel {
  background:
    radial-gradient(circle at center, rgba(58, 166, 216, 0.05) 0%, rgba(58, 166, 216, 0) 58%),
    linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(248, 250, 254, 1) 100%);
}

.zs-history-image--yearpanel::before,
.zs-history-image--yearpanel::after {
  content: "";
  position: absolute;
  background: var(--color-primary);
  border-radius: 999px;
  opacity: 0.95;
}

.zs-history-image--yearpanel::before {
  height: 0.25rem;
}

.zs-history-image--yearpanel::after {
  width: 0.25rem;
}

.zs-history-year {
  position: absolute;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 13rem;
  padding: 0.2rem 1rem 0.4rem;
  background: inherit;
  box-shadow: 0 0 0 0.5rem rgba(248, 250, 254, 0.92);
  color: var(--color-primary);
  font-size: 4.35rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.zs-year-panel--2008::before {
  left: 6%;
  right: 0;
  top: 22%;
}

.zs-year-panel--2008::after {
  left: 6%;
  top: 22%;
  bottom: 25%;
}

.zs-year-panel--2008 .zs-history-year {
  left: 16%;
  bottom: 14%;
}

.zs-year-panel--2009::before {
  left: 0;
  right: 46%;
  top: 18%;
}

.zs-year-panel--2009::after {
  left: 54%;
  top: 0;
  bottom: 24%;
}

.zs-year-panel--2009 .zs-history-year {
  left: 13%;
  top: 20%;
}

.zs-year-panel--2010::before {
  left: 58%;
  right: 0;
  bottom: 20%;
}

.zs-year-panel--2010::after {
  left: 58%;
  top: 0;
  bottom: 20%;
}

.zs-year-panel--2010 .zs-history-year {
  right: 10%;
  bottom: 10%;
}

.zs-year-panel--2015::before {
  left: 0;
  right: 72%;
  top: 40%;
}

.zs-year-panel--2015::after {
  left: 28%;
  top: 40%;
  bottom: 0;
}

.zs-year-panel--2015 .zs-history-year {
  left: 18%;
  top: 33%;
}

.zs-year-panel--2018::before {
  left: 52%;
  right: 0;
  bottom: 24%;
}

.zs-year-panel--2018::after {
  left: 52%;
  top: 0;
  bottom: 24%;
}

.zs-year-panel--2018 .zs-history-year {
  right: 12%;
  bottom: 12%;
}

.zs-year-panel--2020::before {
  left: 0;
  right: 68%;
  top: 28%;
}

.zs-year-panel--2020::after {
  left: 32%;
  top: 28%;
  bottom: 0;
}

.zs-year-panel--2020 .zs-history-year {
  left: 14%;
  top: 19%;
}

.zs-history-block--gray .zs-history-text {
  background-color: var(--color-bg-soft);
  color: var(--color-text-strong);
}

.zs-history-block--black .zs-history-text {
  background-color: var(--color-text-strong);
  color: #fff;
}

.zs-history-block--white .zs-history-text {
  background-color: #fff;
  color: var(--color-text-strong);
}

.zs-history-text h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.zs-history-block--gray h2,
.zs-history-block--white h2 {
  color: var(--color-text-strong);
}

.zs-history-block--black h2 {
  color: #fff;
}

.zs-diamond {
  font-size: 1rem;
}

.zs-history-text p {
  font-size: 1.125rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.zs-history-block--gray p,
.zs-history-block--white p {
  color: var(--color-text-muted);
}

.zs-history-text strong {
  font-weight: 700;
}

/* Responsive */
@media (max-width: 63.9375rem) {
  .zs-hero-history {
    height: 20rem;
  }

  .zs-hero-history-content {
    max-width: 100%;
    padding-right: 8%;
  }

  .zs-hero-history-content h1 {
    font-size: 2.5rem;
  }

  .zs-history-nav ul {
    flex-wrap: wrap;
    gap: 1rem 2rem;
  }

  .zs-history-block {
    flex-direction: column;
  }

  .zs-history-block:nth-child(even) {
    flex-direction: column-reverse; /* Ensure image is always on top on mobile if desired, or keep as is */
  }

  .zs-history-text {
    padding: 3rem 1.5rem;
  }

  .zs-history-image--yearpanel {
    min-height: 18rem;
  }

  .zs-history-image--yearpanel::before {
    height: 0.1875rem;
  }

  .zs-history-image--yearpanel::after {
    width: 0.1875rem;
  }

  .zs-history-year {
    min-width: 9.5rem;
    font-size: 2.75rem;
    padding: 0.15rem 0.75rem 0.3rem;
    box-shadow: 0 0 0 0.35rem rgba(248, 250, 254, 0.94);
  }

  .zs-year-panel--2008 .zs-history-year {
    left: 14%;
    bottom: 12%;
  }

  .zs-year-panel--2009 .zs-history-year {
    left: 10%;
    top: 20%;
  }

  .zs-year-panel--2010 .zs-history-year,
  .zs-year-panel--2018 .zs-history-year {
    right: 8%;
    bottom: 10%;
  }

  .zs-year-panel--2015 .zs-history-year {
    left: 14%;
    top: 31%;
  }

  .zs-year-panel--2020 .zs-history-year {
    left: 12%;
    top: 20%;
  }
}

.zs-main { overflow: visible !important;  }

