.time-line li {
  list-style-type: none;
}

.time-line .tl-header {
  cursor: pointer;
  background-color: #23b7e5;
  color: white;
  text-align: center;
  display: inline-block;
  padding: 0 14px;
  border-radius: 8px;
}
.time-line .tl-header p {
  font-size: 14px;
  line-height: 8px;
}

/*时间垂直线*/
.time-line .tl-body {
  position: relative;
  border-left: 4px solid #23b7e5;
  margin-left: 40px;
  min-height: 88px;
  padding-top: 1px;
  padding-bottom: 1px;
}

/*时间线左侧，日 样式*/
.time-line .tl-body span {
  position: absolute;
  left: -50px;
  top: 16px;
  font-weight: 400;
  font-size: 14px;
}

.time-line .tl-body li {
  display: block;
  position: relative;
  left: -24px;
  margin: 8px 0;
}
.time-line .tl-body li:before {
  position: absolute;
  content: "";
  top: 21px;
  left: -15px;
  width: 6px;
  height: 6px;
  background: #fff;
  border: 2px solid #23b7e5;
  border-radius: 50%;
}

@media (max-width: 770px) {
  .time-line .tl-body li:before {
    left: -11px;
  }
}

.time-line.group-by-year .tl-header:not(.start) {
  padding: 0 28px;
}

.time-line.group-by-year[data-lang="zh-CN"] .tl-header:not(.start) {
  padding: 0 21px;
}

.time-line[data-lang="zh-CN"]:not(.group-by-year) .tl-body:not(.start) {
  margin-left: 48px;
}

.time-line.group-by-year .tl-body:not(.start) span {
  left: -76px;
}

/*设置时间线内容样式*/
.time-line .tl-body li .title {
  background-color: #23b7e5;
  color: white;
  display: inline-block;
  margin: 8px 0;
  margin-left: 10px;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 400;
}
.time-line .tl-body li .title:before {
  content: "";
  position: absolute;
  left: -8px;
  border: 10px solid rgba(0, 0, 0, 0);
  border-right-color: #23b7e5;
}

.time-line .tl-body li a {
  text-decoration: none;
  color: white;
  border-bottom: none;
}

.time-line .tl-body li a:hover {
  border-bottom: 1px solid #fff;
}

/*设置时间线开始样式*/
.tl-header.start {
  margin-top: 100px;
  padding: 0 8px;
  position: relative;
  left: -4px;
  cursor: default;
}

.time-line[data-lang="zh-CN"] .tl-header.start {
  padding: 0 30px;
}

.time-line[data-lang="zh-CN"]:not(.group-by-year) .tl-header.start {
  left: 4px;
}

.time-line[data-lang="zh-CN"]:not(.group-by-year) .tl-body.start {
  margin-left: 94px;
}

.tl-header.start::before {
  content: "";
  position: absolute;
  top: -96px;
  height: 92px;
  border-left: 4px dotted #23b7e5;
}

.tl-body.start {
  border: none;
  margin-left: 86px;
  margin-top: -50px;
}

.tl-body.start li::before {
  content: none !important;
}
.tl-body.start .title {
  margin-left: 50px;
}

.tl-body.start .title ::before {
  top: 24px !important;
}

.tl-header.start > .title {
  font-weight: 500;
}

.tl-body.start .section {
  display: flex !important;
}

.tl-body.start .content {
  max-height: 68px;
  overflow: hidden;
  border-radius: 4px;
  padding: 0;
}

.tl-body.start .content .text {
  box-sizing: border-box;
  white-space: pre-wrap;
  width: 100%;
  float: right;
  line-height: 1.5;
  margin: 0;
  margin-left: -100px;
  -webkit-mask: linear-gradient(red 30px, transparent 70px);
}

.tl-body.start .content::before {
  content: "";
  width: 100px;
  height: 100%;
  float: left;
}

.tl-body.start .content .btn {
  float: right;
  width: 100px;
  text-align: center;
  position: relative;
  left: calc(50% - 50px);
  transform: translateY(-100%);
  cursor: pointer;
}

.tl-body.start .content .btn::after {
  content: "";
  position: relative;
  top: -2px;
  display: block;
  height: 16px;
  background-color: #fff;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3E %3Cpath d='M143 352.3L7 216.3c-9.4-9.4-9.4-24.6 0-33.9l22.6-22.6c9.4-9.4 24.6-9.4 33.9 0l96.4 96.4 96.4-96.4c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9l-136 136c-9.2 9.4-24.4 9.4-33.8 0z'%3E%3C/path%3E %3C/svg%3E")
    center/ 24px 24px no-repeat;
}

.tl-body.start .content .btn::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 16px;
}

.tl-body.start .content-check:checked + .content {
  max-height: fit-content;
  padding-bottom: 16px;
}

.tl-body.start .content-check:checked + .content .btn {
  left: auto;
  right: calc(50% - 50px);
}

.tl-body.start .content-check:checked + .content .btn::after {
  transform: scaleY(-1) translateY(-18px);
}

.tl-body.start .content-check:checked + .content .text {
  -webkit-mask: none;
}
