/* 全局重置与基础设置 */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

@font-face {
  font-family: "PingFang";
  src: url("../fonts/PingFang-Bold.ttf");
}

/*body {*/
/*  font-family: "PingFang";*/
/*  background-color: #fff;*/
/*  color: #333;*/
/*  display: flex;*/
/*  justify-content: center;*/
/*  padding: 0.57rem 0.3rem;*/
/*}*/

/* 变量定义 */
:root {
  --primary-blue: #4F80C8;
  --line-width: 0.01rem;
  --dot-size: 0.35rem;
  --content-gap: 0.86rem;
}

/* 时间轴主容器 */
.timeline-container {
  position: relative;
  width: 100%;
  max-width: 10rem;
  margin: 1.4rem auto;
  padding: 0.2rem 0;
}

/* 垂直中心线 */
.center-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: var(--line-width);
  background-color: var(--primary-blue);
  transform: translateX(-50%);
  z-index: 0;
}

/* 单个时间节点项 */
.timeline-item {
  position: relative;
  width: 100%;
  display: flex;
  z-index: 1;
  height: 3.5rem;
  margin-top:-1.2rem;
}
.banner {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}
/* 左右布局逻辑 */
.timeline-item.left {
  justify-content: flex-start;
}

.timeline-item.right {
  justify-content: flex-end;
}

/* 内容包装器（包含文字和图片） */
.content-wrapper {
  width: 50%;
  position: relative;
}

.timeline-item.left .content-wrapper {
  text-align: right;
}

.timeline-item.right .content-wrapper {
  text-align: left;
}

/* 时间轴节点圆点 */
.timeline-marker {
  position: absolute;
  left: 50%;
  top: 0.97rem;
  width: var(--dot-size);
  height: var(--dot-size);
  border-radius: 50%;
  background-color: #fff;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}


/* 文字头部区域（包含横线） */
.text-header-left {
  position: relative;
  width: 100%;
  padding-right: var(--content-gap);
}

.text-header-right {
  position: relative;
  width: 100%;
  padding-left: var(--content-gap);
}


.timeline-item.left .text-header::after {
  right: -0.86rem;
}

.timeline-item.right .text-header::after {
  left: -0.86rem;
}


/* 年份样式 */
.year {
  font-size: 0.4rem;
  /* color: var(--primary-blue); */
  color: #326BBF;
  font-weight: bold;
  line-height: 1.2;
}

.year small {
  font-size: 0.2rem;
  font-weight: normal;
}

/* 描述文字样式 */
.description {
  font-size: 0.2rem;
  color: #555;
  margin-top: 0.09rem;
  white-space: nowrap;
  /*overflow: hidden;*/
  color: #4F80C8;
  text-overflow: ellipsis;
  font-family: "PingFang";
  font-style: normal;
  font-weight: 400;
}

/* 图片容器 */
.image-box-left {
  margin-top: 0.11rem;
  padding-right: var(--content-gap);
}

.image-box-right {
  margin-top: 0.11rem;
  padding-left: var(--content-gap);
}

.image-box-left img,
.image-box-right img {
  max-width: 100%;
  height: auto;
  max-height: 2.3rem;
  /* border-radius: 0.14rem; */
  box-shadow: 0 0.14rem 0.57rem rgba(0, 0, 0, 0.1);
}

.imgLine-left {
  width: 100%;
  height: 0.04rem;
  margin-top: 0.18rem;
  background-image: url("../images/Ellipse11.png");
  background-size: cover;
}
.imgLine-right {
  width: 100%;
  height: 0.04rem;
  margin-top: 0.18rem;
  background-image: url("../images/Ellipse13.png");
  background-size: cover;
}
