/* 去掉左边时间轴 */
.layui-timeline-item::before {
    display: none !important;
  }

    .layui-timeline-item{
      border-radius: 1px;
 transition: transform 0.6s ease,box-shadow 0.6s ease,color 0.6s ease,font-size 0.6s ease, background-color 0.6s ease ; /* 添加过渡效果 */ /* 平滑过渡效果 */
 transform-style: preserve-3d; /* 保持子元素的原始布局 */
 transform-origin: top left; /* 设置变换原点 */
 display: flex;
  background: white;
  /* margin: 20px; */
  box-shadow: 0 2px 4px rgba(0,0,0,0,0.2);
  overflow: hidden;
    padding: 0;
    width: 100%;
    box-sizing: border-box ;
    border:1px solid #ddd;
    will-change: transform, box-shadow;
    max-width: 1200px;
    margin: 15px auto !important;
    
}
    
     .layui-timeline-item:hover {
        transform: translateY(-5px);
 box-shadow: 0 15px 30px  rgba(0, 0, 0, 0.15); /* 鼠标悬停时的阴影效果 */
  }

  .layui-timeline-item img {
    transition: transform 0.6s ease,box-shadow 0.6s ease,color 0.6s ease,font-size 0.6s ease, background-color 0.6s ease ; /* 添加过渡效果 */ /* 平滑过渡效果 */
  width: 400px;
  height: 250px;
  object-fit: cover;
  border: none;
  display: block;
}

.layui-timeline-item img[src=""] {
  visibility: hidden; /* 替代 display: none */
}


.layui-container {
  width: 100% !important;
  max-width: 1400px !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

.layui-timeline {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 !important;
}



.layui-timeline-content{
    transition: transform 0.6s ease,box-shadow 0.6s ease,color 0.6s ease,font-size 0.6s ease, background-color 0.6s ease ; /* 添加过渡效果 */ /* 平滑过渡效果 */
  padding: 30px;
  width: 60%;
  /* background-color: aqua; */
}



.layui-timeline-item h3 {
  /* margin:0px; */
  transition: transform 0.6s ease,box-shadow 0.6s ease,color 0.6s ease,font-size 0.6s ease, background-color 0.6s ease ; /* 添加过渡效果 */ /* 平滑过渡效果 */
  margin-bottom:10px;
  /* background-color: aquamarine; */
overflow: hidden; /* 隐藏溢出的部分 */
text-overflow: ellipsis; /* 使用省略号表示溢出部分 */
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 1; /* 显示的行数 */
}


.jieshao{
  /* background-color: aqua; */
  line-height: 1.4;
  /* font-size: 14px; */
  color: #979292;
overflow: hidden; /* 隐藏溢出的部分 */
text-overflow: ellipsis; /* 使用省略号表示溢出部分 */
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 3; /* 显示的行数 */
}

.sidebar {
    transition: transform 0.6s ease,box-shadow 0.6s ease,color 0.6s ease,font-size 0.6s ease, background-color 0.6s ease ; /* 添加过渡效果 */ /* 平滑过渡效果 */
     width: 6%;
      height: 250px;
          background-color: #f4f4f4;
          border-left: 1px solid #f4f4f4;  
      }

      .rightjian{
        transition: transform 0.6s ease,box-shadow 0.6s ease,color 0.6s ease,font-size 0.6s ease, background-color 0.6s ease ; /* 添加过渡效果 */ /* 平滑过渡效果 */
          color:#244fb8;
          font-size:26px; 
          text-align:center;
          margin-top: 150%;
      }



  /* 鼠标悬停时页码数字变红 */
 .layui-laypage a:hover {
    background-color: #244fb8 ;
    color: white;
}

/* 点击后页码框背景色变红，页码数字变白 */
.layui-laypage .layui-laypage-curr .layui-laypage-em {
    background-color:#244fb8 ;
}
.layui-laypage .layui-laypage-curr em {
    color: white;
}



/* 修改输入框在获得焦点时的边框颜色 */
.layui-laypage-skip .layui-input:focus {
  border-color: #ddd !important; /* 获得焦点时边框颜色为蓝色 */
  box-shadow: none; /* 添加一些阴影效果 */
}





/* 自定义分页器样式 */
.layui-laypage {
  text-align: center;
  margin-top: 30px;
}

.layui-laypage a, .layui-laypage span{
  display: inline-block;
  font-size: 18px;
  margin: 0 5px; /* 页码之间的间距 */
  padding: 5px 15px; /* 文字与边框之间的距离 */
  border: 1px solid #ddd; /* 边框样式 */
  border-radius: 3px; /* 边框圆角 */
  background-color: #fff; /* 背景颜色 */
  text-decoration: none;
  vertical-align: middle; /* 垂直对齐 */
}


.layui-laypage .layui-laypage-ellips {
  border: none; /* 省略号不显示边框 */
}

/* 响应式调整 */
@media (max-width: 1400px) {
  .layui-timeline-item {
      width: 95% !important;
      margin: 20px 2.5% !important;
  }
  
  .layui-timeline-item img {
      width: 35%;
      min-width: 300px;
  }
}

@media (max-width: 768px) {
  .layui-timeline-item {
      flex-direction: column !important;
      height: auto !important;
  }
  
  .layui-timeline-item img {
      width: 100% !important;
      height: 200px !important;
  }
  
  .layui-timeline-content {
      width: 100% !important;
      padding: 20px !important;
  }
  
  .sidebar {
      display: none !important;
  }
}