/* Development History timeline — 1:1 with roboscience.co/about.html.

   DOM (as emitted by the CMS):
     .fazhanlichenghao-13 (swiper root)
       .fazhandianhao-13 (rail wrapper, has ::before gray baseline)
         .swiper-pagination
           .swiper-pagination-bullet
             i    (green fill line, scaleX 0→1 over 6s when active)
             span (dot, gray → green when active)
       .p_list.swiper-wrapper
         .swiper-slide
           .e_timeFormat-13   (240px pale year watermark)
           .e_container-7     (absolute, overlays the year, holds title+date)
             .cbox-7-0
               .e_text-8       (event title, 28px)
               .e_richText-9   (date, 16px)

   The gray baseline is drawn by .fazhandianhao-13::before across the full
   width; each bullet is a flex segment whose inner <i> draws the green
   overlay via a 6s keyframe (matches autoplay delay). */

.fazhanlichenghao-13 {
  overflow: hidden;
  padding-top: 230px;
  position: relative;
  max-width: 1200px;
  margin: 50px auto 0;
  padding-left: 15px;
  padding-right: 15px;
  box-sizing: border-box;
}

.fazhanlichenghao-13 .swiper-slide {
  height: auto;
  text-align: center;
  position: relative;
}

/* Year watermark — 240px pale, sits at the top of the slide. */
.fazhanlichenghao-13 .swiper-slide .e_timeFormat-13 {
  min-height: 20px;
  font-size: 240px;
  color: rgba(238, 247, 246, 1);
  line-height: 1;
  font-family: Arial, sans-serif;
  font-weight: bold;
  text-align: center;
  margin: 0;
  padding: 0;
}

/* Content container — pulled up over the year watermark. */
.fazhanlichenghao-13 .swiper-slide .e_container-7 {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  width: 100%;
  position: absolute;
  top: -40%;
  transform: translateY(-50%);
  left: 0;
}
.fazhanlichenghao-13 .swiper-slide .e_container-7 > .p_item,
.fazhanlichenghao-13 .swiper-slide .cbox-7-0 {
  flex: 1;
  max-width: 100%;
}

.fazhanlichenghao-13 .swiper-slide .e_text-8 {
  line-height: 1;
  font-size: 28px;
  font-weight: normal;
  text-align: center;
  color: rgba(51, 51, 51, 1);
  font-family: 'Microsoft YaHei', sans-serif;
  margin: 0;
}
.fazhanlichenghao-13 .swiper-slide .e_richText-9 {
  font-size: 16px;
  font-family: 'Microsoft YaHei', sans-serif;
  color: rgba(96, 96, 96, 1);
  text-align: center;
  line-height: 1.5;
  margin-top: 20px;
  -webkit-line-clamp: 1;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Rail wrapper — holds the pagination and the gray baseline. */
.fazhanlichenghao-13 .fazhandianhao-13 {
  position: relative;
}
.fazhanlichenghao-13 .fazhandianhao-13::before {
  content: '';
  width: 100%;
  height: 1px;
  background: #e3e3e3;
  position: absolute;
  top: calc(50% - 1px);
  left: 0;
}

/* Pagination row — inline flex, edge-to-edge with padded ends. */
.fazhanlichenghao-13 .fazhandianhao-13 .swiper-pagination {
  position: relative !important;
  margin: 0;
  bottom: auto !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  transform: none !important;
  display: flex;
  justify-content: space-between;
  padding: 0 100px;
  width: 100%;
  box-sizing: border-box;
}

/* Each bullet is a segment; the inner <i> draws the fill line. */
.fazhanlichenghao-13 .swiper-pagination-bullet {
  width: 100% !important;
  height: 5px !important;
  opacity: 1 !important;
  background: none !important;
  position: relative;
  border-radius: 0 !important;
  margin: 0 !important;
  display: block;
  cursor: pointer;
}
.fazhanlichenghao-13 .swiper-pagination-bullet i {
  background: #059c92;
  height: 1px;
  width: 100%;
  position: absolute;
  top: 2px;
  transform: scaleX(0);
  transform-origin: left;
  z-index: 3;
  transition-timing-function: linear;
  left: 0;
  display: block;
}
.fazhanlichenghao-13 .swiper-pagination-bullet-active i {
  animation: fazhan-middle 6s;
}
.fazhanlichenghao-13 .swiper-pagination-bullet:first-child.swiper-pagination-bullet-active i {
  animation: fazhan-first 6s;
}
.fazhanlichenghao-13 .swiper-pagination-bullet:last-child.swiper-pagination-bullet-active i {
  animation: fazhan-last 6s;
}
.fazhanlichenghao-13 .swiper-pagination-bullet span {
  width: 5px;
  height: 5px;
  background: #999;
  display: block;
  border-radius: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 4;
}
.fazhanlichenghao-13 .swiper-pagination-bullet.swiper-pagination-bullet-active span {
  background: #009b8e;
}

@keyframes fazhan-first {
  0% { transform: scaleX(0); }
  100% { transform: scaleX(1); }
}
@keyframes fazhan-last {
  0% { transform: scaleX(0); }
  100% { transform: scaleX(1); }
}
@keyframes fazhan-middle {
  0% { transform: scaleX(0); }
  100% { transform: scaleX(1); }
}

@media screen and (max-width: 768px) {
  .fazhanlichenghao-13 {
    padding-top: 150px;
    margin-top: 30px;
  }
  .fazhanlichenghao-13 .swiper-slide .e_timeFormat-13 {
    font-size: 150px;
  }
  .fazhanlichenghao-13 .swiper-slide .e_text-8 {
    font-size: 16px;
    line-height: 1.5;
    color: #333;
  }
  .fazhanlichenghao-13 .swiper-slide .e_richText-9 {
    font-size: 14px;
    margin-top: 12px;
  }
  .fazhanlichenghao-13 .fazhandianhao-13 .swiper-pagination {
    padding: 0 30px;
  }
}
