/* 默认：大屏幕（≥ 1441px） */
.video-container {
      position: relative;
      width: 100%;
      height: 70vh; /* 根据需要调整高度 */
      overflow: hidden;
      display: flex;
      justify-content: center;
      align-items: center;
      background-color: #00000060; /* 视频背景颜色 */
}
     
.background-video {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      min-width: 100%;
      min-height: 100%;
      width: auto;
      height: auto;
      z-index: -1; /* 确保视频在内容下方 */
}
     
.vid_content {
      top: 2rem;
      position: relative;
      z-index: 1;
      color: white; /* 根据视频调整文字颜色 */
      line-height: 2;
      text-align: center;
      padding: 20px;
      max-width:1024px;
}
.vid_content h1{
      font-size: 4rem;
      line-height: 1;
      margin-bottom:2rem;
}
.vid_content .btn{width:160px;height:45px;border:1px solid #FFFFFF3F;justify-content:flex-end;display:flex;justify-content:center;align-items:center;transition:all .3s ease}
.vid_content a{width:160px;height:45px;border:1px solid #FFFFFF3F;display:inline-flex;justify-content:center;align-items:center;color:#FFFFFF;font-size:var(--fontsize16);transition:all 1s ease;margin-top:2rem;}
.vid_content a:hover{background:#FFFFFF;color:var(--color);cursor: pointer;}
.vid_content a:hover a{color:var(--color)}

/*首页样式*/
.part2{
      margin-top: 6rem !important;
}
.part2 .text1{
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding: 0 5rem 0 0;
      line-height: 1.5;
			}
/*时间线样式*/
        .timeline-container {
            position: relative;
            max-width: 1200px;
            margin: 0 auto;
            padding: 40px 0;
        }
        
        /* 时间线 */
        .timeline-line {
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            width: 1px;
            height: 100%;
            background-color: #d1982d;
            border-radius: 2px;
        }
        
        /* 时间线节点 */
        .timeline-node {
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            width: 20px;
            height: 20px;
            border-radius: 50%;
            background-color: #d1982d;
            border: 2px solid white;
            z-index: 2;
            box-shadow: 0 0 0 3px #d1982d;
        }
        
        /* 年份容器 */
        .year-container {
            position: relative;
            margin: 1rem 0;
            display: flex;
            align-items: center;
            min-height: 120px;
        }
        
        /* 年份标签 - 桌面端显示 */
        .year-label {
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            background-color: #fff;
            color: #d1982d;
            padding: 10px 20px;
            border-radius: 25px;
            font-weight: bold;
            z-index: 3;
            white-space: nowrap;
            box-shadow: 0 2px 8px rgba(0,0,0,0.2);
            font-size: 1.2rem;
            border: solid 1px;
        }
        
        /* 卡片内年份标签 - 移动端显示 */
        .year-label-incard {
            display: none;
            background-color: #d1982d;
            color: white;
            padding: 6px 12px;
            border-radius: 15px;
            font-weight: bold;
            font-size: 0.9rem;
            margin-bottom: 10px;
            width: fit-content;
        }
        
        /* 卡片容器 */
        .card-container {
            position: relative;
            width: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
        }
        
        /* 卡片样式 */
        .milestone-card {
            border: none !important;
            border-radius: 12px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            width: 600px; /* 稍微减小宽度使卡片更靠近时间线 */
            max-width: 90%;
            position: relative;
        }
        
        .milestone-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 25px rgba(0,0,0,0.15);
        }
        
        .milestone-card .card-body {
            padding: 20px;
        }
        
        /* 左侧卡片 */
        .left-card {
            margin-right: 50%;
            padding-right: 0px; /* 减少间距使卡片更靠近时间线 */
        }
        
        /* 右侧卡片 */
        .right-card {
            margin-left: 60%;
            padding-left: 0px; /* 减少间距使卡片更靠近时间线 */
        }
        
        /* 卡片箭头 - 始终显示 */
        .card-arrow {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 0;
            height: 0;
            border-top: 12px solid transparent;
            border-bottom: 12px solid transparent;
            display: block !important; /* 确保箭头始终显示 */
        }
        
        .left-card .card-arrow {
            right: -12px;
            border-left: 12px solid #fff;
        }
        
        .right-card .card-arrow {
            left: -12px;
            border-right: 12px solid #fff;
        }
				
				/* 时间线背景设置 */
				.timelinebg{
					background-color: #ececec;
					background-image: url(/skin/images/bg01.png);
					background-repeat: no-repeat;
					background-position: 50% 50%;
					background-size:cover;
					overflow: hidden;
				}

				.card .subtext{
					color: #666;
					margin: 0;
				}
				/*卡片蒙层东海*/
				.card-img-overlay {
					position: absolute;
					top: 0;
					left: 0;
					width: 100%;
					height: 100%;
					background-color: rgba(0, 0, 0, 0.6); /* 半透明黑色背景 */
					transition: opacity 0.5s ease; /* 平滑过渡效果 */
				}
			
				/* Hover 时显示蒙层 */
				.card-img-link:hover .card-img-overlay {
					opacity: 1 !important; /* 显示蒙层 */
				}
			
				/* "Read More" 文本动画（可选：缩放效果） */
				.read-more-text {
					transform: scale(0.8);
					transition: transform 0.5s ease;
				}
			
				.card-img-link:hover .read-more-text {
					transform: scale(1.5); /* Hover 时放大文本 */
				}
			
				/* 确保 <a> 标签不会影响卡片布局 */
				.card-img-link {
					text-decoration: none; /* 移除下划线 */
					color: inherit; /* 继承父元素文字颜色（避免干扰） */
				}

								

/* 添加一些动画效果 */
        .year-container {
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 0.6s ease, transform 0.6s ease;
        }
        
        .year-container.visible {
            opacity: 1;
            transform: translateY(0);
        }
        
        /* 卡片标题样式 */
        .card-title {
            color: #d1982d;
            font-weight: 600;
            margin-bottom: 15px;
        }
        
        /* 卡片文本样式 */
        .card-text {
            color: #555;
            line-height: 1.6;
        }
        
        /* 日期样式 */
        .card-date {
            color: #888;
            font-size: 0.9rem;
            margin-top: 10px;
            font-style: italic;
        }

/* PC 小屏幕（≤ 1440px） */
@media (max-width: 1440px) {

}

/* 平板（≤ 1024px） */
@media (max-width: 1024px) {
      .video-container {
            height: 60vh; /* 根据需要调整高度 */
      }
      .vid_content {
            top: 0rem;
      }
			/* 左侧卡片 */
        .left-card {
            margin-right: 60%;
            padding-right: 0px; /* 减少间距使卡片更靠近时间线 */
        }
        
        /* 右侧卡片 */
        .right-card {
            margin-left: 70%;
            padding-left: 0px; /* 减少间距使卡片更靠近时间线 */
        }
				.milestone-card {
                width:22rem;
        }
				.part2 .text1{
							padding: 0 1rem 0 0;
				}
}

/* 手机（≤ 768px） */
@media (max-width: 768px) {
      .video-container {
            height: 50vh; /* 根据需要调整高度 */
      }
      .background-video{
            height:50vh;
            max-width:unset !important;
      }
      .vid_content {
            top: 0rem;
            line-height:1.5;
            font-size:0.9rem;
      }
      .vid_content h1{
            font-size: 2rem;
            line-height: 1.3;
            margin-bottom:1rem;
      }
			.part2{
				margin-top: 0rem !important;
			}
      .part2 .text1{
            padding: 1rem;
      }

      /*移动端手机时间线*/
            .timeline-line {
                left: 8px;
            }
            
            .timeline-node {
                left: 8px;
            }
            
            /* 隐藏桌面端年份标签 */
            .year-label {
                display: none;
            }
            
            /* 显示卡片内年份标签 */
            .year-label-incard {
                display: block;
            }
            
            .left-card, .right-card {
              margin-left: 19px;
              margin-right: 0;
              padding-left: 1rem;
              padding-right: 0;
            }
            
            .left-card .card-arrow, .right-card .card-arrow {
              left: -12px;
              right: auto;
              border-right: 12px solid #fff;
              border-left: none;
            }
            
            /* 移动端卡片更靠近时间线 */
            .milestone-card {
                width: 20rem;
            }
}
