#wrap {
  background: #000;
}
/* 客服按钮 */
.customer-service {
  width: 100%;
  height: auto;
  position: relative;
}
.customer-service-content {
  width: 400px;
  height: 200px;
  position: absolute;
  right: 14%;
  top: 19%;
}
.customer-service-content p:nth-child(1) {
  font-size: 60px;
  font-weight: bold;
  color: #fff;
  text-align: right;
  width: 100%;
}
.customer-service-content p:nth-child(2) {
  font-size: 46px;
  font-weight: bold;
  color: #ff6634;
  text-align: right;
  width: 100%;
}
.customer-service-content p:nth-child(3) {
  font-size: 30px;
  color: #000;
  background: #fff;
  padding: 0 10px;
  box-sizing: border-box;
  text-align: center;
  text-align: right;
  width: 100%;
  margin-top: 10px;
}
.customer-service img {
  width: 100%;
  display: block;
}

.service-btn {
  background-color: #fe8b00;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s;
}

.service-btn:hover {
  background-color: #e38d45;
}

/* 主要内容区域 */
main {
  max-width: 1600px;
  margin: 0 auto;
  padding: 20px;
  background: #000;
  position: relative;
}

section {
  margin-bottom: 60px;
}

h1,
h2 {
  text-align: center;
  margin-bottom: 30px;
  color: #333;
  font-size: 24px;
}

/* 公司介绍部分 */
.intro-content {
  display: flex;
  gap: 30px;
  align-items: center;
}

.company-image,
.team-image {
  flex: 1;
  min-width: 300px;
  max-width: 400px;
  width: 400px;
}

.company-image img,
.team-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.company-text,
.team-text {
  flex: 1;
  font-size: 18px;
  color: #fff;
  padding: 30px;
  box-sizing: border-box;
}
.team-text {
  padding: 50px;
}
.team-text h2 {
  color: #fff;
  margin-top: 30px;
  text-align: left;
  font-size: 30px;
}
.team-text {
  background-color: #1a1a1a;
  height: 485px;
  margin-top: 25px;
}
.team-text p {
  text-indent: 30px;
  font-size: 22px;
  line-height: 38px;
}
.mission {
  margin-top: 20px;
  font-weight: bold;
  color: #fe8b00;
}

/* 团队介绍部分 */
.team-content {
  display: flex;
  /* gap: 30px; */
  /* align-items: center; */
}

.date {
  font-weight: bold;
  color: #fe8b00;
  margin-bottom: 5px;
}

/* 公司资质部分 */
.qualification-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  padding: 20px;
}

.qualification-item {
  text-align: center;
  background: #1a1a1a;
}
.qualification-image {
  width: 100%;
  height: 200px;
  background: #43423c;
  display: flex;
  justify-content: center;
  align-items: center;
}

.qualification-item img {
  width: auto;
  /* max-width: 200px; */
  height: auto;
  max-height: 200px;
}

.qualification-item p {
  font-size: 14px;
  color: #fff;
  line-height: 50px;
}

/* 公司地址部分 */
.company-address {
  padding: 60px 0 0;
  background: #000;
}
.company-address h2 {
  color: #fff;
}

.address-container {
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  gap: 40px;
  padding: 0 15px;
}

.address-map {
  flex: 1;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.address-map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.address-map:hover img {
  transform: scale(1.05);
}

.address-info {
  flex: 1;
}

.address-tabs {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.tab-item {
  padding: 10px 25px;
  background: #f5f5f5;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  color: #666;
}

.tab-item:hover {
  background: #ff6634;
  color: #fff;
}

.tab-item.active {
  background: #ff6634;
  color: #fff;
}

.address-panel {
  display: none;
  animation: fadeIn 0.3s ease;
}

.address-panel.active {
  display: block;
}

.address-panel h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: #333;
}

.address-panel p {
  color: #666;
  margin-bottom: 10px;
  line-height: 1.6;
}

.address-details {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.address-details p {
  margin-bottom: 8px;
}

.address-details strong {
  color: #333;
  margin-right: 10px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 联系方式部分 */
.contact-info {
  padding: 0px 0 20px;
}
.contact-info h2 {
  color: #fff;
}

.contact-container {
  display: flex;
  max-width: 1600px;
  margin: 0 auto;
  gap: 40px;
  padding: 70px 40px;
  box-sizing: border-box;
  background: #1a1a1a;
}

.contact-details {
  flex: 1;
}

.contact-details p {
  margin-bottom: 15px;
  font-size: 16px;
  color: #fff;
}

.contact-details .email {
  color: #fe8b00;
  margin-left: 20px;
}

.qr-codes {
  display: flex;
  gap: 30px;
}

.qr-code {
  text-align: center;
}

.qr-code img {
  width: 120px;
  height: 120px;
  border-radius: 8px;
  margin-bottom: 10px;
}

.qr-code p {
  font-size: 14px;
  color: #fff;
}

/* 响应式布局 */
@media screen and (max-width: 768px) {
  .intro-content,
  .team-content {
    flex-direction: column;
  }

  .address-container {
    flex-direction: column;
  }

  .address-map {
    height: 300px;
  }

  .qr-codes {
    justify-content: center;
    margin-top: 30px;
  }

  .address-panel h3 {
    font-size: 20px;
    padding: 15px;
  }

  .customer-service-content {
    width: 180px;
    height: 100px;
    right: 3%;
    top: 20%;
  }
  .customer-service-content p:nth-child(1) {
    font-size: 25px;
  }
  .customer-service-content p:nth-child(2) {
    font-size: 18px;
  }
  .customer-service-content p:nth-child(3) {
    font-size: 14px;
  }
  .contact-container {
    padding: 20px;
  }
}

@media screen and (max-width: 480px) {
  main {
    padding: 10px;
  }

  .service-btn {
    padding: 8px 16px;
    font-size: 14px;
  }

  h1 {
    font-size: 24px;
  }

  h2 {
    font-size: 20px;
  }
  .company-image,
  .team-image {
    width: 300px;
    margin: 0 auto;
  }

  .tab-item {
    padding: 10px 15px;
    font-size: 14px;
  }

  .qr-codes {
    flex-direction: column;
    align-items: center;
  }

  .contact-details p {
    font-size: 14px;
  }
  .sticky_index {
    background: #000 !important;
  }

  .customer-service-content {
    width: 180px;
    height: 100px;
    right: 3%;
    top: 20%;
  }
  .customer-service-content p:nth-child(1) {
    font-size: 25px;
  }
  .customer-service-content p:nth-child(2) {
    font-size: 18px;
  }
  .customer-service-content p:nth-child(3) {
    font-size: 14px;
  }
  .contact-container {
    padding: 20px;
  }
  .team-text {
    margin-top: 0px;
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #333333;
  --gray-color: #999999;
  --light-gray: #f5f5f5;
  --white: #ffffff;
  --transition-duration: 0.3s;
  --content-width: 900px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  background-color: var(--white);
  color: var(--primary-color);
  line-height: 1.5;
}

.timeline-container {
  max-width: 1400px;
  margin: 50px auto;
  padding: 0 20px;
}

.timeline-wrapper {
  position: relative;
  padding: 40px 0;
}

/* 可见时间轴部分 */
.visible-timeline {
  position: relative;
  width: 100%;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 20px 0;
}

/* 时间轴线 */
.timeline-line {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background-color: var(--gray-color);
  transform: translateY(-50%);
}

/* 时间点 */
.timeline-dots {
  position: relative;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  width: 100%;
  padding: 0 40px;
}

.dot {
  width: 10px;
  height: 10px;
  background-color: var(--gray-color);
  border-radius: 50%;
  position: relative;
  z-index: 2;
  transition: background-color var(--transition-duration) ease;
}

.dot.active {
  background-color: var(--primary-color);
}

/* 年份 */
.timeline-years {
  position: relative;
  display: flex;
  justify-content: space-between;
  margin: 15px auto 0;
  width: 100%;
  padding: 0 20px;
}

.year {
  font-size: 20px;
  color: var(--gray-color);
  transition: all var(--transition-duration) ease;
  text-align: center;
  width: 80px;
}

.year.active {
  color: var(--primary-color);
  font-weight: 500;
}

/* 内容区域 */
.content-wrapper {
  position: relative;
  overflow: hidden;
  margin-top: 40px;
  width: 100%;
  max-width: var(--content-width);
  margin-left: auto;
  margin-right: auto;
}

.content-track {
  display: flex;
  transition: transform var(--transition-duration) ease;
  width: 100%;
}

.event-group {
  width: 33.333%;
  padding: 0 20px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-duration) ease;
  flex-shrink: 0;
}

.event-group.visible {
  opacity: 1;
  visibility: visible;
}

.event {
  font-size: 16px;
  color: var(--primary-color);
  margin-bottom: 15px;
  line-height: 1.6;
}

/* 进度条 */
.timeline-progress {
  position: relative;
  margin: 60px auto 0;
  width: 100%;
  max-width: var(--content-width);
}

.progress-bar {
  position: relative;
  height: 2px;
  background-color: #e3e3e3;
  border-radius: 1px;
}

.progress-handle {
  position: absolute;
  top: 50%;
  left: 0;
  width: 16px;
  height: 16px;
  background-color: #fe8b00;
  border-radius: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  transition: transform var(--transition-duration) ease;
}

.progress-handle:hover,
.progress-handle.active {
  transform: translateY(-50%) scale(1.2);
}

/* 响应式布局 */
@media screen and (max-width: 1024px) {
  :root {
    --content-width: 750px;
  }
}

@media screen and (max-width: 768px) {
  :root {
    --content-width: 600px;
  }

  .timeline-container {
    padding: 0 15px;
    margin: 30px auto;
  }

  .timeline-dots {
    padding: 0 30px;
  }

  .timeline-years {
    padding: 0 10px;
  }

  .year {
    font-size: 18px;
    width: 60px;
  }

  .event {
    font-size: 14px;
    margin-bottom: 12px;
  }

  .event-group {
    padding: 0 10px;
  }

  .company-intro-content {
    width: 80% !important;
    position: relative !important;
    margin: 50px auto;
  }
  .company-intro-content img {
    display: none;
  }
  .team-intro {
    margin-top: 0px !important;
  }
  .mapsclass {
    width: 100% !important;
    height: 300px !important;
  }
}

@media screen and (max-width: 480px) {
  :root {
    --content-width: 360px;
  }

  .timeline-container {
    margin: 20px auto;
  }

  .timeline-dots {
    padding: 0 20px;
  }

  .timeline-years {
    padding: 0 5px;
  }

  .year {
    font-size: 16px;
    width: 50px;
  }

  .dot {
    width: 8px;
    height: 8px;
  }

  .event {
    font-size: 13px;
    margin-bottom: 10px;
  }

  .progress-handle {
    width: 14px;
    height: 14px;
  }

  .event-group {
    padding: 0 5px;
  }

  .company-intro-content {
    width: 80% !important;
    position: static !important;
    margin: 50px auto;
  }
  .company-intro-content img {
    display: none;
  }

  .team-intro {
    margin-top: 0px !important;
  }

  .mapsclass {
    width: 100% !important;
    height: 200px !important;
  }
}

.address-map img {
  display: none;
}
.address-map img.active {
  display: block;
}

.company-intro-content {
  width: 600px;
  height: auto;
  background: #1a1a1a;
  position: absolute;
  top: -250px;
  left: 20px;
  padding: 60px;
  line-height: 35px;
  box-sizing: border-box;
}
.company-intro-content p:nth-child(2) {
  font-size: 18px;
  color: #fff;
  line-height: 30px;
}
.company-intro-content p:nth-child(3) {
  color: #fff;
  font-size: 18px;
  line-height: 30px;
  margin-top: 10px;
}
.company-intro-content p:nth-child(4) {
  color: #fff;
  font-size: 18px;
  line-height: 30px;
  margin-top: 10px;
}
.company-intro-content p:nth-child(4) span {
  color: #ff6634;
  font-size: 24px;
}
.company-intro-content img {
  position: absolute;
  width: 60px;
  top: -30px;
  left: 30px;
}

.team-intro {
  margin: 200px 0 0;
  background: #000;
}

.hp-news-container {
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  gap: 30px;
  padding: 0 15px;
}

.hp-news-image {
  /* flex: 1; */
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.mapsclass {
  width: 700px;
  height: 500px;
  object-fit: cover;
  transition: transform 0.3s ease;
  background-color: #fff;
}

.hp-news-image:hover img {
  transform: scale(1.05);
}

.hp-news-list {
  flex: 1;
}

.hp-news-item {
  padding: 20px;
  margin-bottom: 20px;
  /* border-radius: 8px; */
  background: #191919;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
  color: #fff;
  height: 48%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.hp-news-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: #ff6634;
}
.hp-news-item:hover p {
  color: #ff6634;
}
.hp-news-item.active {
  background: #402300;
  /* border-left: 10px solid #ff6634; */
}

.hp-news-item h3 {
  margin-bottom: 10px;
  font-size: 38px;
  color: #fff;
  text-align: center;
}
.hp-news-item:hover h3 {
  color: #ff6634;
}

.hp-news-item p {
  color: #fff;
  margin-bottom: 15px;
  line-height: 1.6;
  font-size: 16px;
  text-align: center;
}

.hp-news-item .hp-detail-btn {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.hp-news-item:hover .hp-detail-btn {
  opacity: 1;
  transform: translateY(0);
}

.hp-news-item .hp-detail-btn:after {
  content: "→";
  transition: transform 0.3s ease;
}

.hp-news-item .hp-detail-btn:hover:after {
  transform: translateX(5px);
}

/* 响应式设计 */
@media screen and (max-width: 1600px) {
  .hp-news-container {
    padding: 0 30px;
  }
}

@media screen and (max-width: 992px) {
  .hp-news-container {
    flex-direction: column;
    gap: 30px;
  }

  .hp-news-image {
    height: 300px;
  }
}

@media screen and (max-width: 768px) {
  .hp-news-item {
    padding: 15px;
  }

  .hp-news-item h3 {
    font-size: 16px;
  }

  .hp-news-item p {
    font-size: 14px;
  }
}

@media screen and (max-width: 480px) {
  .hp-news-container {
    padding: 0 20px;
  }

  .hp-news-image {
    height: 200px;
  }

  .hp-news-item {
    padding: 12px;
  }

  .hp-news-item h3 {
    font-size: 14px;
  }

  .hp-news-item p {
    font-size: 12px;
  }
}

.custom-content-marker {
  position: relative;
  width: 25px;
  height: 34px;
}

.custom-content-marker img {
  width: 100%;
  height: 100%;
}

.custom-content-marker .close-btn {
  position: absolute;
  top: -6px;
  right: -8px;
  width: 15px;
  height: 15px;
  font-size: 12px;
  background: #ccc;
  border-radius: 50%;
  color: #fff;
  text-align: center;
  line-height: 15px;
  box-shadow: -1px 1px 1px rgba(10, 10, 10, 0.2);
}

.custom-content-marker .close-btn:hover {
  background: #666;
}

/* 底部导航 */
.bottom-nav {
  display: flex;
  justify-content: flex-end;
  gap: 15px;
  margin-top: 30px;
}

.nav-btn {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  transition: all 0.3s ease;
}

.nav-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

/* 响应式设计 - 平板 */
@media screen and (max-width: 1024px) {
  .timeline-2024 {
    padding: 0 15px;
    margin: 30px auto;
  }

  .year-title {
    font-size: 36px;
    margin-bottom: 30px;
  }

  .event-box {
    max-width: 220px;
    padding: 12px;
  }

  .event-box p {
    font-size: 13px;
  }

  .month-marker {
    padding: 6px 12px;
    font-size: 13px;
  }
}

/* 响应式设计 - 移动端 */
@media screen and (max-width: 768px) {
  .timeline-2024 {
    padding: 0 10px;
    margin: 20px auto;
  }

  .year-title {
    font-size: 28px;
    margin-bottom: 20px;
    text-align: center;
  }

  /* 移动端改为垂直布局 */
  .timeline-main {
    padding: 20px 0;
  }

  .timeline-line {
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    height: auto;
    transform: translateX(-50%);
    background: linear-gradient(180deg, #333 0%, #b8860b 50%, #333 100%);
  }

  .events-container {
    flex-direction: column;
    gap: 30px;
    min-height: auto;
  }

  .event-item {
    width: 100%;
    flex-direction: row;
    align-items: flex-start;
    gap: 20px;
  }

  .month-marker {
    margin-bottom: 0;
    flex-shrink: 0;
    padding: 8px 12px;
    font-size: 12px;
  }

  .event-content {
    flex: 1;
    max-width: none;
    margin: 0;
  }

  .event-content.above,
  .event-content.below {
    margin: 0;
  }

  .event-box {
    margin: 0;
    padding: 12px;
    border-radius: 6px;
  }

  .event-box::before {
    display: none;
  }

  .event-box p {
    font-size: 12px;
    line-height: 1.4;
    text-align: left;
  }

  /* 隐藏PC端导航箭头 */
  .timeline-nav {
    display: none;
  }

  /* 移动端底部导航 */
  .bottom-nav {
    justify-content: center;
    margin-top: 20px;
  }

  .nav-btn {
    width: 35px;
    height: 35px;
  }
}

/* 响应式设计 - 小屏手机 */
@media screen and (max-width: 480px) {
  .timeline-2024 {
    padding: 0 5px;
    margin: 15px auto;
  }

  .year-title {
    font-size: 24px;
    margin-bottom: 15px;
  }

  .events-container {
    gap: 20px;
  }

  .event-item {
    gap: 15px;
  }

  .month-marker {
    padding: 6px 10px;
    font-size: 11px;
  }

  .event-box {
    padding: 10px;
  }

  .event-box p {
    font-size: 11px;
    line-height: 1.3;
  }

  .nav-btn {
    width: 30px;
    height: 30px;
  }

  .nav-btn svg {
    width: 16px;
    height: 16px;
  }
}

/* 动画效果 */
.event-item {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease forwards;
}

.event-item:nth-child(1) {
  animation-delay: 0.1s;
}
.event-item:nth-child(2) {
  animation-delay: 0.2s;
}
.event-item:nth-child(3) {
  animation-delay: 0.3s;
}
.event-item:nth-child(4) {
  animation-delay: 0.4s;
}
.event-item:nth-child(5) {
  animation-delay: 0.5s;
}
.event-item:nth-child(6) {
  animation-delay: 0.6s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 悬停效果 */
.event-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
}

.month-marker:hover {
  background: #daa520;
  transform: scale(1.05);
  transition: all 0.3s ease;
}

/* --- 基本样式 --- */
:root {
  --timeline-line-color: rgba(255, 255, 255, 0.3);
  --timeline-connector-color: rgba(255, 255, 255, 0.5);
  --event-bg-color: #222;
  --event-border-color: #444;
}

body {
  background-color: #000;
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  margin: 0;
  justify-content: center;
  align-items: center;
}

/* --- 主容器 --- */
.timeline-container {
  width: 100%;
  max-width: 1200px;
  /* 桌面端最大宽度 */
  position: relative;
  padding: 50px 0;
}

.timeline-scroll-wrapper {
  position: relative;
  width: 100%;
  overflow-x: auto;
  /* 允许横向滚动和触摸滑动 */
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  /* Firefox 隐藏滚动条 */
  -ms-overflow-style: none;
  /* IE and Edge 隐藏滚动条 */
}

.timeline-scroll-wrapper::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari, and Opera 隐藏滚动条 */
}

/* --- 时间轴内容区 --- */
.timeline {
  display: flex;
  flex-direction: row;
  width: 3670px;
  /* 总宽度，确保内容不挤压 */
  height: 600px;
  position: relative;
}

/* --- 中心线 --- */
.timeline::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #4d4d4d;
  transform: translateY(-50%);
}

/* --- 年份标记 --- */
.year-marker {
  font-size: 6rem;
  font-weight: bold;
  color: rgba(255, 255, 255, 0.8);
  position: absolute;
  z-index: 1;
}

.year-2024 {
  top: -0;
  left: 0px;
  background: linear-gradient(180deg, #fe8b0099 16%, #fe8b0026 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent;
  z-index: -1;
}

.year-2023 {
  bottom: -0;
  right: 100px;
  background: linear-gradient(180deg, #fe8b0099 16%, #fe8b0026 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent;
  z-index: -1;
}

/* --- 事件节点 (核心修改区域) --- */
.event {
  position: relative;
  /* 作为内容框、连接线和圆点的定位基准 */
  width: 200px;
  /* 事件节点宽度 */
  flex-shrink: 0;
  height: 1px;
  /* 高度设为1px，不占空间，仅作定位 */
  align-self: center;
  /* 确保所有event的中心都在flex中轴线上 */
}

/* 月份圆点 (位于时间轴横线上) */
.event::after {
  content: attr(data-month);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -25%);
  /* 精确居中 */
  min-width: 40px;
  height: 20px;
  padding: 0px 5px;
  background: #fff;
  color: #000;
  border: 2px solid #fe8b00;
  border-radius: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-size: 14px;
  z-index: 2;
  /* 确保在横线上方 */
}

/* 连接竖线 */
.event::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 72px;
  /* 连接线长度 */
  background-color: #fe8b00;
  z-index: 1;
}

.event-content {
  background: linear-gradient(180.00deg, rgba(27, 30, 29, 1),rgba(69.44196319580078, 67.02820587158203, 61.23518753051758, 1) 100%);
  /* border: 1px solid var(--event-border-color); */
  padding: 20px;
  /* border-radius: 8px; */
  font-size: 14px;
  line-height: 1.6;
  min-height: 140px;
  position: absolute;
  /* 绝对定位，相对于.event */
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  /* 宽度相对于.event */
  box-sizing: border-box;
  color: #fff;
}

/* 控制上方事件的位置 */
.event.top .event-content {
  bottom: 80px;
  /* 定位在连接线上方 */
}

.event.top::before {
  bottom: 7px;
  /* 从圆点中心向上延伸 */
}

/* 控制下方事件的位置 */
.event.bottom .event-content {
  top: 80px;
  /* 定位在连接线下方 */
}

.event.bottom::before {
  top: 7px;
  /* 从圆点中心向下延伸 */
}

/* --- 导航按钮 --- */
.timeline-navigation {
  position: absolute;
  bottom: 0px;
  right: 20px;
  display: flex;
  z-index: 10;
}

.timeline-navigation button {
  background-color: transparent;
  border: 1px solid #fff;
  color: #fff;
  width: 40px;
  height: 40px;
  margin-left: 10px;
  cursor: pointer;
  font-size: 20px;
  transition: background-color 0.3s, color 0.3s;
}

.timeline-navigation button:hover:not(:disabled) {
  background-color: #fe8b00;
  color: #fff;
  border: 1px solid #fe8b00;
}

.timeline-navigation button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.year{
  position: absolute;
  width: 100%;
  text-align: left;
  margin-left:-20px;
  background: linear-gradient(180deg, rgba(254, 139, 0, 0.6) 16%, rgba(254, 139, 0, 0.15) 100%);
  /*color:rgba(254, 139, 0, 0.6);*/
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-size: 40px;
  font-weight: bold;
  font-family: "Noto Sans SC";
}
.year-top{
  bottom: -33%;
}
.year-bottom{
  bottom: 86%;
}

.jiantouimg {
  display: block;
  position: absolute;
  right: -20%;
  top: 0px;
  width: 30px;
}

/* --- 响应式设计 (移动端优化) --- */
@media (max-width: 768px) {


  .timeline-container {
    padding: 30px 0;
  }

  .timeline {
    width: 1090px;
    /* 移动端加宽，让事件间距更舒适 */
    padding: 0px 0;
  }

  .event {
    width: 120px;
    /* 增大每个事件的占宽 */
  }

  .event-content {
    font-size: 13px;
    min-height: 160px;
    /* 增加最小高度以容纳可能换行的文本 */
    padding: 15px;
  }

  .year-marker {
    font-size: 4rem;
  }

  .year-2024 {
    top: 0px;
    left: 20px;
  }

  .year-2023 {
    bottom: 0px;
    right: 20px;
  }

  .timeline-navigation {
    bottom: -10px;
    left: 50%;
  }

  .timeline-navigation button {
    width: 44px;
    /* 增大按钮，方便触摸 */
    height: 44px;
  }
}
