@charset "UTF-8";
:root {
  --timeline-offset-left: 100px;
  --timeline-color: #0a6ea4;
  --timeline-line-width: 3px;
  --timeline-entry-gap: 20px;
  --dot-size: 16px;
  --dot-border-width: 3px;
  --dot-shadow-size: 2px;
  --content-gap: 15px;
  --content-img-width: 150px;
}

.timeline {
  position: relative;
  padding: 0 20px;
  margin-left: 0;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--timeline-offset-left);
  width: var(--timeline-line-width);
  background-color: var(--timeline-color);
}

.timeline-year {
  font-size: 1.5em;
  font-weight: bold;
  margin: 40px 0 20px;
  color: #2c3e50;
  text-align: center;
}

.timeline-entry {
  position: relative;
  margin-bottom: var(--timeline-entry-gap);
  margin-left: calc(var(--timeline-offset-left) + 20px);
  max-width: 800px;
}

.content {
  display: flex;
  align-items: center;
  background: #fff;
  padding: 0 20px;
  border-radius: 5px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.05);
}

.content.has-image {
  flex-direction: row;
  align-items: flex-start;
  gap: 20px;
  align-items: center;
}

.content.has-video {
  flex-direction: column;
  align-items: flex-start;
}

.content img {
  width: var(--content-img-width);
  max-width: 100%;
  height: auto;
  flex-shrink: 0;
  object-fit: contain;
  border-radius: 8px;
}

.dot {
  position: absolute;
  left: -46px;
  top: 5px;
  width: var(--dot-size);
  height: var(--dot-size);
  background: var(--timeline-color);
  border-radius: 50%;
  border: var(--dot-border-width) solid #fff;
  box-shadow: 0 0 0 var(--dot-shadow-size) var(--timeline-color);
}

.date {
  font-size: 0.9em;
  color: #888;
  margin-bottom: 5px;
  text-align: left;
}

.text {
  flex: 1;
}

.video-inline-block {
  width: 100%;
  display: flex;
  justify-content: center;
}

.timeline-entry iframe,
.timeline-entry video {
  display: block;
  margin: auto;
}

@media (max-width: 768px) {
  .content.has-image {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }
  .content.has-image img {
    width: 100%;
    max-width: 65%;
    margin: 10px 0;
    display: block;
    align-self: center;
    border-radius: 8px;
  }
  .content .text {
    flex: unset;
    text-align: left;
  }
  .timeline {
    padding: 0 10px;
  }
  .timeline::before {
    left: 10px;
    width: 2px;
  }
  .timeline-year {
    font-size: 1.2em;
    font-weight: bold;
    margin: 20px 0 10px;
    color: #2c3e50;
    text-align: center;
  }
  .timeline-entry {
    margin-left: 0;
    max-width: 100%;
  }
  .dot {
    left: -7px;
    transform: translateX(0);
  }
  .date {
    font-size: 0.9em;
    color: #888;
    margin: 0 0 5px 25px;
    text-align: left;
  }
  .content {
    flex-direction: column;
    align-items: flex-start;
    margin-left: 10px;
  }
  .content.has-image img {
    width: 80%;
    max-width: 250px;
    align-self: center;
  }
  .content.has-video img {
    width: 100%;
    max-width: 300px;
  }
  .text {
    flex: unset;
    text-align: left;
  }
  .talk_container .talk_content ul {
    margin: 0;
    padding-left: 1rem; /* 左侧缩进更小（可调：0.8rem~1.2rem） */
  }
  .talk_container .talk_content li {
    margin: 4px 0 8px; /* 条目之间更紧凑 */
    line-height: 1.4; /* 仅收紧段落行距，不改标题样式 */
  }
  /* 控制 <br> 的换行间距（不影响标题样式） */
  .talk_container .talk_content li br {
    content: "";
    display: block;
    margin: 2px 0; /* 行间距更小，可调 0~4px */
  }
}

/*# sourceMappingURL=talks.css.map */